Explorar el Código

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

yq1 hace 6 meses
padre
commit
b7911baa9f

+ 1 - 1
build/cdn.json Ver fichero

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "2999.999.1314"
2
+  "version": "2999.999.1315"
3 3
 }

+ 4 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue Ver fichero

@@ -3203,8 +3203,8 @@ export default {
3203 3203
       for (let i = 0; i < this.teamList.length; i++) {
3204 3204
         for (let a = 0; a < this.curPrescriptions.project.length; a++) {
3205 3205
           if (this.teamList[i].id == this.curPrescriptions.project[a].project_id && this.teamList[i].type == this.curPrescriptions.project[a].type) {
3206
-            this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
3207
-            return
3206
+            // this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
3207
+            // return
3208 3208
           }
3209 3209
         }
3210 3210
       }
@@ -3212,8 +3212,8 @@ export default {
3212 3212
       for (let i = 0; i < this.curDrugs.length; i++) {
3213 3213
         for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
3214 3214
           if (this.curDrugs[i].id == this.curPrescriptions.advices[a].id) {
3215
-            this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
3216
-            return
3215
+            // this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
3216
+            // return
3217 3217
 
3218 3218
           }
3219 3219
         }

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Ver fichero

@@ -3754,8 +3754,8 @@ export default {
3754 3754
       for (let i = 0; i < this.teamList.length; i++) {
3755 3755
         for (let a = 0; a < this.curPrescriptions.project.length; a++) {
3756 3756
           if (this.teamList[i].id == this.curPrescriptions.project[a].project_id && this.teamList[i].type == this.curPrescriptions.project[a].type) {
3757
-            this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
3758
-            return
3757
+            // this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
3758
+            // return
3759 3759
           }
3760 3760
         }
3761 3761
       }
@@ -3763,8 +3763,8 @@ export default {
3763 3763
       for (let i = 0; i < this.curDrugs.length; i++) {
3764 3764
         for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
3765 3765
           if (this.curDrugs[i].id == this.curPrescriptions.advices[a].id) {
3766
-            this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
3767
-            return
3766
+            // this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
3767
+            // return
3768 3768
 
3769 3769
           }
3770 3770
         }

+ 4 - 4
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue Ver fichero

@@ -1430,8 +1430,8 @@
1430 1430
         for (let i = 0; i < this.teamList.length; i++) {
1431 1431
           for (let a = 0; a < this.curPrescriptions.project.length; a++) {
1432 1432
             if (this.teamList[i].id == this.curPrescriptions.project[a].project_id) {
1433
-              this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
1434
-              return
1433
+              // this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
1434
+              // return
1435 1435
             }
1436 1436
           }
1437 1437
         }
@@ -1439,8 +1439,8 @@
1439 1439
         for (let i = 0; i < this.curDrugs.length; i++) {
1440 1440
           for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
1441 1441
             if (this.curDrugs[i].id == this.curPrescriptions.advices[a].id) {
1442
-              this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
1443
-              return
1442
+              // this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
1443
+              // return
1444 1444
 
1445 1445
             }
1446 1446
           }

+ 12 - 12
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Ver fichero

@@ -219,7 +219,7 @@
219 219
                                                 <template slot-scope="scope">{{ scope.row.type == 3?scope.row.zuobiao_stock_num :""}}</template>
220 220
                                               </el-table-column>
221 221
 
222
-                                           
222
+
223 223
 
224 224
 
225 225
                                                 <el-table-column label="规格" width="60">
@@ -228,13 +228,13 @@
228 228
                                                 <el-table-column label="单价" width="40">
229 229
                                                     <template slot-scope="scope">{{ scope.row.price }}</template>
230 230
                                                 </el-table-column>
231
-                                               
231
+
232 232
                                                 <el-table-column label="库存" width="60" v-if="org_id != 10206" >
233 233
                                                 <template slot-scope="scope">
234
-                                                  <span v-if="scope.row.type == 3">{{scope.row.sum_count}}</span> 
234
+                                                  <span v-if="scope.row.type == 3">{{scope.row.sum_count}}</span>
235 235
                                                 </template>
236 236
                                               </el-table-column>
237
-                                                
237
+
238 238
                                             </el-table>
239 239
                                         </div>
240 240
                                     </el-tab-pane>
@@ -1627,8 +1627,8 @@
1627 1627
         for (let i = 0; i < this.teamList.length; i++) {
1628 1628
           for (let a = 0; a < this.curPrescriptions.project.length; a++) {
1629 1629
             if (this.teamList[i].id == this.curPrescriptions.project[a].project_id) {
1630
-              this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
1631
-              return
1630
+              // this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
1631
+              // return
1632 1632
             }
1633 1633
           }
1634 1634
         }
@@ -1636,8 +1636,8 @@
1636 1636
         for (let i = 0; i < this.curDrugs.length; i++) {
1637 1637
           for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
1638 1638
             if (this.curDrugs[i].id == this.curPrescriptions.advices[a].id) {
1639
-              this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
1640
-              return
1639
+              // this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
1640
+              // return
1641 1641
 
1642 1642
             }
1643 1643
           }
@@ -1882,7 +1882,7 @@
1882 1882
                     tempAdvice.push(obj)
1883 1883
                   }
1884 1884
                   }
1885
-                
1885
+
1886 1886
                 }
1887 1887
                 //项目
1888 1888
                 for (let b = 0; b < prescription.project.length; b++) {
@@ -2134,7 +2134,7 @@
2134 2134
                     }
2135 2135
 
2136 2136
 
2137
-               
2137
+
2138 2138
                   }
2139 2139
                 }
2140 2140
                 // var preTime = nowTime
@@ -2198,7 +2198,7 @@
2198 2198
         getHisProject().then(response => {
2199 2199
           if (response.data.state == 1) {
2200 2200
             var project = response.data.data.project
2201
-            
2201
+
2202 2202
             for (let i = 0; i < project.length; i++) {
2203 2203
               let obj = {
2204 2204
                 id: project[i].id,
@@ -2594,7 +2594,7 @@
2594 2594
               min_str = (total % min_number) + min_unit;
2595 2595
               }
2596 2596
           }
2597
-         
2597
+
2598 2598
           if(max_str == "" && min_str == ""){
2599 2599
               return "0"
2600 2600
           }else{

+ 13 - 13
src/xt_permission.js Ver fichero

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