diff --git a/src/api/perfManage/goldTarget.ts b/src/api/perfManage/goldTarget.ts index 550f1aeb..d099092d 100644 --- a/src/api/perfManage/goldTarget.ts +++ b/src/api/perfManage/goldTarget.ts @@ -125,7 +125,7 @@ export async function getGoldTitleByNE(neType: string) { export async function listUPFData(timeArr: any) { const initTime: Date = new Date(); const twentyFourHoursAgo: Date = new Date( - initTime.getTime() - 60 * 60 * 1000 + initTime.getTime() - 10* 60 * 1000 ); return await Promise.allSettled([ diff --git a/src/views/dashboard/overview/components/AlarnDayLine/index.vue b/src/views/dashboard/overview/components/AlarnDayLine/index.vue deleted file mode 100644 index 89c4f2f0..00000000 --- a/src/views/dashboard/overview/components/AlarnDayLine/index.vue +++ /dev/null @@ -1,216 +0,0 @@ - - - - diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue index 22739868..185ae272 100644 --- a/src/views/dashboard/overview/components/UPFFlow/index.vue +++ b/src/views/dashboard/overview/components/UPFFlow/index.vue @@ -126,23 +126,16 @@ function initPicture() { color: color[x] + ')', smooth: true, areaStyle: { - color: new echarts.graphic.LinearGradient( - 0, - 0, - 0, - 1, - [ - { - offset: 0, - color: color[x] + ', 0.5)', - }, - { - offset: 0.8, - color: color[x] + ', 0.5)', - }, - ], - false - ), + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: color[x] + ', .5)', + }, + { + offset: 1, + color: color[x] + ', 0)', + }, + ]), shadowColor: 'rgba(0, 0, 0, 0.1)', shadowBlur: 10, }, @@ -197,7 +190,7 @@ function initPicture() { data: charts.lineX, axisLabel: { formatter: function (params: any) { - return params.split(' ')[0] + '\n' + params.split(' ')[1]; + return params.split(' ')[1]; }, fontSize: 14, }, @@ -213,7 +206,7 @@ function initPicture() { type: 'value', // splitNumber: 4, min: 0, - max: 300, + //max: 300, axisLabel: { formatter: '{value}', },