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
                     </el-form-item>
393
                     </el-form-item>
394
                   </el-col>
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
                   <el-col :span="8">
414
                   <el-col :span="8">
397
                     <el-form-item label="血管通路:">
415
                     <el-form-item label="血管通路:">
398
                       <el-select
416
                       <el-select
849
         ultrafiltration: "",
867
         ultrafiltration: "",
850
         blood_access: "",
868
         blood_access: "",
851
         dialysis_dialyszers:"",
869
         dialysis_dialyszers:"",
852
-        dialysis_irrigation:""
870
+        dialysis_irrigation:"",
871
+        blood_access_part_id:"",
853
       },
872
       },
854
       system_prescription: [],
873
       system_prescription: [],
855
       isEdit: false,
874
       isEdit: false,
880
       blood_access_option: [],
899
       blood_access_option: [],
881
       dialysis_dialyszers:"",
900
       dialysis_dialyszers:"",
882
       dialysis_irrigation:"",
901
       dialysis_irrigation:"",
902
+      blood_access_part:[],
883
     };
903
     };
884
   },
904
   },
885
   computed: {},
905
   computed: {},
994
         stockType:[],
1014
         stockType:[],
995
         irrigations:[],
1015
         irrigations:[],
996
         dialyzers:[],
1016
         dialyzers:[],
1017
+        blood_access_part_id:"",
997
       };
1018
       };
998
 
1019
 
999
       for (const key in tempAddPlan) {
1020
       for (const key in tempAddPlan) {
1055
           this.addPlan.dialysis_irrigation = prescription.dialysis_irrigation
1076
           this.addPlan.dialysis_irrigation = prescription.dialysis_irrigation
1056
           this.dialysis_dialyszers = prescription.dialysis_dialyszers
1077
           this.dialysis_dialyszers = prescription.dialysis_dialyszers
1057
           this.dialysis_irrigation = prescription.dialysis_irrigation
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
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1221
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1200
     this.blood_access_option = getDataConfig('hemodialysis', 'vascular_access_desc')
1222
     this.blood_access_option = getDataConfig('hemodialysis', 'vascular_access_desc')
1201
     console.log("列表33333333血管通路",this.blood_access_option)
1223
     console.log("列表33333333血管通路",this.blood_access_option)
1224
+
1225
+    this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
1202
     this.addPlan.mode = 1;
1226
     this.addPlan.mode = 1;
1203
     this.dialyzerPerfusionApparatus = getDataConfig(
1227
     this.dialyzerPerfusionApparatus = getDataConfig(
1204
       'hemodialysis',
1228
       'hemodialysis',

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

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>
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
         </li>
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
         <li v-if="isShow('血管通路')">
400
         <li v-if="isShow('血管通路')">
395
           <label>血管通路: </label>
401
           <label>血管通路: </label>
396
           <span class="content">{{ blood_access }}</span>
402
           <span class="content">{{ blood_access }}</span>

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

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
          var date = new Date()
1604
          var date = new Date()
1605
           var year = date.getFullYear()
1605
           var year = date.getFullYear()
1606
           var month = date.getMonth() + 1
1606
           var month = date.getMonth() + 1

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

889
                         </el-form-item>
889
                         </el-form-item>
890
                     </el-col>
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
                     <el-col :span="8" v-if="isShows('血管通路')">
899
                     <el-col :span="8" v-if="isShows('血管通路')">
893
                         <el-form-item label="血管通路:" prop="blood_access" :rules="isCheckmust('血管通路')">
900
                         <el-form-item label="血管通路:" prop="blood_access" :rules="isCheckmust('血管通路')">
894
                             <el-select
901
                             <el-select
1735
           chaptalization:"",
1742
           chaptalization:"",
1736
           warsh_count:"",
1743
           warsh_count:"",
1737
           washing_time:"",
1744
           washing_time:"",
1745
+          blood_access_part_id:""
1738
         },
1746
         },
1739
 
1747
 
1740
         anticoagulant: {
1748
         anticoagulant: {
1786
         infoDialogVisible:false,
1794
         infoDialogVisible:false,
1787
         selected_date:"",
1795
         selected_date:"",
1788
         remark:"",
1796
         remark:"",
1797
+        blood_access_part: [],
1789
       }
1798
       }
1790
 
1799
 
1791
     },
1800
     },
1882
             this.InnerDialogProps.type = 'dialysis_strainer'
1891
             this.InnerDialogProps.type = 'dialysis_strainer'
1883
             this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_strainer
1892
             this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_strainer
1884
             this.InnerDialogProps.isShowTextArea = false
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
             break
1902
             break
1886
         }
1903
         }
1887
       },
1904
       },
1963
           case 'dialysis_strainer':
1980
           case 'dialysis_strainer':
1964
             this.dialysisPrescription.dialysis_strainer = val.value.join(',')
1981
             this.dialysisPrescription.dialysis_strainer = val.value.join(',')
