발신 번호 수정

This commit is contained in:
USER
2022-07-19 19:13:54 +09:00
parent 0bf17706a8
commit 3be9f3df5a
5 changed files with 78 additions and 32 deletions

View File

@@ -222,10 +222,21 @@ export default {
},
created() {
console.log(this.$route.params.userSeq);
this.loginId = this.$route.params.loginId;
//this.$store.commit("login/isLogin", true);
this.getExcelHeader();
this.channelDetail(this.$route.params.userSeq);
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.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);
}
},
methods: {
async channelDetail(userSeq) {
this.row.userSeq = userSeq;