|
@@ -57,32 +57,32 @@
|
|
|
border
|
|
border
|
|
|
stripe
|
|
stripe
|
|
|
size="mini">
|
|
size="mini">
|
|
|
- <el-table-column label="任务编号" prop="id" width="100"/>
|
|
|
|
|
|
|
+ <el-table-column label="任务编号" prop="id" width="80"/>
|
|
|
<el-table-column label="任务名称" prop="taskName"/>
|
|
<el-table-column label="任务名称" prop="taskName"/>
|
|
|
<el-table-column label="所属项目" prop="projectName"/>
|
|
<el-table-column label="所属项目" prop="projectName"/>
|
|
|
- <el-table-column label="执行人" prop="executorName" width="100"/>
|
|
|
|
|
- <el-table-column label="进度" prop="progressValue" width="80">
|
|
|
|
|
|
|
+ <el-table-column label="执行人" prop="executorName" width="80"/>
|
|
|
|
|
+ <el-table-column label="进度" prop="progressValue" width="70">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ (scope.row.progressValue ? scope.row.progressValue : 0) + '%' }}</span>
|
|
<span>{{ (scope.row.progressValue ? scope.row.progressValue : 0) + '%' }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="状态" width="100">
|
|
|
|
|
|
|
+ <el-table-column label="状态" width="80">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-tag size="mini" :type="statusMap[scope.row.status].type">{{ statusMap[scope.row.status].name }}</el-tag>
|
|
<el-tag size="mini" :type="statusMap[scope.row.status].type">{{ statusMap[scope.row.status].name }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="任务起止时间" width="200">
|
|
|
|
|
|
|
+ <el-table-column label="任务起止时间" width="180">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.beginDate + ' 至 ' + scope.row.endDate }}</span>
|
|
<span>{{ scope.row.beginDate + ' 至 ' + scope.row.endDate }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
|
- <el-table-column label="创建时间" prop="createTime" width="160">
|
|
|
|
|
|
|
+ <el-table-column label="创建时间" prop="createTime" width="140">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="240">
|
|
|
|
|
|
|
+ <el-table-column label="操作" width="230">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
<el-button
|
|
|
size="mini"
|
|
size="mini"
|