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