commit 2407

This commit is contained in:
dev
2025-07-24 16:54:47 +09:00
parent edab77d0c6
commit dca6673a11
3 changed files with 35 additions and 34 deletions

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

@ -843,38 +843,39 @@ export default {
}); });
}, },
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 = [ // this.selectValueList02 = [
{ text: '온도 센서', value: 'ECC001' }, // { text: '온도 센서', value: 'ECC001' },
{ text: '압력 센서', value: 'ECC002' }, // { text: '압력 센서', value: 'ECC002' },
{ text: '유량 센서', value: 'ECC003' }, // { text: '유량 센서', value: 'ECC003' },
{ text: '습도 센서', value: 'ECC004' }, // { text: '습도 센서', value: 'ECC004' },
{ text: '전압 센서', value: 'ECC005' } // { text: '전압 센서', value: 'ECC005' }
]; // ];
// if (res.length > 0) { console.log(res)
// // this.selectValueList02 = await res.map(item => { if (res.length > 0) {
// // return { // this.selectValueList02 = await res.map(item => {
// // text: item.eccNm, // return {
// // value: item.eccId, // text: item.eccNm,
// // }; // value: item.eccId,
// // }); // };
// this.selectValueList02.unshift({ // });
// text: '전체', this.selectValueList02.unshift({
// value: null, text: '전체',
// }); value: null,
// if (this.routeData.fabId != null && this.routeData.fabId != '') { });
// this.selectValue02 = this.routeData.fabId; if (this.routeData.fabId != null && this.routeData.fabId != '') {
// } else if (this.routeData.fabId == null || this.routeData.fabId == '') { this.selectValue02 = this.routeData.fabId;
// this.selectValue02 = this.selectValueList02[0].value; } else if (this.routeData.fabId == null || this.routeData.fabId == '') {
// } this.selectValue02 = this.selectValueList02[0].value;
// } else { }
// this.selectValueList02 = []; } else {
// this.selectValue02 = null; this.selectValueList02 = [];
// } this.selectValue02 = null;
}
this.setPageData({ this.setPageData({
fabIdList: this.selectValueList02, fabIdList: this.selectValueList02,
fabId: this.selectValue02, fabId: this.selectValue02,

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 (메뉴명)