feat(sj_1.0.0_beta2): 修复定时任务展示错误问题

This commit is contained in:
opensnail 2024-05-22 22:55:02 +08:00
parent 15ff9338bd
commit 7f22f9b355
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ declare namespace Api {
type DashboardLineJob = { type DashboardLineJob = {
createDt: string; createDt: string;
total: number; total: number;
fail: number; failNum: number;
stop: number; stop: number;
cancel: number; cancel: number;
success: number; success: number;

View File

@ -193,7 +193,7 @@ const getData = () => {
opts.tabIndex === 0 ? x.successNum : x.success opts.tabIndex === 0 ? x.successNum : x.success
); );
opts.series[1].data = props.modelValue?.dashboardLineResponseDOList.map(x => opts.series[1].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
opts.tabIndex === 0 ? x.runningNum : x.fail opts.tabIndex === 0 ? x.runningNum : x.failNum
); );
opts.series[2].data = props.modelValue?.dashboardLineResponseDOList.map(x => opts.series[2].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
opts.tabIndex === 0 ? x.maxCountNum : x.stop opts.tabIndex === 0 ? x.maxCountNum : x.stop