1965
             break
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
       innerDialogCancle: function() {
1988
       innerDialogCancle: function() {
2616
             } else if (schedual.schedule_type == 3) {
2636
             } else if (schedual.schedule_type == 3) {
2617
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
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
            }else if(this.$store.getters.xt_user.org.id == 10517){
2647
            }else if(this.$store.getters.xt_user.org.id == 10517){
2620
               if (schedual.schedule_type == 1) {
2648
               if (schedual.schedule_type == 1) {
2621
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2649
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
5047
       console.log("schedual232323323232323232",this.adminRoles)
5075
       console.log("schedual232323323232323232",this.adminRoles)
5048
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5076
       this.illnessList = getDataConfig('hemodialysis', 'illness')
5049
 
5077
 
5078
+      this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
5050
       this.plasmaSeparatorList = getDataConfig('hemodialysis', 'plasma_separator')
5079
       this.plasmaSeparatorList = getDataConfig('hemodialysis', 'plasma_separator')
5051
 
5080
 
5052
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
5081
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
5053
 
5082
 
5054
 
5083
 
5055
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5084
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5085
+
5086
+     
5056
       console.log("透析准备232323232323wo",this.educationList)
5087
       console.log("透析准备232323232323wo",this.educationList)
5057
     }
5088
     }
5058
   }
5089
   }

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

1165
                         style="width: 600px; text-align: center"
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
                       </div>
1172
                       </div>

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

671
 
671
 
672
               } else {
672
               } else {
673
                 that.radio = 1
673
                 that.radio = 1
674
+                that.getPatientList()
675
+
674
                 that.$message({ message: '撤销成功', type: 'success', duration: 5000 })
676
                 that.$message({ message: '撤销成功', type: 'success', duration: 5000 })
675
               }
677
               }
676
 
678
 
715
 
717
 
716
               } else {
718
               } else {
717
                 that.radio = 2
719
                 that.radio = 2
720
+                that.getPatientList()
718
                 that.$message({ message: '上传成功', type: 'success', duration: 5000 })
721
                 that.$message({ message: '上传成功', type: 'success', duration: 5000 })
719
               }
722
               }
720
             }
723
             }
813
             case 1:
816
             case 1:
814
               this.all_table_data = response.data.data.list
817
               this.all_table_data = response.data.data.list
815
               this.patientTableData = response.data.data.list
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
               break
829
               break
819
             case 2:
830
             case 2:
820
               this.all_table_data = response.data.data.list_two
831
               this.all_table_data = response.data.data.list_two
821
               this.patientTableData = response.data.data.list_two
832
               this.patientTableData = response.data.data.list_two
822
               this.upload_list = response.data.data.upload_list
833
               this.upload_list = response.data.data.upload_list
823
               this.all_upload_list = response.data.data.upload_list
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
               break
847
               break
829
           }
848
           }
830
         }
849
         }

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

322
                                       </template>
322
                                       </template>
323
                                     </el-table-column>
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
                                           <template slot-scope="scope">
326
                                           <template slot-scope="scope">
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">
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
                                              <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>
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
                                       </el-table-column>
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
                                       <template slot-scope="scope">
340
                                       <template slot-scope="scope">
341
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
341
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
342
                                       </template>
342
                                       </template>
422
                                             :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
422
                                             :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
423
                                             highlight-current-row>
423
                                             highlight-current-row>
424
                                       <el-table-column type="selection" width="40" align="center"></el-table-column>
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
                                           <template slot-scope="scope">{{ scope.row.project_name }}</template>
426
                                           <template slot-scope="scope">{{ scope.row.project_name }}</template>
427
                                       </el-table-column>
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
                                       <template slot-scope="scope">{{ scope.row.project_name }}{{scope.row.number}}</template>
429
                                       <template slot-scope="scope">{{ scope.row.project_name }}{{scope.row.number}}</template>
430
                                     </el-table-column>
430
                                     </el-table-column>
431
                                       <el-table-column label="规格" width="60">
431
                                       <el-table-column label="规格" width="60">
581
   },
581
   },
