Quellcode durchsuchen

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

XMLWAN vor 4 Jahren
Ursprung
Commit
9f808c21ec

+ 3 - 0
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressure.vue Datei anzeigen

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

+ 4 - 0
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressureDetails.vue Datei anzeigen

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

+ 12 - 12
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue Datei anzeigen

@@ -110,18 +110,18 @@
110 110
 
111 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 125
     </div>
126 126
   </div>
127 127
 </template>

+ 5 - 7
src/xt_pages/qcd/indicatorControlAnalysis/monitor.vue Datei anzeigen

@@ -416,10 +416,14 @@
416 416
       },
417 417
       handleSizeChange(limit) {
418 418
         this.query.limit = limit;
419
+        this.GetDialysisWatchTableData(this.query)
420
+
419 421
 
420 422
       },
421 423
       handleCurrentChange(page) {
422 424
         this.query.page = page;
425
+        this.GetDialysisWatchTableData(this.query)
426
+
423 427
 
424 428
       },
425 429
       changeTime(val) {
@@ -480,12 +484,6 @@
480 484
       },
481 485
       getModeName(mode_id){
482 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 487
       }, GetDialysisWatchTableData(params) {
490 488
         this.loading = true
491 489
         this.tableData = []
@@ -497,7 +495,7 @@
497 495
               for (let i = 0; i < resp.data.data.length; i++) {
498 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 500
             } else {
503 501
               this.loading = false

+ 4 - 2
src/xt_pages/qcd/indicatorControlAnalysis/process.vue Datei anzeigen

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

+ 2 - 0
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Datei anzeigen

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

+ 4 - 0
src/xt_pages/qcd/indicatorControlAnalysis/weightDetails.vue Datei anzeigen

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