From b4adff68a07b783fc90da1c9370d8be5f383e700 Mon Sep 17 00:00:00 2001 From: 黎星凯 <13949086503@163.com> Date: 星期三, 08 五月 2024 13:46:34 +0800 Subject: [PATCH] 20240528修改: bug41、42、43修改 领用单(分发单),调拨单,流程优化 --- admin-web/src/views/systemSetting/role/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-web/src/views/systemSetting/role/index.vue b/admin-web/src/views/systemSetting/role/index.vue index 25bb0db..f8a2728 100644 --- a/admin-web/src/views/systemSetting/role/index.vue +++ b/admin-web/src/views/systemSetting/role/index.vue @@ -297,13 +297,13 @@ methods: { fifterForm(params) { this.queryParams = Object.assign(this.queryParams, params) - this.queryParams.status = 0 + // this.queryParams.status = 0 this.search(1) }, // 鏌ヨtable鍒楄〃 search(pageNum) { if (pageNum != undefined) { - this.$refs.myTable.search(pageNum) + this.$refs.myTable.search({pageNum}) } else { this.$refs.myTable.search() } @@ -380,7 +380,7 @@ let text = row.status == 0 ? "绂佺敤" : "鍚敤"; this.$modal.confirm('纭瑕�' + text + '"' + row.role_name + '"瑙掕壊鍚楋紵').then(function () { row.status = row.status == 0 ? 1 : 0; - return changeRoleStatus(row.role_id, row.status); + return changeRoleStatus(row); }).then(() => { this.$modal.msgSuccess(text + "鎴愬姛"); this.search(); -- Gitblit v1.9.1