From e2d3a130645e86350be9387531594836fa54b88e Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 3 Jul 2026 17:14:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20=E6=96=B0=E5=A2=9E=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=9B=BD=E9=99=85=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/spel/types.ts | 14 +++-------- src/lang/zh_CN.ts | 42 ++++++++++++++++++++++++++++++++ src/layout/components/Navbar.vue | 23 ++++++++--------- 3 files changed, 58 insertions(+), 21 deletions(-) diff --git a/src/api/workflow/spel/types.ts b/src/api/workflow/spel/types.ts index e0a694c..53b6c41 100644 --- a/src/api/workflow/spel/types.ts +++ b/src/api/workflow/spel/types.ts @@ -33,7 +33,6 @@ export interface SpelVO { * 备注 */ remark?: string; - } export interface SpelForm extends BaseEntity { @@ -71,11 +70,9 @@ export interface SpelForm extends BaseEntity { * 备注 */ remark?: string; - } export interface SpelQuery extends PageQuery { - /** * 组件名称 */ @@ -101,11 +98,8 @@ export interface SpelQuery extends PageQuery { */ status?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 日期范围参数 + */ + params?: any; } - - - diff --git a/src/lang/zh_CN.ts b/src/lang/zh_CN.ts index 3cc9872..c4c1194 100644 --- a/src/lang/zh_CN.ts +++ b/src/lang/zh_CN.ts @@ -4,6 +4,48 @@ export default { dashboard: '首页', document: '项目文档' }, + // 首页国际化 + dashboard: { + welcome: '欢迎使用 haiwei-wcs 仓库控制系统', + description: '集中管理设备主机、设备信息、设备参数、库位、物料、路径、仓库与实时任务', + taskQueue: '实时任务队列', + taskDetail: '实时任务明细', + deviceInfo: '设备信息', + deviceParam: '设备参数', + locationInfo: '库位信息', + materialInfo: '物料信息', + storeInfo: '仓库信息', + pathInfo: '路径信息', + deviceHost: '设备主机', + taskStatus: '任务状态分布', + deviceStatus: '设备状态分布', + locationStatus: '库位状态分布', + recentTasks: '最近任务', + more: '更多', + taskCode: '任务编号', + materialName: '物料名称', + startPoint: '起始位置', + endPoint: '结束位置', + createTime: '创建时间', + quickLinks: '快捷入口', + noData: '暂无数据', + deviceNormal: '正常', + deviceBusy: '在忙', + deviceAbnormal: '异常', + locationUnused: '未使用', + locationUsed: '已使用', + locationLocked: '锁库', + locationAbnormal: '异常', + taskQueueDesc: '查看与管理实时任务队列', + taskDetailDesc: '查看实时任务明细', + deviceInfoDesc: '管理输送线、AGV、提升机等设备信息', + deviceParamDesc: '维护设备参数与读写配置', + locationInfoDesc: '查看仓库库位与库存状态', + materialInfoDesc: '维护物料主数据与条码', + storeInfoDesc: '维护仓库基础信息', + pathInfoDesc: '配置路径与路径明细', + deviceHostDesc: '管理设备主机连接配置' + }, // 登录页面国际化 login: { selectPlaceholder: '请选择/输入公司名称', diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 906ed6f..209e978 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -34,7 +34,7 @@ -
+