|
@ -56,6 +56,7 @@ Vue.component('copd-serve-num', {
|
|
|
teamCode: '',
|
|
|
userRoleCode: '',
|
|
|
docInfo: JSON.parse(window.localStorage.getItem('docInfo')),
|
|
|
isShowBtn: 0,
|
|
|
isGuGan: false,
|
|
|
areaList: [],
|
|
|
tabledata: [],
|
|
@ -134,10 +135,10 @@ Vue.component('copd-serve-num', {
|
|
|
vm.nowyear = vm.chooseYear = now.getFullYear()
|
|
|
// vm.chooseYear = '2022'
|
|
|
vm.nowmonth = now.getMonth() + 1
|
|
|
vm.years = []
|
|
|
for (i = vm.nowyear; i >= 2013; i--) {
|
|
|
vm.years.push(i)
|
|
|
}
|
|
|
vm.years = ['2025']
|
|
|
// for (i = vm.nowyear; i >= 2013; i--) {
|
|
|
// vm.years.push(i)
|
|
|
// }
|
|
|
},
|
|
|
// 数据范围初始化
|
|
|
initScope(type) {
|
|
@ -158,6 +159,7 @@ Vue.component('copd-serve-num', {
|
|
|
this.areaCode = null
|
|
|
this.communityCode = null
|
|
|
if (vm.userRole.code == '350200' || vm.userRole.code == 'jk_350200') {
|
|
|
vm.isShowBtn = 1
|
|
|
vm.getDistrict(type, 350200, '厦门市')
|
|
|
} else if (vm.userRole.code.indexOf('jk_') > -1) {
|
|
|
vm.getDistrict(type, vm.userRole.code.substring(3), vm.areaTitle.substring(0, 3))
|