From b41e7f1857a40d13c0fb96ac7b5443f47efee092 Mon Sep 17 00:00:00 2001 From: 32189 <3218665834@qq.com> Date: Mon, 6 Mar 2023 14:35:17 +0800 Subject: [PATCH] =?UTF-8?q?:tada:app=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/i18n/form.vue | 222 +++++++------- src/views/app/appmenu/form.vue | 413 +++++++++++++------------- src/views/app/appmenu/i18n/en.ts | 4 +- src/views/app/appmenu/i18n/zh-cn.ts | 4 +- src/views/app/appuser/form.vue | 439 ++++++++++++++-------------- src/views/app/appuser/i18n/en.ts | 12 +- src/views/app/appuser/i18n/zh-cn.ts | 11 +- src/views/oa/model/form.vue | 3 +- 8 files changed, 567 insertions(+), 541 deletions(-) diff --git a/src/views/admin/i18n/form.vue b/src/views/admin/i18n/form.vue index 3931fb35..b6bdbea8 100644 --- a/src/views/admin/i18n/form.vue +++ b/src/views/admin/i18n/form.vue @@ -1,131 +1,131 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + {{ $t('common.cancelButtonText') }} {{ $t('common.confirmButtonText') }} - - + + diff --git a/src/views/app/appmenu/form.vue b/src/views/app/appmenu/form.vue index d8c5b3ed..bbfa8df5 100644 --- a/src/views/app/appmenu/form.vue +++ b/src/views/app/appmenu/form.vue @@ -1,221 +1,224 @@ - - - - - - - 页面 - 按钮 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 显示 - 隐藏 - - - - - - + + + + + + + 页面 + 按钮 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 显示 + 隐藏 + + + + + + {{ $t('common.cancelButtonText') }} {{ $t('common.confirmButtonText') }} - - + + diff --git a/src/views/app/appmenu/i18n/en.ts b/src/views/app/appmenu/i18n/en.ts index 249845f7..3092fa6f 100644 --- a/src/views/app/appmenu/i18n/en.ts +++ b/src/views/app/appmenu/i18n/en.ts @@ -7,7 +7,9 @@ export default { menuType: 'menuType', visible: 'visible', permission: 'permission', - inputNameTip: 'input name', + inputMenuNameTip: 'input menuName', + inputPathTip: 'input path', + inputPermissionTip: 'input permission', parentId: 'parent menu', }, }; diff --git a/src/views/app/appmenu/i18n/zh-cn.ts b/src/views/app/appmenu/i18n/zh-cn.ts index 0fa15820..23f9f2bb 100644 --- a/src/views/app/appmenu/i18n/zh-cn.ts +++ b/src/views/app/appmenu/i18n/zh-cn.ts @@ -7,7 +7,9 @@ export default { menuType: '菜单类型', visible: '显示状态', permission: '权限标识', - inputNameTip: '请输入菜单名称', + inputMenuNameTip: '请输入菜单名称', + inputPathTip: '请输入路由路径', + inputPermissionTip: '请输入权限标识', parentId: '上级菜单', }, }; diff --git a/src/views/app/appuser/form.vue b/src/views/app/appuser/form.vue index f86f208b..fb1a1926 100644 --- a/src/views/app/appuser/form.vue +++ b/src/views/app/appuser/form.vue @@ -1,236 +1,247 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ item.label }} - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ + item.label }} + + + + + + + {{ $t('common.cancelButtonText') }} {{ $t('common.confirmButtonText') }} - - - + + + diff --git a/src/views/app/appuser/i18n/en.ts b/src/views/app/appuser/i18n/en.ts index 5ef52ca8..58110637 100644 --- a/src/views/app/appuser/i18n/en.ts +++ b/src/views/app/appuser/i18n/en.ts @@ -12,9 +12,13 @@ export default { dept: 'dept', email: 'email', nickname: 'nickname', - inputUsernameTip: 'input username', - inputPhoneTip: 'input phone', - inputNameTip: 'input name', - importUserTip: 'user import', + inputNameTip:'input name', + inputRoleTip:'input role', + inputUserNameTip:'input username', + inputPasswordTip:'input Password', + inputPhoneTip:'input phone', + inputEmailTip:'input Email', + inputNickNameTip:'input NickName' + }, }; diff --git a/src/views/app/appuser/i18n/zh-cn.ts b/src/views/app/appuser/i18n/zh-cn.ts index 7ff3f113..0c754a9a 100644 --- a/src/views/app/appuser/i18n/zh-cn.ts +++ b/src/views/app/appuser/i18n/zh-cn.ts @@ -12,9 +12,12 @@ export default { dept: '部门', email: '邮箱', nickname: '昵称', - inputUsernameTip: '请输入用户名', - inputPhoneTip: '请输入手机号', - inputNameTip: '请输入姓名', - importUserTip: '用户导入', + inputNameTip:'请输入姓名', + inputRoleTip:'请选择角色', + inputUserNameTip:'请输入用户名', + inputPasswordTip:'请输入密码', + inputEmailTip:'请输入邮箱', + inputPhoneTip:'请输入手机号码', + inputNickNameTip:'请输入昵称' }, }; diff --git a/src/views/oa/model/form.vue b/src/views/oa/model/form.vue index 8a5f1172..6b911c38 100644 --- a/src/views/oa/model/form.vue +++ b/src/views/oa/model/form.vue @@ -50,7 +50,7 @@ key: '', name: '', category: '', - desc: 'vvv', + desc: 'create_time', }); // 定义校验规则 @@ -65,6 +65,7 @@ category: [ {required: true, message: '模型分类不能为空', trigger: 'blur'} ] + } )