|
|
@@ -36,15 +36,14 @@
|
|
|
<template #expandIcon="{ isActive }">
|
|
|
<caret-right-outlined :rotate="isActive ? 90 : 0" />
|
|
|
</template>
|
|
|
- <a-collapse-panel @click="tabCjData(items, index)"
|
|
|
- v-for="(items, indexs) in item" :key="items.st_name" :header="`${items.st_name}(${items.stcd})`"
|
|
|
- :style="{ ...customStyle }" :class="{
|
|
|
+ <a-collapse-panel @click="tabCjData(items, index)" v-for="(items, indexs) in item"
|
|
|
+ :key="items.st_name" :header="`${items.st_name}(${items.stcd})`" :style="{ ...customStyle }"
|
|
|
+ :class="{
|
|
|
'active-style': activeTree == items.stcd,
|
|
|
}">
|
|
|
<ul class="tree-ul">
|
|
|
<li :style="activeTree == element.senid ? activeStyleObj : {}"
|
|
|
- @click.stop="tabCjData(element)"
|
|
|
- v-for="(element, indexss) in items.sensor" :key="indexss">
|
|
|
+ @click.stop="tabCjData(element)" v-for="(element, indexss) in items.sensor" :key="indexss">
|
|
|
{{ element.sensor_name }}({{ element.senid }})
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -373,7 +372,7 @@ watch(searchValue, debounce((value) => {
|
|
|
}
|
|
|
}
|
|
|
treeData.riverTreeData = treeDataList;
|
|
|
- if(value == ''){
|
|
|
+ if (value == '') {
|
|
|
activeKey2.value = ['2']
|
|
|
activeKey.value = []
|
|
|
activeKey1.value = []
|