Browse Source

长沙南雅打印单问题修改

28169 1 year ago
parent
commit
2beaaaeb96

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

1366
 
1366
 
1367
     var date = this.$route.query && this.$route.query.date
1367
     var date = this.$route.query && this.$route.query.date
1368
     this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
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
   components: {
1373
   components: {
1371
     MultiSelectBox
1374
     MultiSelectBox

+ 29 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

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
     selectAllTemplateAdvice(selection) {
1623
     selectAllTemplateAdvice(selection) {
1595
       console.log("params",selection)
1624
       console.log("params",selection)

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

2260
             } else if (schedual.schedule_type == 3) {
2260
             } else if (schedual.schedule_type == 3) {
2261
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
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
            } else {
2271
            } else {
2264
             if (schedual.schedule_type == 1) {
2272
             if (schedual.schedule_type == 1) {
2265
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
2273
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

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

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

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

944
                             : "/"
944
                             : "/"
945
                         }}
945
                         }}
946
                       </div>
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
                     </div>
949
                     </div>
950
                     <div class="inline_block" style="flex: 1">
950
                     <div class="inline_block" style="flex: 1">
951
                       干体重:
951
                       干体重:
1052
                         }}
1052
                         }}
1053
                       </div>
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
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1056
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1057
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1057
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1058
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1058
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1059
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1059
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1060
                     </span>
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
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1063
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1064
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1064
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1065
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1065
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1098
                             : "0"
1098
                             : "0"
1099
                         }}
1099
                         }}
1100
                       </div>
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
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1103
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1104
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
1104
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
1106
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1106
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1107
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1107
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1108
                       </span>
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
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1110
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1111
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1111
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1112
                           <span v-if="prescription.anticoagulant == 4">ml</span>
1112
                           <span v-if="prescription.anticoagulant == 4">ml</span>
1171
                             : "/"
1171
                             : "/"
1172
                         }}
1172
                         }}
1173
                       </div>
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
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1175
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1176
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1176
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1177
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1177
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1178
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1178
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1179
                      </span>
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
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1181
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1182
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1182
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1183
                        <span v-if="prescription.anticoagulant == 4">ml</span>
1183
                        <span v-if="prescription.anticoagulant == 4">ml</span>

+ 1 - 1
src/xt_pages/workforce/components/template_table.vue View File

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

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