docs: 지붕재적합성 description 추가
This commit is contained in:
parent
e3e6f10893
commit
5f15e7360c
@ -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)
|
||||
|
||||
@ -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('屋根材を選択してください。')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user