瀏覽代碼

修改华侨医院

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

+ 0 - 1
package.json 查看文件

@@ -94,7 +94,6 @@
94 94
     "file-loader": "1.1.5",
95 95
     "friendly-errors-webpack-plugin": "1.6.1",
96 96
     "html-webpack-plugin": "2.30.1",
97
-    "husky": "0.14.3",
98 97
     "lint-staged": "7.2.0",
99 98
     "node-notifier": "5.1.2",
100 99
     "node-sass": "^4.7.2",

+ 7 - 7
src/xt_pages/data/druguseTemplate.vue 查看文件

@@ -1073,7 +1073,7 @@ export default {
1073 1073
           name: [{ required: true, message: '请填写执行频率' }]
1074 1074
         },
1075 1075
         templateRules: {
1076
-          advice_name: [{ required: true, message: '请填写医嘱内容' }],
1076
+          advice_name: [{ required: true, message: '请填写医嘱内容' }]
1077 1077
 
1078 1078
         },
1079 1079
         templateEditRules: {
@@ -1152,11 +1152,11 @@ export default {
1152 1152
       this.unitsOption = getDataConfig('hemodialysis', 'units')
1153 1153
   },
1154 1154
     methods: {
1155
-      adviceNameShow({row, column, rowIndex, columnIndex}){
1156
-        if(columnIndex==1) {
1157
-          return 'templateadvicenamedisplay';
1158
-        }else {
1159
-          return '';
1155
+      adviceNameShow({ row, column, rowIndex, columnIndex }) {
1156
+        if (columnIndex == 1) {
1157
+          return 'templateadvicenamedisplay'
1158
+        } else {
1159
+          return ''
1160 1160
         }
1161 1161
       },
1162 1162
       showCreatedTimes() {
@@ -1710,7 +1710,7 @@ export default {
1710 1710
         }
1711 1711
         return true
1712 1712
       }, cancelEditHandle() {
1713
-        this.templateTableVisible = true
1713
+        // this.templateTableVisible = true
1714 1714
         this.templateEditFormVisible = false
1715 1715
       }, submitEditTemplate(formName) {
1716 1716
         this.$refs[formName].validate(valid => {

+ 20 - 23
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue 查看文件

@@ -34,7 +34,7 @@
34 34
             <div class="inline_block" style="margin-left: 25px;">
35 35
               性别:
36 36
               <check-box text="男" :checked="record.patient.gender == 1"></check-box>
37
-              &nbsp;
37
+              &nbsp
38 38
               <check-box text="女" :checked="record.patient.gender == 2"></check-box>
39 39
             </div>
40 40
             <div class="inline_block" style="margin-left: 25px;">
@@ -1124,17 +1124,17 @@
1124 1124
             this.advice_groups = []
1125 1125
             this.advice_groups_2 = []
1126 1126
             var dlegh = 0
1127
-            if((this.records[recordIndex].assessment_before_dislysis&&this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0&&this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.remark.length > 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.pulse_frequency != 0) ||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.breathing_rate  != 0)||(this.records[recordIndex].assessment_before_dislysis&&record.assessment_before_dislysis.temperature  != 0)) {
1127
+            if ((this.records[recordIndex].assessment_before_dislysis && this.records[recordIndex].assessment_before_dislysis.systolic_blood_pressure != 0 && this.records[recordIndex].assessment_before_dislysis.diastolic_blood_pressure != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.remark.length > 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.pulse_frequency != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.breathing_rate != 0) || (this.records[recordIndex].assessment_before_dislysis && record.assessment_before_dislysis.temperature != 0)) {
1128 1128
               var nl = 8
1129 1129
               this.records[recordIndex].print_length = 8
1130
-            } else{
1130
+            } else {
1131 1131
               var nl = 9
1132 1132
               this.records[recordIndex].print_length = 9
1133 1133
             }
1134 1134
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
1135 1135
               dlegh = nl - this.records[recordIndex].monitor_records.length
1136 1136
             }
1137
-            if(this.records[recordIndex].monitor_records.length <=0 ){
1137
+            if (this.records[recordIndex].monitor_records.length <= 0) {
1138 1138
               dlegh = nl
1139 1139
             }
1140 1140
             if (dlegh > 0) {
@@ -1147,7 +1147,7 @@
1147 1147
             }
1148 1148
 
1149 1149
             this.records[recordIndex].monitor_records2 = []
1150
-            if (this.records[recordIndex].monitor_records.length > 13){
1150
+            if (this.records[recordIndex].monitor_records.length > 13) {
1151 1151
               const tempMonitors = []
1152 1152
               const tempMonitors2 = []
1153 1153
 
@@ -1202,7 +1202,6 @@
1202 1202
                 if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
1203 1203
                   new_advice_index = index + this.doctor_advices[index].children.length + 1
1204 1204
 
1205
-
1206 1205
                   var doctor_advice = {
1207 1206
                     delivery_way: this.doctor_advices[index].delivery_way,
1208 1207
                     execution_frequency: this.doctor_advices[index].execution_frequency,
@@ -1214,8 +1213,7 @@
1214 1213
                     execution_staff: this.doctor_advices[index].execution_staff,
1215 1214
                     checker: this.doctor_advices[index].checker,
1216 1215
                     advice_doctor: this.doctor_advices[index].advice_doctor,
1217
-                    execution_time: this.doctor_advices[index].execution_time,
1218
-
1216
+                    execution_time: this.doctor_advices[index].execution_time
1219 1217
 
1220 1218
                   }
1221 1219
                   doctor_advice['isShow'] = 1
@@ -1237,8 +1235,8 @@
1237 1235
                   if (advice.parent_id > 0) {
1238 1236
                     if (this.advice_groups.length > 0) {
1239 1237
                       var parent_group = this.advice_groups[
1240
-                      this.advice_groups.length - 1
1241
-                        ]
1238
+                        this.advice_groups.length - 1
1239
+                      ]
1242 1240
                       if (parent_group.advices.length > 0) {
1243 1241
                         if (parent_group.advices[0].id == advice.parent_id) {
1244 1242
                           parent_group.advices.push(advice)
@@ -1284,8 +1282,8 @@
1284 1282
                     if (advice.parent_id > 0) {
1285 1283
                       if (this.advice_groups_2.length > 0) {
1286 1284
                         var parent_group = this.advice_groups_2[
1287
-                        this.advice_groups_2.length - 1
1288
-                          ]
1285
+                          this.advice_groups_2.length - 1
1286
+                        ]
1289 1287
                         if (parent_group.advices.length > 0) {
1290 1288
                           if (parent_group.advices[0].id == advice.parent_id) {
1291 1289
                             parent_group.advices.push(advice)
@@ -1437,23 +1435,22 @@
1437 1435
         } else {
1438 1436
           return ''
1439 1437
         }
1440
-      },getFloat: function(x) {
1438
+      }, getFloat: function(x) {
1441 1439
         if (x != '.') {
1442
-          var f = Math.round(x * 100) / 100;
1443
-          var s = f.toString();
1444
-          var rs = s.indexOf('.');
1440
+          var f = Math.round(x * 100) / 100
1441
+          var s = f.toString()
1442
+          var rs = s.indexOf('.')
1445 1443
           if (rs <= 0) {
1446
-            rs = s.length;
1447
-            s += '.';
1444
+            rs = s.length
1445
+            s += '.'
1448 1446
           }
1449 1447
           while (s.length <= rs + 1) {
1450
-            s += '0';
1448
+            s += '0'
1451 1449
           }
1452
-          return s;
1450
+          return s
1453 1451
         } else {
1454
-          return '0.0';
1452
+          return '0.0'
1455 1453
         }
1456
-
1457 1454
       },
1458 1455
       getAdminUser(key, id) {
1459 1456
         if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
@@ -1508,7 +1505,7 @@
1508 1505
             advices: []
1509 1506
           }
1510 1507
         )
1511
-      },getNumber:function(record) {
1508
+      }, getNumber: function(record) {
1512 1509
         console.log(record)
1513 1510
       }
1514 1511
     }

+ 1 - 1
src/xt_pages/dialysis/details/index.vue 查看文件

@@ -302,8 +302,8 @@
302 302
           { title: '接诊评估', finish: false },
303 303
           { title: '透前评估', finish: false },
304 304
           { title: '临时医嘱', finish: false },
305
-          { title: '透析上机', finish: false },
306 305
           { title: '双人核对', finish: false },
306
+          { title: '透析上机', finish: false },
307 307
           { title: '透析监测', finish: false },
308 308
           { title: '透析下机', finish: false },
309 309
           { title: '透后评估', finish: false },

+ 3 - 3
src/xt_pages/home/index.vue 查看文件

@@ -82,8 +82,8 @@ export default {
82 82
         { title: '接诊评估' },
83 83
         { title: '透前评估' },
84 84
         { title: '临时医嘱' },
85
-        { title: '透析上机' },
86 85
         { title: '双人核对' },
86
+        { title: '透析上机' },
87 87
         { title: '透析监测' },
88 88
         { title: '透析下机' },
89 89
         { title: '透后评估' },
@@ -173,8 +173,8 @@ export default {
173 173
 
174 174
       var leaveTime = 0
175 175
 
176
-      this.subscibe.state = 2;//强制改为免费版
177
-      
176
+      this.subscibe.state = 2// 强制改为免费版
177
+
178 178
       switch (this.subscibe.state) {
179 179
         case 9:
180 180
           this.subscibeBan = {

+ 4 - 8
src/xt_pages/user/components/PatientForm.vue 查看文件

@@ -737,7 +737,7 @@
737 737
                     this.formSubmit = true
738 738
                     return false
739 739
                   } else {
740
-                    this.formSubmit = false
740
+                    this.formSubmit = true
741 741
                     this.$notify({
742 742
                       title: '成功',
743 743
                       message: this.submitMsg,
@@ -881,7 +881,6 @@
881 881
         fetchPatient(id)
882 882
           .then(response => {
883 883
             if (response.data.state == 1) {
884
-
885 884
               this.$emit('tran-patient-info', response.data.data.patient)
886 885
               var patietInfo = response.data.data.patient
887 886
               this.form.avatar = patietInfo.avatar
@@ -962,15 +961,12 @@
962 961
               this.form.sbp = patietInfo.sbp
963 962
               this.form.dbp = patietInfo.dbp
964 963
 
965
-              if (patietInfo.age == 0){
966
-                this.form.age = jsGetAge(this.form.birth, "-");
967
-              }else{
964
+              if (patietInfo.age == 0) {
965
+                this.form.age = jsGetAge(this.form.birth, '-')
966
+              } else {
968 967
                 this.form.age = patietInfo.age
969 968
               }
970 969
 
971
-
972
-
973
-
974 970
               // this.form.initial = patietInfo.initial_dialysis + "";
975 971
               // this.form.dialysisTotal = patietInfo.total_dialysis + "";
976 972
               // this.form.assessment = patietInfo.evaluate;