수정건 수정

This commit is contained in:
USER
2022-09-05 15:58:44 +09:00
parent 50555507b0
commit 0360eff3b6
8 changed files with 102 additions and 44 deletions

View File

@@ -210,29 +210,30 @@ export default {
custTyNm: '',
}
},
props: {
userSeq: {
type: String,
default: "",
},
},
// props: {
// userSeq: {
// type: String,
// default: "",
// },
// },
components: {
channelMgtApi,
AdminNmPop,
},
created() {
this.getExcelHeader();
if(this.$route.params.userSeq != null){ //리스트에서 상세 호출
this.loginId = this.$route.params.loginId;
if(this.$route.params.userSeq != null){ //리스트에서 상세 호출
//this.loginId = this.$route.params.loginId;
this.$store.commit('dataStore/updateUserSeq', this.$route.params.userSeq);
this.$store.commit('dataStore/updateUserId', this.$route.params.userId);
//this.$store.commit('dataStore/updateUserId', this.$route.params.userId);
this.channelDetail(this.$route.params.userSeq);
}else{
var userSeq = this.$store.getters["dataStore/getUserSeq"];
var userId = this.$store.getters["dataStore/getUserId"];
this.loginId = userId;
this.channelDetail(userSeq);
}
}
// else{
// var userSeq = this.$store.getters["dataStore/getUserSeq"];
// var userId = this.$store.getters["dataStore/getUserId"];
// this.loginId = userId;
// this.channelDetail(userSeq);
// }
},
destroyed() {
this.$store.commit('dataStore/updateUserSeq', '');
@@ -356,6 +357,9 @@ export default {
}
}, // end of getExcelDataDown
goChannelList() {
// this.row.userSeq = this.$route.params.userSeq;
// alert(this.row.userSeq);
this.$router.push({name: 'channelList'});
},
searchIDPopOpen: function () {