From 3ef7da2d6c0372c22132a75fa8295b9b1e8a1ca6 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Wed, 26 Oct 2022 14:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=AE=8F=E7=BD=91-=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=EF=BC=9A=E8=B5=84=E6=BA=90=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E9=87=8F=EF=BC=8C=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BD=AC=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E8=AF=A5=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E7=AE=A1=E7=90=86=E7=9A=84=E8=83=BD=E5=8A=9B=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1-=E8=83=BD=E5=8A=9B=E4=BD=BF=E7=94=A8sheet=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/abilityStatistics/index.vue | 19 ++++++++++++------- .../components/AbilityTotal.vue | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index bc35e440..1175ca5b 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -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: { diff --git a/front/src/views/abilityStatistics/components/AbilityTotal.vue b/front/src/views/abilityStatistics/components/AbilityTotal.vue index 66dfc5bd..1fa7e036 100644 --- a/front/src/views/abilityStatistics/components/AbilityTotal.vue +++ b/front/src/views/abilityStatistics/components/AbilityTotal.vue @@ -109,7 +109,7 @@ break case '资源申请量': window.open( - window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index', + window.SITE_CONFIG.backUrl + '/#/abilityStatistics-index?type=use', '_blank' ) break