TC 수정

This commit is contained in:
kimre
2022-07-19 19:52:34 +09:00
parent 3be9f3df5a
commit 0f953fb620
6 changed files with 56 additions and 40 deletions

View File

@@ -236,7 +236,10 @@ export default {
this.channelDetail(userSeq); this.channelDetail(userSeq);
} }
}, },
destroyed() {
this.$store.commit('dataStore/updateUserSeq', '');
this.$store.commit('dataStore/updateUserId', '');
},
methods: { methods: {
async channelDetail(userSeq) { async channelDetail(userSeq) {
this.row.userSeq = userSeq; this.row.userSeq = userSeq;

View File

@@ -253,7 +253,13 @@ export default {
ValidationConfirmPop, ValidationConfirmPop,
}, },
created() { 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() { destroyed() {
this.$store.commit('searchcondition/updateSearchCondition', { this.$store.commit('searchcondition/updateSearchCondition', {
@@ -265,6 +271,7 @@ export default {
searchText1: '', searchText1: '',
}, },
}); });
this.$store.commit('dataStore/updateUserId', '');
}, },
mounted() {}, mounted() {},
computed: { computed: {

View File

@@ -133,10 +133,16 @@ export default {
ValidationConfirmPop, ValidationConfirmPop,
}, },
created(){ 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() { destroyed() {
this.$store.commit('dataStore/updateUserId', '');
}, },
mounted() { mounted() {

View File

@@ -46,7 +46,7 @@
<span>{{ numList.length }}</span> <span>{{ numList.length }}</span>
</div> </div>
<div class="radio_group"> <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> <label for="popup_radio13">전체승인</label>
<input type="radio" name="state" ref="rejRadio" value="03" id="popup_radio14" @change="allApprSttus($event)"> <input type="radio" name="state" ref="rejRadio" value="03" id="popup_radio14" @change="allApprSttus($event)">
<label for="popup_radio14">전체반려</label> <label for="popup_radio14">전체반려</label>
@@ -55,7 +55,7 @@
<ul> <ul>
<li v-for="(item, idx) in numList">{{idx+1}}. {{ item.sndrno }} <li v-for="(item, idx) in numList">{{idx+1}}. {{ item.sndrno }}
<div class="select-btn"> <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> <button :class="{'btn-pcolor' : item.sttusCd === '03', 'btn-default' : item.sttusCd === '01' || item.sttusCd === '02'}" @click="change(idx, '03')">반려</button>
</div> </div>
</li> </li>

View File

@@ -456,7 +456,7 @@ public class SendNumMgtService {
int apvCnt = 0; int apvCnt = 0;
int rejtCnt = 0; int rejtCnt = 0;
for(UpdateApprSendNumber updateApprSendNumber: updateApprReqDto.getList()){ for(UpdateApprSendNumber updateApprSendNumber: updateApprReqDto.getList()){
if(StringUtils.equals(Const.SNDRNO_STTUS_CD_APPR, updateApprSendNumber.getSttusCd())){ if(StringUtils.equals(Const.SNDRNO_STTUS_CD_COMPLETED, updateApprSendNumber.getSttusCd())){
apvCnt++; apvCnt++;
}else if(StringUtils.equals(Const.SNDRNO_STTUS_CD_REJECT, updateApprSendNumber.getSttusCd())){ }else if(StringUtils.equals(Const.SNDRNO_STTUS_CD_REJECT, updateApprSendNumber.getSttusCd())){
rejtCnt++; rejtCnt++;