Compare commits
12 Commits
dev-dungtv
...
dev-luannv
Author | SHA1 | Date | |
---|---|---|---|
140f73814f | |||
b53ce8bd83 | |||
8bb0d56a80 | |||
f715405ad2 | |||
56607d0770 | |||
6db0ff96c0 | |||
2cf00c0880 | |||
9155a2b55e | |||
484d8879aa | |||
38585f7b4f | |||
b0ad70d33e | |||
3f89707a01 |
@ -484,6 +484,10 @@ a {
|
|||||||
border-bottom: 1px solid map-deep-get($config, #{$theme}, "v-header-border");
|
border-bottom: 1px solid map-deep-get($config, #{$theme}, "v-header-border");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-chart{
|
||||||
|
border: 1px solid map-deep-get($config, #{$theme}, "v-chart-border");
|
||||||
|
}
|
||||||
|
|
||||||
.btn-header {
|
.btn-header {
|
||||||
background-color: map-deep-get($config, #{$theme}, "v-btn-header-background");
|
background-color: map-deep-get($config, #{$theme}, "v-btn-header-background");
|
||||||
border:1px solid map-deep-get($config, #{$theme}, "v-btn-header-border");
|
border:1px solid map-deep-get($config, #{$theme}, "v-btn-header-border");
|
||||||
@ -860,7 +864,7 @@ a {
|
|||||||
);
|
);
|
||||||
|
|
||||||
.day-label {
|
.day-label {
|
||||||
color: map-deep-get($config, #{$theme}, "non-activate");
|
color: map-deep-get($config, #{$theme}, "card-text-title-color");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-action-btn{
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.v-btn {
|
.v-btn {
|
||||||
background-color: map-deep-get($config,
|
background-color: map-deep-get($config,
|
||||||
#{$theme},
|
#{$theme},
|
||||||
|
@ -17,18 +17,6 @@
|
|||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// &-body-container {
|
|
||||||
// width: 100% !important;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// &-table {
|
|
||||||
// width: 100% !important;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// &-lside-area .tui-grid-body-area {
|
|
||||||
// margin-right: -11px;
|
|
||||||
// }
|
|
||||||
|
|
||||||
&-lside-area .tui-grid-scrollbar-left-bottom {
|
&-lside-area .tui-grid-scrollbar-left-bottom {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -68,6 +56,12 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
th[data-column-name="_checked"] {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tui-grid-table{
|
.tui-grid-table{
|
||||||
@ -75,6 +69,13 @@
|
|||||||
.tui-grid-cell-has-input .tui-grid-cell-content {
|
.tui-grid-cell-has-input .tui-grid-cell-content {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th[data-column-name="_checked"] {
|
||||||
|
&.tui-grid-cell-header {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.treeGrid {
|
.treeGrid {
|
||||||
@ -150,50 +151,28 @@
|
|||||||
|
|
||||||
&-body-container{
|
&-body-container{
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
// border-right-color: map-deep-get($config,
|
// position: relative;
|
||||||
// #{$theme},
|
|
||||||
// "tui-grid-cell-borderColor"
|
|
||||||
// );
|
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
|
|
||||||
.tui-grid-table-container{
|
.tui-grid-table-container{
|
||||||
width: 100% !important;
|
// width: 100% !important;
|
||||||
.tui-grid-table {
|
.tui-grid-table {
|
||||||
width: 100% !important;
|
// width: 100% !important;
|
||||||
|
// table-layout: fixed;
|
||||||
|
// th, td {
|
||||||
|
// &:last-child{
|
||||||
|
// width: auto !important;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-container,
|
&-summary-area,
|
||||||
&-summary-area {
|
&-container {
|
||||||
font-family: Inter;
|
font-family: Inter;
|
||||||
// color: #000000E0;
|
|
||||||
|
|
||||||
& ::-webkit-scrollbar {
|
|
||||||
width: 0 !important;
|
|
||||||
height: $scrollbar-width !important;
|
|
||||||
-webkit-appearance: initial;
|
|
||||||
background-color: rgba(0, 0, 0, 0) !important;
|
|
||||||
border-radius: 3px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
& ::-webkit-scrollbar-track {
|
|
||||||
// background-color: map-deep-get($config,
|
|
||||||
// #{$theme},
|
|
||||||
// "tui-grid-cell-borderColor"
|
|
||||||
// ) !important;
|
|
||||||
background-color: rgba(0, 0, 0, 0) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
& ::-webkit-scrollbar-thumb {
|
|
||||||
// width: 50px !important;
|
|
||||||
height: 50px !important;
|
|
||||||
background-color: map-deep-get($config, #{$theme}, "scrollbar-thumb");
|
|
||||||
// background-color: rgba(0, 0, 0, 0);
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tui-grid-cell {
|
.tui-grid-cell {
|
||||||
|
|
||||||
&.tui-grid-cell-summary {
|
&.tui-grid-cell-summary {
|
||||||
color: map-deep-get($config,
|
color: map-deep-get($config,
|
||||||
#{$theme},
|
#{$theme},
|
||||||
@ -203,6 +182,32 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-body-area {
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: $scrollbar-width !important;
|
||||||
|
height: $scrollbar-width !important;
|
||||||
|
-webkit-appearance: initial;
|
||||||
|
background-color: rgba(0, 0, 0, 0) !important;
|
||||||
|
border-radius: 3px !important;
|
||||||
|
// border-right: 1px solid;
|
||||||
|
// border-right-color: map-deep-get($config, #{$theme}, "tui-grid-cell-borderColor");
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-track {
|
||||||
|
background-color: rgba(0, 0, 0, 0) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
height: 50px !important;
|
||||||
|
background-color: map-deep-get($config, #{$theme}, "scrollbar-thumb");
|
||||||
|
border-radius: 3px;
|
||||||
|
// width: 50px !important;
|
||||||
|
// background-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-rside-area {
|
&-rside-area {
|
||||||
background-color: map-deep-get($config, #{$theme}, "scrollbar-track");
|
background-color: map-deep-get($config, #{$theme}, "scrollbar-track");
|
||||||
}
|
}
|
||||||
@ -241,13 +246,13 @@
|
|||||||
&-scrollbar-right-bottom {
|
&-scrollbar-right-bottom {
|
||||||
width: $scrollbar-width !important;
|
width: $scrollbar-width !important;
|
||||||
height: $scrollbar-width !important;
|
height: $scrollbar-width !important;
|
||||||
// display: none !important;
|
|
||||||
border-color: map-deep-get($config, #{$theme}, "cardBackground");
|
border-color: map-deep-get($config, #{$theme}, "cardBackground");
|
||||||
background-color: map-deep-get($config, #{$theme}, "cardBackground");
|
background-color: map-deep-get($config, #{$theme}, "cardBackground");
|
||||||
|
box-sizing: border-box;
|
||||||
|
// display: none !important;
|
||||||
// border: none !important;
|
// border: none !important;
|
||||||
// bottom: -1px;
|
// bottom: -1px;
|
||||||
// right: -2px;
|
// right: -2px;
|
||||||
box-sizing: border-box;
|
|
||||||
// display: none;
|
// display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -358,10 +363,10 @@
|
|||||||
#{$theme},
|
#{$theme},
|
||||||
"tui-grid-cell-backgroundColor"
|
"tui-grid-cell-backgroundColor"
|
||||||
);
|
);
|
||||||
width: 100% !important;
|
// width: 100% !important;
|
||||||
.tui-grid-table {
|
// .tui-grid-table {
|
||||||
width: 100% !important;
|
// width: 100% !important;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
&-row-odd,
|
&-row-odd,
|
||||||
|
@ -230,6 +230,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"] {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px
|
||||||
|
}
|
||||||
|
|
||||||
@each $theme in dark, light {
|
@each $theme in dark, light {
|
||||||
@include theme($theme);
|
@include theme($theme);
|
||||||
@ -242,6 +246,7 @@
|
|||||||
background: map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
|
background: map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
|
||||||
border-color:map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
|
border-color:map-deep-get($config, #{$theme}, "ant-btn-primary-bg");
|
||||||
color:map-deep-get($config, #{$theme}, "ant-btn-primary-color");
|
color:map-deep-get($config, #{$theme}, "ant-btn-primary-color");
|
||||||
|
|
||||||
&.ant-checkbox-inner::after {
|
&.ant-checkbox-inner::after {
|
||||||
border-color: map-deep-get($config, #{$theme}, "ant-btn-primary-color");
|
border-color: map-deep-get($config, #{$theme}, "ant-btn-primary-color");
|
||||||
}
|
}
|
||||||
@ -403,6 +408,13 @@
|
|||||||
"v-input-textarea-border"
|
"v-input-textarea-border"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"] {
|
||||||
|
accent-color: map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"ant-btn-primary-bg"
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-radio {
|
.v-radio {
|
||||||
|
@ -15,8 +15,9 @@
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border: solid 1px;
|
border: solid 1px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
// border-color: #424242;
|
color: map-deep-get($config, #{$theme}, "v-input-fieldset-color") !important;
|
||||||
border-color: map-deep-get($config, #{$theme}, "tui-datepicker-border-color");
|
border-color: currentColor;
|
||||||
|
// border-color: map-deep-get($config, #{$theme}, "tui-datepicker-border-color");
|
||||||
|
|
||||||
&.datepicker-large {
|
&.datepicker-large {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
@ -175,6 +175,7 @@ $config: (
|
|||||||
btn-header-select-color:#FFFFFFD9,
|
btn-header-select-color:#FFFFFFD9,
|
||||||
subtitle-tab: #FFFFFFA6,
|
subtitle-tab: #FFFFFFA6,
|
||||||
v-header-border: #424242,
|
v-header-border: #424242,
|
||||||
|
v-chart-border: #424242,
|
||||||
v-sidebar-border: #303030,
|
v-sidebar-border: #303030,
|
||||||
),
|
),
|
||||||
light: (w-g5: $--color-gray_555,
|
light: (w-g5: $--color-gray_555,
|
||||||
@ -314,6 +315,7 @@ $config: (
|
|||||||
btn-header-select-bg:#FFFFFF,
|
btn-header-select-bg:#FFFFFF,
|
||||||
subtitle-tab: #000000A6,
|
subtitle-tab: #000000A6,
|
||||||
v-header-border: #D9D9D9,
|
v-header-border: #D9D9D9,
|
||||||
|
v-chart-border: #D9D9D9,
|
||||||
v-sidebar-border: #F0F0F0,
|
v-sidebar-border: #F0F0F0,
|
||||||
),
|
),
|
||||||
);
|
);
|
@ -61,7 +61,8 @@ export default {
|
|||||||
isDarkMode: 'isDarkMode',
|
isDarkMode: 'isDarkMode',
|
||||||
chartOption(state) {
|
chartOption(state) {
|
||||||
var dark_Col = [
|
var dark_Col = [
|
||||||
'#01AE6A',
|
'#79B100',
|
||||||
|
// '#01AE6A',
|
||||||
'#FFB046',
|
'#FFB046',
|
||||||
'#F6637B',
|
'#F6637B',
|
||||||
'#944FE9',
|
'#944FE9',
|
||||||
@ -194,7 +195,8 @@ export default {
|
|||||||
var lightCol_dashReadplcStatus = ['#3cc380', '#ffb13b', '#f98694'];
|
var lightCol_dashReadplcStatus = ['#3cc380', '#ffb13b', '#f98694'];
|
||||||
|
|
||||||
var light_Col = [
|
var light_Col = [
|
||||||
'#3CC380',
|
'#3BAD43',
|
||||||
|
// '#3CC380',
|
||||||
'#FFB13B',
|
'#FFB13B',
|
||||||
'#F98694',
|
'#F98694',
|
||||||
'#CF74E5',
|
'#CF74E5',
|
||||||
|
@ -299,7 +299,6 @@ export default {
|
|||||||
startEditing(e) {
|
startEditing(e) {
|
||||||
// console.log('startEditing1...')
|
// console.log('startEditing1...')
|
||||||
if (this.preventFocusChangeEvent(e)) {
|
if (this.preventFocusChangeEvent(e)) {
|
||||||
// console.log('prevent startEditing')
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -311,7 +310,6 @@ export default {
|
|||||||
// console.log('startEditing2...')
|
// console.log('startEditing2...')
|
||||||
if (this.editorGrid && e.rowKey >= 0) {
|
if (this.editorGrid && e.rowKey >= 0) {
|
||||||
this.editorStartKey = e.rowKey;
|
this.editorStartKey = e.rowKey;
|
||||||
// console.log("E::", this.gridInstance.invoke("getRow", e.rowKey));
|
|
||||||
this.gridInstance.invoke('startEditing', e.rowKey, e.columnName);
|
this.gridInstance.invoke('startEditing', e.rowKey, e.columnName);
|
||||||
this.$emit(
|
this.$emit(
|
||||||
'getRowsData',
|
'getRowsData',
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<div class="d-flex justify-center align-center"
|
<div class="d-flex justify-center align-center"
|
||||||
:class="directionBtn === 'vertically'?'flex-row':'flex-column'"
|
:class="directionBtn === 'vertically'?'flex-row':'flex-column'"
|
||||||
style="gap: 12px">
|
style="gap: 12px">
|
||||||
<a-button @click="btnActionsFnc('removeRightToLeft')" type="primary" ghost :icon="icons.remove" >
|
<a-button @click="btnActionsFnc('removeRightToLeft')" type="primary" ghost :icon="icons.remove" class="custom-action-btn">
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button @click="btnActionsFnc('addLeftToRight')" type="primary" ghost :icon="icons.add">
|
<a-button @click="btnActionsFnc('addLeftToRight')" type="primary" ghost :icon="icons.add" class="custom-action-btn">
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -10,7 +10,7 @@ export default {
|
|||||||
size: {
|
size: {
|
||||||
type: String,
|
type: String,
|
||||||
require: false,
|
require: false,
|
||||||
default: "middle", // small, middle, large
|
default: "default", // small, default, large
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -119,8 +119,7 @@
|
|||||||
/>
|
/>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<v-card-actions>
|
<v-card-actions class="px-6 py-4 d-flex align-center justify-end">
|
||||||
<v-spacer></v-spacer>
|
|
||||||
<a-button color="primary" type="primary" @click="closePop()">확인</a-button>
|
<a-button color="primary" type="primary" @click="closePop()">확인</a-button>
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
@ -275,7 +274,12 @@ export default {
|
|||||||
// const gridHeight = this.$refs.gridParent.offsetHeight - 30;
|
// const gridHeight = this.$refs.gridParent.offsetHeight - 30;
|
||||||
|
|
||||||
const myOptions = {
|
const myOptions = {
|
||||||
rowHeaders: ['rowNum'],
|
rowHeaders: [
|
||||||
|
{
|
||||||
|
type: 'rowNum',
|
||||||
|
align: 'right',
|
||||||
|
},
|
||||||
|
],
|
||||||
columnOptions: {
|
columnOptions: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
minWidth: 100
|
minWidth: 100
|
||||||
@ -319,19 +323,19 @@ export default {
|
|||||||
header: '주의',
|
header: '주의',
|
||||||
width: 100,
|
width: 100,
|
||||||
name: 'careStndVal',
|
name: 'careStndVal',
|
||||||
align: 'center'
|
align: 'right'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: '경고',
|
header: '경고',
|
||||||
width: 100,
|
width: 100,
|
||||||
name: 'warnStndVal',
|
name: 'warnStndVal',
|
||||||
align: 'center'
|
align: 'right'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: '가이드값',
|
header: '가이드값',
|
||||||
width: 100,
|
width: 100,
|
||||||
name: 'totVal',
|
name: 'totVal',
|
||||||
align: 'center'
|
align: 'right'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: '알람내용',
|
header: '알람내용',
|
||||||
|
@ -65,13 +65,10 @@
|
|||||||
|
|
||||||
<!-- <div id="chartParent" ref="chartParent" style="height: 100px"> -->
|
<!-- <div id="chartParent" ref="chartParent" style="height: 100px"> -->
|
||||||
<div :style="'height: calc(50vh)'">
|
<div :style="'height: calc(50vh)'">
|
||||||
<div class="d-flex align-center justify-space-between pa-4" style="height: 10%">
|
|
||||||
<v-card-title class="pa-0 custom-title-4">사용량 계획</v-card-title>
|
|
||||||
</div>
|
|
||||||
<!-- <div id="chartParent" ref="chartParent" :style="'height: 80%'"> -->
|
<!-- <div id="chartParent" ref="chartParent" :style="'height: 80%'"> -->
|
||||||
<div id="chartParent" ref="chartParent" style="height: 70%">
|
<div id="chartParent" ref="chartParent" style="height: 100%" class="px-6">
|
||||||
<component
|
<component
|
||||||
class="w100 h100"
|
class="w100 h100 py-7 custom-chart"
|
||||||
:is="loadChart ? 'Chart' : null"
|
:is="loadChart ? 'Chart' : null"
|
||||||
:parentPrgmId="parentPrgmId"
|
:parentPrgmId="parentPrgmId"
|
||||||
:modalId="modalId"
|
:modalId="modalId"
|
||||||
@ -130,7 +127,6 @@
|
|||||||
/>
|
/>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<v-divider></v-divider>
|
|
||||||
<v-card-actions class="pa-5 d-flex align-center justify-end">
|
<v-card-actions class="pa-5 d-flex align-center justify-end">
|
||||||
<a-button color="primary" type="default" class="mr-2" dark @click="closePop()">취소</a-button>
|
<a-button color="primary" type="default" class="mr-2" dark @click="closePop()">취소</a-button>
|
||||||
<a-button color="primary" type="primary" dark @click="setUpdate()">확정</a-button>
|
<a-button color="primary" type="primary" dark @click="setUpdate()">확정</a-button>
|
||||||
@ -533,7 +529,7 @@ export default {
|
|||||||
seriesData = data.map(item => ({
|
seriesData = data.map(item => ({
|
||||||
name: item.gubun == '2PLAN' ? '계획' : '전년실적',
|
name: item.gubun == '2PLAN' ? '계획' : '전년실적',
|
||||||
type: item.gubun == '2PLAN' ? 'line' : 'bar',
|
type: item.gubun == '2PLAN' ? 'line' : 'bar',
|
||||||
data: targetMonthList.map(obj => item[obj] || null)
|
data: targetMonthList.map(obj => item[obj] || null),
|
||||||
// data: targetMonthList.map(obj => item[obj] || 0)
|
// data: targetMonthList.map(obj => item[obj] || 0)
|
||||||
}));
|
}));
|
||||||
this.nowSeriesData = seriesData;
|
this.nowSeriesData = seriesData;
|
||||||
@ -558,7 +554,6 @@ export default {
|
|||||||
series: seriesData,
|
series: seriesData,
|
||||||
tooltip: tooltipData
|
tooltip: tooltipData
|
||||||
};
|
};
|
||||||
// console.log('option', option);
|
|
||||||
await this.$nextTick(() => {
|
await this.$nextTick(() => {
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -601,7 +596,6 @@ export default {
|
|||||||
sData2 = nowSeriesData.filter(item => {
|
sData2 = nowSeriesData.filter(item => {
|
||||||
return item.name == '계획';
|
return item.name == '계획';
|
||||||
})[0]['data'];
|
})[0]['data'];
|
||||||
// console.log('sData1', sData);
|
|
||||||
if(targetMonth.includes('qty')){
|
if(targetMonth.includes('qty')){
|
||||||
targetMonth = parseInt(targetMonth.slice(-2));
|
targetMonth = parseInt(targetMonth.slice(-2));
|
||||||
}
|
}
|
||||||
@ -610,13 +604,11 @@ export default {
|
|||||||
sData2[i] = sData[i] * targetRatio;
|
sData2[i] = sData[i] * targetRatio;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// console.log('sData2', sData2);
|
|
||||||
seriesData = nowSeriesData.map(item => ({
|
seriesData = nowSeriesData.map(item => ({
|
||||||
...item,
|
...item,
|
||||||
data: item.name == '계획' ? sData2 : item.data
|
data: item.name == '계획' ? sData2 : item.data
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// console.log('seriesData', seriesData);
|
|
||||||
await this.$nextTick(() => {
|
await this.$nextTick(() => {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -8,49 +8,37 @@
|
|||||||
</label>
|
</label>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="textCols">
|
<v-col :cols="textCols">
|
||||||
<v-text-field
|
<v-text-field readonly v-model="selectValue" append-icon="" :class="['v-input__custom', customClass]"
|
||||||
readonly
|
@click="dialogOpenCloseEvent(dialog)" outlined :hide-details="true" :required="required || false"
|
||||||
v-model="selectValue"
|
:disabled="disabled || false"><template v-slot:append>
|
||||||
append-icon="mdi-magnify"
|
|
||||||
:class="['v-input__custom', customClass]"
|
|
||||||
@click="dialogOpenCloseEvent(dialog)"
|
|
||||||
outlined
|
|
||||||
:hide-details="true"
|
|
||||||
:required="required || false"
|
|
||||||
:disabled="disabled || false"
|
|
||||||
:placeholder="placeholder"
|
|
||||||
>
|
|
||||||
<template v-slot:append>
|
|
||||||
<!-- Custom SVG icon -->
|
<!-- Custom SVG icon -->
|
||||||
<v-icon>$icoSearch</v-icon>
|
<v-icon>$icoSearch</v-icon>
|
||||||
</template>
|
</template>
|
||||||
</v-text-field>
|
</v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-dialog ref="popModal" v-model="dialog" width="800" scrollable>
|
<v-dialog ref="popModal" v-model="dialog" width="800" content-class="custom-dialog" scrollable>
|
||||||
<v-card style="height: 90vh;">
|
<v-card style="height: 100%;">
|
||||||
<v-card-title class="px-5 py-4 d-flex align-center justify-space-between">
|
<v-card-title class="px-5 py-4 d-flex align-center justify-space-between">
|
||||||
<span class="custom-title-4">설비 선택</span>
|
<span class="custom-title-4">설비 선택</span>
|
||||||
<a-button icon="close" type="text" @click="dialogOpenCloseEvent(dialog)"></a-button>
|
<a-button icon="close" type="text" @click="dialogOpenCloseEvent(dialog)"></a-button>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<div class="pa-2 pt-0">
|
<div class="px-5 pt-2">
|
||||||
<!-- <v-card class="searchFilter">
|
<!-- <v-card class="searchFilter">
|
||||||
</v-card> -->
|
</v-card> -->
|
||||||
<v-row align="end" class="searchFilter">
|
<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="'설비그룹'" :disabled="eqpmGrpDisabled"
|
:label="'설비그룹'" :disabled="eqpmGrpDisabled" @update:propsValue="selectValue01 = $event"
|
||||||
@update:propsValue="selectValue01 = $event" :labelCols="12" :textCols="12"
|
:labelCols="12" :textCols="12" :iconShow="true" />
|
||||||
:iconShow="true" />
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="3.5">
|
<v-col>
|
||||||
<!-- FAB -->
|
<!-- FAB -->
|
||||||
<component :is="'SelectBoxMulti'" :propsValue="selectValue02"
|
<component :is="'SelectBoxMulti'" :propsValue="selectValue02" :itemList="selectValueList02"
|
||||||
:itemList="selectValueList02" :label="'FAB'" :labelCols="12" :multiple="true"
|
:label="'FAB'" :labelCols="12" :multiple="true" :disabled="fabDisabled"
|
||||||
:disabled="fabDisabled" @update:propsValue="selectValue02 = $event" :textCols="12"
|
@update:propsValue="selectValue02 = $event" :textCols="12" :iconShow="true" />
|
||||||
:iconShow="true" />
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="3.5">
|
<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">
|
||||||
@ -59,9 +47,8 @@
|
|||||||
</label>
|
</label>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="12" class="pt-0">
|
<v-col :cols="12" class="pt-0">
|
||||||
<v-text-field append-icon="" class="v-input__custom" outlined
|
<v-text-field append-icon="" class="v-input__custom" outlined :hide-details="true"
|
||||||
:hide-details="true" v-model="searchWord" @keyup.enter="search"><template
|
v-model="searchWord" @keyup.enter="search"><template v-slot:append>
|
||||||
v-slot:append>
|
|
||||||
<!-- Custom SVG icon -->
|
<!-- Custom SVG icon -->
|
||||||
<v-icon>$icoSearch</v-icon>
|
<v-icon>$icoSearch</v-icon>
|
||||||
|
|
||||||
@ -70,7 +57,11 @@
|
|||||||
|
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
<a-button icon="search" type="primary" @click="search()" class="search-button">조회</a-button>
|
<v-col :cols="2" class="last-col mr-2">
|
||||||
|
<a-button icon="search" :ripple="false" type="primary" @click="search()"
|
||||||
|
class="search-button">조회</a-button>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
<!-- <v-row align="center" no-gutters style="margin-top: 14px;">
|
<!-- <v-row align="center" no-gutters style="margin-top: 14px;">
|
||||||
@ -91,13 +82,13 @@
|
|||||||
</v-row> -->
|
</v-row> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-card-text class="px-2 w100">
|
<div class="pa-5" style="height:calc(100% - 30px)">
|
||||||
<div ref="modalGridParent" style="height: 450px;" class="h100 w100">
|
<div ref="modalGridParent" class="h100 w100">
|
||||||
<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" @getRowsData="getRowData" />
|
:parentPrgmId="parentPrgmId" @getRowsData="getRowData" />
|
||||||
</div>
|
</div>
|
||||||
</v-card-text>
|
</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="mr-2">닫기</a-button>
|
<a-button :ripple="false" @click="dialogOpenCloseEvent(dialog)" class="mr-2">닫기</a-button>
|
||||||
@ -270,7 +261,7 @@ export default {
|
|||||||
},
|
},
|
||||||
chkDialog() {
|
chkDialog() {
|
||||||
if (this.isMulti) {
|
if (this.isMulti) {
|
||||||
this.$store.state.pageData[this.parentPrgmId][this.modalDataKey][this.myModalKey][this.gridName].option.rowHeaders = [{ type: 'checkbox' }];
|
this.$store.state.pageData[this.parentPrgmId][this.modalDataKey][this.myModalKey][this.gridName].option.rowHeaders = [{ type: 'checkbox', width: 72 }];
|
||||||
} else {
|
} else {
|
||||||
this.$store.state.pageData[this.parentPrgmId][this.modalDataKey][this.myModalKey][this.gridName].option.rowHeaders = [];
|
this.$store.state.pageData[this.parentPrgmId][this.modalDataKey][this.myModalKey][this.gridName].option.rowHeaders = [];
|
||||||
}
|
}
|
||||||
@ -437,18 +428,15 @@ export default {
|
|||||||
{
|
{
|
||||||
header: 'FAB',
|
header: 'FAB',
|
||||||
name: 'fabNm',
|
name: 'fabNm',
|
||||||
align: 'center'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: '설비ID',
|
header: '설비ID',
|
||||||
name: 'eqpmId',
|
name: 'eqpmId'
|
||||||
align: 'center',
|
|
||||||
// hidden:true
|
// hidden:true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: '설비명',
|
header: '설비명',
|
||||||
name: 'eqpmNm',
|
name: 'eqpmNm'
|
||||||
align: 'center'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'eccId',
|
header: 'eccId',
|
||||||
@ -532,11 +520,11 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
this.loadGrid = true;
|
this.loadGrid = true;
|
||||||
this.$nextTick(() => {
|
// this.$nextTick(() => {
|
||||||
if (this.isMulti) {
|
// if (this.isMulti) {
|
||||||
this.getChecked();
|
// this.getChecked();
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
},
|
},
|
||||||
setUpdate() {
|
setUpdate() {
|
||||||
@ -588,3 +576,16 @@ var eqpmSelectPop = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
::v-deep {
|
||||||
|
.last-col {
|
||||||
|
flex-basis: content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-dialog {
|
||||||
|
overflow-y: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
:btnActionsFnc="btnActions"
|
:btnActionsFnc="btnActions"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div ref="gridParent" style="height: calc(100vh - 760px);">
|
<div ref="gridParent" >
|
||||||
<component
|
<component
|
||||||
:ref="gridName"
|
:ref="gridName"
|
||||||
:is="loadGrid ? 'Grid' : null"
|
:is="loadGrid ? 'Grid' : null"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
:btnActionsFnc="btnActions"
|
:btnActionsFnc="btnActions"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div ref="gridParent" style="height: calc(100vh - 520px);">
|
<div ref="gridParent" class="w100" style="height: calc(100vh - 520px);">
|
||||||
<Grid
|
<Grid
|
||||||
:ref="gridName"
|
:ref="gridName"
|
||||||
:is="loadGrid ? 'Grid' : null"
|
:is="loadGrid ? 'Grid' : null"
|
||||||
@ -296,7 +296,7 @@ export default {
|
|||||||
{
|
{
|
||||||
header: '추가 정보 값',
|
header: '추가 정보 값',
|
||||||
name: 'addInfoVal',
|
name: 'addInfoVal',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
renderer: {
|
renderer: {
|
||||||
type: CustomRenderer,
|
type: CustomRenderer,
|
||||||
},
|
},
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
:btnActionsFnc="btnActions"
|
:btnActionsFnc="btnActions"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div ref="gridParent" style="height: calc(100vh - 800px);">
|
<div ref="gridParent" style="height: calc(100vh - 700px);">
|
||||||
<Grid
|
<Grid
|
||||||
:ref="gridName"
|
:ref="gridName"
|
||||||
:is="loadGrid ? 'Grid' : null"
|
:is="loadGrid ? 'Grid' : null"
|
||||||
@ -18,7 +18,7 @@
|
|||||||
:innerTabGridInfo="innerTabGridInfo"
|
:innerTabGridInfo="innerTabGridInfo"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="min-height: calc(100vh - 900px);" class="mt-4">
|
<div style="height: 60vh;" class="mt-5">
|
||||||
<component
|
<component
|
||||||
:is="'Form'"
|
:is="'Form'"
|
||||||
:parentPrgmId="parentPrgmId"
|
:parentPrgmId="parentPrgmId"
|
||||||
@ -114,7 +114,7 @@ export default {
|
|||||||
this.detailList[2].class = 'py-3 d-none';
|
this.detailList[2].class = 'py-3 d-none';
|
||||||
this.detailList[3].class = 'py-3 pl-4 pt-1 d-none';
|
this.detailList[3].class = 'py-3 pl-4 pt-1 d-none';
|
||||||
|
|
||||||
this.detailList[4].class = 'py-3';
|
this.detailList[4].class = 'py-3 pl-4';
|
||||||
this.detailList[5].class = 'py-3 pl-4';
|
this.detailList[5].class = 'py-3 pl-4';
|
||||||
this.detailList[6].class = 'py-3 pl-4 pt-0';
|
this.detailList[6].class = 'py-3 pl-4 pt-0';
|
||||||
} else {
|
} else {
|
||||||
@ -230,7 +230,7 @@ export default {
|
|||||||
{
|
{
|
||||||
header: '대상 유형',
|
header: '대상 유형',
|
||||||
name: 'objKind',
|
name: 'objKind',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
var retVal = '';
|
var retVal = '';
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ export default {
|
|||||||
{
|
{
|
||||||
header: '계산여부',
|
header: '계산여부',
|
||||||
name: 'calcFg',
|
name: 'calcFg',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
value = value === true ? '1' : '0';
|
value = value === true ? '1' : '0';
|
||||||
const newValue = _this.pageData.useFgList.filter(
|
const newValue = _this.pageData.useFgList.filter(
|
||||||
@ -612,3 +612,10 @@ const myEqpmIaoDetail = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped >
|
||||||
|
::v-deep {
|
||||||
|
.tui-grid-layer-state {
|
||||||
|
top: 40px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="d-flex justify-space-between align-center"
|
class="d-flex justify-space-between"
|
||||||
style="height: 80px;"
|
style="height: 45px;"
|
||||||
>
|
>
|
||||||
<span class="txt custom-subtitle-tab">검침 대상 추가 정보</span>
|
<span class="txt custom-subtitle-tab">검침 대상 추가 정보</span>
|
||||||
<Buttons
|
<Buttons
|
||||||
@ -143,7 +143,6 @@ export default {
|
|||||||
class CustomRenderer {
|
class CustomRenderer {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
//const { min, max } = props.columnInfo.renderer.options;
|
//const { min, max } = props.columnInfo.renderer.options;
|
||||||
//console.log('props: %o', props);
|
|
||||||
|
|
||||||
const el = document.createElement('input');
|
const el = document.createElement('input');
|
||||||
if (
|
if (
|
||||||
@ -215,15 +214,12 @@ export default {
|
|||||||
}
|
}
|
||||||
$(el).addClass('tui-grid-content-text');
|
$(el).addClass('tui-grid-content-text');
|
||||||
}
|
}
|
||||||
// console.log('props: %o', props);
|
|
||||||
// console.log('el: %o', el);
|
|
||||||
this.el = el;
|
this.el = el;
|
||||||
|
|
||||||
this.render(props);
|
this.render(props);
|
||||||
}
|
}
|
||||||
|
|
||||||
change(ev) {
|
change(ev) {
|
||||||
//console.log('props: %o', ev);
|
|
||||||
if (ev.target.checked) {
|
if (ev.target.checked) {
|
||||||
ev.target.value = 1;
|
ev.target.value = 1;
|
||||||
} else {
|
} else {
|
||||||
@ -245,7 +241,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.el.value = String(props.value);
|
this.el.value = String(props.value);
|
||||||
}
|
}
|
||||||
//console.log('props: %o', props);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -275,7 +270,7 @@ export default {
|
|||||||
{
|
{
|
||||||
header: 'Data 구분',
|
header: 'Data 구분',
|
||||||
name: 'addInfoDataKind',
|
name: 'addInfoDataKind',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
let retVal = '';
|
let retVal = '';
|
||||||
const newValue = addInfoDataKindList.filter(
|
const newValue = addInfoDataKindList.filter(
|
||||||
@ -323,8 +318,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//{ header: "추가 정보 값", name: "addInfoVal", align: "center" , editor: "text",
|
//{ header: "추가 정보 값", name: "addInfoVal", align: "center" , editor: "text",
|
||||||
// formatter({ value, row , column}) {
|
// formatter({ value, row , column}) {
|
||||||
// console.log("addInfoVal row : ", row);
|
|
||||||
// console.log("addInfoVal state : ", column);
|
|
||||||
// if(row.addInfoDataKind === "NUM"){
|
// if(row.addInfoDataKind === "NUM"){
|
||||||
// column.align = "right";
|
// column.align = "right";
|
||||||
// }else{
|
// }else{
|
||||||
|
@ -332,7 +332,7 @@ const myReadPlcTagDetail = [
|
|||||||
valueNm2: 'tagNm',
|
valueNm2: 'tagNm',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'pr-4 pb-2 py-3',
|
class: 'pr-4 pb-2 py-2',
|
||||||
required: true,
|
required: true,
|
||||||
labelCols: 12,
|
labelCols: 12,
|
||||||
textCols: 12,
|
textCols: 12,
|
||||||
@ -345,7 +345,7 @@ const myReadPlcTagDetail = [
|
|||||||
valueNm: 'ercId',
|
valueNm: 'ercId',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'pl-4 py-3',
|
class: 'pl-4 pb-2 py-3',
|
||||||
list: 'ercNmList',
|
list: 'ercNmList',
|
||||||
itemText: 'text',
|
itemText: 'text',
|
||||||
itemValue: 'value',
|
itemValue: 'value',
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<ActionButtons :parentPrgmId="myPrgmId" :leftGridName="gridName2" :rightGridName="gridName3"
|
<ActionButtons :parentPrgmId="myPrgmId" :leftGridName="gridName2" :rightGridName="gridName3"
|
||||||
:btnActionsFnc="dualGridBtnActions" />
|
:btnActionsFnc="dualGridBtnActions" />
|
||||||
</v-col> -->
|
</v-col> -->
|
||||||
<div class="px-2">
|
<div class="pr-2">
|
||||||
<ActionButtons :parentPrgmId="myPrgmId" :leftGridName="gridName2" :rightGridName="gridName3"
|
<ActionButtons :parentPrgmId="myPrgmId" :leftGridName="gridName2" :rightGridName="gridName3"
|
||||||
:btnActionsFnc="dualGridBtnActions" />
|
:btnActionsFnc="dualGridBtnActions" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
:parentPrgmId="myPrgmId"
|
:parentPrgmId="myPrgmId"
|
||||||
:sendParam="{ comId }"
|
:sendParam="{ comId }"
|
||||||
customClass="select-large"
|
customClass="select-large"
|
||||||
labelCols="12"
|
:labelCols="12"
|
||||||
textCols="12"
|
:textCols="12"
|
||||||
/>
|
/>
|
||||||
<!-- <component
|
<!-- <component
|
||||||
:is="'selectCodeList'"
|
:is="'selectCodeList'"
|
||||||
|
@ -15,25 +15,15 @@
|
|||||||
:customClass="'input-large'" />
|
:customClass="'input-large'" />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<component
|
<component :is="'selectCodeList'" :parentPrgmId="myPrgmId" :label="'배치 실행 구분'"
|
||||||
:is="'selectCodeList'"
|
|
||||||
:parentPrgmId="myPrgmId"
|
|
||||||
:label="'배치 실행 구분'"
|
|
||||||
:dataKey="'searchBatchExecTp'"
|
:dataKey="'searchBatchExecTp'"
|
||||||
:sendParam="{ commGrpCd: 'CO_BATCH_EXEC_TP', useFg: '1' }"
|
:sendParam="{ commGrpCd: 'CO_BATCH_EXEC_TP', useFg: '1' }" :addAll="true"
|
||||||
:addAll="true"
|
:customClass="'select-large'" />
|
||||||
:customClass="'select-large'"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="2.5" class="pr-4">
|
<v-col :cols="2.5" class="pr-4">
|
||||||
<component
|
<component :is="'selectCodeList'" :parentPrgmId="myPrgmId" :label="'사용여부'"
|
||||||
:is="'selectCodeList'"
|
:dataKey="'searchUseFg'" :sendParam="{ commGrpCd: 'CO_USEFG', useFg: '1' }"
|
||||||
:parentPrgmId="myPrgmId"
|
:customClass="'select-large'" />
|
||||||
:label="'사용여부'"
|
|
||||||
:dataKey="'searchUseFg'"
|
|
||||||
:sendParam="{ commGrpCd: 'CO_USEFG', useFg: '1' }"
|
|
||||||
:customClass="'select-large'"
|
|
||||||
/>
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<BtnSearch size="large" class="mr-2" />
|
<BtnSearch size="large" class="mr-2" />
|
||||||
|
|
||||||
@ -42,9 +32,9 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
<v-row ref="contents" class="mt-4">
|
<v-row ref="contents" class="mt-4 h100">
|
||||||
<!-- 배치 리스트 -->
|
<!-- 배치 리스트 -->
|
||||||
<v-col :cols="6" class="h100 pr-2">
|
<v-col :cols="6" class="pr-2">
|
||||||
<v-card class="pb-5">
|
<v-card class="pb-5">
|
||||||
<div class="d-flex align-center justify-space-between pa-4">
|
<div class="d-flex align-center justify-space-between pa-4">
|
||||||
<!-- <v-card-title>
|
<!-- <v-card-title>
|
||||||
@ -56,7 +46,7 @@
|
|||||||
:btnActionsFnc="btnActions" />
|
:btnActionsFnc="btnActions" />
|
||||||
</div>
|
</div>
|
||||||
<div class="px-4">
|
<div class="px-4">
|
||||||
<div ref="gridParent" class="h100 w100">
|
<div ref="gridParent" class="h100 w100" style="height:calc(100% - 70px)">
|
||||||
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :parentPrgmId="myPrgmId"
|
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :parentPrgmId="myPrgmId"
|
||||||
:gridName="gridName" @getRowsData="getRowData" />
|
:gridName="gridName" @getRowsData="getRowData" />
|
||||||
</div>
|
</div>
|
||||||
@ -65,7 +55,7 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- 배치 상세 -->
|
<!-- 배치 상세 -->
|
||||||
<v-col :cols="6" class="h100 pl-3">
|
<v-col :cols="6" class="pl-3">
|
||||||
<v-card class="pd-y-20 h100">
|
<v-card class="pd-y-20 h100">
|
||||||
<v-card-title class="d-flex justify-space-between align-end pa-4">
|
<v-card-title class="d-flex justify-space-between align-end pa-4">
|
||||||
<span class="tit ft-size_20 ft-weight_600">배치 상세</span>
|
<span class="tit ft-size_20 ft-weight_600">배치 상세</span>
|
||||||
@ -82,14 +72,17 @@
|
|||||||
<v-card style="height: 100%">
|
<v-card style="height: 100%">
|
||||||
<v-card-title class="v-card__title d-flex align-center justify-space-between">
|
<v-card-title class="v-card__title d-flex align-center justify-space-between">
|
||||||
<span class="custom-title-4">DB 프로시져 파라메터 설정</span>
|
<span class="custom-title-4">DB 프로시져 파라메터 설정</span>
|
||||||
<div>
|
<a-button icon="close" type="text" @click="dialog = false"></a-button>
|
||||||
<Buttons :parentPrgmId="myPrgmId" :bindingData="gridNameParam"
|
|
||||||
:btnActionsFnc="btnActionsParam" />
|
|
||||||
</div>
|
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<div class="pa-5">
|
<div class="pa-5">
|
||||||
<v-row align="center" no-gutters>
|
<v-row align="end" no-gutters>
|
||||||
<v-col cols="12" class="text-right"> </v-col>
|
<v-col cols="12" class="d-flex justify-end">
|
||||||
|
|
||||||
|
<Buttons :parentPrgmId="myPrgmId" :bindingData="gridNameParam"
|
||||||
|
:btnActionsFnc="btnActionsParam" />
|
||||||
|
|
||||||
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</div>
|
</div>
|
||||||
<v-card-text style="height: 300px;">
|
<v-card-text style="height: 300px;">
|
||||||
@ -101,10 +94,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions class="px-6 py-4 d-flex align-center justify-end">
|
||||||
<v-spacer></v-spacer>
|
<a-button :ripple="false" @click="dialog = false" class="mr-2">닫기</a-button>
|
||||||
<v-btn color="primary" dark @click="setParamChangeData()">확인</v-btn>
|
<a-button :ripple="false" type="primary" @click="setParamChangeData()">확인</a-button>
|
||||||
<v-btn color="primary" dark @click="dialog = false">닫기</v-btn>
|
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
@ -261,7 +253,7 @@ export default {
|
|||||||
|
|
||||||
const _this = this;
|
const _this = this;
|
||||||
const myColumns = [
|
const myColumns = [
|
||||||
{ header: '배치ID', name: 'batchId', align: 'center', width: 100 },
|
{ header: '배치ID', name: 'batchId', align: 'right', width: 100 },
|
||||||
{ header: '배치명', name: 'batchNm', minWidth: 200 },
|
{ header: '배치명', name: 'batchNm', minWidth: 200 },
|
||||||
{
|
{
|
||||||
header: '배치 실행 구분',
|
header: '배치 실행 구분',
|
||||||
@ -283,7 +275,6 @@ export default {
|
|||||||
{
|
{
|
||||||
header: '사용여부',
|
header: '사용여부',
|
||||||
name: 'useFg',
|
name: 'useFg',
|
||||||
align: 'center',
|
|
||||||
width: 145,
|
width: 145,
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
let retVal = '';
|
let retVal = '';
|
||||||
@ -567,6 +558,10 @@ export default {
|
|||||||
selectionUnit: 'row',
|
selectionUnit: 'row',
|
||||||
editingEvent: 'click',
|
editingEvent: 'click',
|
||||||
scrollX: false,
|
scrollX: false,
|
||||||
|
header: {
|
||||||
|
height: 37,
|
||||||
|
},
|
||||||
|
rowHeight: 37,
|
||||||
};
|
};
|
||||||
this.setGridOption({
|
this.setGridOption({
|
||||||
gridKey: this.gridNameParam,
|
gridKey: this.gridNameParam,
|
||||||
@ -592,7 +587,6 @@ export default {
|
|||||||
{
|
{
|
||||||
header: 'MODE',
|
header: 'MODE',
|
||||||
name: 'mode',
|
name: 'mode',
|
||||||
align: 'center',
|
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
return value == ('OUT' || 'out') ? 'OUT' : 'IN';
|
return value == ('OUT' || 'out') ? 'OUT' : 'IN';
|
||||||
},
|
},
|
||||||
@ -642,7 +636,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getRowParamData() {
|
getRowParamData() {
|
||||||
this.paramLoadGrid = false;
|
this.paramLoadGrid = false;
|
||||||
// let res = [];
|
let res = [];
|
||||||
|
|
||||||
// /* this.pageData.paramStrData 처리 */
|
// /* this.pageData.paramStrData 처리 */
|
||||||
// // console.log("this.pageData.paramStrData : ", JSON.parse(this.pageData.paramStrData));
|
// // console.log("this.pageData.paramStrData : ", JSON.parse(this.pageData.paramStrData));
|
||||||
@ -717,7 +711,6 @@ export default {
|
|||||||
},
|
},
|
||||||
inputClick(event, item, valueNm) {
|
inputClick(event, item, valueNm) {
|
||||||
if (valueNm == 'refVal1') {
|
if (valueNm == 'refVal1') {
|
||||||
this.dialog = true;
|
|
||||||
const rowIdxKey = this.$refs[this.gridName].gridInstance.invoke(
|
const rowIdxKey = this.$refs[this.gridName].gridInstance.invoke(
|
||||||
'getFocusedCell',
|
'getFocusedCell',
|
||||||
).rowKey;
|
).rowKey;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<v-row ref="searchFilter">
|
<v-row ref="searchFilter">
|
||||||
<v-col :cols="12">
|
<v-col :cols="12">
|
||||||
<v-card class="searchFilter">
|
<v-card class="searchFilter">
|
||||||
<v-row align="center" no-gutters>
|
<v-row align="end" no-gutters>
|
||||||
<v-col :cols="2.5">
|
<v-col :cols="2.5">
|
||||||
<component
|
<component
|
||||||
:is="'selectCodeList'"
|
:is="'selectCodeList'"
|
||||||
@ -49,8 +49,8 @@
|
|||||||
:parentPrgmId="myPrgmId"
|
:parentPrgmId="myPrgmId"
|
||||||
label="공정명"
|
label="공정명"
|
||||||
valueNm="eccNm"
|
valueNm="eccNm"
|
||||||
:labelCols="2"
|
:labelCols="12"
|
||||||
:textCols="9"
|
:textCols="12"
|
||||||
:searchOption="true"
|
:searchOption="true"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
@ -59,7 +59,13 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row align="center" no-gutters>
|
<v-row align="center" no-gutters>
|
||||||
|
<div style="display: none">
|
||||||
|
<component
|
||||||
|
:is="'SelectBlocMstr'"
|
||||||
|
ref="SelectBlocMstr"
|
||||||
|
:parentPrgmId="myPrgmId"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
@ -91,7 +97,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="7" class="h100">
|
<v-col :cols="7" style="min-height:75vh;">
|
||||||
<v-card class="pb-5">
|
<v-card class="pb-5">
|
||||||
<v-card-title class="custom-title-4" style="min-height:76px;"
|
<v-card-title class="custom-title-4" style="min-height:76px;"
|
||||||
>공정 상세
|
>공정 상세
|
||||||
|
@ -382,7 +382,7 @@ export default {
|
|||||||
header: '사용 여부',
|
header: '사용 여부',
|
||||||
name: 'useFg',
|
name: 'useFg',
|
||||||
width: 100,
|
width: 100,
|
||||||
align: 'center',
|
align: 'left',
|
||||||
formatter({ value }) {
|
formatter({ value }) {
|
||||||
const newValue = _this.pageData.useFgList.filter(
|
const newValue = _this.pageData.useFgList.filter(
|
||||||
item => item.commCd == value,
|
item => item.commCd == value,
|
||||||
|
@ -67,14 +67,8 @@
|
|||||||
</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
|
<component :ref="gridName" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
|
||||||
:ref="gridName"
|
:parentPrgmId="myPrgmId" :columnClickEventFlag="true" @columnClick="columnClick" />
|
||||||
:is="loadGrid ? 'Grid' : null"
|
|
||||||
:gridName="gridName"
|
|
||||||
:parentPrgmId="myPrgmId"
|
|
||||||
:columnClickEventFlag="true"
|
|
||||||
@columnClick="columnClick"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
@ -552,7 +546,12 @@ export default {
|
|||||||
columnOptions: {
|
columnOptions: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
},
|
},
|
||||||
rowHeaders: ['rowNum'],
|
rowHeaders: [
|
||||||
|
{
|
||||||
|
type: 'rowNum',
|
||||||
|
align: 'right',
|
||||||
|
},
|
||||||
|
],
|
||||||
header: {
|
header: {
|
||||||
height: 37,
|
height: 37,
|
||||||
},
|
},
|
||||||
@ -642,7 +641,7 @@ export default {
|
|||||||
{
|
{
|
||||||
header: '평가',
|
header: '평가',
|
||||||
name: 'okFg',
|
name: 'okFg',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
width: 80,
|
width: 80,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -286,7 +286,7 @@ export default {
|
|||||||
resizable: true,
|
resizable: true,
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
height: 65,
|
height: 75,
|
||||||
complexColumns: myComplexColumns,
|
complexColumns: myComplexColumns,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user