国际化字段检查修改

This commit is contained in:
lsymicc
2025-06-19 17:36:02 +08:00
parent 17b1f210c7
commit cbdf37a057
7 changed files with 27 additions and 16 deletions

View File

@@ -1273,8 +1273,8 @@ export default {
placeholderPortName: 'Select PortName', placeholderPortName: 'Select PortName',
placeholderStatus: 'Select Status', placeholderStatus: 'Select Status',
placeholderProductTypeQuantity: 'Enter TypeQuantity', placeholderProductTypeQuantity: 'Enter TypeQuantity',
placeholderCapacity: 'Capacity', placeholderCapacity: 'Enter Capacity',
placeholderOperationMan: 'Operationer', placeholderOperationMan: 'Enter Operationer',
//--------------子页面输入提示-------------- //--------------子页面输入提示--------------
placeholderProductId: 'Enter ProductId', placeholderProductId: 'Enter ProductId',
@@ -1326,6 +1326,7 @@ export default {
//=====================系统管理:用户管理===================== //=====================系统管理:用户管理=====================
systemManagement_UserManagement: { systemManagement_UserManagement: {
//--------------数据表标题-------------- //--------------数据表标题--------------
id: 'Id',
userId: 'UserId', userId: 'UserId',
userName: 'UserName', userName: 'UserName',
password: 'Password', password: 'Password',
@@ -1487,6 +1488,7 @@ export default {
roleName: 'RoleName', roleName: 'RoleName',
roleKey: 'RoleKey', roleKey: 'RoleKey',
dataScope: 'DataScope', dataScope: 'DataScope',
warehouseDataScope: 'Warehouse',
menuAccess: 'MenuAccess', menuAccess: 'MenuAccess',
roleSort: 'RoleSort', roleSort: 'RoleSort',
status: 'Status', status: 'Status',
@@ -1509,7 +1511,7 @@ export default {
placeholderEmail: 'Enter Email', placeholderEmail: 'Enter Email',
placeholderPost: 'Select Post', placeholderPost: 'Select Post',
placeholderGender: 'Select Gender', placeholderGender: 'Select Gender',
selectWarehouse: 'Select Warehouse', placeholderWarehouse: 'Select Warehouse',
//--------------交互按钮-------------- //--------------交互按钮--------------
btnSearch: 'Search', btnSearch: 'Search',
@@ -2394,6 +2396,8 @@ export default {
basInfomation: 'Basic Information', basInfomation: 'Basic Information',
redisVersion: 'Redis Version', redisVersion: 'Redis Version',
redisMode: 'Redis Mode', redisMode: 'Redis Mode',
redisModeStandalone: 'Standalone',
redisModeCluster: 'Cluster',
port: 'Port', port: 'Port',
connectedClients: 'Connected Clients', connectedClients: 'Connected Clients',
@@ -2402,7 +2406,9 @@ export default {
cpuUsed: 'CPU Used', cpuUsed: 'CPU Used',
memorySize: 'Memory Size', memorySize: 'Memory Size',
AOFIsOpen: "AOF IsOpen", AOFStatus: "AOF Status",
Open: "Open",
Close: "Close",
RDBIsEnable: "RDB IsEnable", RDBIsEnable: "RDB IsEnable",
keySize: "Key Size", keySize: "Key Size",
netInputAndOutput: "netInput/Output", netInputAndOutput: "netInput/Output",

View File

@@ -1336,6 +1336,7 @@ export default {
//=====================系统管理:用户管理===================== //=====================系统管理:用户管理=====================
systemManagement_UserManagement: { systemManagement_UserManagement: {
//--------------数据表标题-------------- //--------------数据表标题--------------
id: '序号',
userId: '用户编号', userId: '用户编号',
userName: '用户名称', userName: '用户名称',
password: '密码', password: '密码',
@@ -1520,7 +1521,7 @@ export default {
placeholderEmail: '请输入邮箱', placeholderEmail: '请输入邮箱',
placeholderPost: '请选择岗位', placeholderPost: '请选择岗位',
placeholderGender: '请选择性别', placeholderGender: '请选择性别',
selectWarehouse: '请选择仓库', placeholderWarehouse: '请选择仓库',
//--------------交互按钮-------------- //--------------交互按钮--------------
btnSearch: '搜索', btnSearch: '搜索',
@@ -2253,8 +2254,6 @@ export default {
status: '状态', status: '状态',
operation: '操作', operation: '操作',
//--------------当前页面交互框操作提示--------------
//--------------当前页面交互框操作提示-------------- //--------------当前页面交互框操作提示--------------
placeholderJobName: '请输入任务名称', placeholderJobName: '请输入任务名称',
placeholderJobGroup: '请选择任务组名', placeholderJobGroup: '请选择任务组名',
@@ -2419,6 +2418,8 @@ export default {
basInfomation: '基本信息', basInfomation: '基本信息',
redisVersion: 'Redis版本', redisVersion: 'Redis版本',
redisMode: '运行模式', redisMode: '运行模式',
redisModeStandalone: '单机',
redisModeCluster: '集群',
port: '端口', port: '端口',
connectedClients: '客户端数', connectedClients: '客户端数',
@@ -2427,7 +2428,9 @@ export default {
cpuUsed: '使用CPU', cpuUsed: '使用CPU',
memorySize: '内存配置', memorySize: '内存配置',
AOFIsOpen: "AOF是否开启", AOFStatus: "AOF是否开启",
Open: "是",
Close: "否",
RDBIsEnable: "RDB是否成功", RDBIsEnable: "RDB是否成功",
keySize: "Key数量", keySize: "Key数量",
netInputAndOutput: "网络入口/出口", netInputAndOutput: "网络入口/出口",

View File

@@ -13,7 +13,7 @@
<td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.redis_version }}</div></td> <td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.redis_version }}</div></td>
<!-- 运行模式 --> <!-- 运行模式 -->
<td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.redisMode') }}</div></td> <td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.redisMode') }}</div></td>
<td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.redis_mode == "standalone" ? "单机" : "集群" }}</div></td> <td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.redis_mode == "standalone" ? $t('Monitor_Cache.redisModeStandalone') : $t('Monitor_Cache.redisModeCluster') }}</div></td>
<!-- 端口 --> <!-- 端口 -->
<td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.port') }}</div></td> <td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.port') }}</div></td>
<td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.tcp_port }}</div></td> <td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.tcp_port }}</div></td>
@@ -37,8 +37,8 @@
</tr> </tr>
<tr> <tr>
<!-- AOF是否开启 --> <!-- AOF是否开启 -->
<td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.AOFIsOpen') }}</div></td> <td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.AOFStatus') }}</div></td>
<td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.aof_enabled == "0" ? "否" : "是" }}</div></td> <td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.aof_enabled == "0" ? $t('Monitor_Cache.Close') : $t('Monitor_Cache.Open') }}</div></td>
<!-- RDB是否成功 --> <!-- RDB是否成功 -->
<td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.RDBIsEnable') }}</div></td> <td class="el-table__cell is-leaf"><div class="cell">{{ $t('Monitor_Cache.RDBIsEnable') }}</div></td>
<td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.rdb_last_bgsave_status }}</div></td> <td class="el-table__cell is-leaf"><div class="cell" v-if="cache.info">{{ cache.info.rdb_last_bgsave_status }}</div></td>

