|
@@ -384,21 +384,8 @@ function FlowModal(props) {
|
|
|
};
|
|
|
|
|
|
const getDescription = node => {
|
|
|
- // let str = `审批人:${node.AuditorUser?.CName || '-'}`;
|
|
|
- // if (node.desc) {
|
|
|
- // return (
|
|
|
- // <div>
|
|
|
- // {str}
|
|
|
- // <div>
|
|
|
- // <Tooltip title={node.desc}>
|
|
|
- // <span style={{ color: '#1A73E8', textDecoration: 'undeline' }}>审批意见</span>
|
|
|
- // </Tooltip>
|
|
|
- // </div>
|
|
|
- // </div>
|
|
|
- // );
|
|
|
- // }
|
|
|
- console.log(node);
|
|
|
- let str = (
|
|
|
+ let str = `审批人:${node.AuditorUser?.CName || '-'}`;
|
|
|
+ return (
|
|
|
<div>
|
|
|
审批人:{node.AuditorUser?.CName || '-'}
|
|
|
<div>
|
|
@@ -408,7 +395,6 @@ function FlowModal(props) {
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|
|
|
- return str;
|
|
|
};
|
|
|
|
|
|
const filterState = () => {
|
|
@@ -559,7 +545,14 @@ function FlowModal(props) {
|
|
|
/>
|
|
|
</div>
|
|
|
{/* <Spin spinning={loading.global}> */}
|
|
|
- <div style={{ display: 'flex', justifyContent: 'space-around' }}>
|
|
|
+ <div
|
|
|
+ style={{
|
|
|
+ display: 'flex',
|
|
|
+ justifyContent: 'space-around',
|
|
|
+ maxHeight: '300px',
|
|
|
+ overflow: 'auto',
|
|
|
+ }}
|
|
|
+ >
|
|
|
{stepsData.map((item, idx) => (
|
|
|
<div key={`${item.name}_${idx}`} style={{ marginTop: '20px', display: 'inline' }}>
|
|
|
<div style={{ marginBottom: '4px' }}>{item.name}</div>
|