Compare commits

...

9 Commits

13 changed files with 34 additions and 66 deletions

View File

@ -92,6 +92,15 @@
background-color: #36383f; 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-dark .toastui-editor-popup-body label { .toastui-editor-dark .toastui-editor-popup-body label {
color: #9a9da3; color: #9a9da3;
} }

View File

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

View File

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

View File

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

View File

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

View File

@ -295,8 +295,8 @@ export default {
selectedRowKey: null, selectedRowKey: null,
selectedRowData: null, selectedRowData: null,
itemsPerPage: 10, itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30], itemsPerPageArray: [10, 20, 50],
limit: 20, limit: 10,
page: 1, page: 1,
totalCount: 0, totalCount: 0,
writeActionData: { writeActionData: {

View File

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

View File

@ -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',

View File

@ -30,8 +30,8 @@
</v-row> </v-row>
<v-row ref="contents"> <v-row ref="contents">
<v-col :cols="12" class="h100"> <v-col :cols="12" class="h100">
<v-card class="px-5 py-5"> <v-card class="pa-5 pb-0">
<div ref="gridParent" class="px-5" style="height:calc(100% - 40px)"> <div ref="gridParent" class="px-5" style="height:calc(100% - 70px)">
<component ref="myGrid" :is="loadGrid ? 'Grid' : null" :gridName="gridName" <component ref="myGrid" :is="loadGrid ? 'Grid' : null" :gridName="gridName"
:parentPrgmId="myPrgmId" /> :parentPrgmId="myPrgmId" />
</div> </div>
@ -117,8 +117,8 @@ export default {
formFg: false, formFg: false,
}, },
itemsPerPage: 10, itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30], itemsPerPageArray: [10, 20, 50],
limit: 20, limit: 10,
page: 1, page: 1,
totalCount: 0, totalCount: 0,
}; };

View File

@ -167,8 +167,8 @@ export default {
gridName: "rowGrid", gridName: "rowGrid",
loadGrid: false, loadGrid: false,
itemsPerPage: 10, itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30], itemsPerPageArray: [10, 20, 50],
limit: 20, limit: 10,
page: 1, page: 1,
totalCount: 0, totalCount: 0,
}; };

View File

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

View File

@ -159,8 +159,8 @@ export default {
eqpmGdIdxFlag: false, eqpmGdIdxFlag: false,
fabFlag: false, fabFlag: false,
itemsPerPage: 10, itemsPerPage: 10,
itemsPerPageArray: [10, 20, 30], itemsPerPageArray: [10, 20, 50],
limit: 20, limit: 10,
page: 1, page: 1,
routeData: {}, routeData: {},
totalCount: 0, totalCount: 0,

View File

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