feat: 调整树样式

This commit is contained in:
xuziqiang
2024-07-10 14:51:42 +08:00
parent 060ac6d486
commit 149f44a8dd
5 changed files with 8 additions and 3 deletions

View File

@@ -9,6 +9,6 @@ export enum device {
export enum group {
queryDeviceGroupTree = `${BASE_URL}/deviceGroup/queryDeviceGroupTree`, // 左侧树
creatOrUpdate = `${BASE_URL}/deviceGroup/creatOrUpdate`, // 左侧树节点新增编辑
del = `${BASE_URL}/deviceGroup/del`, // 左侧树节点新增编辑
move = `${BASE_URL}/deviceGroup/move`, // 左侧树节点新增编辑
del = `${BASE_URL}/deviceGroup/del`,
move = `${BASE_URL}/deviceGroup/move`,
}

View File

@@ -33,6 +33,7 @@ export const tableConfig = (orgId) => {
},
},
rowSelection: null,
scroll: { x: 2000 },
columns: [
{
title: '设备名称',
@@ -74,7 +75,7 @@ export const tableConfig = (orgId) => {
{
title: '设备厂商纳税人识别号',
dataIndex: 'deviceRatepay',
textNumber: 8,
textNumber: 9,
textEllipsis: true,
},
{

View File

@@ -8,6 +8,7 @@
<a-col :span="8" class="tree">
<a-tree
ref="treeRef"
:showLine="{ showLeafIcon: false }"
v-if="deptTreeData?.length"
:tree-data="deptTreeData"
:selectedKeys="deptTreeSelectedKeys"
@@ -87,6 +88,7 @@
</a-space>
<a-tree
v-if="roleTreeData.length"
:showLine="{ showLeafIcon: false }"
:tree-data="roleTreeData"
:selectedKeys="roleTreeSelectedKeys"
blockNode