Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

See999 4 years ago
parent
commit
baacdf3d7c

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "1.1.2"
2
+  "version": "1.1.68"
3
 }
3
 }

+ 2 - 2
config/prod.env.js View File

1
 "use strict";
1
 "use strict";
2
 module.exports = {
2
 module.exports = {
3
   NODE_ENV: '"production"',
3
   NODE_ENV: '"production"',
4
-  // BASE_API: '"https://api.xt.kuyicloud.com"'
4
+  BASE_API: '"https://api.xt.kuyicloud.com"'
5
 
5
 
6
-  BASE_API: '"http://api.xt.test.sgjyun.com"'
6
+  // BASE_API: '"http://api.xt.test.sgjyun.com"'
7
   // http://api.xt.test.sgjyun.com
7
   // http://api.xt.test.sgjyun.com
8
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
8
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
9
 };
9
 };

+ 9 - 5
src/pages/home/login.vue View File

1
 <template>
1
 <template>
2
   <div class="container">
2
   <div class="container">
3
+
3
     <div class="newLogin">
4
     <div class="newLogin">
4
       <div class="login">
5
       <div class="login">
5
         <div class="logo">
6
         <div class="logo">
53
               <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
54
               <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
54
             <!--</el-checkbox>-->
55
             <!--</el-checkbox>-->
55
             <!--&lt;!&ndash; <router-link to="/privacyPolicy"> &ndash;&gt;-->
56
             <!--&lt;!&ndash; <router-link to="/privacyPolicy"> &ndash;&gt;-->
56
-            <!--<span class="agreeText" @click="agree">《隐私服务协议》</span>-->
57
             <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
57
             <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
58
           <!--</div>-->
58
           <!--</div>-->
59
+            <span  class="agreeText" @click="agree()">《隐私服务协议》</span>
60
+
61
+
59
         </div>
62
         </div>
60
       </div>
63
       </div>
61
     </div>
64
     </div>
65
+
62
   </div>
66
   </div>
63
 </template>
67
 </template>
64
 
68
 
131
       });
135
       });
132
     },
136
     },
133
     to: function() {
137
     to: function() {
134
-      this.$router.push({ path: "/forgetPassword" });
138
+      this.$router.push({ path: "/privacy" });
135
     },
139
     },
136
     submitForm() {
140
     submitForm() {
137
       const self = this;
141
       const self = this;
215
     //清除cookie
219
     //清除cookie
216
     clearCookie: function() {
220
     clearCookie: function() {
217
       this.setCookie("", "", -1); //修改2值都为空,天数为负1天就好了
221
       this.setCookie("", "", -1); //修改2值都为空,天数为负1天就好了
218
-    },
219
-    agree() {
220
-      this.$router.push({ path: "/privacyPolicy" });
222
+    }, agree() {
223
+      this.$router.push({ path: "/privacy" });
224
+
221
     }
225
     }
222
   }
226
   }
223
 };
227
 };

+ 9 - 5
src/pages/main/add_urgent_schedule.vue View File

239
 
239
 
240
       var today = new Date();
240
       var today = new Date();
241
       this.date = parseTime(today, "{y}-{m}-{d}");
241
       this.date = parseTime(today, "{y}-{m}-{d}");
242
-
243
       var hour = today.getHours();
242
       var hour = today.getHours();
244
       if (hour > 3 && hour < 11) {
243
       if (hour > 3 && hour < 11) {
245
         this.schedule_type = 1;
244
         this.schedule_type = 1;
248
       } else {
247
       } else {
249
         this.schedule_type = 3;
248
         this.schedule_type = 3;
250
       }
249
       }
251
-
252
-
253
-
254
     },
250
     },
