From 3d6cd674937d2c845610ec27df540c26532ba0fc Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 20 Jun 2025 11:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=8F=AF=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CriterionDictionary.vue | 144 +++++------------- .../components/CriterionDictionaryConfig.vue | 138 +++++------------ 2 files changed, 78 insertions(+), 204 deletions(-) diff --git a/src/views/dictionary/template/components/CriterionDictionary.vue b/src/views/dictionary/template/components/CriterionDictionary.vue index a11ac2c0..d6f31fef 100644 --- a/src/views/dictionary/template/components/CriterionDictionary.vue +++ b/src/views/dictionary/template/components/CriterionDictionary.vue @@ -5,151 +5,81 @@
- + {{ $t('dictionary:template:criterionDictionary:button:config') }}
- + - + - + - + - + - + - + - - + + - +
- - {{ $t('common:button:save')}} + + {{ $t('common:button:save') }}
- - + + - + - + - + - +
@@ -264,7 +194,7 @@ export default { this.loading = true // 是否确认删除 this.$confirm(this.$t('template:criterionDictionary:message:msg1')).then(() => { - deleteSystemCriterionDictionary({Id: row.Id}).then(res => { + deleteSystemCriterionDictionary({ Id: row.Id }).then(res => { this.$message.success(this.$t('common:message:deletedSuccessfully')) this.loading = false this.getList() @@ -277,7 +207,7 @@ export default { diff --git a/src/views/dictionary/template/components/CriterionDictionaryConfig.vue b/src/views/dictionary/template/components/CriterionDictionaryConfig.vue index 62c7dbd3..950f0b87 100644 --- a/src/views/dictionary/template/components/CriterionDictionaryConfig.vue +++ b/src/views/dictionary/template/components/CriterionDictionaryConfig.vue @@ -4,134 +4,74 @@
- + {{ $t('dictionary:template:criterionDictionary:button:config') }}
- - + + - + - + - + - + - + - +
- - {{ $t('common:button:save')}} + + {{ $t('common:button:save') }}
- - + + - + - + - + - +
@@ -150,6 +90,10 @@ export default { parentCode: { type: String, required: true + }, + isCompleteConfig: { + type: Boolean, + default: false } }, data() { @@ -178,7 +122,7 @@ export default { this.loading = false this.$message.success(this.$t('common:message:savedSuccessfully')) this.getList() - }).catch(() => {this.loading = false}) + }).catch(() => { this.loading = false }) }, toggleSelection(rows) { console.log(this.$refs.multipleTable) @@ -240,7 +184,7 @@ export default {