WACP3R 自动发现并复跑审批补偿拉取
这个提交包含在:
@@ -98,6 +98,7 @@ function summarizeApprovalPayload(payload) {
|
||||
return {
|
||||
spNoPrefix: maskApprovalIdentifier(info.sp_no ?? payload?.sp_no),
|
||||
templateIdPrefix: maskApprovalIdentifier(info.template_id),
|
||||
spName: toSafeString(info.sp_name ?? info.spName, 120) || null,
|
||||
spStatus: info.sp_status == null ? null : toSafeString(info.sp_status, 40),
|
||||
applyFieldCount: contents.length,
|
||||
applyFieldTypeCounts: countBy(contents, controlType),
|
||||
@@ -358,6 +359,8 @@ async function fetchWecomApprovalDetail({
|
||||
message: null,
|
||||
tokenSource: token.tokenSource,
|
||||
response: sanitizeApprovalApiResponse(result.payload),
|
||||
templateId: toSafeString(result.payload?.info?.template_id ?? result.payload?.info?.templateId, 160),
|
||||
spName: toSafeString(result.payload?.info?.sp_name ?? result.payload?.info?.spName, 120),
|
||||
summary: summarizeApprovalPayload(result.payload),
|
||||
};
|
||||
} catch (error) {
|
||||
|
||||
在新工单中引用
屏蔽一个用户