Browse Source

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

yq1 1 year ago
parent
commit
dc4ab9ff5a

+ 25 - 1
src/xt_pages/data/prescription.vue View File

@@ -393,6 +393,24 @@
393 393
                     </el-form-item>
394 394
                   </el-col>
395 395
 
396
+                  <el-col :span="8">
397
+                    <el-form-item label="血管通路部位:">
398
+                      <el-select
399
+                        v-model="addPlan.blood_access_part_id"
400
+                        placeholder="请选择"
401
+                      >
402
+                        <el-option :key="1" label="请选择" :value="0"></el-option>
403
+
404
+                        <el-option
405
+                          v-for="(option, index) in blood_access_part"
406
+                          :key="index"
407
+                          :label="option.name"
408
+                          :value="option.name"
409
+                        ></el-option>
410
+                      </el-select>
411
+                    </el-form-item>
412
+                  </el-col>
413
+
396 414
                   <el-col :span="8">
397 415
                     <el-form-item label="血管通路:">
398 416
                       <el-select
@@ -849,7 +867,8 @@ export default {
849 867
         ultrafiltration: "",
850 868
         blood_access: "",
851 869
         dialysis_dialyszers:"",
852
-        dialysis_irrigation:""
870
+        dialysis_irrigation:"",
871
+        blood_access_part_id:"",
853 872
       },
854 873
       system_prescription: [],
855 874
       isEdit: false,
@@ -880,6 +899,7 @@ export default {
880 899
       blood_access_option: [],
881 900
       dialysis_dialyszers:"",
882 901
       dialysis_irrigation:"",
902
+      blood_access_part:[],
883 903
     };
884 904
   },
885 905
   computed: {},
@@ -994,6 +1014,7 @@ export default {
994 1014
         stockType:[],
995 1015
         irrigations:[],
996 1016
         dialyzers:[],
1017
+        blood_access_part_id:"",
997 1018
       };
998 1019
 
999 1020
       for (const key in tempAddPlan) {
@@ -1055,6 +1076,7 @@ export default {
1055 1076
           this.addPlan.dialysis_irrigation = prescription.dialysis_irrigation
1056 1077
           this.dialysis_dialyszers = prescription.dialysis_dialyszers
1057 1078
           this.dialysis_irrigation = prescription.dialysis_irrigation
1079
+          this.addPlan.blood_access_part_id = prescription.blood_access_part_id
1058 1080
         }
1059 1081
       });
1060 1082
     },
@@ -1199,6 +1221,8 @@ export default {
1199 1221
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1200 1222
     this.blood_access_option = getDataConfig('hemodialysis', 'vascular_access_desc')
1201 1223
     console.log("列表33333333血管通路",this.blood_access_option)
1224
+
1225
+    this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
1202 1226
     this.addPlan.mode = 1;
1203 1227
     this.dialyzerPerfusionApparatus = getDataConfig(
1204 1228
       'hemodialysis',

+ 6 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -391,6 +391,12 @@
391 391
           <span v-if="this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29" class="unit">{{ displace_liqui != "0" ? "ml" : "" }}</span>
392 392
         </li>
393 393
 
394
+        <li v-if="isShow('血管通路部位')">
395
+          <label>血管通路部位: </label>
396
+          <span class="content">{{ this.prescription.blood_access_part_id }}</span>
397
+          <span class="unit"></span>
398
+        </li>
399
+
394 400
         <li v-if="isShow('血管通路')">
395 401
           <label>血管通路: </label>
396 402
           <span class="content">{{ blood_access }}</span>

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

@@ -1600,7 +1600,7 @@ export default {
1600 1600
         }
1601 1601
       }
1602 1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10580){
1604 1604
          var date = new Date()
1605 1605
           var year = date.getFullYear()
1606 1606
           var month = date.getMonth() + 1

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

@@ -889,6 +889,13 @@
889 889
                         </el-form-item>
890 890
                     </el-col>
891 891
 
892
+                    <el-col :span="8">
893
+                      <el-form-item label="血管通路部位: " :prop="isName('血管通路部位')"
894
+                        :rules="isCheckmust('血管通路部位')" v-if="isShows('血管通路部位')">
895
+                        <el-input v-model="dialysisPrescription.blood_access_part_id" readonly @focus="showInnerDialog('17')"></el-input>
896
+                      </el-form-item>
897
+                    </el-col>
898
+
892 899
                     <el-col :span="8" v-if="isShows('血管通路')">
893 900
                         <el-form-item label="血管通路:" prop="blood_access" :rules="isCheckmust('血管通路')">
894 901
                             <el-select
@@ -1735,6 +1742,7 @@
1735 1742
           chaptalization:"",
1736 1743
           warsh_count:"",
1737 1744
           washing_time:"",
1745
+          blood_access_part_id:""
1738 1746
         },
