diff --git a/src/app/api/escalation/index.ts b/src/app/api/escalation/index.ts index abfb30a..5c0e7d4 100644 --- a/src/app/api/escalation/index.ts +++ b/src/app/api/escalation/index.ts @@ -7,14 +7,14 @@ import { cache } from "react"; export interface EscalationResult { id: number; - personInCharge?: string; - personInChargeDepartment?: string; - personInChargeName?: string; - personInChargeTitle?: string; + handler?: string; + handlerDepartment?: string; + handlerName?: string; + handlerTitle?: string; polId?: number; poId?: number; reason?: string; - personInChargeId?: number; + handlerId?: number; itemName?: string; demandQty?: number; acceptedQty?: number; diff --git a/src/components/DashboardPage/escalation/EscalationLogTable.tsx b/src/components/DashboardPage/escalation/EscalationLogTable.tsx index a71e89e..62f1040 100644 --- a/src/components/DashboardPage/escalation/EscalationLogTable.tsx +++ b/src/components/DashboardPage/escalation/EscalationLogTable.tsx @@ -61,7 +61,7 @@ const EscalationLogTable: React.FC = ({ const columns = useMemo[]>( () => [ { - name: "personInCharge", + name: "handler", label: t("Responsible for handling colleagues") }, {