From 26cca57f75b74944d40b145668b46a181db1c75d Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 13 Mar 2025 15:00:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=A0=87=E5=87=86=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CriterionDictionary.vue | 10 +++-- .../components/CriterionDictionaryConfig.vue | 37 ++++++++++++------- 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/src/views/dictionary/template/components/CriterionDictionary.vue b/src/views/dictionary/template/components/CriterionDictionary.vue index 2268a0c1..a11ac2c0 100644 --- a/src/views/dictionary/template/components/CriterionDictionary.vue +++ b/src/views/dictionary/template/components/CriterionDictionary.vue @@ -107,7 +107,7 @@ @click="handleSave" v-loading="loading" > - 保存 + {{ $t('common:button:save')}} { var a = this.dicList.filter(v => { @@ -261,9 +262,10 @@ export default { }, handleDelete(row) { this.loading = true - this.$confirm('确定要删除该系统标准字典吗?').then(() => { + // 是否确认删除 + this.$confirm(this.$t('template:criterionDictionary:message:msg1')).then(() => { deleteSystemCriterionDictionary({Id: row.Id}).then(res => { - this.$message.success('删除成功') + this.$message.success(this.$t('common:message:deletedSuccessfully')) this.loading = false this.getList() }).catch(() => { this.loading = false }) diff --git a/src/views/dictionary/template/components/CriterionDictionaryConfig.vue b/src/views/dictionary/template/components/CriterionDictionaryConfig.vue index 3f691b6b..62c7dbd3 100644 --- a/src/views/dictionary/template/components/CriterionDictionaryConfig.vue +++ b/src/views/dictionary/template/components/CriterionDictionaryConfig.vue @@ -10,7 +10,7 @@ @click="handleAdd" style="margin-right: 10px;" > - 配置 + {{ $t('dictionary:template:criterionDictionary:button:config') }} @@ -24,39 +24,44 @@ > + + + + +