瀏覽代碼

Merge branch '2022-10-17_vue_schedule_branch' of http://git.shengws.com/csx/Vue_New into 20220812

XMLWAN 1 年之前
父節點
當前提交
f94fa1c11d

+ 9 - 8
src/xt_pages/hospitalStation/components/deskPrescription.vue 查看文件

@@ -541,6 +541,7 @@ export default {
541 541
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
542 542
       register: [
543 543
         { value: 11, label: '普通门诊' },
544
+        { value: 1102, label: '新冠门诊' },
544 545
         // { value: 12, label: '门诊挂号' },
545 546
         // { value: 13, label: '急诊' },
546 547
         { value: 14, label: '门诊特殊病' },
@@ -2364,7 +2365,7 @@ export default {
2364 2365
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2365 2366
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2366 2367
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2367
-                  
2368
+
2368 2369
 
2369 2370
                 }
2370 2371
 
@@ -2565,7 +2566,7 @@ export default {
2565 2566
                           if(this.prescriptions[i].project[j].type == 3){
2566 2567
                             project_arr.push(this.prescriptions[i].project[j])
2567 2568
                           }
2568
-                          
2569
+
2569 2570
                         }
2570 2571
                       }
2571 2572
                     }
@@ -2595,8 +2596,8 @@ export default {
2595 2596
                             }
2596 2597
                           }
2597 2598
                         }
2598
-                      
2599
-                        
2599
+
2600
+
2600 2601
                         for(let i=0;i<newProjectArr.length;i++){
2601 2602
                           for(let j=0;j<newProjectArr[i].child.length;j++){
2602 2603
                             newProjectArr[i].out_count += parseInt(newProjectArr[i].child[j].total)
@@ -2608,13 +2609,13 @@ export default {
2608 2609
                                 this.$message.error(newProjectArr[i].str + "库存不足,保存失败!")
2609 2610
                                 isLoading = false
2610 2611
                                 this.$emit('editKeepLoad', false)
2611
-                                return 
2612
-                          } 
2612
+                                return
2613
+                          }
2613 2614
                         }
2614 2615
 
2615
-                      }  
2616
+                      }
2616 2617
                     }
2617
-           
2618
+
2618 2619
                 }
