From 8483e02a3bda173d03d20001485d0b959fde8032 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Fri, 12 Sep 2025 17:58:44 +0800
Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E5=9B=BD?=
=?UTF-8?q?=E9=99=85=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/hospital/components/form.vue | 6 +++---
src/views/system/hospital/components/groupList.vue | 8 ++++----
src/views/system/hospital/components/list.vue | 9 +++++----
src/views/system/hospital/components/uploadLogo.vue | 4 ++--
src/views/system/i18n/index.vue | 4 ++--
.../reading/dicoms/components/ReportPage.vue | 5 +++--
6 files changed, 19 insertions(+), 17 deletions(-)
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 @@
handleTumorEvaluationChange(val, task.VisitTaskId)">
-
+
+
+