style: 用户管理多语言
This commit is contained in:
@@ -8,6 +8,8 @@ export default {
|
|||||||
title: 'Core Network Management Platform',
|
title: 'Core Network Management Platform',
|
||||||
desc: 'Core Network Management Platform',
|
desc: 'Core Network Management Platform',
|
||||||
loading: 'Please wait...',
|
loading: 'Please wait...',
|
||||||
|
ipnutPlease: 'Please input',
|
||||||
|
selectPlease: 'please select',
|
||||||
tipTitle: 'Prompt',
|
tipTitle: 'Prompt',
|
||||||
msgSuccess: 'Success {msg}',
|
msgSuccess: 'Success {msg}',
|
||||||
errorFields: 'Please fill in the required information in {num} correctly!',
|
errorFields: 'Please fill in the required information in {num} correctly!',
|
||||||
@@ -24,11 +26,13 @@ export default {
|
|||||||
editText: 'Edit',
|
editText: 'Edit',
|
||||||
deleteText: 'Delete',
|
deleteText: 'Delete',
|
||||||
downloadText: 'Download',
|
downloadText: 'Download',
|
||||||
|
import:'Import',
|
||||||
export:'Export',
|
export:'Export',
|
||||||
uploadText: 'Upload',
|
uploadText: 'Upload',
|
||||||
unableNull:' Cannot be empty',
|
unableNull:' Cannot be empty',
|
||||||
moreText: 'More',
|
moreText: 'More',
|
||||||
searchBarText: 'Search bar',
|
searchBarText: 'Search bar',
|
||||||
|
tableStripedText: 'Form Zebra',
|
||||||
reloadText: 'Refresh',
|
reloadText: 'Refresh',
|
||||||
sizeText: 'Density',
|
sizeText: 'Density',
|
||||||
size: {
|
size: {
|
||||||
@@ -578,8 +582,6 @@ export default {
|
|||||||
delSuss:'Successfully deleted',
|
delSuss:'Successfully deleted',
|
||||||
sureTip:'Are you sure you want to {text} {userName} user?',
|
sureTip:'Are you sure you want to {text} {userName} user?',
|
||||||
delSure:'Confirm deletion of data item with user ID {userId}?',
|
delSure:'Confirm deletion of data item with user ID {userId}?',
|
||||||
export:'Export',
|
|
||||||
import:'Import',
|
|
||||||
exportSure:'Are you sure to export the xlsx table file based on search criteria??',
|
exportSure:'Are you sure to export the xlsx table file based on search criteria??',
|
||||||
phone:'Phone Number',
|
phone:'Phone Number',
|
||||||
createTime:'Creation time',
|
createTime:'Creation time',
|
||||||
@@ -588,6 +590,7 @@ export default {
|
|||||||
email:'E-mail',
|
email:'E-mail',
|
||||||
fromClass:'DEPARTMENT',
|
fromClass:'DEPARTMENT',
|
||||||
userWork:'User position',
|
userWork:'User position',
|
||||||
|
userWorkPlease: 'Please select user post',
|
||||||
userTip:'User Description',
|
userTip:'User Description',
|
||||||
loginPwd:'Login password',
|
loginPwd:'Login password',
|
||||||
updateSure:'Do you want to update existing data',
|
updateSure:'Do you want to update existing data',
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ export default {
|
|||||||
title: '核心网管理平台',
|
title: '核心网管理平台',
|
||||||
desc: '核心网管理平台',
|
desc: '核心网管理平台',
|
||||||
loading: '请稍等...',
|
loading: '请稍等...',
|
||||||
|
ipnutPlease: '请输入',
|
||||||
|
selectPlease: '请选择',
|
||||||
tipTitle: '提示',
|
tipTitle: '提示',
|
||||||
msgSuccess: '{msg}成功 ',
|
msgSuccess: '{msg}成功 ',
|
||||||
errorFields: '请正确填写 {num} 处必填信息!',
|
errorFields: '请正确填写 {num} 处必填信息!',
|
||||||
@@ -24,11 +26,13 @@ export default {
|
|||||||
editText: '编辑',
|
editText: '编辑',
|
||||||
deleteText: '删除',
|
deleteText: '删除',
|
||||||
downloadText: '下载',
|
downloadText: '下载',
|
||||||
|
import:'导入',
|
||||||
export:'导出',
|
export:'导出',
|
||||||
uploadText: '上传',
|
uploadText: '上传',
|
||||||
unableNull:'不能为空',
|
unableNull:'不能为空',
|
||||||
moreText: '更多',
|
moreText: '更多',
|
||||||
searchBarText: '搜索栏',
|
searchBarText: '搜索栏',
|
||||||
|
tableStripedText: '表格斑马纹',
|
||||||
reloadText: '刷新',
|
reloadText: '刷新',
|
||||||
sizeText: '密度',
|
sizeText: '密度',
|
||||||
size: {
|
size: {
|
||||||
@@ -578,8 +582,6 @@ export default {
|
|||||||
delSuss:'删除成功',
|
delSuss:'删除成功',
|
||||||
sureTip:'确定要{text} {userName} 用户吗?',
|
sureTip:'确定要{text} {userName} 用户吗?',
|
||||||
delSure:'确认删除用户编号为{userId}的数据项?',
|
delSure:'确认删除用户编号为{userId}的数据项?',
|
||||||
export:'导出',
|
|
||||||
import:'导入',
|
|
||||||
exportSure:'确认根据搜索条件导出xlsx表格文件吗?',
|
exportSure:'确认根据搜索条件导出xlsx表格文件吗?',
|
||||||
phone:'手机号码',
|
phone:'手机号码',
|
||||||
createTime:'创建时间',
|
createTime:'创建时间',
|
||||||
@@ -588,6 +590,7 @@ export default {
|
|||||||
email:'电子邮箱',
|
email:'电子邮箱',
|
||||||
fromClass:'所属部门',
|
fromClass:'所属部门',
|
||||||
userWork:'用户岗位',
|
userWork:'用户岗位',
|
||||||
|
userWorkPlease: '请选择用户岗位',
|
||||||
userTip:'用户说明',
|
userTip:'用户说明',
|
||||||
loginPwd:'登入密码',
|
loginPwd:'登入密码',
|
||||||
updateSure:'是否更新已经存在的数据',
|
updateSure:'是否更新已经存在的数据',
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ onMounted(() => {
|
|||||||
<a-input
|
<a-input
|
||||||
v-model:value="queryParams.configName"
|
v-model:value="queryParams.configName"
|
||||||
allow-clear
|
allow-clear
|
||||||
placeholder="请输入参数名称"
|
:placeholder="t('common.ipnutPlease')"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -474,7 +474,7 @@ onMounted(() => {
|
|||||||
<a-input
|
<a-input
|
||||||
v-model:value="queryParams.configKey"
|
v-model:value="queryParams.configKey"
|
||||||
allow-clear
|
allow-clear
|
||||||
placeholder="请输入参数键名"
|
:placeholder="t('common.ipnutPlease')"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -483,7 +483,7 @@ onMounted(() => {
|
|||||||
<a-select
|
<a-select
|
||||||
v-model:value="queryParams.configType"
|
v-model:value="queryParams.configType"
|
||||||
allow-clear
|
allow-clear
|
||||||
placeholder="请选择"
|
:placeholder="t('common.selectPlease')"
|
||||||
:options="dict.sysYesNo"
|
:options="dict.sysYesNo"
|
||||||
>
|
>
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -496,7 +496,6 @@ onMounted(() => {
|
|||||||
allow-clear
|
allow-clear
|
||||||
bordered
|
bordered
|
||||||
value-format="YYYY-MM-DD"
|
value-format="YYYY-MM-DD"
|
||||||
:placeholder="['创建开始', '创建结束']"
|
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
></a-range-picker>
|
></a-range-picker>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -506,12 +505,12 @@ onMounted(() => {
|
|||||||
<a-space :size="8">
|
<a-space :size="8">
|
||||||
<a-button type="primary" @click.prevent="fnGetList">
|
<a-button type="primary" @click.prevent="fnGetList">
|
||||||
<template #icon><SearchOutlined /></template>
|
<template #icon><SearchOutlined /></template>
|
||||||
搜索</a-button
|
{{ t('common.search') }}
|
||||||
>
|
</a-button>
|
||||||
<a-button type="default" @click.prevent="fnQueryReset">
|
<a-button type="default" @click.prevent="fnQueryReset">
|
||||||
<template #icon><ClearOutlined /></template>
|
<template #icon><ClearOutlined /></template>
|
||||||
重置</a-button
|
{{ t('common.reset') }}
|
||||||
>
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -529,7 +528,7 @@ onMounted(() => {
|
|||||||
v-perms:has="['system:config:add']"
|
v-perms:has="['system:config:add']"
|
||||||
>
|
>
|
||||||
<template #icon><PlusOutlined /></template>
|
<template #icon><PlusOutlined /></template>
|
||||||
新建
|
{{ t('common.addText') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
type="default"
|
type="default"
|
||||||
@@ -539,7 +538,7 @@ onMounted(() => {
|
|||||||
v-perms:has="['system:config:remove']"
|
v-perms:has="['system:config:remove']"
|
||||||
>
|
>
|
||||||
<template #icon><DeleteOutlined /></template>
|
<template #icon><DeleteOutlined /></template>
|
||||||
删除
|
{{ t('common.deleteText') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
type="dashed"
|
type="dashed"
|
||||||
@@ -556,7 +555,7 @@ onMounted(() => {
|
|||||||
v-perms:has="['system:config:export']"
|
v-perms:has="['system:config:export']"
|
||||||
>
|
>
|
||||||
<template #icon><ExportOutlined /></template>
|
<template #icon><ExportOutlined /></template>
|
||||||
导出
|
{{ t('common.export') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
@@ -565,31 +564,31 @@ onMounted(() => {
|
|||||||
<template #extra>
|
<template #extra>
|
||||||
<a-space :size="8" align="center">
|
<a-space :size="8" align="center">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>搜索栏</template>
|
<template #title>{{ t('common.searchBarText') }}</template>
|
||||||
<a-switch
|
<a-switch
|
||||||
v-model:checked="tableState.seached"
|
v-model:checked="tableState.seached"
|
||||||
checked-children="显"
|
:checked-children="t('common.switch.show')"
|
||||||
un-checked-children="隐"
|
:un-checked-children="t('common.switch.hide')"
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>表格斑马纹</template>
|
<template #title>{{ t('common.tableStripedText') }}</template>
|
||||||
<a-switch
|
<a-switch
|
||||||
v-model:checked="tableState.striped"
|
v-model:checked="tableState.striped"
|
||||||
checked-children="开"
|
:checked-children="t('common.switch.open')"
|
||||||
un-checked-children="关"
|
:un-checked-children="t('common.switch.shut')"
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>刷新</template>
|
<template #title>{{ t('common.reloadText') }}</template>
|
||||||
<a-button type="text" @click.prevent="fnGetList">
|
<a-button type="text" @click.prevent="fnGetList">
|
||||||
<template #icon><ReloadOutlined /></template>
|
<template #icon><ReloadOutlined /></template>
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip placement="topRight">
|
<a-tooltip placement="topRight">
|
||||||
<template #title>密度</template>
|
<template #title>{{ t('common.sizeText') }}</template>
|
||||||
<a-dropdown placement="bottomRight" trigger="click">
|
<a-dropdown placement="bottomRight" trigger="click">
|
||||||
<a-button type="text">
|
<a-button type="text">
|
||||||
<template #icon><ColumnHeightOutlined /></template>
|
<template #icon><ColumnHeightOutlined /></template>
|
||||||
@@ -599,9 +598,15 @@ onMounted(() => {
|
|||||||
:selected-keys="[tableState.size as string]"
|
:selected-keys="[tableState.size as string]"
|
||||||
@click="fnTableSize"
|
@click="fnTableSize"
|
||||||
>
|
>
|
||||||
<a-menu-item key="default">默认</a-menu-item>
|
<a-menu-item key="default">
|
||||||
<a-menu-item key="middle">中等</a-menu-item>
|
{{ t('common.size.default') }}
|
||||||
<a-menu-item key="small">紧凑</a-menu-item>
|
</a-menu-item>
|
||||||
|
<a-menu-item key="middle">
|
||||||
|
{{ t('common.size.middle') }}
|
||||||
|
</a-menu-item>
|
||||||
|
<a-menu-item key="small">
|
||||||
|
{{ t('common.size.small') }}
|
||||||
|
</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
|
|||||||
@@ -840,6 +840,7 @@ onMounted(() => {
|
|||||||
v-model:value="queryParams.userName"
|
v-model:value="queryParams.userName"
|
||||||
allow-clear
|
allow-clear
|
||||||
:maxlength="30"
|
:maxlength="30"
|
||||||
|
:placeholder="t('common.ipnutPlease')"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -852,6 +853,7 @@ onMounted(() => {
|
|||||||
v-model:value="queryParams.phonenumber"
|
v-model:value="queryParams.phonenumber"
|
||||||
allow-clear
|
allow-clear
|
||||||
:maxlength="11"
|
:maxlength="11"
|
||||||
|
:placeholder="t('common.ipnutPlease')"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -861,6 +863,7 @@ onMounted(() => {
|
|||||||
v-model:value="queryParams.status"
|
v-model:value="queryParams.status"
|
||||||
allow-clear
|
allow-clear
|
||||||
:options="dict.sysNormalDisable"
|
:options="dict.sysNormalDisable"
|
||||||
|
:placeholder="t('common.selectPlease')"
|
||||||
>
|
>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -911,7 +914,7 @@ onMounted(() => {
|
|||||||
v-perms:has="['system:user:import']"
|
v-perms:has="['system:user:import']"
|
||||||
>
|
>
|
||||||
<template #icon><ImportOutlined /></template>
|
<template #icon><ImportOutlined /></template>
|
||||||
{{ t('views.system.user.import') }}
|
{{ t('common.import') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
type="dashed"
|
type="dashed"
|
||||||
@@ -919,7 +922,7 @@ onMounted(() => {
|
|||||||
v-perms:has="['system:user:export']"
|
v-perms:has="['system:user:export']"
|
||||||
>
|
>
|
||||||
<template #icon><ExportOutlined /></template>
|
<template #icon><ExportOutlined /></template>
|
||||||
{{ t('views.system.user.export') }}
|
{{ t('common.export') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
@@ -936,15 +939,15 @@ onMounted(() => {
|
|||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<!-- <a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>表格斑马纹</template>
|
<template #title>{{ t('common.tableStripedText') }}</template>
|
||||||
<a-switch
|
<a-switch
|
||||||
v-model:checked="tableState.striped"
|
v-model:checked="tableState.striped"
|
||||||
checked-children="开"
|
:checked-children="t('common.switch.open')"
|
||||||
un-checked-children="关"
|
:un-checked-children="t('common.switch.shut')"
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</a-tooltip> -->
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ t('common.reloadText') }}</template>
|
<template #title>{{ t('common.reloadText') }}</template>
|
||||||
<a-button type="text" @click.prevent="fnGetList(1)">
|
<a-button type="text" @click.prevent="fnGetList(1)">
|
||||||
@@ -962,15 +965,15 @@ onMounted(() => {
|
|||||||
:selected-keys="[tableState.size as string]"
|
:selected-keys="[tableState.size as string]"
|
||||||
@click="fnTableSize"
|
@click="fnTableSize"
|
||||||
>
|
>
|
||||||
<a-menu-item key="default">{{
|
<a-menu-item key="default">
|
||||||
t('common.size.default')
|
{{ t('common.size.default') }}
|
||||||
}}</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="middle">{{
|
<a-menu-item key="middle">
|
||||||
t('common.size.middle')
|
{{ t('common.size.middle') }}</a-menu-item
|
||||||
}}</a-menu-item>
|
>
|
||||||
<a-menu-item key="small">{{
|
<a-menu-item key="small">
|
||||||
t('common.size.small')
|
{{ t('common.size.small') }}
|
||||||
}}</a-menu-item>
|
</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
@@ -1207,7 +1210,7 @@ onMounted(() => {
|
|||||||
:value="modalState.from.postIds"
|
:value="modalState.from.postIds"
|
||||||
disabled
|
disabled
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
placeholder="请选择用户岗位"
|
:placeholder="t('views.system.user.userWorkPlease')"
|
||||||
option-label-prop="postName"
|
option-label-prop="postName"
|
||||||
:options="modalState.options.posts"
|
:options="modalState.options.posts"
|
||||||
:field-names="{ label: 'postName', value: 'postId' }"
|
:field-names="{ label: 'postName', value: 'postId' }"
|
||||||
@@ -1238,9 +1241,9 @@ onMounted(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-form>
|
</a-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<a-button key="cancel" @click="fnModalCancel">{{
|
<a-button key="cancel" @click="fnModalCancel">
|
||||||
t('common.close')
|
{{ t('common.close') }}
|
||||||
}}</a-button>
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user