From c657ef972feeafff16ab0e07cb4771f7dd141ba0 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Thu, 10 Jul 2025 09:55:45 +0000 Subject: (대표님) 20250710 작업사항 - 평가 첨부, 로그인, SEDP 변경 요구사항 반영 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/login/SuccessPage.tsx | 2 +- components/signup/join-form.tsx | 71 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 68 insertions(+), 5 deletions(-) (limited to 'components') diff --git a/components/login/SuccessPage.tsx b/components/login/SuccessPage.tsx index f9a3c525..5a696441 100644 --- a/components/login/SuccessPage.tsx +++ b/components/login/SuccessPage.tsx @@ -19,7 +19,7 @@ export default function SuccessPage({ message }: Props) { // 3초 후 자동 리다이렉트 useEffect(() => { const timer = setTimeout(() => { - router.push('/parnters'); + router.push('/partners'); }, 3000); return () => clearTimeout(timer); diff --git a/components/signup/join-form.tsx b/components/signup/join-form.tsx index ecaf6bc3..60f600b9 100644 --- a/components/signup/join-form.tsx +++ b/components/signup/join-form.tsx @@ -100,6 +100,20 @@ const enhancedCountryArray = sortedCountryArray.map(country => ({ : country.label })); +// Contact task options +const contactTaskOptions = [ + { value: "PRESIDENT_DIRECTOR", label: "회사대표 President/Director" }, + { value: "SALES_MANAGEMENT", label: "영업관리 Sales Management" }, + { value: "ENGINEERING_DESIGN", label: "설계/기술 Engineering/Design" }, + { value: "PROCUREMENT", label: "구매 Procurement" }, + { value: "DELIVERY_CONTROL", label: "납기/출하/운송 Delivery Control" }, + { value: "PM_MANUFACTURING", label: "PM/생산관리 PM/Manufacturing" }, + { value: "QUALITY_MANAGEMENT", label: "품질관리 Quality Management" }, + { value: "SHIPPING_DOC_MANAGEMENT", label: "세금계산서/납품서관리 Shipping Doc. Management" }, + { value: "AS_MANAGEMENT", label: "A/S 관리 A/S Management" }, + { value: "FIELD_SERVICE_ENGINEER", label: "FSE(야드작업자) Field Service Engineer" } +]; + // Comprehensive list of country dial codes export const countryDialCodes: { [key: string]: string } = { AF: "+93", AL: "+355", DZ: "+213", AS: "+1-684", AD: "+376", AO: "+244", @@ -212,11 +226,13 @@ export function JoinForm() { representativePhone: "", corporateRegistrationNumber: "", representativeWorkExpirence: false, - // contacts (no isPrimary) + // contacts (updated with new fields) contacts: [ { contactName: "", contactPosition: "", + contactDepartment: "", + contactTask: "", contactEmail: "", contactPhone: "", }, @@ -802,6 +818,8 @@ export function JoinForm() { addContact({ contactName: "", contactPosition: "", + contactDepartment: "", + contactTask: "", contactEmail: "", contactPhone: "", }) @@ -819,7 +837,7 @@ export function JoinForm() { key={contact.id} className="bg-muted/10 rounded-md p-4 space-y-4" > -
+
{/* contactName */} ( - 직급 / 부서 + 직급 @@ -854,6 +872,51 @@ export function JoinForm() { )} /> + {/* contactDepartment */} + ( + + + 부서 + + + + + + + )} + /> + + {/* contactTask - Dropdown */} + ( + + + 담당업무 + + + + + )} + /> + {/* contactEmail */} - ( -- cgit v1.2.3