|
|
|
@ -2,7 +2,7 @@ |
|
|
|
<div class="wrap"> |
|
|
|
<!-- v-on:wheel="zoomSize" :style="'transform: scale(' + nowVal / 100 + ');'" --> |
|
|
|
<div class="content"> |
|
|
|
<div v-for="(item, index) in levelArr" :key="item" :class="[item === 'unit_chief' || item === 'public_welfare_post' ? 'lastLevel' : '', `flowLevel-${index + 1}`]" :style="{ height: item === 'building_chief' ? '90px' : '', lineHeight: item === 'building_chief' ? '90px' : '' }"> |
|
|
|
<div v-for="(item, index) in levelArr" :key="item" :class="[item === 'unit_chief' ? 'lastLevel' : '', item === 'public_welfare_post' ? 'lastLevel1' : '', `flowLevel-${index + 1}`]" :style="{ height: item === 'building_chief' ? '90px' : '', lineHeight: item === 'building_chief' ? '90px' : '' }"> |
|
|
|
<div :class="[item === 'building_chief' ? 'otherTop' : '']">{{ getTitleNameMapFun(item) }}</div> |
|
|
|
</div> |
|
|
|
<el-row> |
|
|
|
@ -68,7 +68,6 @@ export default { |
|
|
|
this.getDataPLevel(item.children); |
|
|
|
} |
|
|
|
}); |
|
|
|
console.log(this.levelArr); |
|
|
|
const myArray = [...new Set(this.levelArr)]; |
|
|
|
this.levelArr = this.getLevelArrNum(myArray); |
|
|
|
}, |
|
|
|
@ -155,6 +154,10 @@ export default { |
|
|
|
height: 145px !important; |
|
|
|
margin-top: -45px !important; |
|
|
|
} |
|
|
|
.lastLevel1 { |
|
|
|
height: 145px !important; |
|
|
|
margin-top: -37px !important; |
|
|
|
} |
|
|
|
|
|
|
|
.flowLevel-1 { |
|
|
|
@include flowLevwlCommon; |
|
|
|
|