Sfoglia il codice sorgente

提交修改

newStyle
douzhuo 2 anni fa
parent
commit
78b4127406
2 ha cambiato i file con 20 aggiunte e 4 eliminazioni
  1. +4
    -0
      src/views/admin/user/index.vue
  2. +16
    -4
      src/views/admin/user/table.js

+ 4
- 0
src/views/admin/user/index.vue Vedi File

@@ -1811,6 +1811,10 @@ export default {
if (res.code == 0) {
this.tableData = res.data.records;
this.page.total = res.data.total;
// 表格中设置ref属性,在数据渲染之后或者updated()之后
this.$nextTick(() => {
this.$refs.crud.doLayout();
});
} else {
this.$message.waring(res.msg);
}


+ 16
- 4
src/views/admin/user/table.js Vedi File

@@ -23,6 +23,18 @@ export default {
label: '用户名',
prop: "name",
},
{
label: '项目名称',
prop: "houseName",
},
{
label: '角色名称',
prop: "roleName",
},
{
label: '公司名称',
prop: "companyName",
},
{
label: '登录手机',
prop: "username",
@@ -79,10 +91,10 @@ export default {
label: '登录手机',
prop: "username",
},
{
label: '所属组织',
prop: "orgName",
},
// {
// label: '所属组织',
// prop: "orgName",
// },
{
label: '组织类型',
prop: "orgTypeName",


Caricamento…
Annulla
Salva