陈少旭 2 dienas atpakaļ
vecāks
revīzija
f549e572a4

+ 8 - 8
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Parādīt failu

@@ -186,14 +186,14 @@
186 186
                   </el-option>
187 187
                 </el-select>
188 188
 
189
-                <el-select v-if="org_id == 10721 || org_id == 0" style="width:100%;" v-model="item.diagnose" placeholder="" multiple filterable  placeholder="诊断">
190
-                  <el-option
191
-                    v-for="(item,index) in diagnoses"
192
-                    :key="index"
193
-                    :label="item.class_name"
194
-                    :value="item.id">
195
-                  </el-option>
196
-                </el-select>
189
+<!--                <el-select v-if="org_id == 10721 || org_id == 0" style="width:100%;" v-model="item.diagnose" placeholder="" multiple filterable  placeholder="诊断">-->
190
+<!--                  <el-option-->
191
+<!--                    v-for="(item,index) in diagnoses"-->
192
+<!--                    :key="index"-->
193
+<!--                    :label="item.class_name"-->
194
+<!--                    :value="item.id">-->
195
+<!--                  </el-option>-->
196
+<!--                </el-select>-->
197 197
 
198 198
                 <el-select v-if="org_id == 10726" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
199 199
                            @change="changevalue">

+ 230 - 29
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Parādīt failu

@@ -24,8 +24,18 @@
24 24
           <p style="font-size:14px;">未就诊:<span>{{ cal_one }}</span>人</p>
25 25
           <p style="font-size:14px;">已就诊:<span>{{ cal_two }}</span>人</p>
26 26
         </div>
27
+
28
+
27 29
         <div class="mainCell">
28
-          <el-radio-group v-model="schedule_type" @change="changeScheduleType">
30
+          <el-radio-group v-model="patient_type" @change="changePatientType">
31
+            <el-radio :label="1">血透</el-radio>
32
+            <el-radio :label="2">腹透</el-radio>
33
+          </el-radio-group>
34
+        </div>
35
+
36
+
37
+        <div class="mainCell">
38
+          <el-radio-group v-model="schedule_type" v-if="patient_type == 1" @change="changeScheduleType">
29 39
             <el-radio :label="1">上午</el-radio>
30 40
             <el-radio :label="2">下午</el-radio>
31 41
             <el-radio :label="3">晚上</el-radio>
