Selaa lähdekoodia

长沙南雅打印单问题修改

28169 1 vuosi sitten
vanhempi
commit
2beaaaeb96

+ 3 - 0
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Näytä tiedosto

@@ -1366,6 +1366,9 @@ export default {
1366 1366
 
1367 1367
     var date = this.$route.query && this.$route.query.date
1368 1368
     this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1369
+    if(this.$store.getters.xt_user.template_info.org_id == 0 ||  this.$store.getters.xt_user.template_info.org_id==9829){
1370
+      this.AssessmentAfterDislysis.pulse_frequency = 80
1371
+    }
1369 1372
   },
1370 1373
   components: {
1371 1374
     MultiSelectBox

+ 29 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Näytä tiedosto

@@ -1590,6 +1590,35 @@ export default {
1590 1590
           }
1591 1591
       }
1592 1592
 
1593
+      if( this.$store.getters.xt_user.org.id == 9829 ){
1594
+          var year = date.getFullYear()
1595
+          var month = date.getMonth() + 1
1596
+          var day = date.getDate()
1597
+
1598
+          var hours = date.getHours()
1599
+          var minites = date.getMinutes()
1600
+
1601
+          if (month < 10) {
1602
+            month = '0' + month
1603
+          }
1604
+          if (day < 10) {
1605
+            day = '0' + day
1606
+          }
1607
+          if (hours < 10) {
1608
+            hours = '0' + hours
1609
+          }
1610
+          if (minites < 10) {
1611
+            minites = '0' + minites
1612
+          }
1613
+          if (this.schedulePatient.schedule_type == 1) {
1614
+            this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '06:30'
1615
+          } else if (this.schedulePatient.schedule_type == 2) {
1616
+            this.groupForm.start_time= year + '-' + month + '-' + day + ' ' + '11:00'
1617
+          } else if (this.schedulePatient.schedule_type == 3) {
1618
+           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '15:30'
1619
+          }
1620
+      }
1621
+
1593 1622
     },
1594 1623
     selectAllTemplateAdvice(selection) {
1595 1624
       console.log("params",selection)

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Näytä tiedosto

@@ -2260,6 +2260,14 @@ mu
2260 2260
             } else if (schedual.schedule_type == 3) {
2261 2261
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2262 2262
             }
2263
+           }else if(this.$store.getters.xt_user.org.id == 9829){
2264
+              if (schedual.schedule_type == 1) {
2265
+              this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
2266
+            } else if (schedual.schedule_type == 2) {
2267
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2268
+            } else if (schedual.schedule_type == 3) {
2269
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:30'
2270
+            }
2263 2271
            } else {
2264 2272
             if (schedual.schedule_type == 1) {
2265 2273
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue Näytä tiedosto

@@ -1315,7 +1315,7 @@
1315 1315
                               </div>
1316 1316
                             </div>
1317 1317
                           </div>
1318
-                          <div
1318
+                          <!-- <div
1319 1319
                             class="row"
1320 1320
                             style="
1321 1321
                               padding: 2px 0;
@@ -1344,7 +1344,7 @@
1344 1344
                                 }}
1345 1345
                               </div>
1346 1346
                             </div>
1347
-                          </div>
1347
+                          </div> -->
1348 1348
                         </td>
1349 1349
                       </tr>
1350 1350
                     </tbody>

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Näytä tiedosto

@@ -944,8 +944,8 @@
944 944
                             : "/"
945 945
                         }}
946 946
                       </div>
947
-                      <span v-if="org_id == 10395">ml</span> 
948
-                      <span v-else>L</span>
947
+                      <span v-if="org_id == 10395 || org_id == 9829">ml</span> 
948
+                      <span v-if="org_id!=10395&&org_id!=9829">L</span>
949 949
                     </div>
950 950
                     <div class="inline_block" style="flex: 1">
951 951
                       干体重:
@@ -1052,14 +1052,14 @@
1052 1052
                         }}
1053 1053
                       </div>
1054 1054
                      
1055
-                     <span v-if="org_id!=9675 && org_id!=10447">
1055
+                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1056 1056
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1057 1057
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1058 1058
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1059 1059
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1060 1060
                     </span>
1061 1061
 
1062
-                    <span v-if="org_id==9675 || org_id==10447">
1062
+                    <span v-if="org_id==9675 || org_id==10447 || org_id==9829">
1063 1063
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1064 1064
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1065 1065
                       <span v-if="prescription.anticoagulant == 2">mg</span>
@@ -1098,7 +1098,7 @@
1098 1098
                             : "0"
1099 1099
                         }}
1100 1100
                       </div>
1101
-                      <span v-if="org_id!=9675 && org_id!=10447">
1101
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1102 1102
 
1103 1103
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1104 1104
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
@@ -1106,7 +1106,7 @@
1106 1106
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1107 1107
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1108 1108
                       </span>
1109
-                      <span v-if="org_id==9675 || org_id==10447">
1109
+                      <span v-if="org_id==9675 || org_id==10447 || org_id== 9829">
1110 1110
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1111 1111
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1112 1112
                           <span v-if="prescription.anticoagulant == 4">ml</span>
@@ -1171,13 +1171,13 @@
1171 1171
                             : "/"
1172 1172
                         }}
1173 1173
                       </div>
1174
-                      <span v-if="org_id!=9675 && org_id!=10447">
1174
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829">
1175 1175
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1176 1176
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1177 1177
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1178 1178
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1179 1179
                      </span>
1180
-                    <span v-if="org_id==9675 || org_id==10447">
1180
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829">
1181 1181
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1182 1182
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1183 1183
                        <span v-if="prescription.anticoagulant == 4">ml</span>

+ 1 - 1
src/xt_pages/workforce/components/template_table.vue Näytä tiedosto

@@ -2710,7 +2710,7 @@ export default {
2710 2710
         if (device_number.id == device_number_id) {
2711 2711
           var item = device_number[weekday + "_" + time_type];
2712 2712
           item.pid = 0;
2713
-          item.name = "";saveOrEdditTempData
2713
+          item.name = "";
2714 2714
           item.treat_mode_id = 0;
2715 2715
           item.treat_mode = "";
2716 2716
         }

+ 13 - 13
src/xt_permission.js Näytä tiedosto

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