Compare commits
9 Commits
3155258656
...
9d35712f58
Author | SHA1 | Date | |
---|---|---|---|
9d35712f58 | |||
41370aa4df | |||
3c49bd36e9 | |||
c6eb2b57b2 | |||
5088769914 | |||
50698ac661 | |||
c815eae2ca | |||
8a9dfd9949 | |||
1250b3d3af |
@ -21,6 +21,15 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-no-scroll-y {
|
||||||
|
.tui-grid-rside-area {
|
||||||
|
.tui-grid-header-area,
|
||||||
|
.tui-grid-summary-area {
|
||||||
|
margin-right: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-rside-area {
|
&-rside-area {
|
||||||
|
|
||||||
.tui-grid-header-area,
|
.tui-grid-header-area,
|
||||||
@ -80,9 +89,57 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tui-grid-cell {
|
.tui-grid-cell {
|
||||||
&:last-child {
|
input[type=checkbox] {
|
||||||
input[type=checkbox] {
|
margin-top: 8px;
|
||||||
margin-top: 8px;
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 5px;
|
||||||
|
top: 1px;
|
||||||
|
width: 5px;
|
||||||
|
height: 9px;
|
||||||
|
border: solid;
|
||||||
|
border-width: 0 2px 2px 0;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tui-grid-layer-editing {
|
||||||
|
input[type=checkbox] {
|
||||||
|
margin-top: 8px;
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 5px;
|
||||||
|
top: 1px;
|
||||||
|
width: 5px;
|
||||||
|
height: 9px;
|
||||||
|
border: solid;
|
||||||
|
border-width: 0 2px 2px 0;
|
||||||
|
transform: rotate(45deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -190,6 +247,35 @@
|
|||||||
#{$theme},
|
#{$theme},
|
||||||
"tui-grid-cell-borderStyle-darkmode"
|
"tui-grid-cell-borderStyle-darkmode"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
input[type=checkbox] {
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-border"
|
||||||
|
);
|
||||||
|
background: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-bg"
|
||||||
|
);
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
background-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-btn-primary-bg"
|
||||||
|
);
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-btn-primary-bg"
|
||||||
|
);
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-bg"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -242,7 +328,7 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
// width: $scrollbar-width !important;
|
width: $scrollbar-width !important;
|
||||||
height: $scrollbar-width !important;
|
height: $scrollbar-width !important;
|
||||||
-webkit-appearance: initial;
|
-webkit-appearance: initial;
|
||||||
background-color: rgba(0, 0, 0, 0) !important;
|
background-color: rgba(0, 0, 0, 0) !important;
|
||||||
@ -640,6 +726,37 @@
|
|||||||
&-frozen-border {
|
&-frozen-border {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-layer-editing {
|
||||||
|
input[type=checkbox] {
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-border"
|
||||||
|
);
|
||||||
|
background: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-bg"
|
||||||
|
);
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
background-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-btn-primary-bg"
|
||||||
|
);
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-btn-primary-bg"
|
||||||
|
);
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
border-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-checkbox-bg"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="tui-grid-tree-wrapper"] {
|
[class*="tui-grid-tree-wrapper"] {
|
||||||
|
@ -174,6 +174,10 @@ export default {
|
|||||||
this.gridScrollTop = e.target.scrollTop;
|
this.gridScrollTop = e.target.scrollTop;
|
||||||
this.gridScrollLeft = e.target.scrollLeft;
|
this.gridScrollLeft = e.target.scrollLeft;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!(this.scrollBody.scrollHeight > this.scrollBody.clientHeight)) {
|
||||||
|
this.gridInstance.$el.getElementsByClassName('tui-grid-content-area')[0].classList.add('tui-grid-no-scroll-y');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
import { mapState, mapMutations, mapActions } from 'vuex';
|
import { mapState, mapMutations, mapActions } from 'vuex';
|
||||||
import Buttons from '~/components/common/button/Buttons';
|
import Buttons from '~/components/common/button/Buttons';
|
||||||
import Grid from '~/components/common/Grid';
|
import Grid from '~/components/common/Grid';
|
||||||
import { CustomCheckbox } from '~/plugins/gridUtility';
|
|
||||||
import { CustomNumberEditor } from '~/plugins/gridUtility';
|
|
||||||
import Form from '~/components/common/form/Form';
|
import Form from '~/components/common/form/Form';
|
||||||
import mixinGlobal from '@/mixin/global.js';
|
import mixinGlobal from '@/mixin/global.js';
|
||||||
import Utility from '~/plugins/utility';
|
import Utility from '~/plugins/utility';
|
||||||
@ -70,18 +68,6 @@ export default {
|
|||||||
loadGrid: false,
|
loadGrid: false,
|
||||||
gridName: 'rowDataSetTagRelGrid',
|
gridName: 'rowDataSetTagRelGrid',
|
||||||
detailDataSetTagList: myDataSetTagDetail,
|
detailDataSetTagList: myDataSetTagDetail,
|
||||||
dataPathMock: {
|
|
||||||
"rowDataSetTagRelGrid": {
|
|
||||||
column: [
|
|
||||||
{ header: 'TAG ID', name: 'id', headerAlign: 'left' },
|
|
||||||
{ header: 'TAG 명', name: 'name', headerAlign: 'left' },
|
|
||||||
{ header: '모델 Data 구분', name: 'type', headerAlign: 'left' }
|
|
||||||
],
|
|
||||||
data: dataPathDataExample,
|
|
||||||
defaultRow: dataPathDataExample,
|
|
||||||
option: {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -324,7 +310,7 @@ const myDataSetTagDetail = [
|
|||||||
valueNm: 'tagNm',
|
valueNm: 'tagNm',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2 mt-2',
|
class: 'py-2 mt-1',
|
||||||
required: true,
|
required: true,
|
||||||
labelCols: 12,
|
labelCols: 12,
|
||||||
textCols: 12,
|
textCols: 12,
|
||||||
@ -350,12 +336,11 @@ const myDataSetTagDetail = [
|
|||||||
valueNm: 'useFg',
|
valueNm: 'useFg',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
cols: 5,
|
cols: 5,
|
||||||
class: 'py-2 mt-2',
|
class: 'py-2 mt-1',
|
||||||
value: { '1': true, '0': false },
|
value: { '1': true, '0': false },
|
||||||
required: true,
|
required: true,
|
||||||
textCols: 12,
|
textCols: 12,
|
||||||
iconShow: true,
|
iconShow: true,
|
||||||
// class: "d-flex align-end"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'TextArea',
|
type: 'TextArea',
|
||||||
@ -369,23 +354,4 @@ const myDataSetTagDetail = [
|
|||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
const dataPathDataExample = [
|
|
||||||
{
|
|
||||||
id: 'INCHEON.HVAC.EQP_HT_CH001.UT_CH101.CHI_AMP_1A_PV',
|
|
||||||
name: 'INCHEON 고온 냉동기 101호기 - 호로1',
|
|
||||||
type: '합계'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'INCHEON.HVAC.EQP_HT_CH001.UT_CH101.CHI_AMP_1A_PV',
|
|
||||||
name: 'INCHEON 고온 냉동기 101호기 - 호로1',
|
|
||||||
type: '합계'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'INCHEON.HVAC.EQP_HT_CH001.UT_CH101.CHI_AMP_1A_PV',
|
|
||||||
name: 'INCHEON 고온 냉동기 101호기 - 호로1',
|
|
||||||
type: '합계'
|
|
||||||
},
|
|
||||||
];
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -7,41 +7,21 @@
|
|||||||
<v-card class="searchFilter">
|
<v-card class="searchFilter">
|
||||||
<v-row align="end" no-gutters>
|
<v-row align="end" no-gutters>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<InputText
|
<InputText :parentPrgmId="myPrgmId" label="배치ID" valueNm="batchId" :searchOption="true"
|
||||||
:parentPrgmId="myPrgmId"
|
customClass="input-large" />
|
||||||
label="배치ID"
|
|
||||||
valueNm="batchId"
|
|
||||||
:searchOption="true"
|
|
||||||
customClass="input-large"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<InputText
|
<InputText :parentPrgmId="myPrgmId" label="배치명" valueNm="batchNm" :searchOption="true"
|
||||||
:parentPrgmId="myPrgmId"
|
customClass="input-large" />
|
||||||
label="배치명"
|
|
||||||
valueNm="batchNm"
|
|
||||||
:searchOption="true"
|
|
||||||
customClass="input-large"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<component
|
<component :is="'selectCodeList'" :parentPrgmId="myPrgmId" :label="'실행 결과'"
|
||||||
:is="'selectCodeList'"
|
:dataKey="'execRsltCd'" :sendParam="{ commGrpCd: 'CO_BATCH_EXEC_RSLT', useFg: '1' }"
|
||||||
:parentPrgmId="myPrgmId"
|
:addAll="true" customClass="select-large" />
|
||||||
:label="'실행 결과'"
|
|
||||||
:dataKey="'execRsltCd'"
|
|
||||||
:sendParam="{ commGrpCd: 'CO_BATCH_EXEC_RSLT', useFg: '1' }"
|
|
||||||
:addAll="true"
|
|
||||||
customClass="select-large"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<component
|
<component :is="'Datepicker'" :parentPrgmId="myPrgmId" :label="'조회기간'"
|
||||||
:is="'Datepicker'"
|
customClass="datepicker-large" />
|
||||||
:parentPrgmId="myPrgmId"
|
|
||||||
:label="'조회기간'"
|
|
||||||
customClass="datepicker-large"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<div class="text-right d-flex align-end justify-end pl-9" style="gap: 8px">
|
<div class="text-right d-flex align-end justify-end pl-9" style="gap: 8px">
|
||||||
<BtnSearch />
|
<BtnSearch />
|
||||||
@ -54,41 +34,30 @@
|
|||||||
|
|
||||||
<v-row ref="contents">
|
<v-row ref="contents">
|
||||||
<!-- 배치 리스트 -->
|
<!-- 배치 리스트 -->
|
||||||
<v-col :cols="12" style="height:50%">
|
<v-col :cols="12" style="height:70%">
|
||||||
<v-card class="pb-5 h100">
|
<v-card class="h100">
|
||||||
<v-card-title>배치 리스트</v-card-title>
|
<v-card-title>배치 리스트</v-card-title>
|
||||||
<div class="h100" style="height:calc(100% - 70px)">
|
<div class="h100" style="height:calc(100% - 150px)">
|
||||||
<div ref="gridParent" class="px-5 h100">
|
<div ref="gridParent" class="px-5 h100">
|
||||||
<component
|
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :parentPrgmId="myPrgmId"
|
||||||
:ref="gridName"
|
:gridName="gridName" @getRowsData="getRowData" />
|
||||||
:is="loadGrid ? 'Grid' : null"
|
</div>
|
||||||
:parentPrgmId="myPrgmId"
|
<div class="d-flex align-center justify-center pt-7" v-if="loadGrid && totalCount > 0">
|
||||||
:gridName="gridName"
|
<pagination id="pagination" :total-count="totalCount" :page-num="page" :limit="limit"
|
||||||
@getRowsData="getRowData"
|
@loadData="changeGrid" />
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex align-center justify-center pa-5" v-if="loadGrid && totalCount > 0">
|
|
||||||
<pagination id="pagination" :total-count="totalCount" :page-num="page" :limit="limit"
|
|
||||||
@loadData="changeGrid" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- 배치 상세 -->
|
<!-- 배치 상세 -->
|
||||||
<v-col :cols="12" style="height:50%">
|
<v-col :cols="12" style="height:30%">
|
||||||
<v-card class="pb-5 h100">
|
<v-card class="h100">
|
||||||
<div class="d-flex align-center justify-space-between pa-5">
|
<div class="d-flex align-center justify-space-between pa-5">
|
||||||
<v-card-title class="pa-0">배치 상세</v-card-title>
|
<v-card-title class="pa-0">배치 상세</v-card-title>
|
||||||
</div>
|
</div>
|
||||||
<div style="height:calc(100% - 50px)">
|
<div style="height:calc(100% - 50px)" class="px-5">
|
||||||
<div ref="gridParent" class="px-5 h100">
|
<component :is="'Form'" :parentPrgmId="myPrgmId" :detailList="detailList"
|
||||||
<component
|
@gridEditingFinish="gridEditingFinish" />
|
||||||
:is="'Form'"
|
|
||||||
:parentPrgmId="myPrgmId"
|
|
||||||
:detailList="detailList"
|
|
||||||
@gridEditingFinish="gridEditingFinish"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
@ -147,7 +116,7 @@ export default {
|
|||||||
gridName: 'rowGrid',
|
gridName: 'rowGrid',
|
||||||
// rowGridOrigin: [],
|
// rowGridOrigin: [],
|
||||||
detailList: myDetail,
|
detailList: myDetail,
|
||||||
itemsPerPage: 10,
|
itemsPerPage: 20,
|
||||||
itemsPerPageArray: [10, 20, 30],
|
itemsPerPageArray: [10, 20, 30],
|
||||||
limit: 20,
|
limit: 20,
|
||||||
page: 1,
|
page: 1,
|
||||||
@ -215,12 +184,12 @@ export default {
|
|||||||
this.gridInit();
|
this.gridInit();
|
||||||
},
|
},
|
||||||
layoutInit() {
|
layoutInit() {
|
||||||
this.$refs.contents.style.height = 'auto';
|
const searchFilterHeight = this.$refs.searchFilter.offsetHeight;
|
||||||
|
this.$refs.contents.style.height = `calc(100% - 30px - ${searchFilterHeight}px)`;
|
||||||
},
|
},
|
||||||
gridInit() {
|
gridInit() {
|
||||||
this.loadGrid = false;
|
this.loadGrid = false;
|
||||||
const gridHeight = this.$refs.gridParent.offsetHeight;
|
const gridHeight = this.$refs.gridParent.offsetHeight - 30;
|
||||||
|
|
||||||
const myOptions = {
|
const myOptions = {
|
||||||
scrollX: false,
|
scrollX: false,
|
||||||
};
|
};
|
||||||
@ -469,6 +438,7 @@ const myDetail = [
|
|||||||
readonly: true,
|
readonly: true,
|
||||||
cols: 12,
|
cols: 12,
|
||||||
class: 'py-2',
|
class: 'py-2',
|
||||||
|
rows: 3
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
@ -60,17 +60,23 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row ref="contents" class="pt-3">
|
<v-row ref="contents" class="pt-3">
|
||||||
<v-col :cols="12" style="height: 100%">
|
<v-col :cols="12" >
|
||||||
<v-card class="pb-5">
|
<v-card class="pb-5">
|
||||||
<div class="d-flex align-center justify-space-between pa-4">
|
<div class="d-flex align-center justify-space-between pa-4">
|
||||||
<v-card-title class="pa-0">설비별 현황 리스트</v-card-title>
|
<v-card-title class="pa-0">설비별 현황 리스트</v-card-title>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-4" style="height:calc(100% - 76px)">
|
<div class="px-4" >
|
||||||
<div ref="gridParent" class="w100 h100 enrg-effc">
|
<div ref="gridParent" class="w100 h100 enrg-effc">
|
||||||
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
|
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
|
||||||
:parentPrgmId="myPrgmId" :columnClickEventFlag="true" @columnClick="columnClick" />
|
:parentPrgmId="myPrgmId" :columnClickEventFlag="true" @columnClick="columnClick" />
|
||||||
|
<div class="d-flex align-center justify-center pa-5 pb-0" v-if="loadGrid && totalCount > 0">
|
||||||
|
<pagination id="pagination" :total-count="totalCount" :page-num="page" :limit="limit"
|
||||||
|
@loadData="changeGrid" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -92,6 +98,7 @@ import Datepicker from '~/components/common/Datepicker';
|
|||||||
import EqpmSelectPop from '~/components/common/modal/EqpmSelectPop';
|
import EqpmSelectPop from '~/components/common/modal/EqpmSelectPop';
|
||||||
import EnrgEffcEqpmDetailPop from '~/components/common/modal/EnrgEffcEqpmDetailPop';
|
import EnrgEffcEqpmDetailPop from '~/components/common/modal/EnrgEffcEqpmDetailPop';
|
||||||
import EnrgEffcGdIdxDetPop from '~/components/common/modal/EnrgEffcGdIdxDetPop';
|
import EnrgEffcGdIdxDetPop from '~/components/common/modal/EnrgEffcGdIdxDetPop';
|
||||||
|
import pagination from '~/components/common/Pagination';
|
||||||
|
|
||||||
let myTitle;
|
let myTitle;
|
||||||
let myPrgmId;
|
let myPrgmId;
|
||||||
@ -124,6 +131,7 @@ export default {
|
|||||||
EnrgEffcEqpmDetailPop,
|
EnrgEffcEqpmDetailPop,
|
||||||
EqpmSelectPop,
|
EqpmSelectPop,
|
||||||
EnrgEffcGdIdxDetPop,
|
EnrgEffcGdIdxDetPop,
|
||||||
|
pagination
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -149,7 +157,12 @@ export default {
|
|||||||
eqpmGrpFlag: false,
|
eqpmGrpFlag: false,
|
||||||
eqpmGdIdxFlag: false,
|
eqpmGdIdxFlag: false,
|
||||||
fabFlag: false,
|
fabFlag: false,
|
||||||
|
itemsPerPage: 10,
|
||||||
|
itemsPerPageArray: [10, 20, 30],
|
||||||
|
limit: 20,
|
||||||
|
page: 1,
|
||||||
routeData: {},
|
routeData: {},
|
||||||
|
totalCount: 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -377,6 +390,7 @@ export default {
|
|||||||
resKey: 'eqpmKindCodeLists',
|
resKey: 'eqpmKindCodeLists',
|
||||||
sendParam: {},
|
sendParam: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.length > 0) {
|
if (res.length > 0) {
|
||||||
this.selectValueList01 = await res.map(item => {
|
this.selectValueList01 = await res.map(item => {
|
||||||
return {
|
return {
|
||||||
@ -680,9 +694,29 @@ export default {
|
|||||||
fabId: this.selectValue02,
|
fabId: this.selectValue02,
|
||||||
eqpmKindId: this.selectValue01,
|
eqpmKindId: this.selectValue01,
|
||||||
okFg: this.selectValue06,
|
okFg: this.selectValue06,
|
||||||
|
limit: this.limit,
|
||||||
|
page: this.page,
|
||||||
|
offset: (this.page - 1) * this.limit, // MariaDB Query에서 직접 계산이 안됨
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const res2 = await this.postApiReturn({
|
||||||
|
apiKey: 'selectEnrgEffcEqpmDetlMntrPageTotal',
|
||||||
|
resKey: 'eqpmDetlDataPageTotal',
|
||||||
|
sendParam: {
|
||||||
|
eqpmId: this.selectValue04.eqpmId,
|
||||||
|
eqpmGrpId: this.selectValue03,
|
||||||
|
fromDt: this.pageData.fromDt,
|
||||||
|
toDt: this.pageData.toDt,
|
||||||
|
gdIdxId: this.selectValue05,
|
||||||
|
fabId: this.selectValue02,
|
||||||
|
eqpmKindId: this.selectValue01,
|
||||||
|
okFg: this.selectValue06,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
this.totalCount = res2[0]?.totalcount;
|
||||||
|
|
||||||
this.setGridData({
|
this.setGridData({
|
||||||
gridKey: this.gridName,
|
gridKey: this.gridName,
|
||||||
value: res,
|
value: res,
|
||||||
@ -722,6 +756,12 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
changeGrid: async function (pageNum, limit) {
|
||||||
|
this.page = pageNum;
|
||||||
|
this.limit = limit;
|
||||||
|
|
||||||
|
this.search();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -943,6 +943,8 @@ const INIT_URL_STATE = {
|
|||||||
//prgmId : PRG0084 설비별 운전가이드
|
//prgmId : PRG0084 설비별 운전가이드
|
||||||
selectEqpmCodeList: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmCodeList',
|
selectEqpmCodeList: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmCodeList',
|
||||||
selectEnrgEffcEqpmDetlMntr:'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcEqpmDetlMntr',
|
selectEnrgEffcEqpmDetlMntr:'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcEqpmDetlMntr',
|
||||||
|
selectEnrgEffcEqpmDetlMntrPageTotal:
|
||||||
|
'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcEqpmDetlMntrPageTotal', // 일일검침정보
|
||||||
selectEqpmDetailPop: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmDetailPop',
|
selectEqpmDetailPop: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmDetailPop',
|
||||||
selectEnrgEffcGdIdxDetPop : 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcGdIdxDetPop',
|
selectEnrgEffcGdIdxDetPop : 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcGdIdxDetPop',
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user