feat(sj_1.0.0_beta2): 修复定时任务展示错误问题
This commit is contained in:
parent
15ff9338bd
commit
7f22f9b355
2
src/typings/api.d.ts
vendored
2
src/typings/api.d.ts
vendored
@ -212,7 +212,7 @@ declare namespace Api {
|
||||
type DashboardLineJob = {
|
||||
createDt: string;
|
||||
total: number;
|
||||
fail: number;
|
||||
failNum: number;
|
||||
stop: number;
|
||||
cancel: number;
|
||||
success: number;
|
||||
|
@ -193,7 +193,7 @@ const getData = () => {
|
||||
opts.tabIndex === 0 ? x.successNum : x.success
|
||||
);
|
||||
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.tabIndex === 0 ? x.maxCountNum : x.stop
|
||||
|
Loading…
Reference in New Issue
Block a user