From 70033810a3a46d73ad700f8f726b0460a0d24551 Mon Sep 17 00:00:00 2001 From: xingyongchun Date: Tue, 26 Jul 2022 10:29:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=A1=A5=E6=A2=81?= =?UTF-8?q?=E9=81=93=E8=B7=AF=E6=8E=A5=E5=85=A5=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/assets/color.less | 25 + .../src/sections/fillion/actions/infor.js | 33 + .../fillion/components/bridgeTable.js | 2021 ++++------------- .../fillion/components/highwaysTable.js | 1472 +----------- .../fillion/components/infor/details.js | 175 +- .../fillion/components/transportationTable.js | 1880 ++++----------- web/client/src/utils/webapi.js | 10 +- web/log/development.txt | 1341 +++++++++++ web/package-lock.json | 2 +- web/package.json | 3 +- 10 files changed, 2473 insertions(+), 4489 deletions(-) diff --git a/web/client/assets/color.less b/web/client/assets/color.less index 3b9b4ccd..f551bce0 100644 --- a/web/client/assets/color.less +++ b/web/client/assets/color.less @@ -1128,10 +1128,17 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-mentions-dropdown-menu-item-active {background-color: @item-hover-bg;} .ant-menu-item-danger.ant-menu-item {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: #ff4d4f;} +<<<<<<< Updated upstream .ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;} .ant-menu-item-danger.ant-menu-item-selected {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: #ff4d4f;} .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;} +======= +.ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} +.ant-menu-item-danger.ant-menu-item-selected {color: #ff4d4f;} +.ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: #ff4d4f;} +.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);} +>>>>>>> Stashed changes .ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: #ff4d4f;} .ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: #ff4d4f;} .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: #ff4d4f;} @@ -1702,11 +1709,19 @@ tr.ant-table-expanded-row:hover > td {background: @table-expanded-row-bg;} .ant-tag-checkable:active, .ant-tag-checkable-checked {color: #fff;} .ant-tag-checkable-checked {background-color: @primary-color;} .ant-tag-checkable:active {background-color: color(~`colorPalette("@{primary-color}", 7)`);} +<<<<<<< Updated upstream .ant-tag-pink {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;} +======= +.ant-tag-pink {color: #c41d7f;background: color(~`colorPalette("@{success-color-deprecated-bg}", 1)`);border-color: #ffadd2;} +.ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} +.ant-tag-magenta {color: #c41d7f;background: color(~`colorPalette("@{success-color-deprecated-bg}", 1)`);border-color: #ffadd2;} +.ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} +.ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);border-color: #ffa39e;} +>>>>>>> Stashed changes .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} @@ -1722,9 +1737,15 @@ tr.ant-table-expanded-row:hover > td {background: @table-expanded-row-bg;} .ant-tag-lime-inverse {color: #fff;background: #a0d911;border-color: #a0d911;} .ant-tag-green {color: #389e0d;background: #f6ffed;border-color: #b7eb8f;} .ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;} +<<<<<<< Updated upstream .ant-tag-blue {color: #096dd9;background: color(~`colorPalette("@{pagination-item-input-bg}", 1)`);border-color: #91d5ff;} .ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;} .ant-tag-geekblue {color: #1d39c4;background: color(~`colorPalette("@{avatar-bg}", 4)`);border-color: #adc6ff;} +======= +.ant-tag-blue {color: #096dd9;background: #e6f7ff;border-color: color(~`colorPalette("@{alert-info-border-color}", 5)`);} +.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;} +.ant-tag-geekblue {color: #1d39c4;background: color(~`colorPalette("@{tree-bg}", 1)`);border-color: #adc6ff;} +>>>>>>> Stashed changes .ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;} .ant-tag-purple {color: #531dab;background: color(~`colorPalette("@{calendar-bg}", 1)`);border-color: #d3adf7;} .ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;} @@ -1963,7 +1984,11 @@ a.ant-typography.ant-typography-disabled:hover, .ant-typography a.ant-typography .ant-upload-list-picture .ant-upload-list-item-error, .ant-upload-list-picture-card .ant-upload-list-item-error {border-color: #ff4d4f;} .ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info, .ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {background: transparent;} .ant-upload-list-picture .ant-upload-list-item-uploading, .ant-upload-list-picture-card .ant-upload-list-item-uploading {border-style: dashed;} +<<<<<<< Updated upstream .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='color(~`colorPalette("@{pagination-item-input-bg}", 1)`)'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='color(~`colorPalette("@{pagination-item-input-bg}", 1)`)'] {fill: @error-color-deprecated-bg;} +======= +.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'] {fill: @error-color-deprecated-bg;} +>>>>>>> Stashed changes .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'], .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'] {fill: #ff4d4f;} .ant-upload-list-picture-card .ant-upload-list-item-info::before {background-color: rgba(0, 0, 0, 0.5);} .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download, .ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {color: rgba(255, 255, 255, 0.85);} diff --git a/web/client/src/sections/fillion/actions/infor.js b/web/client/src/sections/fillion/actions/infor.js index d68042e8..f9275335 100644 --- a/web/client/src/sections/fillion/actions/infor.js +++ b/web/client/src/sections/fillion/actions/infor.js @@ -67,6 +67,17 @@ export function getRoadway(query) { // reducer: { name: 'reportstatistic' } }); } +export function putRoadway(query) { + return dispatch => basicAction({ + type: 'put', + dispatch: dispatch, + data: query, + actionType: 'PUT_ROADWAY', + url: ApiTable.putRoadway, + msg: { error: '编辑道路信息失败' }, + // reducer: { name: 'reportstatistic' } + }); +} export function getBridge(query) { return dispatch => basicAction({ type: 'get', @@ -78,6 +89,17 @@ export function getBridge(query) { // reducer: { name: 'reportstatistic' } }); } +export function putBridge(query) { + return dispatch => basicAction({ + type: 'put', + dispatch: dispatch, + data: query, + actionType: 'PUT_BRIDGE', + url: ApiTable.putBridge, + msg: { error: '编辑桥梁信息失败' }, + // reducer: { name: 'reportstatistic' } + }); +} export function getProject(query) { return dispatch => basicAction({ type: 'get', @@ -88,4 +110,15 @@ export function getProject(query) { msg: { error: '获取工程信息失败' }, // reducer: { name: 'reportstatistic' } }); +} +export function putProject(query) { + return dispatch => basicAction({ + type: 'put', + dispatch: dispatch, + data: query, + actionType: 'GET_PROJECT', + url: ApiTable.putProject, + msg: { error: '编辑工程信息失败' }, + // reducer: { name: 'reportstatistic' } + }); } \ No newline at end of file diff --git a/web/client/src/sections/fillion/components/bridgeTable.js b/web/client/src/sections/fillion/components/bridgeTable.js index 1e5afe22..cd794928 100644 --- a/web/client/src/sections/fillion/components/bridgeTable.js +++ b/web/client/src/sections/fillion/components/bridgeTable.js @@ -6,6 +6,7 @@ import './protable.less' import moment from 'moment'; import { getBridge, getProject } from "../actions/infor" import UserModal from './infor/details'; +import ProjectModal from './project/project'; const BrideTable = (props) => { const { dispatch, user, depData, depMessage, depLoading } = props @@ -16,10 +17,11 @@ const BrideTable = (props) => { // const [sitename, setSitename] = useState()//场所名称 const [counts, setCounts] = useState()//shuju const [modalVisible, setModalVisible] = useState(false); + const [modalVisibleyilan, setModalVisibleyilan] = useState(false); const [modalRecord, setModalRecord] = useState(); const [typecard, setTypecard] = useState(); const [activeKey, setActiveKey] = useState('tab1'); - + const [recortd, setRecortd] = useState() const columns = { tab1: [ { @@ -30,12 +32,16 @@ const BrideTable = (props) => { options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, placeholder: '请输入桥梁代码进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, + render: (dom, record) => { + // console.log(record) + return record.bridgeCode + }, }, { title: '桥梁名称', @@ -45,7 +51,7 @@ const BrideTable = (props) => { fixed: 'left', width: 120, render: (dom, record) => { - return record.address + return record.bridgeName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -59,7 +65,7 @@ const BrideTable = (props) => { // align: 'right', width: 120, render: (dom, record) => { - return record.address + return record.centralStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -70,12 +76,9 @@ const BrideTable = (props) => { search: false, dataIndex: 'time3', valueType: 'dateRange', - - - width: 120, render: (dom, record) => { - return record.address + return record.crossingFigureType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -89,7 +92,7 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.crossingFigureName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -103,7 +106,7 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.natureOfCharges }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -117,7 +120,7 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.rampCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -131,7 +134,7 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.sectionType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -145,7 +148,7 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.crossingFigureType1 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -160,7 +163,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.crossingFigureName1 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -175,7 +178,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.originalBridgeCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -190,7 +193,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherWideRoadAndNarrowBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -205,7 +208,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.isItInTheDirectoryOfLongAndLongBridges }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -220,7 +223,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherItIsACrossProvincialBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -235,7 +238,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.interworkingType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -250,7 +253,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.interworkingForm }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -265,7 +268,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.interworkingAndCrossoverMode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -280,7 +283,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.bridgeClassification }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -295,7 +298,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.totalLengthOfBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -310,7 +313,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.totalSpanLength }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -325,7 +328,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.mainSpanOfMainBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -340,7 +343,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.numberOfMainBridgeHoles }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -355,7 +358,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -370,7 +373,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.bridgeProperties }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -385,7 +388,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.designLoadClass }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -400,7 +403,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.superstructure }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -415,7 +418,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.superstructureMaterials }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -430,7 +433,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.bridgeDeckPavementType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -445,7 +448,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.bridgeDeckWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -460,7 +463,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.clearWidthOfBridgeDeck }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -475,7 +478,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.clearanceUnderBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -490,7 +493,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.seismicGrade }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -505,7 +508,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.navigationClass }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -520,7 +523,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.abutmentType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -535,7 +538,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pierType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -550,7 +553,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.typesOfPierAndAbutmentAntiCollisionFacilities }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -565,7 +568,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.expansionJointType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -580,7 +583,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.supportType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -595,7 +598,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.characteristicsOfCurvedSlope }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -610,7 +613,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.bridgeHeight }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -625,7 +628,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.sidewalkWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -640,7 +643,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.constructionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -655,7 +658,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -670,7 +673,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.openingDate }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -685,7 +688,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -700,7 +703,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.totalCost }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -715,7 +718,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.nameOfDesignUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -730,7 +733,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.nameOfConstructionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -745,7 +748,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.nameOfSupervisionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -760,7 +763,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfConstruction }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -775,7 +778,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.evaluationDate }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -790,7 +793,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.technicalConditionEvaluation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -805,7 +808,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.assessmentUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -820,7 +823,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.locationOfMajorDiseases }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -835,7 +838,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.diseaseDescription }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -850,7 +853,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.takeControlMeasures }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -865,7 +868,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.dateOfLastPeriodicInspection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -880,7 +883,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfManagementAndMaintenanceUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -895,7 +898,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.managementAndMaintenanceUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -910,7 +913,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.supervisionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -925,7 +928,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionConstructionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -940,7 +943,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherItIsASubsidyProjectOfTheMinistry }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -955,7 +958,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.engineeringProperties }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -970,7 +973,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionPart }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -985,7 +988,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.modificationCompletionDate }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1000,7 +1003,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.year1 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1015,7 +1018,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination1 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1030,7 +1033,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.investment1 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1045,7 +1048,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.year2 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1060,7 +1063,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination2 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1075,7 +1078,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.investment2 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1090,7 +1093,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.year3 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1105,7 +1108,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination3 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1120,7 +1123,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.investment3 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1135,7 +1138,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.year4 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1151,7 +1154,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination4 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1166,7 +1169,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.investment4 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1181,7 +1184,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.year5 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1196,7 +1199,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.spanCombination5 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1211,7 +1214,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.investment5 }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1226,7 +1229,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategory }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1241,7 +1244,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1256,7 +1259,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1271,7 +1274,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1286,7 +1289,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1301,7 +1304,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1316,7 +1319,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.ccompletionStatus }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1331,7 +1334,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletion }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1346,7 +1349,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reasonForChange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1361,7 +1364,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.changeTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1376,7 +1379,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reportingUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1391,7 +1394,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.remarks }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1406,7 +1409,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherOverpassBridge }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1421,7 +1424,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.offLineBridgeOrNot }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1436,7 +1439,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherDangerousBridgeReconstruction }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1451,7 +1454,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.districtcounty }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1466,7 +1469,7 @@ const BrideTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.locationCity }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1484,7 +1487,7 @@ const BrideTable = (props) => { onClick={() => { openModal('edit', record) setTypecard('111') - + setRecortd(record) }} >编辑 @@ -1522,50 +1525,53 @@ const BrideTable = (props) => { }, ], tab2: [ { - title: '桥梁代码', + title: '项目名称', dataIndex: 'placeName', fixed: 'left', width: 120, options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, - placeholder: '请输入桥梁代码进行搜索', + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, + placeholder: '请输入项目名称进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, + render: (dom, record) => { + return record.entryName + }, }, { - title: '桥梁名称', + title: '工程里程(公里/延米)', search: false, dataIndex: 'containers', fixed: 'left', width: 120, render: (dom, record) => { - return record.address + return record.projectMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '中心桩号', + title: '投资(万元)', search: false, dataIndex: 'time2', valueType: 'dateRange', // align: 'right', width: 120, render: (dom, record) => { - return record.address + return record.investment }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '跨越地物类型', + title: '建设单位', search: false, dataIndex: 'time3', valueType: 'dateRange', @@ -1574,13 +1580,13 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.buildUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '跨越地物名称', + title: '监理单位', search: false, dataIndex: 'time4', valueType: 'dateRange', @@ -1588,13 +1594,13 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.constructionControlUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '收费性质', + title: '设计单位', search: false, dataIndex: 'time5', valueType: 'dateRange', @@ -1602,13 +1608,13 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.designUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '匝道编码', + title: '施工单位', search: false, dataIndex: 'time6', valueType: 'dateRange', @@ -1616,13 +1622,13 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.constructionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '路段类型', + title: '监督负责人及监督人员', search: false, dataIndex: 'time7', valueType: 'dateRange', @@ -1630,13 +1636,13 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.supervisorAndSupervisor }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '跨越地物类型1', + title: '项目进展情况', search: false, dataIndex: 'time8', valueType: 'dateRange', @@ -1644,1508 +1650,329 @@ const BrideTable = (props) => { width: 120, render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨越地物名称1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '原桥梁代码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address + return record.projectProgress }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } - }, { - title: '是否宽路窄桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - + }, + { + title: '操作', + dataIndex: 'creatTime', + valueType: 'dateTimeRange', + hideInSearch: true, + width: 120, + fixed: 'right', render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否在长大桥梁目录中', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, + return
- render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, } - }, { - title: '是否跨省桥梁', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', + }, + { + key: "direction", + hideInTable: true, + dataIndex: "direction", + order: 6, + renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { + return ( +
+ +
- width: 140, - render: (dom, record) => { - return record.address + ); }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - + }, + ] + } + const requestBridge = () => { + const query = { + } + setRowSelected([]); + dispatch(getBridge(query)).then((res) => { + setCounts(res?.payload?.data) + console.log(res) + }); - width: 140, + } + //工程数据 + const requestProject = () => { + const query = { + type: '桥梁' + } + setRowSelected([]); + dispatch(getProject(query)).then((res) => { + setCounts(res?.payload?.data) + }) - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通形式', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', + } + //打开弹窗 + const openModal = (type, record) => { + setModalVisible(true); + // setModalType(type); + if (type == 'edit') { + setModalRecord(record); + } else { + setModalRecord(null); + } + } + const yilanModal = (type, record) => { + setModalVisibleyilan(true); + // setModalType(type); + if (type == 'edit') { + setModalRecord(record); + } else { + setModalRecord(null); + } + } + //批量导出 + const exports = (ids, counts) => { + // console.log(user); + let reportIds = []; + if (ids.length) + reportIds = ids + else + reportIds = (counts || {}).ids || []; + superagent.post('/_report/http') + .send({ id: reportIds.map(i => Number(i)) }).end((err, res) => { + const resTextIs = res.text.split('/').pop() + window.open( + '/_api/' + + `attachments?src=files/${resTextIs}&filename=${encodeURIComponent(resTextIs)}&token=${user.token}`) + }) + } + return ( + +
+ setActiveKey(key), + items: [ + { + key: 'tab1', + label: { + requestBridge() + }}>桥梁{activeKey === 'tab1'}, + }, + { + key: 'tab2', + label: { + requestProject() + }}>工程一览{activeKey === 'tab2'}, + }, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通交叉方式', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', + ], + }, + }} + scroll={{ x: 800 }} + options={false} + ref={c => { finishedProductTable = c; }} + style={{ width: "100% ", overflow: "auto", height: '760px' }} + rowKey='id' + onReset={(v) => { + // const { id } = depMessage[0] + // console.log(id) + // setRegionId(id) + // setPlaceType(-1) + // setDay([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]) + // setSitename('') + }} + rowSelection={{ + selectedRowKeys: rowSelected, + onChange: (selectedRowKeys) => { + setRowSelected(selectedRowKeys); + }, + }} + columns={columns[activeKey]} + dataSource={counts || []} + request={async (params) => { + const query = { - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁分类', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁全长', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径总长', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主桥主跨', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主桥孔数', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '设计荷载等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上部结构', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上部结构材料', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面铺装类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面宽', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面净宽', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥下净空', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '抗震等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '通航等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥台类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥墩类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '墩台防撞设施类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '伸缩缝类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '支座类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '弯坡斜特征', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁高度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '人行道宽度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建设单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建成时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '通车日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改建时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '总造价', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '设计单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '施工单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '监理单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建设性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '评定日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '技术状况评定', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '评定单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主要病害位置', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '病害描述', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '采取管制措施', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '最近定期检查日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '管养单位性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '管养单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '监管单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造施工单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否部补助项目', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '工程性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造部位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造完工日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, - { - title: '跨径组合4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划资金类别', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划文号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目唯一编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工情况', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更原因', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '填报单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '备注', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否跨线桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否线外桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否危桥改造', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在区县', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在地市', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, - { - title: '操作', - dataIndex: 'creatTime', - valueType: 'dateTimeRange', - hideInSearch: true, - width: 120, - fixed: 'right', - render: (dom, record) => { - return
- - } - }, - { - key: "direction", - hideInTable: true, - dataIndex: "direction", - order: 6, - renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { - return ( -
- -
- - - ); - }, - }, - ] - } -const requestBridge=()=>{ - const query = { - } - setRowSelected([]); - const res = dispatch(getBridge(query)); - setCounts(res.payload.data) -} -//工程数据 -const requestProject=()=>{ - const query = { - type:'桥梁' - } - setRowSelected([]); - const res =dispatch(getProject(query)); - setCounts(res.payload.data) - } - //打开弹窗 - const openModal = (type, record) => { - setModalVisible(true); - // setModalType(type); - if (type == 'edit') { - setModalRecord(record); - } else { - setModalRecord(null); - } - } - //批量导出 - const exports = (ids, counts) => { - // console.log(user); - let reportIds = []; - if (ids.length) - reportIds = ids - else - reportIds = (counts || {}).ids || []; - superagent.post('/_report/http') - .send({ id: reportIds.map(i => Number(i)) }).end((err, res) => { - const resTextIs = res.text.split('/').pop() - window.open( - '/_api/' + - `attachments?src=files/${resTextIs}&filename=${encodeURIComponent(resTextIs)}&token=${user.token}`) - }) - } - return ( - -
- setActiveKey(key), - items: [ - { - key: 'tab1', - label: requestBridge()}>桥梁{activeKey === 'tab1'}, - }, - { - key: 'tab2', - label: requestProject()}>工程一览{activeKey === 'tab2'}, - }, - - ], - }, - }} - scroll={{ x: 800 }} - options={false} - ref={c => { finishedProductTable = c; }} - style={{ width: "100% ", overflow: "auto", height: '760px' }} - rowKey='id' - onReset={(v) => { - // const { id } = depMessage[0] - // console.log(id) - // setRegionId(id) - // setPlaceType(-1) - // setDay([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]) - // setSitename('') - }} - rowSelection={{ - selectedRowKeys: rowSelected, - onChange: (selectedRowKeys) => { - setRowSelected(selectedRowKeys); - }, - }} - columns={columns[activeKey]} - - dataSource={(counts || {}).rows || []} - request={async (params) => { - const query = { - - } - setRowSelected([]); - const res = await dispatch(getBridge(query)); - setCounts(res.payload.data) - return { - ...res, - total: res.payload.data ? res.payload.data.count : 0 - } - }} - search={{ - defaultCollapsed: false, - optionRender: (searchConfig, formProps, dom) => [ - ...dom.reverse(), - { props.exports(rowSelected, counts) }}> - - - ], - }} + } + setRowSelected([]); + const res = await dispatch(getBridge(query)); + setCounts(res.payload.data) + return { + ...res, + total: res.payload.data ? res.payload.data.count : 0 + } + }} + search={{ + defaultCollapsed: false, + optionRender: (searchConfig, formProps, dom) => [ + ...dom.reverse(), + { props.exports(rowSelected, counts) }}> + + + ], + }} >
- + rewkeys={'bridge'} + data={date} + recortd={recortd} + // sitename={sitename} + setRecortd={setRecortd} + /> : ''} + {modalVisibleyilan ? : ''}
) } +const date = { + "bridgeCode": "桥梁代码", + "bridgeName": "桥梁名称", + "centralStation": "中心桩号", + "crossingFigureType": "跨越地物类型", + "crossingFigureName": "跨越地物名称", + "natureOfCharges": "收费性质", + "rampCode": "匝道编码", + "sectionType": "路段类型", + "crossingFigureType1": "跨越地物类型1", + "crossingFigureName1": "跨越地物名称1", + "originalBridgeCode": "原桥梁代码", + "whetherWideRoadAndNarrowBridge": "是否宽路窄桥", + "isItInTheDirectoryOfLongAndLongBridges": "是否在长大桥梁目录中", + "whetherItIsACrossProvincialBridge": "是否跨省桥梁", + "interworkingType": "互通类型", + "interworkingForm": "互通形式", + "interworkingAndCrossoverMode": "互通交叉方式", + "bridgeClassification": "桥梁分类", + "totalLengthOfBridge": "桥梁全长", + "totalSpanLength": "跨径总长", + "mainSpanOfMainBridge": "主桥主跨", + "numberOfMainBridgeHoles": "主桥孔数", + "spanCombination": "跨径组合", + "bridgeProperties": "桥梁性质", + "designLoadClass": "设计荷载等级", + "superstructure": "上部结构", + "superstructureMaterials": "上部结构材料", + "bridgeDeckPavementType": "桥面铺装类型", + "bridgeDeckWidth": "桥面宽", + "clearWidthOfBridgeDeck": "桥面净宽", + "clearanceUnderBridge": "桥下净空", + "seismicGrade": "抗震等级", + "navigationClass": "通航等级", + "abutmentType": "桥台类型", + "pierType": "桥墩类型", + "typesOfPierAndAbutmentAntiCollisionFacilities": "墩台防撞设施类型", + "expansionJointType": "伸缩缝类型", + "supportType": "支座类型", + "characteristicsOfCurvedSlope": "弯坡斜特征", + "bridgeHeight": "桥梁高度", + "sidewalkWidth": "人行道宽度", + "constructionUnit": "建设单位", + "completionTime": "建成时间", + "openingDate": "通车日期", + "reconstructionTime": "改建时间", + "totalCost": "总造价", + "nameOfDesignUnit": "设计单位名称", + "nameOfConstructionUnit": "施工单位名称", + "nameOfSupervisionUnit": "监理单位名称", + "natureOfConstruction": "建设性质", + "evaluationDate": "评定日期", + "technicalConditionEvaluation": "技术状况评定", + "assessmentUnit": "评定单位", + "locationOfMajorDiseases": "主要病害位置", + "diseaseDescription": "病害描述", + "takeControlMeasures": "采取管制措施", + "dateOfLastPeriodicInspection": "最近定期检查日期", + "natureOfManagementAndMaintenanceUnit": "管养单位性质", + "managementAndMaintenanceUnit": "管养单位", + "supervisionUnit": "监管单位", + "reconstructionConstructionUnit": "改造施工单位", + "whetherItIsASubsidyProjectOfTheMinistry": "是否部补助项目", + "engineeringProperties": "工程性质", + "reconstructionPart": "改造部位", + "modificationCompletionDate": "改造完工日期", + "year1": "年份1", + "spanCombination1": "跨径组合1", + "investment1": "投资1", + "year2": "年份2", + "spanCombination2": "跨径组合2", + "investment2": "投资2", + "year3": "年份3", + "spanCombination3": "跨径组合3", + "investment3": "投资3", + "year4": "年份4", + "spanCombination4": "跨径组合4", + "investment4": "投资4", + "year5": "年份5", + "spanCombination5": "跨径组合5", + "investment5": "投资5", + "plannedFundCategory": "计划资金类别", + "plannedYear": "计划年度", + "planDocumentNo": "计划文号", + "planItemUniqueCode": "计划项目唯一编码", + "plannedProjectType": "计划项目类型", + "planProjectName": "计划项目名称", + "completionStatus": "完工情况", + "yearOfCompletion": "完工年度", + "reasonForChange": "变更原因", + "changeTime": "变更时间", + "reportingUnit": "填报单位", + "remarks": "备注", + "whetherOverpassBridge": "是否跨线桥", + "offLineBridgeOrNot": "是否线外桥", + "whetherDangerousBridgeReconstruction": "是否危桥改造", + "districtcounty": "所在区县", + "locationCity": "所在地市" +} +const dates = { + "entryName": "项目名称", + "projectMileage": "工程里程", + "investment": "投资", + "buildUnit": "建设单位", + "constructionControlUnit": "监理单位", + "designUnit": "设计单位", + "constructionUnit": "施工单位", + "supervisorAndSupervisor": "监督负责人及监督人员", + "projectProgress": "项目进展情况" +} function mapStateToProps(state) { const { auth, depMessage } = state; const pakData = (dep) => { diff --git a/web/client/src/sections/fillion/components/highwaysTable.js b/web/client/src/sections/fillion/components/highwaysTable.js index de0e8091..af48d670 100644 --- a/web/client/src/sections/fillion/components/highwaysTable.js +++ b/web/client/src/sections/fillion/components/highwaysTable.js @@ -48,7 +48,7 @@ const exports = (ids, counts) => { const columns = [ { - title: '桥梁代码', + title: '类型', dataIndex: 'placeName', fixed: 'left', width: 120, @@ -58,12 +58,12 @@ const exports = (ids, counts) => { onChange: (value, cs) => { setSitename(value.currentTarget.value) }, - placeholder: '请输入桥梁代码进行搜索', + placeholder: '请输入类型进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, }, { - title: '桥梁名称', + title: '数量', search: false, dataIndex: 'containers', @@ -76,1427 +76,6 @@ const exports = (ids, counts) => { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, - { - title: '中心桩号', - search: false, - dataIndex: 'time2', - valueType: 'dateRange', - // align: 'right', - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, - { - title: '跨越地物类型', - search: false, - dataIndex: 'time3', - valueType: 'dateRange', - initialValue: day, - - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨越地物名称', - search: false, - dataIndex: 'time4', - valueType: 'dateRange', - initialValue: day, - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '收费性质', - search: false, - dataIndex: 'time5', - valueType: 'dateRange', - initialValue: day, - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '匝道编码', - search: false, - dataIndex: 'time6', - valueType: 'dateRange', - initialValue: day, - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路段类型', - search: false, - dataIndex: 'time7', - valueType: 'dateRange', - initialValue: day, - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨越地物类型1', - search: false, - dataIndex: 'time8', - valueType: 'dateRange', - initialValue: day, - - width: 120, - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨越地物名称1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '原桥梁代码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否宽路窄桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否在长大桥梁目录中', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否跨省桥梁', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通形式', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '互通交叉方式', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁分类', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁全长', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径总长', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主桥主跨', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主桥孔数', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '设计荷载等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上部结构', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上部结构材料', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面铺装类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面宽', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥面净宽', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥下净空', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '抗震等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '通航等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥台类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥墩类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '墩台防撞设施类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '伸缩缝类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '支座类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '弯坡斜特征', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桥梁高度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '人行道宽度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建设单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建成时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '通车日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改建时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '总造价', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '设计单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '施工单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '监理单位名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建设性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '评定日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '技术状况评定', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '评定单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '主要病害位置', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '病害描述', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '采取管制措施', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '最近定期检查日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '管养单位性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '管养单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '监管单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造施工单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否部补助项目', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '工程性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造部位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改造完工日期', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资1', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资2', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资3', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, - { - title: '跨径组合4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资4', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '年份5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '跨径组合5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '投资5', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划资金类别', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划文号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目唯一编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工情况', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更原因', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '填报单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '备注', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否跨线桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否线外桥', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否危桥改造', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在区县', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在地市', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - initialValue: day, - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { title: '操作', dataIndex: 'creatTime', @@ -1510,40 +89,11 @@ const exports = (ids, counts) => { openModal('edit', record) setTypecard('111') }} - >编辑
+ >编辑 } }, - { - key: "direction", - hideInTable: true, - dataIndex: "direction", - order: 6, - renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { - return ( -
- -
- - - ); - }, - }, + ] return ( @@ -1593,12 +143,12 @@ const exports = (ids, counts) => { defaultCollapsed: false, optionRender: (searchConfig, formProps, dom) => [ ...dom.reverse(), - { props.exports(rowSelected, counts) }}> - - + // { props.exports(rowSelected, counts) }}> + // + // ], }} diff --git a/web/client/src/sections/fillion/components/infor/details.js b/web/client/src/sections/fillion/components/infor/details.js index 35b4a6c9..fa79c9f5 100644 --- a/web/client/src/sections/fillion/components/infor/details.js +++ b/web/client/src/sections/fillion/components/infor/details.js @@ -1,44 +1,159 @@ -import React from 'react'; +import React, { useEffect, useState } from 'react'; import { connect } from 'react-redux'; -import { Spin, Table } from 'antd'; +import { Form, Spin, Table } from 'antd'; import { DrawerForm, ProForm, ProFormText } from '@ant-design/pro-form'; -import moment from 'moment'; +import { putRoadway } from "../../actions/infor" +import { putBridge } from "../../actions/infor" + const UserModal = (props) => { - const { visible, onVisibleChange,typecard } = props - console.log(typecard) + const { visible, onVisibleChange, typecard, rewkeys, data, recortd, sitename, dispatch, date, setRecortd,engineering } = props + const [newlys, setNewlys] = useState() //必填数据 + const [newlysay, setNewlysay] = useState() //处理hou + const [records, setRecords] = useState()//处理 + const [recordsay, setRecordsay] = useState()//必填数据 + const [success, setSuccess] = useState() //状态 + useEffect(() => { + const array = [] + if (rewkeys === 'transportation') { + const xindata=[...data] + setNewlys(xindata?.splice(0, 2)) + setNewlysay(xindata) + } if (rewkeys === 'bridge') { + _.forIn(data, function (value, key) { + array.push({ name: value, type: key }) + }); + setNewlys(array?.splice(0, 2)) + setNewlysay(array) + console.log(array) + } + }, []) + useEffect(() => { + const arr = [] + if (rewkeys === 'transportation') { + _.forIn(recortd, function (value, key) { + arr.push({ value: value, type: key }) + }); + setRecordsay(arr.splice(1, 2)) + setRecords(arr) + } + if (rewkeys === 'bridge') { + _.forIn(recortd, function (value, key) { + arr.push({ value: value, type: key }) + }); + setRecordsay(arr.splice(1, 2)) + setRecords(arr) + } + }, [recortd]) + useEffect(() => { + return () => { + setRecortd() + } + }, []) + // console.log(recortd) return ( + {/* { + newlysay ? */} { + if (rewkeys === 'transportation') { + if (typecard == '111') { + console.log(values) + const query = { ...values, level: sitename, roadId: records?.[0]?.value || '' } + dispatch(putRoadway(query)).then((res) => { + setSuccess(res.success) + }) + return success + } else { + const query = { ...values, level: sitename } + dispatch(putRoadway(query)).then((res) => { + setSuccess(res.success) + }) + return success + } + } + if (rewkeys === 'bridge') { + if (typecard == '111') { + console.log(values) + const query = { ...values, roadId: records?.[0]?.value || '' } + dispatch(putBridge(query)).then((res) => { + setSuccess(res.success) + }) + return success + } else { + const query = { ...values } + dispatch(putBridge(query)).then((res) => { + setSuccess(res.success) + }) + return success + } + } + }} + initialValues={recortd} > - {typecard==111? - - - - : - - - } - + {typecard == '111' ? + + + + {newlysay?.map((item, index) => { + return + })} + + + : + + {newlysay?.map((item, index) => { + return + })} + } + + {/* : '' + } */} + ) } diff --git a/web/client/src/sections/fillion/components/transportationTable.js b/web/client/src/sections/fillion/components/transportationTable.js index 1d109899..3727582d 100644 --- a/web/client/src/sections/fillion/components/transportationTable.js +++ b/web/client/src/sections/fillion/components/transportationTable.js @@ -1,11 +1,12 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect, useState, useRef } from 'react'; import { connect } from 'react-redux'; import { Spin, Button, Popconfirm, Badge } from 'antd'; import ProTable from '@ant-design/pro-table'; import './protable.less' import moment from 'moment'; -import { getRoadway, getProject } from "../actions/infor" +import { getRoadway, getProject, putRoadway } from "../actions/infor" import UserModal from './infor/details'; +import ProjectModal from './project/project'; const TransporTationTable = (props) => { const { dispatch, user, depData, depMessage, depLoading } = props @@ -13,30 +14,36 @@ const TransporTationTable = (props) => { // const [regionId, setRegionId] = useState()//区域id // const [placeType, setPlaceType] = useState()//场所 // const [day, setDay] = useState([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')])//日期 - // const [sitename, setSitename] = useState()//场所名称 + const [sitename, setSitename] = useState()//场所名称 const [counts, setCounts] = useState()//shuju const [modalVisible, setModalVisible] = useState(false); + const [modalVisibleyilan, setModalVisibleyilan] = useState(false); const [modalRecord, setModalRecord] = useState(); const [typecard, setTypecard] = useState(); const [activeKey, setActiveKey] = useState('tab1'); - + const [recortd, setRecortd] = useState() + // const ref = useRef() //请求数据 const requestRoadway = (name) => { const query = { level: name } + setSitename(name) setRowSelected([]); - const res = dispatch(getRoadway(query)); - setCounts(res.payload.data) + dispatch(getRoadway(query)).then((res) => { + setCounts(res.payload.data) + }); } + // useEffect(()=>{ref.current.reload()},[counts]) //工程数据 const requestProject = () => { const query = { type: '道路' } setRowSelected([]); - const res = dispatch(getProject(query)); - setCounts(res.payload.data) + dispatch(getProject(query)).then((res) => { + setCounts(res.payload.data) + }) } //打开弹窗 const openModal = (type, record) => { @@ -48,7 +55,16 @@ const TransporTationTable = (props) => { setModalRecord(null); } } - console.log(counts) + const yilanModal = (type, record) => { + setModalVisibleyilan(true); + // setModalType(type); + if (type == 'edit') { + setModalRecord(record); + } else { + setModalRecord(null); + } + } + // console.log(counts) //批量导出 const exports = (ids, counts) => { // console.log(user); @@ -75,14 +91,14 @@ const TransporTationTable = (props) => { options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, placeholder: '请输入道路名称进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, render: (dom, record) => { - console.log('record',record) + // console.log('record',record) return record.routeName }, }, @@ -217,7 +233,7 @@ const TransporTationTable = (props) => { valueType: 'dateRange', width: 140, render: (dom, record) => { - return record.address + return record.routeCodeBeforeRoadNetworkAdjustment }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -232,7 +248,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfOriginalSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -247,7 +263,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStakeNumberOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -262,7 +278,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.endingPointStakeNoOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -277,7 +293,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -292,7 +308,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -307,7 +323,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -322,7 +338,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -337,7 +353,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfConstruction }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -352,7 +368,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastRepairAndMaintenanceYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -367,7 +383,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.gBMAndCivilizedModelRoad }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -382,7 +398,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.landforms }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -397,7 +413,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfCharges }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -412,7 +428,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.tollStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -427,7 +443,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.numberOfCulverts }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -442,7 +458,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.technicalLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -457,7 +473,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -472,7 +488,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.surfaceThickness }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -487,7 +503,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -502,7 +518,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.subgradeWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -517,7 +533,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherItIsOpenToTrafficInSunnyOrRainyDays }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -532,7 +548,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.laneCharacteristics }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -547,7 +563,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.designSpeedPerHour }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -562,7 +578,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.urbanManagementSectionOrNot }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -577,7 +593,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.managementAndMaintenanceUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -592,7 +608,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.roadAdministrationUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -607,7 +623,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.alimentation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -622,7 +638,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.sourceOfListedMaintenanceFunds }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -637,7 +653,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.curingTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -652,7 +668,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -667,7 +683,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileaged }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -682,7 +698,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.typeOfRepeatedRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -697,7 +713,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfRepeatedSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -712,7 +728,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.repeatedSectionRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -727,7 +743,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategory }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -742,7 +758,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -757,7 +773,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -772,7 +788,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -787,7 +803,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -802,7 +818,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -817,7 +833,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -832,7 +848,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatus }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -847,7 +863,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletion }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -862,7 +878,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategoryOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -877,7 +893,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYearOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -892,7 +908,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNoOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -907,7 +923,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCodeOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -922,7 +938,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectNameOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -937,7 +953,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatusOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -952,7 +968,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletionOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -967,7 +983,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.stationRange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -982,7 +998,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reportingUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -997,7 +1013,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reasonForChange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1012,7 +1028,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.changeTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1027,7 +1043,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherMaintenanceManagedHighway }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1042,7 +1058,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.remarks }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1057,7 +1073,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeCodeOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1072,7 +1088,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeNameOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1087,7 +1103,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStationOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1102,7 +1118,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastYearsEndingPointStakeNumber }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1117,7 +1133,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.graphicMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1132,7 +1148,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.chainageMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1147,7 +1163,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.districtcounty }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1162,7 +1178,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.locationCity }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1178,8 +1194,12 @@ const TransporTationTable = (props) => { render: (dom, record) => { return
@@ -1190,13 +1210,14 @@ const TransporTationTable = (props) => { hideInTable: true, dataIndex: "direction", order: 6, - renderFormItem: (item, { type, defaultRender, ...rest }, form) => { + renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { return (
- - ); }, }, @@ -1226,12 +1245,16 @@ const TransporTationTable = (props) => { options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, placeholder: '请输入道路名称进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, + render: (dom, record) => { + // console.log('record',record) + return record.routeName + }, }, { title: '路线代码', @@ -1241,7 +1264,7 @@ const TransporTationTable = (props) => { fixed: 'left', width: 120, render: (dom, record) => { - return record.address + return record.routeCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1255,7 +1278,7 @@ const TransporTationTable = (props) => { // align: 'right', width: 120, render: (dom, record) => { - return record.address + return record.sectionNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1266,12 +1289,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time3', valueType: 'dateRange', - - - width: 120, render: (dom, record) => { - return record.address + return record.townshipCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1281,11 +1301,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time4', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.startingPlaceName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1295,11 +1313,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time5', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.startStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1309,11 +1325,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time6', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.categoryOfStartingPointAndDividingPoint }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1323,11 +1337,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time7', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.stopPlaceName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1337,11 +1349,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time8', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.categoryOfDeadCenterAndDividingPoint }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1351,12 +1361,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.stopStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1366,12 +1373,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.sectionType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1381,12 +1385,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.routeCodeBeforeRoadNetworkAdjustment }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1401,7 +1402,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfOriginalSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1416,7 +1417,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStakeNumberOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1431,7 +1432,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.endingPointStakeNoOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1446,7 +1447,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1461,7 +1462,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1476,7 +1477,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1491,7 +1492,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1506,7 +1507,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfConstruction }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1521,7 +1522,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastRepairAndMaintenanceYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1536,7 +1537,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.gBMAndCivilizedModelRoad }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1551,7 +1552,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.landforms }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1566,7 +1567,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfCharges }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1581,7 +1582,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.tollStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1596,7 +1597,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.numberOfCulverts }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1611,7 +1612,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.technicalLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1626,7 +1627,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1641,7 +1642,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.surfaceThickness }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1656,7 +1657,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1671,7 +1672,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.subgradeWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1686,7 +1687,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherItIsOpenToTrafficInSunnyOrRainyDays }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1701,7 +1702,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.laneCharacteristics }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1716,7 +1717,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.designSpeedPerHour }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1731,7 +1732,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.urbanManagementSectionOrNot }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1746,7 +1747,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.managementAndMaintenanceUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1761,7 +1762,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.roadAdministrationUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1776,7 +1777,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.alimentation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1791,7 +1792,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.sourceOfListedMaintenanceFunds }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1806,7 +1807,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.curingTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1821,7 +1822,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1836,7 +1837,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileaged }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1851,7 +1852,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.typeOfRepeatedRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1866,7 +1867,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfRepeatedSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1881,7 +1882,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.repeatedSectionRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1896,7 +1897,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategory }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1911,7 +1912,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1926,7 +1927,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1941,7 +1942,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1956,7 +1957,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1971,7 +1972,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -1986,7 +1987,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2001,7 +2002,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatus }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2016,7 +2017,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletion }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2031,7 +2032,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategoryOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2046,7 +2047,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYearOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2061,7 +2062,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNoOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2076,7 +2077,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCodeOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2091,7 +2092,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectNameOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2106,7 +2107,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatusOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2121,7 +2122,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletionOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2136,7 +2137,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.stationRange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2151,7 +2152,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reportingUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2166,7 +2167,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reasonForChange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2181,7 +2182,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.changeTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2196,7 +2197,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherMaintenanceManagedHighway }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2211,7 +2212,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.remarks }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2226,7 +2227,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeCodeOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2241,7 +2242,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeNameOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2256,7 +2257,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStationOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2271,7 +2272,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastYearsEndingPointStakeNumber }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2286,7 +2287,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.graphicMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2301,7 +2302,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.chainageMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2316,7 +2317,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.districtcounty }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2331,7 +2332,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.locationCity }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2349,6 +2350,8 @@ const TransporTationTable = (props) => { onClick={() => { openModal('edit', record) setTypecard('111') + setRecortd(record) + }} >编辑 @@ -2395,12 +2398,16 @@ const TransporTationTable = (props) => { options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, placeholder: '请输入道路名称进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, + render: (dom, record) => { + // console.log('record',record) + return record.routeName + }, }, { title: '路线代码', @@ -2410,7 +2417,7 @@ const TransporTationTable = (props) => { fixed: 'left', width: 120, render: (dom, record) => { - return record.address + return record.routeCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2424,7 +2431,7 @@ const TransporTationTable = (props) => { // align: 'right', width: 120, render: (dom, record) => { - return record.address + return record.sectionNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2435,12 +2442,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time3', valueType: 'dateRange', - - - width: 120, render: (dom, record) => { - return record.address + return record.townshipCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2450,11 +2454,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time4', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.startingPlaceName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2464,11 +2466,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time5', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.startStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2478,11 +2478,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time6', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.categoryOfStartingPointAndDividingPoint }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2492,11 +2490,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time7', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.stopPlaceName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2506,11 +2502,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time8', valueType: 'dateRange', - - width: 120, render: (dom, record) => { - return record.address + return record.categoryOfDeadCenterAndDividingPoint }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2520,12 +2514,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.stopStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2535,12 +2526,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.sectionType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2550,12 +2538,9 @@ const TransporTationTable = (props) => { search: false, dataIndex: 'time9', valueType: 'dateRange', - - width: 140, - render: (dom, record) => { - return record.address + return record.routeCodeBeforeRoadNetworkAdjustment }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2570,7 +2555,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfOriginalSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2585,7 +2570,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStakeNumberOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2600,7 +2585,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.endingPointStakeNoOfTheOriginalRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2615,7 +2600,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2630,7 +2615,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2645,7 +2630,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2660,7 +2645,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reconstructionTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2675,7 +2660,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfConstruction }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2690,7 +2675,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastRepairAndMaintenanceYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2705,7 +2690,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.gBMAndCivilizedModelRoad }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2720,7 +2705,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.landforms }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2735,7 +2720,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.natureOfCharges }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2750,7 +2735,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.tollStation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2765,7 +2750,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.numberOfCulverts }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2780,7 +2765,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.technicalLevel }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2795,7 +2780,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2810,7 +2795,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.surfaceThickness }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2825,7 +2810,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.pavementWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2840,7 +2825,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.subgradeWidth }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2855,7 +2840,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherItIsOpenToTrafficInSunnyOrRainyDays }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2870,7 +2855,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.laneCharacteristics }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2885,7 +2870,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.designSpeedPerHour }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2900,7 +2885,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.urbanManagementSectionOrNot }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2915,7 +2900,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.managementAndMaintenanceUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2930,7 +2915,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.roadAdministrationUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2945,7 +2930,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.alimentation }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2960,7 +2945,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.sourceOfListedMaintenanceFunds }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2975,7 +2960,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.curingTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -2990,7 +2975,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3005,7 +2990,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.greeningMileaged }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3020,7 +3005,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.typeOfRepeatedRoadSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3035,7 +3020,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.serialNumberOfRepeatedSection }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3050,7 +3035,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.repeatedSectionRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3065,7 +3050,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategory }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3080,7 +3065,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3095,7 +3080,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNo }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3110,7 +3095,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3125,7 +3110,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectRouteCode }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3140,7 +3125,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectName }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3155,7 +3140,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedProjectType }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3170,7 +3155,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatus }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3185,7 +3170,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletion }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3200,7 +3185,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedFundCategoryOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3215,7 +3200,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.plannedYearOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3230,7 +3215,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planDocumentNoOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3245,7 +3230,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planItemUniqueCodeOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3260,7 +3245,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.planProjectNameOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3275,7 +3260,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.completionStatusOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3290,7 +3275,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.yearOfCompletionOne }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3305,7 +3290,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.stationRange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3320,7 +3305,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reportingUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3335,7 +3320,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.reasonForChange }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3350,7 +3335,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.changeTime }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3365,7 +3350,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.whetherMaintenanceManagedHighway }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3380,7 +3365,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.remarks }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3395,7 +3380,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeCodeOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3410,7 +3395,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.routeNameOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3425,7 +3410,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.startingStationOfLastYear }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3440,7 +3425,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.lastYearsEndingPointStakeNumber }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3455,7 +3440,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.graphicMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3470,7 +3455,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.chainageMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3485,7 +3470,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.districtcounty }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3500,7 +3485,7 @@ const TransporTationTable = (props) => { width: 140, render: (dom, record) => { - return record.address + return record.locationCity }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, @@ -3518,6 +3503,8 @@ const TransporTationTable = (props) => { onClick={() => { openModal('edit', record) setTypecard('111') + setRecortd(record) + }} >编辑 @@ -3555,52 +3542,55 @@ const TransporTationTable = (props) => { ); }, }, - ],tab4: [ + ], tab4: [ { - title: '路线名称', + title: '项目名称', dataIndex: 'placeName', fixed: 'left', width: 120, options: 1, backgroundColor: "#ffffff", fieldProps: { - onChange: (value, cs) => { - setSitename(value.currentTarget.value) - }, - placeholder: '请输入道路名称进行搜索', + // onChange: (value, cs) => { + // setSitename(value.currentTarget.value) + // }, + placeholder: '请输入项目名称进行搜索', getPopupContainer: (triggerNode) => triggerNode.parentNode, }, + render: (dom, record) => { + return record.entryName + }, }, { - title: '路线代码', + title: '工程里程(公里/延米)', search: false, dataIndex: 'containers', fixed: 'left', width: 120, render: (dom, record) => { - return record.address + return record.projectMileage }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '路段序号', + title: '投资(万元)', search: false, dataIndex: 'time2', valueType: 'dateRange', // align: 'right', width: 120, render: (dom, record) => { - return record.address + return record.investment }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '乡镇编码', + title: '建设单位', search: false, dataIndex: 'time3', valueType: 'dateRange', @@ -3609,13 +3599,13 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.buildUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '起点地名', + title: '监理单位', search: false, dataIndex: 'time4', valueType: 'dateRange', @@ -3623,13 +3613,13 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.constructionControlUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '起点桩号', + title: '设计单位', search: false, dataIndex: 'time5', valueType: 'dateRange', @@ -3637,13 +3627,13 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.designUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '起点分界点类别', + title: '施工单位', search: false, dataIndex: 'time6', valueType: 'dateRange', @@ -3651,13 +3641,13 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.constructionUnit }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '止点地名', + title: '监督负责人及监督人员', search: false, dataIndex: 'time7', valueType: 'dateRange', @@ -3665,13 +3655,13 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address + return record.supervisorAndSupervisor }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } }, { - title: '止点分界点类别', + title: '项目进展情况', search: false, dataIndex: 'time8', valueType: 'dateRange', @@ -3679,1112 +3669,122 @@ const TransporTationTable = (props) => { width: 120, render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '止点桩号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路段类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address + return record.projectProgress }, fieldProps: { getPopupContainer: (triggerNode) => triggerNode.parentNode, } - }, { - title: '路网调整前路线编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - + }, + { + title: '操作', + dataIndex: 'creatTime', + valueType: 'dateTimeRange', + hideInSearch: true, + width: 120, + fixed: 'right', render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '原路段序号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, + return
- render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, } - }, { - title: '原路段起点桩号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', + }, + { + key: "direction", + hideInTable: true, + dataIndex: "direction", + order: 6, + renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { + return ( +
+ +
- width: 140, - render: (dom, record) => { - return record.address + ); }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '原路段止点桩号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', + }, + ] + } + return ( + +
+ setActiveKey(key), + items: [ + { + key: 'tab1', + label: requestRoadway('县')}>县道{activeKey === 'tab1'}, + }, + { + key: 'tab2', + label: requestRoadway('乡')}>乡道{activeKey === 'tab2'}, + }, + { + key: 'tab3', + label: requestRoadway('村')}>村道{activeKey === 'tab3'}, + }, { + key: 'tab4', + label: requestProject()}>工程一览{activeKey === 'tab4'}, + }, + ], + }, + }} + scroll={{ x: 800 }} + options={false} + ref={c => { finishedProductTable = c; }} + style={{ width: "100% ", overflow: "auto", height: '760px' }} + rowKey='id' + onReset={(v) => { + const { id } = depMessage[0] + // console.log(id) + // setRegionId(id) + // setPlaceType(-1) + // setDay([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]) + // setSitename('') + }} + rowSelection={{ + selectedRowKeys: rowSelected, + onChange: (selectedRowKeys) => { + setRowSelected(selectedRowKeys); + }, + }} + columns={columns[activeKey]} + dataSource={counts || []} + request={async (params) => { + const query = { + level: '县' + } + setSitename('县') - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路线等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路段性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建成时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '改建时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '建设性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '最近一次修复养护年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: 'GBM及文明样板路', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '地貌', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '收费性质', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所属收费站', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '涵洞数量', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '技术等级', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路面类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '面层厚度(厘米)', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路面宽度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路基宽度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否晴雨通车', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '车道特征', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '设计时速', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否城管路段', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '管养单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '路政管理单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '列养情况', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '列养资金来源', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '养护时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '可绿化里程', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '已绿化里程', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '重复道路路段类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '重复路段序号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '重复路段路线编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划资金类别', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划文号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目唯一编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目路线编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目类型', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工情况', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划资金类别', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划文号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目唯一编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '计划项目名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工情况', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '完工年度', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桩号范围', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '填报单位', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更原因', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '变更时间', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '是否按干线公路管理接养', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '备注', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上年路线编码', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上年路线名称', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上年起点桩号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '上年止点桩号', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '图形里程', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '桩号里程', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在区县', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, { - title: '所在地市', - search: false, - dataIndex: 'time9', - valueType: 'dateRange', - - - width: 140, - - render: (dom, record) => { - return record.address - }, - fieldProps: { - getPopupContainer: (triggerNode) => triggerNode.parentNode, - } - }, - { - title: '操作', - dataIndex: 'creatTime', - valueType: 'dateTimeRange', - hideInSearch: true, - width: 120, - fixed: 'right', - render: (dom, record) => { - return
- - } - }, - { - key: "direction", - hideInTable: true, - dataIndex: "direction", - order: 6, - renderFormItem: (item, { type, defaultRender, ...rest }, form, record) => { - return ( -
- -
- - - ); - }, - }, - ] - } - return ( - -
- setActiveKey(key), - items: [ - { - key: 'tab1', - label: requestRoadway('县')}>县道{activeKey === 'tab1'}, - }, - { - key: 'tab2', - label: requestRoadway('乡')}>乡道{activeKey === 'tab2'}, - }, - { - key: 'tab3', - label: requestRoadway('村')}>村道{activeKey === 'tab3'}, - }, { - key: 'tab4', - label: requestProject()}>工程一览{activeKey === 'tab4'}, - }, - ], - }, - }} - scroll={{ x: 800 }} - options={false} - ref={c => { finishedProductTable = c; }} - style={{ width: "100% ", overflow: "auto", height: '760px' }} - rowKey='id' - onReset={(v) => { - const { id } = depMessage[0] - console.log(id) - setRegionId(id) - setPlaceType(-1) - setDay([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]) - setSitename('') - }} - rowSelection={{ - selectedRowKeys: rowSelected, - onChange: (selectedRowKeys) => { - setRowSelected(selectedRowKeys); - }, - }} - columns={columns[activeKey]} - - dataSource={counts|| []} - request={async (params) => { - const query = { - level: '县' - } - setRowSelected([]); - const res = await dispatch(getRoadway(query)); - console.log(res) + setRowSelected([]); + const res = await dispatch(getRoadway(query)); + // console.log(res) setCounts(res.payload.data) return { @@ -4804,19 +3804,109 @@ const TransporTationTable = (props) => { ], }} - >
- + rewkeys={'transportation'} + data={data} + recortd={recortd} + sitename={sitename} + setRecortd={setRecortd} + /> : ''} + {modalVisibleyilan ? : ''}
) } +const data = [ + { name: "路线名称", type: 'routeName' }, + { name: "路线代码", type: 'routeCode' }, + { name: "路段序号", type: 'sectionNo' }, + { name: "乡镇编码", type: 'townshipCode' }, + { name: "起点地名", type: 'startingPlaceName' }, + { name: "起点桩号", type: 'startStation' }, + { name: "起点分界点类别", type: 'categoryOfStartingPointAndDividingPoint' }, + { name: "止点地名", type: 'stopPlaceName' }, + { name: "止点分界点类别", type: 'categoryOfDeadCenterAndDividingPoint' }, + { name: "止点桩号", type: 'stopStation' }, + { name: "路段类型", type: 'sectionType' }, + { name: "路网调整前路线编码", type: 'routeCodeBeforeRoadNetworkAdjustment' }, + { name: "原路段序号", type: 'serialNumberOfOriginalSection' }, + { name: "原路段起点桩号", type: 'startingStakeNumberOfTheOriginalRoadSection' }, + { name: "原路段止点桩号", type: 'endingPointStakeNoOfTheOriginalRoadSection' }, + { name: "路线等级", type: 'routeLevel' }, + { name: "路段性质", type: 'natureOfRoadSection' }, + { name: "建成时间", type: 'completionTime' }, + { name: "改建时间", type: 'reconstructionTime' }, + { name: "建设性质", type: 'natureOfConstruction' }, + { name: "GBM及文明样板路", type: 'gBMAndCivilizedModelRoad' }, + { name: "地貌", type: 'landforms' }, + { name: "收费性质", type: 'natureOfCharges' }, + { name: "所属收费站", type: 'tollStation' }, + { name: "涵洞数量", type: 'numberOfCulverts' }, + { name: "技术等级", type: 'technicalLevel' }, + { name: "路面类型", type: 'pavementType' }, + { name: "路面宽度", type: 'pavementWidth' }, + { name: "路基宽度", type: 'subgradeWidth' }, + { name: "车道特征", type: 'laneCharacteristics' }, + { name: "是否晴雨通车", type: 'whetherItIsOpenToTrafficInSunnyOrRainyDays' }, + { name: "设计时速", type: 'designSpeedPerHour' }, + { name: "是否城管路段", type: 'urbanManagementSectionOrNot' }, + { name: "管养单位", type: 'managementAndMaintenanceUnit' }, + { name: "路政管理单位", type: 'roadAdministrationUnit' }, + { name: "列养情况", type: 'alimentation' }, + { name: "列养资金来源", type: 'sourceOfListedMaintenanceFunds' }, + { name: "养护时间", type: 'curingTime' }, + { name: "可绿化里程", type: 'greeningMileage' }, + { name: "已绿化里程", type: 'greeningMileaged' }, + { name: "重复道路路段类型", type: 'typeOfRepeatedRoadSection' }, + { name: "重复路段序号", type: 'serialNumberOfRepeatedSection' }, + { name: "重复路段路线编码", type: 'repeatedSectionRouteCode' }, + { name: "计划资金类别", type: 'plannedFundCategory' }, + { name: "计划年度", type: 'plannedYear' }, + { name: "计划文号", type: 'planDocumentNo' }, + { name: "计划项目唯一编码", type: 'planItemUniqueCode' }, + { name: "计划项目路线编码", type: 'plannedProjectRouteCode' }, + { name: "计划项目名称", type: 'planProjectName' }, + { name: "计划项目类型", type: 'plannedProjectType' }, + { name: "完工情况", type: 'completionStatus' }, + { name: "完工年度", type: 'yearOfCompletion' }, + { name: "计划资金类别_1", type: 'plannedFundCategoryOne' }, + { name: "计划年度_1", type: 'plannedYearOne' }, + { name: "计划文号_1", type: 'planDocumentNoOne' }, + { name: "计划项目唯一编码_1", type: 'planItemUniqueCodeOne' }, + { name: "计划项目名称_1", type: 'planProjectNameOne' }, + { name: "完工情况_1", type: 'completionStatusOne' }, + { name: "完工年度_1", type: 'yearOfCompletionOne' }, + { name: "桩号范围", type: 'stationRange' }, + { name: "填报单位", type: 'reportingUnit' }, + { name: "变更原因", type: 'reasonForChange' }, + { name: "变更时间", type: 'changeTime' }, + { name: "最近一次修复养护年度", type: 'lastRepairAndMaintenanceYear' }, + { name: "是否按干线公路管理接养", type: 'whetherMaintenanceManagedHighway' }, + { name: "备注", type: 'remarks' }, + { name: "上年路线编码", type: 'routeCodeOfLastYear' }, + { name: "上年路线名称", type: 'routeNameOfLastYear' }, + { name: "上年起点桩号", type: 'startingStationOfLastYear' }, + { name: "上年止点桩号", type: 'lastYearsEndingPointStakeNumber' }, + { name: "图形里程", type: 'graphicMileage' }, + { name: "桩号里程", type: 'chainageMileage' }, + { name: "所在区县", type: 'districtcounty' }, + { name: "所在地市", type: 'locationCity' }, + { name: "面层厚度", type: 'surfaceThickness' }, +] function mapStateToProps(state) { const { auth, depMessage } = state; const pakData = (dep) => { diff --git a/web/client/src/utils/webapi.js b/web/client/src/utils/webapi.js index 7e609424..7d55a301 100644 --- a/web/client/src/utils/webapi.js +++ b/web/client/src/utils/webapi.js @@ -45,10 +45,12 @@ export const ApiTable = { getSpecificVehicle: 'vehicle/specific', getHouseholds: 'vehicle/business', getRoadway: 'road', - //桥梁管理 - getBridge: 'bridge', - //工程数据 - getProject: 'project', + //桥梁管理 +getBridge:'bridge', +putBridge:'bridge', + //工程数据 +getProject:'project', +putProject:'project', //道路统计 getBgroadstatistics: "build/road_state", diff --git a/web/log/development.txt b/web/log/development.txt index 55947397..ead70b16 100644 --- a/web/log/development.txt +++ b/web/log/development.txt @@ -3481,4 +3481,1345 @@ ======= 2022-07-20 19:15:55.678 - debug: [FS-LOGGER] Init. 2022-07-20 19:15:56.118 - info: [Router] Inject api: attachment/index +<<<<<<< Updated upstream >>>>>>> 65cf2722eec21e1d07ce958f4298eec7ae620c85 +======= +2022-07-23 15:27:04.168 - debug: [FS-LOGGER] Init. +2022-07-23 15:27:04.699 - info: [Router] Inject api: attachment/index +2022-07-23 16:53:59.811 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=5daa3b44-d8d1-4902-a92d-1a4895094480&level=%E6%9D%91', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 10:26:07.826 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=5daa3b44-d8d1-4902-a92d-1a4895094480&level=%E5%8E%BF', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 11:28:13.352 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f&level=%E5%8E%BF', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 15:46:29.372 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'content-length': '1887', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'content-type': 'application/json', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + origin: 'http://localhost:5000', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'PUT', + body: '{"routeName":"袁渡-进贤文港","routeCode":"X943360121","sectionNo":"005","townshipCode":"360121200000","startingPlaceName":"桥","startStation":"1.849","categoryOfStartingPointAndDividingPoint":"非界点","stopPlaceName":"堤顶","categoryOfDeadCenterAndDividingPoint":"非界点","stopStation":"2.051","sectionType":"双向","serialNumberOfOriginalSection":"你换个","routeLevel":"不能同房","natureOfRoadSection":"正常路段","completionTime":"2003-01","reconstructionTime":"2018-12","natureOfConstruction":"重建","landforms":"平原","natureOfCharges":"非收费","numberOfCulverts":"0","technicalLevel":"三级公路","pavementType":"沥青混凝土","pavementWidth":"6.5","subgradeWidth":"7.5","laneCharacteristics":"双车道","whetherItIsOpenToTrafficInSunnyOrRainyDays":"是","designSpeedPerHour":"30","urbanManagementSectionOrNot":"否","managementAndMaintenanceUnit":"11101360121南昌市南昌县交通局","roadAdministrationUnit":"南昌县交通运输局","alimentation":"列养","sourceOfListedMaintenanceFunds":"燃油税","curingTime":"经常性","greeningMileage":"0.202","greeningMileaged":"0.202","plannedFundCategory":"其它","plannedYear":"2019","planDocumentNo":"赣路县字(2019)14号","planItemUniqueCode":"2018360121005","plannedProjectRouteCode":"X943360121","planProjectName":"黄马-桐源","plannedProjectType":"县道升级改造","completionStatus":"未完工","yearOfCompletion":"2020","reportingUnit":"361011000南昌市交通局","reasonForChange":"无变更","changeTime":"2020-11","whetherMaintenanceManagedHighway":"否","remarks":"2016路网调整","routeCodeOfLastYear":"X943360121","routeNameOfLastYear":"袁渡-进贤文港","startingStationOfLastYear":"1.849","lastYearsEndingPointStakeNumber":"2.051","graphicMileage":"0.202","chainageMileage":"0.202","districtcounty":"南昌县","locationCity":"南昌市","roadId":2800}', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 15:52:40.728 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f&level=%E5%8E%BF', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 16:01:11.229 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'content-length': '1621', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'content-type': 'application/json', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + origin: 'http://localhost:5000', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'PUT', + body: '{"categoryOfDeadCenterAndDividingPoint":"非界点","stopStation":"2.051","sectionType":"双向","serialNumberOfOriginalSection":"你和","natureOfRoadSection":"正常路段","completionTime":"2003-01","reconstructionTime":"2018-12","natureOfConstruction":"重建","landforms":"平原","natureOfCharges":"非收费","numberOfCulverts":"0","technicalLevel":"三级公路","pavementType":"沥青混凝土","pavementWidth":"6.5","subgradeWidth":"7.5","laneCharacteristics":"双车道","whetherItIsOpenToTrafficInSunnyOrRainyDays":"是","designSpeedPerHour":"30","urbanManagementSectionOrNot":"否","managementAndMaintenanceUnit":"11101360121南昌市南昌县交通局","roadAdministrationUnit":"南昌县交通运输局","alimentation":"列养","sourceOfListedMaintenanceFunds":"燃油税","curingTime":"经常性","greeningMileage":"0.202","greeningMileaged":"0.202","plannedFundCategory":"其它","plannedYear":"2019","planDocumentNo":"赣路县字(2019)14号","planItemUniqueCode":"2018360121005","plannedProjectRouteCode":"X943360121","planProjectName":"黄马-桐源","plannedProjectType":"县道升级改造","completionStatus":"未完工","yearOfCompletion":"2020","reportingUnit":"361011000南昌市交通局","reasonForChange":"无变更","changeTime":"2020-11","whetherMaintenanceManagedHighway":"否","remarks":"2016路网调整","routeCodeOfLastYear":"X943360121","routeNameOfLastYear":"袁渡-进贤文港","startingStationOfLastYear":"1.849","lastYearsEndingPointStakeNumber":"2.051","graphicMileage":"0.202","chainageMileage":"0.202","districtcounty":"南昌县","locationCity":"南昌市","roadId":2800}', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 16:11:10.293 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/department?token=df45f1e7-883c-4a06-85aa-cf985043c25f', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 16:14:44.623 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f&level=%E5%8E%BF', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 16:20:37.830 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/road?token=df45f1e7-883c-4a06-85aa-cf985043c25f', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'content-length': '1803', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'content-type': 'application/json', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + origin: 'http://localhost:5000', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'PUT', + body: '{"routeName":"袁渡-进贤文港草草草草","routeCode":"X943360121","sectionNo":"004","townshipCode":"360121200000","startingPlaceName":"桥口","startStation":"1.051","categoryOfStartingPointAndDividingPoint":"非界点","stopPlaceName":"桥","categoryOfDeadCenterAndDividingPoint":"非界点","stopStation":"1.849","sectionType":"双向","natureOfRoadSection":"正常路段","completionTime":"2019-11","natureOfConstruction":"新建","landforms":"微丘","natureOfCharges":"非收费","numberOfCulverts":"0","technicalLevel":"三级公路","pavementType":"沥青混凝土","pavementWidth":"6.5","subgradeWidth":"7.5","laneCharacteristics":"双车道","whetherItIsOpenToTrafficInSunnyOrRainyDays":"是","designSpeedPerHour":"30","urbanManagementSectionOrNot":"否","managementAndMaintenanceUnit":"11101360121南昌市南昌县交通局","roadAdministrationUnit":"南昌县交通运输局","alimentation":"列养","sourceOfListedMaintenanceFunds":"其他","curingTime":"经常性","greeningMileage":"0.798","greeningMileaged":"0.798","plannedFundCategory":"其它","plannedYear":"2019","planDocumentNo":"赣路县字(2019)14号","planItemUniqueCode":"2018360121005","plannedProjectRouteCode":"X943360121","planProjectName":"黄马-桐源","plannedProjectType":"县道升级改造","completionStatus":"未完工","yearOfCompletion":"2020","reportingUnit":"361011211南昌县交通局","reasonForChange":"无变更","changeTime":"2020-11","whetherMaintenanceManagedHighway":"否","remarks":"新增道路","routeCodeOfLastYear":"X943360121","routeNameOfLastYear":"袁渡-进贤文港","startingStationOfLastYear":"1.051","lastYearsEndingPointStakeNumber":"1.849","graphicMileage":"0.802","chainageMileage":"0.798","districtcounty":"南昌县","locationCity":"南昌市","level":"县","roadId":2799}', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 17:13:48.396 - error: [FS-ERRHD] +{ + message: 'Error: socket hang up', + name: 'RequestError', + cause: { code: 'ECONNRESET' }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'https://3024-117-90-36-177.jp.ngrok.io/login', + headers: { + host: '3024-117-90-36-177.jp.ngrok.io', + connection: 'keep-alive', + 'content-length': '55', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'content-type': 'application/json', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-platform': '"Windows"', + expires: '-1', + accept: '*/*', + origin: 'http://localhost:5000', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/signin', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'POST', + body: '{"username":"SuperAdmin","password":"123456","p":"456"}', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: socket hang up\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at TLSSocket.socketOnEnd (_http_client.js:458:9)\n' + + ' at TLSSocket.emit (events.js:326:22)\n' + + ' at endReadableNT (_stream_readable.js:1241:12)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-25 17:20:38.059 - debug: [FS-LOGGER] Init. +2022-07-25 17:20:38.539 - info: [Router] Inject api: attachment/index +2022-07-26 08:24:40.399 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/road?token=3de82f98-253d-4ebd-a444-eff69920459b&level=%E5%8E%BF', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:24:50.233 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/department?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:24:50.640 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/road?token=3de82f98-253d-4ebd-a444-eff69920459b&level=%E5%8E%BF', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:31:48.455 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/department?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:31:48.847 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/road?token=3de82f98-253d-4ebd-a444-eff69920459b&level=%E5%8E%BF', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:03.454 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/vehicle?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:05.740 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/vehicle/specific?token=3de82f98-253d-4ebd-a444-eff69920459b&%E5%87%BA%E7%A7%9F%E8%BD%A6', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:06.536 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/vehicle/specific?token=3de82f98-253d-4ebd-a444-eff69920459b&%E5%8D%B1%E8%B4%A7', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:07.314 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/vehicle/business?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:11.486 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/department?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:11.816 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/vehicle?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/operational', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:33:57.281 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/road?token=3de82f98-253d-4ebd-a444-eff69920459b&level=%E5%8E%BF', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:34:32.742 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/department?token=3de82f98-253d-4ebd-a444-eff69920459b', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +2022-07-26 08:34:33.166 - error: [FS-ERRHD] +{ + message: 'Error: connect ETIMEDOUT 10.8.30.7:14000', + name: 'RequestError', + cause: { + errno: 'ETIMEDOUT', + code: 'ETIMEDOUT', + syscall: 'connect', + address: '10.8.30.7', + port: 14000 + }, + error: { '$ref': '$["cause"]' }, + options: { + jar: false, + url: 'http://10.8.30.7:14000/road?token=3de82f98-253d-4ebd-a444-eff69920459b&level=%E5%8E%BF', + headers: { + host: '10.8.30.7:14000', + connection: 'keep-alive', + 'sec-ch-ua': '".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"', + expires: '-1', + 'cache-control': 'no-cache,no-store,must-revalidate,max-age=-1,private', + 'x-requested-with': 'XMLHttpRequest', + 'sec-ch-ua-mobile': '?0', + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36', + 'sec-ch-ua-platform': '"Windows"', + accept: '*/*', + 'sec-fetch-site': 'same-origin', + 'sec-fetch-mode': 'cors', + 'sec-fetch-dest': 'empty', + referer: 'http://localhost:5000/fillion/transportation', + 'accept-encoding': 'gzip, deflate, br', + 'accept-language': 'zh-CN,zh;q=0.9' + }, + encoding: null, + followRedirect: true, + method: 'GET', + body: '[object Object]', + simple: false, + resolveWithFullResponse: true, + callback: [Function: RP$callback], + transform: undefined, + transform2xxOnly: false + }, + response: undefined, + stack: 'RequestError: Error: connect ETIMEDOUT 10.8.30.7:14000\n' + + ' at new RequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\errors.js:14:15)\n' + + ' at Request.plumbing.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:87:29)\n' + + ' at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + + ' at self.callback (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:185:22)\n' + + ' at Request.emit (events.js:314:20)\n' + + ' at Request.onRequestError (C:\\Users\\Administrator\\Desktop\\项目\\sihao\\Highways4Good\\web\\node_modules\\request\\request.js:877:8)\n' + + ' at ClientRequest.emit (events.js:314:20)\n' + + ' at Socket.socketErrorListener (_http_client.js:427:9)\n' + + ' at Socket.emit (events.js:314:20)\n' + + ' at emitErrorNT (internal/streams/destroy.js:92:8)\n' + + ' at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' + + ' at processTicksAndRejections (internal/process/task_queues.js:84:21)' +} +>>>>>>> Stashed changes diff --git a/web/package-lock.json b/web/package-lock.json index d9bc70d5..439ff88c 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -7585,7 +7585,7 @@ "lodash": { "version": "4.17.21", "resolved": "http://npm.anxinyun.cn/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash-es": { "version": "4.17.21", diff --git a/web/package.json b/web/package.json index d4a3bb2c..34fe8ca5 100644 --- a/web/package.json +++ b/web/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "mocha", "start": "cross-env NODE_ENV=development npm run start-params", - "start-params": "npm run color && node server -p 5000 -u https://3024-117-90-36-177.jp.ngrok.io", + "start-params": "npm run color && node server -p 5000 -u http://10.8.30.7:14000", "deploy": "export NODE_ENV=production&&npm run color && npm run build && node server", "build-dev": "export NODE_ENV=development&&webpack --config webpack.config.js", "build": "export NODE_ENV=production&&webpack --config webpack.config.prod.js", @@ -82,6 +82,7 @@ "koa-convert": "^2.0.0", "koa-proxy": "^1.0.0-alpha.3", "koa-view": "^2.1.4", + "lodash": "^4.17.21", "mini-dynamic-antd-theme": "^0.5.3", "moment": "^2.22.0", "react-color": "^2.19.3", From 23bbec827e6a571210870d36ed806a1bbe4a0ac2 Mon Sep 17 00:00:00 2001 From: xingyongchun Date: Tue, 26 Jul 2022 10:30:17 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fillion/components/project/project.js | 222 ++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 web/client/src/sections/fillion/components/project/project.js diff --git a/web/client/src/sections/fillion/components/project/project.js b/web/client/src/sections/fillion/components/project/project.js new file mode 100644 index 00000000..819a001e --- /dev/null +++ b/web/client/src/sections/fillion/components/project/project.js @@ -0,0 +1,222 @@ +import React, { useEffect, useState } from 'react'; +import { connect } from 'react-redux'; +import { Form, Spin, Table } from 'antd'; +import { DrawerForm, ProForm, ProFormText,ProFormSelect } from '@ant-design/pro-form'; +import { putProject } from "../../actions/infor" + +const data = { + "entryName": "项目名称", + "projectMileage": "工程里程", + "investment": "投资", + "buildUnit": "建设单位", + "constructionControlUnit": "监理单位", + "designUnit": "设计单位", + "constructionUnit": "施工单位", + "supervisorAndSupervisor": "监督负责人及监督人员", + "projectProgress": "项目进展情况" +} +const ProjectModal = (props) => { + const { visible, onVisibleChange, typecard, rewkeys, recortd, sitename, dispatch, setRecortd, engineering } = props + const [newlys, setNewlys] = useState() //必填数据 + const [newlysay, setNewlysay] = useState() //处理hou + const [records, setRecords] = useState()//处理 + const [recordsay, setRecordsay] = useState()//必填数据 + const [success, setSuccess] = useState() //状态 + const [flage, setFlage] = useState() //xiangmujinzhan + useEffect(() => { + const array = [] + if (rewkeys === 'road') { + _.forIn(data, function (value, key) { + array.push({ name: value, type: key }) + }); + setNewlys(array?.splice(0, 2)) + setNewlysay(array) + // console.log() + + } + if (rewkeys === 'bridge') { + _.forIn(data, function (value, key) { + array.push({ name: value, type: key }) + }); + setNewlys(array?.splice(0, 2)) + setNewlysay(array) + // console.log() + + } + }, []) + useEffect(() => { + const arr = [] + if (rewkeys === 'road') { + _.forIn(recortd, function (value, key) { + arr.push({ value: value, type: key }) + }); + setRecordsay(arr.splice(1, 2)) + + setRecords(arr) + } + if (rewkeys === 'bridge') { + _.forIn(recortd, function (value, key) { + arr.push({ value: value, type: key }) + }); + setRecordsay(arr.splice(1, 2)) + setRecords(arr) + } + }, [recortd]) + useEffect(() => { + return () => { + setRecortd() + } + }, []) + // console.log(recortd) + return ( + + {/* { + newlysay ? */} + { + if (rewkeys === 'road') { + if (typecard == '111') { + console.log(values) + const query = { ...values, type:rewkeys } + dispatch(putProject(query)).then((res) => { + setSuccess(res.success) + }) + return success + } else { + const query = { ...values, type:rewkeys } + dispatch(putProject(query)).then((res) => { + setSuccess(res.success) + }) + return success + } + } + if (rewkeys === 'bridge') { + if (typecard == '111') { + console.log(values) + const query = { ...values, type:rewkeys } + dispatch(putProject(query)).then((res) => { + setSuccess(res.success) + }) + return success + } else { + const query = { ...values, type:rewkeys } + dispatch(putProject(query)).then((res) => { + setSuccess(res.success) + }) + return success + } + } + }} + initialValues={recortd} + > + {typecard == '111' ? + + + + {newlysay?.map((item, index) => { + return + })} + + + : + + + {newlysay?.map((item, index) => { + return + })} + } + + + {/* : '' + } */} + + + ) +} +function mapStateToProps(state) { + const { depMessage } = state; + const pakData = (dep) => { + return dep.map((d) => { + return { + title: d.name, + value: d.id, + children: pakData(d.subordinate) + } + }) + } + let depData = pakData(depMessage.data || []) + return { + loading: depMessage.isRequesting, + depData, + }; +} +export default connect(mapStateToProps)(ProjectModal); \ No newline at end of file From 59c0a30bba7d72342a2baeb6334b65f16747f3ed Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Tue, 26 Jul 2022 10:56:55 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E5=85=BB=E6=8A=A4?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/components/inputPicker/index.jsx | 16 +- .../components/inputPicker/index.scss | 2 +- weapp/src/packages/patrol/index.jsx | 352 ++++++++++++------ weapp/src/packages/patrol/index.scss | 10 + weapp/src/packages/patrolView/index.jsx | 10 +- weapp/src/pages/home/index.jsx | 2 +- weapp/src/services/api.js | 11 +- 7 files changed, 282 insertions(+), 121 deletions(-) diff --git a/weapp/src/packages/components/inputPicker/index.jsx b/weapp/src/packages/components/inputPicker/index.jsx index f6b4b197..2525048b 100644 --- a/weapp/src/packages/components/inputPicker/index.jsx +++ b/weapp/src/packages/components/inputPicker/index.jsx @@ -2,12 +2,12 @@ * 输入框筛选选择器 */ import React, { useState, useEffect } from 'react' -import { View, Picker, Image, Input } from '@tarojs/components' +import { View, Picker, Image, Input, Text } from '@tarojs/components' import arrowIcon from '../../../static/img/patrol/arrow-down.svg' import './index.scss' export default function InputPicker(props) { - const { title, placeholder, selector, value, onInput } = props + const { title, placeholder, selector, value, onInput, isView } = props const [curSelector, setCurSelector] = useState([]) useEffect(() => { @@ -30,7 +30,7 @@ export default function InputPicker(props) { return ( - {title} + {title} - - - + { + !isView && + + + + } ) } \ No newline at end of file diff --git a/weapp/src/packages/components/inputPicker/index.scss b/weapp/src/packages/components/inputPicker/index.scss index 5a167df3..52649cdc 100644 --- a/weapp/src/packages/components/inputPicker/index.scss +++ b/weapp/src/packages/components/inputPicker/index.scss @@ -13,7 +13,7 @@ align-items: center; .title { - margin-left: 30px; + margin-left: 12px; } .input { diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index aa7140d9..3ff00be1 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import Taro from '@tarojs/taro'; +import Taro, { useRouter } from '@tarojs/taro'; import { View, RadioGroup, @@ -9,14 +9,19 @@ import { Input, Picker } from '@tarojs/components'; -import { AtButton, AtTextarea, AtImagePicker } from 'taro-ui'; +import { AtButton, AtTextarea, AtImagePicker, AtAvatar } from 'taro-ui'; import InputPicker from '../components/inputPicker'; import request from '@/services/request'; -import { postReport } from '@/services/api'; +import { postReport, getReportDetail } from '@/services/api'; import './index.scss'; import arrowIcon from '../../static/img/patrol/arrow-down.svg'; const Index = () => { + const router = useRouter() + const { params: { type } } = router + const isView = type === 'view' ? true : false + + const [reportType, setReportType] = useState('patrol') // 上报类型 const [projectType, setProjectType] = useState('') // 工程类型 const [road, setRoad] = useState('') // 所在道路 @@ -32,6 +37,21 @@ const Index = () => { const [roadStartSelector, setRoadStartSelector] = useState([]) const [roadEndSelector, setRoadEndSelector] = useState([]) + const [canReport, setCanReport] = useState(true) + + const [typeList, setTypeList] = useState([ + { + value: 'patrol', + text: '巡查', + checked: true + }, + { + value: 'conserve', + text: '养护', + checked: false + } + ]) + const rPrjTypeSelector = ['道路', '桥梁', '涵洞', '其他'] const rRoadSelector = ['富山一路', '金沙大道', '玉湖路'] @@ -39,11 +59,61 @@ const Index = () => { const rRoadEndSelector = ['一段', '二段', '三段'] useEffect(() => { + if (isView) { + Taro.showLoading({ + title: '加载中' + }) + request.get(getReportDetail(router.params.id)).then(res => { + Taro.hideLoading() + if (res.statusCode == 200 || res.statusCode == 204) { + const { data } = res + setReportType(data.reportType) + setProjectType(data.projectType) + setRoad(data.road) + setRoadSectionStart(data.roadSectionStart) + setRoadSectionEnd(data.roadSectionEnd) + setAddress(data.address) + setContent(data.content) + setScenePic(data.scenePic ? data.scenePic.map(item => ({ url: item })) : []) + setConserveBeforePic(data.conserveBeforePic ? data.conserveBeforePic.map(item => ({ url: item })) : []) + setConserveUnderwayPic(data.conserveUnderwayPic ? data.conserveUnderwayPic.map(item => ({ url: item })) : []) + setConserveAfterPic(data.conserveAfterPic ? data.conserveAfterPic.map(item => ({ url: item })) : []) + } else { + Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) + } + }, err => { + Taro.showToast({ title: err.message || '请求出错', icon: 'none' }) + }) + } setRoadStartSelector(rRoadStartSelector) setRoadEndSelector(rRoadEndSelector) }, []) + useEffect(() => { + setTypeList([ + { + value: 'patrol', + text: '巡查', + checked: reportType === 'patrol' ? true : false + }, + { + value: 'conserve', + text: '养护', + checked: reportType === 'conserve' ? true : false + } + ]) + }, [reportType]) + function report() { + if (!canReport) { return } + if (!projectType || !road) { + Taro.showToast({ title: '请完善必填信息', icon: 'none' }) + return + } + if (rPrjTypeSelector.indexOf(projectType) === -1) { + Taro.showToast({ title: '工程类型错误', icon: 'none' }) + return + } let data = { reportType, projectType, @@ -52,34 +122,46 @@ const Index = () => { roadSectionEnd, address, content, - longitude: 37.000000000000, - latitude: 69.000000000000 + // longitude: 37.000000000000, + // latitude: 69.000000000000 } if (reportType === 'patrol') { - data['scenePic'] = scenePic.length > 0 && scenePic.map(item => item.url) + data['scenePic'] = scenePic.length > 0 ? scenePic.map(item => item.url) : null } else { - data['conserveBeforePic'] = conserveBeforePic.length > 0 && conserveBeforePic.map(item => item.url) - data['conserveUnderwayPic'] = conserveUnderwayPic.length > 0 && conserveUnderwayPic.map(item => item.url) - data['conserveAfterPic'] = conserveAfterPic.length > 0 && conserveAfterPic.map(item => item.url) - } - for (var key in data) { - if (!data[key]) { - Taro.showToast({ title: '请完善信息', icon: 'none' }) - return - } - } - if (rPrjTypeSelector.indexOf(data.projectType) === -1) { - Taro.showToast({ title: '工程类型错误', icon: 'none' }) - return + data['conserveBeforePic'] = conserveBeforePic.length > 0 ? conserveBeforePic.map(item => item.url) : null + data['conserveUnderwayPic'] = conserveUnderwayPic.length > 0 ? conserveUnderwayPic.map(item => item.url) : null + data['conserveAfterPic'] = conserveAfterPic.length > 0 ? conserveAfterPic.map(item => item.url) : null } - request.post(postReport(), data).then(res => { - if (res.statusCode == 200 || res.statusCode == 204) { - Taro.showToast({ title: '上报成功', icon: 'none' }) - } else { - Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) + + Taro.showModal({ + title: '提示', + content: '您要进行信息上报么?', + success: function (res) { + if (res.confirm) { + setCanReport(false) + setTimeout(() => { + setCanReport(true) + }, 3000) // 3秒内不可以重复点击 + Taro.showLoading({ + title: '上报中' + }) + request.post(postReport(), data).then(res => { + Taro.hideLoading() + if (res.statusCode == 200 || res.statusCode == 204) { + Taro.showToast({ title: '上报成功', icon: 'none', duration: 1500 }) + setTimeout(() => { + Taro.reLaunch({ + url: '/pages/home/index' + }); + }, 1500) + } else { + Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) + } + }, err => { + Taro.showToast({ title: err.message || '请求出错', icon: 'none' }) + }) + } } - }, err => { - Taro.showToast({ title: err.message || '请求出错', icon: 'none' }) }) } @@ -139,18 +221,105 @@ const Index = () => { }) } - const typeList = [ - { - value: 'patrol', - text: '巡查', - checked: true - }, - { - value: 'conserve', - text: '养护', - checked: false - } - ] + function renderAddImg() { + return ( + reportType === 'patrol' ? + + 现场图片: + = 3 ? false : true} + files={scenePic} + onChange={files => handleImgChange(files, 'scenePic')} + onImageClick={handleImgClick} + /> + : + + 养护图片: + + + 养护前 + + = 3 ? false : true} + files={conserveBeforePic} + onChange={files => handleImgChange(files, 'conserveBeforePic')} + onImageClick={handleImgClick} + /> + + + 养护中 + + = 3 ? false : true} + files={conserveUnderwayPic} + onChange={files => handleImgChange(files, 'conserveUnderwayPic')} + onImageClick={handleImgClick} + /> + + + 养护后 + + = 3 ? false : true} + files={conserveAfterPic} + onChange={files => handleImgChange(files, 'conserveAfterPic')} + onImageClick={handleImgClick} + /> + + ) + } + + function renderViewImg() { + return ( + reportType === 'patrol' ? + + 现场图片: + + {scenePic.map(item => ( + handleImgClick(undefined, item)} /> + ))} + + : + + 养护图片: + + + 养护前 + + + {conserveBeforePic.map(item => ( + handleImgClick(undefined, item)} /> + ))} + + + + 养护中 + + + {conserveUnderwayPic.map(item => ( + handleImgClick(undefined, item)} /> + ))} + + + + 养护后 + + + {conserveAfterPic.map(item => ( + handleImgClick(undefined, item)} /> + ))} + + + ) + } return ( @@ -166,6 +335,7 @@ const Index = () => { checked={item.checked} className='radio' color='#346FC2' + disabled={isView} > {item.text} @@ -181,6 +351,7 @@ const Index = () => { value={projectType} onInput={setProjectType} selector={rPrjTypeSelector} + isView={isView} /> { value={road} onInput={setRoad} selector={rRoadSelector} + isView={isView} /> @@ -195,34 +367,42 @@ const Index = () => { handleInput(e, 'roadSectionStart')} + disabled={isView} /> - setRoadSectionStart(roadStartSelector[e.detail.value])} - > - - + { + isView && + setRoadSectionStart(roadStartSelector[e.detail.value])} + > + + + } 至  handleInput(e, 'roadSectionEnd')} + disabled={isView} /> - setRoadSectionEnd(roadEndSelector[e.detail.value])} - > - - + { + isView && + setRoadSectionEnd(roadEndSelector[e.detail.value])} + > + + + } @@ -230,73 +410,29 @@ const Index = () => { handleInput(e, 'address')} + disabled={isView} /> handleInput(e, 'content')} + disabled={isView} /> { - reportType === 'patrol' ? - - 现场图片: - = 3 ? false : true} - files={scenePic} - onChange={files => handleImgChange(files, 'scenePic')} - onImageClick={handleImgClick} - /> - : - - 养护图片: - - - 养护前 - - = 3 ? false : true} - files={conserveBeforePic} - onChange={files => handleImgChange(files, 'conserveBeforePic')} - onImageClick={handleImgClick} - /> - - - 养护中 - - = 3 ? false : true} - files={conserveUnderwayPic} - onChange={files => handleImgChange(files, 'conserveUnderwayPic')} - onImageClick={handleImgClick} - /> - - - 养护后 - - = 3 ? false : true} - files={conserveAfterPic} - onChange={files => handleImgChange(files, 'conserveAfterPic')} - onImageClick={handleImgClick} - /> - + isView ? + renderViewImg() : + renderAddImg() + } + { + !isView && 上报 } - 上报 ) } diff --git a/weapp/src/packages/patrol/index.scss b/weapp/src/packages/patrol/index.scss index 186500ad..d5040252 100644 --- a/weapp/src/packages/patrol/index.scss +++ b/weapp/src/packages/patrol/index.scss @@ -73,6 +73,16 @@ page { background-color: #fff; padding: 20px; + .img-box { + display: flex; + flex-wrap: wrap; + + .img { + width: 170px; + height: 170px; + margin: 10px 0 0 10px; + } + } } .conserve-img { diff --git a/weapp/src/packages/patrolView/index.jsx b/weapp/src/packages/patrolView/index.jsx index 2b768793..7b55672d 100644 --- a/weapp/src/packages/patrolView/index.jsx +++ b/weapp/src/packages/patrolView/index.jsx @@ -89,17 +89,21 @@ function Index() { } } + const handleDetail = index => { + Taro.navigateTo({ url: `/packages/patrol/index?type=view&id=${listData[index].id}` }) + } + return ( onTypeChange(true)}> - 巡查 + 巡查 onTypeChange(false)}> - 养护 + 养护 @@ -127,7 +131,7 @@ function Index() { {e.road} 填报人: - {e.user.name} + {e.user && e.user.name} {moment(e.time).format('YYYY-MM-DD HH:mm:ss')} diff --git a/weapp/src/pages/home/index.jsx b/weapp/src/pages/home/index.jsx index ca1d68ca..30856ce5 100644 --- a/weapp/src/pages/home/index.jsx +++ b/weapp/src/pages/home/index.jsx @@ -10,7 +10,7 @@ const Index = () => { function toPatrol() { Taro.navigateTo({ - url: '/packages/patrol/index' + url: '/packages/patrol/index?type=edit' }) } function toPatrolView() { diff --git a/weapp/src/services/api.js b/weapp/src/services/api.js index dab3cd0f..7579a34d 100644 --- a/weapp/src/services/api.js +++ b/weapp/src/services/api.js @@ -7,12 +7,19 @@ export const getLogoutUrl = () => { return `/logout`; }; +// 巡查上报 +export const postReport = () => { + return `/report`; +}; + +// 获取上报列表 export const getReportList = () => { return `/report/list`; }; -export const postReport = () => { - return `/report`; +// 获取上报详情 +export const getReportDetail = id => { + return `/report/${id}/detail`; }; //行业查询