Compare commits

..

52 Commits

Author SHA1 Message Date
dev
b81ef3c125 Merge pull request 'change style editor link button match desgin' (#110) from dev-manhph1-figbug into dev
Reviewed-on: #110
2025-09-05 19:01:13 +09:00
fd2a4d0a59 change style editor link button match desgin 2025-09-05 19:00:30 +09:00
dev
70e92dc130 Merge pull request 'Update datepicker select' (#109) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #109
2025-09-05 18:51:15 +09:00
66f73f40f4 Update datepicker select 2025-09-05 18:50:41 +09:00
dev
dd28f5c620 Merge pull request 'change style editor link button match desgin' (#108) from dev-manhph1-figbug into dev
Reviewed-on: #108
2025-09-05 18:43:26 +09:00
f4964feaa5 change style editor link button match desgin 2025-09-05 17:42:30 +09:00
dev
e34ac7de95 Merge pull request 'change style editor link button match desgin' (#107) from dev-manhph1-figbug into dev
Reviewed-on: #107
2025-09-05 17:18:00 +09:00
7fdf63a6cc change style editor link button match desgin 2025-09-05 17:17:17 +09:00
dev
44bb88dda9 Merge pull request 'change style editor link button match desgin' (#106) from dev-manhph1-figbug into dev
Reviewed-on: #106
2025-09-05 15:24:55 +09:00
63ff503f9c change style editor link button match desgin 2025-09-05 15:23:52 +09:00
dev
8ff6812a05 Merge pull request 'change style editor link button match desgin' (#105) from dev-manhph1-figbug into dev
Reviewed-on: #105
2025-09-04 13:46:33 +09:00
4f6c86a626 change style editor link button match desgin 2025-09-04 13:44:36 +09:00
dev
3f844a81b4 Merge pull request 'fix bug button color dark mode editor' (#104) from dev-manhph1-figbug into dev
Reviewed-on: #104
2025-09-04 11:28:59 +09:00
e3b5716aaf fix bug button color dark mode editor 2025-09-04 11:25:43 +09:00
dev
efea4d9d49 Merge pull request 'Limit tab to 7 tabs' (#103) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #103
2025-09-04 11:22:01 +09:00
4cc5ad8e05 Limit tab to 7 tabs 2025-09-03 18:43:52 +09:00
dev
1c9546a99a Merge pull request 'add rowSeq for screen 7' (#102) from dev-manhph1-figbug into dev
Reviewed-on: #102
2025-08-28 14:25:24 +09:00
4bcf6d6a4c add rowSeq for screen 7 2025-08-28 11:31:41 +09:00
dev
d5c5d48485 Merge pull request 'update' (#101) from dev-luannv24-fix into dev
Reviewed-on: #101
2025-08-28 11:17:25 +09:00
25d30d7926 update 2025-08-28 11:14:38 +09:00
dev
094d8a03f3 Merge pull request 'Update 2708' (#100) from dev-trungvq7-0729 into dev
Reviewed-on: #100
2025-08-27 17:58:46 +09:00
dev
df64326d0d Merge pull request 'update code' (#99) from dev-luannv24-fixbug into dev
Reviewed-on: #99
2025-08-27 17:55:16 +09:00
dev
6dcaf56eee Update 2708 2025-08-27 17:53:09 +09:00
38bbd95ad4 update code 2025-08-27 16:51:07 +09:00
931e2e237e update code 2025-08-27 16:08:45 +09:00
dev
42a2555671 Merge pull request 'updatecode' (#98) from dev-luannv24-fixbug into dev
Reviewed-on: #98
2025-08-27 15:22:49 +09:00
abc6709a31 updatecode 2025-08-27 12:16:53 +09:00
dev
2ef474fda4 Merge pull request 'Apply same style for button favorite' (#97) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #97
2025-08-27 10:39:27 +09:00
9eaad1a2e4 Apply same style for button favorite 2025-08-27 10:38:41 +09:00
dev
7ece26bdfb Merge pull request 'update code' (#96) from dev-luannv24-fixbug into dev
Reviewed-on: #96
2025-08-27 10:33:34 +09:00
3702c59f20 reconfict 2025-08-26 18:23:59 +09:00
b2a0f1cde2 update code 2025-08-26 17:28:37 +09:00
dev
d4c39c577f Merge pull request 'Update default item per page by 10' (#95) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #95
2025-08-26 16:00:38 +09:00
ac5bb1eb6e Update default item per page by 10 2025-08-26 15:59:28 +09:00
dev
70aa21c78d Merge pull request 'fix bug ui scrren 12 28' (#94) from dev-manhph1-figbug into dev
Reviewed-on: #94
2025-08-25 18:40:11 +09:00
39502ae8fb fix bug ui scrren 12 28 2025-08-25 13:23:49 +09:00
dev
bcea171273 Merge pull request 'Update default pagination' (#93) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #93
2025-08-25 12:42:33 +09:00
08d2918a6d Update color of pagination ellipsis 2025-08-25 12:22:31 +09:00
2dde396442 Update default pagination 2025-08-25 11:59:01 +09:00
dev
4a20707c62 Merge pull request 'Update 0729' (#92) from dev-trungvq7-0729 into dev
Reviewed-on: #92
2025-08-21 18:24:20 +09:00
dev
f35924aac8 Update 0729 2025-08-21 18:18:44 +09:00
dev
8d613e14d3 Merge pull request 'fix bug screen 8' (#91) from dev-dungtv-0821 into dev
Reviewed-on: #91
2025-08-21 17:49:11 +09:00
dev
50fee505fe Merge pull request 'add effect loading when change theme mode' (#90) from dev-dungtv-0821 into dev
Reviewed-on: #90
2025-08-21 16:38:13 +09:00
dev
9459291a8e Merge pull request 'Add not hide grid when paging' (#89) from dev-nghiantt-fix-bugs into dev
Reviewed-on: #89
2025-08-21 16:37:14 +09:00
dev
f633eb413a Merge pull request 'fix bug' (#88) from dev-manhph1-figbug into dev
Reviewed-on: #88
2025-08-21 16:36:03 +09:00
ee1bd87817 Add not hide grid when paging 2025-08-21 15:49:38 +09:00
8bfcebdd10 fix bug 2025-08-21 15:48:01 +09:00
dev
af3a7c78f2 Merge pull request 'fix bugs grid on popup' (#86) from dev-dungtv-0821 into dev
Reviewed-on: #86
2025-08-21 12:47:10 +09:00
dev
60b7cfa7e9 Merge pull request 'update code' (#87) from dev-luannv24-fixbugs17 into dev
Reviewed-on: #87
2025-08-21 12:46:45 +09:00
4074f0cfca update code 2025-08-21 12:44:21 +09:00
dev
b20bf33b28 Merge pull request 'update code' (#85) from dev-luannv24-fixheader into dev
Reviewed-on: #85
2025-08-21 12:24:35 +09:00
3b16421518 update code 2025-08-21 11:32:37 +09:00
34 changed files with 262 additions and 157 deletions

View File

@ -83,7 +83,7 @@
.toastui-editor-dark .toastui-editor-popup,
.toastui-editor-dark .toastui-editor-context-menu {
background-color: #121212;
background-color: #212224;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
border-color: #494c56;
}
@ -92,8 +92,25 @@
background-color: #36383f;
}
.toastui-editor-dark .toastui-editor-popup-add-heading h1,
.toastui-editor-dark .toastui-editor-popup-add-heading h2,
.toastui-editor-dark .toastui-editor-popup-add-heading h3,
.toastui-editor-dark .toastui-editor-popup-add-heading h4,
.toastui-editor-dark .toastui-editor-popup-add-heading h5,
.toastui-editor-dark .toastui-editor-popup-add-heading h6 {
color: #eee;
}
.toastui-editor-popup-body label,
.toastui-editor-popup-body button,
.toastui-editor-popup-body .tab-item,
.toastui-editor-popup-body span,
.toastui-editor-popup-body input {
font-family: var(--desktop-normal-font-family, "Inter-Regular", sans-serif) !important;
}
.toastui-editor-dark .toastui-editor-popup-body label {
color: #9a9da3;
color: rgba(255, 255, 255, 0.85098);
}
.toastui-editor-dark .toastui-editor-popup-body input[type='text'] {
@ -107,7 +124,7 @@
}
.toastui-editor-dark .toastui-editor-popup-body input[type='text'].disabled {
color: #969aa5;
color: rgba(255, 255, 255, 0.85098);
border-color: #303238;
background-color: rgba(48, 50, 56, 0.4);
}
@ -126,6 +143,10 @@
border-bottom-color: #67ccff;
}
.toastui-editor-dark .toastui-editor-popup-add-image .toastui-editor-file-name.has-file {
color:#eee;
}
.toastui-editor-dark .toastui-editor-popup-body .toastui-editor-file-name {
border-color: #303238;
color: #eee;
@ -141,24 +162,54 @@
border-color: #494c56;
}
.toastui-editor-dark.toastui-editor-defaultUI .toastui-editor-close-button {
color: #eee;
border-color: #303238;
background-color: #232428;
.toastui-editor-defaultUI .toastui-editor-button-container button{
border-radius: 6px;
height: 32px;
font-family: var(--desktop-normal-font-family, "Inter-Regular", sans-serif);
font-size: var(--desktop-normal-font-size, 14px);
font-weight: 400;
}
.toastui-editor-dark.toastui-editor-defaultUI .toastui-editor-close-button:hover {
border-color: #494c56;
.toastui-editor-light .toastui-editor-defaultUI .toastui-editor-close-button{
background: #FFFFFF;
color: rgba(0, 0, 0, 0.87843);
border: 1px solid #D9D9D9;
}
.toastui-editor-dark.toastui-editor-defaultUI .toastui-editor-ok-button {
color: #121212;
background-color: #67ccff;
.toastui-editor-light .toastui-editor-defaultUI .toastui-editor-close-button:hover {
border-color: #D9D9D9;
}
.toastui-editor-dark.toastui-editor-defaultUI .toastui-editor-ok-button:hover {
color: #121212;
background-color: #32baff;
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-close-button {
background: #212224;
color: rgba(255, 255, 255, 0.85098);
border: 1px solid #424242;
}
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-close-button:hover {
border-color: #424242;
}
.toastui-editor-light .toastui-editor-defaultUI .toastui-editor-ok-button{
background: #1677FF;
border-color: #1677FF;
color: #FFF;
}
.toastui-editor-light .toastui-editor-defaultUI .toastui-editor-ok-button:hover{
color: #FFF;
background-color: #1677FF;
}
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-ok-button {
background: #1668DC;
border-color: #1668DC;
color: #212224;
}
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-ok-button:hover {
color: #212224;
background-color: #1668DC;
}
.toastui-editor-dark .toastui-editor-popup-add-table .toastui-editor-table-cell {

View File

@ -1,5 +1,5 @@
.v-select__custom {
padding: 0.125rem;
// padding: 0.125rem;
&.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)>.v-input__control>.v-input__slot {
box-shadow: none;

View File

@ -22,6 +22,10 @@
background-color: transparent !important;
}
.ant-pagination-item-ellipsis {
color: map-deep-get($config, #{$theme}, "paging-text") !important;
}
.ant-pagination-item,
.ant-pagination-prev,
.ant-pagination-next {

View File

@ -70,6 +70,15 @@
.v-icon {
color: map-deep-get($config, #{$theme}, "v-icon-chevron-down") !important;
}
.v-select .v-input__slot {
border-radius: 8px !important;
border: solid 1px map-deep-get($config, #{$theme}, "tui-datepicker-border-color") !important;
}
.v-select fieldset {
border: none;
}
}
.v-input__custom {

View File

@ -69,7 +69,7 @@ export default {
},
limit: {
type: Number,
default: 0,
default: 10,
},
itemsPerPageArray: {
type: Array,

View File

@ -43,16 +43,16 @@
<!-- </div>-->
<!-- </v-list-item>-->
<v-list-item>
<v-btn @click="pswdChange" small elevation="0">
<v-list-item-title @click="pswdChange" class="body-2">
<v-icon class="mr-1" size="20">mdi-account-outline</v-icon>
<span class="body-2">비밀번호 변경</span>
</v-btn>
</v-list-item-title>
</v-list-item>
<v-list-item>
<v-btn @click="logout" small elevation="0">
<v-list-item-title @click="logout" class="body-2">
<v-icon class="mr-1" size="20">mdi-logout</v-icon>
<span class="body-2">로그아웃</span>
</v-btn>
</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
@ -105,7 +105,7 @@ export default {
});
},
pswdChange() {
this.$parent.$parent.$parent.$parent.$refs['changePswdPop'].dialog = true;
this.$parent.$parent.$parent.$refs['changePswdPop'].dialog = true;
},
},
mounted() {},

View File

@ -549,5 +549,10 @@ export default {
color: #000 !important;
}
}
.datepicker-timeselect .v-input__slot {
margin: 3px;
}
}
</style>

View File

@ -173,8 +173,9 @@ export default {
this.gridScrollTop = e.target.scrollTop;
this.gridScrollLeft = e.target.scrollLeft;
});
if (!(this.scrollBody.scrollHeight > this.scrollBody.clientHeight)) {
if (this.scrollBody.scrollHeight > this.scrollBody.clientHeight) {
this.gridInstance.$el.getElementsByClassName('tui-grid-content-area')[0].classList.remove('tui-grid-no-scroll-y');
} else {
this.gridInstance.$el.getElementsByClassName('tui-grid-content-area')[0].classList.add('tui-grid-no-scroll-y');
}
}

View File

@ -34,7 +34,7 @@ export default {
},
itemsPerPageArray: {
type: Array,
default: () => [20, 50, 100],
default: () => [10, 20, 50],
},
},
data() {

View File

@ -104,7 +104,6 @@ export default {
},
watch: {
async chkDialog(val) {
//console.log("watch : ", val)
if (val) {
this.openDialog();

View File

@ -23,7 +23,7 @@
<span class="custom-title-4">{{ option.modalTitle }}</span>
<a-button icon="close" type="text" @click="dialogOpenCloseEvent(dialog)"></a-button>
</v-card-title>
<div class="pa-6 pt-0">
<div class="pa-6 pt-0 pb-3">
<v-row align="center">
<v-col :cols="5">
<component :is="'SelectBox'" ref="SelectBox1" :labelCols="12" :textCols="12"
@ -43,7 +43,7 @@
물리량명
</label>
</v-col>
<v-col :cols="9"> <v-text-field append-icon="" class="v-input__custom" outlined
<v-col :cols="10" class="pr-2"> <v-text-field append-icon="" class="v-input__custom" outlined
:hide-details="true" v-model="searchWord" @keyup.enter="search"><template
v-slot:append>
<!-- Custom SVG icon -->
@ -51,8 +51,7 @@
</template></v-text-field></v-col>
<v-spacer></v-spacer>
<v-col cols="3" class="text-right">
<v-col cols="2" class="text-right">
<a-button icon="search" type="primary" @click="search()"
class="search-button">조회</a-button>
@ -63,9 +62,9 @@
</div>
<!-- <div :style="'height: calc(50vh)'"> -->
<div :style="'height: 429px;'">
<div :style="{ height: 'calc(100% - 60px)' }">
<!-- <div :style="{ height: 'calc(100% - 213px)' }"> -->
<div ref="modalGridParent" class="h100 px-6 py-4">
<div ref="modalGridParent" class="px-6 py-4">
<component :is="loadGrid && dialog ? 'Grid' : null" :gridName="gridName"
:dataPath="searchParam.modalDataEqpmBaseInfoPop.eqpmBaseInfoPop"
:parentPrgmId="parentPrgmId" @getRowsData="getRowData" @dblClick="setUpdate($event)" />

View File

@ -53,7 +53,7 @@
</v-col>
</v-row>
<!-- <div :style="'height: calc(65vh)'"> -->
<div :style="'height: 600px'" class="px-5">
<div :style="'height: 620px'" class="px-5">
<!-- <div :style="{ height: 'calc(100% - 213px)' }"> -->
<div ref="modalGridParent" class="h100 py-3">
<!-- :is="loadGrid && dialog ? 'Grid' : null" -->

View File

@ -112,10 +112,10 @@ export default {
bodyHeight: gridHeight,
minBodyHeight: gridHeight,
header: {
height: 28,
height: 37,
},
rowHeight: 29,
minRowHeight: 29,
rowHeight: 37,
minRowHeight: 37,
selectionUnit: 'row',
editingEvent: 'click',
};

View File

@ -107,7 +107,7 @@ export default {
this.detailList[4].class = 'pl-4 mt-2';
this.detailList[3].class = 'd-block';
this.detailList[2].class = 'd-none';
this.detailList[1].class = 'd-block pl-4 mt-1 pb-0';
this.detailList[1].class = 'd-block pl-4 mt-3-new pb-0';
}
},
},
@ -503,5 +503,10 @@ const myDetail = [
.tui-grid-layer-state{
top: 40px !important;
}
.mt-3-new{
margin-top: 3px;
}
}
</style>

View File

@ -102,7 +102,7 @@ export default {
this.gridInit();
},
gridInit() {
const gridHeight = this.$refs.gridParent.offsetHeight - 31;
const gridHeight = this.$refs.gridParent.offsetHeight - 37;
const myOptions = {
columnOptions: {
@ -113,8 +113,8 @@ export default {
header: {
height: 28,
},
rowHeight: 36,
minRowHeight: 36,
rowHeight: 37,
minRowHeight: 37,
selectionUnit: 'row',
editingEvent: 'click',
};
@ -122,7 +122,6 @@ export default {
gridKey: this.gridName,
value: myOptions,
});
const _this = this;
let useFgSelectList = [];
this.pageData.useFgList.forEach(item => {
@ -442,12 +441,8 @@ export default {
</script>
<style lang="scss" scoped >
::v-deep {
.tui-grid-layer-state {
top: 40px !important;
}
.tui-grid-cell-content-editor {
height: 36px !important;
height: 37px !important;
}
}

View File

@ -61,7 +61,9 @@
</v-list-item>
</v-list>
</v-menu>
<a-button id="removeBm" class="btn-header" @click="removeBookMark" v-if="bookmarkBtn == 1">
<a-button id="removeBm" :style="{
display: 'flex',
alignItems: 'center'}" class="btn-header" @click="removeBookMark" v-if="bookmarkBtn == 1">
<span class="material-icons" style="font-size: 17px">star</span>
</a-button>
<a-button id="addBm" class="btn-header" :style="{
@ -175,6 +177,8 @@ import ThemeSwitch from "@/components/common/ThemeSwitch";
import AdminMenu from "@/components/common/AdminMenu";
import FadeLoader from "vue-spinner/src/FadeLoader.vue";
import ChangePswdPop from "~/components/common/modal/ChangePswdPop";
import { notification } from 'ant-design-vue';
export default {
components: {
@ -231,6 +235,7 @@ export default {
drawer: (state) => state.drawer,
userInfo: (state) => state.userInfo,
pageData: "pageData",
openTabList: (state) => state.openTabList
}),
activeTabs() {
if (this.routerTabInstance) {
@ -273,6 +278,11 @@ export default {
var _this = this;
const nv = newVal[0];
const ov = oldVal[0];
// Check open tab at menu
if (this.openTabList.length > 7 && !this.openTabList.some(tab => tab.to === to.fullPath)) {
return;
}
if (nv !== ov) {
if (!nv) {
// 중복클릭 시 발생 상황 기존 값을 다시 넣어줌
@ -393,6 +403,24 @@ export default {
this.$router.beforeEach((to, from, next) => {
_this.isLoading = true;
const tabList = this.openTabList;
const targetPrgmId = to.query.prgmId;
const currentPrgmId = from.query.prgmId;
const isTabAlreadyOpen = tabList.includes(targetPrgmId);
const isSamePage = to.fullPath === from.fullPath || targetPrgmId === currentPrgmId;
if (tabList.length >= 7 && !isTabAlreadyOpen && !isSamePage) {
notification.error({
message: 'Error',
description: '탭을 7개 이상 열 수 없습니다.',
});
next(false);
return;
}
// console.log('$router.beforeEach...');
// console.log('state : ', _this.$store.state)
// console.log('activeActionCnt : ', _this.$store.state.activeActionCnt)

View File

@ -505,3 +505,10 @@ const myDetail = [
},
];
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -1085,4 +1085,11 @@ function sha512(str) {
.update(str)
.digest('hex');
}
</script>
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -117,8 +117,8 @@ export default {
// rowGridOrigin: [],
detailList: myDetail,
itemsPerPage: 20,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};
@ -143,7 +143,7 @@ export default {
chkIsFind(val) {
if (val) {
this.page = 1;
this.search();
this.search(false);
}
},
chkExecRsltCd() {
@ -249,14 +249,16 @@ export default {
this.loadGrid = true;
},
async search() {
await this.getRowGridData();
async search(isPaging) {
await this.getRowGridData(isPaging);
await this.setPageData({
isFind: false,
});
},
async getRowGridData() {
this.loadGrid = false;
async getRowGridData(isPaging) {
if(!isPaging) {
this.loadGrid = false;
}
// this.setGridData({
// gridKey: this.gridName,
// value: [],
@ -369,7 +371,7 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
this.search(true);
},
},
};

View File

@ -295,8 +295,8 @@ export default {
selectedRowKey: null,
selectedRowData: null,
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
writeActionData: {
@ -426,7 +426,7 @@ export default {
}
},
search() {
this.getGridData();
this.getGridData(false);
},
gridInit() {
const gridHeight = this.$refs.contents.offsetHeight - 120;
@ -498,18 +498,18 @@ export default {
});
this.getGridData();
},
async getGridData() {
async getGridData(isPaging) {
var params = {
bordNo: 'BORD0001',
limit: this.limit,
page: this.page,
offset: (this.page - 1) * this.limit, // MariaDB Query에서 직접 계산이 안됨
};
this.loadGrid = false;
if(!isPaging) {
this.loadGrid = false;
}
const res = await this.postApiReturn({
apiKey: 'selectPostPage',
apiKey: 'selectPostData',
resKey: 'postPage',
sendParam: params,
});
@ -1059,7 +1059,8 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
// this.search();
this.getGridData(true);
},
},
};

View File

@ -522,3 +522,10 @@ const myDetail = [
},
];
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -134,8 +134,8 @@ export default {
// rowGridOrigin: [],
detailList: myDetail,
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};

View File

@ -1029,3 +1029,10 @@ const myDetail = [
},
];
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -63,7 +63,7 @@
<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">
<component v-if="item.id == 'readPlcBaseInfoTab'" :is="'Form'" :parentPrgmId="myPrgmId"
:detailList="f" :bindingData="gridName"
:detailList="detailList" :bindingData="gridName"
@gridEditingFinish="gridEditingFinish" />
<ReadPlcAddInfoTab v-if="item.id == 'readPlcAddInfoTab'" :parentPrgmId="myPrgmId"
: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 = [
{
type: 'InputText',

View File

@ -1005,3 +1005,10 @@ const dataPathDataExample = getPathDataExample({
field2: '2222',
});
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -12,7 +12,7 @@
</v-col>
<v-col :cols="3">
<component :is="'EvtObjPop'" :parentPrgmId="myPrgmId" :item="evtObjPopItem"
class="no-gutters" customClass="select-large" />
class="no-gutters" customClass="select-large pa-0" />
</v-col>
<v-col :cols="3">
<!-- 대상일 -->
@ -30,8 +30,8 @@
</v-row>
<v-row ref="contents">
<v-col :cols="12" class="h100">
<v-card class="px-5 py-5">
<div ref="gridParent" class="px-5" style="height:calc(100% - 40px)">
<v-card class="pa-5 pb-0">
<div ref="gridParent" class="px-5" style="height:calc(100% - 70px)">
<component ref="myGrid" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
:parentPrgmId="myPrgmId" />
</div>
@ -117,8 +117,8 @@ export default {
formFg: false,
},
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};
@ -144,17 +144,17 @@ export default {
chkIsFind(val) {
if (val) {
this.page = 1;
this.search();
this.search(false);
}
},
chkTagId(val) {
if (this.initFlag && val != null) {
this.search();
this.search(false);
}
},
chkTagNm() {
if (this.initFlag) {
this.search();
this.search(false);
}
},
chkReadPlcId() {
@ -193,13 +193,13 @@ export default {
postApiReturn: 'modules/list/postApiReturn',
chkOpenTabList: 'chkOpenTabList',
}),
async search() {
async search(isPaging) {
// this.gridInit();
if (this.initFlag) {
if (this.pageData.tagId == '' || this.pageData.tagId == null) {
alert('TAG를 선택해 주세요');
} else {
this.getRowGridData();
this.getRowGridData(isPaging);
}
}
this.setPageData({
@ -289,9 +289,10 @@ export default {
this.loadGrid = true;
},
async getRowGridData() {
this.loadGrid = false;
async getRowGridData(isPaging) {
if(!isPaging) {
this.loadGrid = false;
}
let res = [];
let res2 = [];
let yearQuarterData = [];
@ -476,7 +477,7 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
this.search(true);
},
},
};

View File

@ -167,8 +167,8 @@ export default {
gridName: "rowGrid",
loadGrid: false,
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};
@ -198,7 +198,7 @@ export default {
chkIsFind(val) {
if (val) {
this.page = 1;
this.search();
this.search(false);
}
},
chkBlocId() {
@ -265,12 +265,13 @@ export default {
value: myColumns,
});
},
async search() {
await this.getRowGridData();
async search(isPaging) {
await this.getRowGridData(isPaging);
},
async getRowGridData() {
this.loadGrid = false;
async getRowGridData(isPaging) {
if(!isPaging) {
this.loadGrid = false;
}
if (
this.pageData.blocMstrList.length > 0 &&
this.pageData.commCdList.length > 0 &&
@ -356,7 +357,7 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
this.search(true);
},
},
};
@ -465,3 +466,10 @@ const myColumns = [
},
];
</script>
<style lang="scss" scoped>
::v-deep{
.tui-grid-layer-state{
top: 40px !important;
}
}
</style>

View File

@ -153,8 +153,8 @@ export default {
detailList: myDetail,
alrmFg: null,
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};

View File

@ -783,5 +783,8 @@ const dataPathDataExample = getPathDataExample({
.v-window {
overflow: visible;
}
.ant-checkbox-inner {
padding: 8px;
}
}
</style>

View File

@ -159,8 +159,8 @@ export default {
eqpmGdIdxFlag: false,
fabFlag: false,
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
routeData: {},
totalCount: 0,
@ -211,7 +211,7 @@ export default {
}
},
chkIsFind(val) {
if (val) this.search();
if (val) this.search(false);
},
fabId(val) { },
fabNm(val) { },
@ -371,8 +371,8 @@ export default {
}
await this.gridInit();
},
async search() {
await this.getRowGridData();
async search(isPaging) {
await this.getRowGridData(isPaging);
this.setPageData({
isFind: false,
});
@ -561,12 +561,6 @@ export default {
columnOptions: {
resizable: true,
},
rowHeaders: [
{
type: 'rowNum',
align: 'right',
},
],
header: {
height: 37,
},
@ -623,6 +617,7 @@ export default {
}
}
const myColumns = [
{ header: 'No.', name: 'rowSeq', align: 'right', width: 90 },
{
header: 'FAB',
name: 'fabNm',
@ -725,9 +720,10 @@ export default {
this.getRowGridData();
},
async getRowGridData() {
this.loadGrid = false;
async getRowGridData(isPaging) {
if(!isPaging) {
this.loadGrid = false;
}
var res = await this.postApiReturn({
apiKey: 'selectEnrgEffcEqpmDetlMntr',
resKey: 'eqpmDetlData',
@ -806,7 +802,7 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
this.search(true);
},
},
};

View File

@ -110,8 +110,8 @@ export default {
rowKey: null,
edtingFinishFlag: 'Y',
itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30],
limit: 20,
itemsPerPageArray: [10, 20, 50],
limit: 10,
page: 1,
totalCount: 0,
};

View File

@ -327,6 +327,10 @@ export class NewCustomEditor {
} else {
el.checked = false;
}
divEl.style.position = 'relative';
divEl.style.top = rowKey === 0 ? '1px' : '2px';
el.addEventListener('change', (ev) => {
// console.log('props: %o', ev);
if (ev.target.checked) {
@ -401,4 +405,4 @@ export class NewCustomEditor {
// }
this.el.select();
}
}
}

View File

@ -136,6 +136,10 @@ export const state = () => Object.assign({}, INIT_STATE);
export const mutations = {
// 활성화 페이지 메뉴정보 set
setActiveMenuInfo(state, payload) {
const isTabAlreadyOpen = state.openTabList.includes(payload.prgmId);
if(state.openTabList.length >= 7 && !isTabAlreadyOpen) {
return;
}
// console.log("=======================================================");
// console.log(
// ">>>>>>>>>> ",

View File

@ -514,7 +514,7 @@ const INIT_URL_STATE = {
// prgmId: "PRG0003" 공지사항
selectPostList: 'comm/base/NoticeMngCtr/selectPostList',
selectPostPage: 'comm/base/NoticeMngCtr/selectPostPage',
selectPostData: 'comm/base/NoticeMngCtr/selectPostData',
selectPostPageTotal: 'comm/base/NoticeMngCtr/selectPostPageTotal',
deletePostList: 'comm/base/NoticeMngCtr/deletePost',