수정건 수정

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

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

View File

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

View File

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

View File

@@ -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) {