| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271 |
- /**
- * 高度修复
- */
- // import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
- export default {
- methods: {
- /* 遍历配置,分发配置参数*/
- getMatchingData(matching) {
- let matchArr = [];
- // for (let i = 0; i < this.dataScope.length; i++) {
- // matchArr.push(this.relData[matching+this.dataScope[i]])
- // }
- // for (let i = 0; i < this.dataScope.length; i++) {
- if (typeof this.relData[matching + this.endDate] === "undefined") {
- matchArr.push(0);
- // console.log(matchArr,'1hiuhkj')
- } else {
- matchArr.push(this.relData[matching + this.endDate]);
- // console.log('2nhkjhiuhkj')
- }
- // }
- return matchArr;
- },
- getMatchingDataSame(matching) {
- let matchArr = [];
- // for (let i = 0; i < this.dataScope.length; i++) {
- // matchArr.push(this.relData[matching+'S'+this.dataScope[i]])
- // }
- // for (let i = 0; i < this.dataScope.length; i++) {
- if (
- typeof this.relData[matching + "S" + this.endDate] ===
- "undefined"
- ) {
- matchArr.push(0);
- // console.log(matchArr,'1hiuhkj')
- } else {
- matchArr.push(this.relData[matching + "S" + this.endDate]);
- // console.log('2nhkjhiuhkj')
- }
- // }
- return matchArr;
- },
- getJiaoYanObjNum() {
- let ryywpxjNum = this.jiaoyanObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_mjsbjdxzjhzbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getJiaoYanObjNumFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.jiaoyanMGObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.jiaoyanMGObj[i].NAME_
- );
- mid[midI].numA =
- this.jiaoyanMGObj[i].numA < 0
- ? 0
- : this.jiaoyanMGObj[i].numA;
- mid[midI].num =
- this.jiaoyanMGObj[i].num < 0 ? 0 : this.jiaoyanMGObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.jiaoyanMGObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- gethechaObjNum() {
- let ryywpxjNum = this.hechaObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_sbhcjlbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- gethechaObjNumFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.hechaMGObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.hechaMGObj[i].NAME_
- );
- mid[midI].numA =
- this.hechaMGObj[i].numA < 0 ? 0 : this.hechaMGObj[i].numA;
- mid[midI].num =
- this.hechaMGObj[i].num < 0 ? 0 : this.hechaMGObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.hechaMGObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getnengtliObjNum() {
- let ryywpxjNum = this.waibuObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- Num: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getnengtliObjNumFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.waibuObjfb.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.waibuObjfb[i].NAME_
- );
- mid[midI].numA =
- this.waibuObjfb[i].numA < 0 ? 0 : this.waibuObjfb[i].numA;
- mid[midI].num =
- this.waibuObjfb[i].num < 0 ? 0 : this.waibuObjfb[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.waibuObjfb[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getyangPinCaiJiObjNum() {
- let zlzbfz = [];
- zlzbfz = this.quality;
- let fenshuzu = [];
- fenshuzu = this.buhegelvObj;
- let title = ["name_"];
- for (let i = 0; i < zlzbfz.length; i++) {
- for (let j = 0; j < fenshuzu.length; j++) {
- // console.log(zlzbfz[i].id_ == fenshuzu[j].bzbm,zlzbfz[i].id_, fenshuzu[j].bzbm,'354345433333333333333333333333333333333333')
- if (zlzbfz[i].id_ == fenshuzu[j].bzbm) {
- let prop = fenshuzu[j].zhi_liang_mu_biao;
- zlzbfz[i][prop] = fenshuzu[j].location;
- }
- }
- }
- // console.log(zlzbfz,'5456456456546gfhghghgf')
- for (let t = 0; t < this.zhiliangmubiaotitle.length; t++) {
- title.push(this.zhiliangmubiaotitle[t].zhi_liang_mu_biao);
- }
- let zbval = [];
- for (let t = 0; t < this.zhiliangmubiaotitle.length; t++) {
- if (
- this.zhiliangmubiaotitle[t].zhi_liang_mu_biao.match(
- /(\d+(\.\d+)?)/
- ) === null
- ) {
- zbval.push(
- parseFloat(
- this.zhiliangmubiaotitle[t].zhi_biao_xian_zhi.match(
- /(\d+(\.\d+)?)/
- )
- )
- );
- } else {
- zbval.push(
- parseFloat(
- this.zhiliangmubiaotitle[t].zhi_liang_mu_biao.match(
- /(\d+(\.\d+)?)/
- )
- )
- );
- }
- }
- // console.log(this.zhiliangmubiaotitle,zlzbfz,fenshuzu,'dsdsfddssf9090090')
- // let arr = this.tableNum
- // let aa =[]
- // for (let j = 0; j < arr.length; j++) {
- // 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>']
- // aa.push(changeArr)
- // }
- // this.$set(this.tableData, 'data', aa)
- // this.$forceUpdate()
- // console.log(arr,this.tableData.data,'djlkddddddddddddddddddddddddddddddddd')
- return {
- Num: {
- date: this.endDate,
- number: zlzbfz,
- title: title,
- xianzhi: zbval,
- titleall: this.zhiliangmubiaotitle,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getfenzuZLZBObjNum() {
- //生成月份
- let that = this;
- let d1 = this.endDate[0];
- let d2 = this.endDate[2];
- let dateArry = new Array();
- let s1 = d1.split("-");
- let s2 = d2.split("-");
- let mCount = 0;
- if (parseInt(s1[0]) < parseInt(s2[0])) {
- mCount =
- (parseInt(s2[0]) - parseInt(s1[0])) * 12 +
- parseInt(s2[1]) -
- parseInt(s1[1]) +
- 1;
- } else {
- mCount = parseInt(s2[1]) - parseInt(s1[1]) + 1;
- }
- if (mCount > 0) {
- var startM = parseInt(s1[1]);
- var startY = parseInt(s1[0]);
- for (var i = 0; i < mCount; i++) {
- if (startM < 12) {
- dateArry[i] =
- startY + "-" + (startM > 9 ? startM : "0" + startM);
- startM += 1;
- } else {
- dateArry[i] =
- startY + "-" + (startM > 9 ? startM : "0" + startM);
- startM = 1;
- startY += 1;
- }
- }
- }
- //处理数据
- let zlzbfz = [];
- let fenshuzu = [];
- let zongfz = [];
- fenshuzu = that.quality;
- for (let m = 0; m < that.quality.length; m++) {
- for (let n = 0; n < that.fenzuzlmb.length; n++) {
- //console.log(that.quality.id_ == that.fenzuzlmb.id_,that.quality,that.fenzuzlmb)
- if (that.quality[m].id_ == that.fenzuzlmb[n].id_) {
- fenshuzu[m].data = that.fenzuzlmb[n].data
- ? that.fenzuzlmb[n].data
- : "";
- continue;
- }
- }
- }
- for (let j = 0; j < dateArry.length; j++) {
- let rq = {};
- rq.name_ = dateArry[j];
- zlzbfz.push(rq);
- // console.log(zlzbfz,dateArry[j],'erw232222222222222222222222222224586')
- }
- // console.log(fenshuzu,zlzbfz,'55353453535345')
- let title = ["name_"];
- for (let zn = 0; zn < fenshuzu.length; zn++) {
- for (let i = 0; i < zlzbfz.length; i++) {
- if (fenshuzu[zn].data && fenshuzu[zn].data.length > 0) {
- for (let j = 0; j < fenshuzu[zn].data.length; j++) {
- if (zlzbfz[i].name_ == fenshuzu[zn].data[j].bzsj) {
- let prop =
- fenshuzu[zn].data[j].zhi_liang_zhi_bia;
- zlzbfz[i][prop] = fenshuzu[zn].data[j].location;
- // console.log(zlzbfz)
- }
- //continue
- }
- }
- //continue
- }
- zongfz.push({
- id: fenshuzu[zn].id_,
- name: fenshuzu[zn].name_,
- data: zlzbfz,
- });
- }
- // console.log(zongfz,'0000000000000000767676767676767676767676')
- for (let t = 0; t < this.zhiliangzhibiaotitle.length; t++) {
- title.push(this.zhiliangzhibiaotitle[t].zhi_liang_zhi_bia);
- }
- this.zhiliangmuTitle = title;
- this.zhiliangmuNeirong = zongfz;
- return {
- Num: { date: this.endDate, number: zongfz, title: title },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getbzJunZhujNum() {
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.gaijinxiangObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.gaijinxiangObj[i].NAME_
- );
- mid[midI].numA =
- this.gaijinxiangObj[i].numA < 0
- ? 0
- : this.gaijinxiangObj[i].numA;
- mid[midI].num =
- this.gaijinxiangObj[i].num < 0
- ? 0
- : this.gaijinxiangObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu =
- Math.floor(this.gaijinxiangObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getbzXiBaoObjNum() {
- let name = [];
- let val = [];
- let valAll = [];
- let e = [];
- let a = 0;
- let b = 0;
- let c = 0;
- let numm = 0;
- let that = this;
- if (that.bzXiBaoObj.length === 0) {
- val = [0];
- valAll = [0];
- e = [0];
- name = [0];
- } else {
- for (let i = 0; i < that.bzXiBaoObj.length; i++) {
- // let num=0
- // if (that.hechaObj[i].t_sbhcjlb===0) {
- // num =0
- // } else {
- // num =Math.floor(that.hechaObj[i].t_sbhcjlbS/that.hechaObj[i].t_sbhcjlb * 10000) / 100
- // }
- // valAll.push(that.hechaObj[i].t_sbhcjlb)
- val.push(that.bzXiBaoObj[i].num);
- valAll.push(that.bzXiBaoObj[i].numS);
- // e.push(num)
- name.push(that.bzXiBaoObj[i].name);
- }
- }
- val.forEach(function (item) {
- a += item;
- });
- valAll.forEach(function (item) {
- b += item;
- });
- if (that.bzXiBaoTObj.length === 0) {
- numm = 1;
- } else {
- numm = Math.floor((12 - that.bzXiBaoTObj[0].time) / 3) + 1;
- }
- // a=a*numm
- // console.log(numm,'numm')
- if (b === 0) {
- c = 0;
- } else {
- c = Math.floor((b / a) * 1000) / 10;
- }
- return {
- Num: {
- date: this.endDate,
- number: val,
- name: name,
- numberAll: valAll,
- valnum: a,
- valAll: b,
- valna: c,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getMyConfig(name) {
- // console.log(this.config,'werwrwr3567885656766666666666666666666666')
- if (!this.config || this.config.length == 0) return;
- for (let i in this.config) {
- if (this.config[i]["pei_zhi_biao_ming"] == name) {
- return this.config[i]["pei_zhi_can_shu_"]; //返回需要的对应参数
- }
- }
- },
- getS1renwu() {
- let ryywpxjNum = this.guanshenObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_jchzbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getS1renwuFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.guanshenfbObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.guanshenfbObj[i].NAME_
- );
- mid[midI].numA =
- this.guanshenfbObj[i].numA < 0
- ? 0
- : this.guanshenfbObj[i].numA;
- mid[midI].num =
- this.guanshenfbObj[i].num < 0
- ? 0
- : this.guanshenfbObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.guanshenfbObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS1jianCe() {
- return {
- // "t_mjjcbgNum" :{"date": this.dataScope,"number": mjjcbgNum, "numberAll": mjjcbgSNum, "res": barData},
- t_gdyrqcwtBegin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt" + this.BeginDate],
- },
- t_gdyrqcwtEnd: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt" + this.endDate],
- },
- t_gdyrqcwt2Begin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt2" + this.BeginDate],
- },
- t_gdyrqcwt2End: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt2" + this.endDate],
- },
- t_gdyrqcwt3Begin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt3" + this.BeginDate],
- },
- t_gdyrqcwt3End: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt3" + this.endDate],
- },
- t_gdyrqcwt4Begin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt4" + this.BeginDate],
- },
- t_gdyrqcwt4End: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt4" + this.endDate],
- },
- t_gdyrqcwt5Begin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt5" + this.BeginDate],
- },
- t_gdyrqcwt5End: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt5" + this.endDate],
- },
- t_gdyrqcwt6Begin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt6" + this.BeginDate],
- },
- t_gdyrqcwt6End: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt6" + this.endDate],
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getS2jianCe() {
- let mjjcbgNum = this.getMatchingData("t_mjjcbg");
- let mjjcbgSNum = this.getMatchingDataSame("t_mjjcbg");
- let barData = [];
- // for (let i = 0; i < this.dataScope.length; i++) {
- let e = 0;
- if (mjjcbgSNum[0] === 0) {
- e = 0;
- } else {
- e = Math.floor((mjjcbgNum[0] / mjjcbgSNum[0]) * 1000) / 10;
- }
- barData.push(e);
- // }
- return {
- t_mjjcbgNum: {
- date: this.endDate,
- number: mjjcbgNum,
- numberAll: mjjcbgSNum,
- res: barData,
- },
- t_gdyrqcwtBegin: {
- date: this.BeginDate,
- number: this.relData["t_gdyrqcwt" + this.BeginDate],
- },
- t_gdyrqcwtEnd: {
- date: this.endDate,
- number: this.relData["t_gdyrqcwt" + this.endDate],
- },
- config: this.getMyConfig("检测"), //返回需要的对应参数
- };
- },
- getS2manYiDu() {
- let ryywpxjNum = this.neishenObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- // "t_myddcBegin" :{"date": this.BeginDate,"number": this.relData['t_myddc'+this.BeginDate]},
- // "t_myddcEnd" :{"date": this.endDate,"number": this.relData['t_myddc'+this.endDate]},
- // "t_myddc1Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc1'+this.BeginDate]},
- // "t_myddc1End" :{"date": this.endDate,"number": this.relData['t_myddc1'+this.endDate]},
- // "t_myddc2Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc2'+this.BeginDate]},
- // "t_myddc2End" :{"date": this.endDate,"number": this.relData['t_myddc2'+this.endDate]},
- // "t_myddc3Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc3'+this.BeginDate]},
- // "t_myddc3End" :{"date": this.endDate,"number": this.relData['t_myddc3'+this.endDate]},
- // "t_myddc4Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc4'+this.BeginDate]},
- // "t_myddc4End" :{"date": this.endDate,"number": this.relData['t_myddc4'+this.endDate]},
- // "t_myddc5Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc5'+this.BeginDate]},
- // "t_myddc5End" :{"date": this.endDate,"number": this.relData['t_myddc5'+this.endDate]},
- // "t_myddc6Begin" :{"date": this.BeginDate,"number": this.relData['t_myddc6'+this.BeginDate]},
- // "t_myddc6End" :{"date": this.endDate,"number": this.relData['t_myddc6'+this.endDate]},
- t_khmydtjbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("客户满意度"), //返回需要的对应参数
- };
- },
- getS2manYiDuFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.neishenfbObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.neishenfbObj[i].NAME_
- );
- mid[midI].numA =
- this.neishenfbObj[i].numA < 0
- ? 0
- : this.neishenfbObj[i].numA;
- mid[midI].num =
- this.neishenfbObj[i].num < 0 ? 0 : this.neishenfbObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.neishenfbObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS3tousu() {
- let ryywpxjNum = this.yingjiObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_complaintNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- title: "应急预案演练完成率",
- },
- // "t_mjwtsqbNum" :{"date": this.dataScope,"number": mjwtsqbNum},
- config: this.getMyConfig("客户投诉率"), //返回需要的对应参数
- };
- },
- getS3tousuFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.yingjifbObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.yingjifbObj[i].NAME_
- );
- mid[midI].numA =
- this.yingjifbObj[i].numA < 0 ? 0 : this.yingjifbObj[i].numA;
- mid[midI].num =
- this.yingjifbObj[i].num < 0 ? 0 : this.yingjifbObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.yingjifbObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "应急预案演练各部门完成率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshijiazhipinjihua() {
- let ryywpxjNum = this.yingjiObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_complaintNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- title: "室内质控完成率",
- },
- // "t_mjwtsqbNum" :{"date": this.dataScope,"number": mjwtsqbNum},
- config: this.getMyConfig("客户投诉率"), //返回需要的对应参数
- };
- },
- getshijiazhipinjihuaB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.yingjifbObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.yingjifbObj[i].NAME_
- );
- mid[midI].numA =
- this.yingjifbObj[i].numA < 0 ? 0 : this.yingjifbObj[i].numA;
- mid[midI].num =
- this.yingjifbObj[i].num < 0 ? 0 : this.yingjifbObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.yingjifbObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "室内质控各部门完成率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS4renYuanPeiXun() {
- let ryywpxjNum = this.zaigangrenyuan;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_ryywpxjlNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- },
- // "t_ryndpxjhBegin" :{"date": this.BeginDate,"number": this.relData['t_ryndpxjh'+this.BeginDate]},
- // "t_ryndpxjhEnd" :{"date": this.endDate,"number": this.relData['t_ryndpxjh'+this.endDate]},
- // "t_rypxjlnkBegin" :{"date": this.BeginDate,"number": this.relData['t_rypxjlnk'+this.BeginDate]},
- // "t_rypxjlnkEnd" :{"date": this.endDate,"number": this.relData['t_rypxjlnk'+this.endDate]},
- config: this.getMyConfig("人员培训"), //返回需要的对应参数
- };
- },
- getS4renYuanPeiXunFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.zaigangrenyuanfb.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.zaigangrenyuanfb[i].NAME_
- );
- mid[midI].numA =
- this.zaigangrenyuanfb[i].numA < 0
- ? 0
- : this.zaigangrenyuanfb[i].numA;
- mid[midI].num =
- this.zaigangrenyuanfb[i].num < 0
- ? 0
- : this.zaigangrenyuanfb[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu =
- Math.floor(this.zaigangrenyuanfb[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS5renYuanJianDu() {
- let zljdNum = this.gangqianpeixun;
- let zljdSNum = this.getMatchingDataSame("t_zljd");
- let barData = [];
- // for (let i = 0; i < this.dataScope.length; i++) {
- let e = 0;
- if (zljdNum[0].num === 0) {
- e = 0;
- } else {
- e = Math.floor((zljdNum[1].num / zljdNum[0].num) * 1000) / 10;
- }
- barData.push(e);
- // }
- // console.log(zljdNum,barData,'88888888888888888888888888888888888888888888')
- return {
- t_zljdNum: {
- date: this.endDate,
- number: zljdNum[1].num,
- numberAll: zljdNum[0].num,
- res: barData,
- },
- // "t_zljdBegin" :{"date": this.BeginDate,"number": this.relData['t_zljd'+this.BeginDate]},
- // "t_zljdEnd" :{"date": this.endDate,"number": this.relData['t_zljd'+this.endDate]},
- // "t_zljdssBegin" :{"date": this.BeginDate,"number": this.relData['t_zljdss'+this.BeginDate]},
- // "t_zljdssEnd" :{"date": this.endDate,"number": this.relData['t_zljdss'+this.endDate]},
- config: this.getMyConfig("人员监督"), //返回需要的对应参数
- };
- },
- getS5renYuanJianDuFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.gangqianpeixunfb.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.gangqianpeixunfb[i].NAME_
- );
- mid[midI].numA =
- this.gangqianpeixunfb[i].numA < 0
- ? 0
- : this.gangqianpeixunfb[i].numA;
- mid[midI].num =
- this.gangqianpeixunfb[i].num < 0
- ? 0
- : this.gangqianpeixunfb[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu =
- Math.floor(this.gangqianpeixunfb[i].chu * 10) / 10;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS6sheBeiWeiHu() {
- return {
- t_yqsbwhjhxmtBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbwhjhxmt" + this.BeginDate],
- },
- t_yqsbwhjhxmtEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbwhjhxmt" + this.endDate],
- },
- t_yqsbwhjhxmzBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbwhjhxmz" + this.BeginDate],
- },
- t_yqsbwhjhxmzEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbwhjhxmz" + this.endDate],
- },
- t_yqsbwhjhxmyBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbwhjhxmy" + this.BeginDate],
- },
- t_yqsbwhjhxmyEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbwhjhxmy" + this.endDate],
- },
- t_whbyxxBegin: {
- date: this.BeginDate,
- number: this.relData["t_whbyxx" + this.BeginDate],
- },
- t_whbyxxEnd: {
- date: this.endDate,
- number: this.relData["t_whbyxx" + this.endDate],
- },
- t_whbyxmxxmzBegin: {
- date: this.BeginDate,
- number: this.relData["t_whbyxmxxmz" + this.BeginDate],
- },
- t_whbyxmxxmzEnd: {
- date: this.endDate,
- number: this.relData["t_whbyxmxxmz" + this.endDate],
- },
- t_whbyxxmyBegin: {
- date: this.BeginDate,
- number: this.relData["t_whbyxxmy" + this.BeginDate],
- },
- t_whbyxxmyEnd: {
- date: this.endDate,
- number: this.relData["t_whbyxxmy" + this.endDate],
- },
- t_yqsbwhjhfbBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbwhjhfb" + this.BeginDate],
- },
- t_yqsbwhjhfbEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbwhjhfb" + this.endDate],
- },
- t_yqsbwhjlfbBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbwhjlfb" + this.BeginDate],
- },
- t_yqsbwhjlfbEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbwhjlfb" + this.endDate],
- },
- config: this.getMyConfig("设备维护"), //返回需要的对应参数
- };
- },
- getS7sheBeiJiaoZhun() {
- let mjsbjdxzjhzbNum = this.getMatchingData("t_mjsbjdxzjhzb");
- return {
- t_ndsbxzjdjhBegin: {
- date: this.BeginDate,
- number: this.relData["t_ndsbxzjdjh" + this.BeginDate],
- },
- t_ndsbxzjdjhEnd: {
- date: this.endDate,
- number: this.relData["t_ndsbxzjdjh" + this.endDate],
- },
- t_yqsbxzjgBegin: {
- date: this.BeginDate,
- number: this.relData["t_yqsbxzjg" + this.BeginDate],
- },
- t_yqsbxzjgEnd: {
- date: this.endDate,
- number: this.relData["t_yqsbxzjg" + this.endDate],
- },
- allDate: {
- date: this.endDate,
- number: this.relData["t_yqsbxzjg" + this.endDate],
- },
- config: this.getMyConfig("设备校准"), //返回需要的对应参数
- };
- },
- getS8sheBeiHeCha() {
- return {
- t_sbhcjhBegin: {
- date: this.BeginDate,
- number: this.relData["t_sbhcjh" + this.BeginDate],
- },
- t_sbhcjhEnd: {
- date: this.endDate,
- number: this.relData["t_sbhcjh" + this.endDate],
- },
- t_sbhcjlbBegin: {
- date: this.BeginDate,
- number: this.relData["t_sbhcjlb" + this.BeginDate],
- },
- t_sbhcjlbEnd: {
- date: this.endDate,
- number: this.relData["t_sbhcjlb" + this.endDate],
- },
- config: this.getMyConfig("设备核查"), //返回需要的对应参数
- };
- },
- getS9neiBuZhiLiang() {
- let ryywpxjNum = this.neibuObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- barData.push(e);
- return {
- t_mjzlkzxbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS9neiBuZhiLiangFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.neibuObjfb.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.neibuObjfb[i].NAME_
- );
- mid[midI].numA =
- this.neibuObjfb[i].numA < 0 ? 0 : this.neibuObjfb[i].numA;
- mid[midI].num =
- this.neibuObjfb[i].num < 0 ? 0 : this.neibuObjfb[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.neibuObjfb[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS12fengXian() {
- let ryywpxjNum = this.fengxianObj;
- let barData = [];
- let e = 0;
- if (ryywpxjNum[0].num === 0) {
- e = 0;
- } else {
- e =
- Math.floor((ryywpxjNum[1].num / ryywpxjNum[0].num) * 1000) /
- 10;
- }
- return {
- t_mjsyshdfxsbykzjhxbNum: {
- date: this.endDate,
- number: ryywpxjNum[1].num,
- numberAll: ryywpxjNum[0].num,
- res: barData,
- val: e > 100 ? 100 : e,
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS12fengXianFB() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.fengxianfbObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.fengxianfbObj[i].NAME_
- );
- mid[midI].numA =
- this.fengxianfbObj[i].numA < 0
- ? 0
- : this.fengxianfbObj[i].numA;
- mid[midI].num =
- this.fengxianfbObj[i].num < 0
- ? 0
- : this.fengxianfbObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.fengxianfbObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getS14bufuhexiang() {
- // let zlzbfz = []
- // zlzbfz = this.quality
- // let fenshuzu = []
- // fenshuzu = this.buhegelvObj
- let title = ["NAME_", "numA", "num", "wnum"];
- //改过滤
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < this.bufuheObj.length; i++) {
- let midI = mid.findIndex(
- (v) => v.NAME_ == this.bufuheObj[i].NAME_
- );
- mid[midI].numA =
- this.bufuheObj[i].numA < 0 ? 0 : this.bufuheObj[i].numA;
- mid[midI].num =
- this.bufuheObj[i].num < 0 ? 0 : this.bufuheObj[i].num;
- mid[midI].wnum = mid[midI].numA - mid[midI].num;
- mid[midI].chu = Math.floor(this.bufuheObj[i].chu * 10) / 10;
- mid[midI].wnum = mid[midI].wnum < 0 ? 0 : mid[midI].wnum;
- mid[midI].chu = mid[midI].chu > 100 ? 100 : mid[midI].chu;
- }
- return {
- num: { date: this.endDate, number: mid, title: title },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbuhegeyangpin() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 99.8,
- title: "不合格样品率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbuhegeyangpinB() {
- let tableData = {
- header: [
- "<span></span>",
- '<span style="font-size:14px;height:53px">临检组</span>',
- '<span style="font-size:14px;height:53px">生化组</span>',
- '<span style="font-size:14px;height:53px">免疫组</span>',
- '<span style="font-size:14px;height:53px">微生物组</span>',
- '<span style="font-size:14px;height:53px">流式组</span>',
- '<span style="font-size:14px;height:53px">细胞形态组</span>',
- '<span style="font-size:14px;height:53px">分子组</span>',
- '<span style="font-size:14px;height:53px">遗传组</span>',
- ],
- rowNum: 13,
- columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
- align: [
- "left",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- ],
- data: [
- [
- "1月",
- '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "2月",
- '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.4%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "3月",
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "4月",
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "5月",
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.51%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "6月",
- '<span style="font-size:10px;">值:0.52%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "7月",
- '<span style="font-size:10px;">值:1.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.19%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "8月",
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "9月",
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.11%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "10月",
- '<span style="font-size:10px;">值:0.5%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "11月",
- '<span style="font-size:10px;">值:0.6%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.12%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- [
- "12月",
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.1%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.3%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:≤1%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:≤1%</span>',
- ],
- ],
- };
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: tableData,
- title: "部门不合格样品率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbaogaobuzhengque() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 94.5,
- title: "报告不正确率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbaogaobuzhengqueB() {
- let tableData = {
- header: [
- "<span></span>",
- '<span style="font-size:14px;height:53px">临检组</span>',
- '<span style="font-size:14px;height:53px">生化组</span>',
- '<span style="font-size:14px;height:53px">免疫组</span>',
- '<span style="font-size:14px;height:53px">微生物组</span>',
- '<span style="font-size:14px;height:53px">流式组</span>',
- '<span style="font-size:14px;height:53px">细胞形态组</span>',
- '<span style="font-size:14px;height:53px">分子组</span>',
- '<span style="font-size:14px;height:53px">遗传组</span>',
- ],
- rowNum: 13,
- columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
- align: [
- "left",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- ],
- data: [
- [
- "1月",
- '<span style="font-size:10px;">值:1%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "2月",
- '<span style="font-size:10px;">值:1%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "3月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "4月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.6%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "5月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "6月",
- '<span style="font-size:10px;">值:4%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "7月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "8月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "9月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "10月",
- '<span style="font-size:10px;">值:2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "11月",
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- [
- "12月",
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.31%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0;限值:=0%</span>',
- '<span style="font-size:10px;">值:3%;限值:=0%</span>',
- '<span style="font-size:10px;">值:1.2%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0.7%;限值:=0%</span>',
- '<span style="font-size:10px;">值:0%;限值:=0%</span>',
- ],
- ],
- };
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: tableData,
- title: "部门报告不正确率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getweijizhibaogao() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 50,
- title: "危急值报告率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getweijizhibaogaoB() {
- let title = ["NAME_", "numA"];
- let a = [91, 94, 100, 100, 100, 98, 99.7, 100, 97.3, 100, 93, 90];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门危急值报告率",
- limitVal: "100",
- limitValZ: "=100%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getweijizhijishi() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 16.5,
- title: "危急值报告及时率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getweijizhijishiB() {
- let title = ["NAME_", "numA"];
- let a = [91, 98, 99.7, 100, 97.3, 100, 93, 94, 100, 100, 100, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门危急值报告率",
- limitVal: "100",
- limitValZ: "=100%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getsysnzzsjfh() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 89.2,
- title: "实验室内周转时间符合率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getsysnzzsjfhB() {
- let tableData = {
- header: [
- "<span></span>",
- '<span style="font-size:14px;height:53px">临检组</span>',
- '<span style="font-size:14px;height:53px">生化组</span>',
- '<span style="font-size:14px;height:53px">免疫组</span>',
- '<span style="font-size:14px;height:53px">微生物组</span>',
- '<span style="font-size:14px;height:53px">流式组</span>',
- '<span style="font-size:14px;height:53px">细胞形态组</span>',
- '<span style="font-size:14px;height:53px">分子组</span>',
- '<span style="font-size:14px;height:53px">遗传组</span>',
- ],
- rowNum: 13,
- columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
- align: [
- "left",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- ],
- data: [
- [
- "1月",
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:91%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "2月",
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "3月",
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "4月",
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "5月",
- '<span style="font-size:10px;">值:98%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- ],
- [
- "6月",
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "7月",
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:91%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- ],
- [
- "8月",
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:95%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "9月",
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:96%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:89%;限值:>95%</span>',
- ],
- [
- "10月",
- '<span style="font-size:10px;">值:86%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:98%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:89%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- [
- "11月",
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:94%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:98%;限值:>95%</span>',
- ],
- [
- "12月",
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:90%;限值:>95%</span>',
- '<span style="font-size:10px;">值:97%;限值:>95%</span>',
- '<span style="font-size:10px;">值:93%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- '<span style="font-size:10px;">值:92%;限值:>95%</span>',
- '<span style="font-size:10px;">值:99%;限值:>95%</span>',
- ],
- ],
- };
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: tableData,
- title: "部门实验室内周转时间符合率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getjyqzzzws() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 91.6,
- title: "检验前周转时间中位数",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getjyqzzzwsB() {
- let tableData = {
- header: [
- "<span></span>",
- '<span style="font-size:14px;height:53px">临检组</span>',
- '<span style="font-size:14px;height:53px">生化组</span>',
- '<span style="font-size:14px;height:53px">免疫组</span>',
- '<span style="font-size:14px;height:53px">微生物组</span>',
- '<span style="font-size:14px;height:53px">流式组</span>',
- '<span style="font-size:14px;height:53px">细胞形态组</span>',
- '<span style="font-size:14px;height:53px">分子组</span>',
- '<span style="font-size:14px;height:53px">遗传组</span>',
- ],
- rowNum: 13,
- columnWidth: [90, 150, 150, 150, 150, 150, 150, 150, 150],
- align: [
- "left",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- "center",
- ],
- data: [
- [
- "1月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:90;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "2月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "3月",
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "4月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:120;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:128;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "5月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:125;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:156;限值:≤120分钟</span>',
- ],
- [
- "6月",
- '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:111;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:110;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "7月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:114;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:99;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "8月",
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:118;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:114;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "9月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:140;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:156;限值:≤120分钟</span>',
- ],
- [
- "10月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:103;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:105;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- [
- "11月",
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:121;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:106;限值:≤120分钟</span>',
- ],
- [
- "12月",
- '<span style="font-size:10px;">值:119;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:123;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:109;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:100;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:135;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:104;限值:≤120分钟</span>',
- '<span style="font-size:10px;">值:126;限值:≤120分钟</span>',
- ],
- ],
- };
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: tableData,
- title: "部门检验前周转时间中位数",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbshineizhikong() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 83.5,
- title: "室内质控评达标率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getbshineizhikongB() {
- let title = ["NAME_", "numA"];
- let a = [91, 98, 99.7, 100, 100, 100, 100, 97.3, 67, 93, 94, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门室内质控评达标率",
- limitVal: "95",
- limitValZ: "≥95%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshijianzhiping() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 33,
- title: "室间质评合格率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshijianzhipingB() {
- let title = ["NAME_", "numA"];
- let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门室间质评合格率",
- limitVal: "95",
- limitValZ: "≥95%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshiyanshibidui() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 100,
- title: "实验室间比对率(无室间质评项目)",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshiyanshibiduiB() {
- let title = ["NAME_", "numA"];
- let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门实验室间比对率(无室间质评项目)",
- limitVal: "50",
- limitValZ: "≥50%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshebeibuliang() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 16.5,
- title: "设备不良事件上报时限符合率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getshebeibuliangB() {
- let title = ["NAME_", "numA"];
- let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门设备不良事件上报时限符合率",
- limitVal: "100",
- limitValZ: "=100%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getkehumanyi() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 56.25,
- title: "客户满意率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getkehumanyiB() {
- let title = ["NAME_", "numA", "num"];
- let a = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
- let b = [87, 97.3, 67, 93, 94, 100, 91, 67.9, 99.7, 89, 88.8, 90];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- mid[i].num = b[i];
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门客户满意率",
- limitVal: "90",
- limitValZ: "≥90%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getygcjpxcsdb() {
- // let ryywpxjNum = this.fengxianObj
- // let barData = []
- // let e=0
- // if (ryywpxjNum[0].num===0) {
- // e =0
- // } else {
- // e =Math.floor(ryywpxjNum[1].num/ryywpxjNum[0].num * 1000) / 10
- // }
- return {
- num: {
- date: this.endDate,
- number: 0,
- numberAll: 0,
- res: [],
- val: 75,
- title: "员工参加培训次数达标率",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- getygcjpxcsdbB() {
- let title = ["NAME_", "numA"];
- let a = [67, 93, 94, 100, 91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3];
- let b = [91, 67.9, 99.7, 89, 88.8, 90, 87, 97.3, 67, 93, 94, 100];
- let mid = JSON.parse(JSON.stringify(this.bfBuMen));
- for (let i = 0; i < mid.length; i++) {
- // let midI = mid.findIndex(v => v.NAME_ == this.bufuheObj[i].NAME_ )
- mid[i].numA = a[i];
- // mid[i].num = b[i]
- // mid[midI].num = this.bufuheObj[i].num
- // mid[midI].wnum = this.bufuheObj[i].numA-this.bufuheObj[i].num
- // mid[midI].chu = Math.floor(this.bufuheObj[i].chu*10)/10
- }
- return {
- num: {
- date: this.endDate,
- number: mid,
- title: title,
- tutitle: "部门员工参加培训次数达标率",
- limitVal: "80",
- limitValZ: "≧80%",
- },
- config: this.getMyConfig("内部质量"), //返回需要的对应参数
- };
- },
- },
- };
|