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 @@ -
+
- {{ + {{ isRemoveCard ? '完成' : '编辑' }}
diff --git a/back/src/views/modules/notice/notice-user-view.vue b/back/src/views/modules/notice/notice-user-view.vue index abbb5c5c..e12543d4 100644 --- a/back/src/views/modules/notice/notice-user-view.vue +++ b/back/src/views/modules/notice/notice-user-view.vue @@ -48,10 +48,12 @@ export default { if (res.code !== 0) { return this.$message.error(res.msg) } + this.dataForm = { ...this.dataForm, ...res.data } + console.log("========================this.dataForm",this.dataForm) }).catch(() => {}) } } diff --git a/back/src/views/modules/workBench/components/bottom-view.vue b/back/src/views/modules/workBench/components/bottom-view.vue index 4e0b1e4e..d52be568 100644 --- a/back/src/views/modules/workBench/components/bottom-view.vue +++ b/back/src/views/modules/workBench/components/bottom-view.vue @@ -3,8 +3,8 @@
-
-
+
+
{{ item.createDate }}
@@ -16,6 +16,13 @@
查看更多 >
+
+ 暂无数据 +
@@ -156,7 +163,14 @@ export default { box-sizing: border-box; display: flex; justify-content: space-between; - + .no-data { + width: 800px; + height: 335px; + line-height: 335px; + font-size: 16px; + color: #212121; + text-align: center; +} .container { background: #fff; width: 800px; diff --git a/back/src/views/modules/workBench/components/trend-view.vue b/back/src/views/modules/workBench/components/trend-view.vue index f19d4dc1..51a5b004 100644 --- a/back/src/views/modules/workBench/components/trend-view.vue +++ b/back/src/views/modules/workBench/components/trend-view.vue @@ -68,7 +68,7 @@ export default { const valueItem = y + '-' + m + '-' + d // 组合 days.unshift(valueItem) // 添加至数组 } - console.log('最近七天日期:', days) + return days }, @@ -88,6 +88,7 @@ export default { endDate: this.endDate }, (res) => { + // if (res.data.code !== 0) { // return // } @@ -111,7 +112,7 @@ export default { ydata: [] } } - + this.$nextTick(() => { trendLineChart('trendId', this.trendChartData) }) @@ -124,7 +125,7 @@ export default { handleTitleSwitch (idx) { this.selectedTitle = idx this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30) - console.log(this.startDate) + this.initChart() }, getData (aa) { diff --git a/front/src/views/assertReport/image/jump.png b/front/src/views/assertReport/image/jump.png new file mode 100644 index 00000000..69351b98 Binary files /dev/null and b/front/src/views/assertReport/image/jump.png differ diff --git a/front/src/views/assertReport/index.vue b/front/src/views/assertReport/index.vue index 4f4ccc24..fe784ba3 100644 --- a/front/src/views/assertReport/index.vue +++ b/front/src/views/assertReport/index.vue @@ -8,13 +8,14 @@
累计节省财政资金
-