From 20ff5a6239bfc8ec3e709cc948ae757dcf780886 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Wed, 30 Oct 2024 19:16:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/system/dictData.ts | 44 ------------------- .../authority/role/components/rolePopup.vue | 1 + .../components/ErrorSystemDialog.vue | 8 +++- 3 files changed, 7 insertions(+), 46 deletions(-) diff --git a/frontend/src/api/system/dictData.ts b/frontend/src/api/system/dictData.ts index e340856..069427c 100644 --- a/frontend/src/api/system/dictData.ts +++ b/frontend/src/api/system/dictData.ts @@ -92,50 +92,6 @@ const dictData: Dict[] = [ }, ], }, - { - id: "4", - code: 'roleType', - label: '角色类型', - children: [ - { - id: "0", - label: '超级管理员', - code: 0, - }, - { - id: "1", - label: '管理员', - code: 1, - }, - { - id: "2", - label: '普通角色', - code: 2, - }, - ], - }, - { - id: "4", - code: 'roleType', - label: '角色类型', - children: [ - { - id: "0", - label: '超级管理员', - code: 0, - }, - { - id: "1", - label: '管理员', - code: 1, - }, - { - id: "2", - label: '普通角色', - code: 2, - }, - ], - }, { id: "5", code: 'planTestState', diff --git a/frontend/src/views/authority/role/components/rolePopup.vue b/frontend/src/views/authority/role/components/rolePopup.vue index 4fa535e..f6febfb 100644 --- a/frontend/src/views/authority/role/components/rolePopup.vue +++ b/frontend/src/views/authority/role/components/rolePopup.vue @@ -96,6 +96,7 @@ { ElMessage.success(res.message) updataList() + } else ElMessage.error(res.message) diff --git a/frontend/src/views/machine/errorSystem/components/ErrorSystemDialog.vue b/frontend/src/views/machine/errorSystem/components/ErrorSystemDialog.vue index 297ec8d..30d19f5 100644 --- a/frontend/src/views/machine/errorSystem/components/ErrorSystemDialog.vue +++ b/frontend/src/views/machine/errorSystem/components/ErrorSystemDialog.vue @@ -38,8 +38,12 @@ - - +