From 34d5a1eeb787577bd705fb690d180bca4fa9cd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vu=20Trung=20Kien/=28Vu=20Trung=20Kien=29/=ED=98=84?= =?UTF-8?q?=EC=9E=A5=EB=8C=80=EB=A6=AC=EC=9D=B8/SK?= <20074468@skcc.com> Date: Thu, 31 Jul 2025 16:18:33 +0900 Subject: [PATCH] fixbug ui 20 21 --- components/common/PastRsltDatePicker.vue | 6 +- .../pages/ems/TagInfo/TagAddInfoTab.vue | 5 +- pages/ems/base/EqpmKindPage.vue | 4 +- pages/ems/base/EquipmentGroupMngPage.vue | 4 +- pages/ems/base/PastRsltDataReadPage.vue | 4 +- pages/ems/base/TagMngPage.vue | 224 +++++++++--------- pages/ems/base/TagMngPage_Pagination.vue | 2 +- plugins/gridUtility.js | 17 +- 8 files changed, 142 insertions(+), 124 deletions(-) diff --git a/components/common/PastRsltDatePicker.vue b/components/common/PastRsltDatePicker.vue index 67933f9..13dddae 100644 --- a/components/common/PastRsltDatePicker.vue +++ b/components/common/PastRsltDatePicker.vue @@ -9,7 +9,7 @@ -
+
- +
+ - + - + - - - - + + - + - + - - + + + + + + + + @@ -66,63 +48,33 @@ TAG 정보 - + -
- +
+
- + TAG 상세
- + {{ item.name }} - + - - + +
@@ -134,6 +86,7 @@ + \ No newline at end of file diff --git a/pages/ems/base/TagMngPage_Pagination.vue b/pages/ems/base/TagMngPage_Pagination.vue index e8408b5..4b3e83b 100644 --- a/pages/ems/base/TagMngPage_Pagination.vue +++ b/pages/ems/base/TagMngPage_Pagination.vue @@ -69,7 +69,7 @@
- + TAG 상세
diff --git a/plugins/gridUtility.js b/plugins/gridUtility.js index d371c44..1593079 100644 --- a/plugins/gridUtility.js +++ b/plugins/gridUtility.js @@ -253,8 +253,9 @@ export class NewCustomRenderer { } else { el.type = 'text'; - $(el).addClass('tui-grid-cell-content'); + $(el).addClass('tui-grid-cell-content w100'); $(el).css('text-align', 'center'); + $(el).css('border', '0'); } this.render(props); if(!this.disabled){ @@ -314,6 +315,8 @@ export class NewCustomEditor { this.rowKey = rowKey; this.columnInfo = columnInfo; this.grid = grid; + const divEl = document.createElement('div'); + $(divEl).css('text-align', 'center'); const el = document.createElement('input'); if ( props.grid.store.data.rawData[props.rowKey].addInfoDataKind == 'FG' @@ -363,16 +366,20 @@ export class NewCustomEditor { } $(el).addClass('tui-grid-content-text'); } + + divEl.append(el); // console.log('props: %o', props); // console.log('el: %o', el); this.el = el; + this.divEl = divEl; this.render(props); + } getElement() { - return this.el; + return this.divEl; } getValue() { @@ -389,9 +396,9 @@ export class NewCustomEditor { } mounted() { - if (this.el.type == 'checkbox') { - $(this.el.parentElement).css('text-align', 'center'); - } + // if (this.el.type == 'checkbox') { + // $(this.el.parentElement).css('text-align', 'center'); + // } this.el.select(); } } \ No newline at end of file