255
     mounted() {
251
     mounted() {
256
 
252
 
353
       selectSchTypeAction: function() {
349
       selectSchTypeAction: function() {
354
         this.$refs.sch_type_field.blur();
350
         this.$refs.sch_type_field.blur();
355
         this.show_sch_type_picker = true;
351
         this.show_sch_type_picker = true;
356
-
352
+        //
353
+        // this.$nextTick(() => {
354
+        //   // this.$refs.schedule.setColumnIndex(2)
355
+        //   // .setIndexes(this.schedule_type)
356
+        //   console.log(this.$refs.schedule)
357
+        //   console.log(this.$refs.schedule.getColumnIndex)
358
+        //   console.log(this.$refs.schedule.getColumnValue)
359
+        //
360
+        // })
357
       },
361
       },
358
 
362
 
359
       didChangePatient: function(picker, patient, index) {
363
       didChangePatient: function(picker, patient, index) {

+ 44 - 35
src/pages/main/dialog/ComputerDialog.vue View File

100
         zone_beds: [], // 该排班的区里的床位
100
         zone_beds: [], // 该排班的区里的床位
101
         creator: 0,
101
         creator: 0,
102
         template_id: 0,
102
         template_id: 0,
103
+        temp_device_numbers:[],
103
         blood_drawing:100,
104
         blood_drawing:100,
104
         schedual_type:0,
105
         schedual_type:0,
105
         schedules_type: [
106
         schedules_type: [
136
       },
137
       },
137
     }, mounted () {
138
     }, mounted () {
138
 
139
 
140
+
141
+    },
142
+    created () {
143
+      this.temp_device_numbers = this.device_numbers
144
+
145
+
146
+
139
       if (this.record.id == 0) {
147
       if (this.record.id == 0) {
140
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
148
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
149
+        let now = new Date()
150
+        let hour = now.getHours()
151
+
152
+        if (hour >= 6 && hour < 12){
153
+          this.schedual_type = 1
154
+
155
+        }else if(hour >= 12 && hour < 18){
156
+
157
+          this.schedual_type = 2
158
+
159
+
160
+        }else if(hour >= 18){
161
+          this.schedual_type = 3
162
+        }
141
       } else {
163
       } else {
142
         if (this.record.start_time == 0) {
164
         if (this.record.start_time == 0) {
143
           this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
165
           this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
166
+          this.schedual_type = this.record.schedual_type
144
 
167
 
145
         } else {
168
         } else {
146
           this.start_time_str = parseTime(this.record.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
169
           this.start_time_str = parseTime(this.record.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
147
-        }
148
-      }
149
-    },
150
-    created () {
151
-      let now = new Date()
152
-      let hour = now.getHours()
170
+          this.schedual_type = this.record.schedual_type
153
 
171
 
154
-      if (hour >= 6 && hour < 12){
155
-        this.schedual_type = 1
156
-
157
-      }else if(hour >= 12 && hour < 18){
158
-
159
-        this.schedual_type = 2
160
-
161
-
162
-      }else if(hour >= 18){
163
-        this.schedual_type = 3
172
+        }
164
       }
173
       }
165
 
174
 
166
 
175
 
198
       // }
207
       // }
199
       // this.zone_beds = beds
208
       // this.zone_beds = beds
200
 
209
 
201
-      for (let index = 0; index < this.device_numbers.length; index++) {
202
-        const device_number = this.device_numbers[index]
203
-        this.device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
210
+      for (let index = 0; index < this.temp_device_numbers.length; index++) {
211
+        const device_number = this.temp_device_numbers[index]
212
+        this.temp_device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
204
       }
213
       }
205
-      this.zone_beds = this.device_numbers
214
+      this.zone_beds = this.temp_device_numbers
206
 
215
 
207
       if (this.record.id > 0) {
216
       if (this.record.id > 0) {
208
         for (let i = 0; i < this.special_premission.length; i++) {
217
         for (let i = 0; i < this.special_premission.length; i++) {
253
                   Toast.fail(response.data.msg)
262
                   Toast.fail(response.data.msg)
254
                   return false
263
                   return false
255
                 } else {
264
                 } else {
256
-                  t.device_numbers = response.data.data.number
257
-                  for (let index = 0; index < t.device_numbers.length; index++) {
258
-                    const device_number = t.device_numbers[index]
259
-                    t.device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
265
+                  t.temp_device_numbers = response.data.data.number
266
+                  for (let index = 0; index < t.temp_device_numbers.length; index++) {
267
+                    const device_number = t.temp_device_numbers[index]
268
+                    t.temp_device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
260
                   }
269
                   }
261
-                  t.zone_beds = t.device_numbers
270
+                  t.zone_beds = t.temp_device_numbers
262
                   t.bed_id = t.zone_beds[0].id
271
                   t.bed_id = t.zone_beds[0].id
263
                 }
272
                 }
264
               })
273
               })
281
               return false
290
               return false
282
             } else {
291
             } else {
283
               t.zone_beds = []
292
               t.zone_beds = []
284
-              t.device_numbers = response.data.data.number
285
-              for (let index = 0; index < t.device_numbers.length; index++) {
286
-                const device_number = t.device_numbers[index]
287
-                t.device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
293
+              t.temp_device_numbers = response.data.data.number
294
+              for (let index = 0; index < t.temp_device_numbers.length; index++) {
295
+                const device_number = t.temp_device_numbers[index]
296
+                t.temp_device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
288
               }
297
               }
289
-              t.zone_beds = t.device_numbers
298
+              t.zone_beds = t.temp_device_numbers
290
               t.bed_id = t.zone_beds[0].id
299
               t.bed_id = t.zone_beds[0].id
291
 
300
 
292
 
301
 
305
             Toast.fail(response.data.msg)
314
             Toast.fail(response.data.msg)
306
             return false
315
             return false
307
           } else {
316
           } else {
308
-            this.device_numbers = response.data.data.number
309
-            for (let index = 0; index < this.device_numbers.length; index++) {
310
-              const device_number = this.device_numbers[index]
311
-              this.device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
317
+            this.temp_device_numbers = response.data.data.number
318
+            for (let index = 0; index < this.temp_device_numbers.length; index++) {
319
+              const device_number = this.temp_device_numbers[index]
320
+              this.temp_device_numbers[index]['number'] = device_number['zone_name']+'-'+device_number['number']
312
             }
321
             }
313
-            this.zone_beds = this.device_numbers
322
+            this.zone_beds = this.temp_device_numbers
314
           }
323
           }
315
         })
