mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 06:52:01 +09:00
로그인 관련 / 메뉴 링크 추가 / 홈페이지 로그인 적용
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
</div>
|
||||
|
||||
<div class="table table_form">
|
||||
<form autocomplete="off">
|
||||
<form action=""
|
||||
target="_blank"
|
||||
method="post"
|
||||
ref="form">
|
||||
<input type="hidden" name="svcUserId" id="svcUserId" v-model="svcUserId"/>
|
||||
<input type="hidden" name="ezSvcUserAuthKey" id="ezSvcUserAuthKey" v-model="ezSvcUserAuthKey"/>
|
||||
</form>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width:140px">
|
||||
@@ -34,7 +40,7 @@
|
||||
<th>ID</th>
|
||||
<td colspan="2">
|
||||
{{userId}}
|
||||
<button type="button" class="button grey btn-a">로그인</button>
|
||||
<button type="button" class="button grey btn-a" @click="homeLogin">로그인</button>
|
||||
</td>
|
||||
<th class="center">구분</th>
|
||||
<td colspan="2">{{userType}}</td>
|
||||
@@ -62,7 +68,6 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="pop-btn2">
|
||||
@@ -112,6 +117,8 @@ export default {
|
||||
mdn : '',
|
||||
email: '',
|
||||
stat:'',
|
||||
svcUserId:'',
|
||||
ezSvcUserAuthKey:''
|
||||
|
||||
}
|
||||
},
|
||||
@@ -127,8 +134,6 @@ export default {
|
||||
},
|
||||
created(){
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
this.$store.commit("login/isLogin", true);
|
||||
this.$store.commit("login/isAuthChk", true);
|
||||
},
|
||||
destroyed() {
|
||||
|
||||
@@ -266,6 +271,14 @@ 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
|
||||
this.$refs.form.submit()
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user