Merge branch 'zcwy-master' into dev0515

This commit is contained in:
zhangsir
2024-07-05 14:54:01 +08:00
2 changed files with 10 additions and 9 deletions

View File

@@ -94,17 +94,17 @@
<div class="body_schedule_item">
<div class="body_schedule_one">
<div class="body_schedule_left">
<div>总任务</div>
<div style="margin-bottom: 9px;">总任务</div>
<div>当前任务</div>
</div>
<div class="body_schedule_right">
<div>{{detailData.taskNum}}</div>
<div style="margin-bottom: 9px;">{{detailData.taskNum}}</div>
<div :title="detailData.currentTaskName">{{detailData.currentTaskName.length>30?detailData.currentTaskName.slice(0,30)+'...':detailData.currentTaskName}}</div>
</div>
</div>
<div class="body_schedule_two">
<div class="body_schedule_pro">
<span class="pro_text">总进度</span>
<div class="pro_text">总进度</div>
<div style="display: flex;align-items: center;">
<el-progress style="width: 213px;" :show-text="false" :stroke-width="10" :percentage="Number(((detailData.overallCompletionRate || 0)*100).toFixed(2))"></el-progress>
<div class="text">{{ Number(((detailData.overallCompletionRate || 0)*100).toFixed(2)) || 0 }}%</div>
@@ -588,7 +588,7 @@ export default {
font-weight: 500;
font-size: 13px;
color: #3B3C4A;
line-height: 22px;
line-height: 18px;
text-align: left;
}
.body_schedule_right{
@@ -597,7 +597,7 @@ export default {
font-weight: 500;
font-size: 13px;
color: #2E72F2;
line-height: 22px;
line-height: 18px;
text-align: left;
}
}
@@ -608,11 +608,11 @@ export default {
height: 30px;
.pro_text{
width: 42px;
height: 22px;
height: 18px;
font-weight: 400;
font-size: 11px;
color: #666660;
line-height: 22px;
line-height: 18px;
text-align: left;
margin-bottom: 2px;
}
@@ -621,6 +621,7 @@ export default {
font-size: 10px;
color: #333333;
margin-left: 15px;
line-height: 14px;
}
}
.body_schedule_btn{

View File

@@ -228,7 +228,7 @@
</el-table> -->
<div style="margin-bottom: 30px;min-height: 300px;" class="table_box">
<div class="title">
<div v-if="titleList.length>5" v-for="title,index in titleList">
<div v-if="titleList.length>8" 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>
@@ -238,7 +238,7 @@
<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:titleList.length<=5?1*t.number:none}" v-for="t,i in item.bandCodes">
<div class="body_item" :style="{width: (142 * t.number) + 'px',flexGrow:titleList.length<=8?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=""> -->