From 3f398ea2ba94f05843f12d4431c29c5ea0472522 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 28 Jul 2022 17:26:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quanju/containers/footer/leadership/centerleft/daolu.js | 3 +++ .../footer/leadership/left/echarts/lefttopecharts.js | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js index 75fe7a59..1e731985 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react' import Lun from "../right/lunbo" import { getRoadmaintain, getdaolutongji } from "../../../../actions/example" import moment from 'moment' +import { Spin } from 'antd' const Right = (props) => { const { dispatch } = props @@ -86,6 +87,7 @@ const Right = (props) => {

道路{nums ? nums[0]?.count : []}

{/* */} + {/* */} { divHeight={"100%"} divId={"screen"} /> + {/* */} diff --git a/web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js b/web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js index bccc2914..db11a988 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js @@ -66,7 +66,7 @@ const Lefttopecharts = (props) => { var option = { // backgroundColor: "#0E1327", tooltip: { - formatter: "{a}
{b} : {c}%", + formatter: "{a}
{b} : {c}", }, series: [ @@ -104,8 +104,8 @@ const Lefttopecharts = (props) => { if (value !== 0) { // var num = Math.round(value); return ( - value.toFixed(2) + - "%" + + value + + "\n" + "\n" + "\n" + From 79723f615c54630492d34986b94c6a0b1d9cf107 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 28 Jul 2022 17:35:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=BA=BF=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quanju/containers/footer/leadership/centerleft/daolu.js | 2 +- .../quanju/containers/footer/leadership/centerleft/handong.js | 2 +- .../quanju/containers/footer/leadership/centerleft/qiqoliang.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js index 1e731985..c08e3389 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js @@ -45,7 +45,7 @@ const Right = (props) => { }}> {beijing == index ? : ""} {beijing == index ? : ""} -

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "———" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

+

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "——" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

日常养护

{item.user?.name ?

{item.user.name}

:

--

}

{item.road ? item.road : "--"}

diff --git a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/handong.js b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/handong.js index e09e4731..05670dbc 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/handong.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/handong.js @@ -49,7 +49,7 @@ const Right = (props) => { }}> {beijing == index ? : ""} {beijing == index ? : ""} -

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "———" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

+

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "——" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

日常养护

{item.user?.name ?

{item.user.name}

:

--

}

{item.road ? item.road : "--"}

diff --git a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/qiqoliang.js b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/qiqoliang.js index 75a35e83..7d16c944 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/centerleft/qiqoliang.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/centerleft/qiqoliang.js @@ -44,7 +44,7 @@ const Right = (props) => { }}> {beijing == index ? : ""} {beijing == index ? : ""} -

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "———" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

+

{item.roadSectionStart ? item.roadSectionStart : ""}{item.roadSectionStart && item.roadSectionEnd ? "——" : ""}{item.roadSectionEnd ? item.roadSectionEnd : ""}{item.roadSectionStart || item.roadSectionEnd ? "" : "--"}

日常养护

{item.user?.name ?

{item.user.name}

:

--

}

{item.road ? item.road : "--"}