From 58bb7f915c21bf5d93705e649f80ce7c68fcc9c5 Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 31 Jul 2025 11:31:53 +0900 Subject: [PATCH] Update screen 30, 13, 22 --- assets/scss/common.scss | 62 ++++- assets/scss/var.scss | 32 ++- components/common/Calendar.vue | 98 ++++--- components/common/Grid.vue | 2 +- components/common/modal/EgrpPysclQtyPop.vue | 53 ++-- components/common/modal/EqpmCalcPop.vue | 2 +- components/common/modal/PlanPop.vue | 106 ++++--- components/common/modal/ReadPlcPop.vue | 2 +- components/common/select/SelectBoxTime.vue | 4 +- mixin/global.js | 2 +- pages/comm/auth/MenuMngPage.vue | 23 +- pages/comm/base/BatchMngPage.vue | 292 +++++++------------- pages/comm/base/CalendarMngPage.vue | 268 +++++++----------- pages/ems/base/EqpmGrpPysclQtyMngPage.vue | 73 +---- pages/ems/base/GdIdxMngPage.vue | 159 +---------- pages/ems/effc/EnrgEffcEqpmDetlMntrPage.vue | 5 +- 16 files changed, 436 insertions(+), 747 deletions(-) diff --git a/assets/scss/common.scss b/assets/scss/common.scss index b0d4fa3..1888a79 100644 --- a/assets/scss/common.scss +++ b/assets/scss/common.scss @@ -434,7 +434,7 @@ a { .v-application.#{$theme}-mode { min-width: 1000px; - .head-logo{ + .head-logo { gap: 8px; } @@ -485,8 +485,9 @@ a { .container--fluid { background-color: map-deep-get($config, #{$theme}, "container-fluid"); + .menu-container { - max-height:calc(100vh - 60px); + max-height: calc(100vh - 60px); overflow-y: auto; } } @@ -950,15 +951,24 @@ a { "v-calendar-weekday-backgroundColor" ); border-right: 1px solid map-deep-get($config, #{$theme}, "v-calendar-weekday-border-color"); + border-bottom: 1px solid map-deep-get($config, #{$theme}, "v-calendar-weekday-border-color"); + border-top: 1px solid map-deep-get($config, #{$theme}, "v-calendar-weekday-border-color"); color: map-deep-get($config, #{$theme}, "v-calendar-weekday-color"); &:nth-of-type(1) { - color: map-deep-get($color, "week", "sun"); + // color: map-deep-get($config, + // #{$theme}, + // "v-calendar-is-sun" + // ); + border-left: 1px solid map-deep-get($config, #{$theme}, "v-calendar-weekday-border-color"); } - &:nth-of-type(7) { - color: map-deep-get($color, "week", "sat"); - } + // &:nth-of-type(7) { + // color: map-deep-get($config, + // #{$theme}, + // "v-calendar-is-sat" + // ); + // } } >.vc-day { @@ -967,22 +977,33 @@ a { .day-hldyNm, .day-label.is-holiday { - color: map-deep-get($color, "week", "sun"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sun" + ); } &.weekday-1 { .day-label, .day-hldyNm { - color: map-deep-get($color, "week", "sun"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sun" + ); } + + border-left: 1px solid map-deep-get($config, #{$theme}, "v-calendar-weekday-border-color"); } &.weekday-7 { .day-label, .day-hldyNm { - color: map-deep-get($color, "week", "sat"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sat" + ); } } @@ -1184,11 +1205,17 @@ a { } th.tui-sun { - color: map-deep-get($color, "week", "sun"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sun" + ); } th.tui-sat { - color: map-deep-get($color, "week", "sat"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sat" + ); } } @@ -1204,11 +1231,17 @@ a { } td.tui-calendar-sun { - color: map-deep-get($color, "week", "sun"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sun" + ); } td.tui-calendar-sat { - color: map-deep-get($color, "week", "sat"); + color: map-deep-get($config, + #{$theme}, + "v-calendar-is-sat" + ); } } } @@ -1322,11 +1355,12 @@ a { color: #46c0ff; } } + .v-btn { background-color: transparent !important; color: map-deep-get($config, #{$theme}, "btn-header-select-color") !important; } - + } [hover-tooltip] { diff --git a/assets/scss/var.scss b/assets/scss/var.scss index ec638ff..1f6d557 100644 --- a/assets/scss/var.scss +++ b/assets/scss/var.scss @@ -32,8 +32,8 @@ $color: ( "black": ("0": #000, "1": #111), "white": ("0": #fff), - "week": ("sun": #fb5a83, - "sat": #2d8cf6) + "week": ("sun": #FF4D4F, + "sat": #597EF7) ); $config: ( @@ -96,12 +96,14 @@ $config: ( v-input-disabled-backgroundColor:rgba(255, 255, 255, 0.08), v-input-disabled-color: rgba(255, 255, 255, 0.5), v-select-label-color: rgba(255, 255, 255, 0.85), - v-calendar-weekday-backgroundColor: #383f5d, - v-calendar-weekday-color: #fff, - v-calendar-weekday-border-color: rgba(255, 255, 255, 0.1), - 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, + v-calendar-weekday-backgroundColor: #FFFFFF0A, + v-calendar-weekday-color: #FFFFFFD9, + v-calendar-weekday-border-color: #FFFFFF0F, + v-calendar-day-color: #FFFFFFD9, + v-calendar-day-in-not-month-color: #FFFFFF14, + v-calendar-is-today-background-color: #0A224F, + v-calendar-is-sat: #263EA0, + v-calendar-is-sun:#A61D24, tui-grid-title-color: #FFFFFFD9, tui-grid-header-backgroundColor: #2a2b2d, tui-grid-header-color: #FFFFFFD9, @@ -234,12 +236,14 @@ $config: ( v-input-disabled-backgroundColor: rgba(0, 0, 0, 0.04), v-input-disabled-color: rgba(0, 0, 0, 0.25), v-select-label-color: rgba(0, 0, 0, 0.88), - v-calendar-weekday-backgroundColor: #e0e0e0, - v-calendar-weekday-color: #111, - v-calendar-weekday-border-color: #d4d4d4, - v-calendar-day-color: #111, - v-calendar-day-in-not-month-color: #f8f8f8, - v-calendar-is-today-background-color: #e3eaf3, + v-calendar-weekday-backgroundColor: #00000005, + v-calendar-weekday-color: #000000E0, + v-calendar-weekday-border-color: #0000000F, + v-calendar-day-color: #000000E0, + v-calendar-day-in-not-month-color: #0000000A, + v-calendar-is-today-background-color: #E6F4FF, + v-calendar-is-sat: #597EF7, + v-calendar-is-sun:#FF4D4F, tui-grid-title-color: #000000E0, tui-grid-header-backgroundColor: #fafafa, //#e0e0e0, tui-grid-header-color: rgba(0, 0, 0, 0.88), diff --git a/components/common/Calendar.vue b/components/common/Calendar.vue index 9c0f096..00681b4 100644 --- a/components/common/Calendar.vue +++ b/components/common/Calendar.vue @@ -3,45 +3,28 @@
{{ selectedYear }}년 {{ selectedMonth }}월
- + - + @@ -196,36 +182,44 @@ const myDetail = []; diff --git a/pages/ems/base/EqpmGrpPysclQtyMngPage.vue b/pages/ems/base/EqpmGrpPysclQtyMngPage.vue index b26eb74..db162df 100644 --- a/pages/ems/base/EqpmGrpPysclQtyMngPage.vue +++ b/pages/ems/base/EqpmGrpPysclQtyMngPage.vue @@ -31,7 +31,7 @@ - + 물리량 리스트 @@ -50,7 +50,7 @@ - + 물리량 상세 @@ -114,7 +114,7 @@ - + - + - - + + 추가 삭제 @@ -225,61 +225,6 @@ export default { formatterSelectList02: [], loadGrid: false, - dataPathExample: { - "rowGrid": { - data: [ - { - "pysclQtyId": "001", - "pysclQtyCd": "TEMP001", - "pysclQtyNm": "온도", - "pysclQtyTp": "실수" - }, - { - "pysclQtyId": "002", - "pysclQtyCd": "PRESS001", - "pysclQtyNm": "압력", - "pysclQtyTp": "실수" - }, - { - "pysclQtyId": "003", - "pysclQtyCd": "FLOW001", - "pysclQtyNm": "유량", - "pysclQtyTp": "정수" - }, - { - "pysclQtyId": "004", - "pysclQtyCd": "HUMID001", - "pysclQtyNm": "습도", - "pysclQtyTp": "실수" - }, - { - "pysclQtyId": "005", - "pysclQtyCd": "VOLT001", - "pysclQtyNm": "전압", - "pysclQtyTp": "실수" - } - ] - - , - column: [ - { - header: '물리량 ID', - name: 'pysclQtyId', - width: 100, - align: 'center', - }, - { header: '물리량코드', name: 'pysclQtyCd', minWidth: 255 }, - { header: '물리량명', name: 'pysclQtyNm', width: 150 }, - { - header: '물리량타입', - name: 'pysclQtyTp', - width: 80, - }, - - ], - - } - }, loadGrid2: false, detailList: myDetail, @@ -954,6 +899,8 @@ export default { height: 37, }, rowHeight: 'auto', + scrollX: true, + scrollY: true, }; this.setGridOption({ @@ -967,7 +914,7 @@ export default { header: '물리량 ID', name: 'pysclQtyId', width: 100, - align: 'center', + align: 'left', }, { header: '설비그룹 ID', name: 'eqpmGrpId', hidden: true }, { header: 'argCnt', name: 'argCnt', hidden: true }, diff --git a/pages/ems/base/GdIdxMngPage.vue b/pages/ems/base/GdIdxMngPage.vue index 85f177d..bca7aa5 100644 --- a/pages/ems/base/GdIdxMngPage.vue +++ b/pages/ems/base/GdIdxMngPage.vue @@ -119,109 +119,6 @@ export default { selectValueList01: [], selectValue02: null, selectValueList02: [], - // pyscPopupValueChkList: 'pyscPopupValueChkList', - // pyscListChk: { - // pysclQtyId1 : null, - // pysclQtyId2 : null, - // pysclQtyId3 : null, - // pysclQtyId4 : null - // } - // dataPathExample: { - // "rowGrid": { - // data: [ - - // { - // gdIdxId: 'GD001', - // gdIdxNm: '온도 가이드', - // eqpmGrpId: 'EQ001', - // upTotMeth: 'AVG', - // careStndVal: 50, - // warnStndVal: 70, - // alrmMsg: '온도가 기준치를 초과했습니다.', - // }, - // { - // gdIdxId: 'GD002', - // gdIdxNm: '습도 가이드', - // eqpmGrpId: 'EQ002', - // upTotMeth: 'MAX', - // careStndVal: 30, - // warnStndVal: 60, - // alrmMsg: '습도가 기준치를 초과했습니다.', - // }, - // { - // gdIdxId: 'GD003', - // gdIdxNm: '압력 가이드', - // eqpmGrpId: 'EQ003', - // upTotMeth: 'SUM', - // careStndVal: 100, - // warnStndVal: 150, - // alrmMsg: '압력이 기준치를 초과했습니다.', - // } - - // ], - // column: [ - // { - // header: '가이드', - // name: 'gdIdxId', - // width: 100, - // align: 'center', - // }, - // { - // header: '가이드명', - // name: 'gdIdxNm', - // width: 210, - // align: 'left', - // }, - // { - // header: '설비그룹ID', - // name: 'eqpmGrpId', - // width: 100, - // align: 'center', - // // formatter({ value }) { - // // let retVal = ''; - // // const newValue = _this.pageData.eqpmGrpList.filter(item => item.value == value); - // // if (newValue.length > 0) { - // // retVal = newValue[0].text; - // // } - // // return retVal; - // // }, - // }, - // { - // header: '상위집계방법', - // name: 'upTotMeth', - // width: 100, - // align: 'center', - // // formatter({ value }) { - // // let retVal = ''; - // // const newValue = _this.pageData.upTotMethList.filter(item => item.commCd == value); - // // if (newValue.length > 0) { - // // retVal = newValue[0].commCdNm; - // // } - // // return retVal; - // // }, - // }, - // { - // header: '주의기준', - // name: 'careStndVal', - // width: 100, - // align: 'right', - // }, - // { - // header: '경고기준', - // name: 'warnStndVal', - // width: 100, - // align: 'right', - // }, - // { - // header: '알람메세지', - // name: 'alrmMsg', - // minWidth: 860, - // align: 'left', - // } - // ] - - // } - // } }; }, computed: { @@ -627,59 +524,7 @@ export default { async getRowGridData() { this.loadGrid = false; let res = []; - // const newRes = [ - // { - // comId: 'COM001', - // gdIdxId: 'GD001', - // gdIdxNm: '온도 가이드', - // eqpmGrpId: 'EQ001', - // upTotMeth: 'AVG', - // sortSeq: 1, - // pysclQtyId1: 'TEMP', - // pysclQtyId2: null, - // pysclQtyId3: null, - // pysclQtyId4: null, - // ctgr1: '환경', - // ctgr2: '내부', - // careStndVal: 50, - // warnStndVal: 70, - // gdMeth: '자동', - // useFg: '1', - // alrmMsg: '온도가 기준치를 초과했습니다.', - // calcProc: 'PROC001', - // calcDesc: '평균 계산', - // calcMeth: '(A+B)/2', - // unit: 'C', - // argCnt: 2, - // rowStat: null, - // }, - // { - // comId: 'COM002', - // gdIdxId: 'GD002', - // gdIdxNm: '습도 가이드', - // eqpmGrpId: 'EQ002', - // upTotMeth: 'MAX', - // sortSeq: 2, - // pysclQtyId1: 'HUMID', - // pysclQtyId2: null, - // pysclQtyId3: null, - // pysclQtyId4: null, - // ctgr1: '환경', - // ctgr2: '외부', - // careStndVal: 30, - // warnStndVal: 60, - // gdMeth: '수동', - // useFg: '0', - // alrmMsg: '습도가 기준치를 초과했습니다.', - // calcProc: 'PROC002', - // calcDesc: '최대값 계산', - // calcMeth: 'MAX(A,B)', - // unit: '%', - // argCnt: 2, - // rowStat: null, - // }, - // ]; - + res = await this.postApiReturn({ apiKey: 'selectEqpmGdIdxDataList', resKey: 'eqpmGdIdxDataList', @@ -1453,7 +1298,7 @@ const myDetail = [ class: 'pa-3', // required: true, openMode: 'ALL', - disabled: false, + disabled: true, eqpmKindId: '', eqpmGrpId: '', closeBtnFg: true, diff --git a/pages/ems/effc/EnrgEffcEqpmDetlMntrPage.vue b/pages/ems/effc/EnrgEffcEqpmDetlMntrPage.vue index 8fb2a32..351da39 100644 --- a/pages/ems/effc/EnrgEffcEqpmDetlMntrPage.vue +++ b/pages/ems/effc/EnrgEffcEqpmDetlMntrPage.vue @@ -1,6 +1,7 @@