From fcb19a2222f12d0497954150c4af0718b076e769 Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Thu, 21 Dec 2023 14:22:47 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=88*=EF=BC=89=E6=96=B0=E5=A2=9E=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E8=A1=A8=E5=8D=95=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fillion/components/infor/details.js | 31 ++++++++++++++----- .../fillion/components/transportationTable.js | 1 + 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/web/client/src/sections/fillion/components/infor/details.js b/web/client/src/sections/fillion/components/infor/details.js index 05e30b17..be0b44d9 100644 --- a/web/client/src/sections/fillion/components/infor/details.js +++ b/web/client/src/sections/fillion/components/infor/details.js @@ -1,7 +1,7 @@ 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 { DrawerForm, ProForm, ProFormText, ProFormSelect, ProFormCheckbox } from '@ant-design/pro-form'; import { putRoadway, putSpecificVehicle, putHouseholds, putCircuit, putVehicle, putPurchase } from "../../actions/infor" import { putBridge } from "../../actions/infor" import _ from 'lodash' @@ -327,10 +327,18 @@ const UserModal = (props) => { showSearch={true} name='townshipCode' label='所属乡镇' - /> : + /> : + item.type == 'spot' ? + + : + })} @@ -390,9 +398,16 @@ const UserModal = (props) => { name='townshipCode' label='所属乡镇' /> : - + item.type == 'spot' ? + + : + })} } diff --git a/web/client/src/sections/fillion/components/transportationTable.js b/web/client/src/sections/fillion/components/transportationTable.js index f41fff84..dc469633 100644 --- a/web/client/src/sections/fillion/components/transportationTable.js +++ b/web/client/src/sections/fillion/components/transportationTable.js @@ -4141,6 +4141,7 @@ const data = [ { name: "所在区县", type: 'districtcounty' }, { name: "所在地市", type: 'locationCity' }, { name: "面层厚度", type: 'surfaceThickness' }, + { name: "是否隐藏", type: 'spot' }, ] function mapStateToProps (state) { const { auth, depMessage, villageList } = state