ME6 完成移动二轮自动化复检与小修
这个提交包含在:
@@ -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,
|
||||
|
||||
在新工单中引用
屏蔽一个用户