@@ -748,6 +758,7 @@ export default {
748 758
       cal_two: 0,
749 759
       radio: 1,
750 760
       schedule_type: 0,
761
+      patient_type:1,
751 762
       record_date: '',
752 763
       crumbs: [
753 764
         { path: false, name: '门诊医生站' },
@@ -929,6 +940,7 @@ export default {
929 940
       let params = {
930 941
         'record_date': this.record_date,
931 942
         'type': this.radio,
943
+        'patient_type':this.patient_type,
932 944
         'sch_type': this.schedule_type
933 945
 
934 946
       }
@@ -1152,6 +1164,8 @@ export default {
1152 1164
       let params = {
1153 1165
         'record_date': this.record_date,
1154 1166
         'type': this.radio,
1167
+        'patient_type':this.patient_type,
1168
+
1155 1169
         'sch_type': this.schedule_type
1156 1170
       }
1157 1171
       this.un_cure_data = []
@@ -1271,7 +1285,127 @@ export default {
1271 1285
           }
1272 1286
         }
1273 1287
       })
1274
-    }, changeScheduleType() {
1288
+    }, changePatientType(){
1289
+      let params = {
1290
+        'record_date': this.record_date,
1291
+        'type': this.radio,
1292
+        'patient_type':this.patient_type,
1293
+        'sch_type': this.schedule_type
1294
+      }
1295
+      this.un_cure_data = []
1296
+      this.cure_data = []
1297
+      this.all_data = []
1298
+
1299
+      getSchedulePatientList(params).then(response => {
1300
+        if (response.data.state == 0) {
1301
+          this.$message.error(response.data.msg)
1302
+          return false
1303
+        } else {
1304
+          //挂号
1305
+          for (let i = 0; i < response.data.data.list.length; i++) {
1306
+            for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
1307
+              //未就诊
1308
+              if (response.data.data.list[i].his_patient[b].prescription.length == 0) {
1309
+                let obj = {
1310
+                  name: response.data.data.list[i].his_patient[b].name,
1311
+                  number: response.data.data.list[i].his_patient[b].number,
1312
+                  id: response.data.data.list[i].id,
1313
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1314
+                  first_letter: response.data.data.list[i].first_letter
1315
+                }
1316
+                this.un_cure_data.push(obj)
1317
+              }
1318
+              //已就诊
1319
+              if (response.data.data.list[i].his_patient[b].prescription.length > 0) {
1320
+                let obj = {
1321
+                  name: response.data.data.list[i].his_patient[b].name,
1322
+                  number: response.data.data.list[i].his_patient[b].number,
1323
+                  id: response.data.data.list[i].id,
1324
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
1325
+                  first_letter: response.data.data.list[i].first_letter
1326
+                }
1327
+                this.cure_data.push(obj)
1328
+              }
1329
+            }
1330
+          }
1331
+
1332
+          //排班
1333
+          for (let i = 0; i < response.data.data.list_two.length; i++) {
1334
+            //未就诊
1335
+            if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
1336
+              let obj = {
1337
+                name: response.data.data.list_two[i].name,
1338
+                number: response.data.data.list_two[i].his_patient.number,
1339
+                id: response.data.data.list_two[i].id,
1340
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1341
+                first_letter: response.data.data.list_two[i].first_letter
1342
+              }
1343
+              this.un_cure_data.push(obj)
1344
+            }
1345
+
1346
+            //已就诊
1347
+            if (response.data.data.list_two[i].prescription.length > 0 && response.data.data.list_two[i].his_patient.id == 0) {
1348
+              let obj = {
1349
+                name: response.data.data.list_two[i].name,
1350
+                number: response.data.data.list_two[i].his_patient.number,
1351
+                id: response.data.data.list_two[i].id,
1352
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
1353
+                first_letter: response.data.data.list_two[i].first_letter
1354
+              }
1355
+              this.cure_data.push(obj)
1356
+            }
1357
+          }
1358
+
1359
+          // for (let i = 0; i < response.data.data.list_three.length; i++) {
1360
+          //   //已就诊
1361
+          //   if (response.data.data.list_three[i].prescription.length > 0) {
1362
+          //     let obj = {
1363
+          //       name: response.data.data.list_three[i].name,
1364
+          //       number: "",
1365
+          //       id: response.data.data.list_three[i].id,
1366
+          //       his_patient_id: 0,
1367
+          //       first_letter: response.data.data.list_three[i].first_letter
1368
+          //     }
1369
+          //     this.cure_data.push(obj)
1370
+          //   }
1371
+          // }
1372
+
1373
+          this.all_data = this.all_data.concat(this.cure_data)
1374
+          this.all_data = this.all_data.concat(this.un_cure_data)
1375
+
1376
+          this.cure_data_two = this.cure_data
1377
+          this.un_cure_data_two = this.un_cure_data
1378
+          this.all_data_two = this.all_data
1379
+
1380
+          this.cal_one = this.un_cure_data.length
1381
+          this.cal_two = this.cure_data.length
1382
+          this.admin_info = response.data.data.info
1383
+          if (this.un_cure_data.length > 0) {
1384
+            if (this.radio == 0) {
1385
+              this.$refs.tab.setCurrentRow(this.all_data[0])
1386
+              this.oldCurrentRow = this.all_data[0]
1387
+              this.getPatientInfo(this.all_data[0])
1388
+            } else if (this.radio == 1) {
1389
+
1390
+              this.$refs.tab.setCurrentRow(this.un_cure_data[0])
1391
+              this.oldCurrentRow = this.un_cure_data[0]
1392
+              this.getPatientInfo(this.un_cure_data[0])
1393
+
1394
+            } else if (this.radio == 2) {
1395
+
1396
+              this.$refs.tab.setCurrentRow(this.cure_data[0])
1397
+              this.oldCurrentRow = this.cure_data[0]
1398
+              this.getPatientInfo(this.cure_data[0])
1399
+
1400
+            }
1401
+
1402
+          }
1403
+        }
1404
+      })
1405
+
1406
+
1407
+
1408
+    },changeScheduleType() {
1275 1409
       let params = {
1276 1410
         'record_date': this.record_date,
1277 1411
         'type': this.radio,
@@ -1820,10 +1954,8 @@ export default {
1820 1954
                 first_letter: response.data.data.list_two[i].first_letter,
1821 1955
                 patient_type: response.data.data.list_two[i].patient_type
1822 1956
               }
1823
-              // console.log('6666',obj);
1824 1957
               this.un_cure_data.push(obj)
1825 1958
             }
1826
-
1827 1959
             //已就诊
1828 1960
             if (response.data.data.list_two[i].prescription.length > 0 && response.data.data.list_two[i].his_patient.id == 0) {
1829 1961
               let obj = {
@@ -1837,7 +1969,6 @@ export default {
1837 1969
               this.cure_data.push(obj)
1838 1970
             }
1839 1971
           }
1840
-
1841 1972
           //挂号
1842 1973
           for (let i = 0; i < response.data.data.list.length; i++) {
1843 1974
             for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
@@ -1869,20 +2000,6 @@ export default {
1869 2000
             }
1870 2001
           }
1871 2002
 
1872
-          // for (let i = 0; i < response.data.data.list_three.length; i++) {
1873
-          //     //已就诊
1874
-          //     if (response.data.data.list_three[i].prescription.length > 0) {
1875
-          //       let obj = {
1876
-          //         name: response.data.data.list_three[i].name,
1877
-          //         number: "",
1878
-          //         id: response.data.data.list_three[i].id,
1879
-          //         his_patient_id: 0,
1880
-          //         first_letter: response.data.data.list_three[i].first_letter
1881
-          //       }
1882
-          //       this.cure_data.push(obj)
1883
-          //     }
1884
-          // }
1885
-
1886 2003
           this.all_data = this.all_data.concat(this.cure_data)
1887 2004
           this.all_data = this.all_data.concat(this.un_cure_data)
1888 2005
 
@@ -2210,8 +2327,6 @@ export default {
2210 2327
               }
2211 2328
 
2212 2329
 
2213
-
2214
-
2215 2330
               let index = i + 1
2216 2331
               let obj = {
2217 2332
                 id: prescription.id,
@@ -2219,16 +2334,21 @@ export default {
2219 2334
                 advices: tempAdvice,
2220 2335
                 project: tempProject,
2221 2336
                 addition: tempAddition,
2337
+                diagnose: "",
2222 2338
                 order_status: prescription.order_status,
2223 2339
                 pre_time: preTime,
2224 2340
                 med_type: parseInt(prescription.med_type),
2225 2341
                 is_medicine_status: is_medicine
2226 2342
               }
2343
+              if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
2344
+                obj.diagnose = 2465
2345
+              }
2227 2346
               this.prescriptions.push(obj)
2228 2347
             }
2229 2348
 
2230 2349
           } else {
2231
-            console.log("----======0000000")
2350
+            console.log("00000000000000")
2351
+
2232 2352
             if (response.data.data.count <= 1 && response.data.data.schedule.id > 0 && response.data.data.sch_prescriptions.length > 0) {
2233 2353
               for (let i = 0; i < response.data.data.sch_prescriptions.length; i++) {
2234 2354
                 var prescription = response.data.data.sch_prescriptions[i]
@@ -2253,6 +2373,12 @@ export default {
2253 2373
 
2254 2374
               for (let i = 0; i < response.data.data.sch_prescriptions.length; i++) {
2255 2375
                 var prescription = response.data.data.sch_prescriptions[i]
2376
+
2377
+                console.log("-----======-0-----------")
2378
+                console.log(prescription)
2379
+                console.log("-----======-0-----------")
2380
+
2381
+
2256 2382
                 let tempAdvice = []
2257 2383
                 let tempProject = []
2258 2384
                 let tempAddition = []
@@ -2337,6 +2463,7 @@ export default {
2337 2463
                     obj['project'] = prescription.project[b].project
2338 2464
 
2339 2465
                   } else if (prescription.project[b].type == 3) {
2466
+                    console.log("-----======-0-----------")
2340 2467
                     obj['statistical_classification'] = ''
2341 2468
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
2342 2469
                     obj['project_name'] = prescription.project[b].good_info.good_name
@@ -2415,6 +2542,7 @@ export default {
2415 2542
                   project: tempProject,
2416 2543
                   addition: tempAddition,
2417 2544
                   order_status: 1,
2545
+                  diagnose:"",
2418 2546
                   pre_time: preTime,
2419 2547
                   med_type: '',
2420 2548
                   is_medicine_status: false
@@ -2438,6 +2566,16 @@ export default {
2438 2566
                   } else {
2439 2567
                     obj.med_type = 1
2440 2568
                   }
2569
+                }else{
2570
+                  if (this.org_id == 10721){
2571
+
2572
+                    obj.med_type = 992102
2573
+                  }
2574
+
2575
+                }
2576
+
2577
+                if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
2578
+                  obj.diagnose = 2465
2441 2579
                 }
2442 2580
 
2443 2581
                 this.prescriptions.push(obj)
@@ -2482,6 +2620,7 @@ export default {
2482 2620
                 advices: [],
2483 2621
                 project: [],
2484 2622
                 addition: [],
2623
+                diagnose:"",
2485 2624
                 order_status: 0,
2486 2625
                 pre_time: preTime,
2487 2626
                 med_type: '',
@@ -2498,6 +2637,9 @@ export default {
2498 2637
                 obj.med_type = 1
2499 2638
 
2500 2639
               }
2640
+              if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
2641
+                obj.diagnose = 2465
2642
+              }
2501 2643
               this.prescriptions.push(obj)
2502 2644
 
2503 2645
             }
@@ -2839,9 +2981,13 @@ export default {
2839 2981
                       addition: tempAddition,
2840 2982
                       order_status: prescription.order_status,
2841 2983
                       pre_time: preTime,
2984
+                      diagnose:"",
2842 2985
                       med_type: parseInt(prescription.med_type),
2843 2986
                       is_medicine_status: is_medicine
2844 2987
                     }
2988
+                    if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
2989
+                      obj.diagnose = 2465
2990
+                    }
2845 2991
                     this.prescriptions.push(obj)
2846 2992
                   }
2847 2993
                 } else {
@@ -3038,6 +3184,7 @@ export default {
3038 3184
                         addition: tempAddition,
3039 3185
                         order_status: 1,
3040 3186
                         pre_time: preTime,
3187
+                        diagnose:"",
3041 3188
                         med_type: ''
3042 3189
 
3043 3190
                       }
@@ -3050,6 +3197,8 @@ export default {
3050 3197
 
3051 3198
                           obj.med_type = parseInt(prescription.med_type)
3052 3199
                         }
3200
+
3201
+
3053 3202
                         if (obj.med_type == 0 || obj.med_type == '') {
3054 3203
 
3055 3204
                           obj.med_type = 14
@@ -3060,6 +3209,9 @@ export default {
3060 3209
                           obj.med_type = 992102
3061 3210
                         }
3062 3211
                       }
3212
+                      if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
3213
+                        obj.diagnose = 2465
3214
+                      }
3063 3215
                       this.prescriptions.push(obj)
3064 3216
                     }
