XMLWAN 3 年之前
父節點
當前提交
6761a0db6e

+ 21 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -214,7 +214,13 @@
214 214
               </el-form-item>
215 215
             </div>
216 216
             <div v-else>
217
-              <el-form-item :label="'首剂(mg) : '">
217
+              <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '">
218
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219
+                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
221
+                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
222
+              </el-form-item>
223
+              <el-form-item v-else :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
218 224
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219 225
                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220 226
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -241,7 +247,13 @@
241 247
                 </el-form-item>
242 248
               </div>
243 249
               <div v-else>
244
-                <el-form-item :label="'维持(mg/h) : '">
250
+                <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '">
251
+                  <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
252
+                            v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
253
+                  <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
254
+                            v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
255
+                </el-form-item>
256
+                <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else>
245 257
                   <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
246 258
                             v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
247 259
                   <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -267,7 +279,13 @@
267 279
               </el-form-item>
268 280
             </div>
269 281
             <div v-else>
270
-              <el-form-item :label="'总量(mg) : '">
282
+              <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'总量(mg) : '">
283
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
284
+                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
285
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
286
+                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
287
+              </el-form-item>
288
+              <el-form-item v-else :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
271 289
                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
272 290
                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
273 291
                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"

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

@@ -15,7 +15,7 @@
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17 17
           <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id == 40 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38)" width="50px"> 超滤率 <br />(ml/h) </th>
20 20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>

+ 19 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue 查看文件

@@ -880,7 +880,8 @@
880 880
         <td>&nbsp;{{monitor.dialysate_temperature}}</td>
881 881
         <td>&nbsp;{{monitor.replacement_rate}}</td> -->
882 882
           <td>
883
-            &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
883
+            <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】</template>
884
+            {{ monitor.end }}&nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
884 885
           </td>
885 886
           <td>
886 887
             <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
@@ -2096,12 +2097,29 @@ export default {
2096 2097
             if (this.org_template_info.org_id == 9535) {
2097 2098
               this.isShowZero = true
2098 2099
             }
2100
+            var tempmonitorflag = true;
2101
+            for (let index = 0; index < this.monitors.length; index++) {
2102
+              const monitor = this.monitors[index]
2103
+              this.monitors[index].end = ''
2104
+              if (Object.keys(monitor).length > 0 && index > 1) {
2105
+                if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
2106
+                  this.monitors[index].end = '【结束透析】'
2107
+                  tempmonitorflag = false
2108
+                }
2109
+                if (tempmonitorflag && index == this.monitors.length - 1) {
2110
+                  this.monitors[index].end = '【结束透析】'
2111
+                }
2112
+              }
2113
+            }
2099 2114
             if (this.monitors.length < 6) {
2100 2115
               var nl = 6 - this.monitors.length
2101 2116
               for (let index = 0; index < nl; index++) {
2102 2117
                 this.monitors.push([])
2103 2118
               }
2104 2119
             }
2120
+
2121
+            
2122
+            console.log('this.monitors',this.monitors)
2105 2123
             this.jilurow = this.monitors.length + 1
2106 2124
 
2107 2125
             this.advice_jilurow = this.advices.length + 1