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:
@@ -179,11 +179,16 @@ export default {
|
||||
this.$refs.madangId.focus();
|
||||
}
|
||||
},
|
||||
setAuthData() {
|
||||
async setAuthData() {
|
||||
// 권한 옵션.
|
||||
api.commAuth().then(response => {
|
||||
this.authType = response.data.data.list;
|
||||
});
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
formReset(){
|
||||
Object.assign(this.$data, this.$options.data());
|
||||
|
||||
@@ -158,11 +158,19 @@ export default {
|
||||
this.memberInsertModalClose();
|
||||
this.$parent.memberDetail(this.adminId);
|
||||
},
|
||||
setAuthData() {
|
||||
async setAuthData() {
|
||||
// 권한 옵션.
|
||||
api.commAuth().then(response => {
|
||||
this.authType = response.data.data.list;
|
||||
});
|
||||
// api.commAuth().then(response => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
formReset() {
|
||||
var targetAdminId = this.adminId;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
|
||||
<div class="table table_form">
|
||||
<form action="" target="_blank" method="post" ref="form">
|
||||
<form action="" target="_blank" method="post" ref="form" onSubmit="return false;">
|
||||
<input type="hidden" name="svcUserId" id="svcUserId" v-model="svcUserId" />
|
||||
<input type="hidden" name="ezSvcUserAuthKey" id="ezSvcUserAuthKey" v-model="ezSvcUserAuthKey" />
|
||||
</form>
|
||||
@@ -236,6 +236,7 @@ export default {
|
||||
homePageUrl: '',
|
||||
isActive: true,
|
||||
//applyTbStyle: 'cursor: default;',
|
||||
oldMemo: '',
|
||||
};
|
||||
},
|
||||
props: {
|
||||
@@ -322,6 +323,7 @@ export default {
|
||||
}
|
||||
this.lastLoginDt = result.data.lastLoginDt;
|
||||
this.memo = result.data.memo;
|
||||
this.oldMemo = result.data.memo;
|
||||
this.mdn = result.data.mdn;
|
||||
this.email = result.data.email;
|
||||
this.list = result.data.list;
|
||||
@@ -336,14 +338,18 @@ export default {
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
},
|
||||
/** 저장 */
|
||||
async updateAdminInfoTotal() {
|
||||
this.row = {};
|
||||
this.row.userId = this.adminId;
|
||||
this.row.sendingLimit = this.sendingLimit;
|
||||
this.row.lineType = this.lineType;
|
||||
this.row.userStat = this.userStat;
|
||||
this.row.memo = this.memo;
|
||||
|
||||
if(this.memo != this.oldMemo){
|
||||
this.row.memo = this.memo;
|
||||
} else {
|
||||
this.row.memo = '';
|
||||
}
|
||||
try {
|
||||
const response = await custMgtApi.updateAdminInfoTotal(this.row);
|
||||
const result = response.data;
|
||||
@@ -371,6 +377,7 @@ export default {
|
||||
toComplete() {
|
||||
this.$router.push({ name: 'memberList', params: this.row });
|
||||
},
|
||||
|
||||
excelPopOpen() {
|
||||
if (this.userTotalCnt >= 100) {
|
||||
// 사용자등록제한_최대100개까지
|
||||
@@ -431,11 +438,19 @@ export default {
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
},
|
||||
setAuthData() {
|
||||
async setAuthData() {
|
||||
// 권한 옵션.
|
||||
api.commAuth().then((response) => {
|
||||
this.authType = response.data.data.list;
|
||||
});
|
||||
// api.commAuth().then((response) => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
formReset() {
|
||||
Object.assign(this.$data, this.$options.data());
|
||||
|
||||
@@ -270,7 +270,8 @@ export default {
|
||||
},
|
||||
async subsDetail(serviceId) {
|
||||
this.row.serviceId = serviceId;
|
||||
try {
|
||||
|
||||
try {
|
||||
const response = await custMgtApi.subsDetail(this.row);
|
||||
const result = response.data;
|
||||
if (result != null && result.retCode == "0000") {
|
||||
|
||||
@@ -327,6 +327,7 @@ export default {
|
||||
vm.$store.commit("login/saveAuthToken", rsp.data.authToken);
|
||||
//localStorage.authToken = rsp.data.authToken;
|
||||
sessionStorage.setItem('authToken', rsp.data.authToken);
|
||||
sessionStorage.setItem('refreshToken', rsp.data.refreshToken);
|
||||
//api.setToken(rsp.data.authToken);
|
||||
vm.$router.push({ path: rootUrl});
|
||||
}else if (rsp.retCode == '4008'){
|
||||
|
||||
@@ -257,11 +257,19 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
setAuthData() {
|
||||
async setAuthData() {
|
||||
// 권한 옵션.
|
||||
api.commAuth().then(response => {
|
||||
this.authType = response.data.data.list;
|
||||
});
|
||||
// api.commAuth().then(response => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
formReset() {
|
||||
var type = this.insertType;
|
||||
|
||||
@@ -365,11 +365,19 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
setAuthData() {
|
||||
async setAuthData() {
|
||||
// 권한 옵션.
|
||||
api.commAuth().then(response => {
|
||||
this.authType = response.data.data.list;
|
||||
});
|
||||
// api.commAuth().then(response => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.data.list;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
formReset() {
|
||||
var type = this.insertType;
|
||||
|
||||
@@ -223,15 +223,23 @@ export default {
|
||||
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
},
|
||||
setCodeData() {
|
||||
async setCodeData() {
|
||||
|
||||
// 상태 옵션 셋팅.
|
||||
api.commCode({'grpCd': 'ADM_STTUS_CD'}).then(response => {
|
||||
this.statType = response.data.data.list;
|
||||
});
|
||||
api.commAuth().then(response => {
|
||||
this.authType = response.data.data.list;
|
||||
this.statType = response.data.dat.a.list;
|
||||
});
|
||||
// api.commAuth().then(response => {
|
||||
// this.authType = response.data.data.list;
|
||||
// });
|
||||
try {
|
||||
const response = await api.commAuth();
|
||||
if(response.data.retCode == '0000'){
|
||||
this.authType = response.data.datalist;
|
||||
}
|
||||
}catch(err){
|
||||
|
||||
}
|
||||
},
|
||||
rowDelete() {
|
||||
if (this.doValidate()) {
|
||||
|
||||
@@ -92,9 +92,9 @@ export default {
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
} catch (err) {
|
||||
this.row.title = '권한 관리';
|
||||
this.row.msg1 = '실패 하였습니다.'
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.row.title = '권한 관리';
|
||||
// this.row.msg1 = '실패 하였습니다.'
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
},
|
||||
insertAuth() {
|
||||
@@ -128,10 +128,10 @@ export default {
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
} catch (err) {
|
||||
this.row = {}
|
||||
this.row.title = '권한 관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
// this.row = {}
|
||||
// this.row.title = '권한 관리';
|
||||
// this.row.msg1 = '실패 하였습니다.';
|
||||
// this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
}
|
||||
},
|
||||
confirmCalbackFnc(props) {
|
||||
|
||||
Reference in New Issue
Block a user