1739 1747
 
1740 1748
         anticoagulant: {
@@ -1786,6 +1794,7 @@
1786 1794
         infoDialogVisible:false,
1787 1795
         selected_date:"",
1788 1796
         remark:"",
1797
+        blood_access_part: [],
1789 1798
       }
1790 1799
 
1791 1800
     },
@@ -1882,6 +1891,14 @@ mu
1882 1891
             this.InnerDialogProps.type = 'dialysis_strainer'
1883 1892
             this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_strainer
1884 1893
             this.InnerDialogProps.isShowTextArea = false
1894
+            break
1895
+          case '17': // 水肿
1896
+            this.InnerDialogProps.values = this.blood_access_part
1897
+            this.InnerDialogProps.titles = '血管通路部位'
1898
+            this.InnerDialogProps.type = 'blood_access_part_id'
1899
+            this.InnerDialogProps.selected = this.dialysisPrescription.blood_access_part_id
1900
+            this.InnerDialogProps.isShowTextArea = false
1901
+
1885 1902
             break
1886 1903
         }
1887 1904
       },
@@ -1963,6 +1980,9 @@ mu
1963 1980
           case 'dialysis_strainer':
1964 1981
             this.dialysisPrescription.dialysis_strainer = val.value.join(',')
1965 1982
             break
1983
+          case 'blood_access_part_id':
1984
+            this.dialysisPrescription.blood_access_part_id = val.value.join(',')
1985
+           break
1966 1986
         }
1967 1987
       },
1968 1988
       innerDialogCancle: function() {
@@ -2616,6 +2636,14 @@ mu
2616 2636
             } else if (schedual.schedule_type == 3) {
2617 2637
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2618 2638
             }
2639
+           }else if(this.$store.getters.xt_user.org.id == 10580){
2640
+              if (schedual.schedule_type == 1) {
2641
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2642
+            } else if (schedual.schedule_type == 2) {
2643
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2644
+            } else if (schedual.schedule_type == 3) {
2645
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2646
+            }
2619 2647
            }else if(this.$store.getters.xt_user.org.id == 10517){
2620 2648
               if (schedual.schedule_type == 1) {
2621 2649
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
@@ -5047,12 +5075,15 @@ mu
5047 5075
       console.log("schedual232323323232323232",this.adminRoles)
5048 5076
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5049 5077
 
5078
+      this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5050 5079
       this.plasmaSeparatorList = getDataConfig('hemodialysis', 'plasma_separator')
5051 5080
 
5052 5081
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
5053 5082
 
5054 5083
 
5055 5084
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5085
+
5086
+     
5056 5087
       console.log("透析准备232323232323wo",this.educationList)
5057 5088
     }
5058 5089
   }

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

@@ -1165,8 +1165,8 @@
1165 1165
                         style="width: 600px; text-align: center"
1166 1166
                       >
1167 1167
                         {{
1168
-                          predialysis.remark
1169
-                            ? predialysis.remark
1168
+                          prescription.remark
1169
+                            ? prescription.remark
1170 1170
                             : "/"
1171 1171
                         }}
1172 1172
                       </div>

+ 24 - 5
src/xt_pages/outpatientCharges/chargeDetailManagement.vue View File

@@ -671,6 +671,8 @@ export default {
671 671
 
672 672
               } else {
673 673
                 that.radio = 1
674
+                that.getPatientList()
675
+
674 676
                 that.$message({ message: '撤销成功', type: 'success', duration: 5000 })
675 677
               }
676 678
 
