完成五人团队正式内用最小收口(07-18-small-team-internal-readiness)
这个提交包含在:
@@ -65,7 +65,7 @@ export function resolveMobileNotificationTargetLink(item: NotificationTarget) {
|
||||
}
|
||||
|
||||
if (item.targetType === "attendance_correction") {
|
||||
return "/attendance";
|
||||
return "/mobile/attendance";
|
||||
}
|
||||
|
||||
if (item.targetType === "purchase_request") {
|
||||
|
||||
@@ -87,6 +87,10 @@ export function resolveMobileEquivalentPath(pathname: string, search = "") {
|
||||
return "/mobile/capture";
|
||||
}
|
||||
|
||||
if (normalizedPath === "/attendance") {
|
||||
return "/mobile/attendance";
|
||||
}
|
||||
|
||||
const workflowTaskMatch = normalizedPath.match(/^\/workflow\/tasks\/([^/]+)$/);
|
||||
if (workflowTaskMatch?.[1]) {
|
||||
return `/mobile/approvals/${encodeSegment(workflowTaskMatch[1])}`;
|
||||
@@ -119,7 +123,6 @@ export function resolveMobileEquivalentPath(pathname: string, search = "") {
|
||||
normalizedPath.startsWith("/weekly-reports") ||
|
||||
normalizedPath.startsWith("/todos") ||
|
||||
normalizedPath.startsWith("/team") ||
|
||||
normalizedPath.startsWith("/attendance") ||
|
||||
normalizedPath.startsWith("/budgets") ||
|
||||
normalizedPath.startsWith("/announcements") ||
|
||||
normalizedPath.startsWith("/delegations")
|
||||
|
||||
在新工单中引用
屏蔽一个用户