|
@@ -28,8 +28,8 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|
|
|
|
<el-table :data="tenantTable" class="tenant-info-table" row-key="id" default-expand-all>
|
|
<el-table :data="tenantTable" class="tenant-info-table" row-key="id" default-expand-all>
|
|
|
- <el-table-column prop="tenantCode" align="center" label="租户编码" />
|
|
|
|
|
<el-table-column prop="tenantName" align="center" width="200" label="租户名称" />
|
|
<el-table-column prop="tenantName" align="center" width="200" label="租户名称" />
|
|
|
|
|
+ <el-table-column prop="tenantCode" align="center" label="租户编码" />
|
|
|
<el-table-column align="center" width="100" label="状态">
|
|
<el-table-column align="center" width="100" label="状态">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<div class="">
|
|
<div class="">
|
|
@@ -42,7 +42,11 @@
|
|
|
<el-table-column align="center" label="操作">
|
|
<el-table-column align="center" label="操作">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<div class="operations">
|
|
<div class="operations">
|
|
|
- <el-button type="primary" @click="openAddTenantDrawer('add', scope.row)">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="scope.row.parentId === 0 || scope.row.parentId === null"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="openAddTenantDrawer('add', scope.row)"
|
|
|
|
|
+ >
|
|
|
添加下一级
|
|
添加下一级
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button type="primary" @click="openAddTenantDrawer('edit', scope.row)">
|
|
<el-button type="primary" @click="openAddTenantDrawer('edit', scope.row)">
|