mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:59:22 +09:00
수정건 수정
This commit is contained in:
@@ -239,14 +239,22 @@ export default {
|
||||
if(this.$route.params.serviceId != null){ // 리스트에서 상세 호출시
|
||||
this.$store.commit('dataStore/updateDataStore', this.$route.params.serviceId);
|
||||
this.subsDetail(this.$route.params.serviceId);
|
||||
this.setMenuActive();
|
||||
}else{ // 상세 화면에서 새로고침 호출시
|
||||
var serviceId = this.$store.getters["dataStore/getDataStore"];
|
||||
this.subsDetail(serviceId);
|
||||
}
|
||||
//this.setMenuActive();
|
||||
}
|
||||
// else{ // 상세 화면에서 새로고침 호출시
|
||||
// var serviceId = this.$store.getters["dataStore/getDataStore"];
|
||||
// //this.row.serviceId = serviceId;
|
||||
// //return $router.push({ path: '/custMgt/subsDetail', params: this.row});
|
||||
// //if(serviceId == ''){
|
||||
// //window.top.location.href = '/custMgt/subsList';
|
||||
// //this.
|
||||
// //$router.push({ path: '/custMgt/subsList', params: })
|
||||
// //}
|
||||
// this.subsDetail(serviceId);
|
||||
// }
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
destroyed() {
|
||||
this.$store.commit('dataStore/updateDataStore', '');
|
||||
},
|
||||
methods: {
|
||||
@@ -265,7 +273,8 @@ export default {
|
||||
this.row.startDt = '';
|
||||
this.row.endDt = '';
|
||||
this.row.page = 1;
|
||||
|
||||
this.row.serviceId = this.$route.params.serviceId;
|
||||
console.log(this.row);
|
||||
this.$router.push({name: 'subsList', params: this.row});
|
||||
},
|
||||
async subsDetail(serviceId) {
|
||||
|
||||
Reference in New Issue
Block a user