From 8a05e77f8dc0d4b2400e22bdf5cdc16cbf42649d Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 12 Aug 2022 16:35:57 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=BB=9F=E8=AE=A1=20-=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/svg/empty.svg | 190 ++++++++++++++++++ src/views/system/archiveStatistics/index.vue | 33 ++- .../archiveStatistics/module/acrossBar.vue | 2 - .../archiveStatistics/module/barEcharts.vue | 14 -- .../archiveStatistics/module/lineEchart.vue | 2 - 5 files changed, 219 insertions(+), 22 deletions(-) create mode 100644 src/assets/icons/svg/empty.svg diff --git a/src/assets/icons/svg/empty.svg b/src/assets/icons/svg/empty.svg new file mode 100644 index 0000000..a6afeb7 --- /dev/null +++ b/src/assets/icons/svg/empty.svg @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/archiveStatistics/index.vue b/src/views/system/archiveStatistics/index.vue index d918424..b288810 100644 --- a/src/views/system/archiveStatistics/index.vue +++ b/src/views/system/archiveStatistics/index.vue @@ -48,9 +48,13 @@ value-format="yyyy-MM" @change="handleTypeDate" /> -
+
+
+ +

暂无数据

+
@@ -91,8 +95,12 @@ value-format="yyyy-MM" @change="handleSearchDate" /> -
- +
+ +
+
+ +

暂无数据

@@ -178,7 +186,6 @@ export default { } } .center-box{ - // width:100%; margin:20px 0; display: flex; justify-content: space-between; @@ -188,4 +195,22 @@ export default { flex: 1; } } + +.empty-main{ + display: flex; + height: calc(100% - 40px); + flex-flow: column; + justify-content: center; + align-items: center; + .empty-img{ + width: 140px; + height: 140px; + vertical-align: middle; + } + p{ + font-size: 12px; + color: #999; + margin-top: -10px; + } +} diff --git a/src/views/system/archiveStatistics/module/acrossBar.vue b/src/views/system/archiveStatistics/module/acrossBar.vue index ccd2b87..48e5120 100644 --- a/src/views/system/archiveStatistics/module/acrossBar.vue +++ b/src/views/system/archiveStatistics/module/acrossBar.vue @@ -126,7 +126,6 @@ export default { } ] } - option && this.chart.setOption(option) } } @@ -134,5 +133,4 @@ export default { diff --git a/src/views/system/archiveStatistics/module/barEcharts.vue b/src/views/system/archiveStatistics/module/barEcharts.vue index bf33ebc..69968df 100644 --- a/src/views/system/archiveStatistics/module/barEcharts.vue +++ b/src/views/system/archiveStatistics/module/barEcharts.vue @@ -144,18 +144,6 @@ export default { axisPointer: { type: 'shadow' }, - // formatter: function(params) { - // var res = "

" + echarts.format.formatTime('yyyy年M月', new Date(params[0].name)) + '

' - // for (var i = 0; i < params.length; i++) { - // res += `
- // - // ${params[i].color} - // ${params[i].seriesName} - // ${params[i].data} - //
` - // } - // return res - // }, formatter(params) { const val0 = params[0]['data'] const val1 = params[1]['data'] @@ -280,7 +268,6 @@ export default { } ] } - option && this.chart.setOption(option) } } @@ -288,5 +275,4 @@ export default { diff --git a/src/views/system/archiveStatistics/module/lineEchart.vue b/src/views/system/archiveStatistics/module/lineEchart.vue index e708aeb..412eec1 100644 --- a/src/views/system/archiveStatistics/module/lineEchart.vue +++ b/src/views/system/archiveStatistics/module/lineEchart.vue @@ -45,7 +45,6 @@ export default { }, mounted() { this.drawChart() - console.log(this.year) window.addEventListener('resize', this.__resizeHandler) }, methods: { @@ -177,5 +176,4 @@ export default { From 242b8b15aab934c0a65ef55f1471e995a9afd29c Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 12 Aug 2022 17:25:51 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=BA=93=E6=88=BF=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E7=BB=9F=E4=B8=80/=E6=A1=A3=E6=A1=88-1=E7=8A=B6=E6=80=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../archivesManage/archivesCheck/module/checkDetail.vue | 9 ++++++++- .../archivesList/module/archivesInfo/index.vue | 2 ++ src/views/archivesManage/archivesSearch/index.vue | 9 ++++++++- .../archivesSearch/module/detailDialog.vue | 9 ++++++++- src/views/archivesManage/caseManage/caseList/index.vue | 6 ++++-- .../caseManage/caseList/module/detailDialog.vue | 9 ++++++++- src/views/environmentalScreen/index.vue | 9 +++++++++ 7 files changed, 47 insertions(+), 6 deletions(-) diff --git a/src/views/archivesManage/archivesCheck/module/checkDetail.vue b/src/views/archivesManage/archivesCheck/module/checkDetail.vue index 09b885a..e68f555 100644 --- a/src/views/archivesManage/archivesCheck/module/checkDetail.vue +++ b/src/views/archivesManage/archivesCheck/module/checkDetail.vue @@ -48,7 +48,14 @@ - + + +