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