Commit 0c7c176c authored by 皮倩雯's avatar 皮倩雯

fix: '消息平台配置优化'

parent 0adf9d2f
Pipeline #64697 passed with stages
......@@ -40,7 +40,22 @@ const patrolFeedback = () => {
title: '巡检对象',
dataIndex: 'layerName',
key: 'layerName',
width: 150,
onCell: () => ({
style: {
maxWidth: 150,
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
cursor: 'pointer',
},
}),
align: 'center',
render: record => (
<Tooltip placement="topLeft" title={record}>
{record}
</Tooltip>
),
},
{
title: '分组',
......@@ -52,13 +67,43 @@ const patrolFeedback = () => {
title: 'GIS图层',
dataIndex: 'gisLayer',
key: 'gisLayer',
width: 100,
onCell: () => ({
style: {
maxWidth: 100,
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
cursor: 'pointer',
},
}),
align: 'center',
render: record => (
<Tooltip placement="topLeft" title={record}>
{record}
</Tooltip>
),
},
{
title: 'GIS条件',
dataIndex: 'gisFilterValue',
key: 'gisFilterValue',
width: 100,
onCell: () => ({
style: {
maxWidth: 100,
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
cursor: 'pointer',
},
}),
align: 'center',
render: record => (
<Tooltip placement="topLeft" title={record}>
{record}
</Tooltip>
),
},
{
title: '反馈表',
......@@ -106,7 +151,7 @@ const patrolFeedback = () => {
title: '字段集',
dataIndex: 'fields',
key: 'fields',
width: 100,
width: 50,
align: 'center',
},
// {
......@@ -128,7 +173,7 @@ const patrolFeedback = () => {
dataIndex: 'roles',
key: 'roles',
align: 'center',
width: 100,
width: 50,
},
// {
// title: '分组',
......@@ -187,6 +232,8 @@ const patrolFeedback = () => {
if (other.length > 0) {
data.未分组 = other;
setGroupName(['区域巡检', 'DMA巡检', '未分组']);
} else {
setGroupName(['区域巡检', 'DMA巡检']);
}
}
console.log(data);
......
......@@ -95,6 +95,8 @@
position: relative;
transition: width 0.5s;
.title {
margin: 16px 0 10px 16px;
display: inline-block;
......
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