feat
parent
09800a2b2a
commit
2f83305b6f
|
|
@ -86,9 +86,9 @@ const ControlContent = (props) => {
|
||||||
processControl?.reviewerSignatureTaskStatus !== "non_dispatched";
|
processControl?.reviewerSignatureTaskStatus !== "non_dispatched";
|
||||||
const isSignatureCompleted =
|
const isSignatureCompleted =
|
||||||
processControl?.reviewerSignatureTaskStatus === "completed";
|
processControl?.reviewerSignatureTaskStatus === "completed";
|
||||||
const hasHandoverForm = !!processControl?.handoverFormUrl;
|
|
||||||
|
|
||||||
const canArchive = isSignatureCompleted && hasHandoverForm;
|
|
||||||
|
const canArchive = isSignatureCompleted ;
|
||||||
|
|
||||||
// 过程控制签字提交(confirm)
|
// 过程控制签字提交(confirm)
|
||||||
const handleConfirm = async (resultCode) => {
|
const handleConfirm = async (resultCode) => {
|
||||||
|
|
@ -426,23 +426,7 @@ const ControlContent = (props) => {
|
||||||
align="center"
|
align="center"
|
||||||
style={{ marginTop: 12, paddingBottom: 16 }}
|
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
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
onClick={handleArchive}
|
onClick={handleArchive}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue