feat
parent
09800a2b2a
commit
2f83305b6f
|
|
@ -86,9 +86,9 @@ const ControlContent = (props) => {
|
|||
processControl?.reviewerSignatureTaskStatus !== "non_dispatched";
|
||||
const isSignatureCompleted =
|
||||
processControl?.reviewerSignatureTaskStatus === "completed";
|
||||
const hasHandoverForm = !!processControl?.handoverFormUrl;
|
||||
|
||||
const canArchive = isSignatureCompleted && hasHandoverForm;
|
||||
|
||||
const canArchive = isSignatureCompleted ;
|
||||
|
||||
// 过程控制签字提交(confirm)
|
||||
const handleConfirm = async (resultCode) => {
|
||||
|
|
@ -426,23 +426,7 @@ const ControlContent = (props) => {
|
|||
align="center"
|
||||
style={{ marginTop: 12, paddingBottom: 16 }}
|
||||
>
|
||||
<Flex gap={8} align="center">
|
||||
{hasHandoverForm && (
|
||||
<Typography.Text type="success">
|
||||
归档交接单已生成
|
||||
{processControl?.handoverFormUrl && (
|
||||
<a
|
||||
href={processControl.handoverFormUrl}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
style={{ marginLeft: 8 }}
|
||||
>
|
||||
查看
|
||||
</a>
|
||||
)}
|
||||
</Typography.Text>
|
||||
)}
|
||||
</Flex>
|
||||
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={handleArchive}
|
||||
|
|
|
|||
Loading…
Reference in New Issue