|
|
|
@ -46,8 +46,8 @@
|
|
|
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
|
|
<el-table v-loading="loading" stripe :data="list"> |
|
|
|
|
<el-table-column label="任务ID" align="center" prop="id" /> |
|
|
|
|
<el-table-column label="任务状态" align="center" prop="status" > |
|
|
|
|
<el-table-column label="任务ID" fixed align="center" prop="id" /> |
|
|
|
|
<el-table-column label="任务状态" fixed align="center" prop="status" > |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="success" v-if="scope.row.status == 0">计划中</el-button> |
|
|
|
|
<el-button type="success" v-if="scope.row.status == 1">准备中</el-button> |
|
|
|
@ -58,7 +58,7 @@
|
|
|
|
|
<el-button type="danger" v-if="scope.row.status == 6">任务关闭</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="项目名" align="center" prop="projectName"> |
|
|
|
|
<el-table-column label="项目名" fixed align="center" prop="projectName"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span>{{scope.row.projectName}}</span> |
|
|
|
|
</template> |
|
|
|
@ -148,14 +148,14 @@
|
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="负责人" prop="mainPerson"> |
|
|
|
|
<el-select v-model="form.mainPerson" placeholder="请选择"> |
|
|
|
|
<el-select v-model="form.mainPerson" filterable placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in cpUserList" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
|
{{ item.name }} |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="执行人" prop="executorPerson"> |
|
|
|
|
<el-select v-model="form.executorPerson" multiple placeholder="请选择"> |
|
|
|
|
<el-select v-model="form.executorPerson" filterable multiple placeholder="请选择"> |
|
|
|
|
<el-option v-for="item in cpUserList" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
|
{{ item.name }} |
|
|
|
|
</el-option> |
|
|
|
|