@@ -715,6 +717,7 @@ export default {
715 717
 
716 718
               } else {
717 719
                 that.radio = 2
720
+                that.getPatientList()
718 721
                 that.$message({ message: '上传成功', type: 'success', duration: 5000 })
719 722
               }
720 723
             }
@@ -813,18 +816,34 @@ export default {
813 816
             case 1:
814 817
               this.all_table_data = response.data.data.list
815 818
               this.patientTableData = response.data.data.list
816
-              this.$refs.tab.setCurrentRow(this.patientTableData[0])
817
-              this.getPatientInformation(this.patientTableData[0].id)
819
+              if (this.hisPatientInfo&&this.hisPatientInfo.id > 0){
820
+                for(let i = 0; i < this.patientTableData.length;i++){
821
+                  if(this.hisPatientInfo.id == this.patientTableData[i].id){
822
+                    this.$refs.tab.setCurrentRow(this.patientTableData[i])
823
+                  }
824
+                }
825
+              }else{
826
+                this.$refs.tab.setCurrentRow(this.patientTableData[0])
827
+                this.getPatientInformation(this.patientTableData[0].id)
828
+              }
818 829
               break
819 830
             case 2:
820 831
               this.all_table_data = response.data.data.list_two
821 832
               this.patientTableData = response.data.data.list_two
822 833
               this.upload_list = response.data.data.upload_list
823 834
               this.all_upload_list = response.data.data.upload_list
835
+              if (this.hisPatientInfo && this.hisPatientInfo.id > 0){
836
+                for(let i = 0; i < this.upload_list.length;i++){
837
+                  if(this.hisPatientInfo.id == this.upload_list[i].his_patient.id){
838
+                    this.$refs.tab.setCurrentRow(this.upload_list[i])
839
+                    this.getPatientInformation(this.upload_list[0].id)
824 840
 
825
-              this.$refs.tab.setCurrentRow(this.upload_list[0])
826
-              console.log(this.upload_list[0].id)
827
-              this.getPatientInformationtwo(this.upload_list[0].id)
841
+                  }
842
+                }
843
+              }else{
844
+                this.$refs.tab.setCurrentRow(this.upload_list[0])
845
+                this.getPatientInformation(this.upload_list[0].id)
846
+              }
828 847
               break
829 848
           }
830 849
         }

+ 10 - 7
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -322,7 +322,7 @@
322 322
                                       </template>
323 323
                                     </el-table-column>
324 324
 
325
-                                      <el-table-column label="库存" width="60" v-if="org_id != 10206">
325
+                                      <el-table-column label="库存" width="60" v-if="org_id != 10206 && org_id != 0">
326 326
                                           <template slot-scope="scope">
327 327
                                              <!-- <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919 || org_id == 10106 || org_id == 9504 || org_id ==10215 || org_id == 10188 || org_id == 10265 || org_id == 10164 || org_id ==9956 || org_id == 10188 || org_id == 10191 || org_id == 10278 || org_id == 10217 || org_id ==10210 || org_id ==record_date ||org_id ==10340">
328 328
                                              <span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
@@ -336,7 +336,7 @@
336 336
                                       </el-table-column>
337 337
 
338 338
 <!--                                    //针对对接坐标系统的,使用坐标的库存数据-->
339
-                                    <el-table-column label="库存" width="60" v-if="org_id == 10206">
339
+                                    <el-table-column label="库存" width="60" v-if="org_id == 10206 || org_id == 0">
340 340
                                       <template slot-scope="scope">
341 341
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
342 342
                                       </template>
@@ -422,10 +422,10 @@
422 422
                                             :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
423 423
                                             highlight-current-row>
424 424
                                       <el-table-column type="selection" width="40" align="center"></el-table-column>
425
-                                      <el-table-column prop="name" label="名称" v-if="org_id != 10206">
425
+                                      <el-table-column prop="name" label="名称" v-if="org_id != 10206 && org_id != 0">
426 426
                                           <template slot-scope="scope">{{ scope.row.project_name }}</template>
427 427
                                       </el-table-column>
428
-                                    <el-table-column prop="name" label="名称" v-if="org_id == 10206">
428
+                                    <el-table-column prop="name" label="名称" v-if="org_id == 10206 || org_id == 0">
429 429
                                       <template slot-scope="scope">{{ scope.row.project_name }}{{scope.row.number}}</template>
