From 3fd0c08b8054c937fc6055d4d584d650a1f58de2 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Mon, 18 Sep 2023 20:07:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E9=80=89=E4=B8=AD=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cnadmin/system/model/vo/DictVO.java | 5 ++ .../src/views/system/dict/index.vue | 52 +++++++++++++------ 2 files changed, 40 insertions(+), 17 deletions(-) diff --git a/continew-admin-system/src/main/java/top/charles7c/cnadmin/system/model/vo/DictVO.java b/continew-admin-system/src/main/java/top/charles7c/cnadmin/system/model/vo/DictVO.java index 1c9688fc..a1d52b3b 100644 --- a/continew-admin-system/src/main/java/top/charles7c/cnadmin/system/model/vo/DictVO.java +++ b/continew-admin-system/src/main/java/top/charles7c/cnadmin/system/model/vo/DictVO.java @@ -57,4 +57,9 @@ public class DictVO extends BaseVO { */ @Schema(description = "是否为系统内置数据", example = "true") private Boolean isSystem; + + @Override + public Boolean getDisabled() { + return this.getIsSystem(); + } } \ No newline at end of file diff --git a/continew-admin-ui/src/views/system/dict/index.vue b/continew-admin-ui/src/views/system/dict/index.vue index 08767067..c75931ce 100644 --- a/continew-admin-ui/src/views/system/dict/index.vue +++ b/continew-admin-ui/src/views/system/dict/index.vue @@ -110,18 +110,25 @@ @row-click="handleSelect" >