mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 04:11:27 +09:00
서비스관리 / 알림톡 템플릿관리 추가
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<h3 class="title">청약고객관리</h3>
|
||||
<p class="breadcrumb">고객관리 > 청약고객관리 > 회원관리</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="table table_form">
|
||||
<form autocomplete="off">
|
||||
<table>
|
||||
@@ -92,7 +92,7 @@
|
||||
<div class="button_group">
|
||||
<button type="button" class="button blue add" @click="memberInsertPopOpen();">사용자 ID 생성</button>
|
||||
<button type="button" class="button blue add" @click="excelPopOpen();">사용자 ID 대량생성</button>
|
||||
<button type="button" class="button white del" @click="memberDelete">삭제</button>
|
||||
<button type="button" class="button white del" @click="memberDelete();">삭제</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -227,9 +227,10 @@ export default {
|
||||
},
|
||||
set(value) {
|
||||
const selected = [];
|
||||
|
||||
if (value) {
|
||||
this.list.forEach((com) => {
|
||||
//var chkList = {userId :com.userId};
|
||||
//console.log(chkList)
|
||||
selected.push(com.userId);
|
||||
});
|
||||
}
|
||||
@@ -322,18 +323,18 @@ export default {
|
||||
this.$refs.memoTatalListPop.memoTotalModalOpen(this.row);
|
||||
},
|
||||
async memberDelete(){
|
||||
// console.log(this.selected)
|
||||
|
||||
if(window.confirm('삭제 하시겠습니까?')){
|
||||
this.row.list = this.selected;
|
||||
var serviceId = this.adminId;
|
||||
this.row.list = this.selected.map((row)=>({userId:row}));
|
||||
this.row.adminId = this.adminId;
|
||||
console.log(this.row);
|
||||
try {
|
||||
const response = await custMgtApi.deleteUser(this.row);
|
||||
let response = await custMgtApi.deleteUser(this.row);
|
||||
const result = response.data;
|
||||
|
||||
if (result != null && result.retCode == "0000") {
|
||||
|
||||
//alert("저장 완료하였습니다.");
|
||||
|
||||
alert("저장 완료하였습니다.");
|
||||
this.memberDetail(serviceId);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
Reference in New Issue
Block a user