mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 06:52:01 +09:00
수정건 수정
This commit is contained in:
@@ -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();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user