발송내역 수정

This commit is contained in:
USER
2022-07-28 17:16:59 +09:00
parent d5bf4444a3
commit f3fb920b35
7 changed files with 191 additions and 180 deletions

View File

@@ -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) {