-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Weekly' into feat/#104
- Loading branch information
Showing
25 changed files
with
525 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { getDynamicAPIPath } from '@/apis/apiPath'; | ||
import { clientInstance } from '@/apis/instance'; | ||
import { useQuery } from '@tanstack/react-query'; | ||
|
||
export const getContractImgPath = (applyId: number) => `${getDynamicAPIPath.downloadContract(applyId)}`; | ||
const getContractImg = async (applyId: number) => { | ||
const res = await clientInstance.get(getContractImgPath(applyId)); | ||
return res.data; | ||
}; | ||
|
||
export const useGetContractImg = (applyId: number) => | ||
useQuery({ | ||
queryKey: [getContractImgPath], | ||
queryFn: () => getContractImg(applyId), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,16 @@ | ||
import { APIPath } from '@/apis/apiPath'; | ||
import { clientInstance } from '@/apis/instance'; | ||
import { NoticeRequestData } from '@/types'; | ||
import { useMutation } from '@tanstack/react-query'; | ||
|
||
export type NoticeRequestData = { | ||
title?: string; | ||
companyScale?: string; | ||
area?: string; | ||
salary?: string; | ||
workDuration?: string; | ||
workDays?: string; | ||
workType?: string; | ||
workHours?: string; | ||
requestedCareer?: string; | ||
majorBusiness?: string; | ||
eligibilityCriteria?: string; | ||
preferredConditions?: string; | ||
employerName?: string; | ||
companyName?: string; | ||
}; | ||
|
||
export const getPostNoticePath = () => `${APIPath.postNotice}`; | ||
|
||
export const postNotice = async (req: NoticeRequestData) => { | ||
const response = await clientInstance.post(getPostNoticePath(), req); | ||
return response.data; | ||
}; | ||
|
||
export const useFetchPostNotice = () => | ||
export const usePostNotice = () => | ||
useMutation({ | ||
mutationFn: postNotice, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/registerCompany/registerCompany.mock.ts β ...sterCompany/mocks/registerCompany.mock.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { Languages } from '../Languages'; | ||
|
||
export const contractData = { | ||
[Languages.KO]: { | ||
CONTRACT: 'κ·Ό λ‘ κ³ μ½ μ', | ||
WORKING_PLACE: '1. 근무μ₯μ', | ||
RESPONSIBILITIES: '2. μ 무λ΄μ©', | ||
WORKING_HOURS: '3. κ·Όλ‘μΌ λ° κ·Όλ‘μΌλ³ κ·Όλ‘μκ°', | ||
DAY_OFF: '4. μ£Όν΄μΌ', | ||
SALARY: '5. μκΈ', | ||
ANNUAL_PAID_LEAVE: '6. μ°μ°¨μ κΈν΄κ°', | ||
RULE: '7. μ·¨μ κ·μΉ', | ||
SENTENCE1: 'μ¬μ©μμ κ·Όλ‘μλ κ°μκ° κ·Όλ‘κ³μ½, μ·¨μ κ·μΉ, λ¨μ²΄νμ½μ μ§ν€κ³ μ±μ€νκ² μ΄ννμ¬μΌ νλ€.', | ||
SENTENCE2: "μ΄ κ³μ½μμ μ νμ§ μμ μ¬νμ 'κ·Όλ‘κΈ°μ€λ²'μμ μ νλ λ°μ λ°λ₯Έλ€.", | ||
SIGN: 'μλͺ νκΈ°', | ||
SUBMIT: 'μ μΆνκΈ°', | ||
ERROR: '* κ·Όλ‘κ³μ½μμ μλͺ ν΄μ£ΌμΈμ!', | ||
}, | ||
[Languages.VE]: { | ||
CONTRACT: 'Hợp Δα»ng lao Δα»ng', | ||
WORKING_PLACE: '1. NΖ‘i lΓ m viα»c', | ||
RESPONSIBILITIES: '2. Nα»i dung cΓ΄ng viα»c', | ||
WORKING_HOURS: '3. NgΓ y lΓ m viα»c vΓ giα» lΓ m viα»c theo ngΓ y', | ||
DAY_OFF: '4. NgΓ y nghα» hΓ ng tuαΊ§n', | ||
SALARY: '5. Tiα»n lΖ°Ζ‘ng', | ||
ANNUAL_PAID_LEAVE: '6. Nghα» phΓ©p cΓ³ lΖ°Ζ‘ng hΓ ng nΔm', | ||
RULE: '7. Quy tαΊ―c lao Δα»ng', | ||
SENTENCE1: | ||
'NgΖ°α»i sα» dα»₯ng lao Δα»ng vΓ ngΖ°α»i lao Δα»ng cαΊ§n tuΓ’n thủ hợp Δα»ng lao Δα»ng, quy tαΊ―c lao Δα»ng vΓ thα»a thuαΊn tαΊp thα» mα»t cΓ‘ch nghiΓͺm tΓΊc.', | ||
SENTENCE2: 'CΓ‘c Δiα»u khoαΊ£n khΓ΄ng Δược quy Δα»nh trong hợp Δα»ng nΓ y sαΊ½ Δược Δiα»u chα»nh theo "LuαΊt lao Δα»ng".', | ||
SIGN: 'KΓ½ tΓͺn', | ||
SUBMIT: 'Gα»i Δi', | ||
ERROR: '* Vui lΓ²ng kΓ½ vΓ o hợp Δα»ng lao Δα»ng!', | ||
}, | ||
}; |
16 changes: 16 additions & 0 deletions
16
src/assets/translator/EmployeeMyPage/employeeMyPageData.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Languages } from '../Languages'; | ||
|
||
export const employeeMyPageData = { | ||
[Languages.KO]: { | ||
REGISTER_RESUME: 'μ΄λ ₯μ λ±λ‘νκΈ°', | ||
REGISTER_SIGN: 'μ¬μΈ λ±λ‘', | ||
REGISTER_VISA: 'μΈκ΅μΈ λ²νΈ λ° λΉμ λ°κΈ μΌμ λ±λ‘', | ||
MYRECRUITLIST: 'λ΄κ° μ§μν κ³΅κ³ ', | ||
}, | ||
[Languages.VE]: { | ||
REGISTER_RESUME: 'ΔΔng kΓ½ hα» sΖ‘', | ||
REGISTER_SIGN: 'ΔΔng kΓ½ chα»― kΓ½', | ||
REGISTER_VISA: 'ΔΔng kΓ½ sα» ngΖ°α»i nΖ°α»c ngoΓ i vΓ ngΓ y cαΊ₯p visa', | ||
MYRECRUITLIST: 'CΓ΄ng viα»c tΓ΄i ΔΓ£ α»©ng tuyα»n', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Languages } from '../Languages'; | ||
|
||
export const postNoticeData = { | ||
[Languages.KO]: { | ||
TITLE: 'κ΅¬μΈ κΈ λ±λ‘νκΈ°', | ||
COMPANY_NAME: 'νμ¬λͺ ', | ||
EMPLOYER_NAME: 'λ΄λΉμλͺ ', | ||
COMPANY_SCALE: 'νμ¬κ·λͺ¨', | ||
AREA: 'κ·Όλ¬΄μ§ μ£Όμ', | ||
SALARY: 'κΈμ¬', | ||
MAJOR_BUSINESS: 'μ 무λ΄μ©', | ||
WORKDURATION: '근무기κ°', | ||
WORKDAYS: '근무μμΌ', | ||
WORKHOURS: '근무μκ°', | ||
WORKTYPE: 'κ³ μ©νν', | ||
REQUESTED_CAREER: 'μ§μ쑰건', | ||
ELIGIBILITY_CRITERIA: 'λΉμ쑰건', | ||
PREFERRED_CONDITIONS: 'μ°λμ¬ν', | ||
SUBMIT: 'λ±λ‘νκΈ°', | ||
}, | ||
[Languages.VE]: { | ||
TITLE: 'ΔΔng thΓ΄ng bΓ‘o tuyα»n dα»₯ng', | ||
COMPANY_NAME: 'TΓͺn cΓ΄ng ty', | ||
EMPLOYER_NAME: 'TΓͺn ngΖ°α»i phα»₯ trΓ‘ch', | ||
COMPANY_SCALE: 'Quy mΓ΄ cΓ΄ng ty', | ||
AREA: 'Δα»a chα» lΓ m viα»c', | ||
SALARY: 'LΖ°Ζ‘ng', | ||
MAJOR_BUSINESS: 'Nα»i dung cΓ΄ng viα»c', | ||
WORKDURATION: 'Thα»i gian lΓ m viα»c', | ||
WORKDAYS: 'NgΓ y lΓ m viα»c trong tuαΊ§n', | ||
WORKHOURS: 'Giα» lΓ m viα»c', | ||
WORKTYPE: 'HΓ¬nh thα»©c lao Δα»ng', | ||
REQUESTED_CAREER: 'YΓͺu cαΊ§u kinh nghiα»m', | ||
ELIGIBILITY_CRITERIA: 'Δiα»u kiα»n vα» visa', | ||
PREFERRED_CONDITIONS: 'Ζ―u tiΓͺn', | ||
SUBMIT: 'ΔΔng kΓ½', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
src/assets/translator/RegisterCompany/registerCompanyData.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Languages } from '../Languages'; | ||
|
||
export const registerCompanyData = { | ||
[Languages.KO]: { | ||
TITLE: 'νμ¬ λ±λ‘', | ||
LOGOIMAGE: 'νμ¬ μ΄λ―Έμ§ μ λ‘λ(μ ν)', | ||
COMPANYNAME: 'νμ¬λͺ ', | ||
INDUSTRY_OCCUPATION: 'μ μ§μ’ ', | ||
BRAND: 'λΈλλ', | ||
REVENUE_PERYEAR: 'μ° νκ· λ§€μΆμ‘', | ||
SUBMIT: 'λ±λ‘νκΈ°', | ||
}, | ||
[Languages.VE]: { | ||
TITLE: 'ΔΔng kΓ½ cΓ΄ng ty', | ||
LOGOIMAGE: 'TαΊ£i lΓͺn logo cΓ΄ng ty (tΓΉy chα»n)', | ||
COMPANYNAME: 'TΓͺn cΓ΄ng ty', | ||
INDUSTRY_OCCUPATION: 'NgΓ nh nghα»', | ||
BRAND: 'ThΖ°Ζ‘ng hiα»u', | ||
REVENUE_PERYEAR: 'Doanh thu hΓ ng nΔm', | ||
SUBMIT: 'ΔΔng kΓ½', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.