|
@@ -4,7 +4,7 @@
|
|
|
<u-equipment-tree @select="selectEquipment"></u-equipment-tree>
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
- <interlock-summary-list ref="realForm" :selectData="selectData"></interlock-summary-list>
|
|
|
+ <interlock-summary-list ref="summaryList" :selectData="selectData"></interlock-summary-list>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -26,7 +26,7 @@ import InterlockSummaryList from './InterlockSummaryList.vue';
|
|
|
console.log(99,selectedKeys,e)
|
|
|
if (selectedKeys.length == 0) {
|
|
|
this.$nextTick(()=>{
|
|
|
- this.$refs.realForm.searchReset();
|
|
|
+ this.$refs.summaryList.searchReset();
|
|
|
})
|
|
|
} else {
|
|
|
let str = selectedKeys[0].length
|
|
@@ -34,7 +34,7 @@ import InterlockSummaryList from './InterlockSummaryList.vue';
|
|
|
this.selectData.num = str
|
|
|
this.selectData.id = e.selectedNodes[0].data.props.id
|
|
|
this.$nextTick(()=>{
|
|
|
- this.$refs.realForm.getDataList();
|
|
|
+ this.$refs.summaryList.getDataList();
|
|
|
})
|
|
|
}
|
|
|
}
|