Commit 1a7606806d73625e2bab921afd6d4beb549b750d
1 parent
addfd640
专项行动添加已发布状态,已发布数据不能处理
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/baseSpecialhandle/index.vue
| @@ -38,7 +38,8 @@ | @@ -38,7 +38,8 @@ | ||
| 38 | <el-table-column prop="content" label="内容" align="left" show-overflow-tooltip /> | 38 | <el-table-column prop="content" label="内容" align="left" show-overflow-tooltip /> |
| 39 | <el-table-column prop="state" label="状态" align="left" show-overflow-tooltip > | 39 | <el-table-column prop="state" label="状态" align="left" show-overflow-tooltip > |
| 40 | <template slot-scope="scope"> | 40 | <template slot-scope="scope"> |
| 41 | - <el-tag :type="scope.row.state == '已填写' ? 'success' : 'warning'">{{ scope.row.state }}</el-tag> | 41 | + <el-tag v-if="scope.row.Fabustate == '已发布并部署'" :type="scope.row.state == '已填写' ? 'success' : 'warning'">{{ scope.row.state }}</el-tag> |
| 42 | + <el-tag v-else type="success">{{ scope.row.Fabustate }}</el-tag> | ||
| 42 | </template> | 43 | </template> |
| 43 | </el-table-column> | 44 | </el-table-column> |
| 44 | <el-table-column prop="deadline" label="截止日期" align="left" :formatter="ncc.tableDateFormat" show-overflow-tooltip> | 45 | <el-table-column prop="deadline" label="截止日期" align="left" :formatter="ncc.tableDateFormat" show-overflow-tooltip> |
| @@ -49,7 +50,7 @@ | @@ -49,7 +50,7 @@ | ||
| 49 | <el-table-column label="操作" fixed="right" width="200"> | 50 | <el-table-column label="操作" fixed="right" width="200"> |
| 50 | <template slot-scope="scope"> | 51 | <template slot-scope="scope"> |
| 51 | <el-button type="text" @click="toDetail(scope.row)">行动详情</el-button> | 52 | <el-button type="text" @click="toDetail(scope.row)">行动详情</el-button> |
| 52 | - <el-button type="text" @click="toFillForm(scope.row)" :disabled="ncc.timeDeadLine(scope.row.deadline) == 'danger' && scope.row.state == '已填写'">{{scope.row.state == '已填写' ? '修改' : '处理'}}</el-button> | 53 | + <el-button type="text" v-if="scope.row.Fabustate != '已发布'" @click="toFillForm(scope.row)" :disabled="ncc.timeDeadLine(scope.row.deadline) == 'danger' && scope.row.state == '已填写'">{{scope.row.state == '已填写' ? '修改' : '处理'}}</el-button> |
| 53 | <el-button type="text" @click="toFillForm(scope.row, true)" :disabled="scope.row.state != '已填写'">详情</el-button> | 54 | <el-button type="text" @click="toFillForm(scope.row, true)" :disabled="scope.row.state != '已填写'">详情</el-button> |
| 54 | </template> | 55 | </template> |
| 55 | </el-table-column> | 56 | </el-table-column> |