Browse Source

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

XMLWAN 4 years ago
parent
commit
9f808c21ec

+ 3 - 0
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressure.vue View File

404
       },
404
       },
405
       handleSizeChange(limit) {
405
       handleSizeChange(limit) {
406
         this.query.limit = limit;
406
         this.query.limit = limit;
407
+        this.GetDialysisBloodPressureTableData(this.query)
408
+
407
 
409
 
408
       },
410
       },
409
       handleCurrentChange(page) {
411
       handleCurrentChange(page) {
410
         this.query.page = page;
412
         this.query.page = page;
413
+        this.GetDialysisBloodPressureTableData(this.query)
411
 
414
 
412
       },
415
       },
413
       changeTime(val) {
416
       changeTime(val) {

+ 4 - 0
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressureDetails.vue View File

300
     },
300
     },
301
     handleSizeChange(limit) {
301
     handleSizeChange(limit) {
302
       this.query.limit = limit;
302
       this.query.limit = limit;
303
+      this.GetDialysisBloodPressureTableData(this.query)
304
+
303
 
305
 
304
     },
306
     },
305
     handleCurrentChange(page) {
307
     handleCurrentChange(page) {
306
       this.query.page = page;
308
       this.query.page = page;
309
+      this.GetDialysisBloodPressureTableData(this.query)
310
+
307
 
311
 
308
     },changeTime(val) {
312
     },changeTime(val) {
309
       var time = this.getTimestamp(val) - this.getTimestamp(this.query.end_time);
313
       var time = this.getTimestamp(val) - this.getTimestamp(this.query.end_time);

+ 12 - 12
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue View File

110
 
110
 
111
       </el-table>
111
       </el-table>
112
 
112
 
113
-      <el-pagination
114
-        align="right"
115
-        @size-change="handleSizeChange"
116
-        @current-change="handleCurrentChange"
117
-        :current-page="query.page"
118
-        :page-sizes="[10, 20, 50, 100]"
119
-        :page-size="10"
120
-        background
121
-        style="margin-top:20px;"
122
-        layout="total, sizes, prev, pager, next, jumper"
123
-        :total="total"
124
-      ></el-pagination>
113
+      <!--<el-pagination-->
114
+        <!--align="right"-->
115
+        <!--@size-change="handleSizeChange"-->
116
+        <!--@current-change="handleCurrentChange"-->
117
+        <!--:current-page="query.page"-->
118
+        <!--:page-sizes="[10, 20, 50, 100]"-->
119
+        <!--:page-size="10"-->
120
+        <!--background-->
121
+        <!--style="margin-top:20px;"-->
122
+        <!--layout="total, sizes, prev, pager, next, jumper"-->
123
+        <!--:total="total"-->
124
+      <!--&gt;</el-pagination>-->
125
     </div>
125
     </div>
126
   </div>
126
   </div>
127
 </template>
127
 </template>

+ 5 - 7
src/xt_pages/qcd/indicatorControlAnalysis/monitor.vue View File

416
       },
416
       },
417
       handleSizeChange(limit) {
417
       handleSizeChange(limit) {
418
         this.query.limit = limit;
418
         this.query.limit = limit;
419
+        this.GetDialysisWatchTableData(this.query)
420
+
419
 
421
 
420
       },
422
       },
421
       handleCurrentChange(page) {
423
       handleCurrentChange(page) {
422
         this.query.page = page;
424
         this.query.page = page;
425
+        this.GetDialysisWatchTableData(this.query)
426
+
423
 
427
 
424
       },
428
       },
425
       changeTime(val) {
429
       changeTime(val) {
480
       },
484
       },
481
       getModeName(mode_id){
485
       getModeName(mode_id){
482
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name: ""
486
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name: ""
483
-      },
484
-      changeTime() {
485
-
486
-      }, changeEndTime() {
487
-
488
-
489
       }, GetDialysisWatchTableData(params) {
487
       }, GetDialysisWatchTableData(params) {
490
         this.loading = true
488
         this.loading = true
491
         this.tableData = []
489
         this.tableData = []
497
               for (let i = 0; i < resp.data.data.length; i++) {
495
               for (let i = 0; i < resp.data.data.length; i++) {
498
                 this.tableData.push(resp.data.data[i])
496
                 this.tableData.push(resp.data.data[i])
499
               }
497
               }
500
-              this.total = resp.data.data.total
498
+              this.total = resp.data.total
501
 
499
 
502
             } else {
500
             } else {
503
               this.loading = false
501
               this.loading = false

+ 4 - 2
src/xt_pages/qcd/indicatorControlAnalysis/process.vue View File

519
       },
519
       },
520
       handleSizeChange(limit) {
520
       handleSizeChange(limit) {
521
         this.query.limit = limit
521
         this.query.limit = limit
522
+        this.GetDialysisProcessIndexTableData(this.query)
522
 
523
 
523
       },
524
       },
524
       handleCurrentChange(page) {
525
       handleCurrentChange(page) {
525
         this.query.page = page
526
         this.query.page = page
527
+        this.GetDialysisProcessIndexTableData(this.query)
528
+
526
 
529
 
527
       },
530
       },
528
       changeTime(val) {
531
       changeTime(val) {
585
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name : ''
588
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name : ''
586
       }, GetDialysisProcessIndexTableData(params) {
589
       }, GetDialysisProcessIndexTableData(params) {
587
         this.loading = true
590
         this.loading = true
588
-        this.tableData = []
589
         GetDialysisProcessIndexTableData(params)
591
         GetDialysisProcessIndexTableData(params)
590
           .then(rs => {
592
           .then(rs => {
591
             var resp = rs.data
593
             var resp = rs.data
592
             if (resp.state == 1) {
594
             if (resp.state == 1) {
593
               this.loading = false
595
               this.loading = false
594
-
596
+              this.tableData = []
595
               for (let i = 0; i < resp.data.data.length; i++) {
597
               for (let i = 0; i < resp.data.data.length; i++) {
596
                 this.tableData.push(resp.data.data[i])
598
                 this.tableData.push(resp.data.data[i])
597
               }
599
               }

+ 2 - 0
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue View File

414
       },
414
       },
415
       handleSizeChange(limit) {
415
       handleSizeChange(limit) {
416
         this.query.limit = limit;
416
         this.query.limit = limit;
417
+        this.GetDialysisWeightTableData(this.query)
417
 
418
 
418
       },
419
       },
419
       handleCurrentChange(page) {
420
       handleCurrentChange(page) {
420
         this.query.page = page;
421
         this.query.page = page;
422
+        this.GetDialysisWeightTableData(this.query)
421
 
423
 
422
       },
424
       },
423
       changeTime(val) {
425
       changeTime(val) {

+ 4 - 0
src/xt_pages/qcd/indicatorControlAnalysis/weightDetails.vue View File

287
     },
287
     },
288
     handleSizeChange(limit) {
288
     handleSizeChange(limit) {
289
       this.query.limit = limit;
289
       this.query.limit = limit;
290
+      this.GetDialysisWeightTableData(this.query)
291
+
290
 
292
 
291
     },
293
     },
292
     handleCurrentChange(page) {
294
     handleCurrentChange(page) {
293
       this.query.page = page;
295
       this.query.page = page;
296
+      this.GetDialysisWeightTableData(this.query)
297
+
294
 
298
 
295
     },
299
     },
296
     changeTime(val) {
300
     changeTime(val) {