Commit 01426f03 authored by 涂伟's avatar 涂伟

fix: '样式优化'

parent b55bcefc
Pipeline #94013 passed with stages
...@@ -19,7 +19,7 @@ const OrderNode = props => { ...@@ -19,7 +19,7 @@ const OrderNode = props => {
// 页面弹出的时候初始化拖拽数据 // 页面弹出的时候初始化拖拽数据
useEffect(() => { useEffect(() => {
if (visible) { if (visible) {
console.log(tableData,'tableDatatableData'); console.log(tableData, 'tableDatatableData');
// console.log(processData); // console.log(processData);
// let aa = []; // let aa = [];
// processData.map(i => { // processData.map(i => {
...@@ -45,8 +45,8 @@ const OrderNode = props => { ...@@ -45,8 +45,8 @@ const OrderNode = props => {
ids += `${item.ActivityId},`; ids += `${item.ActivityId},`;
} }
}); });
console.log(ids,'idsidsidsidsidsids'); console.log(ids, 'idsidsidsidsidsids');
setActivityIds(ids); setActivityIds(ids);
}, [orderTable]); }, [orderTable]);
// 提交表单 // 提交表单
...@@ -70,8 +70,8 @@ const OrderNode = props => { ...@@ -70,8 +70,8 @@ const OrderNode = props => {
}; };
// 拖拽回调函数 // 拖拽回调函数
const dragCallBack = data => { const dragCallBack = data => {
console.log(data,'datadatadatadata'); console.log(data, 'datadatadatadata');
if (data) { if (data) {
setOrderTable(data); setOrderTable(data);
} }
...@@ -94,6 +94,11 @@ const OrderNode = props => { ...@@ -94,6 +94,11 @@ const OrderNode = props => {
dataIndex: 'NodeAliasName', dataIndex: 'NodeAliasName',
width: 150, width: 150,
key: 'NodeAliasName', key: 'NodeAliasName',
render: (_, r) => (
<div>
{r.NodeAliasName || r.NodeName}
</div>
)
}, },
]; ];
return ( return (
......
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