调整待处理页任务优先体验(portal-task-first-redesign)
这个提交包含在:
@@ -34,6 +34,8 @@ const mockMe = {
|
||||
},
|
||||
};
|
||||
|
||||
const pendingTaskCreatedAt = new Date().toISOString();
|
||||
|
||||
const pendingTask = {
|
||||
id: "task-confirm-1",
|
||||
instanceId: "instance-confirm-1",
|
||||
@@ -43,7 +45,7 @@ const pendingTask = {
|
||||
assigneeRole: "manager",
|
||||
status: "pending",
|
||||
outcome: null,
|
||||
createdAt: "2026-05-15T09:00:00.000Z",
|
||||
createdAt: pendingTaskCreatedAt,
|
||||
completedAt: null,
|
||||
workflowInstance: {
|
||||
entityType: "leave",
|
||||
@@ -81,7 +83,7 @@ const pendingTaskDetail = {
|
||||
currentStatus: "reviewing",
|
||||
currentStepId: "manager-review",
|
||||
contextData: { standardViolations: [] },
|
||||
startedAt: "2026-05-15T09:00:00.000Z",
|
||||
startedAt: pendingTaskCreatedAt,
|
||||
completedAt: null,
|
||||
},
|
||||
reimbursement: null,
|
||||
|
||||
在新工单中引用
屏蔽一个用户