|
|
@ -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 }) |
|
|
|