Date: Thu, 28 Jul 2022 11:07:05 +0800
Subject: [PATCH 08/11] =?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();
From 7cb54cc3ddea53ccf42f8ccb032ddadfd0a66b46 Mon Sep 17 00:00:00 2001
From: "gao.zhiyuan"
Date: Thu, 28 Jul 2022 11:08:08 +0800
Subject: [PATCH 09/11] =?UTF-8?q?=E8=8E=B7=E5=8F=96apiroot?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/log/development.log | 4 ++++
web/client/index.ejs | 4 ++--
web/client/index.html | 2 +-
web/client/src/layout/actions/global.js | 6 +++---
web/config.js | 8 ++++----
web/routes/attachment/index.js | 2 --
6 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/api/log/development.log b/api/log/development.log
index 2999be3e..910290f6 100644
--- a/api/log/development.log
+++ b/api/log/development.log
@@ -10008,3 +10008,7 @@
2022-07-27 15:49:28.071 - error: path: /vehicle/3/specific, error: TypeError: Cannot read property 'destroy' of undefined
2022-07-27 15:50:36.847 - error: path: /vehicle/3/specific, error: TypeError: Cannot read property 'destroy' of undefined
2022-07-27 15:51:05.608 - error: path: /vehicle/3/specific, error: TypeError: Cannot read property 'destroy' of undefined
+2022-07-28 10:56:48.597 - debug: [FS-LOGGER] Init.
+2022-07-28 10:56:48.738 - info: [FS-ATTACHMENT] Inject attachment mw into router.
+2022-07-28 10:56:48.738 - info: [FS-AUTH] Inject auth and api mv into router.
+2022-07-28 11:01:45.098 - error: path: /department, error: 部门名称重复
diff --git a/web/client/index.ejs b/web/client/index.ejs
index cc063a05..a91dbdd7 100644
--- a/web/client/index.ejs
+++ b/web/client/index.ejs
@@ -18,12 +18,12 @@
-
+ /> -->