|
@@ -184,18 +184,16 @@ function AuditFlow(props) {
|
|
|
))}
|
|
|
{/* <Step key={item.activityId} title={item?.activityName} description={renderDesc(item)} /> */}
|
|
|
</Steps>
|
|
|
- <div className={styles.btns} style={{ marginLeft: 80 }}>
|
|
|
- {showAduit && (
|
|
|
- <>
|
|
|
- <Button type="primary" onClick={() => onApprove(true, tasks[current].taskid)}>
|
|
|
- 审批通过
|
|
|
- </Button>
|
|
|
- <Button onClick={() => onApprove(false, tasks[current].taskid)} danger>
|
|
|
- 审批拒绝
|
|
|
- </Button>
|
|
|
- </>
|
|
|
- )}
|
|
|
- </div>
|
|
|
+ {showAduit && (
|
|
|
+ <div className={styles.btns} style={{ marginLeft: 80 }}>
|
|
|
+ <Button type="primary" onClick={() => onApprove(true, tasks[current].taskid)}>
|
|
|
+ 审批通过
|
|
|
+ </Button>
|
|
|
+ <Button onClick={() => onApprove(false, tasks[current].taskid)} danger>
|
|
|
+ 审批拒绝
|
|
|
+ </Button>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
</div>
|
|
|
{status !== undefined && renderAlert()}
|
|
|
</Spin>
|