Procházet zdrojové kódy

Merge branch 'vue_statistics_branch' of http://git.shengws.com/csx/Vue_New into vue_statistics_branch

csx před 4 roky
rodič
revize
aa3f550a74

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressure.vue Zobrazit soubor

@@ -522,8 +522,8 @@
522 522
         this.query.patient_id = val.id
523 523
         this.query.page = 1
524 524
         this.patient_name =val.name
525
-        this.GetDialysisBloodPressureChartData(this.query)
526
-        this.GetDialysisBloodPressureTableData(this.query)
525
+        // this.GetDialysisBloodPressureChartData(this.query)
526
+        // this.GetDialysisBloodPressureTableData(this.query)
527 527
         for (let i = 0;i < this.patientsData.length; i++){
528 528
           if (this.patientsData[i].id == val.id){
529 529
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressureDetails.vue Zobrazit soubor

@@ -384,8 +384,8 @@ export default {
384 384
     }, handleSelect(val) {
385 385
       this.query.patient_id = val.id
386 386
       this.query.page = 1
387
-      this.GetDialysisPatientBloodPressureChartData(this.query)
388
-      this.GetDialysisBloodPressureTableData(this.query)
387
+      // this.GetDialysisPatientBloodPressureChartData(this.query)
388
+      // this.GetDialysisBloodPressureTableData(this.query)
389 389
 
390 390
       for (let i = 0;i < this.patientsData.length; i++){
391 391
         if (this.patientsData[i].id == val.id){

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/monitor.vue Zobrazit soubor

@@ -550,8 +550,8 @@
550 550
         this.query.patient_id = val.id
551 551
         this.query.page = 1
552 552
         this.patient_name = val.name
553
-        this.GetDialysisWatchTableData(this.query)
554
-        this.GetDialysisWatchChartData(this.query)
553
+        // this.GetDialysisWatchTableData(this.query)
554
+        // this.GetDialysisWatchChartData(this.query)
555 555
         for (let i = 0;i < this.patientsData.length; i++){
556 556
           if (this.patientsData[i].id == val.id){
557 557
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 1 - 1
src/xt_pages/qcd/indicatorControlAnalysis/patientInspectionDetail.vue Zobrazit soubor

@@ -292,7 +292,7 @@
292 292
       handleSelect(val) {
293 293
         this.query.patient_id = val.id
294 294
         this.patient_name = val.name
295
-        this.GetPatientInspectionIndexChart(this.query)
295
+        // this.GetPatientInspectionIndexChart(this.query)
296 296
         for (let i = 0; i < this.patientsData.length; i++) {
297 297
           if (this.patientsData[i].id == val.id) {
298 298
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 4 - 4
src/xt_pages/qcd/indicatorControlAnalysis/process.vue Zobrazit soubor

@@ -609,7 +609,7 @@
609 609
       },
610 610
       getModeName(mode_id) {
611 611
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name : ''
612
-      }, 
612
+      },
613 613
       GetDialysisProcessIndexTableData(params) {
614 614
         this.loading = true
615 615
         GetDialysisProcessIndexTableData(params)
@@ -671,8 +671,8 @@
671 671
         this.query.page = 1
672 672
         this.patient_name = val.name
673 673
 
674
-        this.GetDialysisProcessIndexChartData(this.query)
675
-        this.GetDialysisProcessIndexTableData(this.query)
674
+        // this.GetDialysisProcessIndexChartData(this.query)
675
+        // this.GetDialysisProcessIndexTableData(this.query)
676 676
 
677 677
         for (let i = 0;i < this.patientsData.length; i++){
678 678
           if (this.patientsData[i].id == val.id){
@@ -739,7 +739,7 @@
739 739
             this.bar.dataZoom[0].end = dataZoom_end
740 740
           }
741 741
         }
742
-        
742
+
743 743
       }
744 744
     }, created() {
745 745
       var date = new Date()

+ 9 - 6
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Zobrazit soubor

@@ -414,9 +414,9 @@
414 414
       handleChange(val){
415 415
         this.query.patient_id = val.id
416 416
         this.query.page = 1
417
-        this.GetDialysisWeightTableData(this.query)
418
-        this.GetDialysisWeightChartData(this.query)
419 417
         this.patient_name = val.name
418
+        this.GetDialysisWeightTableData(this.query)
419
+        // this.GetDialysisWeightChartData(this.query)
420 420
       },
421 421
       handleSizeChange(limit) {
422 422
         this.query.limit = limit;
@@ -509,14 +509,17 @@
509 509
           })
510 510
       },
511 511
       GetDialysisWeightChartData(params) {
512
-        this.bar.xAxis.data = []
513
-        this.bar.series[0].data = []
514
-        this.percent = []
515 512
 
513
+        // this.bar.xAxis.data = []
514
+        // this.bar.series[0].data = []
515
+        // this.percent = []
516 516
         GetDialysisWeightChartData(params)
517 517
           .then(rs => {
518 518
             var resp = rs.data
519 519
             if (resp.state == 1) {
520
+              this.bar.xAxis.data = []
521
+              this.bar.series[0].data = []
522
+              this.percent = []
520 523
               for (let i = 0; i < resp.data.data.length; i++) {
521 524
                 this.bar.xAxis.data.push(resp.data.data[i].name)
522 525
                 this.bar.series[0].data.push(resp.data.data[i].total)
@@ -534,7 +537,7 @@
534 537
         this.query.patient_id = val.id
535 538
         this.query.page = 1
536 539
         // this.GetDialysisWeightChartData(this.query)
537
-        this.GetDialysisWeightTableData(this.query)
540
+        // this.GetDialysisWeightTableData(this.query)
538 541
         for (let i = 0;i < this.patientsData.length; i++){
539 542
           if (this.patientsData[i].id == val.id){
540 543
             this.patient_name = this.patientsData[i].name

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/weightDetails.vue Zobrazit soubor

@@ -391,8 +391,8 @@ export default {
391 391
       this.query.patient_id = val.id
392 392
       this.query.page = 1
393 393
       this.patient_name = val.name
394
-      this.GetDialysisPatientWeightChartData(this.query)
395
-      this.GetDialysisWeightTableData(this.query)
394
+      // this.GetDialysisPatientWeightChartData(this.query)
395
+      // this.GetDialysisWeightTableData(this.query)
396 396
       for (let i = 0;i < this.patientsData.length; i++){
397 397
         if (this.patientsData[i].id == val.id){
398 398
           this.$refs.table.setCurrentRow(this.patientsData[i])