docs: 지붕재적합성 description 추가

This commit is contained in:
Daseul Kim 2025-06-10 11:34:53 +09:00
parent e3e6f10893
commit 5f15e7360c
2 changed files with 5 additions and 0 deletions

View File

@ -9,10 +9,12 @@ export default function SuitableDetailPopupButton() {
const popupController = usePopupController()
const { downloadSuitablePdf } = useSuitable()
/* 상세 팝업 닫기 */
const handleClosePopup = () => {
popupController.setSuitableDetailPopup(false)
}
/* 페이지 이동 */
const handleRedirectPage = (path: string) => {
handleClosePopup()
router.push(path)

View File

@ -9,10 +9,12 @@ export default function SuitableButton() {
const { getSuitableIds, clearSuitableStore, downloadSuitablePdf } = useSuitable()
const { selectedItems, addAllSelectedItem } = useSuitableStore()
/* 데이터 전체 선택 */
const handleSelectAll = async () => {
addAllSelectedItem(await getSuitableIds())
}
/* 상세 팝업 열기 */
const handleOpenPopup = () => {
if (selectedItems.size === 0) {
alert('屋根材を選択してください。')
@ -21,6 +23,7 @@ export default function SuitableButton() {
popupController.setSuitableDetailPopup(true)
}
/* pdf 다운로드 */
const handleRedirectPdfDownload = () => {
if (selectedItems.size === 0) {
alert('屋根材を選択してください。')