From 15d0c850c46e3c0300851827c9e6c6fc8285a3fb Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Mon, 5 Dec 2022 15:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9jire=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/mixins/view-module.js | 42 ++++++++++-------- .../views/modules/bscatalogue/bscatalogue.vue | 4 +- .../views/modules/notice/notice-user-view.vue | 2 + .../workBench/components/bottom-view.vue | 20 +++++++-- .../workBench/components/trend-view.vue | 7 +-- front/src/views/assertReport/image/jump.png | Bin 0 -> 464 bytes front/src/views/assertReport/index.vue | 18 ++++++-- .../Algorithm/AlgorithmTopDetails.vue | 8 ++-- .../Application/ApplicationTopDetails.vue | 4 +- .../Business/BusinessTopDetails.vue | 6 +-- .../Developer/DeveloperTopDetails.vue | 4 +- .../LayerService/LayerServiceTopDetails.vue | 4 +- 12 files changed, 76 insertions(+), 43 deletions(-) create mode 100644 front/src/views/assertReport/image/jump.png diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index a6a4c534..e65d2d34 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -71,26 +71,30 @@ export default { return this.$message.error(res.msg) } this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data - this.dataList.map((item, index) => { - if (this.dataList[index].type != null) { - switch (item.type) { - case 1: this.dataList[index].type = '省'; break - case 2: this.dataList[index].type = '市'; break - case 3: this.dataList[index].type = '区'; break - case 4: this.dataList[index].type = '企业'; break - } - } - if (item.children != null) { - item.children.map((item2, index2) => { - switch (item2.type) { - case 1: this.dataList[index].children[index2].type = '省'; break - case 2: this.dataList[index].children[index2].type = '市'; break - case 3: this.dataList[index].children[index2].type = '区'; break - case 4: this.dataList[index].children[index2].type = '企业'; break + if(!['/sys/notice/page','/sys/notice/mynotice/page'].includes(this.mixinViewModuleOptions.getDataListURL)){//我得通知、通知管理不需要特殊处理 + this.dataList.map((item, index) => { + if (this.dataList[index].type != null) { + switch (item.type) { + case 1: this.dataList[index].type = '省'; break + case 2: this.dataList[index].type = '市'; break + case 3: this.dataList[index].type = '区'; break + case 4: this.dataList[index].type = '企业'; break } - }) - } - }) + } + if (item.children != null) { + item.children.map((item2, index2) => { + switch (item2.type) { + case 1: this.dataList[index].children[index2].type = '省'; break + case 2: this.dataList[index].children[index2].type = '市'; break + case 3: this.dataList[index].children[index2].type = '区'; break + case 4: this.dataList[index].children[index2].type = '企业'; break + } + }) + } + }) + + } + // 我的代办特殊处理 if (this.mixinViewModuleOptions.getDataListURL === '/act/task/myToDoTaskPage') { this.$http.get('/sys/user/info').then(userRes => { diff --git a/back/src/views/modules/bscatalogue/bscatalogue.vue b/back/src/views/modules/bscatalogue/bscatalogue.vue index e35fda0a..9040892e 100644 --- a/back/src/views/modules/bscatalogue/bscatalogue.vue +++ b/back/src/views/modules/bscatalogue/bscatalogue.vue @@ -65,12 +65,12 @@ -
{{ item }}
- {{ item }} + {{ item }} -