-
-
-
-
- 清除
-
@@ -88,6 +82,10 @@ export default {
title: '姓名/昵称',
sortable: 'custom'
},
+ {
+ field: 'officeName',
+ title: '所属机构'
+ },
{
field: 'phone',
title: '手机号',
@@ -98,7 +96,7 @@ export default {
field: 'isLogin',
title: '禁止登录',
type: 'switch',
- width: 200,
+ width: 100,
change: (row) => {
this.$get('/user/change/login/status', {
id: row.id,
@@ -142,25 +140,16 @@ export default {
},
dialogStatus: '',
downloadLoading: false,
- ids: [],
- officeName: ''
+ ids: []
}
},
methods: {
reset() {
this.tableOptions.where = {}
- this.officeName = ''
this.$nextTick(() => this.reloadTable())
},
- resetOffice() {
- this.officeName = ''
- this.tableOptions.where.officeId = ''
- this.reloadTable()
- },
- nodeClick(nodes) {
- var node = nodes[0]
- this.officeName = node.name
- this.tableOptions.where.officeId = node.id
+ checkChange(values) {
+ this.tableOptions.where.officeId = values
this.reloadTable()
},
selectionChange(columns) {