feat(application-form-fill): 展示自动填表工作流卡片

This commit is contained in:
2026-06-07 18:43:39 +08:00
parent 9be10ef990
commit 4ac9c04dbf
7 changed files with 335 additions and 5 deletions

View File

@@ -464,8 +464,12 @@
}
function statusUrlForWorkflow(workflow_type, batchId) {
var attributeName =
workflow_type === "regulatory_review" ? "data-regulatory-status-url-template" : "data-status-url-template";
var attributeName = "data-status-url-template";
if (workflow_type === "regulatory_review") {
attributeName = "data-regulatory-status-url-template";
} else if (workflow_type === "application_form_fill") {
attributeName = "data-application-form-fill-status-url-template";
}
return templateUrl(attributeName, "__batch_id__", batchId);
}
@@ -832,7 +836,7 @@
}
function isWorkflowTerminalStatus(status) {
return status === "success" || status === "failed";
return status === "success" || status === "partial_success" || status === "failed";
}
function workflowTimerKey(batchId, workflow_type) {