Update screen 13, grid color #64

Merged
dev merged 3 commits from dev-trungvq7-0729 into dev 2025-08-13 19:02:08 +09:00
5 changed files with 80 additions and 25 deletions

View File

@ -56,25 +56,35 @@
font-weight: 400; font-weight: 400;
} }
th[data-column-name="_checked"] { th[data-column-name="_checked"] {
padding-left: 0; padding-left: 0;
} }
} }
.tui-grid-table{ .tui-grid-table {
.tui-grid-cell-header, .tui-grid-cell-header,
.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"] { th[data-column-name="_checked"] {
&.tui-grid-cell-header { &.tui-grid-cell-header {
padding-left: 0; padding-left: 0;
} }
}
.tui-grid-cell {
&:last-child {
input[type=checkbox] {
margin-top: 8px;
}
}
} }
} }
@ -99,8 +109,8 @@
@include theme($theme); @include theme($theme);
.v-application.#{$theme}-mode { .v-application.#{$theme}-mode {
.tui-grid-content-area{ .tui-grid-content-area {
.tui-grid-header-area{ .tui-grid-header-area {
height: auto !important; height: auto !important;
} }
} }
@ -115,9 +125,9 @@
"tui-grid-title-color" "tui-grid-title-color"
); );
} }
.grid-toggle-section{ .grid-toggle-section {
.tui-grid-rside-area{ .tui-grid-rside-area {
.tui-grid-body-area { .tui-grid-body-area {
height: auto !important; height: auto !important;
@ -145,16 +155,17 @@
} }
} }
&-border-line-right{ &-border-line-right {
opacity: 0; opacity: 0;
} }
&-body-container{ &-body-container {
border-right: 0; border-right: 0;
// position: relative; // position: relative;
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;
@ -166,12 +177,19 @@
// } // }
} }
} }
.tui-grid-layer-editing {
border-color: map-deep-get($config,
#{$theme},
"tui-grid-border-vertical-color"
);
}
} }
&-summary-area, &-summary-area,
&-container { &-container {
font-family: Inter; font-family: Inter;
.tui-grid-cell { .tui-grid-cell {
&.tui-grid-cell-summary { &.tui-grid-cell-summary {
color: map-deep-get($config, color: map-deep-get($config,
@ -285,7 +303,8 @@
#{$theme}, #{$theme},
"ant-btn-primary-color" "ant-btn-primary-color"
); );
.radio-mark{
.radio-mark {
border-color: map-deep-get($config, border-color: map-deep-get($config,
#{$theme}, #{$theme},
"arow-line-color" "arow-line-color"
@ -294,6 +313,7 @@
#{$theme}, #{$theme},
"arow-line-btn-bg-color" "arow-line-btn-bg-color"
); );
&::after { &::after {
content: ""; content: "";
position: absolute; position: absolute;
@ -311,12 +331,39 @@
} }
} }
} }
.tui-grid-cell-content {
input[type='text'],
input[type='password'] {
border-color: map-deep-get($config,
#{$theme},
"v-input-fieldset-color"
);
background: map-deep-get($config,
#{$theme},
"v-input-backgroundColor"
);
border-radius: 4px;
color: map-deep-get($config,
#{$theme},
"tui-grid-cell-color"
);
}
&.tui-grid-layer-editing {
background:map-deep-get($config,
#{$theme},
"tui-grid-cell-insert-color"
);
}
}
} }
&-cell { &-cell {
&:last-child { &:last-child {
padding-right: 1px; padding-right: 1px;
border-right: 1px solid ; border-right: 1px solid;
border-right-color: map-deep-get($config, border-right-color: map-deep-get($config,
#{$theme}, #{$theme},
"tui-grid-cell-borderColor" "tui-grid-cell-borderColor"
@ -349,7 +396,7 @@
"tui-grid-border-vertical-color" "tui-grid-border-vertical-color"
); );
color: map-deep-get($config, color: map-deep-get($config,
#{$theme}, #{$theme},
"tui-grid-header-color" "tui-grid-header-color"
); );
@ -395,14 +442,14 @@
background-color: map-deep-get($config, background-color: map-deep-get($config,
#{$theme}, #{$theme},
"tui-grid-cell-insert-color" "tui-grid-cell-insert-color"
); ) !important;
} }
&.row-modify { &.row-modify {
background-color: map-deep-get($config, background-color: map-deep-get($config,
#{$theme}, #{$theme},
"tui-grid-cell-modify-color" "tui-grid-cell-modify-color"
); ) !important;
} }
&.row-removed { &.row-removed {
@ -497,6 +544,7 @@
&-tree-button-expand { &-tree-button-expand {
z-index: 9999; z-index: 9999;
.tui-grid-btn-tree { .tui-grid-btn-tree {
i { i {
width: 16px; width: 16px;
@ -516,6 +564,7 @@
&-tree-button-collapse { &-tree-button-collapse {
z-index: 9999; z-index: 9999;
.tui-grid-btn-tree { .tui-grid-btn-tree {
i { i {
width: 16px; width: 16px;

View File

@ -113,7 +113,7 @@ $config: (
tui-grid-cell-color: #FFFFFFD9, tui-grid-cell-color: #FFFFFFD9,
tui-grid-cell-insert-color: #2B2111, tui-grid-cell-insert-color: #2B2111,
tui-grid-cell-selected-color: #0A224F, tui-grid-cell-selected-color: #0A224F,
tui-grid-cell-modify-color: #13636c, tui-grid-cell-modify-color: #2B2111,
tui-grid-cell-removed-color: #2A1215, tui-grid-cell-removed-color: #2A1215,
tui-grid-cell-disabled-color: rgb(170, 170, 170), tui-grid-cell-disabled-color: rgb(170, 170, 170),
tui-grid-cell-hover-backgroundColor: #2d4571, tui-grid-cell-hover-backgroundColor: #2d4571,
@ -263,7 +263,7 @@ $config: (
tui-grid-cell-color: #000000E0, tui-grid-cell-color: #000000E0,
tui-grid-cell-insert-color: #FFFBE6, tui-grid-cell-insert-color: #FFFBE6,
tui-grid-cell-selected-color: #E6F4FF, tui-grid-cell-selected-color: #E6F4FF,
tui-grid-cell-modify-color: #e6f5f7, tui-grid-cell-modify-color: #FFFBE6,
tui-grid-cell-removed-color: #FFF1F0, tui-grid-cell-removed-color: #FFF1F0,
tui-grid-cell-hover-backgroundColor: #f5f5f5, tui-grid-cell-hover-backgroundColor: #f5f5f5,
v-tabs-items-border-color: #0000000F, v-tabs-items-border-color: #0000000F,

View File

@ -301,7 +301,7 @@ 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;
this.gridInstance.invoke('startEditing', e.rowKey, e.columnName); this.gridInstance.invoke('startEditing', e.rowKey, e.columnName, 'row-modify');
this.$emit( this.$emit(
'getRowsData', 'getRowsData',
this.gridInstance.invoke('getRow', e.rowKey), this.gridInstance.invoke('getRow', e.rowKey),

View File

@ -238,7 +238,13 @@ export default {
type: Object, type: Object,
require: false, require: false,
default: () => { default: () => {
return {}; return {
selectTimeValue1: "00 : 00", // selectBoxTime에 필요한 prop
selectTimeValueList1: [], // selectBoxTime에 필요한 prop
selectTimeValue2: "01 : 00", // selectBoxTime에 필요한 prop
selectTimeValueList2: [], // selectBoxTime에 필요한 prop
minInterval: 10,
};
}, },
}, },
}, },
@ -536,8 +542,8 @@ export default {
let returnData = res[0]; let returnData = res[0];
this.strtDt = Utility.setFormatDate(returnData.strtDt, 'YYYY-MM-DD'); this.strtDt = Utility.setFormatDate(returnData.strtDt, 'YYYY-MM-DD');
this.endDt = Utility.setFormatDate(returnData.endDt, 'YYYY-MM-DD'); this.endDt = Utility.setFormatDate(returnData.endDt, 'YYYY-MM-DD');
this.selectTimeValue1 = returnData.strtHh+' : '+ returnData.strtMm; this.selectTimeValue1 = returnData.strtHh + ' : ' + returnData.strtMm;
this.selectTimeValue2 = returnData.endHh+' : '+ returnData.endMm; this.selectTimeValue2 = returnData.endHh + ' : ' + returnData.endMm;
this.planTitle = returnData.planTitle; this.planTitle = returnData.planTitle;
this.planCntn = returnData.planCntn; this.planCntn = returnData.planCntn;
this.planColor = returnData.planColor; this.planColor = returnData.planColor;

View File

@ -20,7 +20,7 @@
item-value="value" item-value="value"
solo solo
outlined outlined
:menu-props="{ auto: true, offsetY: true }" :menu-props="{ top: false, offsetY: true }"
:hide-details="true" :hide-details="true"
:class="['v-select__custom', customClass]" :class="['v-select__custom', customClass]"
:disabled="disabled" :disabled="disabled"