金宏网-能力统计:资源申请量,点击跳转时,应该跳转到后台管理的能力统计-能力使用sheet页

This commit is contained in:
a0049873 2022-10-26 14:49:00 +08:00
parent 94a940a1ab
commit 3ef7da2d6c
2 changed files with 13 additions and 8 deletions

View File

@ -358,7 +358,7 @@ export default {
{ name: '图层服务', value: 2 }, { name: '图层服务', value: 2 },
{ name: '开发组件', value: 3 }, { name: '开发组件', value: 3 },
{ name: '业务组件', value: 4 }, { name: '业务组件', value: 4 },
{ name: '应用资源', value: 5 }, { name: '应用资源', value: 5 }
], // ], //
detailFlag: false, // detailFlag: false, //
@ -389,6 +389,10 @@ export default {
}, },
mounted () { mounted () {
// this.getFirstTree() // this.getFirstTree()
console.log('this.$route.query.Id;', this.$route.query.type)
if (this.$route.query.type === 'use') {
this.handleChose(4)
} else {
if (this.departmentId === 1) { if (this.departmentId === 1) {
this.handleChose(3) this.handleChose(3)
// this.departmentId = 1; // this.departmentId = 1;
@ -397,6 +401,7 @@ export default {
// this.departmentId = 2; // this.departmentId = 2;
} else { } else {
} }
}
}, },
computed: { computed: {
// ...mapState(['departmentSelects']) // ...mapState(['departmentSelects'])

View File

@ -109,7 +109,7 @@
break break
case '资源申请量': case '资源申请量':
window.open( window.open(
window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index', window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index?type=use',
'_blank' '_blank'
) )
break break