|
@ -380,7 +380,6 @@ Vue.component('gxb-evaluation', {
|
|
|
{ label: '签约医生', prop: 'doctorName' },
|
|
|
{ label: '提醒类型', prop: 'typeName' },
|
|
|
{ label: '消息推送时间', prop: 'createTime' },
|
|
|
{ label: '出院下转时间', prop: 'turnTime' },
|
|
|
{ label: '消息推送人', prop: 'senderName' }
|
|
|
]
|
|
|
this.selectSmsInfoList()
|
|
@ -445,12 +444,12 @@ Vue.component('gxb-evaluation', {
|
|
|
params.page = this.page
|
|
|
params.size = this.size
|
|
|
if (this.yearType == '1') {
|
|
|
params.startDate = this.chooseYear + '-01-01'
|
|
|
params.endDate = this.chooseYear + '-12-31'
|
|
|
params.startTime = this.chooseYear + '-01-01'
|
|
|
params.endTime = this.chooseYear + '-12-31'
|
|
|
} else {
|
|
|
if (this.chooseTime) {
|
|
|
params.startDate = this.chooseTime[0]
|
|
|
params.endDate = this.chooseTime[1]
|
|
|
params.startTime = this.chooseTime[0]
|
|
|
params.endTime = this.chooseTime[1]
|
|
|
}
|
|
|
}
|
|
|
httpRequest.get('statistics/collaborate/selectSmsInfoList', { data: params }).then(function (res) {
|
|
@ -523,27 +522,31 @@ Vue.component('gxb-evaluation', {
|
|
|
this.messageVisible = false
|
|
|
},
|
|
|
getData(data) {
|
|
|
this.yearType = data.yearType
|
|
|
this.form.range = data.range
|
|
|
this.form.area = data.area
|
|
|
if (data) {
|
|
|
this.yearType = data.yearType
|
|
|
this.form.range = data.range
|
|
|
this.form.area = data.area
|
|
|
|
|
|
this.form.hospital = data.hospital
|
|
|
this.form.team = data.team
|
|
|
this.form.hospital = data.hospital
|
|
|
this.form.team = data.team
|
|
|
|
|
|
if (this.yearType == 1) {
|
|
|
this.chooseYear = data.time
|
|
|
if (this.yearType == 1) {
|
|
|
this.chooseYear = data.time
|
|
|
} else {
|
|
|
this.chooseTime = data.time
|
|
|
}
|
|
|
if (this.form.hospital) {
|
|
|
// 如果有社区code传过来就调社区医院列表接口
|
|
|
this.getHospital(data.area, false)
|
|
|
}
|
|
|
if (this.form.team) {
|
|
|
// 如果有团队code传过来就调团队列表接口
|
|
|
this.getTeam(data.hospital, false)
|
|
|
}
|
|
|
this.searchFn()
|
|
|
} else {
|
|
|
this.chooseTime = data.time
|
|
|
}
|
|
|
if (this.form.hospital) {
|
|
|
// 如果有社区code传过来就调社区医院列表接口
|
|
|
this.getHospital(data.area, false)
|
|
|
this.init()
|
|
|
}
|
|
|
if (this.form.team) {
|
|
|
// 如果有团队code传过来就调团队列表接口
|
|
|
this.getTeam(data.hospital, false)
|
|
|
}
|
|
|
this.searchFn()
|
|
|
},
|
|
|
renderHeader: function (h, item) {
|
|
|
var label = item.column.label
|
|
@ -584,6 +587,6 @@ Vue.component('gxb-evaluation', {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.init()
|
|
|
// this.init()
|
|
|
}
|
|
|
})
|