修改顶部国际化

This commit is contained in:
liuhanqing
2025-08-28 09:42:59 +08:00
parent 51d44d9754
commit f52f79db9f
4 changed files with 138 additions and 115 deletions

View File

@@ -332,6 +332,7 @@ export default {
}, },
// ***************出库单据管理************** // ***************出库单据管理**************
outStockoutManage: { outStockoutManage: {
stockoutId: '出库单编号', stockoutId: '出库单编号',
outType: '出库类型', outType: '出库类型',
status: '单据状态', status: '单据状态',
@@ -1249,32 +1250,32 @@ export default {
// ***************入库分析************* // ***************入库分析*************
inAnalysis: { inAnalysis: {
warehouse: 'warehouse', // 仓库 warehouse: '仓库', // 仓库
selectWarehouse: 'selectWarehouse', // 请选择仓库 selectWarehouse: '请选择仓库', // 请选择仓库
timeRange: 'timeRange', // 时间范围 timeRange: '时间范围', // 时间范围
startDate: 'startDate', // 开始日期 startDate: '开始日期', // 开始日期
endDate: 'endDate', // 结束日期 endDate: '结束日期', // 结束日期
query: 'query', // 查询 query: '查询', // 查询
inboundQuantityStatistics: 'inboundQuantityStatistics', // 入库数量统计 inboundQuantityStatistics: '入库数量统计', // 入库数量统计
inboundQuantity: 'inboundQuantity', // 入库数量 inboundQuantity: '入库数量', // 入库数量
selectTimeRange: 'selectTimeRange', // 请选择时间范围 selectTimeRange: '请选择时间范围', // 请选择时间范围
getWarehouseListFailed: 'getWarehouseListFailed', // 获取仓库列表失败 getWarehouseListFailed: '获取仓库列表失败', // 获取仓库列表失败
getStatisticsDataFailed: 'getStatisticsDataFailed' // 获取统计数据失败 getStatisticsDataFailed: '获取统计数据失败' // 获取统计数据失败
}, },
// ***************出库分析************* // ***************出库分析*************
outAnalysis: { outAnalysis: {
warehouse: 'warehouse', // 仓库 warehouse: '仓库', // 仓库
selectWarehouse: 'selectWarehouse', // 请选择仓库 selectWarehouse: '请选择仓库', // 请选择仓库
timeRange: 'timeRange', // 时间范围 timeRange: '时间范围', // 时间范围
startDate: 'startDate', // 开始日期 startDate: '开始日期', // 开始日期
endDate: 'endDate', // 结束日期 endDate: '结束日期', // 结束日期
query: 'query', // 查询 query: '查询', // 查询
outboundQuantityStatistics: 'outboundQuantityStatistics', // 出库数量统计 outboundQuantityStatistics: '出库数量统计', // 出库数量统计
outboundQuantity: 'outboundQuantity', // 出库数量 outboundQuantity: '出库数量', // 出库数量
selectTimeRange: 'selectTimeRange', // 请选择时间范围 selectTimeRange: '请选择时间范围', // 请选择时间范围
getWarehouseListFailed: 'getWarehouseListFailed', // 获取仓库列表失败 getWarehouseListFailed: '获取仓库列表失败', // 获取仓库列表失败
getStatisticsDataFailed: 'getStatisticsDataFailed' // 获取统计数据失败 getStatisticsDataFailed: '获取统计数据失败' // 获取统计数据失败
}, },
menu: { menu: {
@@ -3166,35 +3167,35 @@ export default {
// ***************KPI分析:货位分析*************** // ***************KPI分析:货位分析***************
KPIAnalysis_CargoSpace: { KPIAnalysis_CargoSpace: {
warehouse: 'warehouse', warehouse: '仓库',
placeholderWarehouse: 'placeholderWarehouse', placeholderWarehouse: '请选择仓库',
btnSearch: 'Search', btnSearch: '查询',
btnReset: 'Reset', btnReset: '重置',
//---handleQuery--- //---handleQuery---
errorGetData: 'errorGetData', errorGetData: '获取数据失败',
//---updateChart--- //---updateChart---
warnInvalidChartData: 'warnInvalidChartData', warnInvalidChartData: '无效的图表数据',
roadway: 'roadway', roadway: '巷道',
roadway1: 'roadway1', roadway1: '巷道1',
roadway2: 'roadway2', roadway2: '巷道2',
roadway3: 'roadway3', roadway3: '巷道3',
roadway4: 'roadway4', roadway4: '巷道4',
config: 'generated series configuration', config: '生成的系列配置',
textChartCargoSpace: 'ChartCargoSpace', textChartCargoSpace: '货位分析',
textValue: 'quantity', textValue: '数量',
// 货位状态国际化 - 对应后台返回的中文状态 // 货位状态国际化 - 对应后台返回的中文状态
statusEmpty: 'Empty', // 空货位 statusEmpty: '空货位', // 空货位
statusFull: 'Full', // 满货位 statusFull: '满货位', // 满货位
statusInboundAllocated: 'InboundAllocated', // 入库分配 statusInboundAllocated: '入库分配', // 入库分配
statusOutboundAllocated: 'OutboundAllocated', // 出库分配 statusOutboundAllocated: '出库分配', // 出库分配
statusInboundNeedCheck: 'InboundNeedCheck', // 入库需盘点 statusInboundNeedCheck: '入库需盘点', // 入库需盘点
statusOutboundNeedCheck: 'OutboundNeedCheck', // 出库需盘点 statusOutboundNeedCheck: '出库需盘点', // 出库需盘点
lblWidthSearch: '68px' lblWidthSearch: '68px'
@@ -3202,26 +3203,26 @@ export default {
// ***************KPI分析:库存平面图*************** // ***************KPI分析:库存平面图***************
KPIAnalysis_CargoPlan: { KPIAnalysis_CargoPlan: {
warehouse: 'warehouse', warehouse: '仓库',
raodway: 'raodway', raodway: '巷道',
row: 'row', row: '排',
column: 'column', column: '列',
floor: 'floor', floor: '层',
txtLoading: 'Loading...', txtLoading: '加载中,请稍候...',
placeholderWarehouse: 'please select warehouse', placeholderWarehouse: '请选择仓库',
//---updateNormalChart--- //---updateNormalChart---
title: 'KPIAnalysis CargoPlan', title: '库位分布平面图',
legendEmpty: 'legendEmpty', legendEmpty: '空位',
legendOccupied: 'legendOccupied', legendOccupied: '满位',
legendStockInAssigned: 'legendStockInAssigned', legendStockInAssigned: '入库已分配',
legendStockOutAssigned: 'legendStockOutAssigned', legendStockOutAssigned: '出库已分配',
legendStockInException: 'legendStockInException', legendStockInException: '入库需盘点',
legendStockOutException: 'legendStockOutException', legendStockOutException: '出库需盘点',
//---formatTooltip--- //---formatTooltip---
failGetCargoSpace: 'failGetCargoSpace', failGetCargoSpace: '获取货位信息失败',
lblWidthSearch: '68px' lblWidthSearch: '68px'
@@ -3231,7 +3232,7 @@ export default {
// ***************出库作业流水查询************* // ***************出库作业流水查询*************
searchViewOutJobFlow: { searchViewOutJobFlow: {
title: '出库作业流水查询', title: '出库作业流水查询',
jobId: '作业ID1111', jobId: '作业ID',
inputJobId: '请输入作业ID', inputJobId: '请输入作业ID',
jobDetailId: '子作业ID', jobDetailId: '子作业ID',
inputJobDetailId: '请输入子作业ID', inputJobDetailId: '请输入子作业ID',
@@ -3314,7 +3315,7 @@ export default {
// ***************入库作业流水查询************* // ***************入库作业流水查询*************
searchViewInJobFlow: { searchViewInJobFlow: {
status: '状态', status: '状态',
selectStatus: '请选择状态1111111111', selectStatus: '请选择状态',
taskNo: '任务号', taskNo: '任务号',
inputTaskNo: '请输入任务号', inputTaskNo: '请输入任务号',
thePlatoon: '排', thePlatoon: '排',
@@ -3573,6 +3574,7 @@ export default {
inputBrand: '请输入品牌', inputBrand: '请输入品牌',
unit: '单位', unit: '单位',
inputUnit: '请输入单位', inputUnit: '请输入单位',
inputEnglishName:'请输入英文名称',
search: '搜索', search: '搜索',
reset: '重置', reset: '重置',
export: '导出', export: '导出',
@@ -3684,6 +3686,7 @@ export default {
// ***************预警库存查询************* // ***************预警库存查询*************
searchViewStockWarning: { searchViewStockWarning: {
warehouse: '仓库', warehouse: '仓库',
selectWarehouse:'请选择仓库',
stockId: '库存ID', stockId: '库存ID',
inputStockId: '请输入库存ID', inputStockId: '请输入库存ID',
cargoSpaceId: '货位ID', cargoSpaceId: '货位ID',
@@ -3813,7 +3816,6 @@ export default {
// ***************客户管理************** // ***************客户管理**************
basCustomer: { basCustomer: {
customerManagement:'客户管理', customerManagement:'客户管理',
customerNo: '客户编号', customerNo: '客户编号',
customerGroupNo: '客户基本分类', customerGroupNo: '客户基本分类',
customerName: '客户名称', customerName: '客户名称',
@@ -3966,46 +3968,45 @@ export default {
shelfCalledSuccess: '料架 {containerCode} 已从 {sourcePortName} 呼叫到 {currentPortName}', shelfCalledSuccess: '料架 {containerCode} 已从 {sourcePortName} 呼叫到 {currentPortName}',
callCancelled: '已取消呼叫' callCancelled: '已取消呼叫'
}, },
// **************接口日志****************
// **************Interface Log****************
interfaceLog: { interfaceLog: {
// Query Form // 查询表单
requestParam: 'Request Parameters', requestParam: '请求参数',
inputRequestParam: 'Please enter request parameters', inputRequestParam: '请输入请求参数',
errorInfo: 'Error Information', errorInfo: '错误信息',
inputErrorInfo: 'Please enter error information', inputErrorInfo: '请输入错误信息',
isSuccess: 'Is Successful', isSuccess: '是否成功',
selectIsSuccess: 'Please select success status', selectIsSuccess: '请选择是否成功',
search: 'Search', search: '搜索',
reset: 'Reset', reset: '重置',
// Table Columns // 表格列
requestId: 'Request ID', requestId: '请求id',
requestTime: 'Request Time', requestTime: '请求时间',
sourceSystem: 'Source System', sourceSystem: '来源系统',
targetSystem: 'Target System', targetSystem: '目标系统',
interfaceName: 'Interface Name', interfaceName: '接口名称',
requestUrl: 'Request URL', requestUrl: '请求URL',
requestMethod: 'Request Method', requestMethod: '请求方式',
requestHeaders: 'Request Headers', requestHeaders: '请求头信息',
requestBody: 'Request Body', requestBody: '请求参数',
responseTime: 'Response Time', responseTime: '响应时间',
responseBody: 'Response Body', responseBody: '响应主体',
responseStatus: 'Response Status', responseStatus: '响应状态',
errorDetails: 'Error Details', errorDetails: '错误信息',
duration: 'Duration', duration: '耗时',
isSuccessful: 'Is Successful', isSuccessful: '是否成功',
// Dialog // 弹窗
add: 'Add Interface Record', add: '添加接口记录',
edit: 'Edit Interface Record', edit: '修改接口记录',
inputContent: 'Please enter content', inputContent: '请输入内容',
confirm: 'Confirm', confirm: '确 定',
cancel: 'Cancel', cancel: '取 消',
deleteConfirm: 'Are you sure to delete the interface record with ID "{0}"?', deleteConfirm: '是否确认删除接口记录编号为"{0}"的数据项?',
addSuccess: 'Added successfully', addSuccess: '新增成功',
editSuccess: 'Modified successfully', editSuccess: '修改成功',
deleteSuccess: 'Deleted successfully' deleteSuccess: '删除成功'
}, },
dict: { dict: {
is_available: { is_available: {
@@ -4197,5 +4198,14 @@ export default {
a2:'任务中' a2:'任务中'
} }
},
top:{
layOut:'布局大小',
personalCenter:'个人中心',
loginOut:'退出登录',
logoutTip:'确定退出登录吗?',
logoutTitle:'提示',
confirm:'确定',
cancel:'取消',
} }
} }

View File

@@ -332,7 +332,7 @@ export default {
}, },
// ***************出库单据管理************** // ***************出库单据管理**************
outStockoutManage: { outStockoutManage: {
customerManagement:'客户管理',
stockoutId: '出库单编号', stockoutId: '出库单编号',
outType: '出库类型', outType: '出库类型',
status: '单据状态', status: '单据状态',
@@ -3208,6 +3208,7 @@ export default {
row: '排', row: '排',
column: '列', column: '列',
floor: '层', floor: '层',
txtLoading: '加载中,请稍候...',
placeholderWarehouse: '请选择仓库', placeholderWarehouse: '请选择仓库',
@@ -3231,7 +3232,7 @@ export default {
// ***************出库作业流水查询************* // ***************出库作业流水查询*************
searchViewOutJobFlow: { searchViewOutJobFlow: {
title: '出库作业流水查询', title: '出库作业流水查询',
jobId: '作业ID1111', jobId: '作业ID',
inputJobId: '请输入作业ID', inputJobId: '请输入作业ID',
jobDetailId: '子作业ID', jobDetailId: '子作业ID',
inputJobDetailId: '请输入子作业ID', inputJobDetailId: '请输入子作业ID',
@@ -3314,7 +3315,7 @@ export default {
// ***************入库作业流水查询************* // ***************入库作业流水查询*************
searchViewInJobFlow: { searchViewInJobFlow: {
status: '状态', status: '状态',
selectStatus: '请选择状态1111111111', selectStatus: '请选择状态',
taskNo: '任务号', taskNo: '任务号',
inputTaskNo: '请输入任务号', inputTaskNo: '请输入任务号',
thePlatoon: '排', thePlatoon: '排',
@@ -3573,6 +3574,7 @@ export default {
inputBrand: '请输入品牌', inputBrand: '请输入品牌',
unit: '单位', unit: '单位',
inputUnit: '请输入单位', inputUnit: '请输入单位',
inputEnglishName:'请输入英文名称',
search: '搜索', search: '搜索',
reset: '重置', reset: '重置',
export: '导出', export: '导出',
@@ -3684,6 +3686,7 @@ export default {
// ***************预警库存查询************* // ***************预警库存查询*************
searchViewStockWarning: { searchViewStockWarning: {
warehouse: '仓库', warehouse: '仓库',
selectWarehouse:'请选择仓库',
stockId: '库存ID', stockId: '库存ID',
inputStockId: '请输入库存ID', inputStockId: '请输入库存ID',
cargoSpaceId: '货位ID', cargoSpaceId: '货位ID',
@@ -3965,7 +3968,6 @@ export default {
shelfCalledSuccess: '料架 {containerCode} 已从 {sourcePortName} 呼叫到 {currentPortName}', shelfCalledSuccess: '料架 {containerCode} 已从 {sourcePortName} 呼叫到 {currentPortName}',
callCancelled: '已取消呼叫' callCancelled: '已取消呼叫'
}, },
// **************接口日志**************** // **************接口日志****************
interfaceLog: { interfaceLog: {
// 查询表单 // 查询表单
@@ -4196,5 +4198,14 @@ export default {
a2:'任务中' a2:'任务中'
} }
},
top:{
layOut:'布局大小',
personalCenter:'个人中心',
loginOut:'退出登录',
logoutTip:'确定退出登录吗?',
logoutTitle:'提示',
confirm:'确定',
cancel:'取消',
} }
} }

View File

@@ -4198,5 +4198,14 @@ export default {
a2:'任务中' a2:'任务中'
} }
},
top:{
layOut:'布局大小',
personalCenter:'个人中心',
loginOut:'退出登录',
logoutTip:'确定退出登录吗?',
logoutTitle:'提示',
confirm:'确定',
cancel:'取消',
} }
} }

View File

@@ -9,17 +9,10 @@
<template v-if="device!=='mobile'"> <template v-if="device!=='mobile'">
<search id="header-search" class="right-menu-item" /> <search id="header-search" class="right-menu-item" />
<!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">
<ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
</el-tooltip>
<el-tooltip content="文档地址" effect="dark" placement="bottom">
<ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
</el-tooltip> -->
<screenfull id="screenfull" class="right-menu-item hover-effect" /> <screenfull id="screenfull" class="right-menu-item hover-effect" />
<el-tooltip content="布局大小" effect="dark" placement="bottom"> <el-tooltip :content="$t('top.layOut')" effect="dark" placement="bottom">
<size-select id="size-select" class="right-menu-item hover-effect" /> <size-select id="size-select" class="right-menu-item hover-effect" />
</el-tooltip> </el-tooltip>
@@ -32,10 +25,10 @@
</div> </div>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<router-link to="/user/profile"> <router-link to="/user/profile">
<el-dropdown-item>个人中心</el-dropdown-item> <el-dropdown-item>{{ $t('top.personalCenter') }}</el-dropdown-item>
</router-link> </router-link>
<el-dropdown-item divided @click.native="logout"> <el-dropdown-item divided @click.native="logout">
<span>退出登录</span> <span>{{ $t('top.loginOut') }}</span>
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@@ -96,9 +89,9 @@ export default {
this.$emit('setLayout') this.$emit('setLayout')
}, },
logout() { logout() {
this.$confirm('确定注销并退出系统吗?', '提示', { this.$confirm(this.$t('top.logoutTip'), this.$t('top.logoutTitle'), {
confirmButtonText: '确定', confirmButtonText: this.$t('top.confirm') ,
cancelButtonText: '取消', cancelButtonText: this.$t('top.cancel') ,
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {