修正 ERP 边界与资产页面一致性(05-30-fix-erp-boundary-asset-consistency)
这个提交包含在:
@@ -60,8 +60,8 @@ async function mockAuthenticatedShell(page: Page) {
|
||||
await page.route((url) => url.pathname === "/api/me", (route) =>
|
||||
fulfillJson(route, {
|
||||
id: "employee-mock-1",
|
||||
employeeNo: "E001",
|
||||
name: "Smoke Employee",
|
||||
employeeNo: "HYD000003",
|
||||
name: "陈工程",
|
||||
phone: "13800000000",
|
||||
email: "[email protected]",
|
||||
departmentId: "dept-1",
|
||||
@@ -113,7 +113,7 @@ async function mockAuthenticatedShell(page: Page) {
|
||||
await page.route((url) => url.pathname === "/api/portal/home", (route) =>
|
||||
fulfillJson(route, {
|
||||
workspace: { id: "workspace-1", persisted: true, profile: "small_team_internal" },
|
||||
greeting: { name: "Smoke Employee" },
|
||||
greeting: { name: "陈工程" },
|
||||
cards: [],
|
||||
pendingTasks: { count: 0, href: "/todos" },
|
||||
myApplications: [],
|
||||
@@ -149,8 +149,8 @@ function reimbursementListItem() {
|
||||
paidAt: null,
|
||||
paidBy: null,
|
||||
},
|
||||
owner: { id: "employee-mock-1", employeeNo: "E001", name: "Smoke Employee" },
|
||||
submitter: { id: "employee-mock-1", employeeNo: "E001", name: "Smoke Employee" },
|
||||
owner: { id: "employee-mock-1", employeeNo: "HYD000003", name: "陈工程" },
|
||||
submitter: { id: "employee-mock-1", employeeNo: "HYD000003", name: "陈工程" },
|
||||
project: null,
|
||||
pendingWorkflow: null,
|
||||
createdAt: null,
|
||||
@@ -197,8 +197,8 @@ const invoiceListItem = {
|
||||
mimeType: "application/pdf",
|
||||
fileSize: 128,
|
||||
verification: null,
|
||||
owner: { id: "employee-mock-1", employeeNo: "E001", name: "Smoke Employee" },
|
||||
uploadedBy: { id: "employee-mock-1", employeeNo: "E001", name: "Smoke Employee" },
|
||||
owner: { id: "employee-mock-1", employeeNo: "HYD000003", name: "陈工程" },
|
||||
uploadedBy: { id: "employee-mock-1", employeeNo: "HYD000003", name: "陈工程" },
|
||||
createdAt: null,
|
||||
updatedAt: null,
|
||||
};
|
||||
|
||||
在新工单中引用
屏蔽一个用户