|
@@ -610,6 +610,7 @@ import {
|
|
|
activationOperation,
|
|
|
getTenantChildrenInfo,
|
|
|
getTenantAllList,
|
|
|
+ tenantTree,
|
|
|
} from "@/api/system/tenant";
|
|
|
import { getDataSourceInfo, insertDataSource } from "@/api/system/data";
|
|
|
import {
|
|
@@ -827,14 +828,14 @@ export default {
|
|
|
|
|
|
// 查询所有平台所有租户
|
|
|
getTenantAllList() {
|
|
|
- getTenantAllList().then((response) => {
|
|
|
+ tenantTree().then((response) => {
|
|
|
let tenantAllListOne = this.handleTree(
|
|
|
- response.rows,
|
|
|
+ response.data,
|
|
|
"tenantId",
|
|
|
"tenantParentId"
|
|
|
);
|
|
|
this.tenantAllList = [
|
|
|
- { tenantId: 0, tenantName: "顶级租户" },
|
|
|
+ // { tenantId: 0, tenantName: "顶级租户" },
|
|
|
...tenantAllListOne,
|
|
|
];
|
|
|
});
|