From 8537a8d58b5a3750b57d76367ef51f086af271df Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 18 四月 2024 00:09:40 +0800
Subject: [PATCH] 集团属性池映射界面代码完善
---
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
index 9b9671d..fd939dc 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -4,7 +4,7 @@
<!-- 宸︿晶鑿滃崟-->
<el-aside>
<basic-container>
- <div style="height: calc(100vh - 144px);!important;">
+ <div ref="TreeBox" style="height: calc(100vh - 144px);!important;">
<div class="headerCon" style="display: flex; flex-wrap: wrap;margin-bottom: 5px">
<el-button v-if="permissionList.TreeAddStatus" plain size="small" type="primary" @click="TreeAdd">娣诲姞
</el-button>
@@ -585,7 +585,7 @@
},
{
label: '鎻忚堪',
- prop: 'desc',
+ prop: 'description',
type: 'textarea',
span: 24
}
@@ -698,16 +698,24 @@
mounted() {
this.type = this.tabOption.column[0] || {label: '鍩烘湰淇℃伅', prop: 'tab1'};
this.getAttr();
- const treeEle = this.$refs.tree.$el
- treeEle.addEventListener('click', (e) => {
- if (e.target.nodeName !== 'SPAN') {
+ // const treeEle = this.$refs.tree.$el;
+ const TreeBox = this.$refs.TreeBox;
+ // console.log(this.$refs.TreeBox)
+ // treeEle.addEventListener('click', (e) => {
+ // console.log('2')
+ // if (e.target.nodeName !== 'SPAN') {
+ // this.$refs.tree.setCurrentKey(null);
+ // this.nodeClickList = {};
+ // this.TreeFlagCode = true;
+ // this.allButtons = false;
+ // }
+ // }, true)
+ TreeBox.addEventListener('click', (e) => {
+ if (e.target.nodeName !== 'SPAN' && e.target.nodeName !== 'BUTTON') {
this.$refs.tree.setCurrentKey(null);
this.nodeClickList = {};
this.TreeFlagCode = true;
this.allButtons = false;
- // this.$nextTick(()=>{
- // this.btnAuthList = [];
- // })
}
}, true)
},
--
Gitblit v1.9.3