feat(equipment-acceptance): 预警扫描发送改异步并错开合同付款排程

手动扫描/发送入队由 schedule worker 执行,避免 Nginx 504;默认扫描 06:30、周五发送 18:30。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
sophieandCursor committed 2026-10-30 15:09:16 +08:00
1 parent 2e8405e2f0
commit 537e3e18f0
16 files changed
+334 -73

No files matched your search

+9 -3
View File
@@ -6102,7 +6102,7 @@
"tabLedger": "Waiting orders",
"tabSends": "Send records",
"tabConfig": "Alert settings",
"sendsLead": "The daily scan creates records waiting to be sent. They appear here after the Friday 18:00 summary goes out to each recipient. Names stay as they were at send time.",
"sendsLead": "The daily scan creates records waiting to be sent. They appear here after the Friday 18:30 summary goes out to each recipient. Names stay as they were at send time.",
"excelColumn": "Excel attachment",
"sentExcelTitle": "Sent Excel files",
"sentExcelHint": "One file per recipient. You can download the copy that was sent.",
@@ -6111,10 +6111,16 @@
"sendsFailed": "Failed to load send records",
"scanAlerts": "Scan alerts",
"sendAlerts": "Send alerts",
"scanConfirm": "This syncs from E10 and creates records waiting to be sent.",
"sendConfirm": "This sends the waiting records to WeCom, one message per recipient.",
"scanConfirm": "This queues a background sync and creates records waiting to be sent. The page will not wait for the whole run.",
"sendConfirm": "This queues background WeCom sends, one message per recipient. Do not click again until it finishes, or people may get duplicates.",
"scanDone": "Added {created}, updated {updated}, cancelled {cancelled}",
"sendDone": "Sent to {sent} people, {failed} failed",
"sendPartial": "Sent to {sent} people; {failed} failed",
"sendFailedCount": "{failed} people failed. Refresh the list for reasons.",
"sendEmpty": "There are no pending alerts, so send records will not change",
"jobSubmitted": "The job was queued for the background worker",
"jobTimeout": "The job is still running in the background. Refresh send records later for the result.",
"jobError": "The background job failed",
"sendResult": "Result",
"failureReason": "Failure reason",
"failureReasonEmpty": "No failure reason was recorded",