| | |
| | | <el-table-column prop="status" label="优化状态" min-width="100px" align="center"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.status === 0" class="blue">未优化</span> |
| | | <span v-if="row.status === 1" class="red">优化中 【 {{row.planLineNum||0}} 】条线路</span> |
| | | <span v-if="row.status === 1" class="red">优化中<!-- 【 {{row.planLineNum||0}} 】条线路--></span> |
| | | <span v-if="row.status === 2" class="green">已优化</span> |
| | | <span v-if="row.status === 3" class="grey">优化失败</span> |
| | | </template> |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaJkSketchWindow.open('线路优化', row)" icon="el-icon-edit" v-permissions="['business:jksketch:update']">线路优化</el-button> |
| | | <el-button type="text" class="red" @click="$refs.OperaJkSketchResultWindow.open('优化结果微调-', row)" icon="el-icon-edit" v-if="row.status ==2 || row.status ==3" >优化结果微调</el-button> |
| | | <el-button type="text" class="red" @click="$refs.OperaJkSketchResultWindow.open('优化结果微调-', row)" icon="el-icon-edit" v-if="row.optStatus === 1" >优化结果微调</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |