Commit b1b546c5 authored by jingnan's avatar jingnan 👀

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

parent a828dd3d
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
<dee-as-com <dee-as-com
ref="detailCom" ref="detailCom"
:key="layConfig.typeName" :key="layConfig.typeName"
:basic-data="{activeNodeData}"
:lay-config="layConfig" :lay-config="layConfig"
table-height="calc(100vh - 200px)" table-height="calc(100vh - 200px)"
@row-click="rowClick" @row-click="rowClick"
...@@ -74,6 +75,7 @@ ...@@ -74,6 +75,7 @@
<dee-as-com <dee-as-com
ref="detailCom2" ref="detailCom2"
:key="layConfig.typeName" :key="layConfig.typeName"
:basic-data="{activeNodeData}"
:lay-config="layConfig1" :lay-config="layConfig1"
table-height="calc(100vh - 200px)" table-height="calc(100vh - 200px)"
@row-click="rowClick" @row-click="rowClick"
...@@ -537,11 +539,11 @@ export default { ...@@ -537,11 +539,11 @@ export default {
}) })
}, },
handleNodeClick(data, node) { handleNodeClick(data, node) {
if (node.level === 2 || node.level === 3) {
data.activeTab = this.activeTab data.activeTab = this.activeTab
data.level = node.level data.level = node.level
data.searchStories = this.form.sortiesName data.searchStories = this.form.sortiesName
this.activeNodeData = data this.activeNodeData = data
if (node.level === 2 || node.level === 3) {
this.$nextTick(() => { this.$nextTick(() => {
if (this.activeTab === '0') { if (this.activeTab === '0') {
if (this.$refs.detailCom.$refs.asCom && this.$refs.detailCom.$refs.asCom.getData) { 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