金宏网-能力统计:资源申请量,点击跳转时,应该跳转到后台管理的能力统计-能力使用sheet页
This commit is contained in:
parent
94a940a1ab
commit
3ef7da2d6c
|
@ -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: {
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
break
|
||||
case '资源申请量':
|
||||
window.open(
|
||||
window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index',
|
||||
window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index?type=use',
|
||||
'_blank'
|
||||
)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue