mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:02:58 +09:00
수정건 수정
This commit is contained in:
@@ -255,14 +255,15 @@ export default {
|
||||
},
|
||||
created() {
|
||||
if (this.$route.params.serviceId != null) {
|
||||
this.$store.commit('dataStore/updateUserId', this.$route.params.serviceId);
|
||||
this.$store.commit('dataStore/updateDataStore', this.$route.params.serviceId);
|
||||
this.userId = this.$route.params.serviceId;
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
} else {
|
||||
var userId2 = this.$store.getters['dataStore/getUserId'];
|
||||
this.userId = userId2;
|
||||
this.memberDetail(this.userId);
|
||||
}
|
||||
}
|
||||
// else {
|
||||
// var userId2 = this.$store.getters['dataStore/getUserId'];
|
||||
// this.userId = userId2;
|
||||
// this.memberDetail(this.userId);
|
||||
// }
|
||||
},
|
||||
destroyed() {
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
@@ -274,7 +275,7 @@ export default {
|
||||
searchText1: '',
|
||||
},
|
||||
});
|
||||
this.$store.commit('dataStore/updateUserId', '');
|
||||
this.$store.commit('dataStore/updateDataStore', '');
|
||||
},
|
||||
mounted() {},
|
||||
computed: {
|
||||
@@ -375,6 +376,7 @@ export default {
|
||||
},
|
||||
// 저장 후 부모창 호출.
|
||||
toComplete() {
|
||||
this.row.serviceId = this.userId;
|
||||
this.$router.push({ name: 'memberList', params: this.row });
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user