|
|
@ -66,15 +66,14 @@ export default function (locations, links, sourceWorkFlowCode, isShowLabel) { |
|
|
|
formatter: (params) => { |
|
|
|
formatter: (params) => { |
|
|
|
if (!params.data.name) return '' |
|
|
|
if (!params.data.name) return '' |
|
|
|
const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data |
|
|
|
const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data |
|
|
|
const str = ` |
|
|
|
return ` |
|
|
|
工作流名字:${name}<br/> |
|
|
|
${i18n.$t('workflowName')}:${name}<br/> |
|
|
|
调度开始时间:${scheduleStartTime}<br/> |
|
|
|
${i18n.$t('scheduleStartTime')}:${scheduleStartTime}<br/> |
|
|
|
调度结束时间:${scheduleEndTime}<br/> |
|
|
|
${i18n.$t('scheduleEndTime')}:${scheduleEndTime}<br/> |
|
|
|
crontab表达式:${crontab}<br/> |
|
|
|
${i18n.$t('crontabExpression')}:${crontab}<br/> |
|
|
|
工作流发布状态:${workFlowPublishStatus}<br/> |
|
|
|
${i18n.$t('workflowPublishStatus')}:${workFlowPublishStatus}<br/> |
|
|
|
调度发布状态:${schedulePublishStatus}<br/> |
|
|
|
${i18n.$t('schedulePublishStatus')}:${schedulePublishStatus}<br/> |
|
|
|
` |
|
|
|
` |
|
|
|
return str |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
color: '#2D303A', |
|
|
|
color: '#2D303A', |
|
|
|
textStyle: { |
|
|
|
textStyle: { |
|
|
|