修改顶部国际化

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

View File

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

View File

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

View File

@@ -9,17 +9,10 @@
<template v-if="device!=='mobile'">
<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" />
<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" />
</el-tooltip>
@@ -32,10 +25,10 @@
</div>
<el-dropdown-menu slot="dropdown">
<router-link to="/user/profile">
<el-dropdown-item>个人中心</el-dropdown-item>
<el-dropdown-item>{{ $t('top.personalCenter') }}</el-dropdown-item>
</router-link>
<el-dropdown-item divided @click.native="logout">
<span>退出登录</span>
<span>{{ $t('top.loginOut') }}</span>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@@ -96,9 +89,9 @@ export default {
this.$emit('setLayout')
},
logout() {
this.$confirm('确定注销并退出系统吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
this.$confirm(this.$t('top.logoutTip'), this.$t('top.logoutTitle'), {
confirmButtonText: this.$t('top.confirm') ,
cancelButtonText: this.$t('top.cancel') ,
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {