From a6770bb759679e872e96a13ec77442ff41faaefa Mon Sep 17 00:00:00 2001 From: wenlele Date: Fri, 27 Oct 2023 16:33:26 +0800 Subject: [PATCH] =?UTF-8?q?showClear=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sections/service/components/automatic-Modal.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/client/src/sections/service/components/automatic-Modal.jsx b/web/client/src/sections/service/components/automatic-Modal.jsx index 36a2313..2ddadec 100644 --- a/web/client/src/sections/service/components/automatic-Modal.jsx +++ b/web/client/src/sections/service/components/automatic-Modal.jsx @@ -140,7 +140,7 @@ const AutomaticModal = ({ actions, dispatch, apiRoot, qiniuUrl, visible, eidtDat initValue={eidtData?.reportName || ""} rules={[{ required: true, message: "请输入报表名称" }]} /> - { @@ -161,7 +161,7 @@ const AutomaticModal = ({ actions, dispatch, apiRoot, qiniuUrl, visible, eidtDat initValue={eidtData?.projectName || ""} rules={[{ required: true, message: "请输入项目名称" }]} /> - - { @@ -213,7 +213,7 @@ const AutomaticModal = ({ actions, dispatch, apiRoot, qiniuUrl, visible, eidtDat initValue={eidtData?.reportStartTime && [moment(eidtData?.reportStartTime).format('YYYY-MM-DD HH:mm:ss'), moment(eidtData?.reportEndTime).format('YYYY-MM-DD HH:mm:ss')] || null} rules={[{ required: true, message: "请选择开始结束时间" }]} /> - s.codeName) || []} rules={[{ required: true, message: "请选择监测因素" }]} disabled={structId ? false : true} onChange={v => { @@ -259,7 +259,7 @@ const AutomaticModal = ({ actions, dispatch, apiRoot, qiniuUrl, visible, eidtDat /> } - c.codeName == s.proto)?.sensorNames?.map(a => a.id) || []} rules={[{ required: true, message: "请选择测点选择" }]} > @@ -279,7 +279,7 @@ const AutomaticModal = ({ actions, dispatch, apiRoot, qiniuUrl, visible, eidtDat } { ['4009', '3001', '4004', '4001', '4007'].includes(s.proto) && <> - c.codeName == s.proto)?.tempName?.find(c => c.index == 1)?.id || ""} > {s.sensor?.map((item) => {