Commit 04344e81 authored by 邓超's avatar 邓超

fix: 修改站点滚动问题

parent 4d51d261
Pipeline #67432 waiting for manual action with stages
...@@ -263,12 +263,6 @@ const incident = () => { ...@@ -263,12 +263,6 @@ const incident = () => {
<Tooltip title="编辑事件类型"> <Tooltip title="编辑事件类型">
<EditTwoTone onClick={() => editEventType(record)} style={{ fontSize: '16px' }} /> <EditTwoTone onClick={() => editEventType(record)} style={{ fontSize: '16px' }} />
</Tooltip> </Tooltip>
<Tooltip title="导出事件">
<ExportOutlined
onClick={() => hadelExport(record)}
style={{ fontSize: '16px', color: '#1890FF' }}
/>
</Tooltip>
<Tooltip title="受理流程"> <Tooltip title="受理流程">
<ApartmentOutlined <ApartmentOutlined
onClick={() => process1(record)} onClick={() => process1(record)}
...@@ -281,6 +275,12 @@ const incident = () => { ...@@ -281,6 +275,12 @@ const incident = () => {
style={{ fontSize: '16px', color: '#1890FF' }} style={{ fontSize: '16px', color: '#1890FF' }}
/> />
</Tooltip> </Tooltip>
<Tooltip title="导出事件">
<ExportOutlined
onClick={() => hadelExport(record)}
style={{ fontSize: '16px', color: '#1890FF' }}
/>
</Tooltip>
<Tooltip title="删除事件类型"> <Tooltip title="删除事件类型">
<Popconfirm <Popconfirm
placement="bottomRight" placement="bottomRight"
......
...@@ -774,7 +774,7 @@ const SiteManageV2 = () => { ...@@ -774,7 +774,7 @@ const SiteManageV2 = () => {
{searchTreeValue !== '' ? ( {searchTreeValue !== '' ? (
<> <>
{treeData.length > 0 && ( {treeData.length > 0 && (
<div style={{ height: '100%', overflowY: 'scroll' }}> <div style={{ height: 'calc(100% - 74px)', overflowY: 'scroll' }}>
<Tree <Tree
showIcon="true" showIcon="true"
showLine={{ showLeafIcon: false }} showLine={{ showLeafIcon: false }}
...@@ -793,7 +793,7 @@ const SiteManageV2 = () => { ...@@ -793,7 +793,7 @@ const SiteManageV2 = () => {
) : ( ) : (
<> <>
{treeData.length > 0 && ( {treeData.length > 0 && (
<div style={{ height: '100%', overflowY: 'scroll' }}> <div style={{ height: 'calc(100% - 74px)', overflowY: 'scroll' }}>
<TreeComponents <TreeComponents
showIcon="true" showIcon="true"
showLine={{ showLeafIcon: false }} showLine={{ showLeafIcon: false }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment