docs: 지붕재적합성 description 추가
This commit is contained in:
parent
e3e6f10893
commit
5f15e7360c
@ -9,10 +9,12 @@ export default function SuitableDetailPopupButton() {
|
|||||||
const popupController = usePopupController()
|
const popupController = usePopupController()
|
||||||
const { downloadSuitablePdf } = useSuitable()
|
const { downloadSuitablePdf } = useSuitable()
|
||||||
|
|
||||||
|
/* 상세 팝업 닫기 */
|
||||||
const handleClosePopup = () => {
|
const handleClosePopup = () => {
|
||||||
popupController.setSuitableDetailPopup(false)
|
popupController.setSuitableDetailPopup(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 페이지 이동 */
|
||||||
const handleRedirectPage = (path: string) => {
|
const handleRedirectPage = (path: string) => {
|
||||||
handleClosePopup()
|
handleClosePopup()
|
||||||
router.push(path)
|
router.push(path)
|
||||||
|
|||||||
@ -9,10 +9,12 @@ export default function SuitableButton() {
|
|||||||
const { getSuitableIds, clearSuitableStore, downloadSuitablePdf } = useSuitable()
|
const { getSuitableIds, clearSuitableStore, downloadSuitablePdf } = useSuitable()
|
||||||
const { selectedItems, addAllSelectedItem } = useSuitableStore()
|
const { selectedItems, addAllSelectedItem } = useSuitableStore()
|
||||||
|
|
||||||
|
/* 데이터 전체 선택 */
|
||||||
const handleSelectAll = async () => {
|
const handleSelectAll = async () => {
|
||||||
addAllSelectedItem(await getSuitableIds())
|
addAllSelectedItem(await getSuitableIds())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 상세 팝업 열기 */
|
||||||
const handleOpenPopup = () => {
|
const handleOpenPopup = () => {
|
||||||
if (selectedItems.size === 0) {
|
if (selectedItems.size === 0) {
|
||||||
alert('屋根材を選択してください。')
|
alert('屋根材を選択してください。')
|
||||||
@ -21,6 +23,7 @@ export default function SuitableButton() {
|
|||||||
popupController.setSuitableDetailPopup(true)
|
popupController.setSuitableDetailPopup(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pdf 다운로드 */
|
||||||
const handleRedirectPdfDownload = () => {
|
const handleRedirectPdfDownload = () => {
|
||||||
if (selectedItems.size === 0) {
|
if (selectedItems.size === 0) {
|
||||||
alert('屋根材を選択してください。')
|
alert('屋根材を選択してください。')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user