Browse Source

(*)巡检记录详情

master
mrsandmansy 2 years ago
parent
commit
e51744b06e
  1. 24
      web/client/src/sections/patrolManage/containers/patrolRecord.js

24
web/client/src/sections/patrolManage/containers/patrolRecord.js

@ -172,18 +172,22 @@ const PatrolRecord = (props) => {
当前点位{modelData?.points?.itemData?.name}
</Row>
<Row align='middle' justify='center' style={{ marginBottom: 10 }}>
当前位置{modelData?.points?.itemData?.name}
当前位置{modelData?.points?.address}
</Row>
<Row align='middle' justify='center'>
<Checkbox.Group
options={[
{ label: '正常', value: 'Apple', disabled: false },
{ label: '异常', value: 'Orange', disabled: false },
]}
disabled
defaultValue={['Apple']}
/>
<Row align='middle' justify='center' style={{ marginBottom: 10 }}>
巡检结果{modelData.alarm? '异常':'正常'}
</Row>
{ !modelData.alarm? '':
<Row align='middle' justify='center' style={{ marginBottom: 10 }}>
巡检详情{modelData?.points?.msgInp}
</Row> }
{ !modelData.alarm? '':
<Row align='middle' justify='center' style={{ marginBottom: 10 }}>
异常等级{modelData?.points?.changeThree}
</Row> }
{ !modelData.alarm? '':<Row align='middle' justify='center' style={{ marginBottom: 10 }}>
{ modelData?.points?.imgs?.map(rs => <img key={rs} src={`_file-server/${rs}`} style={{ display: 'inline-block', width: 260 }} />)}
</Row> }
</Modal>
</>
)

Loading…
Cancel
Save