diff --git a/.env.production b/.env.production index 49e4d9f..c71e100 100644 --- a/.env.production +++ b/.env.production @@ -43,7 +43,9 @@ NODE_ENV = "production" # 包头化工 # VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # 包头化工(正式) -VITE_API_URL = 'http://219.147.96.219:9809' +# VITE_API_URL = 'http://219.147.96.219:9809' +VITE_API_URL = 'http://192.168.3.9:39998' + # 大连金笔 # VITE_API_URL = 'http://101.43.164.214:11126' # 打包 diff --git a/src/views/sevenLargeScreen/comprehensiveManage/homeOverview/centerBottom.vue b/src/views/sevenLargeScreen/comprehensiveManage/homeOverview/centerBottom.vue index efea561..0b6cd95 100644 --- a/src/views/sevenLargeScreen/comprehensiveManage/homeOverview/centerBottom.vue +++ b/src/views/sevenLargeScreen/comprehensiveManage/homeOverview/centerBottom.vue @@ -277,7 +277,7 @@ const lineChartsFn = (el: any) => { { name: "本期计划", type: "bar", - data: dataInfo.deviceScheduleList.map(item => item.plan.toFixed(2)), + data: dataInfo.deviceScheduleList.map(item => (item.plan == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.plan.toFixed(2))), itemStyle: { //颜色 默认灰色 color: "rgba(255,127,80,1)" @@ -288,7 +288,7 @@ const lineChartsFn = (el: any) => { name: "本期实际", type: "bar", // stack: 'Total', - data: dataInfo.deviceScheduleList.map(item => item.actual.toFixed(2)), + data: dataInfo.deviceScheduleList.map(item => (item.actual == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actual.toFixed(2))), itemStyle: { //颜色 默认灰色 color: "rgba(136,206,251,1)" @@ -299,7 +299,7 @@ const lineChartsFn = (el: any) => { name: "累计计划", type: "line", // stack: 'Total', - data: dataInfo.deviceScheduleList.map(item => item.planTotal.toFixed(2)), + data: dataInfo.deviceScheduleList.map(item => (item.planTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.planTotal.toFixed(2))), yAxisIndex: 1, itemStyle: { //颜色 默认灰色 @@ -312,7 +312,7 @@ const lineChartsFn = (el: any) => { name: "累计实际", type: "line", // stack: 'Total', - data: dataInfo.deviceScheduleList.map(item => item.actualTotal.toFixed(2)), + data: dataInfo.deviceScheduleList.map(item => (item.actualTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actualTotal.toFixed(2))), yAxisIndex: 1, itemStyle: { //颜色 默认灰色