diff --git a/.env.development b/.env.development
index 92d720b..598ea52 100644
--- a/.env.development
+++ b/.env.development
@@ -1,8 +1,11 @@
# 页面标题
-VITE_APP_TITLE = 中科云
+VITE_APP_TITLE=中科云
# 开发环境配置
-VITE_APP_ENV = 'development'
+VITE_APP_ENV='development'
# 若依管理系统/开发环境
-VITE_APP_BASE_API = '/dev-api'
+VITE_APP_BASE_API='/dev-api'
+
+# i18n语言
+VITE_APP_I18N_LOCALE='zh_CN'
diff --git a/.env.production b/.env.production
index 9c0294d..571cf69 100644
--- a/.env.production
+++ b/.env.production
@@ -1,11 +1,14 @@
# 页面标题
-VITE_APP_TITLE = 中科云
+VITE_APP_TITLE=中科云
# 生产环境配置
-VITE_APP_ENV = 'production'
+VITE_APP_ENV='production'
# 若依管理系统/生产环境
-VITE_APP_BASE_API = '/api'
+VITE_APP_BASE_API='/api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
-VITE_BUILD_COMPRESS = gzip
\ No newline at end of file
+VITE_BUILD_COMPRESS=gzip
+
+# i18n
+VITE_APP_I18N_LOCALE=zh_CN
\ No newline at end of file
diff --git a/.env.staging b/.env.staging
index f911064..8c8736c 100644
--- a/.env.staging
+++ b/.env.staging
@@ -8,4 +8,7 @@ VITE_APP_ENV = 'staging'
VITE_APP_BASE_API = '/stage-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
-VITE_BUILD_COMPRESS = gzip
\ No newline at end of file
+VITE_BUILD_COMPRESS = gzip
+
+# i18n语言
+VITE_APP_I18N_LOCALE='zh_CN'
\ No newline at end of file
diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 618cae6..56a7e4e 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -15,18 +15,22 @@
ref="upload"
>
- 选取文件
+
+ {{ t("common.selectFile") }}
+
- 请上传
+ {{ t("admin.validation.pleaseUpload") }}
- 大小不超过 {{ fileSize }}MB
+ {{ t("admin.validation.sizeNotExceed") }}
+ {{ fileSize }}MB
- 格式为 {{ fileType.join("/") }}
+ {{ t("admin.validation.formatIs") }}
+ {{ fileType.join("/") }}
- 的文件
+ {{ t("admin.validation.file") }}
{{ getFileName(file.name) }}
- 删除
+ {{ t("common.delete") }}
+
@@ -55,7 +63,9 @@
@@ -135,13 +137,33 @@ const cancel = () => {
-
-
-
-
-
+
+
+
+
+
{{ dayjs(row.createTime).format("YYYY-MM-DD HH:mm:ss") }}
@@ -149,8 +171,8 @@ const cancel = () => {
查看详情
+ >查看详情
+
承接需求
@@ -178,9 +200,9 @@ const cancel = () => {
diff --git a/src/views/admin/enterprise/account/bill.vue b/src/views/admin/enterprise/account/bill.vue
index 7358e20..9f0f974 100644
--- a/src/views/admin/enterprise/account/bill.vue
+++ b/src/views/admin/enterprise/account/bill.vue
@@ -7,10 +7,12 @@
v-show="showSearch"
label-width="68px"
>
-
+
-->
-
-
+
+
{{ orderTypeDic[row.orderType] }}
-
-
+
+
邮寄信息
@@ -341,7 +359,7 @@ const handleDelete = (id) => {
.then(async () => {
await deleteCasDealLog(id);
getList();
- ElMessage.success("删除成功");
+ ElMessage.success(t("admin.common.deleteSuccess"));
});
};
/** 导出按钮操作 */
diff --git a/src/views/admin/enterprise/activity/active.vue b/src/views/admin/enterprise/activity/active.vue
index b730828..49f0ac1 100644
--- a/src/views/admin/enterprise/activity/active.vue
+++ b/src/views/admin/enterprise/activity/active.vue
@@ -19,19 +19,22 @@
/>
-
-
-
+
+
+
- {{ t("admin.common.search") }}
+ {{ t("admin.common.search") }}
+
- {{ t("admin.common.reset") }}
+ {{ t("admin.common.reset") }}
+
@@ -70,9 +73,13 @@
- 显示
- 隐藏
- 未知
+ {{ t("common.show") }}
+
+ {{ t("common.hide") }}
+
+ {{ t("common.unknown") }}
@@ -90,6 +97,7 @@