update32.1vs32.2
This commit is contained in:

parent
edab77d0c6
commit
0ad898769d
@ -433,6 +433,10 @@ a {
|
|||||||
.v-application.#{$theme}-mode {
|
.v-application.#{$theme}-mode {
|
||||||
min-width: 1000px;
|
min-width: 1000px;
|
||||||
|
|
||||||
|
.head-logo{
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.v-navigation-drawer {
|
.v-navigation-drawer {
|
||||||
background: map-deep-get($config, #{$theme}, "menu-bg-color");
|
background: map-deep-get($config, #{$theme}, "menu-bg-color");
|
||||||
}
|
}
|
||||||
|
@ -107,6 +107,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ant-btn {
|
.ant-btn {
|
||||||
|
|
||||||
|
&.ant-btn-outlined {
|
||||||
|
color:map-deep-get($config, #{$theme}, "ant-btn-default-color");
|
||||||
|
border:1px solid map-deep-get($config, #{$theme}, "ant-btn-default-border-outlined");
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
&.ant-btn-primary {
|
&.ant-btn-primary {
|
||||||
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");
|
||||||
|
@ -221,6 +221,16 @@
|
|||||||
|
|
||||||
.v-application.#{$theme}-mode {
|
.v-application.#{$theme}-mode {
|
||||||
|
|
||||||
|
.v-input-popup__custom {
|
||||||
|
.v-input__slot {
|
||||||
|
padding-left: 12px;
|
||||||
|
padding-right: 12px;
|
||||||
|
border: 1px solid map-deep-get($config,
|
||||||
|
#{$theme},
|
||||||
|
"v-input-popup-password-border"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.v-textarea {
|
.v-textarea {
|
||||||
.v-input__slot{
|
.v-input__slot{
|
||||||
|
@ -152,6 +152,7 @@ $config: (
|
|||||||
search-btn-background: #1668DC,
|
search-btn-background: #1668DC,
|
||||||
v-btn-color-default: #FFFFFFD9,
|
v-btn-color-default: #FFFFFFD9,
|
||||||
v-btn-bg-default: #FFFFFF2E,
|
v-btn-bg-default: #FFFFFF2E,
|
||||||
|
v-input-popup-password-border: #424242,
|
||||||
v-input-textarea-border: #424242,
|
v-input-textarea-border: #424242,
|
||||||
v-input-textarea-bg: #212224,
|
v-input-textarea-bg: #212224,
|
||||||
v-input-textarea-color: #FFFFFFD9,
|
v-input-textarea-color: #FFFFFFD9,
|
||||||
@ -166,6 +167,7 @@ $config: (
|
|||||||
ant-btn-default-border:#FFFFFF2E,
|
ant-btn-default-border:#FFFFFF2E,
|
||||||
ant-btn-default-bg:#FFFFFF2E,
|
ant-btn-default-bg:#FFFFFF2E,
|
||||||
ant-btn-default-color:#FFFFFFD9,
|
ant-btn-default-color:#FFFFFFD9,
|
||||||
|
ant-btn-default-border-outlined:#424242,
|
||||||
),
|
),
|
||||||
light: (w-g5: $--color-gray_555,
|
light: (w-g5: $--color-gray_555,
|
||||||
g5-w: $--color-white,
|
g5-w: $--color-white,
|
||||||
@ -282,6 +284,7 @@ $config: (
|
|||||||
search-btn-background: #1677FF,
|
search-btn-background: #1677FF,
|
||||||
v-btn-bg-default: #00000026,
|
v-btn-bg-default: #00000026,
|
||||||
v-btn-color-default: #000000E0,
|
v-btn-color-default: #000000E0,
|
||||||
|
v-input-popup-password-border: #D9D9D9,
|
||||||
v-input-textarea-border: #D9D9D9,
|
v-input-textarea-border: #D9D9D9,
|
||||||
v-input-textarea-bg: #FFFFFF,
|
v-input-textarea-bg: #FFFFFF,
|
||||||
v-input-textarea-color: #000000E0,
|
v-input-textarea-color: #000000E0,
|
||||||
@ -296,5 +299,6 @@ $config: (
|
|||||||
ant-btn-default-border:#00000026,
|
ant-btn-default-border:#00000026,
|
||||||
ant-btn-default-bg:#00000026,
|
ant-btn-default-bg:#00000026,
|
||||||
ant-btn-default-color:#000000E0,
|
ant-btn-default-color:#000000E0,
|
||||||
|
ant-btn-default-border-outlined:#D9D9D9,
|
||||||
),
|
),
|
||||||
);
|
);
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row class="search-box" align="center" no-gutters>
|
<v-row class="search-box" align="center" no-gutters>
|
||||||
<v-col v-if="item.label" :cols="item.cols == 12 ? 2 : 4">
|
<v-col v-if="item.label" :cols="item.labelCols !== undefined ? item.labelCols : item.cols == 12 ? 2 : 4">
|
||||||
<label for="" class="search-box-label">
|
<label for="" class="search-box-label">
|
||||||
<v-icon
|
<v-icon
|
||||||
x-small
|
x-small
|
||||||
@ -28,10 +28,14 @@
|
|||||||
></v-text-field>
|
></v-text-field>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<v-btn :ripple="false" @click="dialog = !dialog">
|
|
||||||
<!-- <v-icon>mdi-content-save</v-icon> -->
|
<!-- <v-icon>mdi-content-save</v-icon> -->
|
||||||
|
<!-- <v-btn :ripple="false" @click="dialog = !dialog">
|
||||||
<span>비밀번호 {{ isPassword }}</span>
|
<span>비밀번호 {{ isPassword }}</span>
|
||||||
</v-btn>
|
</v-btn> -->
|
||||||
|
<a-button :ripple="false" @click="dialog = !dialog" class="ant-btn-outlined">
|
||||||
|
<!-- <v-icon>mdi-content-save</v-icon> -->
|
||||||
|
비밀번호 {{ isPassword }}
|
||||||
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
@ -48,7 +52,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model.trim="firstPswd"
|
v-model.trim="firstPswd"
|
||||||
class="v-input__custom"
|
class="v-input-popup__custom"
|
||||||
type="password"
|
type="password"
|
||||||
:readonly="!isFocused"
|
:readonly="!isFocused"
|
||||||
@focus="isFocused = true"
|
@focus="isFocused = true"
|
||||||
@ -61,7 +65,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model.trim="secondPswd"
|
v-model.trim="secondPswd"
|
||||||
class="v-input__custom"
|
class="v-input-popup__custom"
|
||||||
type="password"
|
type="password"
|
||||||
:readonly="!isFocused"
|
:readonly="!isFocused"
|
||||||
@focus="isFocused = true"
|
@focus="isFocused = true"
|
||||||
@ -72,8 +76,15 @@
|
|||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-btn color="primary" dark @click="setUpdate()">확인</v-btn>
|
<!-- <v-btn color="primary" dark @click="setUpdate()">확인</v-btn> -->
|
||||||
<v-btn color="primary" dark @click="close()">닫기</v-btn>
|
<div>
|
||||||
|
<a-button @click="close()" class="btn-default">삭제</a-button>
|
||||||
|
<a-button type="primary" @click="setUpdate()" class="v-btn-add-text">
|
||||||
|
확인
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
|
<!-- <v-btn color="primary" dark @click="close()">닫기</v-btn> -->
|
||||||
|
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
@ -135,8 +146,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
console.log(value)
|
||||||
},
|
},
|
||||||
set(value) {
|
set(value) {
|
||||||
|
console.log(value)
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<fullscreen :fullscreen.sync="fullscreen">
|
<fullscreen :fullscreen.sync="fullscreen">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<v-row class="mx-0">
|
<v-row class="mx-0">
|
||||||
<div class="head-logo pl-4">
|
<div class="head-logo pl-4 d-flex gap-3">
|
||||||
<router-link class="home" :to="myHome.root">
|
<router-link class="home" :to="myHome.root">
|
||||||
<div class="lnb-logo">
|
<div class="lnb-logo">
|
||||||
<img v-if="isDarkMode" src="@/assets/images/logo_dm.png" />
|
<img v-if="isDarkMode" src="@/assets/images/logo_dm.png" />
|
||||||
@ -13,9 +13,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <div class="lnb-logo">FEMS</div>-->
|
<!-- <div class="lnb-logo">FEMS</div>-->
|
||||||
</router-link>
|
</router-link>
|
||||||
|
<div class="align-center d-flex">
|
||||||
|
<ThemeSwitch style="margin-right: 20px" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<v-col col="1" class="d-flex justify-end py-4 px-6 flex-row" style="gap: 8px;">
|
<v-col col="1" class="d-flex justify-end py-4 px-6 flex-row" style="gap: 8px;">
|
||||||
<ThemeSwitch style="margin-right: 20px" />
|
|
||||||
<v-menu offset-y>
|
<v-menu offset-y>
|
||||||
<template v-slot:activator="{ on, attrs }">
|
<template v-slot:activator="{ on, attrs }">
|
||||||
<a-button :ripple="false" tile class="btn-header" v-bind="attrs" v-on="on">
|
<a-button :ripple="false" tile class="btn-header" v-bind="attrs" v-on="on">
|
||||||
@ -102,7 +104,9 @@
|
|||||||
<img v-else src="@/assets/images/logo_lm.png" />
|
<img v-else src="@/assets/images/logo_lm.png" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="lnb-logo">FEMS</div>-->
|
<!-- <div class="lnb-logo">FEMS</div>-->
|
||||||
|
|
||||||
</router-link>
|
</router-link>
|
||||||
|
<ThemeSwitch style="margin-right: 20px" />
|
||||||
<v-app-bar-nav-icon ref="appbarnavicon" id="appbarnavicon" @click.stop="miniVariant = !miniVariant"
|
<v-app-bar-nav-icon ref="appbarnavicon" id="appbarnavicon" @click.stop="miniVariant = !miniVariant"
|
||||||
@click="updateTreeview" :style="{
|
@click="updateTreeview" :style="{
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
@ -164,7 +168,6 @@
|
|||||||
<v-icon size="20" class="ml-2" v-if="closable" @click.stop="onCloseTab(to)">mdi-close</v-icon>
|
<v-icon size="20" class="ml-2" v-if="closable" @click.stop="onCloseTab(to)">mdi-close</v-icon>
|
||||||
</template>
|
</template>
|
||||||
<template #end v-if="false">
|
<template #end v-if="false">
|
||||||
<ThemeSwitch style="margin-right: 20px" />
|
|
||||||
<v-menu offset-y>
|
<v-menu offset-y>
|
||||||
<template v-slot:activator="{ on, attrs }">
|
<template v-slot:activator="{ on, attrs }">
|
||||||
<!-- <v-btn :ripple="false" tile class="btn-close" v-bind="attrs" v-on="on">
|
<!-- <v-btn :ripple="false" tile class="btn-close" v-bind="attrs" v-on="on">
|
||||||
|
@ -4,13 +4,14 @@
|
|||||||
<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="3">
|
<v-col :cols="3">
|
||||||
<!-- 사업장 -->
|
<!-- 사업장 -->
|
||||||
<component
|
<component
|
||||||
:is="'SelectBlocMstr'"
|
:is="'SelectBlocMstr'"
|
||||||
:parentPrgmId="myPrgmId"
|
:parentPrgmId="myPrgmId"
|
||||||
:sendParam="{ comId }"
|
:sendParam="{ comId }"
|
||||||
|
customClass="select-large"
|
||||||
/>
|
/>
|
||||||
<!-- <component
|
<!-- <component
|
||||||
:is="'selectCodeList'"
|
:is="'selectCodeList'"
|
||||||
@ -35,6 +36,7 @@
|
|||||||
label="로그인ID"
|
label="로그인ID"
|
||||||
valueNm="userLoginId"
|
valueNm="userLoginId"
|
||||||
:searchOption="true"
|
:searchOption="true"
|
||||||
|
customClass="input-large"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="3">
|
<v-col :cols="3">
|
||||||
@ -43,10 +45,11 @@
|
|||||||
label="사용자명"
|
label="사용자명"
|
||||||
valueNm="userNm"
|
valueNm="userNm"
|
||||||
:searchOption="true"
|
:searchOption="true"
|
||||||
|
customClass="input-large"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="3" class="text-right">
|
<v-col :cols="3" class="text-right">
|
||||||
<BtnSearch />
|
<BtnSearch size="large"/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card>
|
</v-card>
|
||||||
@ -76,6 +79,7 @@
|
|||||||
@getRowsData="getRowData"
|
@getRowsData="getRowData"
|
||||||
@sendSelectedRowStatInfo="getSelectedRowStatInfo"
|
@sendSelectedRowStatInfo="getSelectedRowStatInfo"
|
||||||
:selectedRowDataWatchFlag="true"
|
:selectedRowDataWatchFlag="true"
|
||||||
|
:dataPath="dataPathMock"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -303,10 +307,40 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async init() {
|
async init() {
|
||||||
await this.gridInit();
|
this.gridInit();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
gridInitTest() {
|
||||||
|
const rowGrid = {
|
||||||
|
column: [
|
||||||
|
{ header: '사용자No', name: 'userNo', align: 'center', hidden: true },
|
||||||
|
{ header: '사용자명', name: 'userNm' },
|
||||||
|
{ header: '사용자ID', name: 'userLoginId' },
|
||||||
|
{ header: '사용자비밀번호', name: 'userPswd', hidden: true },
|
||||||
|
{ header: '사업장', name: 'blocId', hidden: true },
|
||||||
|
{ header: 'email', name: 'email', hidden: true },
|
||||||
|
{ header: '등록자NO', name: 'regUserNo', hidden: true },
|
||||||
|
{ header: '등록일시', name: 'regDttm', hidden: true },
|
||||||
|
{ header: '수정자NO', name: 'procUserNo', hidden: true },
|
||||||
|
{ header: '수정일시', name: 'procDttm', hidden: true },
|
||||||
|
{ header: 'comId', name: 'comId', hidden: true },
|
||||||
|
{ header: 'deptId', name: 'deptId', hidden: true },
|
||||||
|
],
|
||||||
|
data: dataMockExample,
|
||||||
|
defaultRow: dataMockExample,
|
||||||
|
option: [],
|
||||||
|
}
|
||||||
|
this.dataPathMock = {rowGrid};
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.loadGrid = true;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
// 사용자 리스트 그리드 세팅
|
// 사용자 리스트 그리드 세팅
|
||||||
gridInit() {
|
gridInit() {
|
||||||
|
|
||||||
|
this.gridInitTest(); return
|
||||||
|
|
||||||
const gridHeight = this.$refs.gridParent.offsetHeight - 90;
|
const gridHeight = this.$refs.gridParent.offsetHeight - 90;
|
||||||
|
|
||||||
const myOptions = {
|
const myOptions = {
|
||||||
@ -937,7 +971,10 @@ const myDetail = blocCdList => {
|
|||||||
elseDisabled: 'I', // 선택적 disabled => rowStat 상태가 해당 값이 아닐경우 true
|
elseDisabled: 'I', // 선택적 disabled => rowStat 상태가 해당 값이 아닐경우 true
|
||||||
readonly: true,
|
readonly: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
required: false,
|
required: false,
|
||||||
placeholder: '시스템 자동입력',
|
placeholder: '시스템 자동입력',
|
||||||
},
|
},
|
||||||
@ -946,7 +983,10 @@ const myDetail = blocCdList => {
|
|||||||
label: '사용자ID',
|
label: '사용자ID',
|
||||||
valueNm: 'userLoginId',
|
valueNm: 'userLoginId',
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -956,7 +996,10 @@ const myDetail = blocCdList => {
|
|||||||
valueNm: 'userPswd',
|
valueNm: 'userPswd',
|
||||||
// disabled: true,
|
// disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -964,7 +1007,10 @@ const myDetail = blocCdList => {
|
|||||||
label: '사용자명',
|
label: '사용자명',
|
||||||
valueNm: 'userNm',
|
valueNm: 'userNm',
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -972,7 +1018,10 @@ const myDetail = blocCdList => {
|
|||||||
label: '사업장',
|
label: '사업장',
|
||||||
valueNm: 'blocId',
|
valueNm: 'blocId',
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
list: blocCdList.map(item => ({
|
list: blocCdList.map(item => ({
|
||||||
text: item.blocNm,
|
text: item.blocNm,
|
||||||
value: item.blocId,
|
value: item.blocId,
|
||||||
@ -984,7 +1033,10 @@ const myDetail = blocCdList => {
|
|||||||
label: 'email',
|
label: 'email',
|
||||||
valueNm: 'email',
|
valueNm: 'email',
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'InputText',
|
type: 'InputText',
|
||||||
@ -992,7 +1044,10 @@ const myDetail = blocCdList => {
|
|||||||
valueNm: 'regUserNo',
|
valueNm: 'regUserNo',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
placeholder: '시스템 자동입력',
|
placeholder: '시스템 자동입력',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1001,7 +1056,10 @@ const myDetail = blocCdList => {
|
|||||||
valueNm: 'regDttm',
|
valueNm: 'regDttm',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
placeholder: '시스템 자동입력',
|
placeholder: '시스템 자동입력',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1010,7 +1068,10 @@ const myDetail = blocCdList => {
|
|||||||
valueNm: 'procUserNo',
|
valueNm: 'procUserNo',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
placeholder: '시스템 자동입력',
|
placeholder: '시스템 자동입력',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1019,7 +1080,10 @@ const myDetail = blocCdList => {
|
|||||||
valueNm: 'procDttm',
|
valueNm: 'procDttm',
|
||||||
disabled: true,
|
disabled: true,
|
||||||
cols: 6,
|
cols: 6,
|
||||||
class: 'py-2',
|
labelCols: 12,
|
||||||
|
textCols: 12,
|
||||||
|
class: 'py-2 pr-4',
|
||||||
|
iconShow: true,
|
||||||
placeholder: '시스템 자동입력',
|
placeholder: '시스템 자동입력',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@ -1036,4 +1100,67 @@ function sha512(str) {
|
|||||||
.update(str)
|
.update(str)
|
||||||
.digest('hex');
|
.digest('hex');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const dataMockExample = [
|
||||||
|
{
|
||||||
|
userNo: 1,
|
||||||
|
userNm: '홍길동',
|
||||||
|
userLoginId: 'hong123',
|
||||||
|
userPswd: 'password123',
|
||||||
|
blocId: 'B001',
|
||||||
|
email: 'hong@example.com',
|
||||||
|
regUserNo: 100,
|
||||||
|
regDttm: '2025-07-01 10:00:00',
|
||||||
|
procUserNo: 101,
|
||||||
|
procDttm: '2025-07-15 14:30:00',
|
||||||
|
comId: 'C001',
|
||||||
|
deptId: 'D001'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
userNo: 2,
|
||||||
|
userNm: '김영희',
|
||||||
|
userLoginId: 'kimyh',
|
||||||
|
userPswd: 'securePass456',
|
||||||
|
blocId: 'B002',
|
||||||
|
email: 'kim@example.com',
|
||||||
|
regUserNo: 102,
|
||||||
|
regDttm: '2025-07-02 11:20:00',
|
||||||
|
procUserNo: 103,
|
||||||
|
procDttm: '2025-07-16 09:45:00',
|
||||||
|
comId: 'C002',
|
||||||
|
deptId: 'D002'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
userNo: 3,
|
||||||
|
userNm: '관리자',
|
||||||
|
userLoginId: 'user',
|
||||||
|
userPswd: 'securePass456',
|
||||||
|
blocId: 'B002',
|
||||||
|
email: 'kim@example.com',
|
||||||
|
regUserNo: 102,
|
||||||
|
regDttm: '2025-07-02 11:20:00',
|
||||||
|
procUserNo: 103,
|
||||||
|
procDttm: '2025-07-16 09:45:00',
|
||||||
|
comId: 'C002',
|
||||||
|
deptId: 'D002'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
userNo: 4,
|
||||||
|
userNm: '사용자',
|
||||||
|
userLoginId: 'admin',
|
||||||
|
userPswd: 'securePass456',
|
||||||
|
blocId: 'B002',
|
||||||
|
email: 'kim@example.com',
|
||||||
|
regUserNo: 102,
|
||||||
|
regDttm: '2025-07-02 11:20:00',
|
||||||
|
procUserNo: 103,
|
||||||
|
procDttm: '2025-07-16 09:45:00',
|
||||||
|
comId: 'C002',
|
||||||
|
deptId: 'D002'
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -36,6 +36,7 @@ export const actions = {
|
|||||||
'X-Fems-MenuId': 'MNU0001',
|
'X-Fems-MenuId': 'MNU0001',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
console.log(params)
|
||||||
const params = { params: payload || {} };
|
const params = { params: payload || {} };
|
||||||
const res = await this.$axios.post(
|
const res = await this.$axios.post(
|
||||||
DOMAIN + 'comm/base/MenuMngCtr/selectAuthMenu',
|
DOMAIN + 'comm/base/MenuMngCtr/selectAuthMenu',
|
||||||
@ -566,6 +567,19 @@ export const actions = {
|
|||||||
lvl: 1,
|
lvl: 1,
|
||||||
icon: "mdi-chevron-down",
|
icon: "mdi-chevron-down",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
comId: 'd41',
|
||||||
|
sysDivCd: 'userRoleMg', //시스템구분
|
||||||
|
menuId: 'MNU0006', // MENU_ID (메뉴ID)
|
||||||
|
prgmId: 'PRG00030', // PRGM_ID (프로그램ID)
|
||||||
|
upMenuId: 'menu6', // UP_MENU_ID (상위메뉴ID)
|
||||||
|
menuNm: '32. User Role',// MENU_NM (메뉴명)
|
||||||
|
sortSeq: 5560, // SORT_SEQ (정렬순서)
|
||||||
|
useFg: 'userRoleMg',// USE_FG (사용여부)
|
||||||
|
rmrk: 'userRoleMg',
|
||||||
|
url: 'comm/auth/UserRoleMngPage',
|
||||||
|
lvl: 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
comId: 'd42',
|
comId: 'd42',
|
||||||
sysDivCd: 'MNU0006', //시스템구분
|
sysDivCd: 'MNU0006', //시스템구분
|
||||||
@ -579,6 +593,7 @@ export const actions = {
|
|||||||
url: 'comm/base/BatchLogMngPage',
|
url: 'comm/base/BatchLogMngPage',
|
||||||
lvl: 1,
|
lvl: 1,
|
||||||
},
|
},
|
||||||
|
{}
|
||||||
// {
|
// {
|
||||||
// comId: 'd37',
|
// comId: 'd37',
|
||||||
// sysDivCd: 'energyeffc', //시스템구분
|
// sysDivCd: 'energyeffc', //시스템구분
|
||||||
@ -611,7 +626,7 @@ export const actions = {
|
|||||||
// to: '' // 경로는,. 값을 받아오지 않는 이상 아이콘과 마찬가지로 짝지어 상수화 하거나 sysDivCd, prgmId 값 등을 이용해 조합해서 route를 구성해야 할듯,
|
// to: '' // 경로는,. 값을 받아오지 않는 이상 아이콘과 마찬가지로 짝지어 상수화 하거나 sysDivCd, prgmId 값 등을 이용해 조합해서 route를 구성해야 할듯,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// console.log("myMenu::", myMenu);
|
console.log("myMenu::", myMenu);
|
||||||
}
|
}
|
||||||
dispatch('setMenuTree', myMenu);
|
dispatch('setMenuTree', myMenu);
|
||||||
commit(
|
commit(
|
||||||
@ -662,7 +677,6 @@ export const actions = {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.log('menu test:', tmpLsit["0"]);
|
|
||||||
commit('setTreevieItems', tmpLsit.menu['0'], { root: true });
|
commit('setTreevieItems', tmpLsit.menu['0'], { root: true });
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user