3065 3217
 
@@ -3098,6 +3250,7 @@ export default {
3098 3250
                       project: [],
3099 3251
                       addition: [],
3100 3252
                       order_status: 0,
3253
+                      diagnose:"",
3101 3254
                       pre_time: preTime,
3102 3255
                       med_type: ''
3103 3256
 
@@ -3110,6 +3263,9 @@ export default {
3110 3263
                         obj.med_type = 992102
3111 3264
                       }
3112 3265
                     }
3266
+                    if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
3267
+                      obj.diagnose = 2465
3268
+                    }
3113 3269
 
3114 3270
                     this.prescriptions.push(obj)
3115 3271
 
@@ -3501,10 +3657,14 @@ export default {
3501 3657
                       advices: tempAdvice,
3502 3658
                       project: tempProject,
3503 3659
                       addition: tempAddition,
3660
+                      diagnose:"",
3504 3661
                       order_status: prescription.order_status,
3505 3662
                       pre_time: preTime,
3506 3663
                       med_type: parseInt(prescription.med_type)
3507 3664
                     }
3665
+                    if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
3666
+                      obj.diagnose = 2465
3667
+                    }
3508 3668
                     this.prescriptions.push(obj)
3509 3669
                   }
3510 3670
                 } else {
@@ -3665,6 +3825,7 @@ export default {
3665 3825
                         project: tempProject,
3666 3826
                         addition: tempAddition,
3667 3827
                         order_status: 1,
3828
+                        diagnose:"",
3668 3829
                         pre_time: preTime,
3669 3830
                         med_type: ''
3670 3831
 
@@ -3686,6 +3847,9 @@ export default {
3686 3847
                           obj.med_type = 992102
3687 3848
                         }
3688 3849
                       }
3850
+                      if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
3851
+                        obj.diagnose = 2465
3852
+                      }
3689 3853
                       this.prescriptions.push(obj)
