清单列表
{isOut && (
)}
setInputValue(e.target.value)}
/>
(
//
// ),
// rowExpandable: record => record.children?.length > 0,
// }}
/>
{stepsData.map((item, idx) => (
{item.name}
{item.list.map(node => (
))}
))}
setVersionVisible(false)}
onOk={values => {
onCommit?.(values, null, () => {
setVersionVisible(false);
});
}}
loading={commitLoading}
/>
>
);
}
const getColor = item => {
let color = '';
switch (item.audit_status) {
case 2:
// 审批拒绝
color = '#f5222d';
break;
case 3:
// 审批成功
color = '#7cb305';
break;
case 4:
// 历史清单
color = '#9b9b9b';
break;
default:
break;
}
return color;
};
export default connect(({ loading, user }) => ({
loading,
currentUser: user.currentUser,
userList: user.list,
}))(FlowModal);
// export default FlowModal;