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
- handleDelete(record.id)">
- 删除
+ handleDelete(record.id)">
+ 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 @@
- 编辑
+ Edit
- 更多
+ More
- 详情
+ Detail
- 添加下级
+ AddSub
- 数据规则
+ DataRule
- handleDelete(record.id)" placement="topLeft">
- 删除
+ handleDelete(record.id)" placement="topLeft">
+ 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
@@ -60,23 +60,23 @@
:rowSelection="{selectedRowKeys: selectedRowKeys1, onChange: onSelectChange1, type:'radio'}"
@change="handleTableChange">
- 用户
+ User
- 更多
+ More
- 授权
+ Perssion
- 编辑
+ Edit
- handleDelete1(record.id)">
- 删除
+ handleDelete1(record.id)">
+ Delete
@@ -100,14 +100,14 @@
-
+
- 查询
- 重置
+ Search
+ Reload
@@ -116,18 +116,18 @@
-
新增用户
+
Add
-
已有用户
+
Existing users
- 取消关联
+ Unbind
- 批量操作
+ Batch operation
@@ -135,9 +135,9 @@
- 编辑
+ Edit
- 更多
+ More
- handleDelete2(record.id)">
- 取消关联
+ handleDelete2(record.id)">
+ 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
}