|
|
@@ -190,7 +190,7 @@ function findpage() {
|
|
|
api.tenantApi.sysList({ pages: pageInfo.value.pageNum, size: pageInfo.value.pageSize, ...formInline }).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
tableData.value = res.data.records;
|
|
|
- pageInfo.value.pageNum = res.data.pages;
|
|
|
+ pageInfo.value.pageNum = res.data.current;
|
|
|
pageInfo.value.pageSize = res.data.size;
|
|
|
pageInfo.value.total = res.data.total;
|
|
|
}
|
|
|
@@ -214,9 +214,9 @@ const columns = [
|
|
|
return sysType
|
|
|
}
|
|
|
},
|
|
|
- { prop: "division", label: "所在地区", },
|
|
|
+ { prop: "division", label: "所在地区", width: '200',},
|
|
|
{
|
|
|
- prop: "deptCount", label: "下级机构",
|
|
|
+ prop: "deptCount", label: "下级机构", width: '100',
|
|
|
component: "RouterLink",
|
|
|
formatter: (row: any) => ({ name: 'OrganizationDetail', query: { id: row.id, code: row.sysCode, typeName: 'organization' } })
|
|
|
},
|
|
|
@@ -232,6 +232,8 @@ const columns = [
|
|
|
},
|
|
|
{ prop: "createTime", label: "创建时间", width: '180', },
|
|
|
{ prop: "createBy", label: "创建人", width: '120', },
|
|
|
+ { prop: "contact", label: "联系人", width: '120', },
|
|
|
+ { prop: "telephone", label: "联系电话", width: '200'},
|
|
|
];
|
|
|
|
|
|
function getList(item: PageInfo) {
|