From 49a44d1b83ac907ca86b36222a2e967f79a90ffb Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 02 一月 2025 13:38:05 +0800 Subject: [PATCH] 调度方案运行状态显示 --- src/views/model/sche/scheme/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/model/sche/scheme/index.vue b/src/views/model/sche/scheme/index.vue index 54f4b3f..5fcca35 100644 --- a/src/views/model/sche/scheme/index.vue +++ b/src/views/model/sche/scheme/index.vue @@ -63,8 +63,14 @@ <el-table-column label="调整类型" align="center" prop="scheduleType" min-width="100"/> <el-table-column label=" 调整策略" align="center" prop="scheduleStrategy" min-width="100"/> <el-table-column label="调度时间" align="center" prop="scheduleTime" min-width="160" /> + <el-table-column label="运行状态" align="center" prop="runStatus"> + <template #default="scope"> + <el-tag v-if="scope.row.runStatus + '' === '100'" size="small" type="success">{{scope.row.runStatus}}</el-tag> + <el-tag v-else size="small" type="danger">{{scope.row.runStatus}}</el-tag> + </template> + </el-table-column> <el-table-column label="备注" header-align="center" align="left" prop="remark" min-width="160" /> - <el-table-column label="状态" align="center" prop="status" min-width="100"> + <el-table-column label="是否启用" align="center" prop="status" min-width="100"> <template #default="scope"> <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> </template> -- Gitblit v1.9.3