提交菜单修改

This commit is contained in:
2024-01-25 20:10:27 +08:00
parent 09f0eb06bc
commit a3f0e269f0
5 changed files with 33 additions and 30 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="container">
<Breadcrumb :items="['menu.role', 'menu.system.region']" />
<Breadcrumb :items="['menu.system', 'menu.system.region']" />
<a-card class="general-card" :title="$t('menu.region.list')">
<a-row>
@ -329,29 +329,29 @@ const reset = () => {
//
const columns = computed<TableColumnData[]>(() => [
{
title: t('searchTable.columns.regionIndex'),
title: t('regionTable.columns.index'),
dataIndex: 'index',
slotName: 'index',
},
{
title: t('searchTable.columns.regionName'),
title: t('regionTable.columns.name'),
dataIndex: 'name',
},
{
title: t('searchTable.columns.id'),
title: t('regionTable.columns.id'),
dataIndex: 'id',
},
{
title: t('searchTable.columns.remark'),
title: t('regionTable.columns.remark'),
dataIndex: 'remark',
},
{
title: t('searchTable.columns.createTime'),
title: t('regionTable.columns.createTime'),
dataIndex: 'createTime',
slotName: 'createTime',
},
{
title: t('searchTable.columns.enabled'),
title: t('regionTable.columns.enabled'),
dataIndex: 'enabled',
slotName: 'enabled',
},

View File

@ -4,11 +4,12 @@ export default {
'searchTable.form.regionName': '区域名称',
'searchTable.form.regionName.placeholder': '请输入区域名称',
'searchTable.columns.regionIndex': '序号',
'searchTable.columns.regionName': '区域名称',
'searchTable.columns.id': '区域ID',
'searchTable.columns.remark': '备注',
'searchTable.columns.createTime': '创建时间',
'regionTable.columns.index': '序号',
'regionTable.columns.name': '区域名称',
'regionTable.columns.id': '区域ID',
'regionTable.columns.remark': '备注',
'regionTable.columns.enabled': '是否启用',
'regionTable.columns.createTime': '创建时间',
'searchTable.columns.operations': '操作',
'searchTable.columns.operations.detail': '详细',

View File

@ -1,6 +1,6 @@
<template>
<div class="container">
<Breadcrumb :items="['menu.role', 'menu.role.manage']" />
<Breadcrumb :items="['menu.system', 'menu.system.role']" />
<a-card class="general-card" :title="$t('menu.role.list')">
<a-row :gutter="10">

View File

@ -1,6 +1,6 @@
<template>
<div class="container">
<Breadcrumb :items="['menu.customer', 'menu.customer.manage']" />
<Breadcrumb :items="['menu.system', 'menu.system.user']" />
<a-card class="general-card" :title="$t('menu.list.searchTable')">
<a-row>
@ -461,32 +461,32 @@ const reset = () => {
//
const columns = computed<TableColumnData[]>(() => [
{
title: t('searchTable.columns.index'),
title: t('userTable.columns.index'),
dataIndex: 'index',
slotName: 'index',
},
{
title: t('searchTable.columns.username'),
title: t('userTable.columns.username'),
dataIndex: 'username',
},
{
title: t('searchTable.columns.phone'),
title: t('userTable.columns.phone'),
dataIndex: 'phone',
},
{
title: t('searchTable.columns.email'),
title: t('userTable.columns.email'),
dataIndex: 'email',
},
{
title: t('searchTable.columns.nickName'),
title: t('userTable.columns.nickName'),
dataIndex: 'nickName',
},
{
title: t('searchTable.columns.address'),
title: t('userTable.columns.address'),
dataIndex: 'address',
},
{
title: t('searchTable.columns.enabled'),
title: t('userTable.columns.enabled'),
dataIndex: 'enabled',
slotName: 'enabled',
},

View File

@ -1,6 +1,6 @@
export default {
'menu.list.searchTable': '查询表格',
'menu.customer.manage': '用户管理',
'menu.system.user': '用户管理',
'roleManage.username': '用户名',
'searchTable.form.username': '用户名',
'searchTable.form.username.placeholder': '请输入用户名',
@ -14,14 +14,16 @@ export default {
'searchTable.form.role.auditor': '审核员',
'searchTable.form.search': '查询',
'searchTable.form.reset': '重置',
'searchTable.columns.nickName': '昵称',
'searchTable.columns.username': '用户名',
'searchTable.columns.phone': '电话',
'searchTable.columns.email': 'Email',
'searchTable.columns.enabled': '是否启用',
'searchTable.columns.avater': '头像',
'searchTable.columns.address': '地址',
'searchTable.columns.operations.detail': '详细',
'userTable.columns.index': '序号',
'userTable.columns.nickName': '昵称',
'userTable.columns.username': '用户名',
'userTable.columns.phone': '电话',
'userTable.columns.email': 'Email',
'userTable.columns.enabled': '是否启用',
'userTable.columns.avater': '头像',
'userTable.columns.address': '地址',
'userTable.columns.operations.detail': '详细',
'searchTable.operation.create': '添加',
'searchTable.operation.delete': '删除',
'add.user.info': '添加用户',