From 6d9c089cebac440c78573e9fa95190ee9ead674c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 18 九月 2024 16:34:28 +0800 Subject: [PATCH] http api --- src/views/model/mcs/sche/scheme/index.vue | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/views/model/mcs/sche/scheme/index.vue b/src/views/model/mcs/sche/scheme/index.vue index d786849..6212a90 100644 --- a/src/views/model/mcs/sche/scheme/index.vue +++ b/src/views/model/mcs/sche/scheme/index.vue @@ -51,17 +51,24 @@ <!-- 列表 --> <ContentWrap> <el-table v-loading="loading" :data="list"> - <el-table-column label="方案编号" align="center" prop="code" /> - <el-table-column label="方案名称" align="center" prop="name" /> - <el-table-column label="触发方式" align="center" prop="triggerMethod" /> - <el-table-column label="触发条件" align="center" prop="triggerCondition" /> - <el-table-column label="方法名" align="center" prop="methodName" /> - <el-table-column label="调整对象" align="center" prop="scheduleObj" /> - <el-table-column label="调整类型" align="center" prop="scheduleType" /> - <el-table-column label=" 调整策略" align="center" prop="scheduleStrategy" /> - <el-table-column label="调度时间" align="center" prop="scheduleTime" /> - <el-table-column label="备注" align="center" prop="remark" /> - <el-table-column label="状态" align="center" prop="status" /> + <el-table-column label="方案编号" align="center" prop="code" min-width="100"/> + <el-table-column label="方案名称" align="center" prop="name" min-width="100"/> + <el-table-column label="触发方式" align="center" prop="triggerMethod" min-width="100"> + <template #default="scope"> + <dict-tag :type="DICT_TYPE.SCHE_TRIGGER_METHOD" :value="scope.row.triggerMethod" /> + </template> + </el-table-column> + <el-table-column label="触发条件" align="center" prop="triggerCondition" min-width="100"/> + <el-table-column label="调整对象" align="center" prop="scheduleObj" min-width="100"/> + <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="remark" 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> + </el-table-column> <el-table-column label="操作" align="center" min-width="110" fixed="right"> <template #default="scope"> <el-button -- Gitblit v1.9.3