From 5919ea8b77e03dbcb9c9c7b1e0f151a341fc6be3 Mon Sep 17 00:00:00 2001 From: ww664853070 Date: Fri, 4 Aug 2023 15:54:37 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E7=9F=AD=E4=BF=A1=E6=8F=90=E9=86=92?= =?UTF-8?q?=E5=8F=AA=E5=9C=A8=E5=BC=82=E5=B8=B8=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sections/fillion/components/patrolTable.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/web/client/src/sections/fillion/components/patrolTable.js b/web/client/src/sections/fillion/components/patrolTable.js index be4f401b..36449bd5 100644 --- a/web/client/src/sections/fillion/components/patrolTable.js +++ b/web/client/src/sections/fillion/components/patrolTable.js @@ -95,7 +95,6 @@ const DetailForm = (props) => { ]; const changeBoolean = (bool) => { - //console.log('bool', bool) return bool ? '无异常' : '有异常' } const renderContent = (data) => { @@ -616,7 +615,6 @@ const PatrolNameList = (props) => { } } - // console.log('selectedKeys', selectedKeys, selected, selectedNodes, node) }; @@ -816,14 +814,12 @@ const PatrolTable = (props) => { } } useEffect(() => { - console.log(anspectionNotificationPhoneList, '数据'); let phoneList = [] if (anspectionNotificationPhoneList && anspectionNotificationPhoneList.length) { phoneList = anspectionNotificationPhoneList.map(e => { return e.phone }) } - console.log(phoneList, '789789789789'); setPhoneList(phoneList) }, [anspectionNotificationPhoneList]) @@ -834,7 +830,6 @@ const PatrolTable = (props) => { const handleOk = () => { // setIsModalOpen(false); form.validateFields().then(values => { - console.log(values, '----------'); dispatch(addAnspectionNotificationPhone(values)).then(res => { if (res.success) { setIsModalOpen(false); @@ -864,7 +859,10 @@ const PatrolTable = (props) => { sm: { span: 20, offset: 4 }, }, }; + let routerUrl = window.location.href + routerUrl = routerUrl.substring(routerUrl.length - 14) + console.log(routerUrl, '========='); return (
@@ -910,7 +908,10 @@ const PatrolTable = (props) => { : '' } - + { + routerUrl == 'patrol_anomaly' ? : '' + } + {/* */}
: '' @@ -926,7 +927,7 @@ const PatrolTable = (props) => {
-