| | |
| | | dataForm.value.id = row.id; |
| | | dataForm.value.itemName = row.itemname; |
| | | if (row.id) { |
| | | myChart = echarts.init(chartDomPre.value); |
| | | myChart.clear() |
| | | getDataList(); |
| | | } |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | myChart = echarts.init(chartDomPre.value); |
| | | const option = { |
| | | title: { |
| | | text: dataForm.value.itemName, |
| | |
| | | ], |
| | | series: seriesData, |
| | | }; |
| | | myChart.clear() |
| | | myChart.setOption(option); |
| | | } catch (error) { |
| | | console.error(error) |
| | |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list"> |
| | | <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="方案名称" header-align="center" align="left" 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" /> |
| | |
| | | <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="备注" header-align="center" align="left" prop="remark" min-width="160" /> |
| | | <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"> |
| | | <el-table-column label="操作" align="center" min-width="100" fixed="right"> |
| | | <template #default="scope"> |
| | | <el-button |
| | | link |