소스 검색

添加新功能

csx 5 년 전
부모
커밋
b3ee46f46c

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3555 - 1086
package-lock.json


+ 1 - 0
src/pages/main/dialog/ComputerDialog.vue 파일 보기

@@ -265,6 +265,7 @@ export default {
265 265
           return false;
266 266
         } else {
267 267
           Toast.success("修改成功");
268
+          this.$emit('did_add_monitor', monitor)
268 269
           this.$emit("did_start", response.data.data.dialysis_order);
269 270
           var record = this.record;
270 271
           for (const key in response.data.data.dialysis_order) {

+ 1 - 5
src/pages/main/dialog/MonitDialog.vue 파일 보기

@@ -559,11 +559,7 @@ export default {
559 559
       this.$emit('close')
560 560
     },
561 561
     setRecords (records) {
562
-      if (records == null) {
563
-        records = []
564
-      }
565
-      this.tableDate.splice(0, this.tableDate.length)
566
-      this.tableDate.push(...records)
562
+        this.monitorRecords = records
567 563
     },
568 564
     parseTime (time, layout) {
569 565
       return parseTime(time, layout)

+ 3 - 12
src/pages/main/today/TodayTab.vue 파일 보기

@@ -182,7 +182,7 @@
182 182
     </van-popup>
183 183
 
184 184
     <van-popup
185
-      title="双人对"
185
+      title="双人对"
186 186
       v-model="menuList[5].showPopup"
187 187
       :overlay="true"
188 188
       :close-on-click-overlay="false"
@@ -427,7 +427,7 @@ import {parseTime} from '@/utils'
427 427
           steps[1].value = 1
428 428
         }
429 429
 
430
-        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.evaluator > 0) {
430
+        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0) {
431 431
           steps[2].value = 1
432 432
         }
433 433
 
@@ -496,19 +496,10 @@ import {parseTime} from '@/utils'
496 496
 
497 497
     didAddMonitor (monitor) {
498 498
       this.monitor_records.push(monitor)
499
-
500 499
       this.monitor_records.sort((a, b) => b.operate_time - a.operate_time)
501
-
502
-      // for (let index = 0; index < this.monitor_records.length; index++) {
503
-      //   const record = this.monitor_records[index];
504
-      //   if (record.operate_time <= monitor.operate_time) {
505
-      //     this.monitor_records.splice(index, 0, monitor)
506
-      //     break
507
-      //   }
508
-      // }
509 500
       this.monitor_records.reverse()
501
+      this.$refs.monit_dialog.setRecords(this.monitor_records)
510 502
       this.last_monitor_record = monitor
511
-      // this.$refs.plane_dialog.set_last_monitor_record(monitor)
512 503
     },
513 504
 
514 505
     didEditMonitor (monitor) {

+ 1 - 1
src/pages/main/today/detailsInfo.vue 파일 보기

@@ -91,7 +91,7 @@ export default {
91 91
         { title: "透前评估" },
92 92
         { title: "临时医嘱" },
93 93
         { title: "透析上机" },
94
-        { title: "双人对" },
94
+        { title: "双人对" },
95 95
         { title: "透析监测" },
96 96
         { title: "透析下机" },
97 97
         { title: "透后评估" },

+ 1 - 1
src/pages/waitingRoom/components/details.vue 파일 보기

@@ -80,7 +80,7 @@
80 80
         ></dialysis-computer>
81 81
         <double-check
82 82
           ref="double_check"
83
-          title="双人对 "
83
+          title="双人对 "
84 84
           :record="double_check"
85 85
         ></double-check>
86 86
         <dialysis-monitoring

+ 1 - 1
src/pages/waitingRoom/components/dialog/doubleCheck.vue 파일 보기

@@ -113,7 +113,7 @@ export default {
113 113
         pipeline_connection_desc: "",
114 114
         collator: ""
115 115
       },
116
-      title: "双人对 ",
116
+      title: "双人对 ",
117 117
       patient: {
118 118
         id: 0
119 119
       },