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