From aec9353ab2a26643183718628893f19442335490 Mon Sep 17 00:00:00 2001 From: Michael <20074391@skcc.com> Date: Mon, 28 Jul 2025 17:22:38 +0900 Subject: [PATCH 1/5] - Update screen 14 29 - Remove mock data dashboard --- assets/scss/common/button.scss | 1 + assets/scss/common/grid.scss | 11 + assets/scss/var.scss | 2 + components/common/chartoptions/GaugeChart.js | 2 +- components/common/chartoptions/LineChart.js | 4 +- components/pages/comm/CommCdTab.vue | 4 +- .../pages/ems/ErcChrgInfo/ErcChrgInfoTab.vue | 57 - pages/comm/base/CommCdMngPage.vue | 80 +- pages/ems/base/DashboardPage.vue | 857 ++++----- pages/ems/base/EnrgResourceCenterMngPage.vue | 243 +-- pages/ems/effc/EnrgEffcTotSummPage.vue | 169 +- pages/ems/effc/TagTrndPage.vue | 1661 ++++++++--------- 12 files changed, 1329 insertions(+), 1762 deletions(-) diff --git a/assets/scss/common/button.scss b/assets/scss/common/button.scss index 6f60886..505fba5 100644 --- a/assets/scss/common/button.scss +++ b/assets/scss/common/button.scss @@ -93,6 +93,7 @@ } .search-button { + height: 40px; color: map-deep-get($config, #{$theme}, "search-btn-color"); } diff --git a/assets/scss/common/grid.scss b/assets/scss/common/grid.scss index e20897c..2eeabc9 100644 --- a/assets/scss/common/grid.scss +++ b/assets/scss/common/grid.scss @@ -98,6 +98,17 @@ @include theme($theme); .v-application.#{$theme}-mode { + .grid-title { + font-weight: 600; + font-size: 16px; + line-height: 24px; + letter-spacing: 0; + color: map-deep-get($config, + #{$theme}, + "tui-grid-title-color" + ); + } + .tui-grid { &-table { border: 1px solid; diff --git a/assets/scss/var.scss b/assets/scss/var.scss index 7595e02..0619caf 100644 --- a/assets/scss/var.scss +++ b/assets/scss/var.scss @@ -102,6 +102,7 @@ $config: ( v-calendar-day-color: #fff, v-calendar-day-in-not-month-color: rgba(255, 255, 255, 0.05), v-calendar-is-today-background-color: #2d4571, + tui-grid-title-color: #FFFFFFD9, tui-grid-header-backgroundColor: #2a2b2d, tui-grid-header-color: #FFFFFFD9, tui-grid-border-horziontal-color: #212224, @@ -238,6 +239,7 @@ $config: ( v-calendar-day-color: #111, v-calendar-day-in-not-month-color: #f8f8f8, v-calendar-is-today-background-color: #e3eaf3, + tui-grid-title-color: #000000E0, tui-grid-header-backgroundColor: #fafafa, //#e0e0e0, tui-grid-header-color: rgba(0, 0, 0, 0.88), tui-grid-border-horziontal-color: #e0e0e0, diff --git a/components/common/chartoptions/GaugeChart.js b/components/common/chartoptions/GaugeChart.js index d08b9aa..d29225c 100644 --- a/components/common/chartoptions/GaugeChart.js +++ b/components/common/chartoptions/GaugeChart.js @@ -1,5 +1,5 @@ // Gauge chart options -export default function getGaugeChartOption({ title, value, min = 0, max = 160, unit = '%', isDarkMode = false, backgroundRadius = 97 }) { +export default function getGaugeChartOption({ title, min = 0, max = 160, unit = '%', isDarkMode = false, backgroundRadius = 97 }) { const colorRanges = isDarkMode ? [ [0.375, '#49AA19'], // Dark Green diff --git a/components/common/chartoptions/LineChart.js b/components/common/chartoptions/LineChart.js index b514378..7d5ebce 100644 --- a/components/common/chartoptions/LineChart.js +++ b/components/common/chartoptions/LineChart.js @@ -2,7 +2,7 @@ export default function getLineChartOption({ xAxisData = [], seriesData = [], - legendData = [], + // legendData = [], isDarkMode = false, }) { @@ -31,7 +31,7 @@ export default function getLineChartOption({ }, legend: { - data: legendData, + // data: legendData, icon: 'circle', top: '0%', right: '5%', diff --git a/components/pages/comm/CommCdTab.vue b/components/pages/comm/CommCdTab.vue index cc60b2b..80dc906 100644 --- a/components/pages/comm/CommCdTab.vue +++ b/components/pages/comm/CommCdTab.vue @@ -1,7 +1,7 @@ diff --git a/components/common/modal/EnrgUsePlanModiPop.vue b/components/common/modal/EnrgUsePlanModiPop.vue index 05592d6..4fa2137 100644 --- a/components/common/modal/EnrgUsePlanModiPop.vue +++ b/components/common/modal/EnrgUsePlanModiPop.vue @@ -318,7 +318,7 @@ export default { // } }, mounted(){ - this.initTest(); return; + // this.initTest(); return; }, methods: { ...mapMutations({ @@ -478,10 +478,6 @@ export default { // }) }, async setChart(){ - // test - this.initTestChart(); return; - // end test - this.loadChart = false; let xAxisData = []; let seriesData = []; diff --git a/components/common/select/SelectBlocMstr.vue b/components/common/select/SelectBlocMstr.vue index 556c8aa..0ba8c7d 100644 --- a/components/common/select/SelectBlocMstr.vue +++ b/components/common/select/SelectBlocMstr.vue @@ -2,22 +2,17 @@ - + + $icoChevronDown + diff --git a/components/common/select/SelectMttList.vue b/components/common/select/SelectMttList.vue index 52fe3f6..270fe95 100644 --- a/components/common/select/SelectMttList.vue +++ b/components/common/select/SelectMttList.vue @@ -85,6 +85,11 @@ export default { type: String, require: false, }, + required: { + type: Boolean, + require: false, + default: false + }, }, data() { return { diff --git a/components/common/select/selectCodeList.vue b/components/common/select/selectCodeList.vue index 50a2bfe..eb62857 100644 --- a/components/common/select/selectCodeList.vue +++ b/components/common/select/selectCodeList.vue @@ -11,9 +11,11 @@ + diff --git a/components/pages/ems/DataSetInfo/DataSetTagRelTab.vue b/components/pages/ems/DataSetInfo/DataSetTagRelTab.vue index bb9b80d..a8792d1 100644 --- a/components/pages/ems/DataSetInfo/DataSetTagRelTab.vue +++ b/components/pages/ems/DataSetInfo/DataSetTagRelTab.vue @@ -5,7 +5,7 @@ -
+
@@ -66,7 +66,7 @@ export default { }, data() { return { - loadGrid: true, + loadGrid: false, gridName: 'rowDataSetTagRelGrid', detailDataSetTagList: myDataSetTagDetail, dataPathMock: { @@ -128,8 +128,6 @@ export default { const gridHeight = this.$refs['gridParent'].offsetHeight - 36; const myOptions = { - // bodyHeight: gridHeight, - // minBodyHeight: gridHeight, header: { height: 28, }, @@ -137,14 +135,9 @@ export default { minRowHeight: 29, selectionUnit: 'row', editingEvent: 'click', - // columnOptions: { - // resizable: true, - // minWidth: 100 - // } }; this.setGridOption({ gridKey: this.gridName, - // value: myOptions value: Object.assign(Utility.defaultGridOption(gridHeight), myOptions), }); @@ -204,16 +197,11 @@ export default { value: myColumns, }); - this.loadGrid = true; + this.$nextTick(() => { + this.loadGrid = true; + }) }, async getRowData(data, gridName) { - // if (data.rowStat === 'I') { - // this.detailDataSetTagList[0].disabled = false; - // this.detailDataSetTagList[1].disabled = false; - // } else { - // this.detailDataSetTagList[0].disabled = true; - // this.detailDataSetTagList[1].disabled = true; - // } this.setGridSelectData({ gridKey: gridName, gridSelect: true, diff --git a/layouts/default.vue b/layouts/default.vue index e784ca0..87ee665 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -112,13 +112,6 @@ }" />
- @@ -148,14 +141,6 @@ - @@ -322,19 +307,6 @@ - diff --git a/layouts/default_bak.vue b/layouts/default_bak.vue deleted file mode 100644 index 6f7365d..0000000 --- a/layouts/default_bak.vue +++ /dev/null @@ -1,809 +0,0 @@ - - - - diff --git a/layouts/default_bk.vue b/layouts/default_bk.vue deleted file mode 100644 index ae0aae0..0000000 --- a/layouts/default_bk.vue +++ /dev/null @@ -1,928 +0,0 @@ - - - - diff --git a/mixin/global.js b/mixin/global.js index ae513fc..7631640 100644 --- a/mixin/global.js +++ b/mixin/global.js @@ -58,7 +58,7 @@ export default { layoutInit() { if (this.$refs.searchFilter) { const searchFilterHeight = this.$refs.searchFilter.offsetHeight; - this.$refs.contents.style.height = `calc(100% - ${searchFilterHeight}px)`; + this.$refs.contents.style.minHeight = `calc(100% - ${searchFilterHeight + 20}px)`; } }, //init() {} diff --git a/nuxt.config.js b/nuxt.config.js index d517910..0bd0350 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -49,7 +49,7 @@ module.exports = { // Auto import components: https://go.nuxtjs.dev/config-components components: true, - + // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules buildModules: [ // https://go.nuxtjs.dev/vuetify diff --git a/pages/comm/auth/MenuRoleMngPage.vue b/pages/comm/auth/MenuRoleMngPage.vue index 1721950..93a5135 100644 --- a/pages/comm/auth/MenuRoleMngPage.vue +++ b/pages/comm/auth/MenuRoleMngPage.vue @@ -22,8 +22,7 @@ customClass="input-large" /> - - + @@ -31,8 +30,8 @@ - - + + 역할 리스트 @@ -53,7 +52,7 @@ - + 역할 메뉴별 권한 @@ -70,7 +69,7 @@ :style="{ minHeight: '36px' }" >[미배정]메뉴리스트 -
+
-
+
{ + return ``; + } + }, { header: '메뉴명', name: 'menuNm', @@ -415,6 +425,17 @@ export default { }, ]; const myTreeColumns2 = [ + { + header: '', + name: '', + align: 'center', + width: 30, + formatter: (props) => { + return ``; + } + }, { header: '역할ID', name: 'roleId', hidden: true }, { header: '메뉴ID', name: 'menuId', hidden: true }, { header: '메뉴명', name: 'menuNm', minWidth: '235' }, diff --git a/pages/comm/base/NoticeMngPage.vue b/pages/comm/base/NoticeMngPage.vue index 4b80a90..e0956bd 100644 --- a/pages/comm/base/NoticeMngPage.vue +++ b/pages/comm/base/NoticeMngPage.vue @@ -1,5 +1,6 @@