flx:修改

This commit is contained in:
Rain_ 2025-07-05 16:44:22 +08:00
parent 336af6abd3
commit cc446a55e8
2 changed files with 7 additions and 5 deletions

View File

@ -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'
# 打包

View File

@ -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: {
//