소스검증을 위한 수정 변경

This commit is contained in:
kimre
2022-07-12 12:26:45 +09:00
parent 74511fb587
commit 3d7032432c
40 changed files with 2028 additions and 2120 deletions

View File

@@ -1,4 +1,6 @@
<template>
<template>
<div>
<div class="login-box adm-login">
<div class="wbox">
<div class="logo"></div>
@@ -22,9 +24,11 @@
</div>
</div>
</div>
<login-popup ref="LoginPopup"> </login-popup>
<common-modal ref="commonModal"></common-modal>
</div>
</div>
</template>
<script>
@@ -67,7 +71,7 @@ export default {
cont.classList.remove("login-wrap");
},
components: {
LoginPopup : LoginPopup,
// LoginPopup : LoginPopup,
commonModal,
},
methods: {
@@ -85,6 +89,7 @@ export default {
var vm = this;
vm.errmsg = null;
this.row = {}
// if (!vm.formCheck()) return false;
console.log(this.userId)
if (!this.userId){
@@ -145,7 +150,7 @@ export default {
this.row.msg1 = '비밀번호를 변경하지 않은지 90일이';
this.row.msg2 = '지났습니다. 비밀번호를 변경하여';
this.row.msg3 = '이용 부탁드립니다.';
vm.$router.push({ name: 'updatePassword',params: {userId : oprtrId}});
this.row.callFnc = 'updatePassword'
this.$refs.commonModal.alertModalOpen(this.row);
} else if(rsp.retCode == '4007') {
this.row.title = '로그인 실패';
@@ -173,11 +178,18 @@ export default {
});
},
ModalOpen: function(target){
this.$refs.LoginPopup.ModalOpen(target);
// this.$refs.LoginPopup.ModalOpen(target);
},
alertCalbackFnc(callFnc){
console.log(callFnc)
if(callFnc === 'resetPassword'){
this.$router.push({ name: 'resetPassword',params: {}});
}else if(callFnc === 'updatePassword'){
// this.$router.push({ name: 'updatePassword', params: {}}).catch(()=>{});
// this.$router.push({ name: 'updatePassword', params: {userId : this.userId} });
// this.$router.push({ path: '/view/login/updatePassword', params: {userId : this.userId}});
this.$router.push({ name: 'updatePassword',params: {userId : this.userId}});
}
},