添加报表页面,更新用户管理和注册功能

This commit is contained in:
2025-12-15 21:39:32 +08:00
parent 738eaa5211
commit 9aa28f5b9e
63 changed files with 1018 additions and 403 deletions

View File

@@ -0,0 +1 @@
function s(t){return String(t||"").trim()}function a(t){return!t.startsWith("user_scheduled")||!t.includes(":")?"":t.split(":",2)[1]||""}function i(t){const e=s(t);if(!e||e==="manual")return{group:"manual",label:"手动",type:"success",tooltip:""};if(e==="scheduled")return{group:"scheduled",label:"定时任务",type:"primary",tooltip:"系统定时"};if(e.startsWith("user_scheduled")){const u=a(e),r=String(u||"").replace(/^batch_/,"");return{group:"scheduled",label:"定时任务",type:"primary",tooltip:r?`用户定时批次:${r}`:"用户定时"}}return{group:"manual",label:"手动",type:"success",tooltip:{batch:"手动批量",manual_screenshot:"手动截图",immediate:"立即执行",resumed:"断点恢复"}[e]||e}}export{i as g};