feat(application-form-fill): 展示自动填表工作流卡片
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user