Commit d15cbaca authored by 皮倩雯's avatar 皮倩雯

fix: '事件优化配置'

parent 708fec6a
Pipeline #68048 passed with stages
...@@ -187,21 +187,21 @@ const incident = () => { ...@@ -187,21 +187,21 @@ const incident = () => {
// } // }
// }, // },
// }, // },
{ // {
title: '编辑字段', // title: '编辑字段',
dataIndex: 'editableFields', // dataIndex: 'editableFields',
key: 'editableFields', // key: 'editableFields',
width: 80, // width: 80,
render: item => ( // render: item => (
<div // <div
ref={r => { // ref={r => {
if (r) { // if (r) {
r.innerHTML = item; // r.innerHTML = item;
} // }
}} // }}
/> // />
), // ),
}, // },
{ {
title: '外部字段', title: '外部字段',
dataIndex: 'outFields', dataIndex: 'outFields',
...@@ -221,6 +221,21 @@ const incident = () => { ...@@ -221,6 +221,21 @@ const incident = () => {
</span> </span>
), ),
}, },
{
title: '上报入口',
dataIndex: 'reportable',
key: 'reportable',
width: 80,
render: item => {
if (item === '均可') {
return <span>前端+手持</span>;
} else if (item === ''||item==='否') {
return <span>内置用法</span>;
} else {
return <span>{item}</span>;
}
},
},
{ {
title: '上报方式', title: '上报方式',
dataIndex: 'createMode', dataIndex: 'createMode',
......
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