From 40316dc7219a73643a32a5437bea3d9b3b9d56f2 Mon Sep 17 00:00:00 2001 From: USER Date: Tue, 6 Sep 2022 10:58:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95=EA=B1=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/custMgt/views/MemberAdminDetail.vue | 14 +++++++++++--- .../src/modules/custMgt/views/MemberDetail.vue | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/frontend/src/modules/custMgt/views/MemberAdminDetail.vue b/frontend/src/modules/custMgt/views/MemberAdminDetail.vue index bb5a5ef..9e1912f 100644 --- a/frontend/src/modules/custMgt/views/MemberAdminDetail.vue +++ b/frontend/src/modules/custMgt/views/MemberAdminDetail.vue @@ -35,7 +35,7 @@ ID {{ userId }} - + 관리자명 {{ adminId }} / {{ adminNm }} @@ -303,6 +303,7 @@ export default { this.$refs.commmonModal.confirmModalOpen(props); }, async memberDetail(serviceId) { + this.svcUserId = serviceId; this.row.userId = serviceId; try { const response = await custMgtApi.memberAdminDetail(this.row); @@ -457,10 +458,17 @@ export default { // formReset() { // 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.svcUserId = this.userId; - console.log(this.$refs.form); + //console.log(this.$refs.form); this.$refs.form.submit(); }, confirmCalbackFnc(props) { diff --git a/frontend/src/modules/custMgt/views/MemberDetail.vue b/frontend/src/modules/custMgt/views/MemberDetail.vue index 5a66f6a..5eaa485 100644 --- a/frontend/src/modules/custMgt/views/MemberDetail.vue +++ b/frontend/src/modules/custMgt/views/MemberDetail.vue @@ -269,6 +269,14 @@ export default { this.$refs._email.focus(); }, 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.svcUserId = this.userId; this.$refs.form.submit();