Bläddra i källkod

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

yq1 10 månader sedan
förälder
incheckning
b0a90696a1

+ 1 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Visa fil

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

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Visa fil

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

+ 1 - 1
src/xt_pages/outpatientCharges/components/callUnAssociationPrescription.vue Visa fil

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

+ 12 - 4
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Visa fil

@@ -1284,8 +1284,8 @@ export default {
1284 1284
       this.association_prescriptions = []
1285 1285
       this.association_prescriptions = val
1286 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 1291
       let params = {
@@ -1784,7 +1784,15 @@ export default {
1784 1784
           return false
1785 1785
         } else {
1786 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,7 +1819,7 @@ export default {
1811 1819
             this.$refs.register9504.hide()
1812 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 Visa fil

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