Browse Source

hah阿凡达

28169 1 month ago
parent
commit
0f2fa39a52

+ 21 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_fortyOne.vue View File

313
                             </div>
313
                             </div>
314
                             </div>
314
                             </div>
315
                             <div class="row" style="padding:5px 8px;">
315
                             <div class="row" style="padding:5px 8px;">
316
-                            <div class="inline_block">
317
-                                体重减少:
318
-                                <div class="under_line" style="width: 60px;text-align: center">
319
-                                {{ record.assessment_after_dislysis.weight_loss ? record.assessment_after_dislysis.weight_loss : "/" }}
320
-                                </div>
321
-                                kg
322
-                            </div>
323
-                            <div class="inline_block" style="margin-left:62px;">
324
-                                实际置换量:
325
-                                <div class="under_line" style="width: 50px;text-align: center">
326
-                                {{ record.assessment_after_dislysis.actual_displacement ? record.assessment_after_dislysis.actual_displacement : "/" }}
327
-                                </div>
328
-                                L
316
+                              <div class="inline_block">
317
+                                  体重减少:
318
+                                  <div class="under_line" style="width: 60px;text-align: center">
319
+                                  {{ record.assessment_after_dislysis.weight_loss ? record.assessment_after_dislysis.weight_loss : "/" }}
320
+                                  </div>
321
+                                  kg
322
+                              </div>
323
+                              <div class="inline_block" style="margin-left:62px;">
324
+                                  实际置换量:
325
+                                  <div class="under_line" style="width: 50px;text-align: center">
326
+                                  {{ record.assessment_after_dislysis.actual_displacement ? record.assessment_after_dislysis.actual_displacement : "/" }}
327
+                                  </div>
328
+                                  L
329
+                              </div>
329
                             </div>
330
                             </div>
331
+                            <div class="row" style="padding:5px 8px;">
332
+                              <div class="inline_block" style="margin-left:62px;">
333
+                                  KTV:
334
+                                  <div class="under_line" style="width: 50px;text-align: center">
335
+                                  {{ record.ktv.actual_displacement ? record.assessment_after_dislysis.ktv : "/" }}
336
+                                  </div>
337
+                              </div>
330
                             </div>
338
                             </div>
331
                         </td>
339
                         </td>
332
                         </tr>
340
                         </tr>

+ 3 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

3439
         this.pre = pre
3439
         this.pre = pre
3440
         // console.log("pre1", pre);
3440
         // console.log("pre1", pre);
3441
         this.getPermission()
3441
         this.getPermission()
3442
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697|| this.$store.getters.xt_user.template_info.org_id == 10757 || this.$store.getters.xt_user.template_info.org_id == 9478 || this.$store.getters.xt_user.template_info.org_id == 10766){
3442
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697|| this.$store.getters.xt_user.template_info.org_id == 10757 || this.$store.getters.xt_user.template_info.org_id == 9478 || this.$store.getters.xt_user.template_info.org_id == 10766|| this.$store.getters.xt_user.template_info.org_id == 10768){
3443
           this.getPatientBefor()
3443
           this.getPatientBefor()
3444
         }
3444
         }
3445
 
3445
 
5293
           var prescription = response.data.data.prescription
5293
           var prescription = response.data.data.prescription
5294
           if(patientBefor!=undefined){
5294
           if(patientBefor!=undefined){
5295
 
5295
 
5296
-            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751||this.$store.getters.xt_user.template_info.org_id == 10697||this.$store.getters.xt_user.template_info.org_id == 10757){
5296
+            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751||this.$store.getters.xt_user.template_info.org_id == 10697||this.$store.getters.xt_user.template_info.org_id == 10757||this.$store.getters.xt_user.template_info.org_id == 10768){
5297
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5297
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5298
               
5298
               
5299
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5299
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5300
                 
5300
                 
5301
               }
5301
               }
5302
 
5302
 
5303
-              if(this.$store.getters.xt_user.template_info.org_id == 10751){
5303
+              if(this.$store.getters.xt_user.template_info.org_id == 10751 || this.$store.getters.xt_user.template_info.org_id == 10768){
5304
 
5304
 
5305
                 if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
5305
                 if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
5306
               
5306
               

+ 9 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue View File

305
                       L
305
                       L
306
                     </div>
306
                     </div>
307
                   </div>
307
                   </div>
308
+                  <div class="row" style="padding:5px 8px;">
309
+                    <div class="inline_block">
310
+                      KTV:
311
+                      <div class="under_line" style="width: 60px;text-align: center">
312
+                        {{ afterdialysis.ktv ? afterdialysis.ktv : "/" }}
313
+                      </div>
314
+                     
315
+                    </div>
316
+                  </div>
308
                 </td>
317
                 </td>
309
               </tr>
318
               </tr>
310
               <tr>
319
               <tr>

+ 1 - 1
src/xt_pages/stock/goodPrint.vue View File

20
         </div>
20
         </div>
21
         <div>
21
         <div>
22
           <table class="table" border="1" 
22
           <table class="table" border="1" 
23
-            style="border-collapse: collapse;border-left: none;border-right: none;width: 100%;text-align: center;border: 1;">
23
+            style="border-collapse: collapse;width: 100%;text-align: center;">
24
             <tr>
24
             <tr>
25
               <td>药品名称</td>
25
               <td>药品名称</td>
26
               <td>规格</td>
26
               <td>规格</td>

+ 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))