瀏覽代碼

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

csx 5 年之前
父節點
當前提交
b14b8dc960

+ 1 - 1
src/pages/main/dialog/MonitDialog.vue 查看文件

1308
       .typeButton {
1308
       .typeButton {
1309
         height: 38px;
1309
         height: 38px;
1310
         line-height: 38px;
1310
         line-height: 38px;
1311
-        font-size: 0.45rem;
1311
+        font-size: 0.42rem;
1312
         padding: 0 !important;
1312
         padding: 0 !important;
1313
         @media only screen and (min-width: 415px) and (max-width: 767px) {
1313
         @media only screen and (min-width: 415px) and (max-width: 767px) {
1314
           font-size: 0.4rem;
1314
           font-size: 0.4rem;

+ 1 - 0
src/pages/main/dialog/PrescriptionDialog.vue 查看文件

1088
               this.zhiShow = true
1088
               this.zhiShow = true
1089
               this.totalShow = true
1089
               this.totalShow = true
1090
               this.huShow  = true 
1090
               this.huShow  = true 
1091
+              console.log("aa")
1091
             }
1092
             }
1092
           }
1093
           }
1093
         }
1094
         }

+ 16 - 6
src/pages/main/today/TodayTab.vue 查看文件

125
     <treatment-of id="treatment_of" ref="treatment_of" title="治疗小结" :record="treatment_summary"></treatment-of>
125
     <treatment-of id="treatment_of" ref="treatment_of" title="治疗小结" :record="treatment_summary"></treatment-of>
126
 </div>
126
 </div>
127
     <van-popup title="透析处方" v-model="menuList[1].showPopup" :overlay="true" :close-on-click-overlay="false">
127
     <van-popup title="透析处方" v-model="menuList[1].showPopup" :overlay="true" :close-on-click-overlay="false">
128
-      <prescription-dialog :patient_prop="patient" :solution_prop="solution" :machines_prop="devices" :config="config"
128
+      <prescription-dialog v-if="prescription_dialog_reset == true" :patient_prop="patient" :solution_prop="solution" :machines_prop="devices" :config="config"
129
                            :prescription_prop="prescription" @finish="closePrescriptionDialog" :operators="operators"
129
                            :prescription_prop="prescription" @finish="closePrescriptionDialog" :operators="operators"
130
                            :types="goodTypes" :info="goodInfos" :status="status" :targetAdvices="longAdvices"
130
                            :types="goodTypes" :info="goodInfos" :status="status" :targetAdvices="longAdvices"
131
                            :waitUploadAdvices="waitUploadAdvices" :is_open="is_open"
131
                            :waitUploadAdvices="waitUploadAdvices" :is_open="is_open"
254
       :close-on-click-overlay="false"
254
       :close-on-click-overlay="false"
255
     >
255
     >
256
       <thoroug-dialog
256
       <thoroug-dialog
257
+        v-if="thoroug_dialog_reset == true"
257
         :patient_prop="patient"
258
         :patient_prop="patient"
258
         :record="assessment_after_dislysis"
259
         :record="assessment_after_dislysis"
259
         :last_record="last_assessment_after_dislysis"
260
         :last_record="last_assessment_after_dislysis"
368
         prescription: {}, // 透析处方
369
         prescription: {}, // 透析处方
369
         solution: {}, // 透析方案
370
         solution: {}, // 透析方案
370
         last_prescription:{},
371
         last_prescription:{},
372
+        thoroug_dialog_reset: true,
373
+        prescription_dialog_reset: true,
371
         receiver_treatment_access: {}, // 接诊评估
374
         receiver_treatment_access: {}, // 接诊评估
372
         predialysis_evaluation: {}, // 透前评估
375
         predialysis_evaluation: {}, // 透前评估
373
         last_predialysis_evaluation: {}, // 上次透前评估
376
         last_predialysis_evaluation: {}, // 上次透前评估
761
 
764
 
762
           this.double_check = double_check == null ? {id: ''} : double_check
765
           this.double_check = double_check == null ? {id: ''} : double_check
763
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
766
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
767
+          
764
           this.last_assessment_after_dislysis =
768
           this.last_assessment_after_dislysis =
765
               last_assessment_after_dislysis == null
769
               last_assessment_after_dislysis == null
766
                 ? {id: ''}
770
                 ? {id: ''}
918
           this.patient = patient
922
           this.patient = patient
919
           this.schedual = schedual == null ? {} : schedual
923
           this.schedual = schedual == null ? {} : schedual
920
           this.prescription = prescription == null ? {id: ''} : prescription
924
           this.prescription = prescription == null ? {id: ''} : prescription
925
+          this.prescription_dialog_reset = false
926
+          this.$nextTick(() => {
927
+            this.prescription_dialog_reset = true
928
+          })
921
           this.solution = solution == null ? {id: ''} : solution
929
           this.solution = solution == null ? {id: ''} : solution
922
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
930
           this.last_prescription = last_prescription == null ? {id: ''} : last_prescription
923
 
931
 
1000
           }
1008
           }
1001
 
1009
 
1002
           this.double_check = double_check == null ? {id: ''} : double_check
1010
           this.double_check = double_check == null ? {id: ''} : double_check
1003
-          this.assessment_after_dislysis =
1004
-              assessment_after_dislysis == null
1005
-                ? {id: ''}
1006
-                : assessment_after_dislysis
1011
+          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
+          })
1007
           this.last_assessment_after_dislysis =
1016
           this.last_assessment_after_dislysis =
1008
               last_assessment_after_dislysis == null
1017
               last_assessment_after_dislysis == null
1009
                 ? {id: ''}
1018
                 ? {id: ''}
1324
       // this.scrollToView('monitoring')
1333
       // this.scrollToView('monitoring')
1325
     },
1334
     },
1326
 
1335
 
1327
-    closeDialysisOff: function (assessment_after_dislysis) {debugger
1336
+    closeDialysisOff: function (assessment_after_dislysis) {
1328
       this.closeDialog(7)
1337
       this.closeDialog(7)
1329
       if (assessment_after_dislysis != undefined) {
1338
       if (assessment_after_dislysis != undefined) {
1330
         this.assessment_after_dislysis = assessment_after_dislysis
1339
         this.assessment_after_dislysis = assessment_after_dislysis
1331
       }
1340
       }
1341
+      this.requestDialysisRecord()
1332
     },
1342
     },
1333
     closeDialysisOffclose: function () {
1343
     closeDialysisOffclose: function () {
1334
       this.closeDialog(7)
1344
       this.closeDialog(7)