3690 3854
                     }
3691 3855
 
@@ -3725,7 +3889,8 @@ export default {
3725 3889
                       addition: [],
3726 3890
                       order_status: 0,
3727 3891
                       pre_time: preTime,
3728
-                      med_type: ''
3892
+                      med_type: '',
3893
+                      diagnose:"",
3729 3894
 
3730 3895
                     }
3731 3896
                     if (this.org_id != 10206) {
@@ -3736,6 +3901,9 @@ export default {
3736 3901
                       }
3737 3902
                     }
3738 3903
 
3904
+                    if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
3905
+                      obj.diagnose = 2465
3906
+                    }
3739 3907
                     this.prescriptions.push(obj)
3740 3908
 
3741 3909
                     // if(response.data.data.count <= 1 ){
@@ -4115,9 +4283,13 @@ export default {
4115 4283
                     project: tempProject,
4116 4284
                     addition: tempAddition,
4117 4285
                     order_status: prescription.order_status,
4286
+                    diagnose:"",
4118 4287
                     pre_time: preTime,
4119 4288
                     med_type: parseInt(prescription.med_type)
4120 4289
                   }
4290
+                  if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
4291
+                    obj.diagnose = 2465
4292
+                  }
4121 4293
                   this.prescriptions.push(obj)
4122 4294
                 }