324
         })
316
       },
325
       },

File diff suppressed because it is too large
+ 445 - 441
src/pages/main/dialog/MonitDialog.vue


+ 28 - 25
src/pages/main/dialog/TreatmentDialog.vue View File

241
     },
241
     },
242
 
242
 
243
     dialysisSummarySelectChange: function(values) {
243
     dialysisSummarySelectChange: function(values) {
244
-      if (this.dialysisSummary.summaryContent == null) {
245
-        this.dialysisSummary.summaryContent == "";
244
+      if(this.dialysisSummary.summaryContent == null){
245
+        this.dialysisSummary.summaryContent == ""
246
       }
246
       }
247
+
247
       if (this.dialysisSummary.summaryContent == "") {
248
       if (this.dialysisSummary.summaryContent == "") {
248
         this.dialysisSummary.summaryContent = values;
249
         this.dialysisSummary.summaryContent = values;
249
       } else {
250
       } else {
250
-        this.dialysisSummary.summaryContent =
251
-          this.dialysisSummary.summaryContent + values;
251
+        if (this.dialysisSummary.summaryContent.indexOf(values) == -1) {
252
+          if (
253
+            this.dialysisSummary.summaryContent
254
+              .charAt(this.dialysisSummary.summaryContent.length - 1)
255
+              .indexOf("。") == -1
256
+          ) {
257
+            this.dialysisSummary.summaryContent =
258
+              this.dialysisSummary.summaryContent + "," + values;
259
+          } else {
260
+            this.dialysisSummary.summaryContent =
261
+              this.dialysisSummary.summaryContent  + values;
262
+          }
263
+        }
252
       }
264
       }
253
     },
265
     },
254
     dialysisAfterTeachSelectChange: function(values) {
266
     dialysisAfterTeachSelectChange: function(values) {
255
-      if (this.dialysisSummary.propagandaAndEducationContent == null) {
256
-        this.dialysisSummary.propagandaAndEducationContent == "";
267
+      if(this.dialysisSummary.propagandaAndEducationContent == null){
268
+        this.dialysisSummary.propagandaAndEducationContent == ""
257
       }
269
       }
258
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
270
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
259
         this.dialysisSummary.propagandaAndEducationContent = values;
271
         this.dialysisSummary.propagandaAndEducationContent = values;
260
       } else {
272
       } else {
261
-        this.dialysisSummary.propagandaAndEducationContent =
262
-          this.dialysisSummary.propagandaAndEducationContent + values;
263
-        // if (
264
-        //   this.dialysisSummary.propagandaAndEducationContent.indexOf(values) ==
265
-        //   -1
266
-        // ) {
267
-        //   if (
268
-        //     this.dialysisSummary.propagandaAndEducationContent
269
-        //       .charAt(
270
-        //         this.dialysisSummary.propagandaAndEducationContent.length - 1
271
-        //       )
272
-        //       .indexOf("。") == -1
273
-        //   ) {
274
-        //     this.dialysisSummary.propagandaAndEducationContent =
275
-        //       this.dialysisSummary.propagandaAndEducationContent + "," + values;
276
-        //   } else {
277
-        //
278
-        //   }
279
-        // }
273
+        if (this.dialysisSummary.propagandaAndEducationContent.indexOf(values) == -1) {
274
+          if (
275
+            this.dialysisSummary.propagandaAndEducationContent.charAt(this.dialysisSummary.propagandaAndEducationContent.length - 1).indexOf("。") == -1) {
276
+            this.dialysisSummary.propagandaAndEducationContent =
277
+              this.dialysisSummary.propagandaAndEducationContent + "," + values;
278
+          } else {
279
+            this.dialysisSummary.propagandaAndEducationContent =
280
+              this.dialysisSummary.propagandaAndEducationContent + values;
281
+          }
282
+        }
280
       }
283
       }
