hotfix grid

This commit is contained in:
Tran Van Dung/(Tran Van Dung)/현장대리인/SK
2025-07-29 14:58:37 +07:00
parent 54220aa4eb
commit 8f83e1d60c
3 changed files with 12 additions and 14 deletions

View File

@ -144,7 +144,7 @@ a {
& .router-tab__container { & .router-tab__container {
overflow-y: auto; overflow-y: auto;
min-height: calc(100vh - 105px); height: calc(100vh - 105px);
max-height: calc(100vh - 105px); max-height: calc(100vh - 105px);
padding: 20px; padding: 20px;
} }

View File

@ -58,7 +58,7 @@ export default {
layoutInit() { layoutInit() {
if (this.$refs.searchFilter) { if (this.$refs.searchFilter) {
const searchFilterHeight = this.$refs.searchFilter.offsetHeight; const searchFilterHeight = this.$refs.searchFilter.offsetHeight;
this.$refs.contents.style.minHeight = `calc(100% - ${searchFilterHeight + 20}px)`; this.$refs.contents.style.height = `calc(100% - ${searchFilterHeight + 20}px)`;
} }
}, },
//init() {} //init() {}

View File

@ -59,18 +59,16 @@
:btnActionsFnc="btnActions" :btnActionsFnc="btnActions"
/> />
</div> </div>
<div class="h100 px-5" style="height:calc(100% - 70px)"> <div ref="gridParent" class="h100 px-5" style="height:calc(100% - 70px)">
<div ref="gridParent" class="w100 h100"> <component
<component :ref="gridName"
:ref="gridName" :is="loadGrid ? 'Grid' : null"
:is="loadGrid ? 'Grid' : null" :gridName="gridName"
:gridName="gridName" :parentPrgmId="myPrgmId"
:parentPrgmId="myPrgmId" @getRowsData="getRowData"
@getRowsData="getRowData" @sendSelectedRowStatInfo="getSelectedRowStatInfo"
@sendSelectedRowStatInfo="getSelectedRowStatInfo" :selectedRowDataWatchFlag="true"
:selectedRowDataWatchFlag="true" />
/>
</div>
</div> </div>
</v-card> </v-card>
</v-col> </v-col>