Commit 2a02e53b authored by jingnan's avatar jingnan 👀

站位计划维护点击树结构的第一个节点的时候不调用接口,但是右侧查询是查询当前整个架次下的数据

parent fbb98b50
......@@ -65,6 +65,7 @@
<dee-as-com
ref="detailCom"
:key="layConfig.typeName"
:basic-data="{activeNodeData}"
:lay-config="layConfig"
table-height="calc(100vh - 200px)"
@row-click="rowClick"
......@@ -74,6 +75,7 @@
<dee-as-com
ref="detailCom2"
:key="layConfig.typeName"
:basic-data="{activeNodeData}"
:lay-config="layConfig1"
table-height="calc(100vh - 200px)"
@row-click="rowClick"
......@@ -588,11 +590,11 @@ export default {
})
},
handleNodeClick(data, node) {
if (node.level === 2 || node.level === 3) {
data.activeTab = this.activeTab
data.level = node.level
data.searchStories = this.form.sortiesName
this.activeNodeData = data
if (node.level === 2 || node.level === 3) {
this.$nextTick(() => {
if (this.activeTab === '0') {
if (this.$refs.detailCom.$refs.asCom && this.$refs.detailCom.$refs.asCom.getData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment