diff --git a/src/components/base/VModal.vue b/src/components/base/VModal.vue index 509143b..90c3c94 100644 --- a/src/components/base/VModal.vue +++ b/src/components/base/VModal.vue @@ -2,7 +2,7 @@ import type { Component } from 'vue' import { FocusTrap } from 'focus-trap-vue' -export type VModalSize = 'small' | 'medium' | 'large' | 'big' | 'wide' | 'full' +export type VModalSize = 'small' | 'medium' | 'large' | 'big' | 'wide' | 'wide-large' | 'full' export type VModalAction = 'center' | 'right' export interface VModalEmits { @@ -154,6 +154,21 @@ onUnmounted(() => { } } + &.is-wide-large { + .modal-content { + width: 100%; + max-width: 60%; + + .modal-card { + width: 100%; + } + } + + .form-layout { + max-width: 98%; + } + } + &.is-full { .modal-content { width: 100%; diff --git a/src/components/pages/contract/Contract.vue b/src/components/pages/contract/Contract.vue index 3a8008c..773650a 100644 --- a/src/components/pages/contract/Contract.vue +++ b/src/components/pages/contract/Contract.vue @@ -98,6 +98,7 @@ watch(params, (newValue) => { v-if="prcsList !== undefined" :length="length" :page="page" + :row="params.row" :prcs-list="prcsList" :total="total" @on-search="onSearch" @@ -110,7 +111,7 @@ watch(params, (newValue) => { title="견적 등록" actions="center" cancel-label="취소" - size="full" + size="wide-large" @close="saveModal = false" >