수정건 수정

This commit is contained in:
USER
2022-08-31 12:25:39 +09:00
parent 188a6112b4
commit 648a16ad4f
23 changed files with 182 additions and 127 deletions

View File

@@ -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());

View File

@@ -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;