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