From ec7c689ec3a4cfa5e88c207331e6609412b8ae6c Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Thu, 28 Apr 2022 15:15:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=86=85=E7=BD=AE=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E5=AD=97=E6=AE=B5=E4=BC=A0=E5=8F=82=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/report/builtinReportTable.vue | 2 +- src/mixins/data-list.js | 2 -- src/views/report/builtinReport.vue | 8 ++------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/table/report/builtinReportTable.vue b/src/components/table/report/builtinReportTable.vue index e4497ded..ff172a9f 100644 --- a/src/components/table/report/builtinReportTable.vue +++ b/src/components/table/report/builtinReportTable.vue @@ -119,7 +119,7 @@ export default { label: this.$t('overall.status'), prop: 'state', show: true, - width: 120, + width: 130, sortable: 'custom' } ], diff --git a/src/mixins/data-list.js b/src/mixins/data-list.js index ed1674d3..93f91c18 100644 --- a/src/mixins/data-list.js +++ b/src/mixins/data-list.js @@ -76,8 +76,6 @@ export default { getTableData (params) { if (params) { this.searchLabel = { ...this.searchLabel, ...params } - } else { - this.searchLabel = {} } this.searchLabel = { ...this.searchLabel, ...this.pageObj } this.tools.loading = true diff --git a/src/views/report/builtinReport.vue b/src/views/report/builtinReport.vue index fe5ff8e6..d8993d16 100644 --- a/src/views/report/builtinReport.vue +++ b/src/views/report/builtinReport.vue @@ -4,7 +4,7 @@
{{$t('report.category')}}
-
+
{{$t('dns.all')}}
@@ -85,12 +85,8 @@ export default { }) }, builtinTabs (id) { + this.getTableData({ tempId: id }) this.builtinId = id - if (id !== '') { - this.getTableData({ tempId: id }) - } else { - this.getTableData() - } } }, mounted () {