582
   data() {
582
   data() {
583
     return {
583
     return {
584
+      drugs:[],
584
       zuobiao_project:[],
585
       zuobiao_project:[],
585
       start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
586
       start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
586
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
587
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
642
       form: {
643
       form: {
643
         name: ''
644
         name: ''
644
       },
645
       },
645
-      drugs: [],
646
+
646
       allDrugs: [],
647
       allDrugs: [],
647
       advices_template: [],
648
       advices_template: [],
648
       additions: [],
649
       additions: [],
738
     getzuobiao(){
739
     getzuobiao(){
739
       if(this.org_id == 10206){
740
       if(this.org_id == 10206){
740
         var that = this
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
           .then(function(response) {
745
           .then(function(response) {
2232
       if(this.org_id == 10206 || this.org_id == 0){
2233
       if(this.org_id == 10206 || this.org_id == 0){
2233
         this.departmentValue = 263
2234
         this.departmentValue = 263
2234
         this.state1 = 677
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
 
1497
 
1498
           this.additions = response.data.data.additions
1498
           this.additions = response.data.data.additions
1499
 
1499
 
1500
+
1501
+
1500
           //针对普爱医院获取药品和耗材相关库存数据
1502
           //针对普爱医院获取药品和耗材相关库存数据
1501
           if(this.org_id == 10206){
1503
           if(this.org_id == 10206){
1502
             var that = this
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
               .then(function(response) {
1508
               .then(function(response) {
1520
 
1522
 
1521
                   } else {
1523
                   } else {
1522
                     that.zuobiao_drug  = response.data.data.drug
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
                     // that.zuobiao_project  = response.data.data.project
1530
                     // that.zuobiao_project  = response.data.data.project
1524
                     //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
1531
                     //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
1525
                       for (let i = 0; i < that.zuobiao_drug.length; i++) {
1532
                       for (let i = 0; i < that.zuobiao_drug.length; i++) {
1526
                         for (let b = 0; b < that.drugs.length; b++) {
1533
                         for (let b = 0; b < that.drugs.length; b++) {
1527
                           if (that.zuobiao_drug[i].bby01 == that.drugs[b].bby01){
1534
                           if (that.zuobiao_drug[i].bby01 == that.drugs[b].bby01){
1528
                             that.drugs[b]["zuobiao_stock_num"] = that.zuobiao_drug[i].sysl
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
                   med_type: '',
2062
                   med_type: '',
2048
                   is_medicine_status:false,
2063
                   is_medicine_status:false,
2049
                 }
2064
                 }
2050
-                if(this.org_id != 10206) {
2051
                   if (prescription.med_type == 0 || prescription.med_type == '') {
2065
                   if (prescription.med_type == 0 || prescription.med_type == '') {
2052
 
2066
 
2053
                     obj.med_type = ''
2067
                     obj.med_type = ''
2060
                     if (this.org_id != 10206 ) {
2074
                     if (this.org_id != 10206 ) {
2061
                       obj.med_type = 14
2075
                       obj.med_type = 14
2062
                     } else {
2076
                     } else {
2063
-
2064
-                      obj.med_type = ""
2077
+                      obj.med_type = 1
2065
                     }
2078
                     }
2066
                   }
2079
                   }
2067
-                }
2080
+
2068
                 this.prescriptions.push(obj)
2081
                 this.prescriptions.push(obj)
2069
               }
2082
               }
2070
 
2083
 

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

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

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

354
             <template slot-scope="scope">
354
             <template slot-scope="scope">
355
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
355
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
356
                   <td style="border-right: none; border-inline-end: none;text-align: center">
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
                     <span v-if="is_sys == 0">
359
                     <span v-if="is_sys == 0">
359
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
360
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
360
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
361
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
361
                     </span>
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
                   </td>
370
                   </td>
364
                </tr>
371
                </tr>

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

645
             </el-form-item>
645
             </el-form-item>
646
           </el-col>
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
           <el-col :span="8" v-if="isShows('血管通路')">
667
           <el-col :span="8" v-if="isShows('血管通路')">
649
             <el-form-item label="血管通路:">
668
             <el-form-item label="血管通路:">
650
               <el-select v-model="addPlan.blood_access" placeholder="请选择">
669
               <el-select v-model="addPlan.blood_access" placeholder="请选择">
1085
           amylaceum:"",
1104
           amylaceum:"",
1086
           dialysis_strainer:"",
1105
           dialysis_strainer:"",
1087
           chaptalization:"",
1106
           chaptalization:"",
1107
+          blood_access_part_id:"",
1088
         },
1108
         },
1089
         childPlan: {
1109
         childPlan: {
1090
           mode: '',
1110
           mode: '',
1231
         limitOne:10,
1251
         limitOne:10,
1232
         startShow:false,
1252
         startShow:false,
1233
         solutionDetail:{},
1253
         solutionDetail:{},
1254
+        blood_access_part:[],
1234
       }
1255
       }
1235
     },
1256
     },
1236
     watch: {
1257
     watch: {
1376
             this.InnerDialogProps.isShowTextArea = false
1397
             this.InnerDialogProps.isShowTextArea = false
1377
 
1398
 
1378
             break
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
       innerDialogComfirm: function(val) {
1411
       innerDialogComfirm: function(val) {
1403
           case 'dialysis_strainer':
1433
           case 'dialysis_strainer':
1404
              this.dialysis_strainer = val.value.join(',')
1434
              this.dialysis_strainer = val.value.join(',')
1405
             break
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
       innerDialogCancle: function() {
1443
       innerDialogCancle: function() {
2626
       )
2661
       )
2627
       this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
2662
       this.plasmaSeparatorList = getDataConfig('hemodialysis','plasma_separator')
2628
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
2663
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis','bilirubin_adsorption_column')
2664
+     
2629
       this.queryParams.id = this.patientID
2665
       this.queryParams.id = this.patientID
2630
 
2666
 
2667
+      this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
2668
+
2631
 
2669
 
2632
     }
2670
     }
2633
   }
2671
   }