diff --git a/src/views/system/RoleUserList.vue b/src/views/system/RoleUserList.vue index 269a1161..b6be1cf9 100644 --- a/src/views/system/RoleUserList.vue +++ b/src/views/system/RoleUserList.vue @@ -32,10 +32,10 @@
{{ $t('roleManage.newRole') }} - - - - + + + +
@@ -55,7 +55,7 @@ @change="handleTableChange"> {{ $t('roleManage.userBtn') }} - + @@ -109,17 +109,20 @@
- {{ $t('roleManage.existingUsers') }} + {{ + $t('roleManage.existingUsers') + }} + - + {{ $t('delete') }} {{ $t('batchOperation') }} - +
@@ -139,22 +142,11 @@ :scroll="{x: '100%', y: yScrollHeight}" :rowSelection="{selectedRowKeys: selectedRowKeys2, onChange: onSelectChange2}" @change="handleTableChange2"> - -
{{ $t('edit') }} - - - - - - - - - {{ $t('delete') }} - - - - -
+
@@ -236,59 +228,59 @@ export default { test: {}, rightcolval: 0, columns: - [ - { - title: this.$t('roleManage.roleCode'), - align: 'center', - dataIndex: 'roleCode' - }, - { - title: this.$t('roleManage.roleName'), - align: 'center', - dataIndex: 'roleName' - }, - { - title: this.$t('createTime'), - dataIndex: 'createTime', - align: 'center', - sorter: true, - customRender: (text) => { - return moment(text).format('YYYY-MM-DD') - } - }, - { - title: this.$t('operation'), - dataIndex: 'action', - align: 'center', - scopedSlots: { customRender: 'action' } + [ + { + title: this.$t('roleManage.roleCode'), + align: 'center', + dataIndex: 'roleCode' + }, + { + title: this.$t('roleManage.roleName'), + align: 'center', + dataIndex: 'roleName' + }, + { + title: this.$t('createTime'), + dataIndex: 'createTime', + align: 'center', + sorter: true, + customRender: (text) => { + return moment(text).format('YYYY-MM-DD') } - ], + }, + { + title: this.$t('operation'), + dataIndex: 'action', + align: 'center', + scopedSlots: { customRender: 'action' } + } + ], columns2: [{ title: this.$t('user.userAccount'), align: 'center', dataIndex: 'username', width: 120 }, - { - title: this.$t('user.userName'), - align: 'center', - width: 100, - dataIndex: 'realname' - }, - { - title: this.$t('status'), - align: 'center', - width: 80, - dataIndex: 'status_dictText' - }, + { + title: this.$t('user.userName'), + align: 'center', + width: 100, + dataIndex: 'realname' + }, + { + title: this.$t('status'), + align: 'center', + width: 80, + dataIndex: 'status_dictText' + }, - { - title: this.$t('operation'), - dataIndex: 'action', - scopedSlots: { customRender: 'action' }, - align: 'center', - width: 120 - }], + { + title: this.$t('operation'), + dataIndex: 'action', + scopedSlots: { customRender: 'action' }, + align: 'center', + width: 120 + }], // 高级查询参数 superQueryParams2: '', @@ -524,10 +516,10 @@ export default {