Browse Source

FIX 养护大屏各乡镇养护得分趋势以及考核得分情况展示优化

dev
巴林闲侠 1 year ago
parent
commit
88d1d80721
  1. 8
      web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js
  2. 12
      web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js

8
web/client/src/sections/quanju/containers/footer/conserve/left/left-center.js

@ -56,7 +56,7 @@ const LeftCenter = (props) => {
if (!s.data[i] && s.data[i] != 0) { if (!s.data[i] && s.data[i] != 0) {
s.data[i] = undefined s.data[i] = undefined
} }
} }
} }
setChartData({ setChartData({
@ -99,12 +99,18 @@ const LeftCenter = (props) => {
boundaryGap: false, boundaryGap: false,
axisTick: { axisTick: {
show: false show: false
},
axisLabel: {
color: "#fff"
} }
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
splitLine: { splitLine: {
show: false show: false
},
axisLabel: {
color: "#fff"
} }
}, },
tooltip: { tooltip: {

12
web/client/src/sections/quanju/containers/footer/conserve/right/right-center.js

@ -84,13 +84,23 @@ const RightCenter = (props) => {
data: fuckoff ? data.map(d => d.unit) : unitList, data: fuckoff ? data.map(d => d.unit) : unitList,
axisTick: { axisTick: {
show: false show: false
},
axisLabel: {
color: "#fff"
} }
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
splitLine: { splitLine: {
show: false show: false
} },
axisLabel: {
color: "#fff"
},
min: function (value) {
return value.min - 20;
},
scale: true
}, },
tooltip: { tooltip: {
trigger: "axis" trigger: "axis"

Loading…
Cancel
Save