Update 0408
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row ref="contents" class="pt-2">
|
||||
<v-col :cols="5" style="height:100%" class="pr-2">
|
||||
<v-col :cols="5" class="pr-2">
|
||||
<v-card class="pb-5">
|
||||
<div class="d-flex align-center justify-space-between pa-4">
|
||||
<v-card-title class="pa-0 custom-title-4">효율지표 리스트</v-card-title>
|
||||
@ -33,11 +33,11 @@
|
||||
</div>
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col :cols="7" style="height:100%" class="pl-2">
|
||||
<v-col :cols="7" class="pl-2">
|
||||
<v-card class="pb-5">
|
||||
<v-card-title class="custom-title-4 pa-4 pb-2">효율지표 상세
|
||||
</v-card-title>
|
||||
<div class="px-4" style="height:calc(100% - 76px)">
|
||||
<div class="px-4" >
|
||||
<v-tabs v-model="tab">
|
||||
<v-tab v-for="item in items" :key="item.id" :disabled="(item.id == 'EffcIdxAddInfoTab'
|
||||
? isInfoTabDisabled
|
||||
@ -162,7 +162,7 @@ import EffcIdxAddInfoTab from '@/components/pages/ems/EffcIdxInfo/EffcIdxAddInfo
|
||||
import Grid from '~/components/common/Grid';
|
||||
import Utility from '~/plugins/utility';
|
||||
import SelectBox from '@/components/common/select/SelectBox';
|
||||
import CheckBox from '~/components/common/checkbox/CheckBox';
|
||||
import CheckBox from '~/components/common/CheckBox';
|
||||
import EqpmCalcPop from '~/components/common/modal/EqpmCalcPop';
|
||||
import TextArea from '@/components/common/form/TextArea';
|
||||
|
||||
@ -214,64 +214,6 @@ export default {
|
||||
},
|
||||
],
|
||||
loadGrid: false,
|
||||
// "effcIdxGrid": {
|
||||
// data: [
|
||||
// {
|
||||
// "effcIdxId": "E001",
|
||||
// "effcIdxNm": "에너지 소비 효율",
|
||||
// "effcKind": "환경"
|
||||
// },
|
||||
// {
|
||||
// "effcIdxId": "E002",
|
||||
// "effcIdxNm": "작업 시간 대비 생산량",
|
||||
// "effcKind": "생산성"
|
||||
// },
|
||||
// {
|
||||
// "effcIdxId": "E003",
|
||||
// "effcIdxNm": "장비 가동률",
|
||||
// "effcKind": "운영"
|
||||
// },
|
||||
// {
|
||||
// "effcIdxId": "E004",
|
||||
// "effcIdxNm": "불량률",
|
||||
// "effcKind": "품질"
|
||||
// },
|
||||
// {
|
||||
// "effcIdxId": "E005",
|
||||
// "effcIdxNm": "재고 회전율",
|
||||
// "effcKind": "물류"
|
||||
// }
|
||||
// ]
|
||||
// ,
|
||||
// column: [
|
||||
// {
|
||||
// header: '효율지표 ID',
|
||||
// name: 'effcIdxId',
|
||||
// align: 'center',
|
||||
// // hidden:true
|
||||
// },
|
||||
// {
|
||||
// header: '효율지표명',
|
||||
// name: 'effcIdxNm',
|
||||
// align: 'left',
|
||||
// minWidth: 150,
|
||||
// // hidden:true
|
||||
// },
|
||||
|
||||
// {
|
||||
// header: '효율지표종류',
|
||||
// name: 'effcKind',
|
||||
// align: 'left',
|
||||
// // hidden: true,
|
||||
// },
|
||||
// // { header: '등록 사용자', name: 'regUserNo', hidden: true },
|
||||
// // { header: '등록 일자', name: 'regDttm', hidden: true },
|
||||
// // { header: '수정 사용자', name: 'procUserNo', hidden: true },
|
||||
// // { header: '수정 일자', name: 'procDttm', hidden: true },
|
||||
// ],
|
||||
|
||||
// }
|
||||
// },
|
||||
initFlag: false,
|
||||
selectValueList01: [],
|
||||
selectValueList02: [],
|
||||
@ -919,7 +861,6 @@ export default {
|
||||
{
|
||||
header: '효율지표 ID',
|
||||
name: 'effcIdxId',
|
||||
align: 'center',
|
||||
// hidden:true
|
||||
},
|
||||
{
|
||||
|
@ -342,7 +342,6 @@ export default {
|
||||
header: '개소 종류',
|
||||
name: 'plcKind',
|
||||
minWidth: 100,
|
||||
align: 'center',
|
||||
formatter({ value }) {
|
||||
let retVal = '';
|
||||
const newValue = _this.pageData.plcKindList.filter(
|
||||
@ -392,7 +391,6 @@ export default {
|
||||
header: '사용 여부',
|
||||
name: 'useFg',
|
||||
minWidth: 100,
|
||||
align: 'center',
|
||||
formatter({ value }) {
|
||||
value = value === true ? '1' : '0';
|
||||
const newValue = _this.pageData.useFgList.filter(
|
||||
|
@ -980,7 +980,7 @@ export default {
|
||||
var columnList = [
|
||||
{ header: '회사 ID', name: 'comId', hidden: true },
|
||||
{ header: '물리량 ID', name: 'pysclQtyId', hidden: true },
|
||||
{ header: '순번', name: 'argSeq', editor: 'text' },
|
||||
{ header: '순번', name: 'argSeq', editor: 'text', align: 'right' },
|
||||
{ header: '물리량 ID', name: 'argPysclQtyId' },
|
||||
{
|
||||
header: '설비그룹',
|
||||
|
@ -9,7 +9,7 @@
|
||||
<component :is="'SelectBox'" ref="SelectBox1" :propsValue="selectValue01"
|
||||
:itemList="selectValueList01" :label="'설비종류'" :iconShow="true"
|
||||
@update:propsValue="selectValue01 = $event" :labelCols="12" :textCols="12"
|
||||
:customClass="'select-large'" />
|
||||
:customClass="'select-large'" />
|
||||
</v-col>
|
||||
<v-col :cols="3">
|
||||
<component :is="'SelectBox'" ref="SelectBox2" :propsValue="selectValue02"
|
||||
@ -19,10 +19,11 @@
|
||||
</v-col>
|
||||
<v-col :cols="3">
|
||||
<InputText :parentPrgmId="myPrgmId" label="가이드명" :textCols="12" valueNm="gdIdxNm"
|
||||
:searchOption="true" :iconShow="true" :labelCols="12" :customClass="'input-large'"/>
|
||||
:searchOption="true" :iconShow="true" :labelCols="12" :customClass="'input-large'" />
|
||||
</v-col>
|
||||
<v-col :cols="3" class="text-right">
|
||||
<a-button icon="search" type="primary" @click="search()" class="search-button" size="large">조회</a-button>
|
||||
<a-button icon="search" type="primary" @click="search()" class="search-button"
|
||||
size="large">조회</a-button>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
@ -38,13 +39,13 @@
|
||||
:btnActionsFnc="btnActions" />
|
||||
</div>
|
||||
<div class="h100 px-4" style="height:calc(100% - 70px)">
|
||||
<div ref="gridParent" style="height: 30%">
|
||||
<div ref="gridParent" style="height: 26%">
|
||||
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
|
||||
:parentPrgmId="myPrgmId" @getRowsData="getRowData" :dataPath="dataPathExample" />
|
||||
</div>
|
||||
<div class="d-flex py-4 mt-4" >
|
||||
<div class="d-flex py-4 mt-4">
|
||||
<component :is="'Form'" :parentPrgmId="myPrgmId" :detailList="detailList"
|
||||
@gridEditingFinish="gridEditingFinish" />
|
||||
@gridEditingFinish="gridEditingFinish" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -326,14 +327,12 @@ export default {
|
||||
header: 'COM ID',
|
||||
name: 'comId',
|
||||
width: 100,
|
||||
aling: 'center',
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
header: '가이드',
|
||||
name: 'gdIdxId',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
header: '가이드명',
|
||||
@ -345,7 +344,6 @@ export default {
|
||||
header: '설비그룹ID',
|
||||
name: 'eqpmGrpId',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
// hidden: true,
|
||||
formatter({ value }) {
|
||||
let retVal = '';
|
||||
@ -362,7 +360,6 @@ export default {
|
||||
header: '상위집계방법',
|
||||
name: 'upTotMeth',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
// hidden: true,
|
||||
formatter({ value }) {
|
||||
let retVal = '';
|
||||
@ -524,7 +521,7 @@ export default {
|
||||
async getRowGridData() {
|
||||
this.loadGrid = false;
|
||||
let res = [];
|
||||
|
||||
|
||||
res = await this.postApiReturn({
|
||||
apiKey: 'selectEqpmGdIdxDataList',
|
||||
resKey: 'eqpmGdIdxDataList',
|
||||
@ -1122,14 +1119,7 @@ const myDetail = [
|
||||
required: true,
|
||||
iconShow: true
|
||||
},
|
||||
// {
|
||||
// // 공백 처리
|
||||
// type: 'Label',
|
||||
// cols: 3,
|
||||
// class: 'py-2',
|
||||
// // label: "* '주의기준값' 또는 '경고기준값' 중 하나는 필수로 입력해 주세요.",
|
||||
// disabled: false,
|
||||
// },
|
||||
|
||||
// {
|
||||
// type: 'CheckBox',
|
||||
// label: '설비기준적용',
|
||||
@ -1195,7 +1185,8 @@ const myDetail = [
|
||||
// required: true,
|
||||
labelCols: 12,
|
||||
textCols: 12,
|
||||
iconShow: true
|
||||
iconShow: true,
|
||||
inputType: 'number',
|
||||
},
|
||||
// {
|
||||
// // 공백 처리
|
||||
@ -1243,7 +1234,15 @@ const myDetail = [
|
||||
{
|
||||
// 공백 처리
|
||||
type: 'Label',
|
||||
cols: 9,
|
||||
cols: 3,
|
||||
class: 'py-2',
|
||||
// label: "* '주의기준값' 또는 '경고기준값' 중 하나는 필수로 입력해 주세요.",
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
// 공백 처리
|
||||
type: 'Label',
|
||||
cols: 6,
|
||||
class: 'py-3',
|
||||
// label: "* '주의기준값' 또는 '경고기준값' 중 하나는 필수로 입력해 주세요.",
|
||||
disabled: false,
|
||||
@ -1442,9 +1441,3 @@ const myDetail = [
|
||||
},
|
||||
];
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.searchFilter {
|
||||
border-radius: 6px;
|
||||
box-shadow: none;
|
||||
}
|
||||
</style>
|
||||
|
@ -33,11 +33,11 @@
|
||||
<v-row ref="contents" class="mt-3">
|
||||
<v-col :cols="12" style="height: 100%">
|
||||
<!-- <v-card class="py-5"> -->
|
||||
<v-card style="height: 60%">
|
||||
<v-card style="height: auto;">
|
||||
<div class="d-flex align-center justify-space-between pa-4">
|
||||
<v-card-title class="pa-0 custom-title-4">가이드 정보</v-card-title>
|
||||
</div>
|
||||
<div class="d-flex align-end justify-space-between px-4 py-2">
|
||||
<div class="d-flex align-end justify-space-between px-4 py-2 pb-4">
|
||||
<v-row :cols="12" class="align-end">
|
||||
<!-- 가이드 및 설비그룹 라인 시작 -->
|
||||
<v-col :cols="3" class="pa-2">
|
||||
@ -116,9 +116,9 @@
|
||||
|
||||
</v-card>
|
||||
|
||||
<v-row style="height: 40%" class="mt-3">
|
||||
<v-col :cols="6" style="height: 100%" class="pr-2">
|
||||
<v-card class="pb-5">
|
||||
<v-row class="mt-3" >
|
||||
<v-col :cols="6" class="pr-2">
|
||||
<v-card >
|
||||
<div class="d-flex align-center justify-space-between pa-4">
|
||||
<v-card-title class="pa-0 custom-title-4 ">설비상세 리스트</v-card-title>
|
||||
<Buttons :parentPrgmId="myPrgmId" :bindingData="gridName" :btnActionsFnc="btnActions" />
|
||||
@ -132,8 +132,8 @@
|
||||
</div>
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col :cols="6" style="height: 100%" class="pl-2">
|
||||
<v-card class="pb-5">
|
||||
<v-col :cols="6" class="pl-2">
|
||||
<v-card >
|
||||
<div class="d-flex align-center justify-space-between pa-4">
|
||||
<v-card-title class="pa-0 custom-title-4">설비가이드 기준 정보</v-card-title>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user