From b56bd12bb71b5aadd7f416d46fbaab6d04452b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tran=20Van=20Dung/=28Tran=20Van=20Dung=29/=ED=98=84?= =?UTF-8?q?=EC=9E=A5=EB=8C=80=EB=A6=AC=EC=9D=B8/SK?= <20074470@skcc.com> Date: Wed, 30 Jul 2025 08:23:13 +0700 Subject: [PATCH] update screen 34, 20 --- components/common/Grid.vue | 24 +++----- components/pages/ems/EqpmInfo/EqpmIaoTab.vue | 60 ++++++-------------- pages/comm/base/PrgmMngPage.vue | 35 +++++++----- 3 files changed, 46 insertions(+), 73 deletions(-) diff --git a/components/common/Grid.vue b/components/common/Grid.vue index 34c3f4b..507da54 100644 --- a/components/common/Grid.vue +++ b/components/common/Grid.vue @@ -107,16 +107,13 @@ export default { }, chkGridOptions() { const options = { - // bodyHeight: 'fitToContent', - scrollX: false, - scrollY: false, ...this.gridData.option, - useIcon: false, }; options.treeColumnOptions = { useIcon: false, ...options.treeColumnOptions, }; + return options; }, defaultRow() { @@ -163,7 +160,7 @@ export default { }, created() {}, async mounted() { - // console.log('--------------DEBUG----gridData: ', this.gridData); + // console.log(this.dataPath); if (this.gridName) { this.gridInstance = this.$refs['tuigrid' + this.gridName]; @@ -271,11 +268,12 @@ export default { }); }, focusChangeEvt(e) { + console.log("------------------DEBUG-------focusChangeEvt:", e); // console.log('focusChangeEvt1...') - if (this.preventFocusChangeEvent(e)) { - // console.log('prevent focusChangeEvt') - return; - } + // if (this.preventFocusChangeEvent(e)) { + // // console.log('prevent focusChangeEvt') + // return; + // } // console.log('focusChangeEvt2...') // cell 선택시 row 선택 method if (e.rowKey >= 0) { @@ -291,6 +289,7 @@ export default { this.sendSelectedRowData(e.rowKey); }, startEditing(e) { + console.log("------------DEBUG-----startEditing----", e); // console.log('startEditing1...') if (this.preventFocusChangeEvent(e)) { // console.log('prevent startEditing') @@ -666,8 +665,6 @@ export default { store.dimension.offsetLeft = offsetLeft; }, setHeight(_a,height){ - return; // setting auto height - // console.log("setHeight"); var dimension = _a.dimension; var headerHeight = dimension.headerHeight, summaryHeight = dimension.summaryHeight, tableBorderWidth = dimension.tableBorderWidth; @@ -705,11 +702,6 @@ export default {