Browse Source

去掉 - 已派单

dev
巴林闲侠 2 years ago
parent
commit
54842a61ad
  1. 17
      web/client/src/sections/problem/containers/dataAlarm.jsx

17
web/client/src/sections/problem/containers/dataAlarm.jsx

@ -318,15 +318,16 @@ const DataAlarm = (props) => {
<Button theme='borderless' style={{ width: 65 }} disabled>自动恢复</Button> :
<Button theme='borderless' style={{ width: 65 }} disabled>已确认</Button>
}
{route && ['dataLnterrupt', 'dataAbnormal', 'strategyHit', 'deviceAbnormal'].includes(route) ? <>
<Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button>
{route == 'deviceAbnormal' ? "" : <Button theme='borderless' style={{ width: 65 }} onClick={() => {
setCheckPop(true)
setAlarmId(r.id)
}}>查看</Button>}
</>
{route && ['dataLnterrupt', 'dataAbnormal', 'strategyHit', 'deviceAbnormal'].includes(route) ?
<>
{/* <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> */}
{route == 'deviceAbnormal' ? "" : <Button theme='borderless' style={{ width: 65 }} onClick={() => {
setCheckPop(true)
setAlarmId(r.id)
}}>查看</Button>}
</>
: route == 'videoAbnormal' ? <>
<Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button>
{/* <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> */}
<Button theme='borderless' style={{ width: 65 }} onClick={() => {
setVideoModal(true)
setVideoData({ channeNo: r.cameraChannelNo, serialNo: r.cameraSerialNo, type: r.platform, yingshiToken: r.yingshiToken })

Loading…
Cancel
Save