提交菜单修改

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

View File

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

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="container"> <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-card class="general-card" :title="$t('menu.role.list')">
<a-row :gutter="10"> <a-row :gutter="10">

View File

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

View File

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