|
@ -356,10 +356,10 @@ Vue.component('gxb-mz', {
|
|
|
orgCode: '',
|
|
|
archiveStatus: '',
|
|
|
patientType: '',
|
|
|
range: params.range,
|
|
|
area: params.area,
|
|
|
hospital: params.hospital,
|
|
|
team: params.team
|
|
|
range: typeof params.range == 'undefined' ? '' : params.range,
|
|
|
area: typeof params.area == 'undefined' ? '' : params.area,
|
|
|
hospital: typeof params.hospital == 'undefined' ? '' : params.hospital,
|
|
|
team: typeof params.team == 'undefined' ? '' : params.team
|
|
|
}
|
|
|
} else if (this.title == '下转情况数据列表') {
|
|
|
this.query = {
|
|
@ -372,7 +372,6 @@ Vue.component('gxb-mz', {
|
|
|
team: params.team
|
|
|
}
|
|
|
}
|
|
|
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
this.page = val
|
|
@ -442,7 +441,7 @@ Vue.component('gxb-mz', {
|
|
|
archiveStatus: '',
|
|
|
patientType: ''
|
|
|
}
|
|
|
|
|
|
|
|
|
this.visible = true
|
|
|
this.title = '康复下转明细列表'
|
|
|
this.dialogHeader = [
|
|
@ -462,10 +461,10 @@ Vue.component('gxb-mz', {
|
|
|
]
|
|
|
switch (prop) {
|
|
|
case 'mzTimes':
|
|
|
this.query.patientType = "1"
|
|
|
this.query.patientType = '1'
|
|
|
break
|
|
|
case 'zyTimes':
|
|
|
this.query.patientType = "2"
|
|
|
this.query.patientType = '2'
|
|
|
break
|
|
|
}
|
|
|
} else if (['totalNum', 'mzNum', 'zyNum'].includes(prop)) {
|
|
@ -490,10 +489,10 @@ Vue.component('gxb-mz', {
|
|
|
]
|
|
|
switch (prop) {
|
|
|
case 'mzNum':
|
|
|
this.query.eventType = "1"
|
|
|
this.query.eventType = '1'
|
|
|
break
|
|
|
case 'zyNum':
|
|
|
this.query.eventType = "2"
|
|
|
this.query.eventType = '2'
|
|
|
break
|
|
|
}
|
|
|
}
|
|
@ -636,14 +635,14 @@ Vue.component('gxb-mz', {
|
|
|
this.searchFn()
|
|
|
},
|
|
|
seePatientDetail(row, prop) {
|
|
|
if(prop == 'name'){
|
|
|
if(row.patient){
|
|
|
if (prop == 'name') {
|
|
|
if (row.patient) {
|
|
|
EventBus.$emit('preview-person-info', { type: '4', code: row.patient })
|
|
|
}else{
|
|
|
this.$message.warning("未查询到该患者信息")
|
|
|
} else {
|
|
|
this.$message.warning('未查询到该患者信息')
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.init()
|