-
)
}
function mapStateToProps(state) {
-
// const { auth } = state;
return {
From 94f9aceac457d3fc173e897ebbbabcc5f9a55b53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98lijianhao=E2=80=99?=
Date: Thu, 28 Jul 2022 14:41:01 +0800
Subject: [PATCH 3/7] =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E5=BE=AE=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../quanju/containers/footer/conserve/left/left-bottom.js | 2 +-
.../quanju/containers/footer/conserve/right/right-bottom.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js b/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
index 73b69818..29d39de1 100644
--- a/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
+++ b/web/client/src/sections/quanju/containers/footer/conserve/left/left-bottom.js
@@ -37,7 +37,7 @@ const LeftBottom = (props) => {
total={totalData?.toFixed(3) || 0}
colorList={colorList}
textLeft={'20%'}
- numLeft={'16%'}
+ numLeft={'14.5%'}
underColorList={underColorList}
/>
diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-bottom.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-bottom.js
index f3f15c41..44f52f73 100644
--- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-bottom.js
+++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-bottom.js
@@ -62,7 +62,7 @@ const RightBottom = (props) => {
height='100%'
text='养护总数'
textLeft={'21%'}
- numLeft={'23%'}
+ numLeft={'22%'}
total={totalData || 0}
colorList={colorList}
underColorList={underColorList}
From 7669b0483d0285f07c75086a0168c6a422b6aee8 Mon Sep 17 00:00:00 2001
From: xingyongchun
Date: Thu, 28 Jul 2022 15:24:10 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../fillion/components/bridgeTable.js | 57 ++--
.../components/highways/highwaysdata.js | 2 +-
.../fillion/components/infor/details.js | 4 +-
.../sections/fillion/components/inforTable.js | 27 +-
.../fillion/components/operationalTable.js | 176 +++++++------
.../fillion/components/project/project.js | 2 +-
.../fillion/components/publicTable.js | 245 +++++++++---------
.../fillion/components/transportationTable.js | 88 ++++---
8 files changed, 310 insertions(+), 291 deletions(-)
diff --git a/web/client/src/sections/fillion/components/bridgeTable.js b/web/client/src/sections/fillion/components/bridgeTable.js
index d8101bda..2f46b175 100644
--- a/web/client/src/sections/fillion/components/bridgeTable.js
+++ b/web/client/src/sections/fillion/components/bridgeTable.js
@@ -4,7 +4,7 @@ import { Spin, Button, Popconfirm, Badge } from 'antd';
import ProTable from '@ant-design/pro-table';
import './protable.less'
import moment from 'moment';
-import { getBridge, getProject,delBridge,delProject } from "../actions/infor"
+import { getBridge, getProject, delBridge, delProject } from "../actions/infor"
import UserModal from './infor/details';
import ProjectModal from './project/project';
@@ -26,7 +26,23 @@ const BrideTable = (props) => {
const [delet, setDelet] = useState()
const ref = useRef()
- useEffect(() => { ref.current.reload() }, [whichofits,delet])
+ useEffect(() => { ref.current.reload() }, [whichofits, delet])
+ const deldata = (id) => { // 桥梁
+ const query = {
+ bridgeId: id
+ }
+ dispatch(delBridge(query)).then((res) => {
+ setDelet(res)
+ })
+ }
+ const deldatas = (id) => { // 工程
+ const query = {
+ projectId: id
+ }
+ dispatch(delProject(query)).then((res) => {
+ setDelet(res)
+ })
+ }
const columns = {
tab1: [
{
@@ -1493,16 +1509,10 @@ const BrideTable = (props) => {
setTypecard('111')
setRecortd(record)
}}
- >编辑
+ >编辑
+