|
|
|
@@ -1,3 +1,4 @@ |
|
|
|
import RunDuration from '@/components/RunDuration'; |
|
|
|
import { ExperimentStatus } from '@/enums'; |
|
|
|
import { useStateRef } from '@/hooks/useStateRef'; |
|
|
|
import { useVisible } from '@/hooks/useVisible'; |
|
|
|
@@ -5,7 +6,7 @@ import { getExperimentIns } from '@/services/experiment/index.js'; |
|
|
|
import { getWorkflowById } from '@/services/pipeline/index.js'; |
|
|
|
import themes from '@/styles/theme.less'; |
|
|
|
import { fittingString, parseJsonText } from '@/utils'; |
|
|
|
import { elapsedTime, formatDate } from '@/utils/date'; |
|
|
|
import { formatDate } from '@/utils/date'; |
|
|
|
import { to } from '@/utils/promise'; |
|
|
|
import G6, { Util } from '@antv/g6'; |
|
|
|
import { Button } from 'antd'; |
|
|
|
@@ -15,8 +16,6 @@ import ExperimentDrawer from '../components/ExperimentDrawer'; |
|
|
|
import ParamsModal from '../components/ViewParamsModal'; |
|
|
|
import { experimentStatusInfo } from '../status'; |
|
|
|
import styles from './index.less'; |
|
|
|
import { useServerTime } from '@/hooks/useServerTime'; |
|
|
|
import RunDuration from '@/components/RunDuration'; |
|
|
|
|
|
|
|
let graph = null; |
|
|
|
|
|
|
|
@@ -476,7 +475,10 @@ function ExperimentText() { |
|
|
|
</div> |
|
|
|
<div className={styles['pipeline-container__top__info']}> |
|
|
|
执行时长: |
|
|
|
<RunDuration createTime={experimentIns?.create_time} finishTime={experimentIns?.finish_time} /> |
|
|
|
<RunDuration |
|
|
|
createTime={experimentIns?.create_time} |
|
|
|
finishTime={experimentIns?.finish_time} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div className={styles['pipeline-container__top__info']}> |
|
|
|
状态: |
|
|
|
|