|
@ -77,7 +77,9 @@ Vue.component('gxb-mz', {
|
|
|
{ value: '2', label: '出院患者' }
|
|
|
],
|
|
|
communityHospitals: [],
|
|
|
title: ''
|
|
|
title: '',
|
|
|
dialogVisible: false,
|
|
|
signatoryList: []
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@ -297,7 +299,11 @@ Vue.component('gxb-mz', {
|
|
|
},
|
|
|
dialogSearchFn() {
|
|
|
this.page = 1
|
|
|
this.gxbTurnUpInfoPage()
|
|
|
if (this.title == '康复下转明细列表') {
|
|
|
this.rehabilitationPatientInfo()
|
|
|
} else if (this.title == '下转情况数据列表') {
|
|
|
this.turnDownDataPage()
|
|
|
}
|
|
|
},
|
|
|
dialogExportFn() {
|
|
|
var vm = this
|
|
@ -333,11 +339,19 @@ Vue.component('gxb-mz', {
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
this.page = val
|
|
|
this.gxbTurnUpInfoPage()
|
|
|
if (this.title == '康复下转明细列表') {
|
|
|
this.rehabilitationPatientInfo()
|
|
|
} else if (this.title == '下转情况数据列表') {
|
|
|
this.turnDownDataPage()
|
|
|
}
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
this.size = val
|
|
|
this.gxbTurnUpInfoPage()
|
|
|
if (this.title == '康复下转明细列表') {
|
|
|
this.rehabilitationPatientInfo()
|
|
|
} else if (this.title == '下转情况数据列表') {
|
|
|
this.turnDownDataPage()
|
|
|
}
|
|
|
},
|
|
|
// 获取社区医院
|
|
|
hospitalsByType() {
|
|
@ -463,6 +477,39 @@ Vue.component('gxb-mz', {
|
|
|
this.turnDownDataPage()
|
|
|
}
|
|
|
},
|
|
|
// 康复下转操作
|
|
|
operation(num, item) {
|
|
|
var vm = this
|
|
|
if (num != 2) {
|
|
|
statisticAPI
|
|
|
.synchronizePationSingle({ id: item.id })
|
|
|
.then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
vm.$message.success('操作成功')
|
|
|
} else {
|
|
|
vm.$message.error(res.msg)
|
|
|
}
|
|
|
})
|
|
|
.catch(function (err) {
|
|
|
console.log(err, 'Errr')
|
|
|
})
|
|
|
} else {
|
|
|
vm.signatoryList = []
|
|
|
statisticAPI
|
|
|
.kangfuGetSignInfo({ idcard: item.idcard })
|
|
|
.then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
if (res.data != null) {
|
|
|
vm.signatoryList.push(res.data)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
.catch(function (err) {
|
|
|
console.log(err, 'Errr')
|
|
|
})
|
|
|
vm.dialogVisible = true
|
|
|
}
|
|
|
},
|
|
|
rehabilitationPatientInfo() {
|
|
|
var vm = this
|
|
|
var params = {
|
|
@ -486,7 +533,7 @@ Vue.component('gxb-mz', {
|
|
|
res.detailModelList.forEach(function (v) {
|
|
|
v.sex = v.sex == 1 ? '男' : '女'
|
|
|
})
|
|
|
vm.recoveryList = res.detailModelList
|
|
|
vm.dialogTableData = res.detailModelList
|
|
|
vm.total = res.totalCount
|
|
|
} else {
|
|
|
vm.$message.error(res.msg)
|
|
@ -512,6 +559,7 @@ Vue.component('gxb-mz', {
|
|
|
}
|
|
|
this.loading = true
|
|
|
httpRequest.get('statistics/collaborate/turnDownDataPage', { data: params }).then(function (res) {
|
|
|
console.log('99999999999999999999999999999999999999', res)
|
|
|
if (res.status == 200) {
|
|
|
vm.dialogTableData = res.detailModelList
|
|
|
vm.total = res.totalCount
|
|
@ -522,6 +570,10 @@ Vue.component('gxb-mz', {
|
|
|
|
|
|
closeDialog() {
|
|
|
this.visible = false
|
|
|
},
|
|
|
|
|
|
closeDialog1() {
|
|
|
this.dialogVisible = false
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|