From 54aa64de64d4b541defb50f8bd2fbeb0446ef91a Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Thu, 13 Oct 2022 14:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=9C=80=E6=B1=82=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/abilityStatistics/index.vue | 34 ++++++++++--- front/public/static/config/basicConfig.js | 6 +-- .../components/AbilityTotal.vue | 50 ++++++++++++++++--- 3 files changed, 73 insertions(+), 17 deletions(-) diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index 9ae9cc02..e95ec4b3 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -25,6 +25,7 @@ + 日期: + 审核状态: + 部门名称: + 类型: 能力上架统计 @@ -119,7 +123,7 @@ ? 'departmentStyle' : '' ]" - @click="handleChose(2)" + @click="handleChose(4)" > 能力使用统计 @@ -144,7 +148,7 @@ style="width: 100%" v-show="this.departmentId === 1" > - + @@ -177,7 +181,7 @@ style="width: 100%" v-show="this.departmentId === 2" > - + @@ -211,11 +215,15 @@ style="width: 100%" v-show="this.departmentId === 3 || this.departmentId === 4" > - + + + + + @@ -390,7 +398,7 @@ export default { { name: '页面开发组件', value: 4 }, { name: '应用资源', value: 5 } ], // 类型备选列表 - detailFlag: true, // 明细返回按钮显示标志位 + detailFlag: false, // 明细返回按钮显示标志位 startDate: '', // 开始时间 endDate: '' // 结束时间 } @@ -410,7 +418,15 @@ export default { // this.value1.unshift(date2) }, mounted () { - this.getFirstTree() + // this.getFirstTree() + if (this.departmentId === 1) { + this.handleChose(3) + // this.departmentId = 1; + } else if (this.departmentId === 2) { + this.handleChose(4) + // this.departmentId = 2; + } else { + } }, computed: { ...mapState(['departmentSelects']) @@ -786,12 +802,14 @@ export default { // this.getUsedTree() } } else if (index === 3) { + this.detailFlag = false if (this.choseId === 0) { this.getOneDetail() } else { // this.getUsedTree() } } else if (index === 4) { + this.detailFlag = false if (this.choseId === 0) { this.getTwoDetail() } else { @@ -879,7 +897,7 @@ export default { this.value1 = [] this.startDate = '' this.endDate = '' - this.examineStatus = '全部' + this.examineStatus = '' this.abilityDepartment = '' this.abilityType = '' if (this.departmentId === 1) { diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js index 6d37819d..4e0eaedd 100644 --- a/front/public/static/config/basicConfig.js +++ b/front/public/static/config/basicConfig.js @@ -2,16 +2,16 @@ * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-10-12 15:29:29 + * @LastEditTime: 2022-10-13 13:50:44 * @Description: 系统静态参数配置 */ var _global = {} var CONFIGITEM = { // version: 'qingdao', //青岛 // version: 'xihaian', // 西海岸 - version: 'dev', // 开发 + // version: 'dev', // 开发 // version: 'zhanTingDev', // 展厅dev (2022-09-13:姜永超让添加) - //version: 'test', // 测试 + version: 'test', // 测试 //version: 'frp', // 内网穿透 vNum: 'v0.8.7.2', configData: { diff --git a/front/src/views/abilityStatistics/components/AbilityTotal.vue b/front/src/views/abilityStatistics/components/AbilityTotal.vue index 2632bb9d..9c26c740 100644 --- a/front/src/views/abilityStatistics/components/AbilityTotal.vue +++ b/front/src/views/abilityStatistics/components/AbilityTotal.vue @@ -15,11 +15,26 @@ >
{{ item.type }}
- {{ item.amount }} + + + + {{ item.amount }} + + + + {{ item.amount }} + {{ item.organization }}
-
@@ -27,21 +42,25 @@