mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:59:22 +09:00
수정건 수정
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user