From f8ce3b70d621d0023071a0848a594053d879a431 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Thu, 30 May 2024 22:33:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(sj=5F1.0.0):=20=E9=A6=96=E9=A1=B5job/workfl?= =?UTF-8?q?ow=E7=9A=84echart=E5=9B=BE=E6=95=B0=E6=8D=AE=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=9C=89=E8=AF=AF=20failNum=20=3D>=20fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/typings/api.d.ts | 2 +- src/views/home/modules/task-line-chart.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/typings/api.d.ts b/src/typings/api.d.ts index 056cb72..80b4e6e 100644 --- a/src/typings/api.d.ts +++ b/src/typings/api.d.ts @@ -212,7 +212,7 @@ declare namespace Api { type DashboardLineJob = { createDt: string; total: number; - failNum: number; + fail: number; stop: number; cancel: number; success: number; diff --git a/src/views/home/modules/task-line-chart.vue b/src/views/home/modules/task-line-chart.vue index 1a711e8..a4de18c 100644 --- a/src/views/home/modules/task-line-chart.vue +++ b/src/views/home/modules/task-line-chart.vue @@ -193,7 +193,7 @@ const getData = () => { opts.tabIndex === 'RETRY' ? x.successNum : x.success ); 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.tabIndex === 'RETRY' ? x.maxCountNum : x.stop