Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
e646b6df97

+ 1 - 1
src/xt_pages/hospitalStation/template/printFive.vue View File

228
       }
228
       }
229
       getHisPatientDetail(params).then(response => {
229
       getHisPatientDetail(params).then(response => {
230
         if (response.data.state == 1) {
230
         if (response.data.state == 1) {
231
-          var hisPatient = response.data.data.hisPatient
231
+          var hisPatient = response.data.data.hisHospitalRecord
232
           console.log('挂号病人', hisPatient)
232
           console.log('挂号病人', hisPatient)
233
           this.hisPatient = hisPatient
233
           this.hisPatient = hisPatient
234
         }
234
         }

+ 2 - 2
src/xt_pages/hospitalStation/template/printFour.vue View File

158
             this.advicePrint = advicePrint
158
             this.advicePrint = advicePrint
159
             this.prescriptions = advicePrint
159
             this.prescriptions = advicePrint
160
             console.log("处方222222",this.prescriptions)
160
             console.log("处方222222",this.prescriptions)
161
-            var hisPatient = response.data.data.hisPatient
161
+            var hisPatient = response.data.data.hisHospitalRecord
162
             console.log("hisPatient",hisPatient)
162
             console.log("hisPatient",hisPatient)
163
             this.hisPatient = hisPatient
163
             this.hisPatient = hisPatient
164
             var projectlist =  response.data.data.projectlist
164
             var projectlist =  response.data.data.projectlist
173
           }
173
           }
174
        getHisPatientDetail(params).then(response=>{
174
        getHisPatientDetail(params).then(response=>{
175
           if(response.data.state == 1){
175
           if(response.data.state == 1){
176
-             var hisPatient =  response.data.data.hisPatient
176
+             var hisPatient =  response.data.data.hisHospitalRecord
177
              console.log("挂号病人",hisPatient)
177
              console.log("挂号病人",hisPatient)
178
              this.hisPatient = hisPatient
178
              this.hisPatient = hisPatient
179
           }
179
           }

+ 3 - 4
src/xt_pages/hospitalStation/template/printOne.vue View File

18
           <div class="infoMain">
18
           <div class="infoMain">
19
               <div style="margin-bottom: 10px;">门诊号:{{hisPatient.number?hisPatient.number:""}}</div>
19
               <div style="margin-bottom: 10px;">门诊号:{{hisPatient.number?hisPatient.number:""}}</div>
20
               <div style="margin-bottom: 10px;">科室:{{item.info?getDepart(item.info.departments):''}}</div>
20
               <div style="margin-bottom: 10px;">科室:{{item.info?getDepart(item.info.departments):''}}</div>
21
-              <div style="margin-bottom: 10px;">医保卡号:{{item.hisPatient.number?item.hisPatient.number:""}}</div>
21
+              <div style="margin-bottom: 10px;">医保卡号:{{""}}</div>
22
               <div style="margin-bottom: 10px;">电话:{{item.patient.phone}}</div>
22
               <div style="margin-bottom: 10px;">电话:{{item.patient.phone}}</div>
23
               <div>地址:{{item.patient.home_address}}</div>
23
               <div>地址:{{item.patient.home_address}}</div>
24
               <div style="display:flex;width:50%;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div>
24
               <div style="display:flex;width:50%;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div>
159
             this.advicePrint = advicePrint
159
             this.advicePrint = advicePrint
160
             this.prescriptions = advicePrint
160
             this.prescriptions = advicePrint
161
             console.log("处方222222",this.prescriptions)
161
             console.log("处方222222",this.prescriptions)
162
-            var hisPatient = response.data.data.hisPatient
163
-            console.log("hisPatient",hisPatient)
162
+            var hisPatient = response.data.data.hisHospitalRecord
164
             this.hisPatient = hisPatient
163
             this.hisPatient = hisPatient
165
             var projectlist =  response.data.data.projectlist
164
             var projectlist =  response.data.data.projectlist
166
             console.log("所有项目列表",projectlist)
165
             console.log("所有项目列表",projectlist)
174
           }
173
           }
175
        getHisPatientDetail(params).then(response=>{
174
        getHisPatientDetail(params).then(response=>{
176
           if(response.data.state == 1){
175
           if(response.data.state == 1){
177
-             var hisPatient =  response.data.data.hisPatient
176
+             var hisPatient =  response.data.data.hisHospitalRecord
178
              console.log("挂号病人",hisPatient)
177
              console.log("挂号病人",hisPatient)
179
              this.hisPatient = hisPatient
178
              this.hisPatient = hisPatient
180
           }
179
           }

+ 2 - 2
src/xt_pages/hospitalStation/template/printThree.vue View File

182
             this.getPage()
182
             this.getPage()
183
             this.prescriptions = advicePrint
183
             this.prescriptions = advicePrint
184
             console.log("处方222222",this.prescriptions)
184
             console.log("处方222222",this.prescriptions)
185
-            var hisPatient = response.data.data.hisPatient
185
+            var hisPatient = response.data.data.hisHospitalRecord
186
             console.log("hisPatient",hisPatient)
186
             console.log("hisPatient",hisPatient)
187
             this.hisPatient = hisPatient
187
             this.hisPatient = hisPatient
188
             var projectlist =  response.data.data.projectlist
188
             var projectlist =  response.data.data.projectlist
202
           }
202
           }
203
        getHisPatientDetail(params).then(response=>{
203
        getHisPatientDetail(params).then(response=>{
204
           if(response.data.state == 1){
204
           if(response.data.state == 1){
205
-             var hisPatient =  response.data.data.hisPatient
205
+             var hisPatient =  response.data.data.hisHospitalRecord
206
              console.log("挂号病人",hisPatient)
206
              console.log("挂号病人",hisPatient)
207
              this.hisPatient = hisPatient
207
              this.hisPatient = hisPatient
208
           }
208
           }

+ 1 - 1
src/xt_pages/hospitalStation/template/printTwo.vue View File

161
           }
161
           }
162
        getHisPatientDetail(params).then(response=>{
162
        getHisPatientDetail(params).then(response=>{
163
           if(response.data.state == 1){
163
           if(response.data.state == 1){
164
-             var hisPatient =  response.data.data.hisPatient
164
+             var hisPatient =  response.data.data.hisHospitalRecord
165
              console.log("挂号病人",hisPatient)
165
              console.log("挂号病人",hisPatient)
166
              this.hisPatient = hisPatient
166
              this.hisPatient = hisPatient
167
           }
167
           }