mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:04:20 +09:00
로그인 및 메인 화면 수정 변경
This commit is contained in:
@@ -46,11 +46,13 @@
|
||||
import { mapGetters } from 'vuex';
|
||||
import api from '../service/api';
|
||||
import tokenSvc from '@/common/token-service';
|
||||
import { utils_mixin, chkPattern2 } from '../service/mixins';
|
||||
import LoginPopup from '@/components/LoginPopup.vue'
|
||||
import commonModal from "@/components/modal/commonModal";
|
||||
|
||||
export default {
|
||||
name: 'Params',
|
||||
mixins: [utils_mixin, chkPattern2],
|
||||
props: {
|
||||
userId: {
|
||||
type: String,
|
||||
@@ -63,7 +65,7 @@ export default {
|
||||
errors: [],
|
||||
mdn: '',
|
||||
confirmNum: '',
|
||||
userId: '',
|
||||
// userId: '',
|
||||
isAuthNum: false,
|
||||
isLogin: false,
|
||||
isAuth: false,
|
||||
@@ -141,13 +143,16 @@ export default {
|
||||
vm.$router.push({ path: '/'});
|
||||
return;
|
||||
}
|
||||
if (vm.mdn == null || vm.mdn.trim() == "" || vm.mdn.length < 11 || !vm.mdn){
|
||||
// vm.ModalOpen('modal06');
|
||||
this.row.title = '휴대폰번호 확인';
|
||||
this.row.msg1 = '휴대폰번호를 확인해 주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
const hp = this.mdn;
|
||||
if(!this.isNull(hp) && !this.isMobile(hp)){
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '휴대폰 번호 형식이 잘못되었습니다. 확인해 주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs._phone.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var params = {
|
||||
"oprtrId": userId,
|
||||
"hpNo": this.mdn,
|
||||
@@ -163,8 +168,6 @@ export default {
|
||||
this.row.title = '인증번호 발송';
|
||||
this.row.msg1 = '인증번호를 발송하였습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// vm.ModalOpen('modal07');
|
||||
// console.log('시간 3:00 카운트 하기');
|
||||
this.isAuthNum = true;
|
||||
}else if (!this.timer) {
|
||||
this.timerStop(this.timer);
|
||||
@@ -172,9 +175,6 @@ export default {
|
||||
this.row.title = '인증번호 발송';
|
||||
this.row.msg1 = '인증번호를 발송하였습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// vm.ModalOpen('modal06');
|
||||
// 실패 -> 실패 코드에 따라 실패 팝업 보여주기
|
||||
//인증시간 초과 후 “시간초과!” 문구로 변경
|
||||
}
|
||||
} catch(err) {
|
||||
this.row.title = '로그인';
|
||||
|
||||
Reference in New Issue
Block a user