4123 4295
               } else {
@@ -4276,6 +4448,7 @@ export default {
4276 4448
                       addition: tempAddition,
4277 4449
                       order_status: 1,
4278 4450
                       pre_time: preTime,
4451
+                      diagnose:"",
4279 4452
                       med_type: ''
4280 4453
 
4281 4454
                     }
@@ -4297,6 +4470,9 @@ export default {
4297 4470
                         obj.med_type = 992102
4298 4471
                       }
4299 4472
                     }
4473
+                    if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
4474
+                      obj.diagnose = 2465
4475
+                    }
4300 4476
                     this.prescriptions.push(obj)
4301 4477
                   }
4302 4478
 
@@ -4336,7 +4512,8 @@ export default {
4336 4512
                     addition: [],
4337 4513
                     order_status: 0,
4338 4514
                     pre_time: preTime,
4339
-                    med_type: ''
4515
+                    med_type: '',
4516
+                    diagnose:"",
4340 4517
 
4341 4518
                   }
4342 4519
 
@@ -4348,6 +4525,10 @@ export default {
4348 4525
                     }
4349 4526
                   }
4350 4527
 
4528
+                  if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
4529
+                    obj.diagnose = 2465
4530
+                  }
4531
+
4351 4532
                   this.prescriptions.push(obj)
