| | |
| | | {record.auditStatus == 0 && ( |
| | | <> |
| | | <Access accessible={access['/party_member_audit/audit']}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | | addViewRef.current.refreshData({ type: 'sure', id: record.id }); |
| | | handleModalVisible(true); |
| | | }} |
| | | > |
| | | 通过 |
| | | </Button> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | | addViewRef.current.refreshData({ type: 'sure', id: record.id }); |
| | | handleModalVisible(true); |
| | | }} |
| | | > |
| | | 通过 |
| | | </Button> |
| | | </Access> |
| | | <Access accessible={access['/party_member_audit/audit']}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | | addViewRef.current.refreshData({ type: 'refuse', id: record.id }); |
| | | handleModalVisible(true); |
| | | }} |
| | | > |
| | | 拒绝 |
| | | </Button> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | | addViewRef.current.refreshData({ type: 'refuse', id: record.id }); |
| | | handleModalVisible(true); |
| | | }} |
| | | > |
| | | 拒绝 |
| | | </Button> |
| | | </Access> |
| | | </> |
| | | )} |
| | |
| | | const success = await sendRequest(audit, fileds); |
| | | if (success) { |
| | | handleModalVisible(false); |
| | | message.success('当前党员信息审核已通过'); |
| | | if (fileds.type == 'sure') { |
| | | message.success('当前党员信息审核已通过'); |
| | | } |
| | | |
| | | addViewRef.current.clean() |
| | | actionRef.current.reload(); |
| | | } |