View File

@@ -24,7 +24,7 @@
</el-form-item> </el-form-item>
<!-- 任务状态 --> <!-- 任务状态 -->
<el-form-item :label="$t('Monitor_ScheduledTask.status')" prop="status"> <el-form-item :label="$t('Monitor_ScheduledTask.status')" prop="status">
<el-select v-model="queryParams.status" :placeholder="$t('Monitor_ScheduledTask.status')" clearable> <el-select v-model="queryParams.status" :placeholder="$t('Monitor_ScheduledTask.placeholderStatus')" clearable>
<el-option <el-option
v-for="dict in dict.type.sys_job_status" v-for="dict in dict.type.sys_job_status"
:key="dict.value" :key="dict.value"

View File

@@ -110,7 +110,9 @@ export default {
/** 查询在线用户列表 */ /** 查询在线用户列表 */
getList() { getList() {
this.loading = true this.loading = true
console.log('---------------------------------------')
list(this.queryParams).then(response => { list(this.queryParams).then(response => {
console.log(response)
this.list = response.rows this.list = response.rows
this.total = response.total this.total = response.total
this.loading = false this.loading = false

View File

@@ -245,7 +245,7 @@
<!-- 分配角色数据权限对话框 --> <!-- 分配角色数据权限对话框 -->
<el-dialog :title="title" :visible.sync="openDataScope" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="openDataScope" width="500px" append-to-body>
<el-form :model="form" label-width="86px"> <el-form :model="form" label-width="90px">
<!-- 角色名称 --> <!-- 角色名称 -->
<el-form-item :label="$t('systemManagement_RoleManagement.roleName')"> <el-form-item :label="$t('systemManagement_RoleManagement.roleName')">
<el-input v-model="form.roleName" :disabled="true" /> <el-input v-model="form.roleName" :disabled="true" />

View File

@@ -21,7 +21,7 @@
<!-- 角色信息 --> <!-- 角色信息 -->
<h4 class="form-header h4">{{ $t('systemManagement_UserManagement.roleInfo') }}</h4> <h4 class="form-header h4">{{ $t('systemManagement_UserManagement.roleInfo') }}</h4>
<el-table v-loading="loading" :row-key="getRowKey" @row-click="clickRow" ref="table" @selection-change="handleSelectionChange" :data="roles.slice((pageNum-1)*pageSize,pageNum*pageSize)"> <el-table v-loading="loading" :row-key="getRowKey" @row-click="clickRow" ref="table" @selection-change="handleSelectionChange" :data="roles.slice((pageNum-1)*pageSize,pageNum*pageSize)">
<el-table-column label="序号" type="index" align="center"> <el-table-column :label="$t('systemManagement_UserManagement.id')" type="index" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (pageNum - 1) * pageSize + scope.$index + 1 }}</span> <span>{{ (pageNum - 1) * pageSize + scope.$index + 1 }}</span>
</template> </template>