|
@@ -84,7 +84,7 @@
|
84
|
84
|
</el-table-column>
|
85
|
85
|
<el-table-column prop="mode_id" label="透析模式">
|
86
|
86
|
<template slot-scope="scope">
|
87
|
|
- <span>{{ scope.row.mode_id.join("、") }}</span>
|
|
87
|
+ <span>{{ scope.row.mode_id.join("、")}}</span>
|
88
|
88
|
</template>
|
89
|
89
|
</el-table-column>
|
90
|
90
|
<el-table-column prop="address" label="透析总次数" width="140">
|
|
@@ -192,24 +192,15 @@ export default {
|
192
|
192
|
getDialysisList(this.listQuery.start_time,this.listQuery.end_time,this.listQuery.page,this.listQuery.limit).then(response=>{
|
193
|
193
|
if(response.data.state === 1){
|
194
|
194
|
var list = response.data.data.list
|
195
|
|
- // console.log("list",list)
|
|
195
|
+ console.log("00999999999",list)
|
196
|
196
|
var totallist = response.data.data.totallist
|
197
|
|
- // console.log("totallist",totallist)
|
198
|
197
|
this.total = totallist
|
199
|
198
|
var prescriptionList = response.data.data.prescriptionList
|
200
|
|
- // console.log("prescriptionList",prescriptionList)
|
|
199
|
+ console.log("透析处方=======",prescriptionList)
|
201
|
200
|
this.getModeId(prescriptionList)
|
202
|
201
|
var count = response.data.data.count
|
203
|
|
- // console.log("count",count)
|
|
202
|
+ console.log("count",count)
|
204
|
203
|
this.DialysisCount = count
|
205
|
|
- // for(let i=0;i<count.length;i++){
|
206
|
|
- // for(let j=0;j<prescriptionList.length;j++){
|
207
|
|
- // if(count[i].patient_id == prescriptionList[j].patient_id){
|
208
|
|
- // prescriptionList[j].count = count[i].Count
|
209
|
|
- // }
|
210
|
|
- // }
|
211
|
|
- // }
|
212
|
|
- // console.log("prescriptionList",prescriptionList)
|
213
|
204
|
let dataInfo = {}
|
214
|
205
|
list.forEach((item, index) => {
|
215
|
206
|
let { patient_id } = item
|
|
@@ -234,7 +225,7 @@ export default {
|
234
|
225
|
}
|
235
|
226
|
}
|
236
|
227
|
})
|
237
|
|
- // console.log("list---",list)
|
|
228
|
+ console.log("list---=============",list)
|
238
|
229
|
this.DialysisData = list
|
239
|
230
|
}
|
240
|
231
|
})
|
|
@@ -388,12 +379,13 @@ export default {
|
388
|
379
|
}
|
389
|
380
|
})
|
390
|
381
|
},
|
391
|
|
- handleSelect(val) {
|
|
382
|
+ handleSelect(val) {
|
392
|
383
|
// console.log("val",val)
|
393
|
384
|
this.listQuery.search = val.name
|
394
|
385
|
this.patient_id = val.id
|
395
|
386
|
this.onSearch()
|
396
|
387
|
},
|
|
388
|
+
|
397
|
389
|
},
|
398
|
390
|
created(){
|
399
|
391
|
var nowDate = new Date();
|