From 7229a86d0966e08674c6310eb40ed8d33fb38dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Tue, 5 Aug 2025 11:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=90=8E=E6=B8=85=E7=A9=BA=E8=A7=84=E5=88=99=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/applicationManagement/employRule/index.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/applicationManagement/employRule/index.vue b/src/views/applicationManagement/employRule/index.vue index 7fd1184..b2f325d 100644 --- a/src/views/applicationManagement/employRule/index.vue +++ b/src/views/applicationManagement/employRule/index.vue @@ -356,9 +356,12 @@ export default { } }, // 获取规则列表数据 - getList() { + getList(queryParams) { this.loading = true - const params = Object.assign({}, this.queryParams) + const params = Object.assign( + {}, + queryParams ? queryParams : this.queryParams + ) getRulePage(params) .then(response => { @@ -444,8 +447,8 @@ export default { } // 使用转换后的参数进行查询 - this.queryParams = queryParams - this.getList() + // this.queryParams = queryParams + this.getList(queryParams) }, // 重置按钮点击事件 resetQuery() {