수정건 수정

This commit is contained in:
USER
2022-07-27 10:31:41 +09:00
parent 3093a33015
commit d5bf4444a3
22 changed files with 89 additions and 58 deletions

View File

@@ -7,14 +7,14 @@ export default [
component: ChannelList,
name: 'channelList',
props: true,
meta: { public: true }
meta: { public: false }
},
{
path: '/attractMgt/channelDetail',
component: ChannelDetail,
name: 'channelDetail',
props: true,
meta: { public: true }
meta: { public: false }
}
]

View File

@@ -5,7 +5,7 @@ export default [
path: '/calculate/calcList',
component: CalcList,
name: 'calcList',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -5,7 +5,7 @@ export default [
path: '/channelMgt/tmpltList',
component: TmpltList,
name: 'tmpltList',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -10,34 +10,34 @@ export default [
component: SubsList,
name: 'subsList',
props: true,
meta: { public: true }
meta: { public: false }
},
{
path: '/custMgt/memberList',
component: MemberList,
name: 'memberList',
meta: { public: true }
meta: { public: false }
},
{
path: '/custMgt/subsDetail',
component: SubsDetail,
name: 'subsDetail',
props: true,
meta: { public: true }
meta: { public: false }
},
{
path: '/custMgt/memberDetail',
component: MemberDetail,
name: 'memberDetail',
props: true,
meta: { public: true }
meta: { public: false }
},
{
path: '/custMgt/memberAdminDetail',
component: MemberAdminDetail,
name: 'memberAdminDetail',
props: true,
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -234,6 +234,7 @@ export default {
selected: [],
svcUserId: '',
ezSvcUserAuthKey: '',
homePageUrl: '',
isActive: true,
//applyTbStyle: 'cursor: default;',
};
@@ -329,6 +330,8 @@ export default {
this.userTotalCnt = result.data.list.length;
console.log('userTotalCnt:' + result.data.list.length);
this.totalItems = result.data.paging.totalCnt;
this.homePageUrl = result.data.homePageUrl;
this.ezSvcUserAuthKey = result.data.authKey;
}
} catch (error) {
console.log(error);
@@ -451,12 +454,9 @@ export default {
formReset() {
Object.assign(this.$data, this.$options.data());
},
homeLogin() {
console.log(process.env.VUE_APP_HOME_PAGE_URL);
console.log(process.env.VUE_APP_AUTHKEY);
this.$refs.form.action = process.env.VUE_APP_HOME_PAGE_URL;
this.svcUserId = this.userId;
this.ezSvcUserAuthKey = process.env.VUE_APP_AUTHKEY;
homeLogin() {
this.$refs.form.action = this.homePageUrl;
this.svcUserId = this.userId;
this.$refs.form.submit();
},
confirmCalbackFnc(props) {

View File

@@ -117,8 +117,9 @@ export default {
mdn : '',
email: '',
stat:'',
svcUserId:'',
ezSvcUserAuthKey:''
svcUserId:'',
ezSvcUserAuthKey:'',
homePageUrl: ''
}
},
@@ -153,6 +154,7 @@ export default {
try {
const response = await custMgtApi.memberDetail(this.row);
const result = response.data;
console.log('>>>>>>>>>>>>');
console.log(result);
if (result != null && result.retCode == "0000") {
// isView
@@ -169,7 +171,8 @@ export default {
this.memo = result.data.memo;
this.mdn = result.data.mdn;
this.email = result.data.email;
this.homePageUrl = result.data.homePageUrl;
this.ezSvcUserAuthKey = result.data.authKey;
}
} catch (error) {
console.log(error);
@@ -277,12 +280,9 @@ export default {
//this.email = '';
this.$refs._email.focus();
},
homeLogin(){
console.log(process.env.VUE_APP_HOME_PAGE_URL)
console.log(process.env.VUE_APP_AUTHKEY)
this.$refs.form.action = process.env.VUE_APP_HOME_PAGE_URL
this.svcUserId = this.userId
this.ezSvcUserAuthKey = process.env.VUE_APP_AUTHKEY
homeLogin(){
this.$refs.form.action = this.homePageUrl;
this.svcUserId = this.userId
this.$refs.form.submit()
},
},

View File

@@ -6,13 +6,13 @@ export default [
path: '/mntrng/sendList',
component: SendList,
name: 'sendList',
meta: { public: true }
meta: { public: false }
},
{
path: '/mntrng/liveSendSttus',
component: LiveSendSttus,
name: 'liveSendSttus',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -8,27 +8,27 @@ export default [
path: '/riskMgt/sendNum/intrcpList',
component: IntrcpList,
name: 'intrcpList',
meta: { public: true }
meta: { public: false }
},
{
path: '/riskMgt/sendNum/zezNum',
component: ZezNum,
name: 'zezNum',
props: true,
meta: { public: true }
meta: { public: false }
},
{
path: '/riskMgt/sendNum/msg',
component: Msg,
name: 'msg',
meta: { public: true }
meta: { public: false }
},
{
path: '/riskMgt/sendNum/all',
component: All,
name: 'all',
props: true,
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -236,7 +236,7 @@ export default {
// 소문자로 변환
fileExt = fileExt.toLowerCase()
// 이미지 확장자 체크, jpg, png, pdf, tiff
if (["jpeg", "png", "pdf", "tiff"].includes(fileExt)) {
if (["jpg", "png", "pdf", "tiff"].includes(fileExt)) {
return true;
} else {
this.row.title = '발신번호 파일 업로드';

View File

@@ -7,19 +7,19 @@ export default [
path: '/sendNumMgt/profileList',
component: ProfileList,
name: 'profileList',
meta: { public: true }
meta: { public: false }
},
{
path: '/sendNumMgt/numberList',
component: NumberList,
name: 'numberList',
meta: { public: true }
meta: { public: false }
},
{
path: '/sendNumMgt/apprList',
component: ApprList,
name: 'apprList',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -5,7 +5,7 @@ export default [
path: '/servMgt/rejectRecvList',
component: rejectRecvList,
name: 'rejectRecvList',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -8,25 +8,25 @@ export default [
path: '/stats/monthList',
component: MonthList,
name: 'monthList',
meta: { public: true }
meta: { public: false }
},
{
path: '/stats/bsnmMonthList',
component: BsnmMonthList,
name: 'bsnmMonthList',
meta: { public: true }
meta: { public: false }
},
{
path: '/stats/dayList',
component: DayList,
name: 'dayList',
meta: { public: true }
meta: { public: false }
},
{
path: '/stats/bsnmDayList',
component: BsnmDayList,
name: 'bsnmDayList',
meta: { public: true }
meta: { public: false }
},
]

View File

@@ -8,26 +8,26 @@ export default [
path: '/sysMgt/authList',
component: AustList,
name: 'authList',
meta: { public: true }
meta: { public: false }
},
{
path: '/sysMgt/adminList',
component: AdminList,
name: 'adminList',
meta: { public: true }
meta: { public: false }
},
{
path: '/sysMgt/authAdd',
component: AuthAdd,
name: 'authAdd',
meta: { public: true }
meta: { public: false }
},
{
path: '/sysMgt/authModify',
component: AuthModify,
name: 'authModify',
props: true,
meta: { public: true }
meta: { public: false }
}
]

View File

@@ -62,10 +62,6 @@ const router = new Router({
...mntrngRoutes,
...riskmgtRoutes,
...monthRoutes,
]
},
{path: '*', redirect: '/view/error/404'}
@@ -74,12 +70,11 @@ const router = new Router({
router.beforeEach((to, from, next) => {
const isPublic = to.matched.some(record => record.meta.public);
const loggedIn = !!tokenSvc.getToken();
if (!isPublic && !loggedIn) {
const loggedIn = !!tokenSvc.getToken();
if (!isPublic && !loggedIn) {
return next('/login');
}else{
var nextUrl = to.fullPath;
}else{
var nextUrl = to.fullPath;
if(nextUrl == '/'){
console.log(store.getters);
const rootUrl = store.getters['login/getRootUrl'];