| @@ -1811,6 +1811,10 @@ export default { | |||||
| if (res.code == 0) { | if (res.code == 0) { | ||||
| this.tableData = res.data.records; | this.tableData = res.data.records; | ||||
| this.page.total = res.data.total; | this.page.total = res.data.total; | ||||
| // 表格中设置ref属性,在数据渲染之后或者updated()之后 | |||||
| this.$nextTick(() => { | |||||
| this.$refs.crud.doLayout(); | |||||
| }); | |||||
| } else { | } else { | ||||
| this.$message.waring(res.msg); | this.$message.waring(res.msg); | ||||
| } | } | ||||
| @@ -23,6 +23,18 @@ export default { | |||||
| label: '用户名', | label: '用户名', | ||||
| prop: "name", | prop: "name", | ||||
| }, | }, | ||||
| { | |||||
| label: '项目名称', | |||||
| prop: "houseName", | |||||
| }, | |||||
| { | |||||
| label: '角色名称', | |||||
| prop: "roleName", | |||||
| }, | |||||
| { | |||||
| label: '公司名称', | |||||
| prop: "companyName", | |||||
| }, | |||||
| { | { | ||||
| label: '登录手机', | label: '登录手机', | ||||
| prop: "username", | prop: "username", | ||||
| @@ -79,10 +91,10 @@ export default { | |||||
| label: '登录手机', | label: '登录手机', | ||||
| prop: "username", | prop: "username", | ||||
| }, | }, | ||||
| { | |||||
| label: '所属组织', | |||||
| prop: "orgName", | |||||
| }, | |||||
| // { | |||||
| // label: '所属组织', | |||||
| // prop: "orgName", | |||||
| // }, | |||||
| { | { | ||||
| label: '组织类型', | label: '组织类型', | ||||
| prop: "orgTypeName", | prop: "orgTypeName", | ||||