수정건 수정

This commit is contained in:
USER
2022-08-03 17:40:17 +09:00
parent abb5db5b97
commit 811986fa6d
24 changed files with 327 additions and 161 deletions

View File

@@ -136,10 +136,14 @@ export default {
created(){
if(this.$route.params.serviceId != null){
this.$store.commit('dataStore/updateUserId', this.$route.params.serviceId);
this.userId = this.$route.params.serviceId;
console.log('created : '+this.userId);
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;
console.log('created2 : '+this.userId);
this.memberDetail(this.userId);
}
},
destroyed() {
@@ -150,6 +154,7 @@ export default {
},
methods: {
async memberDetail(serviceId){
this.svcUserId = serviceId;
this.row.userId = serviceId;
try {
const response = await custMgtApi.memberDetail(this.row);
@@ -281,9 +286,11 @@ export default {
this.$refs._email.focus();
},
homeLogin(){
this.$refs.form.action = this.homePageUrl;
this.$refs.form.action = this.homePageUrl;
this.svcUserId = this.userId
this.$refs.form.submit()
console.log('--------');
console.log(this.svcUserId);
this.$refs.form.submit();
},
},
};