From 30c45e6f7485a2c3fa7d25be5a2cb027f5e1545e Mon Sep 17 00:00:00 2001
From: juzi <819872918@qq.com>
Date: Mon, 6 Jan 2025 10:44:23 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B3=BB=E7=BB=9Fbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/role.js | 6 +-----
.../mall/promotion/couponTemplate/index.vue | 1 -
src/views/system/role/components/roleAdd.vue | 16 ++++++++++++++--
src/views/system/role/index.vue | 3 ++-
src/views/system/user/index.vue | 3 +++
5 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/src/api/system/role.js b/src/api/system/role.js
index 05d2a59f..60d11b0c 100644
--- a/src/api/system/role.js
+++ b/src/api/system/role.js
@@ -44,11 +44,7 @@ export function updateRole(data) {
}
// 角色状态修改
-export function changeRoleStatus(id, status) {
- const data = {
- id,
- status
- }
+export function changeRoleStatus(data) {
return request({
url: '/system/role/update-status',
method: 'put',
diff --git a/src/views/mall/promotion/couponTemplate/index.vue b/src/views/mall/promotion/couponTemplate/index.vue
index db81ab3c..ffdbb920 100644
--- a/src/views/mall/promotion/couponTemplate/index.vue
+++ b/src/views/mall/promotion/couponTemplate/index.vue
@@ -176,7 +176,6 @@ import {
} from "@/utils/constants";
import { getSpuSimpleList } from "@/api/mall/product/spu";
import { parseTime } from "@/utils/ruoyi";
-import {changeRoleStatus} from "@/api/system/role";
export default {
name: "PromotionCouponTemplate",
diff --git a/src/views/system/role/components/roleAdd.vue b/src/views/system/role/components/roleAdd.vue
index 26de73be..4c983354 100644
--- a/src/views/system/role/components/roleAdd.vue
+++ b/src/views/system/role/components/roleAdd.vue
@@ -26,7 +26,7 @@
-
+
@@ -38,7 +38,7 @@
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 30b611c8..15fbfa6c 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -39,7 +39,7 @@
@confirm="handleConfirm"
:before-close="handleCancel"
width="50%">
-
+
Date: Tue, 7 Jan 2025 14:27:13 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/store/modules/permission.js | 2 +-
.../equipment/base/inspection/items/index.vue | 1 -
src/views/system/components/statusBtn2.vue | 10 ++++-
src/views/system/dept/index.vue | 44 +++++++++++--------
src/views/system/dict/data.vue | 21 +++++++--
src/views/system/dict/index.vue | 23 +++++++---
src/views/system/menu/index.vue | 31 +++++++------
src/views/system/post/index.vue | 23 +++++++---
src/views/system/user/index.vue | 4 +-
9 files changed, 108 insertions(+), 51 deletions(-)
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index 62a875b6..e4154b80 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -23,7 +23,7 @@ const permission = {
state.topbarRouters = routes
},
SET_SIDEBAR_ROUTERS: (state, routes) => {
- console.log('==SET_SIDEBAR_ROUTERS==:',routes)
+ // console.log('==SET_SIDEBAR_ROUTERS==:',routes)
state.sidebarRouters = routes
},
},
diff --git a/src/views/equipment/base/inspection/items/index.vue b/src/views/equipment/base/inspection/items/index.vue
index fbf01d64..be5171a7 100644
--- a/src/views/equipment/base/inspection/items/index.vue
+++ b/src/views/equipment/base/inspection/items/index.vue
@@ -28,7 +28,6 @@ import moment from 'moment';
import basicPageMixin from '@/mixins/lb/basicPageMixin';
import { deleteProgramTypeData } from '@/api/equipment/base/maintain/items'
import showDetail from './showDetail.vue'
-import { publicFormatter } from '@/utils/dict';
export default {
name: 'PlanConfig',
diff --git a/src/views/system/components/statusBtn2.vue b/src/views/system/components/statusBtn2.vue
index 3a4ab297..ed3b490f 100644
--- a/src/views/system/components/statusBtn2.vue
+++ b/src/views/system/components/statusBtn2.vue
@@ -5,6 +5,7 @@