mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 05:12:34 +09:00
웹취약점, 모의해킹 조치
This commit is contained in:
@@ -59,10 +59,6 @@ export default {
|
||||
|
||||
},
|
||||
setAdminInfo: function(props){
|
||||
console.log(props);
|
||||
// console.log('childData', this.$parent.childData)
|
||||
// this.getParent('numberRegPop').setAdminInfo(props);
|
||||
// this.$emit('event-data', changeData)
|
||||
this.$emit('event-data', props)
|
||||
this.adminNmPopClose();
|
||||
},
|
||||
@@ -76,7 +72,6 @@ export default {
|
||||
},
|
||||
// 모달 끄기
|
||||
adminNmPopClose(){
|
||||
console.log('adminNm modal close');
|
||||
var dimmed = document.getElementsByClassName('modal44');
|
||||
for(var i = 0; i < dimmed.length; i++){
|
||||
dimmed[i].style.display = 'none';
|
||||
@@ -88,15 +83,11 @@ export default {
|
||||
this.row.searchText1 = this.searchText1
|
||||
const response = await sendNumMgtApi.adminList(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
this.list = result.data.list
|
||||
}
|
||||
} catch (error) {
|
||||
// this.row.title = '청약고객관리';
|
||||
// this.row.msg1 = '실패 하였습니다.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
alert(error);
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
},
|
||||
formReset(){
|
||||
|
||||
@@ -106,10 +106,8 @@ import commonModal from "@/components/modal/commonModal";
|
||||
|
||||
export default {
|
||||
name: "numberRegPop",
|
||||
// mixins: [utils_mixin, chkPattern2],
|
||||
watch:{
|
||||
nmineeDivCd(){
|
||||
console.log('watch : ', this.nmineeDivCd)
|
||||
}
|
||||
},
|
||||
data(){
|
||||
@@ -164,19 +162,14 @@ export default {
|
||||
},
|
||||
async apprDetail(props){
|
||||
try {
|
||||
console.log(props)
|
||||
this.row.regReqNo = props.regReqNo
|
||||
this.row.docNo = props.docNo
|
||||
const response = await sendNumMgtApi.apprDetail(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
|
||||
this.regReqNo = result.data.regReqNo
|
||||
this.docNo = result.data.docNo
|
||||
// this.reqNo = result.data.regNo
|
||||
// this.fileNm = result.data.fileNm
|
||||
// this.filePath = result.data.filePath
|
||||
this.docTitle = result.data.docTitle
|
||||
this.regDt = result.data.regDt
|
||||
this.custNm = result.data.custNm
|
||||
@@ -190,7 +183,6 @@ export default {
|
||||
this.memo = result.data.memo
|
||||
this.cmpltDt = result.data.cmpltDt
|
||||
|
||||
console.log(this.reqNo)
|
||||
var apprCnt=0;
|
||||
var rejtCnt=0;
|
||||
this.numList.forEach(function(value, index) {
|
||||
@@ -223,7 +215,6 @@ export default {
|
||||
},
|
||||
allApprSttus(event) {
|
||||
var data = event.target.value;
|
||||
console.log(data);
|
||||
this.numList.forEach(function(value, index) {
|
||||
value.sttusCd = data
|
||||
});
|
||||
@@ -236,7 +227,6 @@ export default {
|
||||
var apprCnt=0;
|
||||
var rejtCnt=0;
|
||||
this.numList.forEach(function(value, index) {
|
||||
// value.sttusCd = data
|
||||
if(value.sttusCd == '01' || value.sttusCd == '02' ){
|
||||
apprCnt = apprCnt + 1;
|
||||
}else if(value.sttusCd == '03'){
|
||||
@@ -250,7 +240,6 @@ export default {
|
||||
}
|
||||
},
|
||||
updateSttus(){
|
||||
// 컨펌??
|
||||
this.doSave()
|
||||
},
|
||||
async doSave(){
|
||||
@@ -259,11 +248,9 @@ export default {
|
||||
this.row.adminId = this.adminId
|
||||
this.row.list = this.numList
|
||||
|
||||
console.log(this.row)
|
||||
try{
|
||||
const response = await sendNumMgtApi.updateAppr(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
this.apprDetailPopClose()
|
||||
this.$parent.search()
|
||||
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
// mixins: [utils_mixin, chkPattern2],
|
||||
watch:{
|
||||
nmineeDivCd(){
|
||||
console.log('watch : ', this.nmineeDivCd)
|
||||
// console.log('watch : ', this.nmineeDivCd)
|
||||
}
|
||||
},
|
||||
data(){
|
||||
@@ -149,7 +149,6 @@ export default {
|
||||
numberDetailPopOpen(props){
|
||||
|
||||
// this.formReset();
|
||||
console.log(props)
|
||||
var dimmed = document.getElementsByClassName('dimmed');
|
||||
dimmed[0].style.display = 'block';
|
||||
var wrap = document.getElementsByClassName('popup-wrap');
|
||||
@@ -162,13 +161,11 @@ export default {
|
||||
},
|
||||
async numberDetail(props){
|
||||
try {
|
||||
console.log(props)
|
||||
this.row.regReqNo = props.regReqNo
|
||||
this.row.sndrno = props.sndrno
|
||||
this.row.seqNo = props.seqNo
|
||||
const response = await sendNumMgtApi.numberDetail(this.row);
|
||||
const result = response.data;
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
|
||||
this.adminId = result.data.adminId
|
||||
|
||||
@@ -200,7 +200,6 @@ export default {
|
||||
mixins: [utils_mixin, chkPattern2],
|
||||
watch: {
|
||||
nmineeDivCd() {
|
||||
console.log('watch : ', this.nmineeDivCd)
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -266,7 +265,6 @@ export default {
|
||||
this.$refs.admnListPop.adminNmPopOpen();
|
||||
},
|
||||
setChildData(data) {
|
||||
console.log(data)
|
||||
this.adminId = data.adminId
|
||||
this.custNm = data.custNm
|
||||
this.bRegNo = data.bregNo
|
||||
@@ -284,7 +282,6 @@ export default {
|
||||
},
|
||||
changeNmineDiv(event) {
|
||||
var data = event.target.value;
|
||||
console.log(data)
|
||||
if (data === '01') {
|
||||
this.fileType = 1
|
||||
}
|
||||
@@ -833,10 +830,7 @@ export default {
|
||||
} else {
|
||||
const response = await sendNumMgtApi.insertNumber(this.adminId, this.custNm, this.bRegNo, this.nmineeDivCd, this.saveSendNums, this.bizrAuthYn, this.custSeq, this.bRegNo)
|
||||
const result = response.data;
|
||||
if (result != null && result.retCode == "0000") {
|
||||
//alert(562);
|
||||
console.log('---------');
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
if(result.data.list != null && result.data.list.length > 0){
|
||||
this.row.title = '발신번호 등록';
|
||||
var failMsg = "";
|
||||
|
||||
@@ -79,8 +79,6 @@ export default {
|
||||
},
|
||||
methods :{
|
||||
alertModalOpen(props){
|
||||
console.log("@@@@@@@@@@")
|
||||
console.log(props)
|
||||
var dimmed = document.getElementsByClassName('alertCommon');
|
||||
for(var i = 0; i < dimmed.length; i++){
|
||||
dimmed[i].style.display = 'block';
|
||||
|
||||
@@ -34,7 +34,6 @@ const insertNumber = (adminId, custNm, bRegNo, nmineeDivCd, numberInputs, bizrAu
|
||||
row.bizrAuthYn = bizrAuthYn
|
||||
row.custSeq = custSeq
|
||||
|
||||
console.log(row)
|
||||
formData.append('key', new Blob([ JSON.stringify(row) ], {type : "application/json"}));
|
||||
|
||||
let url = "/api/v1/bo/sendNumMgt/insertNumber";
|
||||
@@ -64,7 +63,6 @@ const insertNumber1 = (communicationFile, tenureFile ,businessFile, identificati
|
||||
row.bizrAuthYn = bizrAuthYn
|
||||
row.custSeq = custSeq
|
||||
|
||||
console.log(row)
|
||||
formData.append('key', new Blob([ JSON.stringify(row) ], {type : "application/json"}));
|
||||
|
||||
let url = "/api/v1/bo/sendNumMgt/insertNumber";
|
||||
@@ -99,8 +97,6 @@ const insertNumber2 = (communicationFile, delegationFile, attorneyFile, otherBus
|
||||
row.bizrAuthYn = bizrAuthYn
|
||||
row.custSeq = custSeq
|
||||
|
||||
console.log(row)
|
||||
|
||||
formData.append('key', new Blob([ JSON.stringify(row) ], {type : "application/json"}));
|
||||
|
||||
let url = "/api/v1/bo/sendNumMgt/insertNumber";
|
||||
@@ -117,7 +113,6 @@ const updateAppr = (params) => {
|
||||
}
|
||||
|
||||
const fileDownload = (params) => {
|
||||
console.log(params)
|
||||
axios({
|
||||
method: 'POST',
|
||||
url: '/api/v1/bo/sendNumMgt/filedownload',
|
||||
@@ -132,7 +127,6 @@ const fileDownload = (params) => {
|
||||
if (!data) {
|
||||
return
|
||||
}
|
||||
console.log(response)
|
||||
const url = window.URL.createObjectURL(new Blob([data]))
|
||||
const a = document.createElement('a')
|
||||
a.style.display = 'none'
|
||||
@@ -144,8 +138,6 @@ const fileDownload = (params) => {
|
||||
window.URL.revokeObjectURL(url)
|
||||
})
|
||||
.catch(response => {
|
||||
console.log(response)
|
||||
alert(error);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -184,7 +184,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
search: function (isKeep) {
|
||||
console.log(this.grid.params);
|
||||
this.grid.params.searchType1 = this.searchType1
|
||||
this.grid.params.searchType2 = this.searchType2
|
||||
this.grid.perPage = this.perPageCnt
|
||||
@@ -193,7 +192,6 @@ export default {
|
||||
},
|
||||
sendStoreData: function () {
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
@@ -205,10 +203,8 @@ export default {
|
||||
});
|
||||
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
//console.log("getCondition : "+ getCondition.perPage);
|
||||
},
|
||||
apprDetail(props) {
|
||||
console.log(props)
|
||||
this.$refs.apprDetailPop.apprDetailPopOpen(props)
|
||||
},
|
||||
changePerPage: function () { // 페이지당 조회할 개수
|
||||
@@ -218,7 +214,6 @@ export default {
|
||||
beforeRouteLeave(to, from, next) {
|
||||
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP._currentPage);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
:noDataStr="grid.noDataStr"
|
||||
:addCls="grid.addCls"
|
||||
:header="grid.headder"
|
||||
:pageRange="grid.pageRange"
|
||||
></custom-grid>
|
||||
</div>
|
||||
|
||||
@@ -141,6 +142,7 @@ export default {
|
||||
isCheckbox: true,
|
||||
initialRequest: false,
|
||||
addCls: 'box_OFvis',
|
||||
pageRange: 1,
|
||||
header: [
|
||||
[
|
||||
{header: 'NO', childNames: []},
|
||||
@@ -218,7 +220,6 @@ export default {
|
||||
let page = 1;
|
||||
// 페이지 정보 및 검색 조건
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
console.log('getCondition : ' + getCondition);
|
||||
|
||||
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
||||
let isKeep = false;
|
||||
@@ -232,12 +233,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
search: function (isKeep) {
|
||||
console.log(this.grid.params);
|
||||
this.grid.params.searchType1 = this.searchType1
|
||||
this.grid.params.searchType2 = this.searchType2
|
||||
this.grid.params.searchType3 = this.searchType3
|
||||
this.grid.params.searchType4 = this.searchType4
|
||||
console.log(this.$data)
|
||||
if(this.isFirst){
|
||||
this.grid.pagePerRows = 50
|
||||
}
|
||||
@@ -247,20 +246,17 @@ export default {
|
||||
},
|
||||
sendStoreData: function () {
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
params: this.grid.params
|
||||
});
|
||||
|
||||
// const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
},
|
||||
numberRegPopOpen: function () {
|
||||
this.$refs.numberRegPop.numberRegPopopen();
|
||||
},
|
||||
numberDetail(props) {
|
||||
console.log(props)
|
||||
this.$refs.numberDetailPop.numberDetailPopOpen(props);
|
||||
},
|
||||
commonModalOpen(row) {
|
||||
@@ -294,7 +290,6 @@ export default {
|
||||
},
|
||||
doValidate() { //로우데이터 삭제하도록 수정
|
||||
|
||||
console.log("totalItems >> " + this.totalItems);
|
||||
if (this.totalItems == 0) {
|
||||
this.row.title = '문자발신번호 관리';
|
||||
this.row.msg1 = '검색 결과가 없습니다.';
|
||||
@@ -310,13 +305,10 @@ export default {
|
||||
}
|
||||
//const param = chkList.map((row)=>({regReqNo:row.regReqNo} ));
|
||||
const param = chkList.map((row) => ({seqNo: row.seqNo}));
|
||||
console.log(param)
|
||||
this.row.list = param;
|
||||
console.log(this.row);
|
||||
return true;
|
||||
},
|
||||
confirmCalbackFnc(props) {
|
||||
console.log(props)
|
||||
if (props.result) {
|
||||
this.numberDelete();
|
||||
}
|
||||
@@ -328,7 +320,6 @@ export default {
|
||||
beforeRouteLeave(to, from, next) {
|
||||
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP._currentPage);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
|
||||
@@ -143,7 +143,6 @@ export default {
|
||||
let page = 1;
|
||||
// 페이지 정보 및 검색 조건
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
console.log('getCondition : ' + getCondition);
|
||||
|
||||
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
|
||||
let isKeep = false;
|
||||
@@ -164,7 +163,6 @@ export default {
|
||||
},
|
||||
sendStoreData: function () {
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP._currentPage);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
@@ -172,7 +170,6 @@ export default {
|
||||
});
|
||||
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
console.log("getCondition : " + getCondition.perPage);
|
||||
},
|
||||
changePerPage: function () { // 페이지당 조회할 개수
|
||||
this.grid.pagePerRows = this.perPageCnt;
|
||||
@@ -182,7 +179,6 @@ export default {
|
||||
beforeRouteLeave(to, from, next) {
|
||||
|
||||
const getP = this.$refs.table.getPagination();
|
||||
console.log("==========getP : " + getP._currentPage);
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
page: getP._currentPage,
|
||||
perPage: this.perPageCnt,
|
||||
|
||||
Reference in New Issue
Block a user