From 07f21e8d901381a45b242a89d737f828f1dcfb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 19 Sep 2022 16:18:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8Dreport=E9=A1=B5,?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E7=95=8C=E9=9D=A2=E5=AF=BC=E8=87=B4=E8=A1=8C?= =?UTF-8?q?=E5=86=85=E5=B1=95=E5=BC=80=E9=A1=B5=E7=9A=84=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=A1=B5=E7=A0=81=E8=A2=AB=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../table/report/reportTestTable.vue | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/src/components/table/report/reportTestTable.vue b/src/components/table/report/reportTestTable.vue index 7f5c0664..e409d22d 100644 --- a/src/components/table/report/reportTestTable.vue +++ b/src/components/table/report/reportTestTable.vue @@ -401,17 +401,6 @@ export default { watch: { tableData (newVal, oldVal) { if (newVal) { - if (this.categoryId !== '') { - this.pageObj = { - pageNo: 1, - pageSize: 20, - total: 0, - resetPageNo: true - } - if (this.initExpandFlag) { - this.dropExpandChange('', []) - } - } this.showSelectedRow() } }, @@ -422,10 +411,12 @@ export default { } this.reloadUrl(expandIdParam) - const expandPage = { - expandPage: 1 + if (this.initExpandFlag) { + const expandPage = { + expandPage: 1 + } + this.reloadUrl(expandPage) } - this.reloadUrl(expandPage) const dateParam = { startTime: dateFormatToUTC(this.timeRange[0]), @@ -507,11 +498,12 @@ export default { const obj = { id: expandInfo[0] } + this.dropExpandChange(obj, expandInfo, 'init') setTimeout(() => { this.initExpandFlag = true - }, 1000) + }, 1500) } }, /**