XMLWAN 4 lat temu
rodzic
commit
8513832e36
1 zmienionych plików z 11 dodań i 11 usunięć
  1. 11 11
      src/xt_pages/qcd/workAnalysis/nurse.vue

+ 11 - 11
src/xt_pages/qcd/workAnalysis/nurse.vue Wyświetl plik

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