| | |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="同步状态" align="center" prop="syncStatus" width="120" v-if="hasEmergencyTask"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.taskType !== 'EMERGENCY_TRANSFER'" style="color: #C0C4CC;">--</span> |
| | | <el-tag v-else-if="!scope.row.emergencyInfo" type="info" size="mini">--</el-tag> |
| | | <el-tag v-else-if="scope.row.emergencyInfo.syncStatus === 0" type="info" size="mini"> |
| | | <i class="el-icon-warning"></i> 未同步 |
| | | </el-tag> |
| | | <el-tag v-else-if="scope.row.emergencyInfo.syncStatus === 1" type="warning" size="mini"> |
| | | <i class="el-icon-loading"></i> 同步中 |
| | | </el-tag> |
| | | <el-tag v-else-if="scope.row.emergencyInfo.syncStatus === 2" type="success" size="mini"> |
| | | <i class="el-icon-success"></i> 已同步 |
| | | </el-tag> |
| | | <el-tag v-else-if="scope.row.emergencyInfo.syncStatus === 3" type="danger" size="mini"> |
| | | <i class="el-icon-error"></i> 同步失败 |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="任务状态" align="center" prop="taskStatus"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_task_status" :value="scope.row.taskStatus"/> |