From ac8acd3d38eaad89d2663331129fb8dcd56d5c4b Mon Sep 17 00:00:00 2001 From: orgin Date: Tue, 23 May 2023 18:27:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=8F=9C=E5=8D=95=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=81=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E3=80=81=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E7=9A=84=E4=B8=AD=E6=96=87=E6=94=B9=E4=B8=BA=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/DictList.vue | 44 ++++++------ src/views/system/NewPermissionList.vue | 46 ++++++------- src/views/system/RoleUserList.vue | 92 +++++++++++++------------- 3 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/views/system/DictList.vue b/src/views/system/DictList.vue index 30fc051..8c141a5 100644 --- a/src/views/system/DictList.vue +++ b/src/views/system/DictList.vue @@ -6,33 +6,33 @@ - - + + - - + + - 查询 - 重置 + Search + Reload
- 添加 - 导出 + Add + Export - 导入 + Import - 刷新缓存 + RefleshCache - 回收站 + RecycleBin
- 编辑 + Edit - 字典配置 + EditDict - - 删除 + + Delete @@ -101,22 +101,22 @@ } }, { - title: '字典名称', + title: 'DICTNAME', align: "left", dataIndex: 'dictName', }, { - title: '字典编号', + title: 'DICTCODE', align: "left", dataIndex: 'dictCode', }, { - title: '描述', + title: 'DESCRIPTION', align: "left", dataIndex: 'description', }, { - title: '操作', + title: 'ACTION', dataIndex: 'action', align: "center", scopedSlots: {customRender: 'action'}, @@ -188,11 +188,11 @@ Vue.ls.set(UI_CACHE_DB_DICT_DATA, res.result, 7 * 24 * 60 * 60 * 1000) } }) - this.$message.success("刷新缓存完成!"); + this.$message.success("Flush cache succeeded!"); } }).catch(e=>{ - this.$message.warn("刷新缓存失败!"); - console.log("刷新失败",e) + this.$message.warn("Cache refresh failure!"); + console.log("Refresh failure",e) }) } }, diff --git a/src/views/system/NewPermissionList.vue b/src/views/system/NewPermissionList.vue index e23fa6c..44d6243 100644 --- a/src/views/system/NewPermissionList.vue +++ b/src/views/system/NewPermissionList.vue @@ -3,13 +3,13 @@
- 新增 + Add 批量删除 + icon="delete">Batch Remove
@@ -17,9 +17,9 @@
- 已选择 {{ - selectedRowKeys.length }}项   - 清空 + To Select {{ + selectedRowKeys.length }} Item   + Clear
- 编辑 + Edit - 更多 + More - 详情 + Detail - 添加下级 + AddSub - 数据规则 + DataRule - - 删除 + + Delete @@ -88,20 +88,20 @@ const columns = [ { - title: '菜单名称', + title: 'NAME', dataIndex: 'name', key: 'name' }, { - title: '菜单类型', + title: 'MENU TYPE', dataIndex: 'menuType', key: 'menuType', customRender: function(text) { if (text == 0) { - return '菜单' + return 'MENU' } else if (text == 1) { - return '菜单' + return 'MENU' } else if (text == 2) { - return '按钮/权限' + return 'BUTTON/PERMS' } else { return text } @@ -111,29 +111,29 @@ dataIndex: 'perms', key: 'permissionCode', },*/{ - title: 'icon', + title: 'ICON', dataIndex: 'icon', key: 'icon' }, { - title: '组件', + title: 'COMPONENT', dataIndex: 'component', key: 'component', scopedSlots: { customRender: 'component' } }, { - title: '路径', + title: 'URL', dataIndex: 'url', key: 'url', scopedSlots: { customRender: 'url' } }, { - title: '排序', + title: 'SORT NO', dataIndex: 'sortNo', key: 'sortNo' }, { - title: '操作', + title: 'ACTION', dataIndex: 'action', scopedSlots: { customRender: 'action' }, align: 'center', @@ -213,7 +213,7 @@ this.$refs.PermissionDataRuleList.edit(record) }, handleAddSub(record) { - this.$refs.modalForm.title = "添加子菜单"; + this.$refs.modalForm.title = "Add submenu"; this.$refs.modalForm.disableSubmit = false; this.$refs.modalForm.edit({status:'1',permsType:'1',route:true,'parentId':record.id,menuType:1}); }, diff --git a/src/views/system/RoleUserList.vue b/src/views/system/RoleUserList.vue index 8aaa6b2..025e61a 100644 --- a/src/views/system/RoleUserList.vue +++ b/src/views/system/RoleUserList.vue @@ -8,7 +8,7 @@ - + @@ -23,8 +23,8 @@ --> - 查询 - 重置 + Search + Reload @@ -32,18 +32,18 @@
- 新建角色 + ADD - 导入 + Import - 导出 + Export
- 已选择 {{ selectedRowKeys1.length }}项 - 清空 + To Select {{ selectedRowKeys1.length }} Item + Clear
@@ -60,23 +60,23 @@ :rowSelection="{selectedRowKeys: selectedRowKeys1, onChange: onSelectChange1, type:'radio'}" @change="handleTableChange"> - 用户 + User - 更多 + More - 授权 + Perssion - 编辑 + Edit - - 删除 + + Delete @@ -100,14 +100,14 @@ - + - 查询 - 重置 + Search + Reload @@ -116,18 +116,18 @@
- 新增用户 + Add - 已有用户 + Existing users - 取消关联 + Unbind - 批量操作 + Batch operation @@ -135,9 +135,9 @@
- 编辑 + Edit - 更多 + More - - 取消关联 + + Unbind @@ -249,17 +249,17 @@ columns: [ { - title: '角色编码', + title: 'ROLECODE', align: 'center', dataIndex: 'roleCode' }, { - title: '角色名称', + title: 'ROLENAME', align: 'center', dataIndex: 'roleName' }, { - title: '创建时间', + title: 'CREATETIME', dataIndex: 'createTime', align:"center", sorter: true, @@ -268,33 +268,33 @@ } }, { - title: '操作', + title: 'ACTION', dataIndex: 'action', align: 'center', scopedSlots: { customRender: 'action' } } ], columns2: [{ - title: '用户账号', + title: 'USERNAME', align: 'center', dataIndex: 'username', width: 120 }, { - title: '用户名称', + title: 'REALNAME', align: 'center', width: 100, dataIndex: 'realname' }, { - title: '状态', + title: 'STATUS', align: 'center', width: 80, dataIndex: 'status_dictText' }, { - title: '操作', + title: 'ACTION', dataIndex: 'action', scopedSlots: { customRender: 'action' }, align: 'center', @@ -375,16 +375,16 @@ return str }, handleEdit2: function(record) { - this.$refs.modalForm2.title = '编辑' + this.$refs.modalForm2.title = 'Edit' this.$refs.modalForm2.roleDisabled = true this.$refs.modalForm2.edit(record) }, handleAdd2: function() { if (this.currentRoleId == '') { - this.$message.error('请选择一个角色!') + this.$message.error('Please select a role!') } else { this.$refs.modalForm2.roleDisabled = true - this.$refs.modalForm2.title = '新增' + this.$refs.modalForm2.title = 'Add' this.$refs.modalForm2.edit({activitiSync:'1',userIdentity:1,selectedroles:this.currentRoleId}) } }, @@ -394,7 +394,7 @@ }, loadData2(arg) { if (!this.url.list2) { - this.$message.error('请设置url.list2属性!') + this.$message.error('Please set url.list2 property!') return } //加载数据 若传入参数1则加载第一页的内容 @@ -422,7 +422,7 @@ }, handleDelete2: function(id) { if (!this.url.delete2) { - this.$message.error('请设置url.delete2属性!') + this.$message.error('Please set url.delete2 property!') return } var that = this @@ -438,11 +438,11 @@ batchDel2: function() { if (!this.url.deleteBatch2) { - this.$message.error('请设置url.deleteBatch2属性!') + this.$message.error('Please set rl.deleteBatch2 property!') return } if (this.selectedRowKeys2.length <= 0) { - this.$message.warning('请选择一条记录!') + this.$message.warning('Please select a record!') return } else { var ids = '' @@ -452,8 +452,8 @@ var that = this console.log(this.currentDeptId) this.$confirm({ - title: '确认取消关联', - content: '是否删除选中数据?', + title: 'Confirm unbinding', + content: 'Whether to delete the selected data?', onOk: function() { deleteAction(that.url.deleteBatch2, { roleId: that.currentRoleId, userIds: ids }).then((res) => { if (res.success) { @@ -488,7 +488,7 @@ handleAddUserRole() { if (this.currentRoleId == '') { - this.$message.error('请选择一个角色!') + this.$message.error('Please select a role!') } else { this.$refs.selectUserModal.visible = true }