수요신청 사업자 비밀번호 초기 화 메시지 변경

This commit is contained in:
leedj312
2025-08-01 15:26:54 +09:00
parent 75bafd5a34
commit 8653335aa9
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -162,10 +162,11 @@ export default function CoSttn() {
const initPassword = () => {
if (upadateData) {
const dmdInfoId = upadateData.dmdInfoId;
const dmdInfoSliceId = `${dmdInfoId.slice(0, 3)}-${dmdInfoId.slice(3, 5)}-${dmdInfoId.slice(5, 10)}-${dmdInfoId.slice(10)}`
const handleConfirm = () => {
coSttnPwInit(dmdInfoId);
};
confirmToast(t('isInitPw'), handleConfirm);
confirmToast( t('isInitPw', { dmdInfoId: dmdInfoSliceId }), handleConfirm, 'text-2xl');
} else {
toast.error("비밀번호 초기화를 원하는 행을 선택해주세요.")
}
+2 -2
View File
@@ -201,11 +201,11 @@ export const formatPhoneNumber = (tel: string) => {
}
};
export const confirmToast = (content: string, saveFunc: () => void) => {
export const confirmToast = (content: string, saveFunc: () => void, contentClass?:string) => {
toast(
(t) => (
<span className="flex flex-col items-center">
<div className="mb-6">{content}</div>
<div className={`mb-6 ${contentClass}`} >{content}</div>
<div className="flex flex-row space-x-2">
<Button
size={"sm"}
+1 -1
View File
@@ -17,7 +17,7 @@
"isMatchFinishMsg": " 매칭완료를 진행하시겠습니까?",
"isNotMatchFinishMsg": "검토완료중 매칭완료 여부를 체크한 항목이 없습니다.",
"canNotChangeMatStateMsg": "매칭완료된 항목은 상태를 변경할 수 없습니다.",
"isInitPw": "비밀번호를 초기화하시겠습니까?",
"isInitPw":"사업자번호 {{dmdInfoId}} 의 비밀번호를 초기화하시겠습니까? (초기화비밀번호는 해당 사업자의 사업자 번호입니다)",
"alreadyInsertedErrMsg": "사업자번호 {{num}}(은)는 이미 등록되었습니다. 다시 등록해주세요.",
"saveRowErrMsg": "수정을 원하는 행을 선택하고 저장버튼을 눌러주세요.",
"costCalcErrMsg": "공사비 계산 진행 후 저장을 눌러주세요",