4352 4533
 
4353 4534
                   // if(response.data.data.count <= 1 ){
@@ -4860,8 +5041,13 @@ export default {
4860 5041
                       order_status: prescription.order_status,
4861 5042
                       pre_time: preTime,
4862 5043
                       med_type: parseInt(prescription.med_type),
4863
-                      is_medicine_status: is_medicine
5044
+                      is_medicine_status: is_medicine,
5045
+                      diagnose:"",
5046
+
4864 5047
 
5048
+                    }
5049
+                    if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
5050
+                      obj.diagnose = 2465
4865 5051
                     }
4866 5052
                     this.prescriptions.push(obj)
4867 5053
                   }
@@ -5053,6 +5239,7 @@ export default {
5053 5239
                         project: tempProject,
5054 5240
                         addition: tempAddition,
5055 5241
                         order_status: 1,
5242
+                        diagnose:"",
5056 5243
                         pre_time: preTime,
5057 5244
                         med_type: ''
5058 5245
 
@@ -5082,6 +5269,9 @@ export default {
5082 5269
                           obj.med_type = 1
5083 5270
                         }
5084 5271
                       }
5272
+                      if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
5273
+                        obj.diagnose = 2465
5274
+                      }
5085 5275
                       this.prescriptions.push(obj)
5086 5276
                     }
5087 5277
 
@@ -5122,6 +5312,7 @@ export default {
5122 5312
                       project: [],
5123 5313
                       addition: [],
5124 5314
                       order_status: 0,
5315
+                      diagnose:"",
5125 5316
                       pre_time: preTime,
5126 5317
                       med_type: ''
5127 5318
 
@@ -5135,7 +5326,9 @@ export default {
5135 5326
                     }else{
5136 5327
                       obj.med_type = 1
5137 5328
                     }
5138
-
5329
+                    if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
5330
+                      obj.diagnose = 2465
5331
+                    }
5139 5332
                     this.prescriptions.push(obj)
5140 5333
 
5141 5334
                   }
@@ -5539,10 +5732,14 @@ export default {
5539 5732
                       addition: tempAddition,
5540 5733
                       order_status: prescription.order_status,
5541 5734
                       pre_time: preTime,
5735
+                      diagnose:"",
5542 5736
                       med_type: parseInt(prescription.med_type),
5543 5737
                       is_medicine_status: is_medicine
5544 5738
 
5545 5739
                     }
5740
+                    if (parseInt(prescription.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
5741
+                      obj.diagnose = 2465
5742
+                    }
5546 5743
                     this.prescriptions.push(obj)
5547 5744
                   }
5548 5745
                 } else {
@@ -5734,6 +5931,7 @@ export default {
5734 5931
                         project: tempProject,
5735 5932
                         addition: tempAddition,
5736 5933
                         order_status: 1,
5934
+                        diagnose:"",
5737 5935
                         pre_time: preTime,
5738 5936
                         med_type: ''
5739 5937
 
@@ -5762,6 +5960,9 @@ export default {
5762 5960
 
5763 5961
                         }
5764 5962
                       }
5963
+                      if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
5964
+                        obj.diagnose = 2465
5965
+                      }
5765 5966
                       this.prescriptions.push(obj)
5766 5967
                     }
5767 5968
 
@@ -5820,12 +6021,12 @@ export default {
5820 6021
                       obj.med_type = 1
5821 6022
 
5822 6023
                     }
5823
-
6024
+                    if (parseInt(obj.med_type) == 992012 && (this.org_id == 10271 || this.org_id == 0)){
6025
+                      obj.diagnose = 2465
6026
+                    }
5824 6027
                     this.prescriptions.push(obj)
5825
-
5826 6028
                   }
5827 6029
                 }
5828
-
5829 6030
                 this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info, this.sick, this.diagnosis, this.patient_diagnoses)
5830 6031
               }
5831 6032
             })