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 @@ - - +