Browse Source

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

yq1 10 months ago
parent
commit
b0a90696a1

+ 1 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

1657
 
1657
 
1658
          if(ParamsQuery.additional_weight >=30){
1658
          if(ParamsQuery.additional_weight >=30){
1659
              this.$message.error("衣物重异常,请重新填写!")
1659
              this.$message.error("衣物重异常,请重新填写!")
1660
+             return
1660
          }
1661
          }
1661
 
1662
 
1662
         postAssessmentBeforeDislysis(ParamsQuery).then(response => {
1663
         postAssessmentBeforeDislysis(ParamsQuery).then(response => {

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

2345
 
2345
 
2346
 
2346
 
2347
                       <tr
2347
                       <tr
2348
-                      v-if="org_id == 0 || org_id ==10206"
2348
+                      v-if="org_id == 0 || org_id ==10206 || org_id ==10489"
2349
                       v-for="(advice, advice_index) in projectsOne"
2349
                       v-for="(advice, advice_index) in projectsOne"
2350
                       :key="advice_index"
2350
                       :key="advice_index"
2351
                     >
2351
                     >
4718
 
4718
 
4719
         
4719
         
4720
 
4720
 
4721
-        if(this.org_id== 0 || this.org_id ==10206){
4721
+        if(this.org_id== 0 || this.org_id ==10206 || this.org_id ==10489){
4722
           let projectsOne = [];
4722
           let projectsOne = [];
4723
           response.data.data.projects.map((item) => {
4723
           response.data.data.projects.map((item) => {
4724
               projectsOne.push(item);
4724
               projectsOne.push(item);

+ 1 - 1
src/xt_pages/outpatientCharges/components/callUnAssociationPrescription.vue View File

319
               tempProject.push(obj)
319
               tempProject.push(obj)
320
             }
320
             }
321
             let obj = {
321
             let obj = {
322
-              id: 0,
322
+              id: prescription.id,
323
               advices: tempAdvice,
323
               advices: tempAdvice,
324
               project: tempProject,
324
               project: tempProject,
325
               addition:tempAddition,
325
               addition:tempAddition,

+ 12 - 4
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

1284
       this.association_prescriptions = []
1284
       this.association_prescriptions = []
1285
       this.association_prescriptions = val
1285
       this.association_prescriptions = val
1286
       var ids  = []
1286
       var ids  = []
1287
-      for (let i = 0; i < this.prescriptions.length; i++) {
1288
-        ids.push(this.prescriptions[i].id)
1287
+      for (let i = 0; i < this.association_prescriptions.length; i++) {
1288
+        ids.push(this.association_prescriptions[i].id)
1289
       }
1289
       }
1290
       //上传关联数据
1290
       //上传关联数据
1291
       let params = {
1291
       let params = {
1784
           return false
1784
           return false
1785
         } else {
1785
         } else {
1786
           if(response.data.data.status == 1){
1786
           if(response.data.data.status == 1){
1787
-            this.$refs.call_prescription.show(this.patientInfo.name, this.patientInfo.id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1787
+            var name = ""
1788
+            for(let i = 0; i < this.patientTableData.length;i++){
1789
+              if(this.patientTableData[i].id == id){
1790
+                name = this.patientTableData[i].name
1791
+              }
1792
+            }
1793
+            this.$refs.call_prescription.show(name, id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1794
+
1795
+            // this.$refs.call_prescription.show(this.patientInfo.name, this.patientInfo.id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1788
           }
1796
           }
1789
         }
1797
         }
1790
       })
1798
       })
1811
             this.$refs.register9504.hide()
1819
             this.$refs.register9504.hide()
1812
             this.loadingone = false
1820
             this.loadingone = false
1813
 
1821
 
1814
-            this.CheckHISPatient(that.record_date,forms.id)
1822
+            this.CheckHISPatient(this.record_date,forms.id)
1815
 
1823
 
1816
           }
1824
           }
1817
         })
1825
         })

+ 3 - 5
src/xt_pages/user/patients.vue View File

101
         <el-badge :value=value class="item">
101
         <el-badge :value=value class="item">
102
           <el-button size="small" type="primary" @click="toRemind">传染病检查提醒</el-button>
102
           <el-button size="small" type="primary" @click="toRemind">传染病检查提醒</el-button>
103
         </el-badge>
103
         </el-badge>
104
-        <upload-excel :on-success='handleSuccess' :before-upload="beforeUpload" v-if="isShow"></upload-excel>
104
+        <upload-excel :on-success='handleSuccess'  v-if="isShow"></upload-excel>
105
 
105
 
106
         <el-link target="_blank" href="https://kuyi.shengws.com/patient_template.xlsx" :underline="false"
106
         <el-link target="_blank" href="https://kuyi.shengws.com/patient_template.xlsx" :underline="false"
107
                  style="margin-left:15px">
107
                  style="margin-left:15px">
1031
 
1031
 
1032
       },
1032
       },
1033
       handleSuccess({ results, header }) {
1033
       handleSuccess({ results, header }) {
1034
-
1034
+        console.log("header5444444444444444",header)
1035
         if (header != undefined && header.length > 0) {
1035
         if (header != undefined && header.length > 0) {
1036
           var isHasName = header.includes('*姓名')
1036
           var isHasName = header.includes('*姓名')
1037
           var isHasGender = header.includes('*性别')
1037
           var isHasGender = header.includes('*性别')
1880
        return work_unit
1880
        return work_unit
1881
     },
1881
     },
1882
 
1882
 
1883
-    beforeUpload(){
1884
-
1885
-    }
1883
+   
1886
 
1884
 
1887
     }
1885
     }
1888
   }
1886
   }