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 () {