|
@@ -223,11 +223,11 @@ import html2canvas from "html2canvas"
|
223
|
223
|
limit:50,
|
224
|
224
|
total:0,
|
225
|
225
|
tableData:[],
|
226
|
|
- // status_options:[],
|
|
226
|
+ status_options:[],
|
227
|
227
|
nurseList:[],
|
228
|
228
|
operators:[],
|
229
|
229
|
docList:[],
|
230
|
|
- status_options:[{value:1,label:'达到透析处方时间'},{value:2,label:'超出处方时间'},{value:3,label:'未到达处方时间'}],
|
|
230
|
+ // status_options:[{value:1,label:'达到透析处方时间'},{value:2,label:'超出处方时间'},{value:3,label:'未到达处方时间'}],
|
231
|
231
|
date_options:[{value:1,label:'最近七天'},{value:2,label:'本周'},{value:3,label:'上周'},{value:4,label:'本月'},
|
232
|
232
|
{value:5,label:'上月'},{value:6,label:'本年'},{value:7,label:'上一年'}
|
233
|
233
|
],
|
|
@@ -272,14 +272,14 @@ import html2canvas from "html2canvas"
|
272
|
272
|
yAxis.push(key)
|
273
|
273
|
}
|
274
|
274
|
const status = []
|
275
|
|
- // for(let i in yAxis){
|
276
|
|
- // const obj ={
|
277
|
|
- // value:(i*1)+1,
|
278
|
|
- // label:yAxis[i]
|
279
|
|
- // }
|
280
|
|
- // status.push(obj)
|
281
|
|
- // }
|
282
|
|
- // this.status_options = status
|
|
275
|
+ for(let i in yAxis){
|
|
276
|
+ const obj ={
|
|
277
|
+ value:(i*1)+1,
|
|
278
|
+ label:yAxis[i]
|
|
279
|
+ }
|
|
280
|
+ status.push(obj)
|
|
281
|
+ }
|
|
282
|
+ this.status_options = status
|
283
|
283
|
console.log('this.status_options',this.status_options);
|
284
|
284
|
const option = {
|
285
|
285
|
title:{
|
|
@@ -340,13 +340,14 @@ import html2canvas from "html2canvas"
|
340
|
340
|
myChart.setOption(option);
|
341
|
341
|
myChart.on('click',params =>{
|
342
|
342
|
this.complete_dialog = true
|
343
|
|
- console.log('bbbb',params);
|
|
343
|
+ console.log('bbbb完成率',params);
|
344
|
344
|
var status_id =''
|
345
|
345
|
for(let i in this.status_options){
|
346
|
346
|
if(params.data.name == this.status_options[i].label){
|
347
|
347
|
status_id = this.status_options[i].value
|
348
|
348
|
}
|
349
|
349
|
}
|
|
350
|
+ this.status_value = status_id
|
350
|
351
|
this.getdetail(status_id)
|
351
|
352
|
})
|
352
|
353
|
}
|
|
@@ -359,6 +360,7 @@ import html2canvas from "html2canvas"
|
359
|
360
|
},
|
360
|
361
|
// 详情查询
|
361
|
362
|
detil_click(){
|
|
363
|
+ this.currentPage = 1
|
362
|
364
|
this.getdetail(this.status_value)
|
363
|
365
|
},
|
364
|
366
|
// 下载
|
|
@@ -446,7 +448,7 @@ import html2canvas from "html2canvas"
|
446
|
448
|
this.tableData = table
|
447
|
449
|
this.total = response.data.data.total
|
448
|
450
|
}
|
449
|
|
- console.log('55555',response);
|
|
451
|
+ console.log('55555',params);
|
450
|
452
|
})
|
451
|
453
|
},
|
452
|
454
|
// 选择日期
|