ME6 完成移动二轮自动化复检与小修

这个提交包含在:
2026-05-12 13:55:28 +08:00
父节点 cd4fe8d544
当前提交 96e5d2ecba
共修改 9 个文件,包含 105 行新增和 16 行删除
@@ -31,7 +31,7 @@ const employee = {
directManagerId: "manager-1",
status: "active",
notificationPushEnabled: true,
roleCodes: ["employee"],
roleCodes: ["employee", "manager"],
profileCompleteness: {
hasEmergencyContact: true,
hasBankAccount: true,
@@ -164,6 +164,20 @@ async function mockApis(page: Page) {
return;
}
if (pathName === "/api/workflow/tasks/summary" && request.method() === "GET") {
await fulfillJson(route, {
scope: "mine",
pendingTotal: 0,
overdueTotal: 0,
earliestPendingAt: null,
averagePendingAgeHours: 0,
byEntityType: [],
byStep: [],
byAssigneeRole: [],
});
return;
}
if (pathName === "/api/workflow/tasks" && request.method() === "GET") {
await fulfillJson(route, {
page: 1,