sendDatas.js 107 KB

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