|
@@ -62,6 +62,9 @@ const FlowDrawer = () => {
|
|
|
}
|
|
|
const handleOnOk = async () => {
|
|
|
const { approvalWay, accounts } = state
|
|
|
+ // if (!state.accounts.length) {
|
|
|
+ // return message.error('请添加用户后再进行操作')
|
|
|
+ // }
|
|
|
if (!accounts.every(item => item.institutionID && item.ID)) {
|
|
|
setState({
|
|
|
...state,
|
|
@@ -149,7 +152,7 @@ const FlowDrawer = () => {
|
|
|
].join(' ')}
|
|
|
key={participant.uid}>
|
|
|
<div className="flex flex-row justify-between">
|
|
|
- <div className="text-base font-medium ">参与者</div>
|
|
|
+ <div className="text-base font-medium">参与者</div>
|
|
|
<div
|
|
|
className="text-primary cursor-pointer"
|
|
|
onClick={() => delCardItem(participant.uid)}>
|
|
@@ -163,9 +166,6 @@ const FlowDrawer = () => {
|
|
|
updateAction={formData => saveCardData(participant.uid, formData)}
|
|
|
/>
|
|
|
</div>
|
|
|
- {/* <Button onClick={() => console.log(formOptions.instance.getState().values)}>
|
|
|
- 11111
|
|
|
- </Button> */}
|
|
|
</div>
|
|
|
)
|
|
|
})
|