金宏网-能力统计:资源申请量,点击跳转时,应该跳转到后台管理的能力统计-能力使用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

@ -353,12 +353,12 @@ export default {
{ name: '应用资源', value: 5 },
{ name: '会议室', value: 6 }
], //
typeOptions1: [//
typeOptions1: [//
{ name: '智能算法', value: 1 },
{ name: '图层服务', value: 2 },
{ name: '开发组件', value: 3 },
{ name: '业务组件', value: 4 },
{ name: '应用资源', value: 5 },
{ name: '应用资源', value: 5 }
], //
detailFlag: false, //
@ -389,13 +389,18 @@ export default {
},
mounted () {
// this.getFirstTree()
if (this.departmentId === 1) {
this.handleChose(3)
// this.departmentId = 1;
} else if (this.departmentId === 2) {
console.log('this.$route.query.Id;', this.$route.query.type)
if (this.$route.query.type === 'use') {
this.handleChose(4)
// this.departmentId = 2;
} else {
if (this.departmentId === 1) {
this.handleChose(3)
// this.departmentId = 1;
} else if (this.departmentId === 2) {
this.handleChose(4)
// this.departmentId = 2;
} else {
}
}
},
computed: {

View File

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