|
@@ -169,7 +169,7 @@
|
169
|
169
|
{{scope.row.mission_count?scope.row.mission_count:''}}
|
170
|
170
|
</template>
|
171
|
171
|
</el-table-column>
|
172
|
|
-
|
|
172
|
+
|
173
|
173
|
<!-- change_nurse_count:total_change_nurse,
|
174
|
174
|
diffcult_nurse_count:total_diffcult_nurse,
|
175
|
175
|
new_fistula_nurse_count:total_new_fistula_nurse,
|
|
@@ -390,13 +390,13 @@
|
390
|
390
|
this.loading = true
|
391
|
391
|
this.tableData = []
|
392
|
392
|
this.modeList = []
|
393
|
|
- console.log("params",params)
|
|
393
|
+ // console.log("params",params)
|
394
|
394
|
GetNurseWorkloadTableData(params)
|
395
|
395
|
.then(rs => {
|
396
|
396
|
var resp = rs.data
|
397
|
|
-
|
|
397
|
+
|
398
|
398
|
if (resp.state == 1) {
|
399
|
|
-
|
|
399
|
+
|
400
|
400
|
let total_cure = 0
|
401
|
401
|
let total_puncture = 0
|
402
|
402
|
let total_mission = 0
|
|
@@ -405,12 +405,12 @@
|
405
|
405
|
let total_new_fistula_nurse = 0
|
406
|
406
|
let total_start_nurse = 0
|
407
|
407
|
this.loading = false
|
408
|
|
-
|
|
408
|
+
|
409
|
409
|
for (let i = 0; i < resp.data.data.length; i++) {
|
410
|
410
|
total_cure = total_cure + resp.data.data[i].cure_count
|
411
|
411
|
total_puncture = total_puncture + resp.data.data[i].puncture_count
|
412
|
412
|
total_mission = total_mission + resp.data.data[i].mission_count
|
413
|
|
-
|
|
413
|
+
|
414
|
414
|
total_change_nurse = total_change_nurse + resp.data.data[i].change_nuser_count
|
415
|
415
|
total_diffcult_nurse = total_diffcult_nurse + resp.data.data[i].difficult_nuser_count
|
416
|
416
|
total_new_fistula_nurse = total_new_fistula_nurse + resp.data.data[i].new_nuser_count
|
|
@@ -427,7 +427,7 @@
|
427
|
427
|
new_nuser_count:total_new_fistula_nurse,
|
428
|
428
|
start_nuser_count:total_start_nurse,
|
429
|
429
|
})
|
430
|
|
-
|
|
430
|
+
|
431
|
431
|
var dialysisCount = resp.data.dialysisCount
|
432
|
432
|
console.log("dialysisCount",dialysisCount)
|
433
|
433
|
for(let i=0;i<dialysisCount.length;i++){
|
|
@@ -522,13 +522,13 @@
|
522
|
522
|
this.monthValue = ''
|
523
|
523
|
sessionStorage.setItem("nurse_start_time", val)
|
524
|
524
|
sessionStorage.removeItem("nurseMonth");
|
525
|
|
-
|
|
525
|
+
|
526
|
526
|
this.GetNurseWorkloadChartData(this.query)
|
527
|
527
|
this.GetNurseWorkloadTableData(this.query)
|
528
|
528
|
|
529
|
529
|
}
|
530
|
530
|
|
531
|
|
- },
|
|
531
|
+ },
|
532
|
532
|
GetNurseWorkloadChartData(params) {
|
533
|
533
|
|
534
|
534
|
this.bar.xAxis.data = []
|
|
@@ -666,7 +666,7 @@
|
666
|
666
|
this.query.end_time = year + '-' + month + '-' + day
|
667
|
667
|
this.query.start_time = year + '-' + last_month + '-' + day
|
668
|
668
|
this.query.statistics_type = 1
|
669
|
|
-
|
|
669
|
+
|
670
|
670
|
this.start_time = year + '-' + last_month + '-' + day
|
671
|
671
|
this.end_time = year + '-' + month + '-' + day
|
672
|
672
|
|
|
@@ -699,7 +699,7 @@
|
699
|
699
|
this.end_time = ''
|
700
|
700
|
}
|
701
|
701
|
// console.log('this.query2',this.query)
|
702
|
|
-
|
|
702
|
+
|
703
|
703
|
this.GetAllNurse()
|
704
|
704
|
this.GetNurseWorkloadChartData(this.query)
|
705
|
705
|
this.GetNurseWorkloadTableData(this.query)
|