fix(任务中心): 任务名过长导致不显示

This commit is contained in:
wxg0103 2021-11-23 15:50:41 +08:00 committed by 刘瑞斌
parent 8239f286c2
commit eb2dc0cbef
1 changed files with 5 additions and 3 deletions

View File

@ -88,8 +88,10 @@
<div class="report-container">
<div v-for="item in taskData" :key="item.id" style="margin-bottom: 5px;">
<el-card class="ms-card-task" @click.native="showReport(item)">
<span class="ms-task-name-width">
{{ getModeName(item.executionModule) }} : <el-link type="primary"> {{ item.name }} </el-link>
<span>
{{ getModeName(item.executionModule) }} : <el-link type="primary" class="ms-task-name-width"> {{
item.name
}} </el-link>
</span>
<el-button size="mini" class="ms-task-stop" @click.stop @click="stop(item)"
v-if="showStop(item.executionStatus)">
@ -522,7 +524,7 @@ export default {
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 360px;
width: 300px;
}
.ms-el-form-item >>> .el-form-item {
margin-bottom: 6px;