mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:59:22 +09:00
웹취약점, 모의해킹 조치
This commit is contained in:
@@ -180,7 +180,7 @@ import custMgtApi from "../service/custMgtApi.js";
|
||||
import CarryOverListPop from '../components/CarryOverListPop';
|
||||
import ValidationConfirmPop from '../components/ValidationConfirmPop';
|
||||
import AdminNmPop from '../components/AdminNmPop';
|
||||
import commonModal from "@/components/modal/commonModal";
|
||||
import commonModal from "../components/commonModal";
|
||||
//import { mapGetters } from 'vuex';
|
||||
|
||||
export default {
|
||||
@@ -228,15 +228,12 @@ export default {
|
||||
},
|
||||
components: {
|
||||
CarryOverListPop,
|
||||
//ConfirmPop,
|
||||
//SearchIDPop,
|
||||
ValidationConfirmPop,
|
||||
AdminNmPop,
|
||||
commonModal,
|
||||
|
||||
},
|
||||
created() {
|
||||
console.log(this.$route.params.serviceId);
|
||||
this.$store.commit("login/isLogin", true);
|
||||
|
||||
if(this.$route.params.serviceId != null){ // 리스트에서 상세 호출시
|
||||
@@ -245,7 +242,6 @@ export default {
|
||||
this.setMenuActive();
|
||||
}else{ // 상세 화면에서 새로고침 호출시
|
||||
var serviceId = this.$store.getters["dataStore/getDataStore"];
|
||||
console.log('serviceId : '+serviceId);
|
||||
this.subsDetail(serviceId);
|
||||
}
|
||||
},
|
||||
@@ -254,16 +250,10 @@ export default {
|
||||
this.$store.commit('dataStore/updateDataStore', '');
|
||||
},
|
||||
methods: {
|
||||
callAlert(props) {
|
||||
//alert("호출됨!");
|
||||
callAlert(props) {
|
||||
this.$refs.commmonModal.alertModalOpen(props);
|
||||
},
|
||||
doValidate() {
|
||||
// if(this.isNull(this.userId)){
|
||||
// alert("아이디를 입력해 주세요.");
|
||||
// this.$refs._userId.focus();
|
||||
// return false;
|
||||
// }
|
||||
return true;
|
||||
},
|
||||
// 저장 후 부모창 호출.
|
||||
@@ -283,7 +273,6 @@ export default {
|
||||
try {
|
||||
const response = await custMgtApi.subsDetail(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
//데이터값이 널이면 오류처리
|
||||
this.custNm = result.data.custNm;
|
||||
@@ -319,6 +308,10 @@ export default {
|
||||
this.cprRegNo1 = this.cprRegNo.substr(0, 6);
|
||||
this.cprRegNo2 = this.cprRegNo.substr(6);
|
||||
}
|
||||
}else{
|
||||
this.row.title = '청약고객관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
} catch (error) {
|
||||
this.row.title = '청약고객관리';
|
||||
@@ -337,7 +330,6 @@ export default {
|
||||
try {
|
||||
const response = await custMgtApi.updateAdminInfo(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
this.row.title = '청약고객관리';
|
||||
this.row.msg1 = '저장 하였습니다.';
|
||||
@@ -365,14 +357,11 @@ export default {
|
||||
|
||||
},
|
||||
confirmCalbackFnc: function (props) {
|
||||
console.log(props);
|
||||
if (props.result) {
|
||||
// this.doInsert(props.result);
|
||||
}
|
||||
},
|
||||
searchIDPopOpen: function () {
|
||||
var params = {
|
||||
// "serviceId": this.row.serviceId,
|
||||
"serviceId": this.serviceId,
|
||||
"serviceSeq": '',
|
||||
"parentDiv": 'subsDetail'
|
||||
@@ -380,7 +369,6 @@ export default {
|
||||
this.$refs.adminNmPop.ModalOpen(params);
|
||||
},
|
||||
goMemberDetail: function (props) {
|
||||
console.log(this.row);
|
||||
this.$router.push({name: 'memberAdminDetail', params: {serviceId: this.row.serviceId}});
|
||||
},
|
||||
|
||||
@@ -392,6 +380,11 @@ export default {
|
||||
nowMenu[0].classList.add('is-current');
|
||||
|
||||
//menuList.classList.add('is-current');
|
||||
},
|
||||
|
||||
// 조회후 모달창 닫기
|
||||
checkFocus(){
|
||||
this.$router.go(-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user