Compare commits
24 Commits
dev-trungv
...
dev-nghian
Author | SHA1 | Date | |
---|---|---|---|
b81ef3c125 | |||
fd2a4d0a59 | |||
70e92dc130 | |||
66f73f40f4 | |||
dd28f5c620 | |||
f4964feaa5 | |||
e34ac7de95 | |||
7fdf63a6cc | |||
44bb88dda9 | |||
63ff503f9c | |||
8ff6812a05 | |||
4f6c86a626 | |||
3f844a81b4 | |||
e3b5716aaf | |||
efea4d9d49 | |||
4cc5ad8e05 | |||
1c9546a99a | |||
4bcf6d6a4c | |||
d5c5d48485 | |||
25d30d7926 | |||
094d8a03f3 | |||
df64326d0d | |||
38bbd95ad4 | |||
931e2e237e |
@ -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;
|
||||
}
|
||||
@ -101,8 +101,16 @@
|
||||
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'] {
|
||||
@ -116,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);
|
||||
}
|
||||
@ -135,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;
|
||||
@ -150,24 +162,54 @@
|
||||
border-color: #494c56;
|
||||
}
|
||||
|
||||
.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-light .toastui-editor-defaultUI .toastui-editor-close-button{
|
||||
background: #FFFFFF;
|
||||
color: rgba(0, 0, 0, 0.87843);
|
||||
border: 1px solid #D9D9D9;
|
||||
}
|
||||
|
||||
.toastui-editor-light .toastui-editor-defaultUI .toastui-editor-close-button:hover {
|
||||
border-color: #D9D9D9;
|
||||
}
|
||||
|
||||
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-close-button {
|
||||
color: #eee;
|
||||
border-color: #303238;
|
||||
background-color: #232428;
|
||||
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: #494c56;
|
||||
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 {
|
||||
color: #121212;
|
||||
background-color: #67ccff;
|
||||
background: #1668DC;
|
||||
border-color: #1668DC;
|
||||
color: #212224;
|
||||
}
|
||||
|
||||
.toastui-editor-dark .toastui-editor-defaultUI .toastui-editor-ok-button:hover {
|
||||
color: #121212;
|
||||
background-color: #32baff;
|
||||
color: #212224;
|
||||
background-color: #1668DC;
|
||||
}
|
||||
|
||||
.toastui-editor-dark .toastui-editor-popup-add-table .toastui-editor-table-cell {
|
||||
|
@ -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 {
|
||||
|
@ -549,5 +549,10 @@ export default {
|
||||
color: #000 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.datepicker-timeselect .v-input__slot {
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
|
@ -102,7 +102,7 @@ export default {
|
||||
this.gridInit();
|
||||
},
|
||||
gridInit() {
|
||||
const gridHeight = this.$refs.gridParent.offsetHeight;
|
||||
const gridHeight = this.$refs.gridParent.offsetHeight - 37;
|
||||
|
||||
const myOptions = {
|
||||
columnOptions: {
|
||||
@ -113,8 +113,8 @@ export default {
|
||||
header: {
|
||||
height: 28,
|
||||
},
|
||||
rowHeight: 38,
|
||||
minRowHeight: 38,
|
||||
rowHeight: 37,
|
||||
minRowHeight: 37,
|
||||
selectionUnit: 'row',
|
||||
editingEvent: 'click',
|
||||
};
|
||||
@ -441,13 +441,8 @@ export default {
|
||||
</script>
|
||||
<style lang="scss" scoped >
|
||||
::v-deep {
|
||||
.tui-grid-layer-state {
|
||||
top: 40px !important;
|
||||
}
|
||||
|
||||
.tui-grid-cell-content-editor {
|
||||
position: relative;
|
||||
height: 38px !important;
|
||||
height: 37px !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -177,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: {
|
||||
@ -233,6 +235,7 @@ export default {
|
||||
drawer: (state) => state.drawer,
|
||||
userInfo: (state) => state.userInfo,
|
||||
pageData: "pageData",
|
||||
openTabList: (state) => state.openTabList
|
||||
}),
|
||||
activeTabs() {
|
||||
if (this.routerTabInstance) {
|
||||
@ -275,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) {
|
||||
// 중복클릭 시 발생 상황 기존 값을 다시 넣어줌
|
||||
@ -395,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)
|
||||
|
@ -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',
|
||||
|
@ -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(
|
||||
// ">>>>>>>>>> ",
|
||||
|
Reference in New Issue
Block a user