Date: Thu, 28 Jul 2022 11:07:05 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=8E=BB=E9=99=A4log?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../sections/quanju/containers/footer/build/Leftbottom.js | 4 ++--
.../sections/quanju/containers/footer/build/Rightcenter.js | 4 ++--
.../src/sections/quanju/containers/footer/build/index.js | 2 +-
.../src/sections/quanju/containers/footer/guanli/index.js | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/web/client/src/sections/quanju/containers/footer/build/Leftbottom.js b/web/client/src/sections/quanju/containers/footer/build/Leftbottom.js
index 3e9123ff..396b74bb 100644
--- a/web/client/src/sections/quanju/containers/footer/build/Leftbottom.js
+++ b/web/client/src/sections/quanju/containers/footer/build/Leftbottom.js
@@ -24,8 +24,8 @@ function Leftbottom(props) {
const chartTitle = '道路总公里';
const title = '基础设施安全监测版块';
let name = [], emptyName = []
- console.log(data,'传入的值')
- console.log(emptyName,'第二个')
+ // console.log(data,'传入的值')
+ // console.log(emptyName,'第二个')
// const name = data?.map(d)
data?.forEach(d => {
name.push(d.name)
diff --git a/web/client/src/sections/quanju/containers/footer/build/Rightcenter.js b/web/client/src/sections/quanju/containers/footer/build/Rightcenter.js
index ad0ac359..8c62e979 100644
--- a/web/client/src/sections/quanju/containers/footer/build/Rightcenter.js
+++ b/web/client/src/sections/quanju/containers/footer/build/Rightcenter.js
@@ -27,7 +27,7 @@ const THIRD = "linear-gradient(360deg, rgba(148, 148, 255, 0.1) 0%, rgba(148, 14
const OTHER = "linear-gradient(360deg, rgba(28, 96, 253, 0) 0%, rgba(28, 96, 253, 0.2) 100%)"
let TOTALS = data?.map(({ name, total }, index) => {
let max = Math.max(...data.map(item=>item.total))
- console.log(data.map(item=>item.total),'好朋友吗')
+ // console.log(data.map(item=>item.total),'好朋友吗')
return {
name,
value: total,
@@ -38,7 +38,7 @@ let new_TOTALS = TOTALS && TOTALS.length > 10 ? TOTALS.slice(0, 10) : TOTALS
function Cell(props) {
const { name, rank, value, percent, style = {},cebg } = props
let bg = RNAKS[rank] || OTHER
- console.log(percent,'百分比')
+ // console.log(percent,'百分比')
return {
// setdata(alltype.filter(item=>item.name!=='null'))
setxuandata(res.payload.data)
- console.log(res.payload.data,'宣传栏数据')
+ // console.log(res.payload.data,'宣传栏数据')
}
let t1 = Object.values(buildingnumber?.townRoad || {})
diff --git a/web/client/src/sections/quanju/containers/footer/guanli/index.js b/web/client/src/sections/quanju/containers/footer/guanli/index.js
index 631b4f00..8942a4d1 100644
--- a/web/client/src/sections/quanju/containers/footer/guanli/index.js
+++ b/web/client/src/sections/quanju/containers/footer/guanli/index.js
@@ -39,14 +39,14 @@ const Guanli = (props) => {
return item.processingTime = `${(item.processingTime.match(/^([^.]*)(.[^.]*)/)[0])}.0${parseInt(item.processingTime.match(/([^.]*)$/)[0])}`
}
// console.log(d3,'好评')
- console.log(item.processingTime.match(/([^.]*)$/)[0],'kk')
+ // console.log(item.processingTime.match(/([^.]*)$/)[0],'kk')
})
d.sort((a, b) => b.processingTime.localeCompare(a.processingTime))
setrightDatas(res.payload.data)
setrightitemlist(d)
- console.log(d,'对比的数据')
+ // console.log(d,'对比的数据')
// console.log(d2,'完美')
- console.log(res.payload.data,'嘿嘿嘿')
+ // console.log(res.payload.data,'嘿嘿嘿')
}
useEffect(()=>{
requestleftDatas();