fix(dsh): align recovery, scheduling audit and credential guarantees

This commit is contained in:
阿白叔 committed 2026-10-31 14:16:27 +08:00
1 parent e565f67b46
commit 9552f1eb95
32 files changed
+514 -135

No files matched your search

+6 -1
View File
@@ -161,7 +161,12 @@ window.__ModuleLoader__.load({id:'@dx/dsh-task',factory:require=>{
blockerList(row.blockers),actions(
button('dx-schedule-run-'+row.schedule_id,'核对并执行',()=>perform({operation:'run_schedule',schedule_id:row.schedule_id}),pending||row.ready!==true),
button('dx-schedule-cancel-'+row.schedule_id,'取消排期',()=>perform({operation:'cancel_schedule',schedule_id:row.schedule_id}),pending||row.status!=='pending')))),
!operations.schedules?.length&&empty('暂无排期。'));
!operations.schedules?.length&&empty('暂无排期。'),
...(operations.schedule_events||[]).slice(0,10).map(row=>card('schedule-event-'+row.sequence,
row.event==='dispatch'?'排期派发记录':'排期结果记录',
detail('时间',time(row.at_utc)),detail('排期',row.schedule_id),detail('执行',row.run_id),
detail('授权',row.payload?.authority==='native_future_authorization'?'原生预先授权':row.payload?.authority==='native_confirmation'?'原生即时确认':'—'),
detail('结果',status(row.payload?.status||'claimed')))));
}
function ExperiencesPanel({operations,perform,pending}){
const[query,setQuery]=React.useState('');