update screen 33, 44, 20, fix bug Grid
This commit is contained in:

parent
b4f8e41c7e
commit
9603353ab3
@ -152,12 +152,12 @@ export default {
|
||||
const snarData = this.searchParam.isMulti
|
||||
? this.searchParam.snarInfoList
|
||||
: this.searchParam.snarInfo;
|
||||
console.log('this.searchParam.isMulti', this.searchParam.isMulti);
|
||||
console.log(
|
||||
'this.searchParam.snarInfoList',
|
||||
this.searchParam.snarInfoList,
|
||||
);
|
||||
console.log('this.searchParam.snarInfo', this.searchParam.snarInfo);
|
||||
// console.log('this.searchParam.isMulti', this.searchParam.isMulti);
|
||||
// console.log(
|
||||
// 'this.searchParam.snarInfoList',
|
||||
// this.searchParam.snarInfoList,
|
||||
// );
|
||||
// console.log('this.searchParam.snarInfo', this.searchParam.snarInfo);
|
||||
if (Array.isArray(snarData)) {
|
||||
if (snarData.length > 0) {
|
||||
for (const item of snarData) {
|
||||
|
@ -394,7 +394,7 @@ export default {
|
||||
params: {},
|
||||
},
|
||||
});
|
||||
console.log('statusCd', statusCd);
|
||||
// console.log('statusCd', statusCd);
|
||||
if (statusCd.data.retnCd == 0) {
|
||||
const params2 = {
|
||||
simulationId: statusCd.data.dataset.simulId,
|
||||
|
@ -46,11 +46,10 @@
|
||||
v-model="searchWord" @keyup.enter="search"><template v-slot:append>
|
||||
<!-- Custom SVG icon -->
|
||||
<v-icon>$icoSearch</v-icon>
|
||||
|
||||
</template></v-text-field>
|
||||
</v-col>
|
||||
<v-spacer></v-spacer>
|
||||
<v-col cols="3" class="text-right">
|
||||
<v-col :cols="3" class="text-right">
|
||||
<a-button icon="search" type="primary" @click="search()"
|
||||
class="search-button">조회</a-button>
|
||||
<!-- <v-btn :ripple="false" @click="initSearch()">
|
||||
|
@ -286,8 +286,8 @@ export default {
|
||||
// Row selection config
|
||||
rowSelection: {
|
||||
onChange: (selectedRowKeys, selectedRows) => {
|
||||
console.log('Selected Row Keys:', selectedRowKeys);
|
||||
console.log('Selected Rows:', selectedRows);
|
||||
// console.log('Selected Row Keys:', selectedRowKeys);
|
||||
// console.log('Selected Rows:', selectedRows);
|
||||
},
|
||||
}
|
||||
};
|
||||
@ -332,7 +332,7 @@ export default {
|
||||
// this.getRowGridData();
|
||||
// },
|
||||
searchFab() {
|
||||
console.log('tttttttttttt')
|
||||
// console.log('tttttttttttt')
|
||||
// this.filteredData = this.data.filter(item => {
|
||||
// const matchGrp = this.eqpmGrpSelected ? item.group === this.eqpmGrpSelected : true;
|
||||
// const matchFab = this.localFabSelected ? item.fab === this.localFabSelected : true;
|
||||
|
@ -126,7 +126,7 @@ export default {
|
||||
async chkDialog(val) {
|
||||
if (val) {
|
||||
// 열릴 때
|
||||
console.log('dsfafds');
|
||||
// console.log('dsfafds');
|
||||
await this.getData();
|
||||
// console.log("chkDialog: ", val);
|
||||
// if(this.searchParam.selecUserList.length > 0){
|
||||
|
@ -22,37 +22,29 @@
|
||||
outlined
|
||||
:hide-details="true"
|
||||
>
|
||||
<!-- Custom SVG icon -->
|
||||
<template v-slot:append>
|
||||
<!-- Custom SVG icon -->
|
||||
<v-icon>$icoSearch</v-icon>
|
||||
<v-icon>$icoSearch</v-icon>
|
||||
</template>
|
||||
</v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-dialog v-model="dialog" scrollable width="700px">
|
||||
<v-card style="height: 100%">
|
||||
<v-card-title class="pa-5 d-flex align-center justify-space-between">
|
||||
<v-card-title class="px-6 py-4 d-flex align-center justify-space-between">
|
||||
<span class="custom-title-4">{{ option.modalTitle }}</span>
|
||||
<v-btn
|
||||
icon
|
||||
tile
|
||||
:ripple="false"
|
||||
@click="dialogOpenCloseEvent(dialog)"
|
||||
>
|
||||
<v-icon>mdi-close</v-icon>
|
||||
</v-btn>
|
||||
<a-button icon="close" type="text" @click="dialogOpenCloseEvent(dialog)"></a-button>
|
||||
</v-card-title>
|
||||
<div class="pa-5">
|
||||
<v-row align="center" no-gutters>
|
||||
<v-col :cols="3">
|
||||
<v-col :cols="12">
|
||||
<label for="" class="search-box-label">
|
||||
<v-icon x-small color="primary" class="mr-1"
|
||||
>mdi-record-circle</v-icon
|
||||
>
|
||||
<!-- <v-icon x-small color="primary" class="mr-1">mdi-record-circle</v-icon> -->
|
||||
<v-icon small :class="['mr-1 icon-blue']">$icoBulletPoint</v-icon>
|
||||
검색
|
||||
</label>
|
||||
</v-col>
|
||||
<v-col :cols="5">
|
||||
<v-col :cols="9">
|
||||
<v-text-field
|
||||
append-icon="mdi-magnify"
|
||||
class="v-input__custom"
|
||||
@ -63,21 +55,19 @@
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
<v-spacer></v-spacer>
|
||||
<v-col cols="4" class="text-right">
|
||||
<v-btn :ripple="false" @click="search()">
|
||||
<v-col :cols="3" class="text-right">
|
||||
<a-button type="primary" @click="search()" icon="search">
|
||||
조회
|
||||
</v-btn>
|
||||
<v-btn :ripple="false" @click="initSearch()">
|
||||
</a-button>
|
||||
<a-button @click="initSearch()">
|
||||
초기화
|
||||
</v-btn>
|
||||
</a-button>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
<v-divider></v-divider>
|
||||
<!-- <div :style="'height: calc(65vh)'"> -->
|
||||
<div :style="'height: 429px;'">
|
||||
<!-- <div :style="{ height: 'calc(100% - 213px)' }"> -->
|
||||
<div ref="modalGridParent" class="h100 w100 py-3">
|
||||
<!-- <v-divider></v-divider> -->
|
||||
<div style="height: 429px;" class="py-3 px-5">
|
||||
<div ref="modalGridParent" class="h100 w100">
|
||||
<component
|
||||
:is="loadGrid && dialog ? 'Grid' : null"
|
||||
:gridName="grid_01"
|
||||
@ -88,11 +78,9 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<v-card-actions class="pa-5 d-flex align-center justify-center">
|
||||
<v-btn :ripple="false" @click="setUpdate($event)">확인</v-btn>
|
||||
<v-btn :ripple="false" @click="dialogOpenCloseEvent(dialog)"
|
||||
>닫기</v-btn
|
||||
>
|
||||
<v-card-actions class="pa-5 d-flex align-center justify-end">
|
||||
<a-button class="mr-2" @click="dialogOpenCloseEvent(dialog)">닫기</a-button>
|
||||
<a-button type="primary" @click="setUpdate($event)">확인</a-button>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
@ -336,7 +324,7 @@ export default {
|
||||
}))
|
||||
};
|
||||
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
|
||||
this.setModalGridData({
|
||||
modalKey: this.myModalKey,
|
||||
@ -395,7 +383,31 @@ var FtnPlcFormPop = {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
// @each $theme in dark, light {
|
||||
// @include theme($theme);
|
||||
// .v-application.#{$theme}-mode {
|
||||
// .v-input--is-readonly {
|
||||
// border-color: map-deep-get($config,
|
||||
// #{$theme},
|
||||
// "v-input-readonly-border-color"
|
||||
// );
|
||||
// ::v-deep {
|
||||
// &:not(.v-input--radio-group, .v-input--checkbox) {
|
||||
// .v-input__slot {
|
||||
// background-color: map-deep-get($config,
|
||||
// #{$theme},
|
||||
// "v-input-backgroundColor"
|
||||
// ) !important;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
::v-deep {
|
||||
|
||||
.v-dialog {
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
@ -418,26 +430,4 @@ var FtnPlcFormPop = {
|
||||
}
|
||||
}
|
||||
|
||||
@each $theme in dark, light {
|
||||
.v-application.#{$theme}-mode {
|
||||
.v-dialog {
|
||||
.v-card {
|
||||
&__title {
|
||||
color: map-deep-get($color, 'white', '0');
|
||||
@if $theme == dark {
|
||||
background-color: #2d3355;
|
||||
.v-btn {
|
||||
background-color: #2d3355;
|
||||
}
|
||||
} @else {
|
||||
background-color: #3f4d7d;
|
||||
.v-btn {
|
||||
background-color: #3f4d7d;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -294,10 +294,10 @@ export default {
|
||||
if (this.searchParam.energyCd < 0) {
|
||||
roiIdVal = null;
|
||||
} else {
|
||||
console.log(
|
||||
'this.searchParam.energyList[this.searchParam.energyCd]',
|
||||
this.searchParam.energyList[this.searchParam.energyCd],
|
||||
);
|
||||
// console.log(
|
||||
// 'this.searchParam.energyList[this.searchParam.energyCd]',
|
||||
// this.searchParam.energyList[this.searchParam.energyCd],
|
||||
// );
|
||||
roiIdVal = this.searchParam.energyList[this.searchParam.energyCd + 1]
|
||||
.cd;
|
||||
}
|
||||
|
@ -239,13 +239,13 @@ export default {
|
||||
this.selectedData.eccNm = '';
|
||||
|
||||
if (this.bindOption === null) {
|
||||
console.log('this.bindOption is null...');
|
||||
// console.log('this.bindOption is null...');
|
||||
this.setPageData({
|
||||
modalEccId: '',
|
||||
modalEccNm: '',
|
||||
});
|
||||
} else {
|
||||
console.log('this.bindOption is not null...');
|
||||
// console.log('this.bindOption is not null...');
|
||||
this.setPageData({
|
||||
[this.bindOption.eccId]: '',
|
||||
[this.bindOption.eccNm]: '',
|
||||
@ -296,12 +296,12 @@ export default {
|
||||
? localStorage.getItem(this.parentPrgmId + 'ModalEccNm')
|
||||
: '',
|
||||
});
|
||||
console.log(
|
||||
'localStorage.getItem(this.parentPrgmId + "ModalEccNm") : ',
|
||||
localStorage.getItem(this.parentPrgmId + 'ModalEccNm') != null
|
||||
? localStorage.getItem(this.parentPrgmId + 'ModalEccNm')
|
||||
: '',
|
||||
);
|
||||
// console.log(
|
||||
// 'localStorage.getItem(this.parentPrgmId + "ModalEccNm") : ',
|
||||
// localStorage.getItem(this.parentPrgmId + 'ModalEccNm') != null
|
||||
// ? localStorage.getItem(this.parentPrgmId + 'ModalEccNm')
|
||||
// : '',
|
||||
// );
|
||||
this.textFieldData =
|
||||
localStorage.getItem(this.parentPrgmId + 'ModalEccNm') != null
|
||||
? localStorage.getItem(this.parentPrgmId + 'ModalEccNm')
|
||||
|
@ -296,25 +296,25 @@ export default {
|
||||
}
|
||||
},
|
||||
strtDt(val) {
|
||||
console.log('strtDt : ', val);
|
||||
// console.log('strtDt : ', val);
|
||||
this.checkStrtAndEndDateTime('start');
|
||||
if (this.startDatepickerInstance3) {
|
||||
this.startDatepickerInstance3.setDate(new Date(this.endDt));
|
||||
}
|
||||
},
|
||||
endDt(val) {
|
||||
console.log('endDt : ', val);
|
||||
// console.log('endDt : ', val);
|
||||
this.checkStrtAndEndDateTime('end');
|
||||
if (this.startDatepickerInstance) {
|
||||
this.startDatepickerInstance.setDate(new Date(this.strtDt));
|
||||
}
|
||||
},
|
||||
strtHh(val) {
|
||||
console.log('strtHh : ', val);
|
||||
// console.log('strtHh : ', val);
|
||||
this.checkStrtAndEndDateTime('start');
|
||||
},
|
||||
endHh(val) {
|
||||
console.log('endHh : ', val);
|
||||
// console.log('endHh : ', val);
|
||||
this.checkStrtAndEndDateTime('end');
|
||||
},
|
||||
strtMm(val) {
|
||||
|
@ -253,7 +253,7 @@ export default {
|
||||
readObjid: this.searchParam.energyCd,
|
||||
},
|
||||
});
|
||||
console.log('getTreeData : ', res);
|
||||
// console.log('getTreeData : ', res);
|
||||
// this.treeData = res;
|
||||
// const ROOT = res[0].plcCd;
|
||||
const setTreeData = await this.setTree({
|
||||
@ -327,7 +327,7 @@ export default {
|
||||
// 공정/설비 트리 row 클릭이벤트
|
||||
async getRowData(data) {
|
||||
// console.log("getRowData 시작...");
|
||||
console.log('data', data);
|
||||
// console.log('data', data);
|
||||
this.activeRowData = data;
|
||||
// if(data.enableFg == 1){
|
||||
// this.activeRowData = data;
|
||||
|
Reference in New Issue
Block a user