Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 1 week ago
parent
commit
1c603c3e76

+ 7 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

351
           <div class="inline_block under_line" style="width:100px;text-align: center;">
351
           <div class="inline_block under_line" style="width:100px;text-align: center;">
352
             {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
352
             {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
353
           </div> -->
353
           </div> -->
354
+          换药护士
355
+          <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
356
+            <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.change_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.change_nurse)}}</span>
357
+            <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.change_nurse)" alt="" srcset="" v-else>
358
+          </div>
354
         </div>
359
         </div>
355
         <div class="row">
360
         <div class="row">
356
           上机医生
361
           上机医生
521
                       <td width="60" style="text-align:left;border:none;">
526
                       <td width="60" style="text-align:left;border:none;">
522
                         <div>
527
                         <div>
523
                           <span class="under_line" style="width:50px;display:inline-block">
528
                           <span class="under_line" style="width:50px;display:inline-block">
524
-                            {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
529
+                            {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "/" }}
525
                           </span>L
530
                           </span>L
526
                         </div>
531
                         </div>
527
                       </td>
532
                       </td>
582
                       <td width="70" style="text-align:left;border:none;">
587
                       <td width="70" style="text-align:left;border:none;">
583
                         <div>
588
                         <div>
584
                           <span class="under_line" style="width:50px;display:inline-block">
589
                           <span class="under_line" style="width:50px;display:inline-block">
585
-                            {{ afterdialysis.is_eat == 1 && afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }}
590
+                            {{ afterdialysis.is_eat == 1 && afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '/' }}
586
                           </span>g
591
                           </span>g
587
                         </div>
592
                         </div>
588
                       </td>
593
                       </td>

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

1186
   response_result: "",
1186
   response_result: "",
1187
   remind_cycle: 0,
1187
   remind_cycle: 0,
1188
   record_date: "",
1188
   record_date: "",
1189
-  patient_type:"1",
1189
+  patient_type:1,
1190
   tell_phone: "",
1190
   tell_phone: "",
1191
   first_treatment_date: "",
1191
   first_treatment_date: "",
1192
   dialysis_age: "",
1192
   dialysis_age: "",

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))