Browse Source

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

csx 5 years ago
parent
commit
763d535dd5

+ 1 - 1
src/xt_pages/dialysis/PatientBox.vue View File

@@ -18,7 +18,7 @@
18 18
         <ul>
19 19
           <li><span class="iconfont">&#xe6f5;</span>班次 : {{timeTypeText(schedule)}}</li>
20 20
           <li><span class="iconfont">&#xe6de;</span>床位号 : {{schedule.device_number.number}}</li>
21
-          <li><span class="iconfont">&#xe6f6;</span>透析模式 : {{schedule.mode_id?$store.getters.treatment_mode[schedule.mode_id].name:''}}</li>
21
+          <li><span class="iconfont">&#xe6f6;</span>透析模式 : {{schedule.mode_id&&$store.getters.treatment_mode[schedule.mode_id]?$store.getters.treatment_mode[schedule.mode_id].name:''}}</li>
22 22
         </ul>
23 23
       </div>
24 24
     </div>

+ 75 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -990,6 +990,78 @@ export default {
990 990
           }
991 991
           this.reset();
992 992
         } else {
993
+          this.form.systolic_bp =
994
+            parseFloat(this.form.systolic_bp) == NaN
995
+              ? 0
996
+              : parseFloat(this.form.systolic_bp);
997
+          this.form.diastolic_bp =
998
+            parseFloat(this.form.diastolic_bp) == NaN
999
+              ? 0
1000
+              : parseFloat(this.form.diastolic_bp);
1001
+          this.form.temperature =
1002
+            parseFloat(this.form.temperature) == NaN
1003
+              ? 0
1004
+              : parseFloat(this.form.temperature);
1005
+          this.form.pulse_frequency =
1006
+            parseFloat(this.form.pulse_frequency) == NaN
1007
+              ? 0
1008
+              : parseFloat(this.form.pulse_frequency);
1009
+          this.form.breathing_rated =
1010
+            parseFloat(this.form.breathing_rated) == NaN
1011
+              ? 0
1012
+              : parseFloat(this.form.breathing_rated);
1013
+          this.form.blood_flow_volume =
1014
+            parseFloat(this.form.blood_flow_volume) == NaN
1015
+              ? 0
1016
+              : parseFloat(this.form.blood_flow_volume);
1017
+          this.form.venous_pressure =
1018
+            parseFloat(this.form.venous_pressure) == NaN
1019
+              ? 0
1020
+              : parseFloat(this.form.venous_pressure);
1021
+          this.form.transmembrane_pressure =
1022
+            parseFloat(this.form.transmembrane_pressure) == NaN
1023
+              ? 0
1024
+              : parseFloat(this.form.transmembrane_pressure);
1025
+          this.form.ultrafiltration_volume =
1026
+            parseFloat(this.form.ultrafiltration_volume) == NaN
1027
+              ? 0
1028
+              : parseFloat(this.form.ultrafiltration_volume);
1029
+          this.form.ultrafiltration_rate =
1030
+            parseFloat(this.form.ultrafiltration_rate) == NaN
1031
+              ? 0
1032
+              : parseFloat(this.form.ultrafiltration_rate);
1033
+          this.form.arterial_pressure =
1034
+            parseFloat(this.form.arterial_pressure) == NaN
1035
+              ? 0
1036
+              : parseFloat(this.form.arterial_pressure);
1037
+          this.form.sodium_concentration =
1038
+            parseFloat(this.form.sodium_concentration) == NaN
1039
+              ? 0
1040
+              : parseFloat(this.form.sodium_concentration);
1041
+          this.form.dialysate_temperature =
1042
+            parseFloat(this.form.dialysate_temperature) == NaN
1043
+              ? 0
1044
+              : parseFloat(this.form.dialysate_temperature);
1045
+          this.form.replacement_rate =
1046
+            parseFloat(this.form.replacement_rate) == NaN
1047
+              ? 0
1048
+              : parseFloat(this.form.replacement_rate);
1049
+          this.form.displacement_quantity =
1050
+            parseFloat(this.form.displacement_quantity) == NaN
1051
+              ? 0
1052
+              : parseFloat(this.form.displacement_quantity);
1053
+          this.form.conductivity =
1054
+            parseFloat(this.form.conductivity) == NaN
1055
+              ? 0
1056
+              : parseFloat(this.form.conductivity);
1057
+          this.form.displacement_flow_quantity =
1058
+            parseFloat(this.form.displacement_flow_quantity) == NaN
1059
+              ? 0
1060
+              : parseFloat(this.form.displacement_flow_quantity);
1061
+          this.form.ktv =
1062
+            parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1063
+
1064
+
993 1065
           this.$message.error(resp.msg);
994 1066
         }
995 1067
       });
@@ -1060,6 +1132,7 @@ export default {
1060 1132
           const params = {
1061 1133
             patient_id: this.patient_id,
1062 1134
             record_id: this.table_current_row.id
1135
+            mode: mode
1063 1136
 
1064 1137
           };
1065 1138
 
@@ -1074,6 +1147,8 @@ export default {
1074 1147
                   this.monitors.splice(i, 1);
1075 1148
                 }
1076 1149
               }
1150
+              this.$message.success("删除成功");
1151
+
1077 1152
             }
1078 1153
           });
1079 1154
         })

+ 4 - 1
src/xt_pages/user/components/EditGroupAdvice.vue View File

@@ -1403,7 +1403,10 @@
1403 1403
             frequency_type: this.groupSelectRow.frequency_type
1404 1404
           }
1405 1405
           // console.log(this.nameForm.week_days)
1406
-          this.weeks = this.groupSelectRow.week_day.split(',')
1406
+          if(this.isChild = true){
1407
+          }else{
1408
+            this.weeks = this.groupSelectRow.week_day.split(',')
1409
+          }
1407 1410
           this.nameFormTitle = '修改医嘱内容'
1408 1411
         } else {
1409 1412
           this.nameForm = {