소스 검색

update

tags/Baseline_30082024_FRONTEND_UAT
MSI\derek 1 년 전
부모
커밋
e90a41278c
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/app/api/staff/actions.ts
  2. +1
    -0
      src/components/CreateStaffForm/CreateStaffForm.tsx

+ 2
- 0
src/app/api/staff/actions.ts 파일 보기

@@ -32,6 +32,8 @@ export interface CreateStaffInputs {
departDate?: string | null;
departReason?: string | null;
remark?: string | null;
staffId: string | null;
skillSetId?: number[] | number | null | undefined
}
export interface records {


+ 1
- 0
src/components/CreateStaffForm/CreateStaffForm.tsx 파일 보기

@@ -67,6 +67,7 @@ const CreateStaffForm: React.FC<formProps> = ({ Title, fieldLists }) => {
}
const postData = {
...data,
skillSetId: typeof data.skillSetId === "number" ? [data.skillSetId] : data.skillSetId,
emergContactPhone: data.emergContactPhone.toString(),
phone1: data.phone1.toString(),
phone2: data.phone2.toString(),


불러오는 중...
취소
저장