|  | @ -165,7 +165,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |       strategyHit: ['index', 'projectName', 'StructureName', 'SourceName', 'Strategy', 'State', 'createTime', 'sustainTime', 'AlarmContent', 'CurrentLevel', 'updateTime', 'detailCount', 'confirm', 'confirmTime'], |  |  |       strategyHit: ['index', 'projectName', 'StructureName', 'SourceName', 'Strategy', 'State', 'createTime', 'sustainTime', 'AlarmContent', 'CurrentLevel', 'updateTime', 'detailCount', 'confirm', 'confirmTime'], | 
			
		
	
		
		
			
				
					|  |  |       videoAbnormal: ['index', 'projectName', 'StructureName', 'SourceName', 'station', 'cameraKindId', 'venderName', 'point', 'cameraSerialNo', 'cameraChannelNo', 'platform', 'AlarmContent', 'resolve', 'createTime', 'updateTime', 'confirm', 'confirmTime', 'camerOnline'], |  |  |       videoAbnormal: ['index', 'projectName', 'StructureName', 'SourceName', 'station', 'cameraKindId', 'venderName', 'point', 'cameraSerialNo', 'cameraChannelNo', 'platform', 'AlarmContent', 'resolve', 'createTime', 'updateTime', 'confirm', 'confirmTime', 'camerOnline'], | 
			
		
	
		
		
			
				
					|  |  |       useAbnormal: ['index', 'projectName', 'appName', 'url', 'type', 'alarmContent', 'createTime', 'updateTime', 'confirm', 'confirmTime'], |  |  |       useAbnormal: ['index', 'projectName', 'appName', 'url', 'type', 'alarmContent', 'createTime', 'updateTime', 'confirm', 'confirmTime'], | 
			
		
	
		
		
			
				
					
					|  |  |       deviceAbnormal: ['index', 'projectName', 'StructureName', 'SourceName', 'station', 'alarmContent', 'venderName', 'AlarmContent', 'AlarmCodeName', 'createTime', 'updateTime', 'confirm', 'confirmTime'], |  |  |       deviceAbnormal: ['index', 'projectName', 'StructureName', 'SourceName', 'station', 'alarmContent', 'cameraKindId', 'venderName', 'AlarmContent', 'AlarmCodeName', 'createTime', 'updateTime', 'confirm', 'confirmTime'], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |    } |  |  |    } | 
			
		
	
		
		
			
				
					|  |  |    //表格默认配置信息 |  |  |    //表格默认配置信息 | 
			
		
	
		
		
			
				
					|  |  |    const columns = { |  |  |    const columns = { | 
			
		
	
	
		
		
			
				
					|  | @ -250,7 +250,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |       { name: '产生次数', sort: 19, value: 'detailCount', render: (_, r, index) => r.detailCount + '次' }, |  |  |       { name: '产生次数', sort: 19, value: 'detailCount', render: (_, r, index) => r.detailCount + '次' }, | 
			
		
	
		
		
			
				
					|  |  |       { |  |  |       { | 
			
		
	
		
		
			
				
					|  |  |          name: '确认信息', sort: 20, value: 'confirm', render: (_, r, index) => { |  |  |          name: '确认信息', sort: 20, value: 'confirm', render: (_, r, index) => { | 
			
		
	
		
		
			
				
					
					|  |  |             return r.State == 3 ? '无' : r.State == 4 ? r.confirm : r.confirm || '未确认' |  |  |             return r.State == 3 ? '无' : r.State == 4 ? r.confirm || '无' : r.confirm || '未确认' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |          } |  |  |          } | 
			
		
	
		
		
			
				
					|  |  |       }, |  |  |       }, | 
			
		
	
		
		
			
				
					|  |  |       { name: '确认/恢复时间', sort: 21, value: 'confirmTime', render: (_, r, index) => <div style={{ width: 130 }}>{r.confirmTime ? r.confirmTime : "无"}</div> }, |  |  |       { name: '确认/恢复时间', sort: 21, value: 'confirmTime', render: (_, r, index) => <div style={{ width: 130 }}>{r.confirmTime ? r.confirmTime : "无"}</div> }, | 
			
		
	
	
		
		
			
				
					|  | @ -279,11 +279,9 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |             return '当前' |  |  |             return '当前' | 
			
		
	
		
		
			
				
					|  |  |          } |  |  |          } | 
			
		
	
		
		
			
				
					|  |  |       }, |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |       { name: '位置信息', sort: 11, value: 'station', render: (_, r, index) => r.station?.map(v => <div key={v.resolve + v.id} style={{ lineHeight: "22px" }}>{v.position}</div>) }, |  |  |       { name: '位置信息', sort: 11, value: 'station', render: (_, r, index) => route == 'deviceAbnormal' ? r.station : r.station?.map(v => <div key={v.resolve + v.id} style={{ lineHeight: "22px" }}>{v.position}</div>) }, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       { |  |  |       { | 
			
		
	
		
		
			
				
					
					|  |  |          name: '设备类型', sort: 6, value: 'cameraKindId', render: (_, r, index) => { |  |  |          name: '设备类型', sort: 6, value: 'cameraKindId', | 
			
				
				
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |          } |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					|  |  |       }, |  |  |       }, | 
			
		
	
		
		
			
				
					|  |  |       { name: '设备厂家', sort: 10, value: 'venderName', render: (_, r, index) => r.platform ? '未知' : r.venderName }, |  |  |       { name: '设备厂家', sort: 10, value: 'venderName', render: (_, r, index) => r.platform ? '未知' : r.venderName }, | 
			
		
	
		
		
			
				
					|  |  |       { name: '通道号', sort: 10.1, value: 'cameraChannelNo' }, |  |  |       { name: '通道号', sort: 10.1, value: 'cameraChannelNo' }, | 
			
		
	
	
		
		
			
				
					|  | @ -307,7 +305,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |       { |  |  |       { | 
			
		
	
		
		
			
				
					|  |  |          name: '操作', sort: 25, value: 'text', render: (_, r, index) => { |  |  |          name: '操作', sort: 25, value: 'text', render: (_, r, index) => { | 
			
		
	
		
		
			
				
					|  |  |             return <div style={{ width: 195 }}> |  |  |             return <div style={{ width: 195 }}> | 
			
		
	
		
		
			
				
					
					|  |  |                {r.State && r.State >= 0 && r.State < 3 || route && ['videoAbnormal', 'useAbnormal'].includes(route) && !r.confirmTime ? |  |  |                {r.State < 3 || route && ['videoAbnormal', 'useAbnormal'].includes(route) && !r.confirmTime ? | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                   <Button theme='borderless' style={{ width: 65 }} onClick={() => { |  |  |                   <Button theme='borderless' style={{ width: 65 }} onClick={() => { | 
			
		
	
		
		
			
				
					|  |  |                      setConfirm(true) |  |  |                      setConfirm(true) | 
			
		
	
		
		
			
				
					|  |  |                      setSelected([r.key]) |  |  |                      setSelected([r.key]) | 
			
		
	
	
		
		
			
				
					|  | @ -316,12 +314,12 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>自动恢复</Button> : |  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>自动恢复</Button> : | 
			
		
	
		
		
			
				
					|  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>已确认</Button> |  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>已确认</Button> | 
			
		
	
		
		
			
				
					|  |  |                } |  |  |                } | 
			
		
	
		
		
			
				
					
					|  |  |                {route && ['dataLnterrupt', 'dataAbnormal', 'strategyHit'].includes(route) ? <> |  |  |                {route && ['dataLnterrupt', 'dataAbnormal', 'strategyHit', 'deviceAbnormal'].includes(route) ? <> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                   <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> |  |  |                   <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> | 
			
		
	
		
		
			
				
					
					|  |  |                   <Button theme='borderless' style={{ width: 65 }} onClick={() => { |  |  |                   {route == 'deviceAbnormal' ? "" : <Button theme='borderless' style={{ width: 65 }} onClick={() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                      setCheckPop(true) |  |  |                      setCheckPop(true) | 
			
		
	
		
		
			
				
					|  |  |                      setAlarmId(r.key) |  |  |                      setAlarmId(r.key) | 
			
		
	
		
		
			
				
					
					|  |  |                   }}>查看</Button> |  |  |                   }}>查看</Button>} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                </> |  |  |                </> | 
			
		
	
		
		
			
				
					|  |  |                   : route == 'videoAbnormal' ? <> |  |  |                   : route == 'videoAbnormal' ? <> | 
			
		
	
		
		
			
				
					|  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> |  |  |                      <Button theme='borderless' style={{ width: 65 }} disabled>已派单</Button> | 
			
		
	
	
		
		
			
				
					|  | @ -501,7 +499,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |                      field='textData' |  |  |                      field='textData' | 
			
		
	
		
		
			
				
					|  |  |                      onChange={(e) => setContent(e)} /> |  |  |                      onChange={(e) => setContent(e)} /> | 
			
		
	
		
		
			
				
					|  |  |                </Form> |  |  |                </Form> | 
			
		
	
		
		
			
				
					
					|  |  |                {(() => { |  |  |                {route == 'videoAbnormal' ? (() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                   let data |  |  |                   let data | 
			
		
	
		
		
			
				
					|  |  |                   if (selected.length == 1) { |  |  |                   if (selected.length == 1) { | 
			
		
	
		
		
			
				
					|  |  |                      data = tableData.find(v => v.key == selected[0]) |  |  |                      data = tableData.find(v => v.key == selected[0]) | 
			
		
	
	
		
		
			
				
					|  | @ -514,7 +512,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket, iotVcmpWeb | 
			
		
	
		
		
			
				
					|  |  |                            return v.name |  |  |                            return v.name | 
			
		
	
		
		
			
				
					|  |  |                         } |  |  |                         } | 
			
		
	
		
		
			
				
					|  |  |                      })}中被多次绑定(可能拥有不同的名称),确认后,该设备的同类型告警也会被一同确认。</div> : "" |  |  |                      })}中被多次绑定(可能拥有不同的名称),确认后,该设备的同类型告警也会被一同确认。</div> : "" | 
			
		
	
		
		
			
				
					
					|  |  |                })()} |  |  |                })() : ""} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             </div> |  |  |             </div> | 
			
		
	
		
		
			
				
					|  |  |          </Modal> : ""} |  |  |          </Modal> : ""} | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |