diff --git a/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue
index 8fabdb92..20bcc97f 100644
--- a/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue
+++ b/src/views/dictionary/attachment/components/CommonTemplate/TemplateForm.vue
@@ -9,10 +9,10 @@
class="upload-temporary-file"
>
-
+
-
+
-
+
-
+
+
-
+
+
@@ -76,18 +78,18 @@
@@ -98,7 +100,7 @@
@@ -109,19 +111,19 @@
type="text"
@click="handleDownload(scope.row)"
>
- 下载
+ {{ $t('common:button:download') }}
- 编辑
+ {{ $t('common:action:edit') }}
- 删除
+ {{ $t('common:button:delete') }}
@@ -176,9 +178,9 @@ export default {
},
methods: {
handleDelete(row) {
- this.$confirm('确定删除该文件?').then(() => {
+ this.$confirm(this.$t('dictionary:attachment:export:confirm:delete')).then(() => {
deleteCommonDocument(row.Id).then(() => {
- this.$message.success('删除成功')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
this.getList()
})
})
@@ -195,7 +197,7 @@ export default {
},
// 新增
handleAdd() {
- this.editDialog.title = 'Add'
+ this.editDialog.title = this.$t('common:button:new')
this.currentRow = { FileTypeEnum: FileTypeEnum }
this.editDialog.visible = true
},
@@ -208,7 +210,7 @@ export default {
},
// 编辑
handleEdit(row) {
- this.editDialog.title = 'Edit'
+ this.editDialog.title = this.$t('common:action:edit')
this.currentRow = { ...row }
this.editDialog.visible = true
},
diff --git a/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue
index d7273529..1df7fe0a 100644
--- a/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue
+++ b/src/views/dictionary/attachment/components/ExportTemplate/TemplateForm.vue
@@ -9,7 +9,7 @@
class="upload-temporary-file"
>
-
+
- 是
- 否
+
+ {{ item.label }}
+
@@ -235,7 +235,7 @@ export default {
},
// 新增
handleAdd() {
- this.editDialog.title = 'Add'
+ this.editDialog.title = this.$t('common:button:new')
this.currentRow = { FileTypeEnum: FileTypeEnum }
this.editDialog.visible = true
},
@@ -252,7 +252,7 @@ export default {
},
// 编辑
handleEdit(row) {
- this.editDialog.title = 'Edit'
+ this.editDialog.title = this.$t('common:action:edit')
this.currentRow = { ...row }
this.editDialog.visible = true
},
diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
index 3d052d91..ed4da8d3 100644
--- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
+++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue
@@ -247,7 +247,7 @@ export default {
},
// 新增
handleAdd() {
- this.title = 'Add'
+ this.title = this.$t('common:button:new')
this.currentRow = {}
this.editVisible = true
},
@@ -262,7 +262,7 @@ export default {
},
// 编辑
handleEdit(row) {
- this.title = 'Edit'
+ this.title = this.$t('common:action:edit')
this.currentRow = { ...row }
this.editVisible = true
},
diff --git a/src/views/dictionary/template/components/AddDICOMConfig.vue b/src/views/dictionary/template/components/AddDICOMConfig.vue
index f4d63eb2..03e2694e 100644
--- a/src/views/dictionary/template/components/AddDICOMConfig.vue
+++ b/src/views/dictionary/template/components/AddDICOMConfig.vue
@@ -8,32 +8,36 @@
label-width="160px"
size="small"
>
-
+
-
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
-
+
- Cancel
- Save
+ {{ $t('common:button:cancel') }}
+ {{ $t('common:button:save') }}
@@ -82,7 +86,7 @@ export default {
IsAdd: false
},
rules: {
- Group: [{ required: true, message: 'Please specify', trigger: 'blur' }]
+ Group: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }]
},
model_cfg: { visible: false, showClose: true, width: '600px', title: '' }
}
@@ -108,7 +112,7 @@ export default {
this.btnLoading = true
addOrUpdateSystemAnonymization(this.form).then(res => {
this.btnLoading = false
- this.$message.success('Saved successfully!')
+ this.$message.success(this.$t('common:message:savedSuccessfully'))
this.model_cfg.visible = false
this.$emit('getList')
}).catch(() => {
diff --git a/src/views/dictionary/template/components/Anonymization.vue b/src/views/dictionary/template/components/Anonymization.vue
index 817d65eb..eeec9d9e 100644
--- a/src/views/dictionary/template/components/Anonymization.vue
+++ b/src/views/dictionary/template/components/Anonymization.vue
@@ -3,16 +3,20 @@
-
+
+
-
+
+
-
+
+
-
+
+
@@ -29,7 +33,7 @@
- New
+ {{ $t('common:button:new') }}
@@ -42,33 +46,39 @@
height="100"
>
+
+
+
+
+
-
+
+
+
-
+
+
-
+
- Edit
+ {{ $t('common:button:edit') }}
- Delete
+ {{ $t('common:button:delete') }}
@@ -153,7 +165,7 @@ export default {
switchChange(event, item) {
this.loading = true
addOrUpdateSystemAnonymization(item).then(res => {
- this.$message.success('Saved successfully!')
+ this.$message.success(this.$t('common:message:savedSuccessfully'))
this.loading = false
}).catch(() => {
this.loading = false
@@ -161,12 +173,12 @@ export default {
},
handleAdd() {
this.$nextTick(() => {
- this.$refs['AddDICOMConfig'].openDialog('New Anonymization', {})
+ this.$refs['AddDICOMConfig'].openDialog(this.$t('common:button:new'), {})
})
},
handleEdit(row) {
this.$nextTick(() => {
- this.$refs['AddDICOMConfig'].openDialog('Edit Anonymization', row)
+ this.$refs['AddDICOMConfig'].openDialog(this.$t('common:action:edit'), row)
})
},
handleDelete(row) {
diff --git a/src/views/dictionary/template/components/IncreaseFields.vue b/src/views/dictionary/template/components/IncreaseFields.vue
index badc3517..3764c288 100644
--- a/src/views/dictionary/template/components/IncreaseFields.vue
+++ b/src/views/dictionary/template/components/IncreaseFields.vue
@@ -3,16 +3,20 @@
-
+
+
-
+
+
-
+
+
-
+
+
@@ -29,7 +33,7 @@
- New
+ {{ $t('common:button:new') }}
@@ -42,33 +46,39 @@
height="100"
>
+
+
+
+
+
-
+
+
+
-
+
+
-
+
- Edit
+ {{ $t('common:action:edit') }}
- Delete
+ {{ $t('common:button:delete') }}
@@ -152,7 +164,7 @@ export default {
switchChange(event, item) {
this.loading = true
addOrUpdateSystemAnonymization(item).then(res => {
- this.$message.success('Saved successfully!')
+ this.$message.success(this.$t('common:message:savedSuccessfully'))
this.loading = false
}).catch(() => {
this.loading = false
@@ -160,12 +172,12 @@ export default {
},
handleEdit(row) {
this.$nextTick(() => {
- this.$refs['AddDICOMConfig'].openDialog('Edit Anonymization', row)
+ this.$refs['AddDICOMConfig'].openDialog(this.$t('common:action:edit'), row)
})
},
handleAdd() {
this.$nextTick(() => {
- this.$refs['AddDICOMConfig'].openDialog('New IncreaseFields', {
+ this.$refs['AddDICOMConfig'].openDialog(this.$t('common:button:new'), {
Group: '',
Element: '',
TagDescription: '',
diff --git a/src/views/dictionary/template/email/components/EmailList.vue b/src/views/dictionary/template/email/components/EmailList.vue
index 023702e5..2a87539e 100644
--- a/src/views/dictionary/template/email/components/EmailList.vue
+++ b/src/views/dictionary/template/email/components/EmailList.vue
@@ -206,7 +206,7 @@
:label="$t('dictionary:email:label:businessLevel')"
sortable="custom"
show-overflow-tooltip
- min-width="100"
+ min-width="150"
>
{{ $fd('BusinessLevel', scope.row.BusinessLevelEnum) }}
@@ -218,7 +218,7 @@
:label="$t('dictionary:email:label:businessModule')"
sortable="custom"
show-overflow-tooltip
- min-width="100"
+ min-width="160"
>
{{ $fd('BusinessModule', scope.row.BusinessModuleEnum) }}
@@ -276,7 +276,7 @@
:label="$t('dictionary:email:label:IsUrgent')"
sortable="custom"
show-overflow-tooltip
- min-width="100"
+ min-width="110"
>
{{ $fd('EmailUrgent', scope.row.EmailUrgentEnum) }}