Browse Source

rename

master
cyril.tsui 2 days ago
parent
commit
a6741df1a5
2 changed files with 6 additions and 6 deletions
  1. +5
    -5
      src/app/api/escalation/index.ts
  2. +1
    -1
      src/components/DashboardPage/escalation/EscalationLogTable.tsx

+ 5
- 5
src/app/api/escalation/index.ts View File

@@ -7,14 +7,14 @@ import { cache } from "react";


export interface EscalationResult { export interface EscalationResult {
id: number; id: number;
personInCharge?: string;
personInChargeDepartment?: string;
personInChargeName?: string;
personInChargeTitle?: string;
handler?: string;
handlerDepartment?: string;
handlerName?: string;
handlerTitle?: string;
polId?: number; polId?: number;
poId?: number; poId?: number;
reason?: string; reason?: string;
personInChargeId?: number;
handlerId?: number;
itemName?: string; itemName?: string;
demandQty?: number; demandQty?: number;
acceptedQty?: number; acceptedQty?: number;


+ 1
- 1
src/components/DashboardPage/escalation/EscalationLogTable.tsx View File

@@ -61,7 +61,7 @@ const EscalationLogTable: React.FC<Props> = ({
const columns = useMemo<Column<EscalationResult>[]>( const columns = useMemo<Column<EscalationResult>[]>(
() => [ () => [
{ {
name: "personInCharge",
name: "handler",
label: t("Responsible for handling colleagues") label: t("Responsible for handling colleagues")
}, },
{ {


Loading…
Cancel
Save