正在显示
2 个修改的文件
包含
17 行增加
和
6 行删除
| @@ -39,15 +39,18 @@ | @@ -39,15 +39,18 @@ | ||
| 39 | </el-table-column> | 39 | </el-table-column> |
| 40 | <el-table-column | 40 | <el-table-column |
| 41 | prop="originatingstation" | 41 | prop="originatingstation" |
| 42 | - label="起始站"> | 42 | + label="起始站" |
| 43 | + width="60"> | ||
| 43 | </el-table-column> | 44 | </el-table-column> |
| 44 | <el-table-column | 45 | <el-table-column |
| 45 | prop="destinationstation" | 46 | prop="destinationstation" |
| 46 | - label="目的站"> | 47 | + label="目的站" |
| 48 | + width="60"> | ||
| 47 | </el-table-column> | 49 | </el-table-column> |
| 48 | <el-table-column | 50 | <el-table-column |
| 49 | prop="crossdays" | 51 | prop="crossdays" |
| 50 | - label="跨天天数"> | 52 | + label="跨天天数" |
| 53 | + width="70"> | ||
| 51 | </el-table-column> | 54 | </el-table-column> |
| 52 | <el-table-column | 55 | <el-table-column |
| 53 | prop="effectivedate" | 56 | prop="effectivedate" |
| @@ -65,8 +68,16 @@ | @@ -65,8 +68,16 @@ | ||
| 65 | width="120"> | 68 | width="120"> |
| 66 | </el-table-column> | 69 | </el-table-column> |
| 67 | <el-table-column | 70 | <el-table-column |
| 68 | - prop="remark" | ||
| 69 | - label="备注"> | 71 | + prop="state" |
| 72 | + label="启/禁用"> | ||
| 73 | + <template slot-scope="scope"> | ||
| 74 | + <span v-if="scope.row.state == 1" style="color:rgb(103,194,58)"> | ||
| 75 | + 启用 | ||
| 76 | + </span> | ||
| 77 | + <span v-else="scope.row.state == 0" style="color: #F56C6C"> | ||
| 78 | + 禁用 | ||
| 79 | + </span> | ||
| 80 | + </template> | ||
| 70 | </el-table-column> | 81 | </el-table-column> |
| 71 | <el-table-column | 82 | <el-table-column |
| 72 | fixed="right" | 83 | fixed="right" |
-
请 注册 或 登录 后发表评论