mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
路径图调整
This commit is contained in:
@@ -228,16 +228,17 @@
|
||||
</el-table> -->
|
||||
<div style="margin-bottom: 30px;min-height: 300px;" class="table_box">
|
||||
<div class="title">
|
||||
<!-- <div> -->
|
||||
<div v-for="title,index in titleList" :key="index" :style="{maxWidth: index==0?'142px':'none'}" class="title_item">{{ title.title }}</div>
|
||||
<!-- </div> -->
|
||||
<div v-if="titleList.length>5" v-for="title,index in titleList">
|
||||
<div :key="index" :style="{maxWidth: index==0?'142px':'none'}" class="title_item">{{ title.title }}</div>
|
||||
</div>
|
||||
<div v-else :key="index" :style="{maxWidth: index==0?'142px':'none'}" class="title_item">{{ title.title }}</div>
|
||||
</div>
|
||||
<div class="body" v-for="(item,index) in preparedData">
|
||||
<div>
|
||||
<div class="body_left" :title="item.isOtherPosition == 1 ? item.positionName + '(' + item.organizationName + ')' : item.positionName">{{ item.isOtherPosition == 1 ? item.positionName + '(' + item.organizationName + ')' : item.positionName }}</div>
|
||||
</div>
|
||||
<div class="body_right">
|
||||
<div class="body_item" :style="{width: (142 * t.number) + 'px',flexGrow:1*t.number}" v-for="t,i in item.bandCodes">
|
||||
<div class="body_item" :style="{width: (142 * t.number) + 'px',flexGrow:titleList.length<=5?1*t.number:none}" v-for="t,i in item.bandCodes">
|
||||
<img v-if="(t && t.isMajorPosition) " src="../../assets/images/growth/CurrentPath.png" alt="">
|
||||
<img @click="goLearnPath(t)" v-else-if="(t && t.permission)" src="../../assets/images/growth/NoPermissionPath.png" alt="">
|
||||
<!-- <img v-else-if="!(t && t.permission)" src="../../assets/images/growth/OtherPath.png" alt=""> -->
|
||||
|
||||
Reference in New Issue
Block a user