diff --git a/src/views/system/hospital/components/form.vue b/src/views/system/hospital/components/form.vue index 7a45c2f..675cb14 100644 --- a/src/views/system/hospital/components/form.vue +++ b/src/views/system/hospital/components/form.vue @@ -106,16 +106,16 @@ export default { }, hospitalFormRules: { HospitalName: [ - { required: true, message: "请输入医院名称", trigger: "blur" }, + { required: true, message: 'Please specify', trigger: "blur" }, ], HospitalCode: [ - { required: true, message: "请输入医院编码", trigger: "blur" }, + { required: true, message: 'Please specify', trigger: "blur" }, ], // HospitalLogoPath: [ // { required: true, message: "请上传医院logo", trigger: "blur" }, // ], TrialKeepCount: [ - { required: true, message: "请输入未激活项目数", trigger: "blur" }, + { required: true, message: 'Please specify', trigger: "blur" }, ], // HospitalAliasName: [ // { required: true, message: "请输入医院别称", trigger: "blur" }, diff --git a/src/views/system/hospital/components/groupList.vue b/src/views/system/hospital/components/groupList.vue index 361586d..8e8a65d 100644 --- a/src/views/system/hospital/components/groupList.vue +++ b/src/views/system/hospital/components/groupList.vue @@ -24,10 +24,10 @@ - 查询 + {{ $t('common:button:search') }} - 新增 + {{ $t('common:button:add') }} @@ -83,7 +83,7 @@ @pagination="getList" /> - @@ -273,7 +273,7 @@ export default { }, // 删除 handleDelete(row) { - this.$confirm('是否确认删除?', { + this.$confirm(this.$t('system:hospital:message:handleDelete'), { type: 'warning', distinguishCancelAndClose: true, }).then(() => { diff --git a/src/views/system/hospital/components/list.vue b/src/views/system/hospital/components/list.vue index 6c4d014..e566a9c 100644 --- a/src/views/system/hospital/components/list.vue +++ b/src/views/system/hospital/components/list.vue @@ -22,10 +22,10 @@ - 查询 + {{ $t('common:button:search') }} - 新增 + {{ $t('common:button:new') }} @@ -83,7 +83,8 @@ @pagination="getList" /> - + @@ -177,7 +178,7 @@ export default { }, // 删除 handleDelete(row) { - this.$confirm('是否确认删除?', { + this.$confirm(this.$t('system:hospital:message:handleDelete'), { type: 'warning', distinguishCancelAndClose: true, }).then(() => { diff --git a/src/views/system/hospital/components/uploadLogo.vue b/src/views/system/hospital/components/uploadLogo.vue index 4602632..05aee60 100644 --- a/src/views/system/hospital/components/uploadLogo.vue +++ b/src/views/system/hospital/components/uploadLogo.vue @@ -137,8 +137,8 @@ export default { const isValidFile = this.fileValid(file.name, ["png", "jpg", "jpeg"]); if (isValidFile) { this.fileList = []; - } else { - this.$alert("请上传PNG/JPG/JPEG文件"); + } else { //请上传PNG/JPG/JPEG文件 + this.$alert(this.$t("system:hospital:uploadLog:verificationFormat")); return false; } }, diff --git a/src/views/system/i18n/index.vue b/src/views/system/i18n/index.vue index 9720795..8736ea0 100644 --- a/src/views/system/i18n/index.vue +++ b/src/views/system/i18n/index.vue @@ -271,7 +271,7 @@ export default { handleAdd() { this.$nextTick(() => { this.$refs['i18nForm'].openDialog( - this.$t("system:l18n:button:add"), + this.$t("common:button:new"), {}, this.PublishVersionList, 'add' @@ -290,7 +290,7 @@ export default { handleEdit(row) { this.$nextTick(() => { this.$refs['i18nForm'].openDialog( - this.$t("system:l18n:button:edit"), + this.$t("common:button:edit"), row, this.PublishVersionList, 'update' diff --git a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue index 2867f1d..85cf380 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue @@ -75,8 +75,9 @@ - +