mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-13 23:09:34 +09:00
웹취약점, 모의해킹 조치
This commit is contained in:
@@ -273,13 +273,11 @@ export default {
|
||||
|
||||
},
|
||||
async authDetail() {
|
||||
//console.log(this.$route.params.targetAuthCd);
|
||||
this.row.authCd = this.$route.params.targetAuthCd;
|
||||
try {
|
||||
const response = await sysMgtApi.authDetail(this.row);
|
||||
const result = response.data;
|
||||
|
||||
console.log(result);
|
||||
if (result != null && result.retCode == "0000") {
|
||||
this.authCd = result.data.authCd;
|
||||
this.authNm = result.data.authNm;
|
||||
@@ -301,7 +299,6 @@ export default {
|
||||
}
|
||||
|
||||
} else {
|
||||
//alert("실패 하였습니다.");
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
@@ -309,7 +306,6 @@ export default {
|
||||
return false;
|
||||
}
|
||||
} catch (err) {
|
||||
//alert("처리 실패 하였습니다.");
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
@@ -348,17 +344,13 @@ export default {
|
||||
this.row.stat = this.stat;
|
||||
this.row.list = listArr;
|
||||
|
||||
console.log(this.row);
|
||||
|
||||
try {
|
||||
let response = await sysMgtApi.updateAuth(this.row);
|
||||
const result = response.data;
|
||||
if (result != null && result.retCode == "0000") {
|
||||
//alert('저장 하였습니다.');
|
||||
// 권한리스트 페이지 이동
|
||||
this.$router.push({name: 'authList'});
|
||||
} else {
|
||||
//alert("실패 하였습니다.");
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
@@ -381,6 +373,8 @@ export default {
|
||||
this.$refs._authNm.focus();
|
||||
} else if (this.row.focusTaget === '2') {
|
||||
this.$refs._authCd.focus();
|
||||
}else if(this.row.focusTaget === '0'){
|
||||
this.$router.push({name: 'authList'});
|
||||
}
|
||||
},
|
||||
confirmCalbackFnc(props) {
|
||||
@@ -396,7 +390,6 @@ export default {
|
||||
return this.defaultAuthMenu.length === this.checkedAuthMenu.length;
|
||||
},
|
||||
set: function (e) {
|
||||
//this.checkedAuthMenu = e ? this.defaultAuthMenu : [];
|
||||
if (e) {
|
||||
this.checkedAuthMenu = this.defaultAuthMenu;
|
||||
if (this.channelAuth === '') {
|
||||
|
||||
Reference in New Issue
Block a user