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="get" ref="form">
|
||||
<input type="hidden" name="svcUserId" id="svcUserId" v-model="svcUserId" />
|
||||
<input type="hidden" name="ezSvcUserAuthKey" id="ezSvcUserAuthKey" v-model="ezSvcUserAuthKey" />
|
||||
</form>
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
svcUserId: '',
|
||||
ezSvcUserAuthKey: '',
|
||||
homePageUrl: '',
|
||||
isActive: true,
|
||||
isActive: true
|
||||
//applyTbStyle: 'cursor: default;',
|
||||
};
|
||||
},
|
||||
@@ -256,10 +256,12 @@ export default {
|
||||
created() {
|
||||
if(this.$route.params.serviceId != null){
|
||||
this.$store.commit('dataStore/updateUserId', this.$route.params.serviceId);
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
this.userId = this.$route.params.serviceId;
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
}else{
|
||||
var userId = this.$store.getters["dataStore/getUserId"];
|
||||
this.memberDetail(userId);
|
||||
var userId2 = this.$store.getters["dataStore/getUserId"];
|
||||
this.userId = userId2;
|
||||
this.memberDetail(this.userId);
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
@@ -302,7 +304,7 @@ export default {
|
||||
valConfirm(props) {
|
||||
this.$refs.commmonModal.confirmModalOpen(props);
|
||||
},
|
||||
async memberDetail(serviceId) {
|
||||
async memberDetail(serviceId) {
|
||||
this.row.userId = serviceId;
|
||||
try {
|
||||
const response = await custMgtApi.memberAdminDetail(this.row);
|
||||
@@ -331,7 +333,7 @@ export default {
|
||||
console.log('userTotalCnt:' + result.data.list.length);
|
||||
this.totalItems = result.data.paging.totalCnt;
|
||||
this.homePageUrl = result.data.homePageUrl;
|
||||
this.ezSvcUserAuthKey = result.data.authKey;
|
||||
this.ezSvcUserAuthKey = result.data.authKey;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
@@ -454,9 +456,9 @@ export default {
|
||||
formReset() {
|
||||
Object.assign(this.$data, this.$options.data());
|
||||
},
|
||||
homeLogin() {
|
||||
homeLogin() {
|
||||
this.$refs.form.action = this.homePageUrl;
|
||||
this.svcUserId = this.userId;
|
||||
this.svcUserId = this.userId;
|
||||
this.$refs.form.submit();
|
||||
},
|
||||
confirmCalbackFnc(props) {
|
||||
|
||||
@@ -135,13 +135,13 @@ export default {
|
||||
this.$router.push({ name: 'updatePassword',params: {userId : this.userId}});
|
||||
}else if(rsp.retCode == '4003') { // ID 조회 없음.
|
||||
this.row.title = '로그인 실패';
|
||||
this.row.msg1 = '등록되지 않은 아이디입니다.';
|
||||
this.row.msg2 = '아이디를 다시 확인하세요';
|
||||
this.row.msg1 = '아이디, 비밀번호를 확인해 주세요.';
|
||||
this.$refs.commonModal.alertModalOpen(this.row);
|
||||
} else if(rsp.retCode == '4004') { // ID/PWD 불일치
|
||||
this.row.title = '비밀번호 오류';
|
||||
this.row.msg1 = '비밀번호를 확인해주세요.';
|
||||
|
||||
//this.row.title = '비밀번호 오류';
|
||||
//this.row.msg1 = '비밀번호를 확인해주세요.';
|
||||
this.row.title = '로그인 실패';
|
||||
this.row.msg1 = '아이디, 비밀번호를 확인해 주세요.';
|
||||
this.$refs.commonModal.alertModalOpen(this.row);
|
||||
} else if(rsp.retCode == '4005') { // ID/PWD 불일치 횟수초과로 계정 잠김 4005
|
||||
this.row.title = '로그인 실패';
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
<div class="search_wrap">
|
||||
<div class="group">
|
||||
<div class="input_box cal one essential">
|
||||
<label for="right" class="label"><span>*</span>발송일</label>
|
||||
<div class="term">
|
||||
<label for="right" class="label"><span>*</span>발송일</label>
|
||||
<span class="custom_input icon_date">
|
||||
<vuejs-datepicker
|
||||
:language="ko"
|
||||
@@ -20,8 +19,7 @@
|
||||
@selected="selectedStartDate(0)"
|
||||
@closed="closeDate('start')"
|
||||
></vuejs-datepicker>
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
<div class="select_box id">
|
||||
<label for="right" class="label">요청채널</label>
|
||||
@@ -50,7 +48,7 @@
|
||||
<div class="input_box">
|
||||
<label for="right" class="label">고객사명</label>
|
||||
<input class="search-box" type="text" id="search" placeholder="검색어 입력" v-model.trim="grid.params.searchText3"
|
||||
@keypress="onlyName" @input="onlyName" @keyup.enter="search" ref="_searchText3" maxlength="100">
|
||||
@keypress="onlyText" @input="onlyText" @keyup.enter="search" ref="_searchText3" maxlength="100">
|
||||
</div>
|
||||
<button type="button" class="button grey" @click="search">조회</button>
|
||||
</div>
|
||||
@@ -173,17 +171,17 @@ export default {
|
||||
|
||||
columns: [
|
||||
{name: 'no', header: 'NO', align: 'center', width: '5%'},
|
||||
{name: '', header: '발송일자', align: 'left', width: '11%'},
|
||||
{name: '', header: '고객사명', align: 'left', width: '9%'},
|
||||
{name: '', header: '발송아이디(사용자ID)', align: 'center', width: '9%'},
|
||||
{name: '', header: '수신번호', align: 'center', width: '11%'},
|
||||
{name: '', header: '발신번호', align: 'center', width: '11%'},
|
||||
{name: '', header: '요청채널', align: 'center', width: '5%'},
|
||||
{name: '', header: '최종채널', align: 'center', width: '5%'},
|
||||
{name: '', header: '이통사', align: 'center', width: '5%'},
|
||||
{name: '', header: '결과(코드)', align: 'center', width: '9%'},
|
||||
{name: '', header: '요청일시', align: 'center', width: '10%'},
|
||||
{name: '', header: '완료일시', align: 'center', width: '10%'},
|
||||
{name: 'sentDate', header: '발송일자', align: 'center', width: '11%'},
|
||||
{name: 'custNm', header: '고객사명', align: 'center', width: '9%'},
|
||||
{name: 'userId', header: '발송아이디(사용자ID)', align: 'center', width: '9%'},
|
||||
{name: 'phone', header: '수신번호', align: 'center', width: '11%'},
|
||||
{name: 'callbackNumber', header: '발신번호', align: 'center', width: '11%'},
|
||||
{name: 'reqProduct', header: '요청채널', align: 'center', width: '5%'},
|
||||
{name: 'doneCh', header: '최종채널', align: 'center', width: '5%'},
|
||||
{name: 'doneTelco', header: '이통사', align: 'center', width: '5%'},
|
||||
{name: 'doneCode', header: '결과(코드)', align: 'center', width: '9%'},
|
||||
{name: 'reqDate', header: '요청일시', align: 'center', width: '10%'},
|
||||
{name: 'doneDate', header: '완료일시', align: 'center', width: '10%'},
|
||||
|
||||
],
|
||||
noDataStr: '검색 결과가 없습니다.',
|
||||
@@ -252,8 +250,8 @@ export default {
|
||||
methods: {
|
||||
search: function (isKeep) {
|
||||
if (this.initMode) {
|
||||
this.grid.params.phone = 99999999999;
|
||||
this.grid.params.callbackNumber = 99999999999;
|
||||
this.grid.params.phone = '';
|
||||
this.grid.params.callbackNumber = '';
|
||||
} else {
|
||||
if (this.doValidate()) {
|
||||
this.grid.params.sentDate = moment(this.startDate).format('YYYYMMDD');
|
||||
|
||||
Reference in New Issue
Block a user