|
@@ -193,10 +193,10 @@
|
|
|
<div class="contain">
|
|
|
<p class="user-msg">欢迎您,{{username}} !</p>
|
|
|
<div class="whole-line">
|
|
|
- <button v-if="hahashenqingnimabi == 0" class="whole-btn cursor" @click="golink('/apply')">申请经纪商</button>
|
|
|
- <button v-if="hahashenqingnimabi == 1" class="whole-btn cursor" @click="golink('/apply')">您的申请正在审核中</button>
|
|
|
- <button v-if="hahashenqingnimabi == 2" class="whole-btn cursor" @click="golink('/apply')">您的申请已通过</button>
|
|
|
- <button v-if="hahashenqingnimabi == 3" class="whole-btn cursor" @click="golink('/apply')">您的申请已被拒绝</button>
|
|
|
+ <button v-if="applicationStatus == 0" class="whole-btn cursor" @click="golink('/apply')">申请经纪商</button>
|
|
|
+ <button v-if="applicationStatus == 1" class="whole-btn cursor" @click="golink('/apply')">您的申请正在审核中</button>
|
|
|
+ <button v-if="applicationStatus == 2" class="whole-btn cursor" @click="golink('/apply')">您的申请已通过</button>
|
|
|
+ <button v-if="applicationStatus == 3" class="whole-btn cursor" @click="golink('/apply')">您的申请已被拒绝</button>
|
|
|
<!-- <button class="whole-btn cursor" @click="golink('/tradecenter')">立即交易</button> -->
|
|
|
</div>
|
|
|
<div class="operate-line">
|
|
@@ -218,8 +218,8 @@
|
|
|
|
|
|
|
|
|
<!-- 验证码 -->
|
|
|
- <div class="msgBox" v-if="fuckfuck">
|
|
|
- <div id="TCaptcha" v-if="fuckfuck" style="width:300px;height:40px;"></div>
|
|
|
+ <div class="msgBox" v-if="showGraphCode">
|
|
|
+ <div id="TCaptcha" style="width:300px;height:40px;"></div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -271,9 +271,9 @@ export default{
|
|
|
ticketNum:'',
|
|
|
businessId:'',
|
|
|
dataSrc:'',
|
|
|
- fuckfuck:false,
|
|
|
+ showGraphCode:false,
|
|
|
alertStatus:false,
|
|
|
- hahashenqingnimabi:0,
|
|
|
+ applicationStatus:0,
|
|
|
}
|
|
|
},
|
|
|
components:{
|
|
@@ -362,16 +362,16 @@ export default{
|
|
|
if(res.data.isApplyed == 1){//以申请
|
|
|
|
|
|
if(res.data.info.status == 0){//待审核
|
|
|
- this.hahashenqingnimabi = 1;
|
|
|
+ this.applicationStatus = 1;
|
|
|
}else if(res.data.info.status == 1){//以通过
|
|
|
- this.hahashenqingnimabi = 2;
|
|
|
+ this.applicationStatus = 2;
|
|
|
}else if(res.data.info.status == -1){//以拒绝
|
|
|
- this.hahashenqingnimabi = 3;
|
|
|
+ this.applicationStatus = 3;
|
|
|
}
|
|
|
}else{//未申请
|
|
|
- this.hahashenqingnimabi = 0;
|
|
|
+ this.applicationStatus = 0;
|
|
|
}
|
|
|
- console.log(this.hahashenqingnimabi)
|
|
|
+ console.log(this.applicationStatus)
|
|
|
}else{
|
|
|
|
|
|
}
|
|
@@ -383,7 +383,7 @@ export default{
|
|
|
console.log(this.dataSrc)
|
|
|
dom.src = this.dataSrc;
|
|
|
document.getElementsByTagName('body')[0].appendChild(dom);
|
|
|
- this.fuckfuck = true;
|
|
|
+ this.showGraphCode = true;
|
|
|
setTimeout(()=>{
|
|
|
let capOption={callback :this.cbfn,type:'popup'};
|
|
|
capInit(document.getElementById("TCaptcha"), capOption);
|
|
@@ -410,7 +410,7 @@ export default{
|
|
|
})
|
|
|
this.ticketNum = retJson.ticket;
|
|
|
this.pwdSend();
|
|
|
- this.fuckfuck=false;
|
|
|
+ this.showGraphCode=false;
|
|
|
sessionStorage.setItem('alertStatus','')
|
|
|
sessionStorage.setItem('dataSrc','')
|
|
|
sessionStorage.setItem('businessId','')
|
|
@@ -419,7 +419,7 @@ export default{
|
|
|
}else{
|
|
|
//用户关闭验证码页面,没有验证
|
|
|
capDestroy();
|
|
|
- this.fuckfuck=false;
|
|
|
+ this.showGraphCode=false;
|
|
|
sessionStorage.setItem('alertStatus','')
|
|
|
sessionStorage.setItem('dataSrc','')
|
|
|
sessionStorage.setItem('businessId','')
|