feat(records): add source history and Tabler record ledgers

This commit is contained in:
abaishu0730 committed 2026-10-20 17:34:17 +08:00
1 parent 1421edd6d4
commit 20bb68615f
27 files changed
+291 -91

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ function createAssets(){
'/mail.js':{path:path.join(webRoot,'modules/mail/view.js'),type:'text/javascript'},
'/mail-history.js':{path:path.join(webRoot,'modules/mail/history.js'),type:'text/javascript'},
'/orders.js':{path:path.join(webRoot,'modules/bpm/arrivals.js'),type:'text/javascript'},
'/record-ui.js':{path:path.join(webRoot,'modules/records/shared.js'),type:'text/javascript'},
'/pdf-records.js':{path:path.join(webRoot,'modules/records/pdf.js'),type:'text/javascript'},
'/storage.js':{path:path.join(webRoot,'modules/storage/view.js'),type:'text/javascript'},
'/storage-preview.html':{path:path.join(webRoot,'modules/storage/preview.html'),type:'text/html',preview:true},
'/storage-preview.js':{path:path.join(webRoot,'modules/storage/preview.js'),type:'text/javascript',preview:true},
+1 -1
View File
@@ -38,7 +38,7 @@ function createDashboard({store,outputDir,workspace,bpmSessions,bpmMonitor,mail,
if(route==='/api/health' && request.method==='GET'){if(!health)fail(503,'健康状态服务未启动。');return reply(200,health.snapshot(user));}
if(await bpmApi({workspace,bpmSessions,bpmLifecycle,user,sessionId:token,route,method:request.method,body,request,response,reply,trustedProxy}))return;
if(await mailApi({mail,workspace,user,route,method:request.method,body,request,response,reply,trustedProxy}))return;
if(await bpmScanApi({scanner,workspace,bpmMonitor,user,sessionId:token,url,route,method:request.method,body,reply}))return;
if(await bpmScanApi({scanner,workspace,bpmMonitor,orderRules,user,sessionId:token,url,route,method:request.method,body,reply}))return;
if(await storageApi({storage,workspace,user,url,route,method:request.method,body,request,response,reply,trustedProxy}))return;
if(await notificationApi({notifications,workspace,user,route,method:request.method,body,reply}))return;
if(await orderExecutionApi({execution:orderExecution,orderRules,dispatcher:orderDispatcher,workspace,user,sessionId:token,url,route,method:request.method,body,reply}))return;