refactor: 지붕재적합성 체크박스 id 수정, 1:1 문구 제거 #100
@ -35,7 +35,7 @@ export default function SuitableDetailPopupButton() {
|
||||
</div>
|
||||
<div className="btn-bx">
|
||||
<button className="btn-frame n-blue icon" onClick={() => handleRedirectPage('/inquiry/regist')}>
|
||||
1:1お問い合わせ<i className="btn-arr"></i>
|
||||
お問い合わせ<i className="btn-arr"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -74,11 +74,11 @@ export default function SuitableList() {
|
||||
<div className={`check-form-box ${isMainIndeterminate(item.id, item.detailCnt) ? 'space' : ''}`}>
|
||||
<input
|
||||
type="checkbox"
|
||||
id={`ch${item.id}`}
|
||||
id={`main_ch${item.id}`}
|
||||
checked={isItemSelected(item.id)}
|
||||
onChange={() => handleItemClick(item.id, undefined, toSuitableDetailIds(item.detail))}
|
||||
/>
|
||||
<label htmlFor={`ch${item.id}`}>{item.productName}</label>
|
||||
<label htmlFor={`main_ch${item.id}`}>{item.productName}</label>
|
||||
</div>
|
||||
<div className="check-name-btn">
|
||||
<button className="bx-btn" onClick={() => toggleItemOpen(item.id)}></button>
|
||||
@ -91,11 +91,11 @@ export default function SuitableList() {
|
||||
<div className="check-form-box light">
|
||||
<input
|
||||
type="checkbox"
|
||||
id={`ch${subItem.id}`}
|
||||
id={`sub_ch${subItem.id}`}
|
||||
checked={isItemSelected(item.id, subItem.id)}
|
||||
onChange={() => handleItemClick(item.id, subItem.id)}
|
||||
/>
|
||||
<label htmlFor={`ch${subItem.id}`}>{toCodeName(SUITABLE_HEAD_CODE.TRESTLE_MFPC_CD, subItem.trestleMfpcCd)}</label>
|
||||
<label htmlFor={`sub_ch${subItem.id}`}>{toCodeName(SUITABLE_HEAD_CODE.TRESTLE_MFPC_CD, subItem.trestleMfpcCd)}</label>
|
||||
</div>
|
||||
<div className="compliance-icon-wrap">
|
||||
<div className="compliance-icon">
|
||||
@ -114,7 +114,7 @@ export default function SuitableList() {
|
||||
</div>
|
||||
)
|
||||
},
|
||||
[isItemSelected, openItems, handleItemClick, toggleItemOpen, toCodeName, toSuitableDetail],
|
||||
[isItemSelected, openItems, handleItemClick, toggleItemOpen, toCodeName, toSuitableDetail, toSuitableDetailIds],
|
||||
)
|
||||
|
||||
/* 조회 데이터 리스트 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user