Compare commits
6 Commits
9459291a8e
...
dev-nghian
Author | SHA1 | Date | |
---|---|---|---|
4a20707c62 | |||
f35924aac8 | |||
8d613e14d3 | |||
9212c636cf | |||
50fee505fe | |||
9000afc00d |
@ -2,17 +2,14 @@
|
|||||||
<v-row class="search-box" align="center" no-gutters>
|
<v-row class="search-box" align="center" no-gutters>
|
||||||
<v-col v-if="label" :cols="labelCols" class="mr-2">
|
<v-col v-if="label" :cols="labelCols" class="mr-2">
|
||||||
<label for="" class="search-box-label">
|
<label for="" class="search-box-label">
|
||||||
<v-icon v-if="iconShow" small
|
<v-icon v-if="iconShow" small :class="['mr-1', required ? 'icon-orange' : 'icon-blue']">$icoBulletPoint</v-icon>
|
||||||
:class="['mr-1', required ? 'icon-orange' : 'icon-blue']">$icoBulletPoint</v-icon>
|
|
||||||
{{ label }}
|
{{ label }}
|
||||||
</label>
|
</label>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="textCols">
|
<v-col :cols="textCols">
|
||||||
<v-text-field readonly v-model="selectValue" append-icon="" :class="['v-input__custom', customClass]"
|
<v-text-field readonly v-model="selectValue" append-icon="" :class="['v-input__custom', customClass]"
|
||||||
@click="dialogOpenCloseEvent(dialog)" outlined :hide-details="true" :required="required || false"
|
@click="dialogOpenCloseEvent(dialog)" outlined :hide-details="true" :required="required || false"
|
||||||
:disabled="disabled || false"
|
:disabled="disabled || false" :placeholder="placeholder">
|
||||||
:placeholder="placeholder"
|
|
||||||
>
|
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
<!-- Custom SVG icon -->
|
<!-- Custom SVG icon -->
|
||||||
<v-icon>$icoSearch</v-icon>
|
<v-icon>$icoSearch</v-icon>
|
||||||
@ -31,17 +28,17 @@
|
|||||||
<v-row align="end">
|
<v-row align="end">
|
||||||
<v-col :cols="3.5">
|
<v-col :cols="3.5">
|
||||||
<!-- 설비그룹 -->
|
<!-- 설비그룹 -->
|
||||||
<component :is="'SelectBox'" :propsValue="selectValue01" :itemList="selectValueList01"
|
<component :is="'SelectBox'" :propsValue="selectValue01" :itemList="selectValueList01" :label="'설비그룹'"
|
||||||
:label="'설비그룹'" :disabled="eqpmGrpDisabled" @update:propsValue="selectValue01 = $event"
|
:disabled="eqpmGrpDisabled" @update:propsValue="selectValue01 = $event" :labelCols="12" :textCols="12"
|
||||||
:labelCols="12" :textCols="12" :iconShow="true" />
|
:iconShow="true" />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col>
|
<v-col>
|
||||||
<!-- FAB -->
|
<!-- FAB -->
|
||||||
<component :is="'SelectBoxMulti'" :propsValue="selectValue02" :itemList="selectValueList02"
|
<component :is="'SelectBoxMulti'" :propsValue="selectValue02" :itemList="selectValueList02" :label="'FAB'"
|
||||||
:label="'FAB'" :labelCols="12" :multiple="true" :disabled="fabDisabled"
|
:labelCols="12" :multiple="true" :disabled="fabDisabled" @update:propsValue="selectValue02 = $event"
|
||||||
@update:propsValue="selectValue02 = $event" :textCols="12" :iconShow="true" />
|
:textCols="12" :iconShow="true" />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col >
|
<v-col>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col :cols="12" class="py-0">
|
<v-col :cols="12" class="py-0">
|
||||||
<label for="" class="search-box-label">
|
<label for="" class="search-box-label">
|
||||||
@ -86,15 +83,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pa-5" style="height:calc(100% - 30px)">
|
<div class="pa-5" style="height:calc(100% - 30px)">
|
||||||
<div ref="modalGridParent" class="h100 w100">
|
<div ref="modalGridParent" :class="['h100', 'w100', isDarkMode ? 'dark-mode' : 'light-mode']">
|
||||||
<component :ref="gridName" :is="loadGrid ? 'Grid' : null"
|
<component :ref="gridName" :is="loadGrid ? 'Grid' : null"
|
||||||
:dataPath="searchParam.eqpmSelectPopData.eqpmSelectPop" :gridName="gridName"
|
:dataPath="searchParam.eqpmSelectPopData.eqpmSelectPop" :gridName="gridName" :parentPrgmId="parentPrgmId"
|
||||||
:parentPrgmId="parentPrgmId" @getRowsData="getRowData" />
|
@getRowsData="getRowData" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-card-actions class="px-6 py-4 d-flex align-center justify-end">
|
<v-card-actions class="px-6 py-4 d-flex align-center justify-end">
|
||||||
<a-button :ripple="false" @click="dialogOpenCloseEvent(dialog)" class="ant-btn-popup-default mr-2">닫기</a-button>
|
<a-button :ripple="false" @click="dialogOpenCloseEvent(dialog)"
|
||||||
|
class="ant-btn-popup-default mr-2">닫기</a-button>
|
||||||
<a-button :ripple="false" type="primary" @click="setUpdate($event)">확인</a-button>
|
<a-button :ripple="false" type="primary" @click="setUpdate($event)">확인</a-button>
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
@ -247,6 +245,7 @@ export default {
|
|||||||
eqpmKindId: data.eqpmKindId,
|
eqpmKindId: data.eqpmKindId,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
isDarkMode: "isDarkMode",
|
||||||
}),
|
}),
|
||||||
selectValue: {
|
selectValue: {
|
||||||
get() {
|
get() {
|
||||||
@ -585,6 +584,7 @@ var eqpmSelectPop = {
|
|||||||
|
|
||||||
.tui-grid-lside-area {
|
.tui-grid-lside-area {
|
||||||
.tui-grid-table {
|
.tui-grid-table {
|
||||||
|
|
||||||
.tui-grid-cell-header {
|
.tui-grid-cell-header {
|
||||||
&.tui-grid-cell {
|
&.tui-grid-cell {
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
@ -594,7 +594,23 @@ var eqpmSelectPop = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@each $theme in dark, light {
|
||||||
|
@include theme($theme);
|
||||||
|
|
||||||
|
.#{$theme}-mode {
|
||||||
|
::v-deep {
|
||||||
|
.tui-grid-lside-area {
|
||||||
|
.tui-grid-table{
|
||||||
|
border-right: 1px solid map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"tui-grid-border-vertical-color"
|
||||||
|
) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -347,6 +347,12 @@ export default {
|
|||||||
//console.log("localPageData", this.pageData);
|
//console.log("localPageData", this.pageData);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
isDarkMode(){
|
||||||
|
this.loadingStackCnt = 1;
|
||||||
|
setTimeout(() => {
|
||||||
|
this.loadingStackCnt = 0;
|
||||||
|
}, 1000);
|
||||||
|
},
|
||||||
// menuLink: {
|
// menuLink: {
|
||||||
// deep: true,
|
// deep: true,
|
||||||
// handler() {
|
// handler() {
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
<v-tabs-items v-model="tab" style="height: calc(100% - 65px);" class="pt-6 py-2">
|
<v-tabs-items v-model="tab" style="height: calc(100% - 65px);" class="pt-6 py-2">
|
||||||
<v-tab-item v-for="(item, idx) in items" :key="item.id">
|
<v-tab-item v-for="(item, idx) in items" :key="item.id">
|
||||||
<component v-if="item.id == 'readPlcBaseInfoTab'" :is="'Form'" :parentPrgmId="myPrgmId"
|
<component v-if="item.id == 'readPlcBaseInfoTab'" :is="'Form'" :parentPrgmId="myPrgmId"
|
||||||
:detailList="f" :bindingData="gridName"
|
:detailList="detailList" :bindingData="gridName"
|
||||||
@gridEditingFinish="gridEditingFinish" />
|
@gridEditingFinish="gridEditingFinish" />
|
||||||
<ReadPlcAddInfoTab v-if="item.id == 'readPlcAddInfoTab'" :parentPrgmId="myPrgmId"
|
<ReadPlcAddInfoTab v-if="item.id == 'readPlcAddInfoTab'" :parentPrgmId="myPrgmId"
|
||||||
:innerTabGridInfo="{ tab, idx }" />
|
:innerTabGridInfo="{ tab, idx }" />
|
||||||
@ -923,51 +923,6 @@ const defaultData = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const sampleData = [
|
|
||||||
{
|
|
||||||
readPlcNm: '서울 본사',
|
|
||||||
plcKind: '본사',
|
|
||||||
useFg: '사용',
|
|
||||||
_children: [
|
|
||||||
{
|
|
||||||
readPlcNm: '서울 본사 - 1층',
|
|
||||||
plcKind: '층',
|
|
||||||
useFg: '사용',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
readPlcNm: '서울 본사 - 2층',
|
|
||||||
plcKind: '층',
|
|
||||||
useFg: '미사용',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
readPlcNm: '부산 지사',
|
|
||||||
plcKind: '지사',
|
|
||||||
useFg: '사용',
|
|
||||||
_children: [
|
|
||||||
{
|
|
||||||
readPlcNm: '부산 지사 - A동',
|
|
||||||
plcKind: '건물',
|
|
||||||
useFg: '사용',
|
|
||||||
_children: [
|
|
||||||
{
|
|
||||||
readPlcNm: '부산 지사 - A동 1층',
|
|
||||||
plcKind: '층',
|
|
||||||
useFg: '사용',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
readPlcNm: '대전 창고',
|
|
||||||
plcKind: '창고',
|
|
||||||
useFg: '미사용',
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
const myDetail = [
|
const myDetail = [
|
||||||
{
|
{
|
||||||
type: 'InputText',
|
type: 'InputText',
|
||||||
|
Reference in New Issue
Block a user