mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-13 19:57:32 +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;
|
||||
|
||||
Reference in New Issue
Block a user