[as frontend] 체크리스트 조회시 항목 선택 체크

This commit is contained in:
2026-06-02 13:25:06 +09:00
parent 77fd719f96
commit 9a8350dae8
@@ -152,7 +152,7 @@ function CnfmRegistPage({ initialData }: { initialData?: any } = {}) {
// userInfo?.dtlInstCd 테스트 코드 ENV.ROLE_USER03 , KECO 권한 테스트용 (실제 권한에 맞게 변경 필요)
const userInfo = {
...userInfo2,
dtlInstCd: "ROLE_USER05", //ROLE_USER03, ROLE_USER02, ROLE_USER01 KECO 권한 테스트용 (실제 권한에 맞게 변경 필요)
dtlInstCd: "ROLE_USER03", //ROLE_USER03, ROLE_USER02, ROLE_USER01 KECO 권한 테스트용 (실제 권한에 맞게 변경 필요)
};
const alert = useAlertStore((state) => state.setMessage);
const qc = useQueryClient();
@@ -997,7 +997,7 @@ function CnfmRegistPage({ initialData }: { initialData?: any } = {}) {
// 라디오 그룹의 첫 입력에 포커스(예:Y 또는 아니오:N)
const firstRadio = invalidRowEl?.querySelector<HTMLInputElement>(`input[name="chk_${invalidKey}"]`);
firstRadio?.focus();
alert(`체크리스트 항목 "${invalidYesRow.rvwCn} 검토결과를 선택하세요.`);
alert(`체크리스트 항목 "${invalidYesRow.rvwCn}"의 검토결과를 선택하세요.`);
return false;
}
}