diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 165623c5..eb48cd0b 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -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', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 25b40cda..a922c0d6 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -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:'是否更新已经存在的数据', diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 147e8ed7..8ed4f6ce 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -465,7 +465,7 @@ onMounted(() => { @@ -474,7 +474,7 @@ onMounted(() => { @@ -483,7 +483,7 @@ onMounted(() => { @@ -496,7 +496,6 @@ onMounted(() => { allow-clear bordered value-format="YYYY-MM-DD" - :placeholder="['创建开始', '创建结束']" style="width: 100%" > @@ -506,12 +505,12 @@ onMounted(() => { - 搜索 + {{ t('common.search') }} + - 重置 + {{ t('common.reset') }} + @@ -529,7 +528,7 @@ onMounted(() => { v-perms:has="['system:config:add']" > - 新建 + {{ t('common.addText') }} { v-perms:has="['system:config:remove']" > - 删除 + {{ t('common.deleteText') }} { v-perms:has="['system:config:export']" > - 导出 + {{ t('common.export') }} @@ -565,31 +564,31 @@ onMounted(() => { diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index d50f480d..d30132d5 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -840,6 +840,7 @@ onMounted(() => { v-model:value="queryParams.userName" allow-clear :maxlength="30" + :placeholder="t('common.ipnutPlease')" > @@ -852,6 +853,7 @@ onMounted(() => { v-model:value="queryParams.phonenumber" allow-clear :maxlength="11" + :placeholder="t('common.ipnutPlease')" > @@ -861,6 +863,7 @@ onMounted(() => { v-model:value="queryParams.status" allow-clear :options="dict.sysNormalDisable" + :placeholder="t('common.selectPlease')" > @@ -911,7 +914,7 @@ onMounted(() => { v-perms:has="['system:user:import']" > - {{ t('views.system.user.import') }} + {{ t('common.import') }} { v-perms:has="['system:user:export']" > - {{ t('views.system.user.export') }} + {{ t('common.export') }} @@ -936,15 +939,15 @@ onMounted(() => { size="small" /> - + @@ -962,15 +965,15 @@ onMounted(() => { :selected-keys="[tableState.size as string]" @click="fnTableSize" > - {{ - t('common.size.default') - }} - {{ - t('common.size.middle') - }} - {{ - t('common.size.small') - }} + + {{ t('common.size.default') }} + + + {{ t('common.size.middle') }} + + {{ t('common.size.small') }} + @@ -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(() => {