|
@ -134,6 +134,7 @@ Vue.component('gxb-manage', {
|
|
|
gotoDetail(row, column) {
|
|
|
var vm = this
|
|
|
this.query = { sex: '' }
|
|
|
console.log('lllllllllllllllllllllllllllll', column)
|
|
|
switch (column) {
|
|
|
case 'mzNum':
|
|
|
vm.dialogTableHeader = vm.mzTableHeader
|
|
@ -229,6 +230,9 @@ Vue.component('gxb-manage', {
|
|
|
vm.loadingTwo = false
|
|
|
})
|
|
|
},
|
|
|
seePatientDetail(row) {
|
|
|
EventBus.$emit('preview-person-info', { type: '1', code: row.code })
|
|
|
},
|
|
|
turnDownManageDetailPage() {
|
|
|
var vm = this
|
|
|
this.loadingTwo = true
|
|
@ -245,9 +249,9 @@ Vue.component('gxb-manage', {
|
|
|
params.endDate = this.chooseTime[1]
|
|
|
}
|
|
|
}
|
|
|
if ((this.title = '上转转门诊明细')) {
|
|
|
if (this.title == '下转管理明细') {
|
|
|
url = 'statistics/collaborate/turnDownManageDetailPage'
|
|
|
} else if ((this.title = '门诊转住院明细')) {
|
|
|
} else if (this.title == '门诊转住院明细') {
|
|
|
url = 'statistics/collaborate/mzToInHopistalDetailPage'
|
|
|
}
|
|
|
httpRequest.get(url, { data: params }).then(function (res) {
|
|
@ -287,8 +291,14 @@ Vue.component('gxb-manage', {
|
|
|
},
|
|
|
dialogSearchFn() {
|
|
|
this.page = 1
|
|
|
if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
|
|
|
if (this.title == '上转预约明细列表') {
|
|
|
this.gxbTurnUpInfoPage()
|
|
|
} else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
|
|
|
this.turnUpToMzDetailPage()
|
|
|
} else if (this.title == '下转管理明细') {
|
|
|
this.turnDownManageDetailPage()
|
|
|
} else if (this.title == '个案数据列表') {
|
|
|
this.gxbCaseDataPage()
|
|
|
}
|
|
|
},
|
|
|
dialogExportFn() {
|
|
@ -326,6 +336,11 @@ Vue.component('gxb-manage', {
|
|
|
httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
|
|
|
vm.dialogExportLoading = false
|
|
|
})
|
|
|
} else if (this.title == '下转管理明细') {
|
|
|
var fileName = `下转管理明细${new Date().getTime()}.xls`
|
|
|
httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
|
|
|
vm.dialogExportLoading = false
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
dialogReset() {
|