From 4a7397ce040772d3df83aff0ffdee4b35346336f Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Tue, 17 Mar 2026 10:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=B8=AD=E8=8B=B1=E5=8F=8C?= =?UTF-8?q?=E8=AF=AD=E5=AF=B9=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/tables/art-table/index.vue | 15 +- saiadmin-artd/src/locales/langs/en.json | 227 +++++++++++++++++- saiadmin-artd/src/locales/langs/zh.json | 227 +++++++++++++++++- .../views/plugin/dice/config/index/index.vue | 14 +- .../config/index/modules/table-search.vue | 12 +- .../dice/lottery_pool_config/index/index.vue | 18 +- .../index/modules/table-search.vue | 8 +- .../plugin/dice/play_record/index/index.vue | 34 +-- .../index/modules/table-search.vue | 44 ++-- .../dice/play_record_test/index/index.vue | 32 +-- .../index/modules/table-search.vue | 28 +-- .../views/plugin/dice/player/index/index.vue | 38 +-- .../player/index/modules/table-search.vue | 28 +-- .../dice/player_ticket_record/index/index.vue | 18 +- .../index/modules/table-search.vue | 44 ++-- .../dice/player_wallet_record/index/index.vue | 26 +- .../index/modules/table-search.vue | 24 +- .../views/plugin/dice/reward/index/index.vue | 16 +- .../reward/index/modules/table-search.vue | 4 +- .../index/modules/table-search.vue | 24 +- .../dice/reward_config_record/index/index.vue | 18 +- .../src/views/safeguard/attachment/index.vue | 14 +- .../attachment/modules/table-search.vue | 12 +- .../src/views/safeguard/database/index.vue | 20 +- .../database/modules/recycle-list.vue | 4 +- .../database/modules/table-search.vue | 4 +- .../src/views/safeguard/dict/index.vue | 20 +- .../src/views/safeguard/email-log/index.vue | 18 +- .../email-log/modules/table-search.vue | 24 +- .../src/views/safeguard/login-log/index.vue | 20 +- .../login-log/modules/table-search.vue | 24 +- .../src/views/safeguard/oper-log/index.vue | 18 +- .../oper-log/modules/table-search.vue | 20 +- .../src/views/system/config/index.vue | 6 +- .../system/config/modules/config-list.vue | 12 +- saiadmin-artd/src/views/system/dept/index.vue | 20 +- .../system/dept/modules/table-search.vue | 12 +- saiadmin-artd/src/views/system/menu/index.vue | 22 +- .../system/menu/modules/table-search.vue | 12 +- saiadmin-artd/src/views/system/post/index.vue | 20 +- .../system/post/modules/table-search.vue | 12 +- saiadmin-artd/src/views/system/role/index.vue | 20 +- .../system/role/modules/table-search.vue | 12 +- saiadmin-artd/src/views/system/user/index.vue | 20 +- .../system/user/modules/table-search.vue | 12 +- .../views/tool/code/components/loadTable.vue | 10 +- saiadmin-artd/src/views/tool/code/index.vue | 16 +- .../views/tool/code/modules/table-search.vue | 8 +- .../src/views/tool/crontab/index.vue | 18 +- .../views/tool/crontab/modules/log-list.vue | 8 +- .../tool/crontab/modules/table-search.vue | 12 +- 51 files changed, 906 insertions(+), 443 deletions(-) diff --git a/saiadmin-artd/src/components/core/tables/art-table/index.vue b/saiadmin-artd/src/components/core/tables/art-table/index.vue index 42151e2..5e99526 100644 --- a/saiadmin-artd/src/components/core/tables/art-table/index.vue +++ b/saiadmin-artd/src/components/core/tables/art-table/index.vue @@ -10,7 +10,7 @@ v-bind="{ ...$attrs, ...props, height, stripe, border, size, headerCellStyle }" @sort-change="handleSortChange" > - @@ -102,14 +102,14 @@ }, columnsFactory: () => [ { type: 'selection' }, - { prop: 'id', label: '编号', width: 100, align: 'center' }, - { prop: 'username', label: '操作用户' }, - { prop: 'service_name', label: '业务名称' }, - { prop: 'router', label: '路由', minWidth: 180, showOverflowTooltip: true }, - { prop: 'ip', label: '操作IP' }, - { prop: 'ip_location', label: '操作地点' }, - { prop: 'create_time', label: '操作时间', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 100, fixed: 'right', useSlot: true } + { prop: 'id', label: 'table.columns.common.no', width: 100, align: 'center' }, + { prop: 'username', label: 'table.columns.safeguard.operator' }, + { prop: 'service_name', label: 'table.columns.safeguard.serviceName' }, + { prop: 'router', label: 'table.columns.safeguard.router', minWidth: 180, showOverflowTooltip: true }, + { prop: 'ip', label: 'table.columns.safeguard.operIp' }, + { prop: 'ip_location', label: 'table.columns.safeguard.operLocation' }, + { prop: 'create_time', label: 'table.columns.safeguard.operTime', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 100, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/safeguard/oper-log/modules/table-search.vue b/saiadmin-artd/src/views/safeguard/oper-log/modules/table-search.vue index 7a303be..883c1ea 100644 --- a/saiadmin-artd/src/views/safeguard/oper-log/modules/table-search.vue +++ b/saiadmin-artd/src/views/safeguard/oper-log/modules/table-search.vue @@ -9,28 +9,28 @@ @expand="handleExpand" > - - + + - - + + - - + + - + diff --git a/saiadmin-artd/src/views/system/config/index.vue b/saiadmin-artd/src/views/system/config/index.vue index 9d7649d..15aec9d 100644 --- a/saiadmin-artd/src/views/system/config/index.vue +++ b/saiadmin-artd/src/views/system/config/index.vue @@ -300,9 +300,9 @@ ...configSearch.value }, columnsFactory: () => [ - { prop: 'id', label: '选中', width: 80, align: 'center', useSlot: true }, - { prop: 'name', label: '配置名称', useHeaderSlot: true, width: 150 }, - { prop: 'code', label: '配置标识', useHeaderSlot: true, width: 150 } + { prop: 'id', label: 'table.columns.common.select', width: 80, align: 'center', useSlot: true }, + { prop: 'name', label: 'table.columns.system.configName', useHeaderSlot: true, width: 150 }, + { prop: 'code', label: 'table.columns.system.configKey', useHeaderSlot: true, width: 150 } ] } }) diff --git a/saiadmin-artd/src/views/system/config/modules/config-list.vue b/saiadmin-artd/src/views/system/config/modules/config-list.vue index e369b52..9031090 100644 --- a/saiadmin-artd/src/views/system/config/modules/config-list.vue +++ b/saiadmin-artd/src/views/system/config/modules/config-list.vue @@ -160,12 +160,12 @@ }, columnsFactory: () => [ { type: 'selection' }, - { prop: 'key', label: '配置标识' }, - { prop: 'name', label: '配置标题' }, - { prop: 'input_type', label: '组件类型', width: 100 }, - { prop: 'sort', label: '排序', width: 100, sortable: true }, - { prop: 'remark', label: '备注' }, - { prop: 'operation', label: '操作', useSlot: true, width: 100 } + { prop: 'key', label: 'table.columns.system.configKey' }, + { prop: 'name', label: 'table.columns.system.configTitle' }, + { prop: 'input_type', label: 'table.columns.system.inputType', width: 100 }, + { prop: 'sort', label: 'table.columns.common.sort', width: 100, sortable: true }, + { prop: 'remark', label: 'table.columns.common.remark' }, + { prop: 'operation', label: 'table.actions.operation', useSlot: true, width: 100 } ] } }) diff --git a/saiadmin-artd/src/views/system/dept/index.vue b/saiadmin-artd/src/views/system/dept/index.vue index 8e5676e..5ffb8c1 100644 --- a/saiadmin-artd/src/views/system/dept/index.vue +++ b/saiadmin-artd/src/views/system/dept/index.vue @@ -12,14 +12,14 @@ - 新增 + {{ $t('table.actions.add') }} - {{ isExpanded ? '收起' : '展开' }} + {{ isExpanded ? $t('table.searchBar.collapse') : $t('table.searchBar.expand') }} @@ -106,14 +106,14 @@ core: { apiFn: api.list, columnsFactory: () => [ - { prop: 'name', label: '部门名称', minWidth: 200 }, - { prop: 'code', label: '部门编码', minWidth: 120 }, - { prop: 'leader.username', label: '部门领导', minWidth: 120 }, - { prop: 'remark', label: '描述', minWidth: 150, showOverflowTooltip: true }, - { prop: 'sort', label: '排序', width: 100 }, - { prop: 'status', label: '状态', saiType: 'dict', saiDict: 'data_status', width: 100 }, - { prop: 'create_time', label: '创建日期', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 100, fixed: 'right', useSlot: true } + { prop: 'name', label: 'table.columns.system.deptName', minWidth: 200 }, + { prop: 'code', label: 'table.columns.system.deptCode', minWidth: 120 }, + { prop: 'leader.username', label: 'table.columns.system.leader', minWidth: 120 }, + { prop: 'remark', label: 'table.columns.common.description', minWidth: 150, showOverflowTooltip: true }, + { prop: 'sort', label: 'table.columns.common.sort', width: 100 }, + { prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 }, + { prop: 'create_time', label: 'table.columns.system.createDate', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 100, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/system/dept/modules/table-search.vue b/saiadmin-artd/src/views/system/dept/modules/table-search.vue index a1ee60d..3ce8488 100644 --- a/saiadmin-artd/src/views/system/dept/modules/table-search.vue +++ b/saiadmin-artd/src/views/system/dept/modules/table-search.vue @@ -9,18 +9,18 @@ @expand="handleExpand" > - - + + - - + + - - + + diff --git a/saiadmin-artd/src/views/system/menu/index.vue b/saiadmin-artd/src/views/system/menu/index.vue index ec81fee..cc79ae7 100644 --- a/saiadmin-artd/src/views/system/menu/index.vue +++ b/saiadmin-artd/src/views/system/menu/index.vue @@ -16,7 +16,7 @@ - 新增 + {{ $t('table.actions.add') }} - 删除 + {{ $t('table.actions.delete') }} - 删除 + {{ $t('table.actions.delete') }} [ { type: 'selection' }, - { prop: 'id', label: '编号', width: 100, align: 'center' }, - { prop: 'name', label: '岗位名称', minWidth: 120 }, - { prop: 'code', label: '岗位编码', minWidth: 120 }, - { prop: 'remark', label: '描述', minWidth: 150, showOverflowTooltip: true }, - { prop: 'sort', label: '排序', width: 100 }, - { prop: 'status', label: '状态', saiType: 'dict', saiDict: 'data_status', width: 100 }, - { prop: 'create_time', label: '创建日期', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 100, fixed: 'right', useSlot: true } + { prop: 'id', label: 'table.columns.common.no', width: 100, align: 'center' }, + { prop: 'name', label: 'table.columns.system.postName', minWidth: 120 }, + { prop: 'code', label: 'table.columns.system.postCode', minWidth: 120 }, + { prop: 'remark', label: 'table.columns.common.description', minWidth: 150, showOverflowTooltip: true }, + { prop: 'sort', label: 'table.columns.common.sort', width: 100 }, + { prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 }, + { prop: 'create_time', label: 'table.columns.system.createDate', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 100, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/system/post/modules/table-search.vue b/saiadmin-artd/src/views/system/post/modules/table-search.vue index dfaaa41..c167b5b 100644 --- a/saiadmin-artd/src/views/system/post/modules/table-search.vue +++ b/saiadmin-artd/src/views/system/post/modules/table-search.vue @@ -9,18 +9,18 @@ @expand="handleExpand" > - - + + - - + + - - + + diff --git a/saiadmin-artd/src/views/system/role/index.vue b/saiadmin-artd/src/views/system/role/index.vue index 5106361..e812957 100644 --- a/saiadmin-artd/src/views/system/role/index.vue +++ b/saiadmin-artd/src/views/system/role/index.vue @@ -16,7 +16,7 @@ - 新增 + {{ $t('table.actions.add') }} @@ -126,15 +126,15 @@ core: { apiFn: api.list, columnsFactory: () => [ - { prop: 'id', label: '编号', minWidth: 60, align: 'center' }, - { prop: 'name', label: '角色名称', minWidth: 120 }, - { prop: 'code', label: '角色编码', minWidth: 120 }, - { prop: 'level', label: '角色级别', minWidth: 100, sortable: true }, - { prop: 'remark', label: '角色描述', minWidth: 150, showOverflowTooltip: true }, - { prop: 'sort', label: '排序', minWidth: 100 }, - { prop: 'status', label: '状态', saiType: 'dict', saiDict: 'data_status' }, - { prop: 'create_time', label: '创建日期', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 140, fixed: 'right', useSlot: true } + { prop: 'id', label: 'table.columns.common.no', minWidth: 60, align: 'center' }, + { prop: 'name', label: 'table.columns.system.roleName', minWidth: 120 }, + { prop: 'code', label: 'table.columns.system.roleCode', minWidth: 120 }, + { prop: 'level', label: 'table.columns.system.level', minWidth: 100, sortable: true }, + { prop: 'remark', label: 'table.columns.system.roleRemark', minWidth: 150, showOverflowTooltip: true }, + { prop: 'sort', label: 'table.columns.common.sort', minWidth: 100 }, + { prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status' }, + { prop: 'create_time', label: 'table.columns.system.createDate', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 140, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/system/role/modules/table-search.vue b/saiadmin-artd/src/views/system/role/modules/table-search.vue index 7fadef2..8e11025 100644 --- a/saiadmin-artd/src/views/system/role/modules/table-search.vue +++ b/saiadmin-artd/src/views/system/role/modules/table-search.vue @@ -9,18 +9,18 @@ @expand="handleExpand" > - - + + - - + + - - + + diff --git a/saiadmin-artd/src/views/system/user/index.vue b/saiadmin-artd/src/views/system/user/index.vue index 6b13818..725bcf7 100644 --- a/saiadmin-artd/src/views/system/user/index.vue +++ b/saiadmin-artd/src/views/system/user/index.vue @@ -32,7 +32,7 @@ - 新增 + {{ $t('table.actions.add') }} @@ -180,30 +180,30 @@ ...searchForm.value }, columnsFactory: () => [ - { type: 'index', width: 60, label: '序号' }, + { type: 'index', width: 60, label: 'table.column.index' }, { prop: 'avatar', - label: '用户名', + label: 'table.columns.system.username', minWidth: 200, saiType: 'imageAndText', saiFirst: 'username', saiSecond: 'email' }, - { prop: 'phone', label: '手机号', width: 120 }, + { prop: 'phone', label: 'table.columns.system.phone', width: 120 }, { prop: 'dept_id', - label: '部门', + label: 'table.columns.system.dept', minWidth: 150, sortable: true, formatter: (row: any) => row.depts?.name ?? '' }, - { prop: 'status', label: '状态', width: 80, saiType: 'dict', saiDict: 'data_status' }, - { prop: 'agent_id', label: '代理ID', width: 120, showOverflowTooltip: true }, - { prop: 'dashboard', label: '首页', width: 100, saiType: 'dict', saiDict: 'dashboard' }, - { prop: 'login_time', label: '上次登录', width: 170, sortable: true }, + { prop: 'status', label: 'table.columns.common.status', width: 80, saiType: 'dict', saiDict: 'data_status' }, + { prop: 'agent_id', label: 'table.columns.system.agentId', width: 120, showOverflowTooltip: true }, + { prop: 'dashboard', label: 'table.columns.system.dashboard', width: 100, saiType: 'dict', saiDict: 'dashboard' }, + { prop: 'login_time', label: 'table.columns.system.loginTime', width: 170, sortable: true }, { prop: 'operation', - label: '操作', + label: 'table.actions.operation', width: 140, fixed: 'right', useSlot: true diff --git a/saiadmin-artd/src/views/system/user/modules/table-search.vue b/saiadmin-artd/src/views/system/user/modules/table-search.vue index 9eec26a..ebf5e88 100644 --- a/saiadmin-artd/src/views/system/user/modules/table-search.vue +++ b/saiadmin-artd/src/views/system/user/modules/table-search.vue @@ -9,18 +9,18 @@ @expand="handleExpand" > - - + + - - + + - - + + diff --git a/saiadmin-artd/src/views/tool/code/components/loadTable.vue b/saiadmin-artd/src/views/tool/code/components/loadTable.vue index be54b1f..fdd8e2c 100644 --- a/saiadmin-artd/src/views/tool/code/components/loadTable.vue +++ b/saiadmin-artd/src/views/tool/code/components/loadTable.vue @@ -217,11 +217,11 @@ }, columnsFactory: () => [ { type: 'selection' }, - { prop: 'name', label: '表名称' }, - { prop: 'comment', label: '表注释' }, - { prop: 'engine', label: '引擎' }, - { prop: 'collation', label: '编码' }, - { prop: 'create_time', label: '创建时间' } + { prop: 'name', label: 'table.columns.safeguard.tableName' }, + { prop: 'comment', label: 'table.columns.safeguard.tableComment' }, + { prop: 'engine', label: 'table.columns.safeguard.engine' }, + { prop: 'collation', label: 'table.columns.safeguard.collation' }, + { prop: 'create_time', label: 'table.columns.common.createTime' } ] } }) diff --git a/saiadmin-artd/src/views/tool/code/index.vue b/saiadmin-artd/src/views/tool/code/index.vue index 599e568..c48b266 100644 --- a/saiadmin-artd/src/views/tool/code/index.vue +++ b/saiadmin-artd/src/views/tool/code/index.vue @@ -195,14 +195,14 @@ }, columnsFactory: () => [ { type: 'selection', width: 50 }, - { prop: 'table_name', label: '表名称', minWidth: 180, align: 'left' }, - { prop: 'table_comment', label: '表描述', minWidth: 150, align: 'left' }, - { prop: 'template', label: '应用类型', minWidth: 120 }, - { prop: 'namespace', label: '应用名称', minWidth: 120 }, - { prop: 'stub', label: '模板类型', minWidth: 120 }, - { prop: 'tpl_category', label: '生成类型', minWidth: 120, useSlot: true }, - { prop: 'update_time', label: '更新时间', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 220, fixed: 'right', useSlot: true } + { prop: 'table_name', label: 'table.columns.safeguard.tableName', minWidth: 180, align: 'left' }, + { prop: 'table_comment', label: 'table.columns.tool.tableDesc', minWidth: 150, align: 'left' }, + { prop: 'template', label: 'table.columns.tool.template', minWidth: 120 }, + { prop: 'namespace', label: 'table.columns.tool.namespace', minWidth: 120 }, + { prop: 'stub', label: 'table.columns.tool.stub', minWidth: 120 }, + { prop: 'tpl_category', label: 'table.columns.tool.tplCategory', minWidth: 120, useSlot: true }, + { prop: 'update_time', label: 'table.columns.common.updateTime', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 220, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/tool/code/modules/table-search.vue b/saiadmin-artd/src/views/tool/code/modules/table-search.vue index 09bf52f..27727ff 100644 --- a/saiadmin-artd/src/views/tool/code/modules/table-search.vue +++ b/saiadmin-artd/src/views/tool/code/modules/table-search.vue @@ -8,13 +8,13 @@ @search="handleSearch" > - - + + - - + + diff --git a/saiadmin-artd/src/views/tool/crontab/index.vue b/saiadmin-artd/src/views/tool/crontab/index.vue index 4280090..a99cf1b 100644 --- a/saiadmin-artd/src/views/tool/crontab/index.vue +++ b/saiadmin-artd/src/views/tool/crontab/index.vue @@ -12,7 +12,7 @@ - 新增 + {{ $t('table.actions.add') }} @@ -115,20 +115,20 @@ core: { apiFn: api.list, columnsFactory: () => [ - { prop: 'id', label: '编号', width: 100, align: 'center' }, - { prop: 'name', label: '任务名称', minWidth: 120 }, + { prop: 'id', label: 'table.columns.common.no', width: 100, align: 'center' }, + { prop: 'name', label: 'table.columns.tool.taskName', minWidth: 120 }, { prop: 'type', - label: '任务类型', + label: 'table.columns.tool.taskType', saiType: 'dict', saiDict: 'crontab_task_type', minWidth: 120 }, - { prop: 'rule', label: '定时规则', minWidth: 140 }, - { prop: 'target', label: '调用目标', minWidth: 200, showOverflowTooltip: true }, - { prop: 'status', label: '状态', saiType: 'dict', saiDict: 'data_status', width: 100 }, - { prop: 'update_time', label: '更新日期', width: 180, sortable: true }, - { prop: 'operation', label: '操作', width: 180, fixed: 'right', useSlot: true } + { prop: 'rule', label: 'table.columns.tool.rule', minWidth: 140 }, + { prop: 'target', label: 'table.columns.safeguard.target', minWidth: 200, showOverflowTooltip: true }, + { prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 }, + { prop: 'update_time', label: 'table.columns.tool.updateDate', width: 180, sortable: true }, + { prop: 'operation', label: 'table.actions.operation', width: 180, fixed: 'right', useSlot: true } ] } }) diff --git a/saiadmin-artd/src/views/tool/crontab/modules/log-list.vue b/saiadmin-artd/src/views/tool/crontab/modules/log-list.vue index 234e723..8cde40b 100644 --- a/saiadmin-artd/src/views/tool/crontab/modules/log-list.vue +++ b/saiadmin-artd/src/views/tool/crontab/modules/log-list.vue @@ -212,10 +212,10 @@ }, columnsFactory: () => [ { type: 'selection' }, - { prop: 'create_time', label: '执行时间', sortable: true }, - { prop: 'target', label: '调用目标' }, - { prop: 'parameter', label: '任务参数' }, - { prop: 'status', label: '执行状态', useSlot: true, width: 100 } + { prop: 'create_time', label: 'table.columns.safeguard.executeTime', sortable: true }, + { prop: 'target', label: 'table.columns.safeguard.target' }, + { prop: 'parameter', label: 'table.columns.safeguard.parameter' }, + { prop: 'status', label: 'table.columns.safeguard.executeStatus', useSlot: true, width: 100 } ] } }) diff --git a/saiadmin-artd/src/views/tool/crontab/modules/table-search.vue b/saiadmin-artd/src/views/tool/crontab/modules/table-search.vue index 8a6057a..c114316 100644 --- a/saiadmin-artd/src/views/tool/crontab/modules/table-search.vue +++ b/saiadmin-artd/src/views/tool/crontab/modules/table-search.vue @@ -9,18 +9,18 @@ @expand="handleExpand" > - - + + - - + + - - + +