fix(sj_1.0.0): 首页job/workflow的echart图数据字段有误 failNum => fail
This commit is contained in:
parent
6748d5bc24
commit
f8ce3b70d6
2
src/typings/api.d.ts
vendored
2
src/typings/api.d.ts
vendored
@ -212,7 +212,7 @@ declare namespace Api {
|
|||||||
type DashboardLineJob = {
|
type DashboardLineJob = {
|
||||||
createDt: string;
|
createDt: string;
|
||||||
total: number;
|
total: number;
|
||||||
failNum: number;
|
fail: number;
|
||||||
stop: number;
|
stop: number;
|
||||||
cancel: number;
|
cancel: number;
|
||||||
success: number;
|
success: number;
|
||||||
|
@ -193,7 +193,7 @@ const getData = () => {
|
|||||||
opts.tabIndex === 'RETRY' ? x.successNum : x.success
|
opts.tabIndex === 'RETRY' ? x.successNum : x.success
|
||||||
);
|
);
|
||||||
opts.series[1].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
|
opts.series[1].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
|
||||||
opts.tabIndex === 'RETRY' ? x.runningNum : x.failNum
|
opts.tabIndex === 'RETRY' ? x.runningNum : x.fail
|
||||||
);
|
);
|
||||||
opts.series[2].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
|
opts.series[2].data = props.modelValue?.dashboardLineResponseDOList.map(x =>
|
||||||
opts.tabIndex === 'RETRY' ? x.maxCountNum : x.stop
|
opts.tabIndex === 'RETRY' ? x.maxCountNum : x.stop
|
||||||
|
Loading…
Reference in New Issue
Block a user