|
@ -119,7 +119,11 @@ Vue.component('copd-serve-num', {
|
|
|
homeAPI.getDistrict(params).then(function (res) {
|
|
|
if (res.status == 200) {
|
|
|
vm[param + 'List'] = list.concat(res.list)
|
|
|
// vm[param + 'Code'] = vm[param + 'List'][0].code
|
|
|
if (type == 3) {
|
|
|
vm[param + 'Code'] = vm[param + 'List'][0].code
|
|
|
vm.selChange(3)
|
|
|
vm.search()
|
|
|
}
|
|
|
} else {
|
|
|
vm.$message.error(res.msg)
|
|
|
}
|
|
@ -245,7 +249,10 @@ Vue.component('copd-serve-num', {
|
|
|
var params = {
|
|
|
year: this.chooseYear,
|
|
|
range: this.rangeCode,
|
|
|
area: this.areaCode == '350200' ? '' : this.areaCode
|
|
|
area: this.areaCode == '350200' ? '' : this.areaCode === null ? '' : this.areaCode
|
|
|
}
|
|
|
if (this.rangeCode == 'hospital') {
|
|
|
params.hospital = this.communityCode
|
|
|
}
|
|
|
statisticAPI.exportServiceProgress(params, '服务人数配置及进度查询.xls').then(function (res) {
|
|
|
vm.daLoading = false
|
|
@ -316,7 +323,10 @@ Vue.component('copd-serve-num', {
|
|
|
var params = {
|
|
|
year: this.chooseYear,
|
|
|
range: this.rangeCode,
|
|
|
area: this.areaCode == '350200' ? '' : this.areaCode
|
|
|
area: this.areaCode == '350200' ? '' : this.areaCode === null ? '' : this.areaCode
|
|
|
}
|
|
|
if (this.rangeCode == 'hospital') {
|
|
|
params.hospital = this.communityCode
|
|
|
}
|
|
|
statisticAPI.getServiceProgress(params).then(function (res) {
|
|
|
vm.daLoading = false
|