From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 03 四月 2025 15:58:19 +0800 Subject: [PATCH] 问题与漏洞修改 --- admin-web/src/views/systemSetting/role/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-web/src/views/systemSetting/role/index.vue b/admin-web/src/views/systemSetting/role/index.vue index ba3990b..f8a2728 100644 --- a/admin-web/src/views/systemSetting/role/index.vue +++ b/admin-web/src/views/systemSetting/role/index.vue @@ -297,7 +297,7 @@ methods: { fifterForm(params) { this.queryParams = Object.assign(this.queryParams, params) - this.queryParams.status = 0 + // this.queryParams.status = 0 this.search(1) }, // 鏌ヨtable鍒楄〃 @@ -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