2619 2620
                 createHisPrescription(data, params).then(response => {
2620 2621
                   if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/hospitalStation/components/registerDialog.vue 查看文件

@@ -219,6 +219,7 @@
219 219
       return {
220 220
         registers: [
221 221
           { value: 11, label: '普通门诊' },
222
+          { value: 1102, label: '新冠门诊' },
222 223
           // {value: 12, label: '门诊挂号'},
223 224
           // {value: 13, label: "急诊"},
224 225
           { value: 14, label: '门诊特殊病' }

+ 1 - 0
src/xt_pages/hospitalStation/components/registerDialog9504.vue 查看文件

@@ -186,6 +186,7 @@
186 186
         read_loading:false,
187 187
         registers: [
188 188
           {value: 11, label: "普通门诊"},
189
+          { value: 1102, label: '新冠门诊' },
189 190
           // {value: 12, label: '门诊挂号'},
190 191
           // {value: 13, label: "急诊"},
191 192
           {value: 14, label: "门诊特殊病"},

+ 1 - 0
src/xt_pages/outpatientCharges/components/registerDialog.vue 查看文件

@@ -237,6 +237,7 @@
237 237
       return {
238 238
         registers: [
239 239
           { value: 11, label: '普通门诊' },
240
+          { value: 1102, label: '新冠门诊' },
240 241
           // { value: 12, label: '门诊挂号' },
241 242
           // { value: 13, label: '急诊' },
242 243
           { value: 14, label: '门诊特殊病' },

+ 1 - 0
src/xt_pages/outpatientCharges/components/registerDialog9504.vue 查看文件

@@ -191,6 +191,7 @@
191 191
         read_loading:false,
192 192
         registers: [
193 193
           {value: 11, label: "普通门诊"},
194
+          { value: 1102, label: '新冠门诊' },
194 195
           // {value: 12, label: '门诊挂号'},
195 196
           // {value: 13, label: "急诊"},
196 197
           {value: 14, label: "门诊特殊病"},

+ 7 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

@@ -975,6 +975,7 @@ export default {
975 975
       // ],
976 976
       register: [
977 977
         { value: 11, label: '普通门诊' },
978
+        { value: 1102, label: '新冠门诊' },
978 979
         { value: 14, label: '门诊特殊病' },
979 980
         { value: '9922', label: '家庭通道' },
980 981
         { value: '1111', label: '精一' },
@@ -984,6 +985,7 @@ export default {
984 985
 
985 986
       registerThree: [
986 987
         { value: 11, label: '普通门诊' },
988
+        { value: 1102, label: '新冠门诊' },
987 989
         { value: 14, label: '门诊特殊病' },
988 990
         { value: '9922', label: '家庭通道' },
989 991
         { value: '9933', label: '门诊特殊病(9933)' },
@@ -996,6 +998,7 @@ export default {
996 998
       ],
997 999
       register_two: [
998 1000
         { value: '11', label: '普通门诊' },
1001
+        { value: '1102', label: '新冠门诊' },
999 1002
         { value: '14', label: '门诊特殊病' },
1000 1003
         { value: '9922', label: '家庭通道' },
1001 1004
         { value: '9933', label: '门诊特殊病(9933)' },
@@ -4330,6 +4333,10 @@ export default {
4330 4333
         case 11:
4331 4334
           return '普通门诊' + '处方' + index
4332 4335
 
4336
+          break
4337
+        case 1102:
4338
+          return '新冠门诊' + '处方' + index
4339
+
4333 4340
           break
4334 4341
         case 12:
4335 4342
           return '门诊挂号' + '处方' + index

+ 17 - 13
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -537,7 +537,9 @@
537 537
         start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
538 538
         end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
539 539
         register: [
540
+
540 541
           { value: 11, label: '普通门诊' },
542
+          { value: 1102, label: '新冠门诊' },
541 543
           { value: 14, label: '门诊特殊病' },
542 544
           { value: 9922, label: '家庭通道' },
543 545
           { value: 9933, label: '门诊特殊病(9933)' },
@@ -552,6 +554,8 @@
552 554
         ],
553 555
         medical_care: [
554 556
           { value: 11, label: '普通门诊' },
557
+          { value: 1102, label: '新冠门诊' },
558
+
555 559
           { value: 12, label: '家庭通道' },
556 560
           { value: 13, label: '门诊大病' },
557 561
           { value: 14, label: '重疾特药' },
@@ -2366,7 +2370,7 @@
2366 2370
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2367 2371
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2368 2372
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2369
-                 
2373
+
2370 2374
 
2371 2375
                 }
2372 2376
 
@@ -2423,9 +2427,9 @@
2423 2427
               if (num == 0) {
2424 2428
                 var arr = []//新增处方
2425 2429
                 var arr_one = []
2426
-               
2430
+
2427 2431
                 console.log("ooo233323233232323232",this.prescriptions)
2428
-                
2432
+
2429 2433
                //药品
2430 2434
                 for(let i=0;i<this.prescriptions.length;i++){
2431 2435
                   if(this.prescriptions[i].id == 0){
@@ -2557,11 +2561,11 @@
2557 2561
 
2558 2562
                         }
2559 2563
                       }
2560
-                     
2564
+
2561 2565
                     }
2562 2566
                   }
2563 2567
                 }
2564
-               
2568
+
2565 2569
                if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2566 2570
                   var project_arr = []
2567 2571
                   //耗材
@@ -2571,7 +2575,7 @@
2571 2575
                         if(this.prescriptions[i].project[j].type ==3){
2572 2576
                           project_arr.push(this.prescriptions[i].project[j])
2573 2577
                         }
2574
-                        
2578
+
2575 2579
                       }
2576 2580
                     }
2577 2581
                   }
@@ -2601,8 +2605,8 @@
2601 2605
                           }
2602 2606
                         }
2603 2607
                       }
2604
-                    
2605
-                      
2608
+
2609
+
2606 2610
                       for(let i=0;i<newProjectArr.length;i++){
2607 2611
                         for(let j=0;j<newProjectArr[i].child.length;j++){
2608 2612
                           newProjectArr[i].out_count += parseInt(newProjectArr[i].child[j].total)
@@ -2614,13 +2618,13 @@
2614 2618
                               this.$message.error(newProjectArr[i].str + "库存不足,保存失败!")
2615 2619
                               isLoading = false
2616 2620
                               this.$emit('editKeepLoad', false)
2617
-                              return 
2618
-                        } 
2621
+                              return
2622
+                        }
2619 2623
                       }
2620
-                      
2624
+
2621 2625
                     }
2622 2626
                }
2623
-           
2627
+
2624 2628
                 createHisPrescription(data, params).then(response => {
2625 2629
                   if (response.data.state == 1) {
2626 2630
                     this.$emit('change', this.patientInfo.id)
@@ -2697,7 +2701,7 @@
2697 2701
                   month_prescriptions[i].project[b].total = month_prescriptions[i].project[b].total.toString()
2698 2702
                   month_prescriptions[i].project[b].delivery_way = month_prescriptions[i].project[b].delivery_way.toString()
2699 2703
 
2700
-                  
2704
+
2701 2705
 
2702 2706
                 }
2703 2707