Merge pull request 'Update screen 7, 25' (#3) from dev-trungvq7-2207 into dev

Reviewed-on: #3
This commit is contained in:
dev
2025-07-25 12:15:44 +09:00
9 changed files with 343 additions and 816 deletions

View File

@ -13,14 +13,15 @@
</v-col> </v-col>
<v-col :cols="label ? textCols : ''"> <v-col :cols="label ? textCols : ''">
<a-checkbox <v-checkbox
v-model:checked="chkValue" v-model="chkValue"
:disabled="disabledFlag" :disabled="disabledFlag"
:readonly="readonly || false" :readonly="readonly || false"
:required="required || false" :required="required || false"
:false-value="false"
:color="isDarkMode ? '#fff' : '#1890ff'"
@change="modifyValue" @change="modifyValue"
> ></v-checkbox>
</a-checkbox>
</v-col> </v-col>
</v-row> </v-row>
</template> </template>

View File

@ -4,7 +4,7 @@
v-if="item.label" v-if="item.label"
:cols="item.cols == 12 ? 2 : 4" :cols="item.cols == 12 ? 2 : 4"
:style="item.padding ? 'padding-left:10px' : ''" :style="item.padding ? 'padding-left:10px' : ''"
class="mb-2" class="py-0"
> >
<label for="" class="search-box-label"> <label for="" class="search-box-label">
<v-icon <v-icon

View File

@ -62,7 +62,7 @@
<v-row align="center" no-gutters> <v-row align="center" no-gutters>
<v-col :cols="12"> <v-col :cols="12">
<label for="" class="search-box-label"> <label for="" class="search-box-label">
<v-icon small :class="['mr-1','icon-blue']">$icoBulletPoint</v-icon> <v-icon small :class="['mr-1', 'icon-blue']">$icoBulletPoint</v-icon>
설비 설비
</label> </label>
</v-col> </v-col>
@ -80,7 +80,7 @@
<v-row align="center" no-gutters class="mt-4"> <v-row align="center" no-gutters class="mt-4">
<v-col :cols="12"> <v-col :cols="12">
<label for="" class="search-box-label"> <label for="" class="search-box-label">
<v-icon small :class="['mr-1','icon-blue']">$icoBulletPoint</v-icon> <v-icon small :class="['mr-1', 'icon-blue']">$icoBulletPoint</v-icon>
가이드지표 가이드지표
</label> </label>
</v-col> </v-col>
@ -190,7 +190,7 @@ export default {
modalDataKey: 'modalData', modalDataKey: 'modalData',
myModalKey: 'eqpmDetlPop', myModalKey: 'eqpmDetlPop',
gridName: 'eqpmDetlGrid', gridName: 'eqpmDetlGrid',
loadGrid: true, loadGrid: false,
setGrid: false, setGrid: false,
popCheck: false, popCheck: false,
dialog: false, dialog: false,
@ -217,13 +217,7 @@ export default {
}), }),
InputValue: { InputValue: {
get() { get() {
// return this.myBindingData; return this.myBindingData;
return [{
"eqpmId": "EQ001",
"eqpmNm": "Etcher A12",
"gdIdxId": "GD001",
"gdIdxNm": "Etch Depth Guide",
}]
} }
}, },
chkDialog() { chkDialog() {
@ -241,7 +235,7 @@ export default {
}, },
async popCheck(val) { async popCheck(val) {
if (val) { if (val) {
// await this.getRowGridData(); await this.getRowGridData();
this.dialog = true; this.dialog = true;
} else { } else {
this.dialog = false; this.dialog = false;
@ -365,57 +359,24 @@ export default {
}, },
async getRowGridData() { async getRowGridData() {
this.loadGrid = false; this.loadGrid = false;
// var res = await this.postApiReturn({ var res = await this.postApiReturn({
// apiKey: 'selectEqpmDetailPop', apiKey: 'selectEqpmDetailPop',
// resKey: 'eqpmDetlPopData', resKey: 'eqpmDetlPopData',
// sendParam: { sendParam: {
// gdIdxId : this.myBindingData.gdIdxId, gdIdxId: this.myBindingData.gdIdxId,
// eqpmId : this.myBindingData.eqpmId, eqpmId: this.myBindingData.eqpmId,
// fromDt : this.myBindingData.fromDt, fromDt: this.myBindingData.fromDt,
// toDt : this.myBindingData.toDt toDt: this.myBindingData.toDt
// },
// });
// const dayjs = require('dayjs');
// var newRes = res.map(item=>
// item = {
// ...item,
// totDttmDay : Utility.setFormatDate(item.totDttm, 'YYYY-MM-DD'),
// totDttmTime : Utility.setFormatDate(item.totDttm, 'HH') + "~" + dayjs(item.totDttm).add(1,'h').format('HH'),
// }
// );
const newRes = [
{
"totDttmDay": "2025-07-10",
"totDttmTime": "14:00~15:00",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 500,
"warnStndVal": 700,
"totVal": 720,
"alrmMsg": "Chamber pressure exceeded warning threshold. Immediate inspection required.",
"alrmKind": "경고"
}, },
{ });
"totDttmDay": "2025-07-10", const dayjs = require('dayjs');
"totDttmTime": "09:00~10:00", var newRes = res.map(item =>
"gdIdxNm": "Etch Depth Guide", item = {
"careStndVal": 60, ...item,
"warnStndVal": 80, totDttmDay: Utility.setFormatDate(item.totDttm, 'YYYY-MM-DD'),
"totVal": 75, totDttmTime: Utility.setFormatDate(item.totDttm, 'HH') + "~" + dayjs(item.totDttm).add(1, 'h').format('HH'),
"alrmMsg": "Temperature nearing warning threshold. Monitor closely.",
"alrmKind": "주의"
},
{
"totDttmDay": "2025-07-09",
"totDttmTime": "22:00~23:00",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 300,
"warnStndVal": 400,
"totVal": 290,
"alrmMsg": "Gas flow rate below caution level. Check for leaks or blockages.",
"alrmKind": "주의"
} }
] );
this.setModalGridData({ this.setModalGridData({

View File

@ -234,13 +234,7 @@ export default {
}), }),
InputValue: { InputValue: {
get() { get() {
return [{ return this.myBindingData;
"eqpmId": "EQ001",
"eqpmNm": "Etcher A12",
"gdIdxId": "GD001",
"gdIdxNm": "Etch Depth Guide",
}]
// return this.myBindingData;
} }
}, },
chkDialog() { chkDialog() {
@ -258,7 +252,7 @@ export default {
}, },
async popCheck(val) { async popCheck(val) {
if (val) { if (val) {
// await this.getData(); await this.getData();
this.dialog = true; this.dialog = true;
} else { } else {
this.dialog = false; this.dialog = false;
@ -288,13 +282,13 @@ export default {
}), }),
init() { init() {
// this.gridInit(); this.gridInit();
}, },
closePop() { closePop() {
this.popCheck = false; this.popCheck = false;
}, },
search() { search() {
// this.getData(); this.getData();
}, },
async getData() { async getData() {
var res = await this.postApiReturn({ var res = await this.postApiReturn({

View File

@ -323,58 +323,58 @@ export default {
this.getRowGridData(); this.getRowGridData();
}, },
async getFab() { async getFab() {
// let res = await this.postApiReturn({ let res = await this.postApiReturn({
// apiKey: 'selectFabCodeList', apiKey: 'selectFabCodeList',
// resKey: 'fabCodeLists', resKey: 'fabCodeLists',
// sendParam: {}, sendParam: {},
// }); });
// if (res.length > 0) { if (res.length > 0) {
// this.selectValueList02 = await res.map(item => { this.selectValueList02 = await res.map(item => {
// return { return {
// text: item.eccNm, text: item.eccNm,
// value: item.eccId, value: item.eccId,
// }; };
// }); });
// this.selectValueList02.unshift({ this.selectValueList02.unshift({
// text:"전체", text: "전체",
// value:null value: null
// }); });
// // if(this.pageData.eccId != null && this.pageData.eccId != ''){ // if(this.pageData.eccId != null && this.pageData.eccId != ''){
// // this.selectValue02 = this.pageData.eccId; // this.selectValue02 = this.pageData.eccId;
// // }else if(this.pageData.eccId == null || this.pageData.eccId == ''){ // }else if(this.pageData.eccId == null || this.pageData.eccId == ''){
// this.selectValue02.push(this.selectValueList02[0].value); this.selectValue02.push(this.selectValueList02[0].value);
// // }
// } else {
// this.selectValueList02 = [];
// this.selectValue02 = [];
// } // }
} else {
this.selectValueList02 = [];
this.selectValue02 = [];
}
}, },
async getEqpmGrp() { async getEqpmGrp() {
// let res = await this.postApiReturn({ let res = await this.postApiReturn({
// apiKey: 'selectEqpmGrpCodeList', apiKey: 'selectEqpmGrpCodeList',
// resKey: 'eqpmGrpCodeLists', resKey: 'eqpmGrpCodeLists',
// sendParam: { }, sendParam: {},
// }); });
// if (res.length > 0) { if (res.length > 0) {
// this.selectValueList01 = await res.map(item => { this.selectValueList01 = await res.map(item => {
// return { return {
// text: item.eqpmGrpNm, text: item.eqpmGrpNm,
// value: item.eqpmGrpId, value: item.eqpmGrpId,
// }; };
// }); });
// this.selectValueList01.unshift({ this.selectValueList01.unshift({
// text:"전체", text: "전체",
// value:null value: null
// }); });
// // if(this.pageData.eqpmGrpId != null && this.pageData.eqpmGrpId != ''){ // if(this.pageData.eqpmGrpId != null && this.pageData.eqpmGrpId != ''){
// // this.selectValue02 = this.pageData.eqpmGrpId; // this.selectValue02 = this.pageData.eqpmGrpId;
// // }else if(this.pageData.eqpmGrpId == null || this.pageData.eqpmGrpId == ''){ // }else if(this.pageData.eqpmGrpId == null || this.pageData.eqpmGrpId == ''){
// this.selectValue01 = this.selectValueList01[0].value; this.selectValue01 = this.selectValueList01[0].value;
// // }
// } else {
// this.selectValueList01 = [];
// this.selectValue01 = null;
// } // }
} else {
this.selectValueList01 = [];
this.selectValue01 = null;
}
}, },
gridInit() { gridInit() {
// console.log("modalGridParent : ",this.$refs) // console.log("modalGridParent : ",this.$refs)
@ -459,16 +459,16 @@ export default {
}, },
async getRowGridData() { async getRowGridData() {
this.loadGrid = false; this.loadGrid = false;
// var res = await this.postApiReturn({ var res = await this.postApiReturn({
// apiKey: 'selectEqpmPop', apiKey: 'selectEqpmPop',
// resKey: 'eqpmPopData', resKey: 'eqpmPopData',
// sendParam: { sendParam: {
// fabId:this.selectValue02, fabId: this.selectValue02,
// eqpmGrpId:this.selectValue01, eqpmGrpId: this.selectValue01,
// searchWord:this.searchWord, searchWord: this.searchWord,
// eqpmKindId:this.myBindingData.eqpmKindId, eqpmKindId: this.myBindingData.eqpmKindId,
// }, },
// }); });
// const dayjs = require('dayjs'); // const dayjs = require('dayjs');
// var newRes = res.map(item=> // var newRes = res.map(item=>
// item = { // item = {
@ -477,33 +477,33 @@ export default {
// totDttmTime : Utility.setFormatDate(item.totDttm, 'HH') + "~" + dayjs(item.totDttm).add(1,'h').format('HH') // totDttmTime : Utility.setFormatDate(item.totDttm, 'HH') + "~" + dayjs(item.totDttm).add(1,'h').format('HH')
// } // }
// ); // );
const res = // const res =
[ // [
{ // {
"fabId": "FAB001", // "fabId": "FAB001",
"fabNm": "Gumi FAB", // "fabNm": "Gumi FAB",
"eqpmId": "EQ001", // "eqpmId": "EQ001",
"eqpmNm": "Etcher A12", // "eqpmNm": "Etcher A12",
"eccId": "ECC001", // "eccId": "ECC001",
"eccNm": "Etch Control Center" // "eccNm": "Etch Control Center"
}, // },
{ // {
"fabId": "FAB002", // "fabId": "FAB002",
"fabNm": "Pyeongtaek FAB", // "fabNm": "Pyeongtaek FAB",
"eqpmId": "EQ002", // "eqpmId": "EQ002",
"eqpmNm": "Deposition B34", // "eqpmNm": "Deposition B34",
"eccId": "ECC002", // "eccId": "ECC002",
"eccNm": "Deposition Control Center" // "eccNm": "Deposition Control Center"
}, // },
{ // {
"fabId": "FAB003", // "fabId": "FAB003",
"fabNm": "Hwaseong FAB", // "fabNm": "Hwaseong FAB",
"eqpmId": "EQ003", // "eqpmId": "EQ003",
"eqpmNm": "CMP C56", // "eqpmNm": "CMP C56",
"eccId": "ECC003", // "eccId": "ECC003",
"eccNm": "CMP Control Center" // "eccNm": "CMP Control Center"
} // }
]; // ];
this.setModalGridData({ this.setModalGridData({
modalKey: this.myModalKey, modalKey: this.myModalKey,
gridKey: this.gridName, gridKey: this.gridName,

View File

@ -27,7 +27,7 @@
<div ref="gridParent" style="height: calc(35vh);"> <div ref="gridParent" style="height: calc(35vh);">
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName" <component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
:parentPrgmId="parentPrgmId" @getRowsData="getRowData" :innerTabGridInfo="innerTabGridInfo" :parentPrgmId="parentPrgmId" @getRowsData="getRowData" :innerTabGridInfo="innerTabGridInfo"
:dataPath="sampleDataPath" /> />
</div> </div>
</div> </div>
</div> </div>
@ -67,58 +67,57 @@ export default {
}, },
data() { data() {
return { return {
loadGrid: true, loadGrid: false,
gridName: 'effcInfoGrid', gridName: 'effcInfoGrid',
sampleDataPath: { // "effcInfoGrid": {
"effcInfoGrid": { // data:
data: // [
[ // {
{ // "eqpmKindId": "펌프",
"eqpmKindId": "펌프", // "eqpmGrpId": "냉각수 시스템",
"eqpmGrpId": "냉각수 시스템", // "totMethNm": "평균값"
"totMethNm": "평균값" // },
}, // {
{ // "eqpmKindId": "모터",
"eqpmKindId": "모터", // "eqpmGrpId": "공기압 시스템",
"eqpmGrpId": "공기압 시스템", // "totMethNm": "최대값"
"totMethNm": "최대값" // },
}, // {
{ // "eqpmKindId": "밸브",
"eqpmKindId": "밸브", // "eqpmGrpId": "스팀 공급",
"eqpmGrpId": "스팀 공급", // "totMethNm": "합계"
"totMethNm": "합계" // },
}, // {
{ // "eqpmKindId": "센서",
"eqpmKindId": "센서", // "eqpmGrpId": "온도 제어",
"eqpmGrpId": "온도 제어", // "totMethNm": "최소값"
"totMethNm": "최소값" // },
}, // {
{ // "eqpmKindId": "컴프레서",
"eqpmKindId": "컴프레서", // "eqpmGrpId": "에어 시스템",
"eqpmGrpId": "에어 시스템", // "totMethNm": "중앙값"
"totMethNm": "중앙값" // }
} // ]
]
, // ,
column: [ // column: [
{ // {
header: '대상설비종류', // header: '대상설비종류',
name: 'eqpmKindId', // name: 'eqpmKindId',
}, // },
{ // {
header: '대상설비그룹', // header: '대상설비그룹',
name: 'eqpmGrpId', // name: 'eqpmGrpId',
}, // },
{ header: '집계방법', name: 'totMethNm', align: 'center' }, // { header: '집계방법', name: 'totMethNm', align: 'center' },
] // ]
} // }
}, // },
itemList: [], itemList: [],
tagTpList: [], tagTpList: [],
// detailList: myDetail, // detailList: myDetail,

View File

@ -6,7 +6,7 @@
<v-row align="end" no-gutters> <v-row align="end" no-gutters>
<v-col :cols="3"> <v-col :cols="3">
<InputText :labelCols="12" :textCols="12" :parentPrgmId="myPrgmId" label="지표명" <InputText :labelCols="12" :textCols="12" :parentPrgmId="myPrgmId" label="지표명"
valueNm="searchEffcIdxNm" :searchOption="true" :customClass="'input-large fixed-width'" valueNm="searchEffcIdxNm" :searchOption="true" :customClass="'input-large surface-name'"
:iconShow="true" /> :iconShow="true" />
</v-col> </v-col>
<v-col :cols="9" class="text-right"> <v-col :cols="9" class="text-right">
@ -27,7 +27,7 @@
<div ref="gridParent" id="gridParent" class="w100 h100"> <div ref="gridParent" id="gridParent" class="w100 h100">
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName" <component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
:parentPrgmId="myPrgmId" @getRowsData="getRowData" :preventFocusChangeEventFlag="false" :parentPrgmId="myPrgmId" @getRowsData="getRowData" :preventFocusChangeEventFlag="false"
:dataPath="dataPathExample" /> />
</div> </div>
</div> </div>
</v-card> </v-card>
@ -212,66 +212,65 @@ export default {
disabledFlag: false, disabledFlag: false,
}, },
], ],
loadGrid: true, loadGrid: false,
dataPathExample: { // "effcIdxGrid": {
"effcIdxGrid": { // data: [
data: [ // {
{ // "effcIdxId": "E001",
"effcIdxId": "E001", // "effcIdxNm": "에너지 소비 효율",
"effcIdxNm": "에너지 소비 효율", // "effcKind": "환경"
"effcKind": "환경" // },
}, // {
{ // "effcIdxId": "E002",
"effcIdxId": "E002", // "effcIdxNm": "작업 시간 대비 생산량",
"effcIdxNm": "작업 시간 대비 생산량", // "effcKind": "생산성"
"effcKind": "생산성" // },
}, // {
{ // "effcIdxId": "E003",
"effcIdxId": "E003", // "effcIdxNm": "장비 가동률",
"effcIdxNm": "장비 가동률", // "effcKind": "운영"
"effcKind": "운영" // },
}, // {
{ // "effcIdxId": "E004",
"effcIdxId": "E004", // "effcIdxNm": "불량률",
"effcIdxNm": "불량률", // "effcKind": "품질"
"effcKind": "품질" // },
}, // {
{ // "effcIdxId": "E005",
"effcIdxId": "E005", // "effcIdxNm": "재고 회전율",
"effcIdxNm": "재고 회전율", // "effcKind": "물류"
"effcKind": "물류" // }
} // ]
] // ,
, // column: [
column: [ // {
{ // header: '효율지표 ID',
header: '효율지표 ID', // name: 'effcIdxId',
name: 'effcIdxId', // align: 'center',
align: 'center', // // hidden:true
// hidden:true // },
}, // {
{ // header: '효율지표명',
header: '효율지표명', // name: 'effcIdxNm',
name: 'effcIdxNm', // align: 'left',
align: 'left', // minWidth: 150,
minWidth: 150, // // hidden:true
// hidden:true // },
},
{ // {
header: '효율지표종류', // header: '효율지표종류',
name: 'effcKind', // name: 'effcKind',
align: 'left', // align: 'left',
// hidden: true, // // hidden: true,
}, // },
// { header: '등록 사용자', name: 'regUserNo', hidden: true }, // // { header: '등록 사용자', name: 'regUserNo', hidden: true },
// { header: '등록 일자', name: 'regDttm', hidden: true }, // // { header: '등록 일자', name: 'regDttm', hidden: true },
// { header: '수정 사용자', name: 'procUserNo', hidden: true }, // // { header: '수정 사용자', name: 'procUserNo', hidden: true },
// { header: '수정 일자', name: 'procDttm', hidden: true }, // // { header: '수정 일자', name: 'procDttm', hidden: true },
], // ],
} // }
}, // },
initFlag: false, initFlag: false,
selectValueList01: [], selectValueList01: [],
selectValueList02: [], selectValueList02: [],
@ -904,6 +903,10 @@ export default {
columnOptions: { columnOptions: {
resizable: true, resizable: true,
}, },
header: {
height: 37,
},
rowHeight: 'auto',
}; };
this.setGridOption({ this.setGridOption({
gridKey: this.gridName, gridKey: this.gridName,
@ -1439,6 +1442,6 @@ const defaultData = {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.v-input__custom.surface-name fieldset { .v-input__custom.surface-name fieldset {
width: 345px; max-width: 345px;
} }
</style> </style>

View File

@ -66,9 +66,14 @@
</div> </div>
<div class="px-4" style="height:calc(100% - 76px)"> <div class="px-4" style="height:calc(100% - 76px)">
<div ref="gridParent" class="w100 h100"> <div ref="gridParent" class="w100 h100">
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName" <component
:parentPrgmId="myPrgmId" :columnClickEventFlag="true" @columnClick="columnClick" :ref="gridName"
:dataPath="dataPathExample" /> :is="loadGrid ? 'Grid' : null"
:gridName="gridName"
:parentPrgmId="myPrgmId"
:columnClickEventFlag="true"
@columnClick="columnClick"
/>
</div> </div>
</div> </div>
</v-card> </v-card>
@ -141,442 +146,8 @@ export default {
selectValueList05: [], selectValueList05: [],
selectValueList06: [], selectValueList06: [],
initedFlag: false, initedFlag: false,
loadGrid: true, loadGrid: false,
gridName: 'rowGrid', gridName: 'rowGrid',
dataPathExample: {
"rowGrid": {
data: [
{
"no": 1,
"fabNm": "B02",
"eqpmGrpNm": "ETCH Group",
"eqpmId": "EQ028",
"eqpmNm": "DEP D78",
"gdIdxId": "GD004",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 34,
"warnStndVal": 56,
"totVal": 30,
"okFg": "주의",
"gdMeth": "Adjust pad pressure",
"ngCnt": 0
},
{
"no": 2,
"fabNm": "C01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ003",
"eqpmNm": "PHOTO P34",
"gdIdxId": "GD028",
"gdIdxNm": "Exposure Time Guide",
"careStndVal": 40,
"warnStndVal": 53,
"totVal": 48,
"okFg": "주의",
"gdMeth": "Tune RF power",
"ngCnt": 7
},
{
"no": 3,
"fabNm": "C01",
"eqpmGrpNm": "CMP Group",
"eqpmId": "EQ012",
"eqpmNm": "CMP C56",
"gdIdxId": "GD016",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 31,
"warnStndVal": 34,
"totVal": 44,
"okFg": "양호",
"gdMeth": "Change exposure time",
"ngCnt": 6
},
{
"no": 4,
"fabNm": "D01",
"eqpmGrpNm": "ETCH Group",
"eqpmId": "EQ016",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD004",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 33,
"warnStndVal": 40,
"totVal": 56,
"okFg": "주의",
"gdMeth": "Modify gas flow",
"ngCnt": 2
},
{
"no": 5,
"fabNm": "C01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ004",
"eqpmNm": "CMP C56",
"gdIdxId": "GD008",
"gdIdxNm": "Deposition Rate Guide",
"careStndVal": 33,
"warnStndVal": 44,
"totVal": 20,
"okFg": "주의",
"gdMeth": "Adjust pad pressure",
"ngCnt": 7
},
{
"no": 6,
"fabNm": "B01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ019",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD014",
"gdIdxNm": "Polish Rate Guide",
"careStndVal": 34,
"warnStndVal": 38,
"totVal": 46,
"okFg": "양호",
"gdMeth": "Modify gas flow",
"ngCnt": 1
},
{
"no": 7,
"fabNm": "D01",
"eqpmGrpNm": "ETCH Group",
"eqpmId": "EQ024",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD008",
"gdIdxNm": "Exposure Time Guide",
"careStndVal": 37,
"warnStndVal": 51,
"totVal": 24,
"okFg": "경고",
"gdMeth": "Modify gas flow",
"ngCnt": 10
},
{
"no": 8,
"fabNm": "D01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ014",
"eqpmNm": "DEP D78",
"gdIdxId": "GD023",
"gdIdxNm": "Deposition Rate Guide",
"careStndVal": 22,
"warnStndVal": 49,
"totVal": 43,
"okFg": "주의",
"gdMeth": "Change exposure time",
"ngCnt": 6
},
{
"no": 9,
"fabNm": "C01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ001",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD022",
"gdIdxNm": "Polish Rate Guide",
"careStndVal": 20,
"warnStndVal": 24,
"totVal": 51,
"okFg": "경고",
"gdMeth": "Modify gas flow",
"ngCnt": 9
},
{
"no": 10,
"fabNm": "D01",
"eqpmGrpNm": "CMP Group",
"eqpmId": "EQ027",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD002",
"gdIdxNm": "Deposition Rate Guide",
"careStndVal": 27,
"warnStndVal": 46,
"totVal": 60,
"okFg": "양호",
"gdMeth": "Modify gas flow",
"ngCnt": 4
},
{
"no": 11,
"fabNm": "C01",
"eqpmGrpNm": "PHOTO Group",
"eqpmId": "EQ004",
"eqpmNm": "CMP C56",
"gdIdxId": "GD025",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 30,
"warnStndVal": 58,
"totVal": 28,
"okFg": "경고",
"gdMeth": "Modify gas flow",
"ngCnt": 3
},
{
"no": 12,
"fabNm": "D01",
"eqpmGrpNm": "ETCH Group",
"eqpmId": "EQ022",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD024",
"gdIdxNm": "Polish Rate Guide",
"careStndVal": 27,
"warnStndVal": 42,
"totVal": 62,
"okFg": "양호",
"gdMeth": "Adjust pad pressure",
"ngCnt": 0
},
{
"no": 13,
"fabNm": "C01",
"eqpmGrpNm": "ETCH Group",
"eqpmId": "EQ018",
"eqpmNm": "PHOTO P34",
"gdIdxId": "GD013",
"gdIdxNm": "Exposure Time Guide",
"careStndVal": 32,
"warnStndVal": 35,
"totVal": 62,
"okFg": "양호",
"gdMeth": "Change exposure time",
"ngCnt": 5
},
{
"no": 14,
"fabNm": "D01",
"eqpmGrpNm": "CMP Group",
"eqpmId": "EQ017",
"eqpmNm": "DEP D78",
"gdIdxId": "GD005",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 36,
"warnStndVal": 47,
"totVal": 39,
"okFg": "경고",
"gdMeth": "Tune RF power",
"ngCnt": 10
},
{
"no": 15,
"fabNm": "D01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ025",
"eqpmNm": "DEP D78",
"gdIdxId": "GD028",
"gdIdxNm": "Deposition Rate Guide",
"careStndVal": 36,
"warnStndVal": 59,
"totVal": 63,
"okFg": "양호",
"gdMeth": "Adjust pad pressure",
"ngCnt": 1
},
{
"no": 16,
"fabNm": "B02",
"eqpmGrpNm": "PHOTO Group",
"eqpmId": "EQ026",
"eqpmNm": "PHOTO P34",
"gdIdxId": "GD008",
"gdIdxNm": "Exposure Time Guide",
"careStndVal": 24,
"warnStndVal": 59,
"totVal": 20,
"okFg": "양호",
"gdMeth": "Change exposure time",
"ngCnt": 1
},
{
"no": 17,
"fabNm": "B01",
"eqpmGrpNm": "DEP Group",
"eqpmId": "EQ023",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD021",
"gdIdxNm": "Polish Rate Guide",
"careStndVal": 26,
"warnStndVal": 51,
"totVal": 31,
"okFg": "주의",
"gdMeth": "Modify gas flow",
"ngCnt": 2
},
{
"no": 18,
"fabNm": "B02",
"eqpmGrpNm": "PHOTO Group",
"eqpmId": "EQ012",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD023",
"gdIdxNm": "Polish Rate Guide",
"careStndVal": 34,
"warnStndVal": 45,
"totVal": 64,
"okFg": "경고",
"gdMeth": "Change exposure time",
"ngCnt": 1
},
{
"no": 19,
"fabNm": "B01",
"eqpmGrpNm": "PHOTO Group",
"eqpmId": "EQ018",
"eqpmNm": "ETCH E12",
"gdIdxId": "GD002",
"gdIdxNm": "Etch Depth Guide",
"careStndVal": 30,
"warnStndVal": 31,
"totVal": 51,
"okFg": "주의",
"gdMeth": "Tune RF power",
"ngCnt": 2
},
{
"no": 20,
"fabNm": "C01",
"eqpmGrpNm": "CMP Group",
"eqpmId": "EQ018",
"eqpmNm": "CMP C56",
"gdIdxId": "GD021",
"gdIdxNm": "Exposure Time Guide",
"careStndVal": 30,
"warnStndVal": 51,
"totVal": 45,
"okFg": "양호",
"gdMeth": "Change exposure time",
"ngCnt": 7
},
{
"no": 21,
"fabNm": "B01",
"eqpmGrpNm": "CMP Group",
"eqpmId": "EQ021",
"eqpmNm": "CMP C56",
"gdIdxId": "GD001",
"gdIdxNm": "Deposition Rate Guide",
"careStndVal": 23,
"warnStndVal": 42,
"totVal": 40,
"okFg": "주의",
"gdMeth": "Tune RF power",
"ngCnt": 5
}
]
,
column: [
{
header: 'No.',
name: 'no',
align: 'right',
width: 30,
},
{
header: 'FAB',
name: 'fabNm',
align: 'left',
width: 80,
},
{
header: '설비그룹',
name: 'eqpmGrpNm',
width: 130,
},
{
header: '설비id',
name: 'eqpmId',
hidden: true,
},
{
header: '설비명',
name: 'eqpmNm',
width: 130,
},
{
header: '가이드명',
name: 'gdIdxId',
hidden: true,
// formatter({ value }) {
// let retVal = '';
// const newValue = _this.pageData.gdIdxIdList.filter(
// item => item.value == value,
// );
// if (newValue.length > 0) {
// retVal = newValue[0].text;
// }
// //빈값일때 전체방지
// if (value == '' || value == null) {
// retVal = '';
// }
// return retVal;
// },
},
{
header: '가이드명',
name: 'gdIdxNm',
width: 200,
},
{
header: '주의',
name: 'careStndVal',
align: 'right',
width: 80,
},
{
header: '경고',
name: 'warnStndVal',
align: 'right',
width: 80,
},
{
header: '가이드값',
name: 'totVal',
align: 'right',
width: 120,
},
{
header: '평가',
name: 'okFg',
align: 'center',
width: 80,
},
{
header: '절감가이드 방법',
name: 'gdMeth',
},
{
header: 'NG발생건수',
name: 'ngCnt',
align: 'right',
width: 100,
},
],
option: {
// pageOptions: {
// useClient: true,
// perPage: 10,
// },
// scrollX: false,
scrollY: true
}
// pageOptions: {
// useClient: true,
// perPage: 10,
// },
// scrollX: false,
// scrollY: false
},
// pageOptions: {
// useClient: true,
// perPage: 10,
// },
// scrollX: true,
// scrollY: false
},
popDialog: false, popDialog: false,
eqpmFlag: false, eqpmFlag: false,
eqpmKindFlag: false, eqpmKindFlag: false,
@ -667,7 +238,7 @@ export default {
}); });
this.selectValue04 = { eqpmId: [] }; this.selectValue04 = { eqpmId: [] };
await this.getEqpmGrp(); await this.getEqpmGrp();
// await this.getEqpm(this.selectValueList03); await this.getEqpm(this.selectValueList03);
} }
}, },
async selectValue03(val) { async selectValue03(val) {
@ -789,7 +360,7 @@ export default {
} else { } else {
this.setFromDt(); this.setFromDt();
} }
// await this.gridInit(); await this.gridInit();
}, },
async search() { async search() {
await this.getRowGridData(); await this.getRowGridData();
@ -806,75 +377,69 @@ export default {
// this.pageData.toDt = Utility.setAftertDate(this.pageData, this.pageData.fromDt, "YYYYMMDD"); // this.pageData.toDt = Utility.setAftertDate(this.pageData, this.pageData.fromDt, "YYYYMMDD");
}, },
async getEqpmKind() { async getEqpmKind() {
// let res = await this.postApiReturn({ let res = await this.postApiReturn({
// apiKey: 'selectEqpmKindCodeList', apiKey: 'selectEqpmKindCodeList',
// 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 {
// text: item.eqpmKindNm, text: item.eqpmKindNm,
// value: item.eqpmKindId, value: item.eqpmKindId,
// }; };
// }); });
// this.selectValueList01.unshift({ this.selectValueList01.unshift({
// text: '전체', text: '전체',
// value: null, value: null,
// }); });
// if ( if (
// this.routeData.eqpmKindId == null || this.routeData.eqpmKindId == null ||
// this.routeData.eqpmKindId == '' this.routeData.eqpmKindId == ''
// ) { ) {
// this.selectValue01 = this.selectValueList01[0].value; this.selectValue01 = this.selectValueList01[0].value;
// } else if ( } else if (
// this.routeData.eqpmKindId != null || this.routeData.eqpmKindId != null ||
// this.routeData.eqpmKindId != '' this.routeData.eqpmKindId != ''
// ) { ) {
// this.selectValue01 = this.routeData.eqpmKindId; this.selectValue01 = this.routeData.eqpmKindId;
// } }
// } else { } else {
// this.selectValueList01 = []; this.selectValueList01 = [];
// this.selectValue01 = null; this.selectValue01 = null;
// } }
this.setPageData({ this.setPageData({
eqpmKindList: this.selectValueList01, eqpmKindList: this.selectValueList01,
eqpmKindId: this.selectValue01, eqpmKindId: this.selectValue01,
}); });
}, },
async getFab() { async getFab() {
// let res = await this.postApiReturn({ let res = await this.postApiReturn({
// apiKey: 'selectFabCodeList', apiKey: 'selectFabCodeList',
// resKey: 'fabCodeLists', resKey: 'fabCodeLists',
// sendParam: {}, sendParam: {},
// }); });
this.selectValueList02 = [
{ text: '온도 센서', value: 'ECC001' }, if (res.length > 0) {
{ text: '압력 센서', value: 'ECC002' }, this.selectValueList02 = await res.map(item => {
{ text: '유량 센서', value: 'ECC003' }, return {
{ text: '습도 센서', value: 'ECC004' }, text: item.eccNm,
{ text: '전압 센서', value: 'ECC005' } value: item.eccId,
]; };
// if (res.length > 0) { });
// // this.selectValueList02 = await res.map(item => { this.selectValueList02.unshift({
// // return { text: '전체',
// // text: item.eccNm, value: null,
// // value: item.eccId, });
// // }; if (this.routeData.fabId != null && this.routeData.fabId != '') {
// // }); this.selectValue02 = this.routeData.fabId;
// this.selectValueList02.unshift({ } else if (this.routeData.fabId == null || this.routeData.fabId == '') {
// text: '전체', this.selectValue02 = this.selectValueList02[0].value;
// value: null, }
// }); } else {
// if (this.routeData.fabId != null && this.routeData.fabId != '') { this.selectValueList02 = [];
// this.selectValue02 = this.routeData.fabId; this.selectValue02 = null;
// } else if (this.routeData.fabId == null || this.routeData.fabId == '') { }
// this.selectValue02 = this.selectValueList02[0].value;
// }
// } else {
// this.selectValueList02 = [];
// this.selectValue02 = null;
// }
this.setPageData({ this.setPageData({
fabIdList: this.selectValueList02, fabIdList: this.selectValueList02,
fabId: this.selectValue02, fabId: this.selectValue02,
@ -923,30 +488,30 @@ export default {
}, },
async getEqpm(data) { }, async getEqpm(data) { },
async getGdIdx() { async getGdIdx() {
// let res = await this.postApiReturn({ let res = await this.postApiReturn({
// apiKey: 'selectEqpmGdIdxCodeList', apiKey: 'selectEqpmGdIdxCodeList',
// resKey: 'eqpmGdIdxCodeLists', resKey: 'eqpmGdIdxCodeLists',
// sendParam: { sendParam: {
// eqpmGrpId: this.selectValue03, eqpmGrpId: this.selectValue03,
// }, },
// }); });
// if (res.length > 0) { if (res.length > 0) {
// this.selectValueList05 = await res.map(item => { this.selectValueList05 = await res.map(item => {
// return { return {
// text: item.gdIdxNm, text: item.gdIdxNm,
// value: item.gdIdxId, value: item.gdIdxId,
// }; };
// }); });
// this.selectValueList05.unshift({ this.selectValueList05.unshift({
// text: '전체', text: '전체',
// value: null, value: null,
// }); });
// this.selectValue05 = this.selectValueList05[0].value; this.selectValue05 = this.selectValueList05[0].value;
// } else { } else {
// this.selectValueList05 = []; this.selectValueList05 = [];
// this.selectValue05 = null; this.selectValue05 = null;
// } }
this.setPageData({ this.setPageData({
gdIdxIdList: this.selectValueList05, gdIdxIdList: this.selectValueList05,
@ -987,6 +552,10 @@ export default {
resizable: true, resizable: true,
}, },
rowHeaders: ['rowNum'], rowHeaders: ['rowNum'],
header: {
height: 37,
},
rowHeight: 'auto',
// pageOptions: { // pageOptions: {
@ -1130,27 +699,27 @@ export default {
if (e.columnName == 'ngCnt' && e.targetType == 'cell') { if (e.columnName == 'ngCnt' && e.targetType == 'cell') {
// if(e.columnName == 'ngCnt' && data.ngCnt > 0){ // if(e.columnName == 'ngCnt' && data.ngCnt > 0){
this.$refs['EnrgEffcEqpmDetailPop'].popCheck = true; this.$refs['EnrgEffcEqpmDetailPop'].popCheck = true;
// this.setPageData({ this.setPageData({
// rowGridSelectKey: e.rowKey, rowGridSelectKey: e.rowKey,
// rowGridSelectData: { rowGridSelectData: {
// ...data, ...data,
// fromDt: this.pageData.fromDt, fromDt: this.pageData.fromDt,
// toDt: this.pageData.toDt, toDt: this.pageData.toDt,
// }, },
// }); });
} }
if (e.columnName == 'gdIdxNm' && e.targetType == 'cell') { if (e.columnName == 'gdIdxNm' && e.targetType == 'cell') {
// if(e.columnName == 'ngCnt' && data.ngCnt > 0){ // if(e.columnName == 'ngCnt' && data.ngCnt > 0){
this.$refs['EnrgEffcGdIdxDetPop'].popCheck = true; this.$refs['EnrgEffcGdIdxDetPop'].popCheck = true;
// this.setPageData({ this.setPageData({
// rowGridSelectKey: e.rowKey, rowGridSelectKey: e.rowKey,
// rowGridSelectData: { rowGridSelectData: {
// ...data, ...data,
// fromDt: this.pageData.fromDt, fromDt: this.pageData.fromDt,
// toDt: this.pageData.toDt, toDt: this.pageData.toDt,
// }, },
// }); });
} }
}, },
}, },

View File

@ -157,7 +157,7 @@ export const actions = {
{ {
comId: 'd48', comId: 'd48',
sysDivCd: 'energyeffc', //시스템구분 sysDivCd: 'energyeffc', //시스템구분
menuId: 'MNU0106', // MENU_ID (메뉴ID) menuId: 'MNU0097', // MENU_ID (메뉴ID)
prgmId: 'PRG0084', // PRGM_ID (프로그램ID) prgmId: 'PRG0084', // PRGM_ID (프로그램ID)
upMenuId: 'menu2', // UP_MENU_ID (상위메뉴ID) upMenuId: 'menu2', // UP_MENU_ID (상위메뉴ID)
menuNm: '7. Energy Efficiency Equipment',// MENU_NM (메뉴명) menuNm: '7. Energy Efficiency Equipment',// MENU_NM (메뉴명)