430 430
                                     </el-table-column>
431 431
                                       <el-table-column label="规格" width="60">
@@ -581,6 +581,7 @@ export default {
581 581
   },
582 582
   data() {
583 583
     return {
584
+      drugs:[],
584 585
       zuobiao_project:[],
585 586
       start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
586 587
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
@@ -642,7 +643,7 @@ export default {
642 643
       form: {
643 644
         name: ''
644 645
       },
645
-      drugs: [],
646
+
646 647
       allDrugs: [],
647 648
       advices_template: [],
648 649
       additions: [],
@@ -738,7 +739,7 @@ export default {
738 739
     getzuobiao(){
739 740
       if(this.org_id == 10206){
740 741
         var that = this
741
-        axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystock', {
742
+        axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystockgood', {
742 743
 
743 744
         })
744 745
           .then(function(response) {
@@ -2232,7 +2233,9 @@ export default {
2232 2233
       if(this.org_id == 10206 || this.org_id == 0){
2233 2234
         this.departmentValue = 263
2234 2235
         this.state1 = 677
2235
-        this.diagnose.push(716)
2236
+        if (this.diagnose.length == 0){
2237
+          this.diagnose.push(716)
2238
+        }
2236 2239
       }
2237 2240
 
2238 2241
     },

+ 18 - 5
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -1497,10 +1497,12 @@ export default {
1497 1497
 
1498 1498
           this.additions = response.data.data.additions
1499 1499
 
1500
+
1501
+
1500 1502
           //针对普爱医院获取药品和耗材相关库存数据
1501 1503
           if(this.org_id == 10206){
1502 1504
             var that = this
1503
-            axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystock', {
1505
+            axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystockdrug', {
1504 1506
 
1505 1507
             })
1506 1508
               .then(function(response) {
@@ -1520,15 +1522,28 @@ export default {
1520 1522
 
1521 1523
                   } else {
1522 1524
                     that.zuobiao_drug  = response.data.data.drug
1525
+                    console.log("坐标~~坐标")
1526
+                    console.log(that.zuobiao_drug)
1527
+                    console.log(response.data.data.drug)
1528
+                    console.log("坐标~~坐标")
1529
+
1523 1530
                     // that.zuobiao_project  = response.data.data.project
1524 1531
                     //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
1525 1532
                       for (let i = 0; i < that.zuobiao_drug.length; i++) {
1526 1533
                         for (let b = 0; b < that.drugs.length; b++) {
1527 1534
                           if (that.zuobiao_drug[i].bby01 == that.drugs[b].bby01){
1528 1535
                             that.drugs[b]["zuobiao_stock_num"] = that.zuobiao_drug[i].sysl
1536
+                            that.drugs[b].min_price = that.zuobiao_drug[i].price
1537
+
1538
+
1529 1539
                           }
1540
+
1530 1541
                         }
1531 1542
                       }
1543
+                    console.log("坐标~~坐标")
1544
+                    console.log(that.drugs)
1545
+                    console.log("坐标~~坐标")
1546
+
1532 1547
 
1533 1548
                   }
1534 1549
                 }
@@ -2047,7 +2062,6 @@ export default {
2047 2062
                   med_type: '',
2048 2063
                   is_medicine_status:false,
2049 2064
                 }
2050
-                if(this.org_id != 10206) {
2051 2065
                   if (prescription.med_type == 0 || prescription.med_type == '') {
2052 2066
 
2053 2067
                     obj.med_type = ''
@@ -2060,11 +2074,10 @@ export default {
2060 2074
                     if (this.org_id != 10206 ) {
2061 2075
                       obj.med_type = 14
2062 2076
                     } else {
2063
-
2064
-                      obj.med_type = ""
2077
+                      obj.med_type = 1
2065 2078
                     }
2066 2079
                   }
2067
-                }
2080
+
2068 2081
                 this.prescriptions.push(obj)
2069 2082
               }
2070 2083
 

+ 2 - 2
src/xt_pages/role/admin.vue View File

@@ -25,13 +25,13 @@
25 25
         >医药师登记</el-button>
26 26
 
27 27
 
28
-        <el-button
28
+        <!-- <el-button
29 29
           type="primary"
30 30
           size="small"
31 31
           icon="el-icon-circle-plus-outline"
32 32
           style="float:left"
33 33
           @click="toJiaBan">加班</el-button>
34
-       
34
+        -->
35 35
 
36 36
          <!-- <el-button
37 37
           type="primary"

+ 8 - 1
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -354,11 +354,18 @@
354 354
             <template slot-scope="scope">
355 355
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
356 356
                   <td style="border-right: none; border-inline-end: none;text-align: center">
357
-                    <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
357
+                    <span v-if="org_id!=0 && org_id!=0">
358
+                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
358 359
                     <span v-if="is_sys == 0">
359 360
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
360 361
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
361 362
                     </span>
363
+                    </span>
364
+
365
+                    <span v-if="org_id==0 || org_id ==10480">
366
+                      {{(item.count * item.price).toFixed(2)}}
367
+                    </span>
368
+                  
362 369
 
363 370
                   </td>
364 371
                </tr>

+ 38 - 0
src/xt_pages/user/dialysisSolution.vue View File

@@ -645,6 +645,25 @@
645 645
             </el-form-item>
646 646
           </el-col>
647 647
 
648
+         
649
+          
650
+          <el-col :span="8" v-if="isShows('血管通路部位')">
651
+            <el-form-item label="血管通路部位:">
652
+              <el-select v-model="addPlan.blood_access_part_id" placeholder="请选择">
653
+                <el-option :key="0" label="请选择" :value="0"></el-option>
654
+
655
+                <el-option
656
+                  v-for="(option, index) in blood_access_part"
657
+                  :key="index"
658
+                  :label="option.name"
659
+                  :value="option.name"
660
+                ></el-option>
661
+              </el-select>
662
+            </el-form-item>
663
+          </el-col>
664
+
665
+
666
+
648 667
           <el-col :span="8" v-if="isShows('血管通路')">
649 668
             <el-form-item label="血管通路:">
650 669
               <el-select v-model="addPlan.blood_access" placeholder="请选择">
@@ -1085,6 +1104,7 @@
1085 1104
           amylaceum:"",
1086 1105
           dialysis_strainer:"",
1087 1106
           chaptalization:"",
1107
+          blood_access_part_id:"",
1088 1108
         },
1089 1109
         childPlan: {
1090 1110
           mode: '',
@@ -1231,6 +1251,7 @@
1231 1251
         limitOne:10,
1232 1252
         startShow:false,
1233 1253
         solutionDetail:{},
1254
+        blood_access_part:[],
1234 1255
       }
1235 1256
     },
1236 1257
     watch: {
@@ -1376,6 +1397,15 @@
1376 1397
             this.InnerDialogProps.isShowTextArea = false
1377 1398
 
1378 1399
             break
1400
+
1401
+            case '17': // 水肿
1402
+            this.InnerDialogProps.values = this.blood_access_part
1403
+            this.InnerDialogProps.titles = '血管通路部位'
1404
+            this.InnerDialogProps.type = 'blood_access_part_id'
1405
+            this.InnerDialogProps.selected = this.addPlan.blood_access_part_id
1406
+            this.InnerDialogProps.isShowTextArea = false
1407
+
1408
+            break
1379 1409
         }
1380 1410
       },
1381 1411
       innerDialogComfirm: function(val) {
@@ -1403,6 +1433,11 @@
1403 1433
           case 'dialysis_strainer':
1404 1434
              this.dialysis_strainer = val.value.join(',')
1405 1435
             break
1436
+          case 'blood_access_part_id':
1437
+            this.addPlan.blood_access_part_id = val.value.join(',')
1438
+
1439
+          console.log("数据2o",this.addPlan.blood_access_part_id)
1440
+           break
1406 1441
         }
1407 1442
       },
1408 1443
       innerDialogCancle: function() {
@@ -2626,8 +2661,11 @@
2626 2661
       )
2627 2662
       this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
2628 2663
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
2664
+     
2629 2665
       this.queryParams.id = this.patientID
2630 2666
 
2667
+      this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
2668
+
2631 2669
 
2632 2670
     }
2633 2671
   }