|
|
@ -235,6 +235,7 @@ const Control = (props) => { |
|
|
|
let webtop = 0 |
|
|
|
let webId = document.getElementById('web'); |
|
|
|
if (web) clearInterval(web) |
|
|
|
let memberId = document.getElementById('member'); |
|
|
|
if (memberId) { |
|
|
|
function webstart () { |
|
|
|
member = setInterval(() => { |
|
|
@ -701,236 +702,236 @@ const Control = (props) => { |
|
|
|
|
|
|
|
{/* 统计概览 */} |
|
|
|
{ |
|
|
|
exhibition.current?.overall?.find(v => v.key == 'statistical') ? <> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginTop: 25 }}> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center' }}> |
|
|
|
<div style={{ width: 0, height: 20, borderLeft: '3px solid #005ABD', borderTop: '3px solid transparent', borderBottom: '3px solid transparent' }}></div> |
|
|
|
<div style={{ fontFamily: "YouSheBiaoTiHei", fontSize: 24, color: '#101531', marginLeft: 8 }}>统计概览</div> |
|
|
|
<div style={{ marginLeft: 6, fontSize: 12, color: '#969799', fontFamily: "DINExp", }}>STATISTICAL OVERVIEW</div> |
|
|
|
</div> |
|
|
|
<div style={{ marginRight: 25 }}> |
|
|
|
<img title='设置' src="/assets/images/problem/setup.png" style={{ width: 18, height: 18, cursor: "pointer" }} onClick={() => { |
|
|
|
setSetup(true) |
|
|
|
setTableType('statistical') |
|
|
|
attribute('statistical') |
|
|
|
setSetData(5) |
|
|
|
}} /> |
|
|
|
exhibition.current?.overall?.find(v => v.key == 'statistical') ? <> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginTop: 25 }}> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center' }}> |
|
|
|
<div style={{ width: 0, height: 20, borderLeft: '3px solid #005ABD', borderTop: '3px solid transparent', borderBottom: '3px solid transparent' }}></div> |
|
|
|
<div style={{ fontFamily: "YouSheBiaoTiHei", fontSize: 24, color: '#101531', marginLeft: 8 }}>统计概览</div> |
|
|
|
<div style={{ marginLeft: 6, fontSize: 12, color: '#969799', fontFamily: "DINExp", }}>STATISTICAL OVERVIEW</div> |
|
|
|
</div> |
|
|
|
<div style={{ marginRight: 25 }}> |
|
|
|
<img title='设置' src="/assets/images/problem/setup.png" style={{ width: 18, height: 18, cursor: "pointer" }} onClick={() => { |
|
|
|
setSetup(true) |
|
|
|
setTableType('statistical') |
|
|
|
attribute('statistical') |
|
|
|
setSetData(5) |
|
|
|
}} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* 统计概览 */} |
|
|
|
<div id='overviewCalc' style={{ width: 'calc(100%)', position: 'relative' }}> |
|
|
|
<div style={{ display: 'inline-flex', marginTop: 16 }}> |
|
|
|
{/* 项目 */} |
|
|
|
{ |
|
|
|
pepProjectId ? |
|
|
|
'' : |
|
|
|
<div id='pomsList' style={{ |
|
|
|
marginRight: 20, paddingRight: 24, position: 'relative', marginBottom: 30, width: 410, height: 221, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 |
|
|
|
}}> |
|
|
|
{pomsList?.map((v, index) => { |
|
|
|
return <div key={'pomsList' + index} title={v.pepProjectName} |
|
|
|
style={{ |
|
|
|
width: 400, cursor: 'pointer', lineHeight: '30px', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', fontSize: 14, color: '#969799', |
|
|
|
background: projectId == v.pepProjectId ? 'linear-gradient(252deg, #F9FBFF 0%, rgb(185 202 236) 100%)' : "", |
|
|
|
}} |
|
|
|
onClick={() => setProjectId(v.pepProjectId)}>{v.pepProjectName}</div> |
|
|
|
})} |
|
|
|
</div>} |
|
|
|
|
|
|
|
{/* 项目里程碑 */} |
|
|
|
{ |
|
|
|
exhibition.current?.statistical?.find(v => v.key == 'milestone') && projectId && |
|
|
|
projectData?.find(u => u.id == projectId)?.pepProjectName ? |
|
|
|
<div style={{ |
|
|
|
marginBottom: 30, width: 466, height: 221, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 |
|
|
|
}}> |
|
|
|
<div style={{ margin: '20px 0px 20px 24px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
项目里程碑 |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', marginBottom: 20, marginLeft: 24 }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
立项时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A', width: 104 }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
{/* 统计概览 */} |
|
|
|
<div id='overviewCalc' style={{ width: 'calc(100%)', position: 'relative' }}> |
|
|
|
<div style={{ display: 'inline-flex', marginTop: 16 }}> |
|
|
|
{/* 项目 */} |
|
|
|
{ |
|
|
|
pepProjectId ? |
|
|
|
'' : |
|
|
|
<div id='pomsList' style={{ |
|
|
|
marginRight: 20, paddingRight: 24, position: 'relative', marginBottom: 30, width: 410, height: 221, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 |
|
|
|
}}> |
|
|
|
{pomsList?.map((v, index) => { |
|
|
|
return <div key={'pomsList' + index} title={v.pepProjectName} |
|
|
|
style={{ |
|
|
|
width: 400, cursor: 'pointer', lineHeight: '30px', whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', fontSize: 14, color: '#969799', |
|
|
|
background: projectId == v.pepProjectId ? 'linear-gradient(252deg, #F9FBFF 0%, rgb(185 202 236) 100%)' : "", |
|
|
|
}} |
|
|
|
onClick={() => setProjectId(v.pepProjectId)}>{v.pepProjectName}</div> |
|
|
|
})} |
|
|
|
</div>} |
|
|
|
|
|
|
|
{/* 项目里程碑 */} |
|
|
|
{ |
|
|
|
exhibition.current?.statistical?.find(v => v.key == 'milestone') && projectId && |
|
|
|
projectData?.find(u => u.id == projectId)?.pepProjectName ? |
|
|
|
<div style={{ |
|
|
|
marginBottom: 30, width: 466, height: 221, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 |
|
|
|
}}> |
|
|
|
<div style={{ margin: '20px 0px 20px 24px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
项目里程碑 |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
施工时间: |
|
|
|
<div style={{ display: 'flex', marginBottom: 20, marginLeft: 24 }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
立项时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A', width: 104 }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
施工时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', marginBottom: 24, marginLeft: 24 }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
内验时间: |
|
|
|
<div style={{ display: 'flex', marginBottom: 24, marginLeft: 24 }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
内验时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A', width: 104 }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A', width: 104 }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
外验时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ display: 'flex', marginBottom: 17, marginLeft: 24 }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
外验时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', marginBottom: 17, marginLeft: 24 }}> |
|
|
|
<div style={{ fontSize: 14, color: '#969799', marginRight: 4 }}> |
|
|
|
工程维保时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', background: 'linear-gradient(252deg, #F9FBFF 0%, #DBE7FF 100%)', height: 38, justifyContent: 'space-between' }}> |
|
|
|
<div style={{ display: 'flex', marginLeft: 24, alignItems: 'center' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#646566', marginRight: 4 }}> |
|
|
|
售后维修时间: |
|
|
|
工程维保时间: |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* <img src="/assets/images/console/onGoing.png" alt="进行中" /> */} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 相关成员 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'personnel') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
相关成员 |
|
|
|
</div> |
|
|
|
<div id='member' style={{ position: 'relative', height: 161 }}> |
|
|
|
{memberList?.map((item, index) => { |
|
|
|
return ( |
|
|
|
<div key={index + 'member'} style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 15 }}> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center' }}> |
|
|
|
<div style={{ width: 18, height: 18 }}> |
|
|
|
<img src="/assets/images/console/member.png" alt="成员" style={{ width: '100%', height: '100%' }} /> |
|
|
|
</div> |
|
|
|
<div style={{ marginLeft: 8, fontSize: 14, color: '#4A4A4A' }}> |
|
|
|
{item.name} |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 12, color: '#969799' }}> |
|
|
|
(负责人) |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex', background: 'linear-gradient(252deg, #F9FBFF 0%, #DBE7FF 100%)', height: 38, justifyContent: 'space-between' }}> |
|
|
|
<div style={{ display: 'flex', marginLeft: 24, alignItems: 'center' }}> |
|
|
|
<div style={{ fontSize: 14, color: '#646566', marginRight: 4 }}> |
|
|
|
售后维修时间: |
|
|
|
</div> |
|
|
|
<div style={{ color: '#969799', fontSize: 14, marginRight: 22 }}> |
|
|
|
<Tooltip content={item.department?.map((v, index) => index > 0 ? ',' + v : v)}> |
|
|
|
<div className='Tooltip' style={{}}> |
|
|
|
{item.department[0]} |
|
|
|
</div> |
|
|
|
</Tooltip> |
|
|
|
<div style={{ fontSize: 14, color: '#4A4A4A' }} title='项企项目数据为空或未开发'> |
|
|
|
暂无 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
})} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 平台设备接入 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'DeviceAccess') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold', marginBottom: 16 }}> |
|
|
|
平台设备接入 |
|
|
|
</div> |
|
|
|
<div id='equipment' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
equipmentList.map((item, index) => { |
|
|
|
{/* <img src="/assets/images/console/onGoing.png" alt="进行中" /> */} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 相关成员 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'personnel') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
相关成员 |
|
|
|
</div> |
|
|
|
<div id='member' style={{ position: 'relative', height: 161 }}> |
|
|
|
{memberList?.map((item, index) => { |
|
|
|
return ( |
|
|
|
<div key={index + 'equipment'} style={{ marginBottom: 15, display: 'flex' }}> |
|
|
|
<div style={{ color: '#969799', fontSize: 14, width: 167 }}> |
|
|
|
5阶ZK1高清摄球机 |
|
|
|
</div> |
|
|
|
<div style={{ color: '#4A4A4A', fontSize: 14, width: 81 }}> |
|
|
|
视频 |
|
|
|
</div> |
|
|
|
<div style={{ width: 18, height: 18, marginRight: 8 }}> |
|
|
|
<img src="/assets/images/console/icon_online.png" alt="网络" style={{ width: '100%', height: '100%' }} /> |
|
|
|
{/* <img src="/assets/images/console/icon_offline.png" alt="网络" style={{ width: '100%', height: '100%' }} /> */} |
|
|
|
<div key={index + 'member'} style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 15 }}> |
|
|
|
<div style={{ display: 'flex', alignItems: 'center' }}> |
|
|
|
<div style={{ width: 18, height: 18 }}> |
|
|
|
<img src="/assets/images/console/member.png" alt="成员" style={{ width: '100%', height: '100%' }} /> |
|
|
|
</div> |
|
|
|
<div style={{ marginLeft: 8, fontSize: 14, color: '#4A4A4A' }}> |
|
|
|
{item.name} |
|
|
|
</div> |
|
|
|
<div style={{ fontSize: 12, color: '#969799' }}> |
|
|
|
(负责人) |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ color: '#0F7EFB', fontSize: 14 }}> |
|
|
|
在线 |
|
|
|
<div style={{ color: '#969799', fontSize: 14, marginRight: 22 }}> |
|
|
|
<Tooltip content={item.department?.map((v, index) => index > 0 ? ',' + v : v)}> |
|
|
|
<div className='Tooltip' style={{}}> |
|
|
|
{item.department[0]} |
|
|
|
</div> |
|
|
|
</Tooltip> |
|
|
|
</div> |
|
|
|
{/* <div style={{color:'#969799',fontSize:14}}> |
|
|
|
掉线 |
|
|
|
</div> */} |
|
|
|
</div> |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 关联web应用 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'web') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold', marginBottom: 15 }}> |
|
|
|
关联web应用 |
|
|
|
})} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id='web' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
webList.map((item, index) => { |
|
|
|
return ( |
|
|
|
<div key={index + 'webb'} style={{ marginBottom: 15, }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
: ""} |
|
|
|
{/* 平台设备接入 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'DeviceAccess') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold', marginBottom: 16 }}> |
|
|
|
平台设备接入 |
|
|
|
</div> |
|
|
|
<div id='equipment' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
equipmentList.map((item, index) => { |
|
|
|
return ( |
|
|
|
<div key={index + 'equipment'} style={{ marginBottom: 15, display: 'flex' }}> |
|
|
|
<div style={{ color: '#969799', fontSize: 14, width: 167 }}> |
|
|
|
5阶ZK1高清摄球机 |
|
|
|
</div> |
|
|
|
<div style={{ color: '#4A4A4A', fontSize: 14, width: 81 }}> |
|
|
|
视频 |
|
|
|
</div> |
|
|
|
<div style={{ width: 18, height: 18, marginRight: 8 }}> |
|
|
|
<img src="/assets/images/console/icon_webpage.png" alt="web应用" style={{ width: '100%', height: '100%' }} /> |
|
|
|
<img src="/assets/images/console/icon_online.png" alt="网络" style={{ width: '100%', height: '100%' }} /> |
|
|
|
{/* <img src="/assets/images/console/icon_offline.png" alt="网络" style={{ width: '100%', height: '100%' }} /> */} |
|
|
|
</div> |
|
|
|
<div style={{ color: '#646566', fontSize: 14, borderBottom: '1px dotted #0F7EFB' }}> |
|
|
|
<a href={item.url} target="_blank"> |
|
|
|
{item.url} |
|
|
|
</a> |
|
|
|
<div style={{ color: '#0F7EFB', fontSize: 14 }}> |
|
|
|
在线 |
|
|
|
</div> |
|
|
|
{/* <div style={{color:'#969799',fontSize:14}}> |
|
|
|
掉线 |
|
|
|
</div> */} |
|
|
|
</div> |
|
|
|
<div style={{ color: '#4A4A4A', fontSize: 14, marginLeft: 26 }}> |
|
|
|
{item.name} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 异常&问题 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'problem') ? |
|
|
|
<div style={{ width: 399, height: 221, marginLeft: 20, marginRight: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
异常&问题 |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id='problems' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
problemsList?.map((v, index) => { |
|
|
|
return ( |
|
|
|
<div style={{ marginBottom: 15, paddingRight: 30, }} key={'problems' + index} onClick={() => { |
|
|
|
dispatch(push(v.url)) |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 14, color: '#646566' }} > |
|
|
|
【{v.SourceName}】{v.groupName}{v.groupName == '视频异常' ? "" : ',诊断为 '} <span style={{ color: '#0F7EFB', borderBottom: '1px dotted #0F7EFB', cursor: "pointer" }} >{v.typeName},请前往确认</span> |
|
|
|
: ""} |
|
|
|
{/* 关联web应用 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'web') ? |
|
|
|
<div style={{ width: 360, height: 221, marginLeft: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold', marginBottom: 15 }}> |
|
|
|
关联web应用 |
|
|
|
</div> |
|
|
|
<div id='web' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
webList.map((item, index) => { |
|
|
|
return ( |
|
|
|
<div key={index + 'webb'} style={{ marginBottom: 15, }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 18, height: 18, marginRight: 8 }}> |
|
|
|
<img src="/assets/images/console/icon_webpage.png" alt="web应用" style={{ width: '100%', height: '100%' }} /> |
|
|
|
</div> |
|
|
|
<div style={{ color: '#646566', fontSize: 14, borderBottom: '1px dotted #0F7EFB' }}> |
|
|
|
<a href={item.url} target="_blank"> |
|
|
|
{item.url} |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ color: '#4A4A4A', fontSize: 14, marginLeft: 26 }}> |
|
|
|
{item.name} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ color: '#969799', fontSize: 12, marginRight: 40, marginTop: 4 }}> |
|
|
|
{moment(v.StartTime).format("YYYY-MM-DD HH:mm:ss")} |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
{/* 异常&问题 */} |
|
|
|
{exhibition.current?.statistical?.find(v => v.key == 'problem') ? |
|
|
|
<div style={{ width: 399, height: 221, marginLeft: 20, marginRight: 20, paddingLeft: 24, border: '1px solid rgba(220,222,224,0.2)', boxShadow: '0px 2px 12px 1px #F2F3F5', borderRadius: 2 }}> |
|
|
|
<div style={{ margin: '20px 0px 17px 0px', color: '#4A4A4A', fontSize: 16, fontWeight: 'bold' }}> |
|
|
|
异常&问题 |
|
|
|
</div> |
|
|
|
<div id='problems' style={{ position: 'relative', height: 161 }}> |
|
|
|
{ |
|
|
|
problemsList?.map((v, index) => { |
|
|
|
return ( |
|
|
|
<div style={{ marginBottom: 15, paddingRight: 30, }} key={'problems' + index} onClick={() => { |
|
|
|
dispatch(push(v.url)) |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 14, color: '#646566' }} > |
|
|
|
【{v.SourceName}】{v.groupName}{v.groupName == '视频异常' ? "" : ',诊断为 '} <span style={{ color: '#0F7EFB', borderBottom: '1px dotted #0F7EFB', cursor: "pointer" }} >{v.typeName},请前往确认</span> |
|
|
|
</div> |
|
|
|
<div style={{ color: '#969799', fontSize: 12, marginRight: 40, marginTop: 4 }}> |
|
|
|
{moment(v.StartTime).format("YYYY-MM-DD HH:mm:ss")} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
) |
|
|
|
}) |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
: ""} |
|
|
|
</div> |
|
|
|
</div></> : ""} |
|
|
|
: ""} |
|
|
|
</div> |
|
|
|
</div></> : ""} |
|
|
|
</div> |
|
|
|
|
|
|
|
{exhibition.current?.overall?.find(v => v.key == 'analyse') ? |
|
|
|