|
@@ -43,7 +43,7 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="任务名称" width="200" align="left" show-overflow-tooltip>
|
|
|
+ <el-table-column label="任务名称" min-width="200" align="left" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<div class="task-main">
|
|
|
<span class="task-id">TASK-{{ scope.row.id }}</span>
|
|
@@ -51,15 +51,22 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="所属模块" width="150" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column label="所属模块" min-width="200" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.moduleInfoName }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="状态" width="105" align="center">
|
|
|
+ <el-table-column label="状态" width="150" align="left">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
v-model="scope.row.status"
|
|
|
- :class="{'status0':scope.row.status===0,'status1':scope.row.status > 0 && scope.row.status <100,'status2':scope.row.status===100,}"
|
|
|
- class="btns"
|
|
|
+ :class="{
|
|
|
+ 'status0':scope.row.status===0,
|
|
|
+ 'status1':scope.row.status > 0 && scope.row.status <100,
|
|
|
+ 'status2':scope.row.status===100,
|
|
|
+ 'public_btn':scope.row.status!==10 || scope.row.status!==40 || scope.row.status!==20 || scope.row.status!==30,
|
|
|
+ 'public_btn1':scope.row.status===40,
|
|
|
+ 'public_btn2':scope.row.status===10,
|
|
|
+ 'public_btn3':scope.row.status===20 || scope.row.status===30
|
|
|
+ }"
|
|
|
size="mini"
|
|
|
@change="changeStatus(scope.row)"
|
|
|
>
|
|
@@ -67,10 +74,10 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="健康状态" width="200" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column label="健康状态" width="150" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.stageString }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="所属需求" width="200" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column label="所属需求" min-width="200" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.requireName }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="跟版客户端" width="120" align="center" show-overflow-tooltip>
|
|
@@ -82,7 +89,7 @@
|
|
|
<el-table-column label="测试负责人" width="100" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.qaObject ? scope.row.qaObject.name : '' }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="任务进度" min-width="100" align="center">
|
|
|
+ <el-table-column label="任务进度" width="200" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-progress :percentage="Number(scope.row.rate && scope.row.rate.substring(0,4))" color="#409eff" />
|
|
|
</template>
|
|
@@ -487,11 +494,6 @@ export default {
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
-.btns .el-input--suffix .el-input__inner {
|
|
|
- padding-right: 10px;
|
|
|
- padding-left: 10px;
|
|
|
- width: 73px;
|
|
|
-}
|
|
|
.item{
|
|
|
/deep/ input {
|
|
|
color: rgb(126, 211, 33);
|