This commit is contained in:
parent
ece4abc539
commit
0eae020323
|
@ -13,16 +13,17 @@
|
||||||
:key="s.analogAreaComponentId"
|
:key="s.analogAreaComponentId"
|
||||||
>
|
>
|
||||||
<template>
|
<template>
|
||||||
<div ref="sectionContent" >
|
<div ref="sectionContent">
|
||||||
<div>
|
<div>
|
||||||
<p class="board-title">
|
<p class="board-title">
|
||||||
<span>{{ s.title }}</span>
|
<span>{{ s.title }}</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- <span class="downPull1" data-num="1" @click="sectionHandle(i)"></span> -->
|
<!-- <span class="downPull1" data-num="1" @click="sectionHandle(i)"></span> -->
|
||||||
</div>
|
</div>
|
||||||
|
<el-tabs>
|
||||||
<el-collapse v-model="acticveName">
|
<el-collapse v-model="acticveName">
|
||||||
<div v-for="o in s.children" :key="o.analogAreaComponentId">
|
<div v-for="o in s.children" :key="o.analogAreaComponentId">
|
||||||
<el-collapse-item :title=o.componentName :name="o.analogAreaComponentId" >
|
<el-collapse-item :title="o.componentName" :name="o.analogAreaComponentId">
|
||||||
<OD
|
<OD
|
||||||
v-if="o.componentName.includes('OD')"
|
v-if="o.componentName.includes('OD')"
|
||||||
:pageType="o.graphicType"
|
:pageType="o.graphicType"
|
||||||
|
@ -70,11 +71,8 @@
|
||||||
:typeValue="typeCycleStatistics"
|
:typeValue="typeCycleStatistics"
|
||||||
/>
|
/>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
|
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -390,12 +388,12 @@ export default {
|
||||||
});
|
});
|
||||||
this.sectionData = this.sectionArr.map(item => {
|
this.sectionData = this.sectionArr.map(item => {
|
||||||
item = { title: item, children: [] };
|
item = { title: item, children: [] };
|
||||||
this.acticveName=[]
|
this.acticveName = [];
|
||||||
this.componentList.forEach(val => {
|
this.componentList.forEach(val => {
|
||||||
if (item.title == val.combinationName) {
|
if (item.title == val.combinationName) {
|
||||||
item.children.push(val);
|
item.children.push(val);
|
||||||
}
|
}
|
||||||
this.acticveName.push(val.analogAreaComponentId)
|
this.acticveName.push(val.analogAreaComponentId);
|
||||||
});
|
});
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue