sendDatas.js 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271
  1. /**
  2. * 高度修复
  3. */
  4. // import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
  5. export default {
  6. methods: {
  7. /* 遍历配置,分发配置参数*/
  8. getMatchingData(matching) {
  9. let matchArr = [];
  10. // for (let i = 0; i < this.dataScope.length; i++) {
  11. // matchArr.push(this.relData[matching+this.dataScope[i]])
  12. // }
  13. // for (let i = 0; i < this.dataScope.length; i++) {
  14. if (typeof this.relData[matching + this.endDate] === "undefined") {
  15. matchArr.push(0);
  16. // console.log(matchArr,'1hiuhkj')
  17. } else {
  18. matchArr.push(this.relData[matching + this.endDate]);
  19. // console.log('2nhkjhiuhkj')
  20. }
  21. // }
  22. return matchArr;
  23. },
  24. getMatchingDataSame(matching) {
  25. let matchArr = [];
  26. // for (let i = 0; i < this.dataScope.length; i++) {
  27. // matchArr.push(this.relData[matching+'S'+this.dataScope[i]])
  28. // }
  29. // for (let i = 0; i < this.dataScope.length; i++) {
  30. if (
  31. typeof this.relData[matching + "S" + this.endDate] ===
  32. "undefined"
  33. ) {
  34. matchArr.push(0);
  35. // console.log(matchArr,'1hiuhkj')
  36. } else {
  37. matchArr.push(this.relData[matching + "S" + this.endDate]);
  38. // console.log('2nhkjhiuhkj')
  39. }
  40. // }
  41. return matchArr;
  42. },
  43. getJiaoYanObjNum() {
  44. let ryywpxjNum = this.jiaoyanObj;
  45. let barData = [];
  46. let e = 0;
  47. if (ryywpxjNum[0].num === 0) {
  48. e = 0;
  49. } else {
  50. e =
  51. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  52. 10;
  53. }
  54. barData.push(e);
  55. return {
  56. t_mjsbjdxzjhzbNum: {
  57. date: this.endDate,
  58. number: ryywpxjNum[1].num,
  59. numberAll: ryywpxjNum[0].num,
  60. val: e > 100 ? 100 : e,
  61. },
  62. config: this.getMyConfig("检测"), //返回需要的对应参数
  63. };
  64. },
  65. getJiaoYanObjNumFB() {
  66. // let zlzbfz = []
  67. // zlzbfz = this.quality
  68. // let fenshuzu = []
  69. // fenshuzu = this.buhegelvObj
  70. let title = ["NAME_", "numA", "num", "wnum"];
  71. //改过滤
  72. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  73. for (let i = 0; i < this.jiaoyanMGObj.length; i++) {
  74. let midI = mid.findIndex(
  75. (v) => v.NAME_ == this.jiaoyanMGObj[i].NAME_
  76. );
  77. mid[midI].numA =
  78. this.jiaoyanMGObj[i].numA < 0
  79. ? 0
  80. : this.jiaoyanMGObj[i].numA;
  81. mid[midI].num =
  82. this.jiaoyanMGObj[i].num < 0 ? 0 : this.jiaoyanMGObj[i].num;
  83. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  84. mid[midI].chu = Math.floor(this.jiaoyanMGObj[i].chu * 10) / 10;
  85. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  86. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  87. }
  88. return {
  89. num: { date: this.endDate, number: mid, title: title },
  90. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  91. };
  92. },
  93. gethechaObjNum() {
  94. let ryywpxjNum = this.hechaObj;
  95. let barData = [];
  96. let e = 0;
  97. if (ryywpxjNum[0].num === 0) {
  98. e = 0;
  99. } else {
  100. e =
  101. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  102. 10;
  103. }
  104. barData.push(e);
  105. return {
  106. t_sbhcjlbNum: {
  107. date: this.endDate,
  108. number: ryywpxjNum[1].num,
  109. numberAll: ryywpxjNum[0].num,
  110. val: e > 100 ? 100 : e,
  111. },
  112. config: this.getMyConfig("检测"), //返回需要的对应参数
  113. };
  114. },
  115. gethechaObjNumFB() {
  116. // let zlzbfz = []
  117. // zlzbfz = this.quality
  118. // let fenshuzu = []
  119. // fenshuzu = this.buhegelvObj
  120. let title = ["NAME_", "numA", "num", "wnum"];
  121. //改过滤
  122. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  123. for (let i = 0; i < this.hechaMGObj.length; i++) {
  124. let midI = mid.findIndex(
  125. (v) => v.NAME_ == this.hechaMGObj[i].NAME_
  126. );
  127. mid[midI].numA =
  128. this.hechaMGObj[i].numA < 0 ? 0 : this.hechaMGObj[i].numA;
  129. mid[midI].num =
  130. this.hechaMGObj[i].num < 0 ? 0 : this.hechaMGObj[i].num;
  131. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  132. mid[midI].chu = Math.floor(this.hechaMGObj[i].chu * 10) / 10;
  133. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  134. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  135. }
  136. return {
  137. num: { date: this.endDate, number: mid, title: title },
  138. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  139. };
  140. },
  141. getnengtliObjNum() {
  142. let ryywpxjNum = this.waibuObj;
  143. let barData = [];
  144. let e = 0;
  145. if (ryywpxjNum[0].num === 0) {
  146. e = 0;
  147. } else {
  148. e =
  149. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  150. 10;
  151. }
  152. barData.push(e);
  153. return {
  154. Num: {
  155. date: this.endDate,
  156. number: ryywpxjNum[1].num,
  157. numberAll: ryywpxjNum[0].num,
  158. res: barData,
  159. val: e > 100 ? 100 : e,
  160. },
  161. config: this.getMyConfig("检测"), //返回需要的对应参数
  162. };
  163. },
  164. getnengtliObjNumFB() {
  165. // let zlzbfz = []
  166. // zlzbfz = this.quality
  167. // let fenshuzu = []
  168. // fenshuzu = this.buhegelvObj
  169. let title = ["NAME_", "numA", "num", "wnum"];
  170. //改过滤
  171. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  172. for (let i = 0; i < this.waibuObjfb.length; i++) {
  173. let midI = mid.findIndex(
  174. (v) => v.NAME_ == this.waibuObjfb[i].NAME_
  175. );
  176. mid[midI].numA =
  177. this.waibuObjfb[i].numA < 0 ? 0 : this.waibuObjfb[i].numA;
  178. mid[midI].num =
  179. this.waibuObjfb[i].num < 0 ? 0 : this.waibuObjfb[i].num;
  180. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  181. mid[midI].chu = Math.floor(this.waibuObjfb[i].chu * 10) / 10;
  182. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  183. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  184. }
  185. return {
  186. num: { date: this.endDate, number: mid, title: title },
  187. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  188. };
  189. },
  190. getyangPinCaiJiObjNum() {
  191. let zlzbfz = [];
  192. zlzbfz = this.quality;
  193. let fenshuzu = [];
  194. fenshuzu = this.buhegelvObj;
  195. let title = ["name_"];
  196. for (let i = 0; i < zlzbfz.length; i++) {
  197. for (let j = 0; j < fenshuzu.length; j++) {
  198. // console.log(zlzbfz[i].id_ == fenshuzu[j].bzbm,zlzbfz[i].id_, fenshuzu[j].bzbm,'354345433333333333333333333333333333333333')
  199. if (zlzbfz[i].id_ == fenshuzu[j].bzbm) {
  200. let prop = fenshuzu[j].zhi_liang_mu_biao;
  201. zlzbfz[i][prop] = fenshuzu[j].location;
  202. }
  203. }
  204. }
  205. // console.log(zlzbfz,'5456456456546gfhghghgf')
  206. for (let t = 0; t < this.zhiliangmubiaotitle.length; t++) {
  207. title.push(this.zhiliangmubiaotitle[t].zhi_liang_mu_biao);
  208. }
  209. let zbval = [];
  210. for (let t = 0; t < this.zhiliangmubiaotitle.length; t++) {
  211. if (
  212. this.zhiliangmubiaotitle[t].zhi_liang_mu_biao.match(
  213. /(\d+(\.\d+)?)/
  214. ) === null
  215. ) {
  216. zbval.push(
  217. parseFloat(
  218. this.zhiliangmubiaotitle[t].zhi_biao_xian_zhi.match(
  219. /(\d+(\.\d+)?)/
  220. )
  221. )
  222. );
  223. } else {
  224. zbval.push(
  225. parseFloat(
  226. this.zhiliangmubiaotitle[t].zhi_liang_mu_biao.match(
  227. /(\d+(\.\d+)?)/
  228. )
  229. )
  230. );
  231. }
  232. }
  233. // console.log(this.zhiliangmubiaotitle,zlzbfz,fenshuzu,'dsdsfddssf9090090')
  234. // let arr = this.tableNum
  235. // let aa =[]
  236. // for (let j = 0; j < arr.length; j++) {
  237. // let changeArr = ['<span style="font-size:14px;height:45px;line-height:45px;display:inline-block">' + arr[j].zhi_liang_zhi_bia + '</span>','<span style="font-size:14px;height:45px;line-height:45px;display:inline-block">' + arr[j].location.toFixed(2) + '</span>']
  238. // aa.push(changeArr)
  239. // }
  240. // this.$set(this.tableData, 'data', aa)
  241. // this.$forceUpdate()
  242. // console.log(arr,this.tableData.data,'djlkddddddddddddddddddddddddddddddddd')
  243. return {
  244. Num: {
  245. date: this.endDate,
  246. number: zlzbfz,
  247. title: title,
  248. xianzhi: zbval,
  249. titleall: this.zhiliangmubiaotitle,
  250. },
  251. config: this.getMyConfig("检测"), //返回需要的对应参数
  252. };
  253. },
  254. getfenzuZLZBObjNum() {
  255. //生成月份
  256. let that = this;
  257. let d1 = this.endDate[0];
  258. let d2 = this.endDate[2];
  259. let dateArry = new Array();
  260. let s1 = d1.split("-");
  261. let s2 = d2.split("-");
  262. let mCount = 0;
  263. if (parseInt(s1[0]) < parseInt(s2[0])) {
  264. mCount =
  265. (parseInt(s2[0]) - parseInt(s1[0])) * 12 +
  266. parseInt(s2[1]) -
  267. parseInt(s1[1]) +
  268. 1;
  269. } else {
  270. mCount = parseInt(s2[1]) - parseInt(s1[1]) + 1;
  271. }
  272. if (mCount > 0) {
  273. var startM = parseInt(s1[1]);
  274. var startY = parseInt(s1[0]);
  275. for (var i = 0; i < mCount; i++) {
  276. if (startM < 12) {
  277. dateArry[i] =
  278. startY + "-" + (startM > 9 ? startM : "0" + startM);
  279. startM += 1;
  280. } else {
  281. dateArry[i] =
  282. startY + "-" + (startM > 9 ? startM : "0" + startM);
  283. startM = 1;
  284. startY += 1;
  285. }
  286. }
  287. }
  288. //处理数据
  289. let zlzbfz = [];
  290. let fenshuzu = [];
  291. let zongfz = [];
  292. fenshuzu = that.quality;
  293. for (let m = 0; m < that.quality.length; m++) {
  294. for (let n = 0; n < that.fenzuzlmb.length; n++) {
  295. //console.log(that.quality.id_ == that.fenzuzlmb.id_,that.quality,that.fenzuzlmb)
  296. if (that.quality[m].id_ == that.fenzuzlmb[n].id_) {
  297. fenshuzu[m].data = that.fenzuzlmb[n].data
  298. ? that.fenzuzlmb[n].data
  299. : "";
  300. continue;
  301. }
  302. }
  303. }
  304. for (let j = 0; j < dateArry.length; j++) {
  305. let rq = {};
  306. rq.name_ = dateArry[j];
  307. zlzbfz.push(rq);
  308. // console.log(zlzbfz,dateArry[j],'erw232222222222222222222222222224586')
  309. }
  310. // console.log(fenshuzu,zlzbfz,'55353453535345')
  311. let title = ["name_"];
  312. for (let zn = 0; zn < fenshuzu.length; zn++) {
  313. for (let i = 0; i < zlzbfz.length; i++) {
  314. if (fenshuzu[zn].data && fenshuzu[zn].data.length > 0) {
  315. for (let j = 0; j < fenshuzu[zn].data.length; j++) {
  316. if (zlzbfz[i].name_ == fenshuzu[zn].data[j].bzsj) {
  317. let prop =
  318. fenshuzu[zn].data[j].zhi_liang_zhi_bia;
  319. zlzbfz[i][prop] = fenshuzu[zn].data[j].location;
  320. // console.log(zlzbfz)
  321. }
  322. //continue
  323. }
  324. }
  325. //continue
  326. }
  327. zongfz.push({
  328. id: fenshuzu[zn].id_,
  329. name: fenshuzu[zn].name_,
  330. data: zlzbfz,
  331. });
  332. }
  333. // console.log(zongfz,'0000000000000000767676767676767676767676')
  334. for (let t = 0; t < this.zhiliangzhibiaotitle.length; t++) {
  335. title.push(this.zhiliangzhibiaotitle[t].zhi_liang_zhi_bia);
  336. }
  337. this.zhiliangmuTitle = title;
  338. this.zhiliangmuNeirong = zongfz;
  339. return {
  340. Num: { date: this.endDate, number: zongfz, title: title },
  341. config: this.getMyConfig("检测"), //返回需要的对应参数
  342. };
  343. },
  344. getbzJunZhujNum() {
  345. let title = ["NAME_", "numA", "num", "wnum"];
  346. //改过滤
  347. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  348. for (let i = 0; i < this.gaijinxiangObj.length; i++) {
  349. let midI = mid.findIndex(
  350. (v) => v.NAME_ == this.gaijinxiangObj[i].NAME_
  351. );
  352. mid[midI].numA =
  353. this.gaijinxiangObj[i].numA < 0
  354. ? 0
  355. : this.gaijinxiangObj[i].numA;
  356. mid[midI].num =
  357. this.gaijinxiangObj[i].num < 0
  358. ? 0
  359. : this.gaijinxiangObj[i].num;
  360. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  361. mid[midI].chu =
  362. Math.floor(this.gaijinxiangObj[i].chu * 10) / 10;
  363. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  364. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  365. }
  366. return {
  367. num: { date: this.endDate, number: mid, title: title },
  368. config: this.getMyConfig("检测"), //返回需要的对应参数
  369. };
  370. },
  371. getbzXiBaoObjNum() {
  372. let name = [];
  373. let val = [];
  374. let valAll = [];
  375. let e = [];
  376. let a = 0;
  377. let b = 0;
  378. let c = 0;
  379. let numm = 0;
  380. let that = this;
  381. if (that.bzXiBaoObj.length === 0) {
  382. val = [0];
  383. valAll = [0];
  384. e = [0];
  385. name = [0];
  386. } else {
  387. for (let i = 0; i < that.bzXiBaoObj.length; i++) {
  388. // let num=0
  389. // if (that.hechaObj[i].t_sbhcjlb===0) {
  390. // num =0
  391. // } else {
  392. // num =Math.floor(that.hechaObj[i].t_sbhcjlbS/that.hechaObj[i].t_sbhcjlb * 10000) / 100
  393. // }
  394. // valAll.push(that.hechaObj[i].t_sbhcjlb)
  395. val.push(that.bzXiBaoObj[i].num);
  396. valAll.push(that.bzXiBaoObj[i].numS);
  397. // e.push(num)
  398. name.push(that.bzXiBaoObj[i].name);
  399. }
  400. }
  401. val.forEach(function (item) {
  402. a += item;
  403. });
  404. valAll.forEach(function (item) {
  405. b += item;
  406. });
  407. if (that.bzXiBaoTObj.length === 0) {
  408. numm = 1;
  409. } else {
  410. numm = Math.floor((12 - that.bzXiBaoTObj[0].time) / 3) + 1;
  411. }
  412. // a=a*numm
  413. // console.log(numm,'numm')
  414. if (b === 0) {
  415. c = 0;
  416. } else {
  417. c = Math.floor((b / a) * 1000) / 10;
  418. }
  419. return {
  420. Num: {
  421. date: this.endDate,
  422. number: val,
  423. name: name,
  424. numberAll: valAll,
  425. valnum: a,
  426. valAll: b,
  427. valna: c,
  428. },
  429. config: this.getMyConfig("检测"), //返回需要的对应参数
  430. };
  431. },
  432. getMyConfig(name) {
  433. // console.log(this.config,'werwrwr3567885656766666666666666666666666')
  434. if (!this.config || this.config.length == 0) return;
  435. for (let i in this.config) {
  436. if (this.config[i]["pei_zhi_biao_ming"] == name) {
  437. return this.config[i]["pei_zhi_can_shu_"]; //返回需要的对应参数
  438. }
  439. }
  440. },
  441. getS1renwu() {
  442. let ryywpxjNum = this.guanshenObj;
  443. let barData = [];
  444. let e = 0;
  445. if (ryywpxjNum[0].num === 0) {
  446. e = 0;
  447. } else {
  448. e =
  449. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  450. 10;
  451. }
  452. barData.push(e);
  453. return {
  454. t_jchzbNum: {
  455. date: this.endDate,
  456. number: ryywpxjNum[1].num,
  457. numberAll: ryywpxjNum[0].num,
  458. res: barData,
  459. val: e > 100 ? 100 : e,
  460. },
  461. config: this.getMyConfig("检测"), //返回需要的对应参数
  462. };
  463. },
  464. getS1renwuFB() {
  465. // let zlzbfz = []
  466. // zlzbfz = this.quality
  467. // let fenshuzu = []
  468. // fenshuzu = this.buhegelvObj
  469. let title = ["NAME_", "numA", "num", "wnum"];
  470. //改过滤
  471. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  472. for (let i = 0; i < this.guanshenfbObj.length; i++) {
  473. let midI = mid.findIndex(
  474. (v) => v.NAME_ == this.guanshenfbObj[i].NAME_
  475. );
  476. mid[midI].numA =
  477. this.guanshenfbObj[i].numA < 0
  478. ? 0
  479. : this.guanshenfbObj[i].numA;
  480. mid[midI].num =
  481. this.guanshenfbObj[i].num < 0
  482. ? 0
  483. : this.guanshenfbObj[i].num;
  484. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  485. mid[midI].chu = Math.floor(this.guanshenfbObj[i].chu * 10) / 10;
  486. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  487. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  488. }
  489. return {
  490. num: { date: this.endDate, number: mid, title: title },
  491. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  492. };
  493. },
  494. getS1jianCe() {
  495. return {
  496. // "t_mjjcbgNum" :{"date": this.dataScope,"number": mjjcbgNum, "numberAll": mjjcbgSNum, "res": barData},
  497. t_gdyrqcwtBegin: {
  498. date: this.BeginDate,
  499. number: this.relData["t_gdyrqcwt" + this.BeginDate],
  500. },
  501. t_gdyrqcwtEnd: {
  502. date: this.endDate,
  503. number: this.relData["t_gdyrqcwt" + this.endDate],
  504. },
  505. t_gdyrqcwt2Begin: {
  506. date: this.BeginDate,
  507. number: this.relData["t_gdyrqcwt2" + this.BeginDate],
  508. },
  509. t_gdyrqcwt2End: {
  510. date: this.endDate,
  511. number: this.relData["t_gdyrqcwt2" + this.endDate],
  512. },
  513. t_gdyrqcwt3Begin: {
  514. date: this.BeginDate,
  515. number: this.relData["t_gdyrqcwt3" + this.BeginDate],
  516. },
  517. t_gdyrqcwt3End: {
  518. date: this.endDate,
  519. number: this.relData["t_gdyrqcwt3" + this.endDate],
  520. },
  521. t_gdyrqcwt4Begin: {
  522. date: this.BeginDate,
  523. number: this.relData["t_gdyrqcwt4" + this.BeginDate],
  524. },
  525. t_gdyrqcwt4End: {
  526. date: this.endDate,
  527. number: this.relData["t_gdyrqcwt4" + this.endDate],
  528. },
  529. t_gdyrqcwt5Begin: {
  530. date: this.BeginDate,
  531. number: this.relData["t_gdyrqcwt5" + this.BeginDate],
  532. },
  533. t_gdyrqcwt5End: {
  534. date: this.endDate,
  535. number: this.relData["t_gdyrqcwt5" + this.endDate],
  536. },
  537. t_gdyrqcwt6Begin: {
  538. date: this.BeginDate,
  539. number: this.relData["t_gdyrqcwt6" + this.BeginDate],
  540. },
  541. t_gdyrqcwt6End: {
  542. date: this.endDate,
  543. number: this.relData["t_gdyrqcwt6" + this.endDate],
  544. },
  545. config: this.getMyConfig("检测"), //返回需要的对应参数
  546. };
  547. },
  548. getS2jianCe() {
  549. let mjjcbgNum = this.getMatchingData("t_mjjcbg");
  550. let mjjcbgSNum = this.getMatchingDataSame("t_mjjcbg");
  551. let barData = [];
  552. // for (let i = 0; i < this.dataScope.length; i++) {
  553. let e = 0;
  554. if (mjjcbgSNum[0] === 0) {
  555. e = 0;
  556. } else {
  557. e = Math.floor((mjjcbgNum[0] / mjjcbgSNum[0]) * 1000) / 10;
  558. }
  559. barData.push(e);
  560. // }
  561. return {
  562. t_mjjcbgNum: {
  563. date: this.endDate,
  564. number: mjjcbgNum,
  565. numberAll: mjjcbgSNum,
  566. res: barData,
  567. },
  568. t_gdyrqcwtBegin: {
  569. date: this.BeginDate,
  570. number: this.relData["t_gdyrqcwt" + this.BeginDate],
  571. },
  572. t_gdyrqcwtEnd: {
  573. date: this.endDate,
  574. number: this.relData["t_gdyrqcwt" + this.endDate],
  575. },
  576. config: this.getMyConfig("检测"), //返回需要的对应参数
  577. };
  578. },
  579. getS2manYiDu() {
  580. let ryywpxjNum = this.neishenObj;
  581. let barData = [];
  582. let e = 0;
  583. if (ryywpxjNum[0].num === 0) {
  584. e = 0;
  585. } else {
  586. e =
  587. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  588. 10;
  589. }
  590. barData.push(e);
  591. return {
  592. // "t_myddcBegin" :{"date": this.BeginDate,"number": this.relData['t_myddc'+this.BeginDate]},
  593. // "t_myddcEnd" :{"date": this.endDate,"number": this.relData['t_myddc'+this.endDate]},
  594. // "t_myddc1Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc1'+this.BeginDate]},
  595. // "t_myddc1End" :{"date": this.endDate,"number": this.relData['t_myddc1'+this.endDate]},
  596. // "t_myddc2Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc2'+this.BeginDate]},
  597. // "t_myddc2End" :{"date": this.endDate,"number": this.relData['t_myddc2'+this.endDate]},
  598. // "t_myddc3Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc3'+this.BeginDate]},
  599. // "t_myddc3End" :{"date": this.endDate,"number": this.relData['t_myddc3'+this.endDate]},
  600. // "t_myddc4Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc4'+this.BeginDate]},
  601. // "t_myddc4End" :{"date": this.endDate,"number": this.relData['t_myddc4'+this.endDate]},
  602. // "t_myddc5Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc5'+this.BeginDate]},
  603. // "t_myddc5End" :{"date": this.endDate,"number": this.relData['t_myddc5'+this.endDate]},
  604. // "t_myddc6Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc6'+this.BeginDate]},
  605. // "t_myddc6End" :{"date": this.endDate,"number": this.relData['t_myddc6'+this.endDate]},
  606. t_khmydtjbNum: {
  607. date: this.endDate,
  608. number: ryywpxjNum[1].num,
  609. numberAll: ryywpxjNum[0].num,
  610. res: barData,
  611. val: e > 100 ? 100 : e,
  612. },
  613. config: this.getMyConfig("客户满意度"), //返回需要的对应参数
  614. };
  615. },
  616. getS2manYiDuFB() {
  617. // let zlzbfz = []
  618. // zlzbfz = this.quality
  619. // let fenshuzu = []
  620. // fenshuzu = this.buhegelvObj
  621. let title = ["NAME_", "numA", "num", "wnum"];
  622. //改过滤
  623. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  624. for (let i = 0; i < this.neishenfbObj.length; i++) {
  625. let midI = mid.findIndex(
  626. (v) => v.NAME_ == this.neishenfbObj[i].NAME_
  627. );
  628. mid[midI].numA =
  629. this.neishenfbObj[i].numA < 0
  630. ? 0
  631. : this.neishenfbObj[i].numA;
  632. mid[midI].num =
  633. this.neishenfbObj[i].num < 0 ? 0 : this.neishenfbObj[i].num;
  634. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  635. mid[midI].chu = Math.floor(this.neishenfbObj[i].chu * 10) / 10;
  636. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  637. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  638. }
  639. return {
  640. num: { date: this.endDate, number: mid, title: title },
  641. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  642. };
  643. },
  644. getS3tousu() {
  645. let ryywpxjNum = this.yingjiObj;
  646. let barData = [];
  647. let e = 0;
  648. if (ryywpxjNum[0].num === 0) {
  649. e = 0;
  650. } else {
  651. e =
  652. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  653. 10;
  654. }
  655. barData.push(e);
  656. return {
  657. t_complaintNum: {
  658. date: this.endDate,
  659. number: ryywpxjNum[1].num,
  660. numberAll: ryywpxjNum[0].num,
  661. res: barData,
  662. val: e > 100 ? 100 : e,
  663. title: "应急预案演练完成率",
  664. },
  665. // "t_mjwtsqbNum" :{"date": this.dataScope,"number": mjwtsqbNum},
  666. config: this.getMyConfig("客户投诉率"), //返回需要的对应参数
  667. };
  668. },
  669. getS3tousuFB() {
  670. // let zlzbfz = []
  671. // zlzbfz = this.quality
  672. // let fenshuzu = []
  673. // fenshuzu = this.buhegelvObj
  674. let title = ["NAME_", "numA", "num", "wnum"];
  675. //改过滤
  676. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  677. for (let i = 0; i < this.yingjifbObj.length; i++) {
  678. let midI = mid.findIndex(
  679. (v) => v.NAME_ == this.yingjifbObj[i].NAME_
  680. );
  681. mid[midI].numA =
  682. this.yingjifbObj[i].numA < 0 ? 0 : this.yingjifbObj[i].numA;
  683. mid[midI].num =
  684. this.yingjifbObj[i].num < 0 ? 0 : this.yingjifbObj[i].num;
  685. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  686. mid[midI].chu = Math.floor(this.yingjifbObj[i].chu * 10) / 10;
  687. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  688. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  689. }
  690. return {
  691. num: {
  692. date: this.endDate,
  693. number: mid,
  694. title: title,
  695. tutitle: "应急预案演练各部门完成率",
  696. },
  697. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  698. };
  699. },
  700. getshijiazhipinjihua() {
  701. let ryywpxjNum = this.yingjiObj;
  702. let barData = [];
  703. let e = 0;
  704. if (ryywpxjNum[0].num === 0) {
  705. e = 0;
  706. } else {
  707. e =
  708. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  709. 10;
  710. }
  711. barData.push(e);
  712. return {
  713. t_complaintNum: {
  714. date: this.endDate,
  715. number: ryywpxjNum[1].num,
  716. numberAll: ryywpxjNum[0].num,
  717. res: barData,
  718. val: e > 100 ? 100 : e,
  719. title: "室内质控完成率",
  720. },
  721. // "t_mjwtsqbNum" :{"date": this.dataScope,"number": mjwtsqbNum},
  722. config: this.getMyConfig("客户投诉率"), //返回需要的对应参数
  723. };
  724. },
  725. getshijiazhipinjihuaB() {
  726. // let zlzbfz = []
  727. // zlzbfz = this.quality
  728. // let fenshuzu = []
  729. // fenshuzu = this.buhegelvObj
  730. let title = ["NAME_", "numA", "num", "wnum"];
  731. //改过滤
  732. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  733. for (let i = 0; i < this.yingjifbObj.length; i++) {
  734. let midI = mid.findIndex(
  735. (v) => v.NAME_ == this.yingjifbObj[i].NAME_
  736. );
  737. mid[midI].numA =
  738. this.yingjifbObj[i].numA < 0 ? 0 : this.yingjifbObj[i].numA;
  739. mid[midI].num =
  740. this.yingjifbObj[i].num < 0 ? 0 : this.yingjifbObj[i].num;
  741. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  742. mid[midI].chu = Math.floor(this.yingjifbObj[i].chu * 10) / 10;
  743. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  744. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  745. }
  746. return {
  747. num: {
  748. date: this.endDate,
  749. number: mid,
  750. title: title,
  751. tutitle: "室内质控各部门完成率",
  752. },
  753. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  754. };
  755. },
  756. getS4renYuanPeiXun() {
  757. let ryywpxjNum = this.zaigangrenyuan;
  758. let barData = [];
  759. let e = 0;
  760. if (ryywpxjNum[0].num === 0) {
  761. e = 0;
  762. } else {
  763. e =
  764. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  765. 10;
  766. }
  767. barData.push(e);
  768. return {
  769. t_ryywpxjlNum: {
  770. date: this.endDate,
  771. number: ryywpxjNum[1].num,
  772. numberAll: ryywpxjNum[0].num,
  773. res: barData,
  774. },
  775. // "t_ryndpxjhBegin" :{"date": this.BeginDate,"number": this.relData['t_ryndpxjh'+this.BeginDate]},
  776. // "t_ryndpxjhEnd" :{"date": this.endDate,"number": this.relData['t_ryndpxjh'+this.endDate]},
  777. // "t_rypxjlnkBegin" :{"date": this.BeginDate,"number": this.relData['t_rypxjlnk'+this.BeginDate]},
  778. // "t_rypxjlnkEnd" :{"date": this.endDate,"number": this.relData['t_rypxjlnk'+this.endDate]},
  779. config: this.getMyConfig("人员培训"), //返回需要的对应参数
  780. };
  781. },
  782. getS4renYuanPeiXunFB() {
  783. // let zlzbfz = []
  784. // zlzbfz = this.quality
  785. // let fenshuzu = []
  786. // fenshuzu = this.buhegelvObj
  787. let title = ["NAME_", "numA", "num", "wnum"];
  788. //改过滤
  789. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  790. for (let i = 0; i < this.zaigangrenyuanfb.length; i++) {
  791. let midI = mid.findIndex(
  792. (v) => v.NAME_ == this.zaigangrenyuanfb[i].NAME_
  793. );
  794. mid[midI].numA =
  795. this.zaigangrenyuanfb[i].numA < 0
  796. ? 0
  797. : this.zaigangrenyuanfb[i].numA;
  798. mid[midI].num =
  799. this.zaigangrenyuanfb[i].num < 0
  800. ? 0
  801. : this.zaigangrenyuanfb[i].num;
  802. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  803. mid[midI].chu =
  804. Math.floor(this.zaigangrenyuanfb[i].chu * 10) / 10;
  805. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  806. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  807. }
  808. return {
  809. num: { date: this.endDate, number: mid, title: title },
  810. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  811. };
  812. },
  813. getS5renYuanJianDu() {
  814. let zljdNum = this.gangqianpeixun;
  815. let zljdSNum = this.getMatchingDataSame("t_zljd");
  816. let barData = [];
  817. // for (let i = 0; i < this.dataScope.length; i++) {
  818. let e = 0;
  819. if (zljdNum[0].num === 0) {
  820. e = 0;
  821. } else {
  822. e = Math.floor((zljdNum[1].num / zljdNum[0].num) * 1000) / 10;
  823. }
  824. barData.push(e);
  825. // }
  826. // console.log(zljdNum,barData,'88888888888888888888888888888888888888888888')
  827. return {
  828. t_zljdNum: {
  829. date: this.endDate,
  830. number: zljdNum[1].num,
  831. numberAll: zljdNum[0].num,
  832. res: barData,
  833. },
  834. // "t_zljdBegin" :{"date": this.BeginDate,"number": this.relData['t_zljd'+this.BeginDate]},
  835. // "t_zljdEnd" :{"date": this.endDate,"number": this.relData['t_zljd'+this.endDate]},
  836. // "t_zljdssBegin" :{"date": this.BeginDate,"number": this.relData['t_zljdss'+this.BeginDate]},
  837. // "t_zljdssEnd" :{"date": this.endDate,"number": this.relData['t_zljdss'+this.endDate]},
  838. config: this.getMyConfig("人员监督"), //返回需要的对应参数
  839. };
  840. },
  841. getS5renYuanJianDuFB() {
  842. // let zlzbfz = []
  843. // zlzbfz = this.quality
  844. // let fenshuzu = []
  845. // fenshuzu = this.buhegelvObj
  846. let title = ["NAME_", "numA", "num", "wnum"];
  847. //改过滤
  848. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  849. for (let i = 0; i < this.gangqianpeixunfb.length; i++) {
  850. let midI = mid.findIndex(
  851. (v) => v.NAME_ == this.gangqianpeixunfb[i].NAME_
  852. );
  853. mid[midI].numA =
  854. this.gangqianpeixunfb[i].numA < 0
  855. ? 0
  856. : this.gangqianpeixunfb[i].numA;
  857. mid[midI].num =
  858. this.gangqianpeixunfb[i].num < 0
  859. ? 0
  860. : this.gangqianpeixunfb[i].num;
  861. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  862. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  863. mid[midI].chu =
  864. Math.floor(this.gangqianpeixunfb[i].chu * 10) / 10;
  865. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  866. }
  867. return {
  868. num: { date: this.endDate, number: mid, title: title },
  869. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  870. };
  871. },
  872. getS6sheBeiWeiHu() {
  873. return {
  874. t_yqsbwhjhxmtBegin: {
  875. date: this.BeginDate,
  876. number: this.relData["t_yqsbwhjhxmt" + this.BeginDate],
  877. },
  878. t_yqsbwhjhxmtEnd: {
  879. date: this.endDate,
  880. number: this.relData["t_yqsbwhjhxmt" + this.endDate],
  881. },
  882. t_yqsbwhjhxmzBegin: {
  883. date: this.BeginDate,
  884. number: this.relData["t_yqsbwhjhxmz" + this.BeginDate],
  885. },
  886. t_yqsbwhjhxmzEnd: {
  887. date: this.endDate,
  888. number: this.relData["t_yqsbwhjhxmz" + this.endDate],
  889. },
  890. t_yqsbwhjhxmyBegin: {
  891. date: this.BeginDate,
  892. number: this.relData["t_yqsbwhjhxmy" + this.BeginDate],
  893. },
  894. t_yqsbwhjhxmyEnd: {
  895. date: this.endDate,
  896. number: this.relData["t_yqsbwhjhxmy" + this.endDate],
  897. },
  898. t_whbyxxBegin: {
  899. date: this.BeginDate,
  900. number: this.relData["t_whbyxx" + this.BeginDate],
  901. },
  902. t_whbyxxEnd: {
  903. date: this.endDate,
  904. number: this.relData["t_whbyxx" + this.endDate],
  905. },
  906. t_whbyxmxxmzBegin: {
  907. date: this.BeginDate,
  908. number: this.relData["t_whbyxmxxmz" + this.BeginDate],
  909. },
  910. t_whbyxmxxmzEnd: {
  911. date: this.endDate,
  912. number: this.relData["t_whbyxmxxmz" + this.endDate],
  913. },
  914. t_whbyxxmyBegin: {
  915. date: this.BeginDate,
  916. number: this.relData["t_whbyxxmy" + this.BeginDate],
  917. },
  918. t_whbyxxmyEnd: {
  919. date: this.endDate,
  920. number: this.relData["t_whbyxxmy" + this.endDate],
  921. },
  922. t_yqsbwhjhfbBegin: {
  923. date: this.BeginDate,
  924. number: this.relData["t_yqsbwhjhfb" + this.BeginDate],
  925. },
  926. t_yqsbwhjhfbEnd: {
  927. date: this.endDate,
  928. number: this.relData["t_yqsbwhjhfb" + this.endDate],
  929. },
  930. t_yqsbwhjlfbBegin: {
  931. date: this.BeginDate,
  932. number: this.relData["t_yqsbwhjlfb" + this.BeginDate],
  933. },
  934. t_yqsbwhjlfbEnd: {
  935. date: this.endDate,
  936. number: this.relData["t_yqsbwhjlfb" + this.endDate],
  937. },
  938. config: this.getMyConfig("设备维护"), //返回需要的对应参数
  939. };
  940. },
  941. getS7sheBeiJiaoZhun() {
  942. let mjsbjdxzjhzbNum = this.getMatchingData("t_mjsbjdxzjhzb");
  943. return {
  944. t_ndsbxzjdjhBegin: {
  945. date: this.BeginDate,
  946. number: this.relData["t_ndsbxzjdjh" + this.BeginDate],
  947. },
  948. t_ndsbxzjdjhEnd: {
  949. date: this.endDate,
  950. number: this.relData["t_ndsbxzjdjh" + this.endDate],
  951. },
  952. t_yqsbxzjgBegin: {
  953. date: this.BeginDate,
  954. number: this.relData["t_yqsbxzjg" + this.BeginDate],
  955. },
  956. t_yqsbxzjgEnd: {
  957. date: this.endDate,
  958. number: this.relData["t_yqsbxzjg" + this.endDate],
  959. },
  960. allDate: {
  961. date: this.endDate,
  962. number: this.relData["t_yqsbxzjg" + this.endDate],
  963. },
  964. config: this.getMyConfig("设备校准"), //返回需要的对应参数
  965. };
  966. },
  967. getS8sheBeiHeCha() {
  968. return {
  969. t_sbhcjhBegin: {
  970. date: this.BeginDate,
  971. number: this.relData["t_sbhcjh" + this.BeginDate],
  972. },
  973. t_sbhcjhEnd: {
  974. date: this.endDate,
  975. number: this.relData["t_sbhcjh" + this.endDate],
  976. },
  977. t_sbhcjlbBegin: {
  978. date: this.BeginDate,
  979. number: this.relData["t_sbhcjlb" + this.BeginDate],
  980. },
  981. t_sbhcjlbEnd: {
  982. date: this.endDate,
  983. number: this.relData["t_sbhcjlb" + this.endDate],
  984. },
  985. config: this.getMyConfig("设备核查"), //返回需要的对应参数
  986. };
  987. },
  988. getS9neiBuZhiLiang() {
  989. let ryywpxjNum = this.neibuObj;
  990. let barData = [];
  991. let e = 0;
  992. if (ryywpxjNum[0].num === 0) {
  993. e = 0;
  994. } else {
  995. e =
  996. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  997. 10;
  998. }
  999. barData.push(e);
  1000. return {
  1001. t_mjzlkzxbNum: {
  1002. date: this.endDate,
  1003. number: ryywpxjNum[1].num,
  1004. numberAll: ryywpxjNum[0].num,
  1005. res: barData,
  1006. val: e > 100 ? 100 : e,
  1007. },
  1008. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1009. };
  1010. },
  1011. getS9neiBuZhiLiangFB() {
  1012. // let zlzbfz = []
  1013. // zlzbfz = this.quality
  1014. // let fenshuzu = []
  1015. // fenshuzu = this.buhegelvObj
  1016. let title = ["NAME_", "numA", "num", "wnum"];
  1017. //改过滤
  1018. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  1019. for (let i = 0; i < this.neibuObjfb.length; i++) {
  1020. let midI = mid.findIndex(
  1021. (v) => v.NAME_ == this.neibuObjfb[i].NAME_
  1022. );
  1023. mid[midI].numA =
  1024. this.neibuObjfb[i].numA < 0 ? 0 : this.neibuObjfb[i].numA;
  1025. mid[midI].num =
  1026. this.neibuObjfb[i].num < 0 ? 0 : this.neibuObjfb[i].num;
  1027. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  1028. mid[midI].chu = Math.floor(this.neibuObjfb[i].chu * 10) / 10;
  1029. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  1030. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  1031. }
  1032. return {
  1033. num: { date: this.endDate, number: mid, title: title },
  1034. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1035. };
  1036. },
  1037. getS12fengXian() {
  1038. let ryywpxjNum = this.fengxianObj;
  1039. let barData = [];
  1040. let e = 0;
  1041. if (ryywpxjNum[0].num === 0) {
  1042. e = 0;
  1043. } else {
  1044. e =
  1045. Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
  1046. 10;
  1047. }
  1048. return {
  1049. t_mjsyshdfxsbykzjhxbNum: {
  1050. date: this.endDate,
  1051. number: ryywpxjNum[1].num,
  1052. numberAll: ryywpxjNum[0].num,
  1053. res: barData,
  1054. val: e > 100 ? 100 : e,
  1055. },
  1056. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1057. };
  1058. },
  1059. getS12fengXianFB() {
  1060. // let zlzbfz = []
  1061. // zlzbfz = this.quality
  1062. // let fenshuzu = []
  1063. // fenshuzu = this.buhegelvObj
  1064. let title = ["NAME_", "numA", "num", "wnum"];
  1065. //改过滤
  1066. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  1067. for (let i = 0; i < this.fengxianfbObj.length; i++) {
  1068. let midI = mid.findIndex(
  1069. (v) => v.NAME_ == this.fengxianfbObj[i].NAME_
  1070. );
  1071. mid[midI].numA =
  1072. this.fengxianfbObj[i].numA < 0
  1073. ? 0
  1074. : this.fengxianfbObj[i].numA;
  1075. mid[midI].num =
  1076. this.fengxianfbObj[i].num < 0
  1077. ? 0
  1078. : this.fengxianfbObj[i].num;
  1079. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  1080. mid[midI].chu = Math.floor(this.fengxianfbObj[i].chu * 10) / 10;
  1081. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  1082. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  1083. }
  1084. return {
  1085. num: { date: this.endDate, number: mid, title: title },
  1086. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1087. };
  1088. },
  1089. getS14bufuhexiang() {
  1090. // let zlzbfz = []
  1091. // zlzbfz = this.quality
  1092. // let fenshuzu = []
  1093. // fenshuzu = this.buhegelvObj
  1094. let title = ["NAME_", "numA", "num", "wnum"];
  1095. //改过滤
  1096. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  1097. for (let i = 0; i < this.bufuheObj.length; i++) {
  1098. let midI = mid.findIndex(
  1099. (v) => v.NAME_ == this.bufuheObj[i].NAME_
  1100. );
  1101. mid[midI].numA =
  1102. this.bufuheObj[i].numA < 0 ? 0 : this.bufuheObj[i].numA;
  1103. mid[midI].num =
  1104. this.bufuheObj[i].num < 0 ? 0 : this.bufuheObj[i].num;
  1105. mid[midI].wnum = mid[midI].numA - mid[midI].num;
  1106. mid[midI].chu = Math.floor(this.bufuheObj[i].chu * 10) / 10;
  1107. mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
  1108. mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
  1109. }
  1110. return {
  1111. num: { date: this.endDate, number: mid, title: title },
  1112. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1113. };
  1114. },
  1115. getbuhegeyangpin() {
  1116. // let ryywpxjNum = this.fengxianObj
  1117. // let barData = []
  1118. // let e=0
  1119. // if (ryywpxjNum[0].num===0) {
  1120. // e =0
  1121. // } else {
  1122. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1123. // }
  1124. return {
  1125. num: {
  1126. date: this.endDate,
  1127. number: 0,
  1128. numberAll: 0,
  1129. res: [],
  1130. val: 99.8,
  1131. title: "不合格样品率",
  1132. },
  1133. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1134. };
  1135. },
  1136. getbuhegeyangpinB() {
  1137. let tableData = {
  1138. header: [
  1139. "<span></span>",
  1140. '<span style="font-size:14px;height:53px">临检组</span>',
  1141. '<span style="font-size:14px;height:53px">生化组</span>',
  1142. '<span style="font-size:14px;height:53px">免疫组</span>',
  1143. '<span style="font-size:14px;height:53px">微生物组</span>',
  1144. '<span style="font-size:14px;height:53px">流式组</span>',
  1145. '<span style="font-size:14px;height:53px">细胞形态组</span>',
  1146. '<span style="font-size:14px;height:53px">分子组</span>',
  1147. '<span style="font-size:14px;height:53px">遗传组</span>',
  1148. ],
  1149. rowNum: 13,
  1150. columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
  1151. align: [
  1152. "left",
  1153. "center",
  1154. "center",
  1155. "center",
  1156. "center",
  1157. "center",
  1158. "center",
  1159. "center",
  1160. "center",
  1161. ],
  1162. data: [
  1163. [
  1164. "1月",
  1165. '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
  1166. '<span style="font-size:10px;">值:0.31%;限值:≤1%</span>',
  1167. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1168. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1169. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1170. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1171. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1172. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1173. ],
  1174. [
  1175. "2月",
  1176. '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
  1177. '<span style="font-size:10px;">值:0.4%;限值:≤1%</span>',
  1178. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1179. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1180. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1181. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1182. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1183. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1184. ],
  1185. [
  1186. "3月",
  1187. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1188. '<span style="font-size:10px;">值:0.31%;限值:≤1%</span>',
  1189. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1190. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1191. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1192. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1193. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1194. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1195. ],
  1196. [
  1197. "4月",
  1198. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1199. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1200. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1201. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1202. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1203. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1204. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1205. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1206. ],
  1207. [
  1208. "5月",
  1209. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1210. '<span style="font-size:10px;">值:0.51%;限值:≤1%</span>',
  1211. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1212. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1213. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1214. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1215. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1216. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1217. ],
  1218. [
  1219. "6月",
  1220. '<span style="font-size:10px;">值:0.52%;限值:≤1%</span>',
  1221. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1222. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1223. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1224. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1225. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1226. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1227. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1228. ],
  1229. [
  1230. "7月",
  1231. '<span style="font-size:10px;">值:1.1%;限值:≤1%</span>',
  1232. '<span style="font-size:10px;">值:0.19%;限值:≤1%</span>',
  1233. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1234. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1235. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1236. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1237. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1238. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1239. ],
  1240. [
  1241. "8月",
  1242. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1243. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1244. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1245. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1246. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1247. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1248. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1249. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1250. ],
  1251. [
  1252. "9月",
  1253. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1254. '<span style="font-size:10px;">值:0.11%;限值:≤1%</span>',
  1255. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1256. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1257. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1258. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1259. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1260. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1261. ],
  1262. [
  1263. "10月",
  1264. '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
  1265. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1266. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1267. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1268. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1269. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1270. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1271. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1272. ],
  1273. [
  1274. "11月",
  1275. '<span style="font-size:10px;">值:0.6%;限值:≤1%</span>',
  1276. '<span style="font-size:10px;">值:0.12%;限值:≤1%</span>',
  1277. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1278. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1279. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1280. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1281. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1282. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1283. ],
  1284. [
  1285. "12月",
  1286. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1287. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1288. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1289. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1290. '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
  1291. '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
  1292. '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
  1293. '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
  1294. ],
  1295. ],
  1296. };
  1297. return {
  1298. num: {
  1299. date: this.endDate,
  1300. number: 0,
  1301. numberAll: 0,
  1302. res: [],
  1303. val: tableData,
  1304. title: "部门不合格样品率",
  1305. },
  1306. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1307. };
  1308. },
  1309. getbaogaobuzhengque() {
  1310. // let ryywpxjNum = this.fengxianObj
  1311. // let barData = []
  1312. // let e=0
  1313. // if (ryywpxjNum[0].num===0) {
  1314. // e =0
  1315. // } else {
  1316. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1317. // }
  1318. return {
  1319. num: {
  1320. date: this.endDate,
  1321. number: 0,
  1322. numberAll: 0,
  1323. res: [],
  1324. val: 94.5,
  1325. title: "报告不正确率",
  1326. },
  1327. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1328. };
  1329. },
  1330. getbaogaobuzhengqueB() {
  1331. let tableData = {
  1332. header: [
  1333. "<span></span>",
  1334. '<span style="font-size:14px;height:53px">临检组</span>',
  1335. '<span style="font-size:14px;height:53px">生化组</span>',
  1336. '<span style="font-size:14px;height:53px">免疫组</span>',
  1337. '<span style="font-size:14px;height:53px">微生物组</span>',
  1338. '<span style="font-size:14px;height:53px">流式组</span>',
  1339. '<span style="font-size:14px;height:53px">细胞形态组</span>',
  1340. '<span style="font-size:14px;height:53px">分子组</span>',
  1341. '<span style="font-size:14px;height:53px">遗传组</span>',
  1342. ],
  1343. rowNum: 13,
  1344. columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
  1345. align: [
  1346. "left",
  1347. "center",
  1348. "center",
  1349. "center",
  1350. "center",
  1351. "center",
  1352. "center",
  1353. "center",
  1354. "center",
  1355. ],
  1356. data: [
  1357. [
  1358. "1月",
  1359. '<span style="font-size:10px;">值:1%;限值:=0%</span>',
  1360. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1361. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1362. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1363. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1364. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1365. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1366. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1367. ],
  1368. [
  1369. "2月",
  1370. '<span style="font-size:10px;">值:1%;限值:=0%</span>',
  1371. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1372. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1373. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1374. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1375. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1376. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1377. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1378. ],
  1379. [
  1380. "3月",
  1381. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1382. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1383. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1384. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1385. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1386. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1387. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1388. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1389. ],
  1390. [
  1391. "4月",
  1392. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1393. '<span style="font-size:10px;">值:0.6%;限值:=0%</span>',
  1394. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1395. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1396. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1397. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1398. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1399. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1400. ],
  1401. [
  1402. "5月",
  1403. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1404. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1405. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1406. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1407. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1408. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1409. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1410. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1411. ],
  1412. [
  1413. "6月",
  1414. '<span style="font-size:10px;">值:4%;限值:=0%</span>',
  1415. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1416. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1417. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1418. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1419. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1420. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1421. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1422. ],
  1423. [
  1424. "7月",
  1425. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1426. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1427. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1428. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1429. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1430. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1431. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1432. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1433. ],
  1434. [
  1435. "8月",
  1436. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1437. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1438. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1439. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1440. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1441. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1442. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1443. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1444. ],
  1445. [
  1446. "9月",
  1447. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1448. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1449. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1450. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1451. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1452. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1453. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1454. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1455. ],
  1456. [
  1457. "10月",
  1458. '<span style="font-size:10px;">值:2%;限值:=0%</span>',
  1459. '<span style="font-size:10px;">值:0.2%;限值:=0%</span>',
  1460. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1461. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1462. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1463. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1464. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1465. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1466. ],
  1467. [
  1468. "11月",
  1469. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1470. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1471. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1472. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1473. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1474. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1475. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1476. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1477. ],
  1478. [
  1479. "12月",
  1480. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1481. '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
  1482. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1483. '<span style="font-size:10px;">值:0;限值:=0%</span>',
  1484. '<span style="font-size:10px;">值:3%;限值:=0%</span>',
  1485. '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
  1486. '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
  1487. '<span style="font-size:10px;">值:0%;限值:=0%</span>',
  1488. ],
  1489. ],
  1490. };
  1491. return {
  1492. num: {
  1493. date: this.endDate,
  1494. number: 0,
  1495. numberAll: 0,
  1496. res: [],
  1497. val: tableData,
  1498. title: "部门报告不正确率",
  1499. },
  1500. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1501. };
  1502. },
  1503. getweijizhibaogao() {
  1504. // let ryywpxjNum = this.fengxianObj
  1505. // let barData = []
  1506. // let e=0
  1507. // if (ryywpxjNum[0].num===0) {
  1508. // e =0
  1509. // } else {
  1510. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1511. // }
  1512. return {
  1513. num: {
  1514. date: this.endDate,
  1515. number: 0,
  1516. numberAll: 0,
  1517. res: [],
  1518. val: 50,
  1519. title: "危急值报告率",
  1520. },
  1521. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1522. };
  1523. },
  1524. getweijizhibaogaoB() {
  1525. let title = ["NAME_", "numA"];
  1526. let a = [91, 94, 100, 100, 100, 98, 99.7, 100, 97.3, 100, 93, 90];
  1527. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  1528. for (let i = 0; i < mid.length; i++) {
  1529. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  1530. mid[i].numA = a[i];
  1531. // mid[midI].num = this.bufuheObj[i].num
  1532. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  1533. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  1534. }
  1535. return {
  1536. num: {
  1537. date: this.endDate,
  1538. number: mid,
  1539. title: title,
  1540. tutitle: "部门危急值报告率",
  1541. limitVal: "100",
  1542. limitValZ: "=100%",
  1543. },
  1544. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1545. };
  1546. },
  1547. getweijizhijishi() {
  1548. // let ryywpxjNum = this.fengxianObj
  1549. // let barData = []
  1550. // let e=0
  1551. // if (ryywpxjNum[0].num===0) {
  1552. // e =0
  1553. // } else {
  1554. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1555. // }
  1556. return {
  1557. num: {
  1558. date: this.endDate,
  1559. number: 0,
  1560. numberAll: 0,
  1561. res: [],
  1562. val: 16.5,
  1563. title: "危急值报告及时率",
  1564. },
  1565. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1566. };
  1567. },
  1568. getweijizhijishiB() {
  1569. let title = ["NAME_", "numA"];
  1570. let a = [91, 98, 99.7, 100, 97.3, 100, 93, 94, 100, 100, 100, 100];
  1571. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  1572. for (let i = 0; i < mid.length; i++) {
  1573. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  1574. mid[i].numA = a[i];
  1575. // mid[midI].num = this.bufuheObj[i].num
  1576. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  1577. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  1578. }
  1579. return {
  1580. num: {
  1581. date: this.endDate,
  1582. number: mid,
  1583. title: title,
  1584. tutitle: "部门危急值报告率",
  1585. limitVal: "100",
  1586. limitValZ: "=100%",
  1587. },
  1588. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1589. };
  1590. },
  1591. getsysnzzsjfh() {
  1592. // let ryywpxjNum = this.fengxianObj
  1593. // let barData = []
  1594. // let e=0
  1595. // if (ryywpxjNum[0].num===0) {
  1596. // e =0
  1597. // } else {
  1598. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1599. // }
  1600. return {
  1601. num: {
  1602. date: this.endDate,
  1603. number: 0,
  1604. numberAll: 0,
  1605. res: [],
  1606. val: 89.2,
  1607. title: "实验室内周转时间符合率",
  1608. },
  1609. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1610. };
  1611. },
  1612. getsysnzzsjfhB() {
  1613. let tableData = {
  1614. header: [
  1615. "<span></span>",
  1616. '<span style="font-size:14px;height:53px">临检组</span>',
  1617. '<span style="font-size:14px;height:53px">生化组</span>',
  1618. '<span style="font-size:14px;height:53px">免疫组</span>',
  1619. '<span style="font-size:14px;height:53px">微生物组</span>',
  1620. '<span style="font-size:14px;height:53px">流式组</span>',
  1621. '<span style="font-size:14px;height:53px">细胞形态组</span>',
  1622. '<span style="font-size:14px;height:53px">分子组</span>',
  1623. '<span style="font-size:14px;height:53px">遗传组</span>',
  1624. ],
  1625. rowNum: 13,
  1626. columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
  1627. align: [
  1628. "left",
  1629. "center",
  1630. "center",
  1631. "center",
  1632. "center",
  1633. "center",
  1634. "center",
  1635. "center",
  1636. "center",
  1637. ],
  1638. data: [
  1639. [
  1640. "1月",
  1641. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1642. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1643. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1644. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1645. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1646. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1647. '<span style="font-size:10px;">值:91%;限值:>95%</span>',
  1648. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1649. ],
  1650. [
  1651. "2月",
  1652. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1653. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1654. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1655. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1656. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1657. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1658. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1659. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1660. ],
  1661. [
  1662. "3月",
  1663. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1664. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1665. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1666. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1667. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1668. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1669. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1670. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1671. ],
  1672. [
  1673. "4月",
  1674. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1675. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1676. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1677. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1678. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1679. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1680. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1681. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1682. ],
  1683. [
  1684. "5月",
  1685. '<span style="font-size:10px;">值:98%;限值:>95%</span>',
  1686. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1687. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1688. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1689. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1690. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1691. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1692. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1693. ],
  1694. [
  1695. "6月",
  1696. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1697. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1698. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1699. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1700. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1701. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1702. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1703. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1704. ],
  1705. [
  1706. "7月",
  1707. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1708. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1709. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1710. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1711. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1712. '<span style="font-size:10px;">值:91%;限值:>95%</span>',
  1713. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1714. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1715. ],
  1716. [
  1717. "8月",
  1718. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1719. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1720. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1721. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1722. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1723. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1724. '<span style="font-size:10px;">值:95%;限值:>95%</span>',
  1725. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1726. ],
  1727. [
  1728. "9月",
  1729. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1730. '<span style="font-size:10px;">值:96%;限值:>95%</span>',
  1731. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1732. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1733. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1734. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1735. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1736. '<span style="font-size:10px;">值:89%;限值:>95%</span>',
  1737. ],
  1738. [
  1739. "10月",
  1740. '<span style="font-size:10px;">值:86%;限值:>95%</span>',
  1741. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1742. '<span style="font-size:10px;">值:98%;限值:>95%</span>',
  1743. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1744. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1745. '<span style="font-size:10px;">值:89%;限值:>95%</span>',
  1746. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1747. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1748. ],
  1749. [
  1750. "11月",
  1751. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1752. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1753. '<span style="font-size:10px;">值:94%;限值:>95%</span>',
  1754. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1755. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1756. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1757. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1758. '<span style="font-size:10px;">值:98%;限值:>95%</span>',
  1759. ],
  1760. [
  1761. "12月",
  1762. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1763. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1764. '<span style="font-size:10px;">值:90%;限值:>95%</span>',
  1765. '<span style="font-size:10px;">值:97%;限值:>95%</span>',
  1766. '<span style="font-size:10px;">值:93%;限值:>95%</span>',
  1767. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1768. '<span style="font-size:10px;">值:92%;限值:>95%</span>',
  1769. '<span style="font-size:10px;">值:99%;限值:>95%</span>',
  1770. ],
  1771. ],
  1772. };
  1773. return {
  1774. num: {
  1775. date: this.endDate,
  1776. number: 0,
  1777. numberAll: 0,
  1778. res: [],
  1779. val: tableData,
  1780. title: "部门实验室内周转时间符合率",
  1781. },
  1782. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1783. };
  1784. },
  1785. getjyqzzzws() {
  1786. // let ryywpxjNum = this.fengxianObj
  1787. // let barData = []
  1788. // let e=0
  1789. // if (ryywpxjNum[0].num===0) {
  1790. // e =0
  1791. // } else {
  1792. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1793. // }
  1794. return {
  1795. num: {
  1796. date: this.endDate,
  1797. number: 0,
  1798. numberAll: 0,
  1799. res: [],
  1800. val: 91.6,
  1801. title: "检验前周转时间中位数",
  1802. },
  1803. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1804. };
  1805. },
  1806. getjyqzzzwsB() {
  1807. let tableData = {
  1808. header: [
  1809. "<span></span>",
  1810. '<span style="font-size:14px;height:53px">临检组</span>',
  1811. '<span style="font-size:14px;height:53px">生化组</span>',
  1812. '<span style="font-size:14px;height:53px">免疫组</span>',
  1813. '<span style="font-size:14px;height:53px">微生物组</span>',
  1814. '<span style="font-size:14px;height:53px">流式组</span>',
  1815. '<span style="font-size:14px;height:53px">细胞形态组</span>',
  1816. '<span style="font-size:14px;height:53px">分子组</span>',
  1817. '<span style="font-size:14px;height:53px">遗传组</span>',
  1818. ],
  1819. rowNum: 13,
  1820. columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
  1821. align: [
  1822. "left",
  1823. "center",
  1824. "center",
  1825. "center",
  1826. "center",
  1827. "center",
  1828. "center",
  1829. "center",
  1830. "center",
  1831. ],
  1832. data: [
  1833. [
  1834. "1月",
  1835. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1836. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1837. '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
  1838. '<span style="font-size:10px;">值:90;限值:≤120分钟</span>',
  1839. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1840. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1841. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1842. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1843. ],
  1844. [
  1845. "2月",
  1846. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1847. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1848. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1849. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1850. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1851. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1852. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1853. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1854. ],
  1855. [
  1856. "3月",
  1857. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1858. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1859. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1860. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1861. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1862. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1863. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1864. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1865. ],
  1866. [
  1867. "4月",
  1868. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1869. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1870. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1871. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1872. '<span style="font-size:10px;">值:120;限值:≤120分钟</span>',
  1873. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1874. '<span style="font-size:10px;">值:128;限值:≤120分钟</span>',
  1875. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1876. ],
  1877. [
  1878. "5月",
  1879. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1880. '<span style="font-size:10px;">值:125;限值:≤120分钟</span>',
  1881. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1882. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1883. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1884. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1885. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1886. '<span style="font-size:10px;">值:156;限值:≤120分钟</span>',
  1887. ],
  1888. [
  1889. "6月",
  1890. '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
  1891. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1892. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1893. '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
  1894. '<span style="font-size:10px;">值:110;限值:≤120分钟</span>',
  1895. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1896. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1897. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1898. ],
  1899. [
  1900. "7月",
  1901. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1902. '<span style="font-size:10px;">值:114;限值:≤120分钟</span>',
  1903. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1904. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1905. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1906. '<span style="font-size:10px;">值:99;限值:≤120分钟</span>',
  1907. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1908. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1909. ],
  1910. [
  1911. "8月",
  1912. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1913. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1914. '<span style="font-size:10px;">值:118;限值:≤120分钟</span>',
  1915. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1916. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1917. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1918. '<span style="font-size:10px;">值:114;限值:≤120分钟</span>',
  1919. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1920. ],
  1921. [
  1922. "9月",
  1923. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1924. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1925. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1926. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1927. '<span style="font-size:10px;">值:140;限值:≤120分钟</span>',
  1928. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1929. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1930. '<span style="font-size:10px;">值:156;限值:≤120分钟</span>',
  1931. ],
  1932. [
  1933. "10月",
  1934. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1935. '<span style="font-size:10px;">值:103;限值:≤120分钟</span>',
  1936. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1937. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1938. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1939. '<span style="font-size:10px;">值:105;限值:≤120分钟</span>',
  1940. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1941. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1942. ],
  1943. [
  1944. "11月",
  1945. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1946. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1947. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1948. '<span style="font-size:10px;">值:121;限值:≤120分钟</span>',
  1949. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1950. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1951. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1952. '<span style="font-size:10px;">值:106;限值:≤120分钟</span>',
  1953. ],
  1954. [
  1955. "12月",
  1956. '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
  1957. '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
  1958. '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
  1959. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1960. '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
  1961. '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
  1962. '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
  1963. '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
  1964. ],
  1965. ],
  1966. };
  1967. return {
  1968. num: {
  1969. date: this.endDate,
  1970. number: 0,
  1971. numberAll: 0,
  1972. res: [],
  1973. val: tableData,
  1974. title: "部门检验前周转时间中位数",
  1975. },
  1976. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1977. };
  1978. },
  1979. getbshineizhikong() {
  1980. // let ryywpxjNum = this.fengxianObj
  1981. // let barData = []
  1982. // let e=0
  1983. // if (ryywpxjNum[0].num===0) {
  1984. // e =0
  1985. // } else {
  1986. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  1987. // }
  1988. return {
  1989. num: {
  1990. date: this.endDate,
  1991. number: 0,
  1992. numberAll: 0,
  1993. res: [],
  1994. val: 83.5,
  1995. title: "室内质控评达标率",
  1996. },
  1997. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  1998. };
  1999. },
  2000. getbshineizhikongB() {
  2001. let title = ["NAME_", "numA"];
  2002. let a = [91, 98, 99.7, 100, 100, 100, 100, 97.3, 67, 93, 94, 100];
  2003. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2004. for (let i = 0; i < mid.length; i++) {
  2005. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2006. mid[i].numA = a[i];
  2007. // mid[midI].num = this.bufuheObj[i].num
  2008. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2009. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2010. }
  2011. return {
  2012. num: {
  2013. date: this.endDate,
  2014. number: mid,
  2015. title: title,
  2016. tutitle: "部门室内质控评达标率",
  2017. limitVal: "95",
  2018. limitValZ: "≥95%",
  2019. },
  2020. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2021. };
  2022. },
  2023. getshijianzhiping() {
  2024. // let ryywpxjNum = this.fengxianObj
  2025. // let barData = []
  2026. // let e=0
  2027. // if (ryywpxjNum[0].num===0) {
  2028. // e =0
  2029. // } else {
  2030. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  2031. // }
  2032. return {
  2033. num: {
  2034. date: this.endDate,
  2035. number: 0,
  2036. numberAll: 0,
  2037. res: [],
  2038. val: 33,
  2039. title: "室间质评合格率",
  2040. },
  2041. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2042. };
  2043. },
  2044. getshijianzhipingB() {
  2045. let title = ["NAME_", "numA"];
  2046. let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
  2047. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2048. for (let i = 0; i < mid.length; i++) {
  2049. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2050. mid[i].numA = a[i];
  2051. // mid[midI].num = this.bufuheObj[i].num
  2052. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2053. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2054. }
  2055. return {
  2056. num: {
  2057. date: this.endDate,
  2058. number: mid,
  2059. title: title,
  2060. tutitle: "部门室间质评合格率",
  2061. limitVal: "95",
  2062. limitValZ: "≥95%",
  2063. },
  2064. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2065. };
  2066. },
  2067. getshiyanshibidui() {
  2068. // let ryywpxjNum = this.fengxianObj
  2069. // let barData = []
  2070. // let e=0
  2071. // if (ryywpxjNum[0].num===0) {
  2072. // e =0
  2073. // } else {
  2074. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  2075. // }
  2076. return {
  2077. num: {
  2078. date: this.endDate,
  2079. number: 0,
  2080. numberAll: 0,
  2081. res: [],
  2082. val: 100,
  2083. title: "实验室间比对率(无室间质评项目)",
  2084. },
  2085. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2086. };
  2087. },
  2088. getshiyanshibiduiB() {
  2089. let title = ["NAME_", "numA"];
  2090. let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
  2091. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2092. for (let i = 0; i < mid.length; i++) {
  2093. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2094. mid[i].numA = a[i];
  2095. // mid[midI].num = this.bufuheObj[i].num
  2096. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2097. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2098. }
  2099. return {
  2100. num: {
  2101. date: this.endDate,
  2102. number: mid,
  2103. title: title,
  2104. tutitle: "部门实验室间比对率(无室间质评项目)",
  2105. limitVal: "50",
  2106. limitValZ: "≥50%",
  2107. },
  2108. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2109. };
  2110. },
  2111. getshebeibuliang() {
  2112. // let ryywpxjNum = this.fengxianObj
  2113. // let barData = []
  2114. // let e=0
  2115. // if (ryywpxjNum[0].num===0) {
  2116. // e =0
  2117. // } else {
  2118. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  2119. // }
  2120. return {
  2121. num: {
  2122. date: this.endDate,
  2123. number: 0,
  2124. numberAll: 0,
  2125. res: [],
  2126. val: 16.5,
  2127. title: "设备不良事件上报时限符合率",
  2128. },
  2129. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2130. };
  2131. },
  2132. getshebeibuliangB() {
  2133. let title = ["NAME_", "numA"];
  2134. let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
  2135. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2136. for (let i = 0; i < mid.length; i++) {
  2137. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2138. mid[i].numA = a[i];
  2139. // mid[midI].num = this.bufuheObj[i].num
  2140. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2141. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2142. }
  2143. return {
  2144. num: {
  2145. date: this.endDate,
  2146. number: mid,
  2147. title: title,
  2148. tutitle: "部门设备不良事件上报时限符合率",
  2149. limitVal: "100",
  2150. limitValZ: "=100%",
  2151. },
  2152. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2153. };
  2154. },
  2155. getkehumanyi() {
  2156. // let ryywpxjNum = this.fengxianObj
  2157. // let barData = []
  2158. // let e=0
  2159. // if (ryywpxjNum[0].num===0) {
  2160. // e =0
  2161. // } else {
  2162. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  2163. // }
  2164. return {
  2165. num: {
  2166. date: this.endDate,
  2167. number: 0,
  2168. numberAll: 0,
  2169. res: [],
  2170. val: 56.25,
  2171. title: "客户满意率",
  2172. },
  2173. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2174. };
  2175. },
  2176. getkehumanyiB() {
  2177. let title = ["NAME_", "numA", "num"];
  2178. let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
  2179. let b = [87, 97.3, 67, 93, 94, 100, 91, 67.9, 99.7, 89, 88.8, 90];
  2180. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2181. for (let i = 0; i < mid.length; i++) {
  2182. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2183. mid[i].numA = a[i];
  2184. mid[i].num = b[i];
  2185. // mid[midI].num = this.bufuheObj[i].num
  2186. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2187. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2188. }
  2189. return {
  2190. num: {
  2191. date: this.endDate,
  2192. number: mid,
  2193. title: title,
  2194. tutitle: "部门客户满意率",
  2195. limitVal: "90",
  2196. limitValZ: "≥90%",
  2197. },
  2198. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2199. };
  2200. },
  2201. getygcjpxcsdb() {
  2202. // let ryywpxjNum = this.fengxianObj
  2203. // let barData = []
  2204. // let e=0
  2205. // if (ryywpxjNum[0].num===0) {
  2206. // e =0
  2207. // } else {
  2208. // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
  2209. // }
  2210. return {
  2211. num: {
  2212. date: this.endDate,
  2213. number: 0,
  2214. numberAll: 0,
  2215. res: [],
  2216. val: 75,
  2217. title: "员工参加培训次数达标率",
  2218. },
  2219. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2220. };
  2221. },
  2222. getygcjpxcsdbB() {
  2223. let title = ["NAME_", "numA"];
  2224. let a = [67, 93, 94, 100, 91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3];
  2225. let b = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
  2226. let mid = JSON.parse(JSON.stringify(this.bfBuMen));
  2227. for (let i = 0; i < mid.length; i++) {
  2228. // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
  2229. mid[i].numA = a[i];
  2230. // mid[i].num = b[i]
  2231. // mid[midI].num = this.bufuheObj[i].num
  2232. // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
  2233. // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
  2234. }
  2235. return {
  2236. num: {
  2237. date: this.endDate,
  2238. number: mid,
  2239. title: title,
  2240. tutitle: "部门员工参加培训次数达标率",
  2241. limitVal: "80",
  2242. limitValZ: "≧80%",
  2243. },
  2244. config: this.getMyConfig("内部质量"), //返回需要的对应参数
  2245. };
  2246. },
  2247. },
  2248. };