Browse Source

一图统揽优化

dev
wenlele 1 year ago
parent
commit
78d0f37488
  1. 8
      web/client/src/sections/analysis/containers/network.jsx

8
web/client/src/sections/analysis/containers/network.jsx

@ -92,7 +92,7 @@ const Network = ({
>
<Form.Select
filter
showClear
// showClear
label='项目选择'
field="projectId"
labelPosition="left"
@ -101,9 +101,11 @@ const Network = ({
// value={projectValue}
optionList={projectList || []}
onSelect={v => {
if (projectValue != v) {
setProjectValue(v)
setSpinning(true)
form.current.setValue('projectId', v)
}
}}
/>
<Form.Select
@ -113,12 +115,14 @@ const Network = ({
style={{ width: 200, }}
placeholder="请选择结构物选择"
filter
showClear
// showClear
optionList={organizationsStruc?.map(d => ({ value: d.thingId, label: d.strucName })) || []}
onSelect={v => {
if (thingId != v) {
setSpinning(true)
setThingId(v)
form.current.setValue('thingId', v)
}
}}
/>
</Form>

Loading…
Cancel
Save