This commit is contained in:
bb_pan 2026-01-29 11:07:29 +08:00
parent 886272123d
commit 578498a4c7
1 changed files with 5 additions and 2 deletions

View File

@ -19,9 +19,12 @@ export default {
}
},
created() {
const deptName = sessionStorage.getItem('deptName')
// deptName ProvincialChart MunicipalChart
this.isShowComponent = deptName.includes('省公司') ? 'ProvincialChart' : 'MunicipalChart'
// const deptName = sessionStorage.getItem('deptName')
// this.isShowComponent = deptName.includes('') ? 'ProvincialChart' : 'MunicipalChart'
const deptId = sessionStorage.getItem('companyId')
this.isShowComponent = deptId == 243 ? 'ProvincialChart' : 'MunicipalChart'
},
methods: {},
}