init dev-push code ui base design

This commit is contained in:
leonard
2025-07-22 09:58:38 +07:00
parent ffdf5ccb66
commit eedbf94d56
214 changed files with 42170 additions and 28040 deletions

View File

@ -1,75 +1,33 @@
<template>
<div>
<v-row>
<v-col :cols="6" class="py-2">
<InputText
ref="effcIdxId"
:parentPrgmId="parentPrgmId"
label="효율지표 ID"
valueNm="effcIdxId"
:required="false"
:readonly="true"
/>
<v-col :cols="6" class="py-2 pr-4">
<InputText ref="effcIdxId" :parentPrgmId="parentPrgmId" label="효율지표 ID" valueNm="effcIdxId"
:required="false" :readonly="true" :textCols="12" :labelCols="12" />
</v-col>
<v-col :cols="6"> </v-col>
<v-col :cols="6" class="py-2">
<InputText
ref="effcIdxNm"
:parentPrgmId="parentPrgmId"
label="효율지표 명"
valueNm="effcIdxNm"
:readonly="true"
:required="false"
/>
<v-col :cols="6" class="py-2 pl-4">
<InputText ref="effcIdxNm" :parentPrgmId="parentPrgmId" label="효율지표 명" valueNm="effcIdxNm"
:readonly="true" :required="false" :textCols="12" :labelCols="12" />
</v-col>
<v-col :cols="6"> </v-col>
<v-col :cols="6" class="py-2">
<component
:is="'SelectBox'"
:propsValue="selectValue01"
:itemList="selectValueList01"
:label="'지표종류'"
:textCols="7"
:required="false"
:readonly="true"
@update:propsValue="selectValue01 = $event"
/>
<v-col :cols="6" class="py-2 pr-4">
<component :is="'SelectBox'" :propsValue="selectValue01" :itemList="selectValueList01" :label="'지표종류'"
:textCols="12" :labelCols="12" :required="false" :readonly="true"
@update:propsValue="selectValue01 = $event" />
</v-col>
</v-row>
<div class="d-flex align-center justify-space-between pa-5">
<v-card-title class="pa-0 custom-title-4">지표연결정보</v-card-title>
<Buttons
:parentPrgmId="parentPrgmId"
:bindingData="gridName"
:btnActionsFnc="btnActions"
/>
<component
v-show="false"
ref="EgrpPysclQtyPop"
:is="'EgrpPysclQtyPop'"
:parentPrgmId="parentPrgmId"
:item="EgrpPysclQtyPopItem"
:labelContent="'물리량'"
/>
<component
v-show="false"
ref="GdIdxPop"
:is="'GdIdxPop'"
:parentPrgmId="parentPrgmId"
:item="GdIdxPopItem"
:labelContent="'가이드지표'"
/>
<Buttons :parentPrgmId="parentPrgmId" :bindingData="gridName" :btnActionsFnc="btnActions" />
<component v-show="false" ref="EgrpPysclQtyPop" :is="'EgrpPysclQtyPop'" :parentPrgmId="parentPrgmId"
:item="EgrpPysclQtyPopItem" :labelContent="'물리량'" />
<component v-show="false" ref="GdIdxPop" :is="'GdIdxPop'" :parentPrgmId="parentPrgmId" :item="GdIdxPopItem"
:labelContent="'가이드지표'" />
</div>
<div class="px-5" style="height:calc(100% - 76px)">
<div style="height:calc(100% - 76px)">
<div ref="gridParent" style="height: calc(35vh);">
<component
:ref="gridName"
:is="loadGrid ? 'Grid' : null"
:gridName="gridName"
:parentPrgmId="parentPrgmId"
@getRowsData="getRowData"
:innerTabGridInfo="innerTabGridInfo"
/>
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
:parentPrgmId="parentPrgmId" @getRowsData="getRowData" :innerTabGridInfo="innerTabGridInfo"
:dataPath="sampleDataPath" />
</div>
</div>
</div>
@ -109,8 +67,58 @@ export default {
},
data() {
return {
loadGrid: false,
loadGrid: true,
gridName: 'effcInfoGrid',
sampleDataPath: {
"effcInfoGrid": {
data:
[
{
"eqpmKindId": "펌프",
"eqpmGrpId": "냉각수 시스템",
"totMethNm": "평균값"
},
{
"eqpmKindId": "모터",
"eqpmGrpId": "공기압 시스템",
"totMethNm": "최대값"
},
{
"eqpmKindId": "밸브",
"eqpmGrpId": "스팀 공급",
"totMethNm": "합계"
},
{
"eqpmKindId": "센서",
"eqpmGrpId": "온도 제어",
"totMethNm": "최소값"
},
{
"eqpmKindId": "컴프레서",
"eqpmGrpId": "에어 시스템",
"totMethNm": "중앙값"
}
]
,
column: [
{
header: '대상설비종류',
name: 'eqpmKindId',
},
{
header: '대상설비그룹',
name: 'eqpmGrpId',
},
{ header: '집계방법', name: 'totMethNm', align: 'center' },
]
}
},
itemList: [],
tagTpList: [],
// detailList: myDetail,
@ -355,7 +363,7 @@ export default {
await this.setSelectValueList01();
await this.gridInit();
},
search() {},
search() { },
async setSelectValueList01() {
this.selectValueList01 = [
{