Kaynağa Gözat

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 4 gün önce
ebeveyn
işleme
d4bac5f3f9

+ 46 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue Dosyayı Görüntüle

@@ -298,9 +298,10 @@
298 298
                         <div class="under_line"
299 299
                           style="width: 70px; text-align: center"
300 300
                         >
301
-                          <span> {{
302
-                            record.prescription.displace_liqui_value
303
-                              ? record.prescription.displace_liqui_value
301
+                          <span> 
302
+                            {{
303
+                            record.prescription.replacement_total
304
+                              ? record.prescription.replacement_total
304 305
                               : "/"
305 306
                           }}
306 307
                           </span>
@@ -402,7 +403,8 @@
402 403
                       <div class="inline_block" style="flex: 1">
403 404
                         上次透后体重:
404 405
                         <div class="under_line" style="width: 50px; text-align: center">
405
-                          {{record.lastafterweight.weight_after ? record.lastafterweight.weight_after:"未称重"}}
406
+                          <span v-if="record.lastafterweight.weight_after>0"> {{record.lastafterweight.weight_after ? record.lastafterweight.weight_after:"未称重"}}</span>
407
+                          <span v-if="record.lastafterweight.weight_after<=0"> {{record.assessment_after_dislysis.last_after_weight ? record.assessment_after_dislysis.last_after_weight:"未称重"}}</span>
406 408
                         </div>
407 409
                         kg
408 410
                       </div>
@@ -426,10 +428,17 @@
426 428
                       <div class="inline_block" style="flex: 1">
427 429
                         体重增加:
428 430
                         <div class="under_line" style="width: 70px; text-align: center">
429
-                          {{ record.assessment_before_dislysis.weight_before > 0 && record.lastafterweight.weight_after > 0 
430
-                            ? parseFloat(record.assessment_before_dislysis.weight_before 
431
+                          <span v-if="record.lastafterweight.weight_after>0">{{ record.assessment_before_dislysis.weight_before > 0 && record.lastafterweight.weight_after > 0 
432
+                            ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
431 433
                             - record.lastafterweight.weight_after).toFixed(2): "/" 
432 434
                           }}
435
+                          </span> 
436
+
437
+                          <span v-if="record.lastafterweight.weight_after<=0">{{ record.assessment_before_dislysis.weight_before > 0 && record.assessment_after_dislysis.last_after_weight > 0 
438
+                            ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
439
+                            - record.assessment_after_dislysis.last_after_weight).toFixed(2): "/" 
440
+                          }}
441
+                          </span> 
433 442
                         </div>
434 443
                         kg
435 444
                       </div>
@@ -1226,8 +1235,8 @@
1226 1235
                     <div class="row"
1227 1236
                       style="padding: 2px 0; line-height: 23px; display: flex"
1228 1237
                     > 
1229
-                      <div class="inline_block" style="flex: 1">
1230
-                        穿刺护士:
1238
+                      <div class="inline_block" style="flex: 1" v-if="record.dialysis_order.puncture_nurse>0">
1239
+                        上机护士:
1231 1240
                         <div class="under_line"
1232 1241
                           style="width: 80px; text-align: center"
1233 1242
                         >
@@ -1254,6 +1263,35 @@
1254 1263
                           />
1255 1264
                         </div>
1256 1265
                       </div>
1266
+
1267
+                      <div class="inline_block" style="flex: 1" v-if="record.dialysis_order.change_nurse>0">
1268
+                        上机护士:
1269
+                        <div class="under_line"
1270
+                          style="width: 80px; text-align: center"
1271
+                        >
1272
+                          <span style="display: inline-block"
1273
+                            v-if=" setAdminUserES(
1274
+                                record.dialysis_order,'change_nurse'
1275
+                              ) == ''
1276
+                            "
1277
+                          >
1278
+                            {{ getAdminUser(record.dialysis_order, "change_nurse")
1279
+                              ? getAdminUser(record.dialysis_order,"change_nurse"): "/"
1280
+                              }}
1281
+                          </span>
1282
+                          <img
1283
+                            style="height: 30px"
1284
+                            :src="
1285
+                              setAdminUserES(
1286
+                                record.dialysis_order,'change_nurse'
1287
+                                )
1288
+                            "
1289
+                            alt=""
1290
+                            srcset=""
1291
+                            v-else
1292
+                          />
1293
+                        </div>
1294
+                      </div>
1257 1295
                       <div class="inline_block" style="flex: 1">
1258 1296
                         治疗护士:
1259 1297
                         <div class="under_line"

+ 52 - 4
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue Dosyayı Görüntüle

@@ -270,10 +270,16 @@
270 270
                       <div class="under_line"
271 271
                         style="width: 70px; text-align: center"
272 272
                       >
273
-                        <span> {{
273
+                        <span> 
274
+                          <!-- {{
274 275
                           prescription.displace_liqui_value
275 276
                             ? prescription.displace_liqui_value
276 277
                             : "/"
278
+                        }} -->
279
+                        {{
280
+                          prescription.replacement_total
281
+                            ? prescription.replacement_total
282
+                            : "/"
277 283
                         }}
278 284
                         </span>
279 285
                       </div>
@@ -374,7 +380,9 @@
374 380
                     <div class="inline_block" style="flex: 1">
375 381
                       上次透后体重:
376 382
                       <div class="under_line" style="width: 50px; text-align: center">
377
-                        {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
383
+                        <!-- {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}} -->
384
+                        <span v-if="lastafterdialysis.weight_after>0">{{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}</span> 
385
+                        <span v-if="lastafterdialysis.weight_after<=0">{{afterdialysis.last_after_weight?afterdialysis.last_after_weight:"未称重"}}</span> 
378 386
                       </div>
379 387
                       kg
380 388
                     </div>
@@ -397,7 +405,9 @@
397 405
                       体重增加:
398 406
                       <div class="under_line" style="width: 70px; text-align: center">
399 407
                         <span>
400
-                          {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}}
408
+                          <!-- {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}} -->
409
+                          <span v-if="lastafterdialysis.weight_after>0">{{ (predialysis.weight_before - predialysis.additional_weight - lastafterdialysis.weight_after).toFixed(2)}}</span> 
410
+                          <span v-if="lastafterdialysis.weight_after<=0">{{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}</span> 
401 411
                         </span>
402 412
                       </div>
403 413
                       kg
@@ -1081,9 +1091,10 @@
1081 1091
                   >
1082 1092
 
1083 1093
                     <div class="inline_block" style="flex: 1">
1084
-                      穿刺护士:
1094
+                      上机护士:
1085 1095
                       <div  class="under_line"
1086 1096
                         style="width: 90px; text-align: center"
1097
+                         v-if="dialysisOrder.puncture_nurse>0"
1087 1098
                       >
1088 1099
                         <span
1089 1100
                           style="height: 30px; display: inline-block"
@@ -1117,6 +1128,43 @@
1117 1128
                           v-else
1118 1129
                         />
1119 1130
                       </div>
1131
+
1132
+                      <div  class="under_line"
1133
+                        style="width: 90px; text-align: center"
1134
+                        v-if="dialysisOrder.change_nurse>0"
1135
+                      >
1136
+                        <span
1137
+                          style="height: 30px; display: inline-block"
1138
+                          v-if="
1139
+                            setAdminUserES(
1140
+                              dialysisOrder == null
1141
+                                ? 0
1142
+                                : dialysisOrder.change_nurse
1143
+                            ) == ''
1144
+                          "
1145
+                        >
1146
+                          {{
1147
+                            getAdminUser(
1148
+                              dialysisOrder == null
1149
+                                ? 0
1150
+                                : dialysisOrder.change_nurse
1151
+                            )
1152
+                          }}</span
1153
+                        >
1154
+                        <img
1155
+                          style="height: 30px"
1156
+                          :src="
1157
+                            setAdminUserES(
1158
+                              dialysisOrder == null
1159
+                                ? 0
1160
+                                : dialysisOrder.change_nurse
1161
+                            )
1162
+                          "
1163
+                          alt=""
1164
+                          srcset=""
1165
+                          v-else
1166
+                        />
1167
+                      </div>
1120 1168
                     </div>
1121 1169
 
1122 1170
                     <div class="inline_block" style="flex: 1">

+ 4 - 4
src/xt_pages/outpatientCharges/components/prescriptionTable.vue Dosyayı Görüntüle

@@ -74,13 +74,13 @@
74 74
         </template>
75 75
       </el-table-column>
76 76
 
77
-      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
77
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0 && $store.getters.xt_user.template_info.org_id!=10721">
78 78
         <template slot-scope="scope">
79 79
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
80 80
         </template>
81 81
       </el-table-column>
82 82
 
83
-      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
83
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0 && $store.getters.xt_user.template_info.org_id!=10721">
84 84
         <template slot-scope="scope">
85 85
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
86 86
         </template>
@@ -249,13 +249,13 @@
249 249
         <template slot-scope="scope">{{ scope.row.price }}元</template>
250 250
       </el-table-column>
251 251
 
252
-      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0">
252
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id > 0 && schedule.id > 0 && $store.getters.xt_user.template_info.org_id!=10721">
253 253
         <template slot-scope="scope">
254 254
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
255 255
         </template>
256 256
       </el-table-column>
257 257
 
258
-      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0">
258
+      <el-table-column align="center" prop="name" width="80" label="执行状态" v-if="his_patient.id == 0 && schedule.id > 0  && $store.getters.xt_user.template_info.org_id!=10721">
259 259
         <template slot-scope="scope">
260 260
           <div>{{ scope.row.execution_state == 1 ? "已执行" : "未执行" }}</div>
261 261
         </template>

+ 13 - 13
src/xt_permission.js Dosyayı Görüntüle

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))