수정건 수정

This commit is contained in:
USER
2022-09-06 10:58:43 +09:00
parent 1367c7655f
commit 40316dc721
2 changed files with 19 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
<th>ID</th> <th>ID</th>
<td colspan="2"> <td colspan="2">
{{ userId }} {{ userId }}
<button type="button" class="button grey btn-a" @click="homeLogin">로그인</button> <button type="button" class="button grey btn-a" @click="homeLogin">로그인</button>
</td> </td>
<th class="center">관리자명</th> <th class="center">관리자명</th>
<td colspan="2">{{ adminId }} / {{ adminNm }}</td> <td colspan="2">{{ adminId }} / {{ adminNm }}</td>
@@ -303,6 +303,7 @@ export default {
this.$refs.commmonModal.confirmModalOpen(props); this.$refs.commmonModal.confirmModalOpen(props);
}, },
async memberDetail(serviceId) { async memberDetail(serviceId) {
this.svcUserId = serviceId;
this.row.userId = serviceId; this.row.userId = serviceId;
try { try {
const response = await custMgtApi.memberAdminDetail(this.row); const response = await custMgtApi.memberAdminDetail(this.row);
@@ -458,9 +459,16 @@ export default {
// Object.assign(this.$data, this.$options.data()); // Object.assign(this.$data, this.$options.data());
// }, // },
homeLogin() { homeLogin() {
if(this.userStat == '02'){
this.row = {};
this.row.title = '로그인';
this.row.msg1 = '사용 중지된 계정입니다.';
this.$refs.commmonModal.alertModalOpen(this.row);
return false;
}
this.$refs.form.action = this.homePageUrl; this.$refs.form.action = this.homePageUrl;
this.svcUserId = this.userId; this.svcUserId = this.userId;
console.log(this.$refs.form); //console.log(this.$refs.form);
this.$refs.form.submit(); this.$refs.form.submit();
}, },
confirmCalbackFnc(props) { confirmCalbackFnc(props) {

View File

@@ -269,6 +269,14 @@ export default {
this.$refs._email.focus(); this.$refs._email.focus();
}, },
homeLogin() { homeLogin() {
if(this.stat == '02'){
this.row = {};
this.row.title = '로그인';
this.row.msg1 = '사용 중지된 계정입니다.';
this.$refs.commmonModal.alertModalOpen(this.row);
return false;
}
this.$refs.form.action = this.homePageUrl; this.$refs.form.action = this.homePageUrl;
this.svcUserId = this.userId; this.svcUserId = this.userId;
this.$refs.form.submit(); this.$refs.form.submit();