mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 19:25:44 +09:00
TC 수정
This commit is contained in:
@@ -236,7 +236,10 @@ export default {
|
||||
this.channelDetail(userSeq);
|
||||
}
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
this.$store.commit('dataStore/updateUserSeq', '');
|
||||
this.$store.commit('dataStore/updateUserId', '');
|
||||
},
|
||||
methods: {
|
||||
async channelDetail(userSeq) {
|
||||
this.row.userSeq = userSeq;
|
||||
|
||||
@@ -253,7 +253,13 @@ export default {
|
||||
ValidationConfirmPop,
|
||||
},
|
||||
created() {
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
if(this.$route.params.serviceId != null){
|
||||
this.$store.commit('dataStore/updateUserId', this.$route.params.serviceId);
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
}else{
|
||||
var userId = this.$store.getters["dataStore/getUserId"];
|
||||
this.memberDetail(userId);
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
this.$store.commit('searchcondition/updateSearchCondition', {
|
||||
@@ -265,6 +271,7 @@ export default {
|
||||
searchText1: '',
|
||||
},
|
||||
});
|
||||
this.$store.commit('dataStore/updateUserId', '');
|
||||
},
|
||||
mounted() {},
|
||||
computed: {
|
||||
|
||||
@@ -133,10 +133,16 @@ export default {
|
||||
ValidationConfirmPop,
|
||||
},
|
||||
created(){
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
if(this.$route.params.serviceId != null){
|
||||
this.$store.commit('dataStore/updateUserId', this.$route.params.serviceId);
|
||||
this.memberDetail(this.$route.params.serviceId);
|
||||
}else{
|
||||
var userId = this.$store.getters["dataStore/getUserId"];
|
||||
this.memberDetail(userId);
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
|
||||
this.$store.commit('dataStore/updateUserId', '');
|
||||
},
|
||||
mounted() {
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
총<span>{{ numList.length }}</span>건
|
||||
</div>
|
||||
<div class="radio_group">
|
||||
<input type="radio" name="state" ref="apprRadio" value="01" id="popup_radio13" @change="allApprSttus($event)">
|
||||
<input type="radio" name="state" ref="apprRadio" value="02" id="popup_radio13" @change="allApprSttus($event)">
|
||||
<label for="popup_radio13">전체승인</label>
|
||||
<input type="radio" name="state" ref="rejRadio" value="03" id="popup_radio14" @change="allApprSttus($event)">
|
||||
<label for="popup_radio14">전체반려</label>
|
||||
@@ -55,7 +55,7 @@
|
||||
<ul>
|
||||
<li v-for="(item, idx) in numList">{{idx+1}}. {{ item.sndrno }}
|
||||
<div class="select-btn">
|
||||
<button :class="{'btn-pcolor' : item.sttusCd === '01' || item.sttusCd === '02', 'btn-default' : item.sttusCd === '03'}" @click="change(idx, '01')">승인</button>
|
||||
<button :class="{'btn-pcolor' : item.sttusCd === '02', 'btn-default' : item.sttusCd === '01' || item.sttusCd === '03'}" @click="change(idx, '02')">승인</button>
|
||||
<button :class="{'btn-pcolor' : item.sttusCd === '03', 'btn-default' : item.sttusCd === '01' || item.sttusCd === '02'}" @click="change(idx, '03')">반려</button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
const state = {
|
||||
dataStore: ''
|
||||
,userSeq: ''
|
||||
,userId: ''
|
||||
}
|
||||
|
||||
const getters = {
|
||||
getDataStore: state => state.dataStore,
|
||||
getUserSeq: state => state.userSeq,
|
||||
getUserId: state => state.userId,
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
updateDataStore: (state, data) => {
|
||||
state.dataStore = data;
|
||||
},
|
||||
updateUserSeq: (state, data) => {
|
||||
state.userSeq = data;
|
||||
},
|
||||
updateUserId: (state, data) => {
|
||||
state.userId = data;
|
||||
}
|
||||
}
|
||||
|
||||
const actions = {
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
getters,
|
||||
mutations,
|
||||
actions
|
||||
const state = {
|
||||
dataStore: ''
|
||||
,userSeq: ''
|
||||
,userId: ''
|
||||
}
|
||||
|
||||
const getters = {
|
||||
getDataStore: state => state.dataStore,
|
||||
getUserSeq: state => state.userSeq,
|
||||
getUserId: state => state.userId,
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
updateDataStore: (state, data) => {
|
||||
state.dataStore = data;
|
||||
},
|
||||
updateUserSeq: (state, data) => {
|
||||
state.userSeq = data;
|
||||
},
|
||||
updateUserId: (state, data) => {
|
||||
state.userId = data;
|
||||
}
|
||||
}
|
||||
|
||||
const actions = {
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
getters,
|
||||
mutations,
|
||||
actions
|
||||
};
|
||||
Reference in New Issue
Block a user