From f91a45042017709e07e3b587b67309c7bc9adcfb Mon Sep 17 00:00:00 2001 From: liutao <790864623@qq.com> Date: Wed, 25 Mar 2026 16:22:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=B8=AD=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=8F=8A=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 40 +++++++++++++++ src/locales/zh-CN.ts | 39 +++++++++++++++ src/views/Home/Index.vue | 68 +++++++++++++------------- src/views/mes/esopFile/FileForm.vue | 4 +- src/views/system/dict/DictTypeForm.vue | 8 +++ src/views/system/dict/index.vue | 6 +++ src/views/system/menu/index.vue | 1 + 7 files changed, 130 insertions(+), 36 deletions(-) diff --git a/src/locales/en.ts b/src/locales/en.ts index b87650a0..af7f1607 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -542,6 +542,43 @@ export default { large: 'Large', small: 'Small' }, + home:{ + welcome: 'Welcome to use the Bishuo Digital Intelligent Central Control Platform', + message: 'The Bishuo Digital Intelligent Central Control Platform takes production operation as the core, uniformly integrating key business modules such as production planning, data collection, warehousing, equipment, energy, molds, quality, formulas and report analysis, to achieve full-process digital management from planning to execution, from equipment to products, and from data to decision-making.', + productTitle:'Overall production overview', + placeholderCreateTimeStart: 'Start Date', + placeholderCreateTimeEnd: 'End Date', + productionSchedule:'Real-time production progress', + productionPlan:'Production plan', + productionName:'Production name', + planNumber:'Plan quantity', + productionLine:'Production line', + planStartTime:'Plan start time', + planEndTime:'Plan end time', + completedQuantity:'Completed quantity', + qualifiedQuantity:'Qualified quantity', + unqualifiedQuantity:'Unqualified quantity', + yieldRate: 'YIELD', + actualEndTime:'Actual end time', + gtasks: 'Gtask', + missionNumber:'Mission number', + taskType:'Task type', + target:'Target', + creationTime:'Creation time', + equipment:'Equipment', + mould:'Mould', + equipmentTile:'Overall condition of the collection equipment', + equipmentCount:'Total equipment count', + operation:'Operation', + standbyMode:'Standby mode', + malfunction:'During the malfunction', + alerting:'Alerting...', + useRatio:'use ratio', + failureRate:'failure rate', + equipmentTitle:'Statistics of equipment maintenance quantities', + equipmentClass:'Equipment classification statistics', + equipmentMessage:'Classify and count by mold type, and select the top 10 items with the largest number of molds.', + }, login: { welcome: 'Welcome to the system', message: 'Backstage management system', @@ -892,6 +929,7 @@ export default { SystemManagement: { Dept: { name: 'Department Name', + enName: 'Department Name (en)', statusLabel: 'Department Status', status: 'Status', leader: 'Leader', @@ -1079,6 +1117,7 @@ export default { Dict: { id: 'Dict ID', name: 'Dict Name', + enName: 'Dict Name (en)', type: 'Dict Type', label: 'Dict Label', labelEn: 'Dict Label (EN)', @@ -1097,6 +1136,7 @@ export default { searchLabelPlaceholder: 'Please input dict label', searchDataStatusPlaceholder: 'Please select data status', namePlaceholder: 'Please input dict name', + enNamePlaceholder: 'Please input dict name (en)', typePlaceholder: 'Please input dict type', labelPlaceholder: 'Please input data label', labelEnPlaceholder: 'Please input data label (EN)', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 0a50671b..8e0409cc 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -543,6 +543,43 @@ export default { large: '大', small: '小' }, + home: { + welcome: '欢迎您使用必硕数字化智能中控平台', + message: '必硕数字化智能中控平台以生产运营为核心,统一整合生产计划、数据采集、仓储、设备、能源、模具、质量、配方及报表分析等关键业务模块,实现从计划到执行、从设备到制品、从数据到决策的全流程数字化管理。', + productTitle: '整体生产概况', + placeholderCreateTimeStart: '开始日期', + placeholderCreateTimeEnd: '结束日期', + productionSchedule:'实时生产进度', + productionPlan:'生产计划', + productionName:'生产名称', + planNumber:'计划数量', + productionLine:'生产线', + planStartTime:'计划开始时间', + planEndTime:'计划结束时间', + completedQuantity:'完工数量', + qualifiedQuantity:'合格数量', + unqualifiedQuantity:'不合格数量', + yieldRate:'合格率', + actualEndTime:'实际结束时间', + gtasks:'待办任务', + missionNumber:'任务编号', + taskType:'任务类型', + target:'任务目标', + creationTime:'创建时间', + equipment:'设备', + mould:'模具', + equipmentTile:'采集设备整体情况', + equipmentCount:'设备总数', + operation:'运行', + standbyMode:'待机', + malfunction:'故障中', + alerting:'报警中', + useRatio:'利用率', + failureRate:'故障率', + equipmentTitle:'设备维修数量统计', + equipmentClass:'设备分类统计', + equipmentMessage:'按模具分类统计,取模具数量最多的前10项' + }, login: { welcome: '欢迎使用必硕数字化智能中控平台', message: '必硕智能“纸”为绿色生活', @@ -1079,6 +1116,7 @@ export default { Dict: { id: '字典编号', name: '字典名称', + enName: '字典英文名称', type: '字典类型', label: '字典标签', labelEn: '字典标签(英文)', @@ -1097,6 +1135,7 @@ export default { searchLabelPlaceholder: '请输入字典标签', searchDataStatusPlaceholder: '请选择数据状态', namePlaceholder: '请输入字典名称', + enNamePlaceholder: '请输入字典英文名称', typePlaceholder: '请输入字典类型', labelPlaceholder: '请输入数据标签', labelEnPlaceholder: '请输入数据标签(英文)', diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index e2a9be1c..0e0be202 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -2,9 +2,9 @@
-
欢迎您使用必硕数字化智能中控平台
+
{{t("home.welcome")}}
- 必硕数字化智能中控平台以生产运营为核心,统一整合生产计划、数据采集、仓储、设备、能源、模具、质量、配方及报表分析等关键业务模块,实现从计划到执行、从设备到制品、从数据到决策的全流程数字化管理。 + {{t("home.message")}}
@@ -15,11 +15,11 @@ alt="banner" :src="bannerImg" fit="contain" class="home-welcome-image"
-
整体生产概况
+
{{t("home.productTitle")}}
+ :start-placeholder="t('home.placeholderCreateTimeStart')" :end-placeholder="t('home.placeholderCreateTimeEnd')" size="small" @change="handleProductionOverviewRangeChange" />
@@ -45,14 +45,14 @@ v-model="productionOverviewRange" type="daterange" unlink-panels value-format="Y
-
实时生产进度
+
{{t("home.productionSchedule")}}
-
生产计划 {{ item.code }} +
{{t("home.productionPlan")}} {{ item.code }} {{ getPlanStatusLabel(item.status) }} @@ -60,45 +60,45 @@ v-model="productionOverviewRange" type="daterange" unlink-panels value-format="Y
- 产品名称 + {{t("home.productionName")}} {{ item.productName }}
- 计划数量 + {{t("home.planNumber")}} {{ item.planNumber }}
- 生产线 + {{t("home.productionLine")}} {{ item.feedingPipelineName }}
- 计划开始时间 + {{t("home.planStartTime")}} {{ formatDate(item.planStartTime) }}
- 计划结束时间 + {{t("home.planEndTime")}} {{ formatDate(item.planEndTime) }}
- 完工数量 + {{t("home.completedQuantity")}} {{ item.wangongNumber }}
- 合格数量 + {{t("home.qualifiedQuantity")}} {{ item.passNumber }}
- 不合格数量 + {{t("home.unqualifiedQuantity")}} {{ item.noPassNumber }}%
- 合格率 + {{t("home.yieldRate")}} {{ item.passRate }}
- 实际结束时间 + {{t("home.actualEndTime")}} {{ formatDate(item.endTime) }}
@@ -111,7 +111,7 @@ v-model="productionOverviewRange" type="daterange" unlink-panels value-format="Y
-
待办任务
+
{{t("home.gtasks")}}
@@ -119,10 +119,10 @@ v-model="productionOverviewRange" type="daterange" unlink-panels value-format="Y
{{ item.name }}
-
任务编号:{{ item.code }}
-
任务类型:{{ item.type }}
-
目标:{{ item.deviceName }}
-
创建时间:{{ formatDate(item.createTime) }}
+
{{t("home.missionNumber")}}:{{ item.code }}
+
{{t("home.taskType")}}:{{ item.type }}
+
{{t("home.target")}}:{{ item.deviceName }}
+
{{t("home.creationTime")}}:{{ formatDate(item.createTime) }}
@@ -133,7 +133,7 @@ v-model="productionOverviewRange" type="daterange" unlink-panels value-format="Y
-
设备
+
{{t("home.equipment")}}