mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 08:06:38 +09:00
로그인 / 고객관리 / 시스템관리 ... 디자인 및 기능 수정 적용
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<!-- <div class="wrap bg-wrap"> -->
|
||||
<div>
|
||||
<div class="dimmed" @click="ModalClose();"></div>
|
||||
<div class="popup-wrap">
|
||||
<div class="dimmed modal20" @click="ModalClose();"></div>
|
||||
<div class="popup-wrap modal20">
|
||||
<!-- 관리자/유치채널 등록 -->
|
||||
<div class="popup modal20 popup_form">
|
||||
<div class="pop-head">
|
||||
@@ -254,9 +254,10 @@ export default {
|
||||
async searchMadangId(){
|
||||
|
||||
if(!this.madangId){
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '마당ID를 입력해주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.row.title = '관리자/유치채널 관리';
|
||||
// this.row.msg1 = '마당ID를 입력해주세요.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.$refs.searchIdPopModal.searchIdModalOpen();
|
||||
this.$refs.madangId.focus();
|
||||
return false;
|
||||
}
|
||||
@@ -281,32 +282,32 @@ export default {
|
||||
|
||||
this.idCheck = true;
|
||||
this.$refs._pwd1.focus();
|
||||
|
||||
return false;
|
||||
}else if(result.retCode == '1004'){
|
||||
//alert('마당ID 정보가 없습니다.');
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.searchIdFailPop();
|
||||
// this.row.title = '관리자/유치채널 관리';
|
||||
// this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.searchIdFailPop();
|
||||
this.idCheck = false;
|
||||
this.$refs.madangId.focus();
|
||||
return false;
|
||||
}else {
|
||||
//alert('마당ID 조회에 실패하였습니다.');
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.searchIdFailPop();
|
||||
// this.row.title = '관리자/유치채널 관리';
|
||||
// this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.searchIdFailPop();
|
||||
this.idCheck = false;
|
||||
this.$refs.madangId.focus();
|
||||
return false;
|
||||
}
|
||||
} catch(err) {
|
||||
//alert("실패 하였습니다.");
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.searchIdFailPop();
|
||||
// this.row.title = '관리자/유치채널 관리';
|
||||
// this.row.msg1 = '마당ID 정보가 없습니다.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.searchIdFailPop();
|
||||
this.idCheck = false;
|
||||
this.$refs.madangId.focus();
|
||||
return false;
|
||||
@@ -337,22 +338,18 @@ export default {
|
||||
ModalOpen(insertType){
|
||||
this.formReset();
|
||||
this.insertType=insertType;
|
||||
var dimmed = document.getElementsByClassName('dimmed');
|
||||
dimmed[0].style.display = 'block';
|
||||
var wrap = document.getElementsByClassName('popup-wrap');
|
||||
wrap[0].style.display = 'block';
|
||||
var obj = document.getElementsByClassName('modal20');
|
||||
obj[0].style.display = 'block';
|
||||
var dimmed = document.getElementsByClassName('modal20');
|
||||
for(var i = 0; i < dimmed.length; i++){
|
||||
dimmed[i].style.display = 'block';
|
||||
}
|
||||
this.setAuthData();
|
||||
},
|
||||
// 모달 끄기
|
||||
ModalClose(){
|
||||
var dimmed = document.getElementsByClassName('dimmed');
|
||||
dimmed[0].style.display = 'none';
|
||||
var wrap = document.getElementsByClassName('popup-wrap');
|
||||
wrap[0].style.display = 'none';
|
||||
var popup = document.getElementsByClassName('modal20');
|
||||
popup[0].style.display = 'none';
|
||||
var dimmed = document.getElementsByClassName('modal20');
|
||||
for(var i = 0; i < dimmed.length; i++){
|
||||
dimmed[i].style.display = 'none';
|
||||
}
|
||||
|
||||
},
|
||||
// 저장 후 부모창 호출.
|
||||
|
||||
Reference in New Issue
Block a user