| | |
| | | <el-table-column label="执行时间" prop="time" width="200"></el-table-column> |
| | | <el-table-column label="执行结果" prop="state" width="100"> |
| | | <template #default="scope"> |
| | | <span v-if="scope.row.state==200" style="color: #67C23A;"><el-icon><el-icon-success-filled /></el-icon></span> |
| | | <span v-if="scope.row.state == 200" |
| | | style="color: #67C23A;"><el-icon><el-icon-success-filled /></el-icon></span> |
| | | <span v-else style="color: #F56C6C;"><el-icon><el-icon-circle-close-filled /></el-icon></span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | |
| | | <el-drawer title="日志" v-model="logsVisible" :size="500" direction="rtl" destroy-on-close> |
| | | <el-main style="padding:0 20px 20px 20px;"> |
| | | <pre style="font-size: 12px;color: #999;padding:20px;background: #333;font-family: consolas;line-height: 1.5;overflow: auto;">{{demoLog}}</pre> |
| | | <pre |
| | | style="font-size: 12px;color: #999;padding:20px;background: #333;font-family: consolas;line-height: 1.5;overflow: auto;"> |
| | | {{ demoLog }}</pre> |
| | | </el-main> |
| | | </el-drawer> |
| | | </template> |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | | <style></style> |