281
     },
284
     },
282
     commitInfo: function() {
285
     commitInfo: function() {

+ 36 - 72
src/pages/main/today/TodayTab.vue View File

227
       :overlay="true"
227
       :overlay="true"
228
       :close-on-click-overlay="false"
228
       :close-on-click-overlay="false"
229
     >
229
     >
230
-      <monit-dialog
230
+      <monit-dialog v-if="monit_dialog_reset"
231
         :monitor_records="monitor_records"
231
         :monitor_records="monitor_records"
232
         :last_monitor_record="last_monitor_record"
232
         :last_monitor_record="last_monitor_record"
233
         :patient="patient"
233
         :patient="patient"
371
         last_prescription:{},
371
         last_prescription:{},
372
         thoroug_dialog_reset: true,
372
         thoroug_dialog_reset: true,
373
         prescription_dialog_reset: true,
373
         prescription_dialog_reset: true,
374
+        monit_dialog_reset: true,
374
         receiver_treatment_access: {}, // 接诊评估
375
         receiver_treatment_access: {}, // 接诊评估
375
         predialysis_evaluation: {}, // 透前评估
376
         predialysis_evaluation: {}, // 透前评估
376
         last_predialysis_evaluation: {}, // 上次透前评估
377
         last_predialysis_evaluation: {}, // 上次透前评估
847
           var waitscheduals = waitstoredata.waitscheduals
848
           var waitscheduals = waitstoredata.waitscheduals
848
           var storedata = this.$store.getters.scheduals
849
           var storedata = this.$store.getters.scheduals
849
           var scheduals = storedata.scheduals
850
           var scheduals = storedata.scheduals
850
-
851
-
852
-
853
-
854
-
855
           var patient = resp.data.patient // 患者信息
851
           var patient = resp.data.patient // 患者信息
856
           var schedual = resp.data.schedual // 患者排班信息
852
           var schedual = resp.data.schedual // 患者排班信息
857
           var prescription = resp.data.prescription // 透析处方
853
           var prescription = resp.data.prescription // 透析处方
882
           var monitor_records = resp.data.monitor_records // 透析监测
878
           var monitor_records = resp.data.monitor_records // 透析监测
883
           var dialysis_order = resp.data.dialysis_order // 透析记录
879
           var dialysis_order = resp.data.dialysis_order // 透析记录
884
           var operators = resp.data.operators // 操作人
880
           var operators = resp.data.operators // 操作人
885
-
886
           var special_premission = resp.data.special_premission // 特殊权限
881
           var special_premission = resp.data.special_premission // 特殊权限
887
-
888
           var config = resp.data.config // 库存自动扣减配置
882
           var config = resp.data.config // 库存自动扣减配置
889
-
890
           var types = resp.data.types // 所有系统库存商品类型
883
           var types = resp.data.types // 所有系统库存商品类型
891
-
892
           var last_predialysis_evaluation = resp.data.last_predialysis_evaluation // 上一次透前评估
884
           var last_predialysis_evaluation = resp.data.last_predialysis_evaluation // 上一次透前评估
893
           var last_assessment_after_dislysis = resp.data.last_assessment_after_dislysis // 上一次透前评估
885
           var last_assessment_after_dislysis = resp.data.last_assessment_after_dislysis // 上一次透前评估
894
           var last_monitor_record = resp.data.last_monitor_record
886
           var last_monitor_record = resp.data.last_monitor_record
922
           this.patient = patient
914
           this.patient = patient
923
           this.schedual = schedual == null ? {} : schedual
915
           this.schedual = schedual == null ? {} : schedual
924
           this.prescription = prescription == null ? {id: ''} : prescription
916
           this.prescription = prescription == null ? {id: ''} : prescription
925
-          this.prescription_dialog_reset = false
926
-          this.$nextTick(() => {
927
-            this.prescription_dialog_reset = true
928
-          })
929
           this.solution = solution == null ? {id: ''} : solution
917
           this.solution = solution == null ? {id: ''} : solution
930
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
918
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
931
-
932
-
933
-
934
-          this.receiver_treatment_access =
935
-              receiver_treatment_access == null
936
-                ? {id: ''}
937
-                : receiver_treatment_access
938
-          this.predialysis_evaluation =
939
-              predialysis_evaluation == null ? {} : predialysis_evaluation
940
-          this.last_predialysis_evaluation =
941
-              last_predialysis_evaluation == null
942
-                ? {}
943
-                : last_predialysis_evaluation
944
-
919
+          this.receiver_treatment_access = receiver_treatment_access == null ? {id: ''} : receiver_treatment_access
920
+          this.predialysis_evaluation = predialysis_evaluation == null ? {} : predialysis_evaluation
921
+          this.last_predialysis_evaluation = last_predialysis_evaluation == null ? {} : last_predialysis_evaluation
945
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices
922
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices
946
           this.special_premission = special_premission
923
           this.special_premission = special_premission
947
           this.config = config
924
           this.config = config
948
           this.goodTypes = types
925
           this.goodTypes = types
949
-
950
-
951
           if (this.doctor_advices.length > 0) {
926
           if (this.doctor_advices.length > 0) {
952
             var group = this.newAdviceGroupObject()
927
             var group = this.newAdviceGroupObject()
953
             var initGroupBlock = function (group, advice) {
928
             var initGroupBlock = function (group, advice) {
1009
 
984
 
1010
           this.double_check = double_check == null ? {id: ''} : double_check
985
           this.double_check = double_check == null ? {id: ''} : double_check
1011
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
986
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
1012
-          this.thoroug_dialog_reset = false
1013
-          this.$nextTick(() => {
1014
-            this.thoroug_dialog_reset = true
1015
-          })
1016
-          this.last_assessment_after_dislysis =
1017
-              last_assessment_after_dislysis == null
1018
-                ? {id: ''}
1019
-                : last_assessment_after_dislysis
1020
-          this.treatment_summary =
1021
-              treatment_summary == null ? {id: ''} : treatment_summary
987
+          this.last_assessment_after_dislysis = last_assessment_after_dislysis == null ? {id: ''} : last_assessment_after_dislysis
988
+          this.treatment_summary = treatment_summary == null ? {id: ''} : treatment_summary
1022
           this.monitor_records = monitor_records == null ? [] : monitor_records
989
           this.monitor_records = monitor_records == null ? [] : monitor_records
1023
-          this.last_monitor_record =
1024
-              last_monitor_record == null
1025
-                ? this.last_monitor_record
1026
-                : last_monitor_record
1027
-          this.dialysis_order =
1028
-              dialysis_order == null ? {id: ''} : dialysis_order
990
+          this.last_monitor_record = last_monitor_record == null ? this.last_monitor_record : last_monitor_record
991
+          this.dialysis_order =  dialysis_order == null ? {id: ''} : dialysis_order
1029
           this.operators = operators
992
           this.operators = operators
1030
           this.$refs.stat_order.setAdvices(this.doctor_advices)
993
           this.$refs.stat_order.setAdvices(this.doctor_advices)
1031
           this.$refs.monitoring.setRecords(this.monitor_records)
994
           this.$refs.monitoring.setRecords(this.monitor_records)
1032
 
995
 
996
+          // 强制刷新子组件
997
+          this.thoroug_dialog_reset = false
998
+          this.$nextTick(() => { this.thoroug_dialog_reset = true })
999
+          this.prescription_dialog_reset = false
1000
+          this.$nextTick(() => { this.prescription_dialog_reset = true })
1001
+          this.monit_dialog_reset = false;
1002
+          this.$nextTick(() => { this.monit_dialog_reset = true })
1003
+
1033
           this.title = patient.name
1004
           this.title = patient.name
1034
 
1005
 
1035
           dialysisGlobalConfig().then(rs => {
1006
           dialysisGlobalConfig().then(rs => {
1534
           this.patient = patient
1505
           this.patient = patient
1535
           this.schedual = schedual == null ? {} : schedual
1506
           this.schedual = schedual == null ? {} : schedual
1536
           this.prescription = prescription == null ? {id: ''} : prescription
1507
           this.prescription = prescription == null ? {id: ''} : prescription
1508
+
1509
+
1537
           this.solution = solution == null ? {id: ''} : solution
1510
           this.solution = solution == null ? {id: ''} : solution
1538
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
1511
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
1539
 
1512
 
1540
 
1513
 
1541
 
1514
 
1542
-          this.receiver_treatment_access =
1543
-            receiver_treatment_access == null
1544
-              ? {id: ''}
1545
-              : receiver_treatment_access
1546
-          this.predialysis_evaluation =
1547
-            predialysis_evaluation == null ? {} : predialysis_evaluation
1548
-          this.last_predialysis_evaluation =
1549
-            last_predialysis_evaluation == null
1550
-              ? {}
1551
-              : last_predialysis_evaluation
1515
+          this.receiver_treatment_access = receiver_treatment_access == null ? {id: ''} : receiver_treatment_access
1516
+          this.predialysis_evaluation = predialysis_evaluation == null ? {} : predialysis_evaluation
1517
+          this.last_predialysis_evaluation = last_predialysis_evaluation == null ? {} : last_predialysis_evaluation
1552
 
1518
 
1553
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices
1519
           this.doctor_advices = doctor_advices == null ? [] : doctor_advices
1554
           this.special_premission = special_premission
1520
           this.special_premission = special_premission
1616
           }
1582
           }
1617
 
1583
 
1618
           this.double_check = double_check == null ? {id: ''} : double_check
1584
           this.double_check = double_check == null ? {id: ''} : double_check
1619
-          this.assessment_after_dislysis =
1620
-            assessment_after_dislysis == null
1621
-              ? {id: ''}
1622
-              : assessment_after_dislysis
1623
-          this.last_assessment_after_dislysis =
1624
-            last_assessment_after_dislysis == null
1625
-              ? {id: ''}
1626
-              : last_assessment_after_dislysis
1627
-          this.treatment_summary =
1628
-            treatment_summary == null ? {id: ''} : treatment_summary
1585
+          this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
1586
+          this.last_assessment_after_dislysis = last_assessment_after_dislysis == null ? {id: ''} : last_assessment_after_dislysis
1587
+          this.treatment_summary =  treatment_summary == null ? {id: ''} : treatment_summary
1629
           this.monitor_records = monitor_records == null ? [] : monitor_records
1588
           this.monitor_records = monitor_records == null ? [] : monitor_records
1630
-          this.last_monitor_record =
1631
-            last_monitor_record == null
1632
-              ? this.last_monitor_record
1633
-              : last_monitor_record
1634
-          this.dialysis_order =
1635
-            dialysis_order == null ? {id: ''} : dialysis_order
1589
+          this.last_monitor_record = last_monitor_record == null  ? this.last_monitor_record : last_monitor_record
1590
+          this.dialysis_order = dialysis_order == null ? {id: ''} : dialysis_order
1636
           this.operators = operators
1591
           this.operators = operators
1637
           this.$refs.stat_order.setAdvices(this.doctor_advices)
1592
           this.$refs.stat_order.setAdvices(this.doctor_advices)
1638
           this.$refs.monitoring.setRecords(this.monitor_records)
1593
           this.$refs.monitoring.setRecords(this.monitor_records)
1639
 
1594
 
1640
           this.title = patient.name
1595
           this.title = patient.name
1596
+          // 强制刷新子组件
1597
+
1598
+          this.thoroug_dialog_reset = false
1599
+          this.$nextTick(() => { this.thoroug_dialog_reset = true })
1600
+          this.prescription_dialog_reset = false
1601
+          this.$nextTick(() => { this.prescription_dialog_reset = true })
1602
+          this.monit_dialog_reset = false;
1603
+          this.$nextTick(() => { this.monit_dialog_reset = true })
1604
+
1641
         } else {
1605
         } else {
1642
           this.$toast({
1606
           this.$toast({
1643
             message: resp.msg
1607
             message: resp.msg

+ 1 - 1
src/pages/privacy/index.vue View File

36
 
36
 
37
 <script>
37
 <script>
38
     export default {
38
     export default {
39
-        name: "privacyPolicy"
39
+        name: "privacy"
40
 
40
 
41
     }
41
     }
42
 </script>
42
 </script>

+ 1 - 1
src/router/index.js View File

77
     },
77
     },
78
     {
78
     {
79
       path: "/privacy",
79
       path: "/privacy",
80
-      name: "privacyPolicy",
80
+      name: "privacy",
81
       component: () => import("@/pages/privacy/index")
81
       component: () => import("@/pages/privacy/index")
82
     }
82
     }
83
   ]
83
   ]