Commit 5f982893 authored by lixy's avatar lixy

优化申请结果页面

parent d12255c4
......@@ -34,8 +34,10 @@
</div>
<!--参与结果页-->
<div class="shoppings main-container flex-jcc-aic-cl" v-if="optionName=='crowdResult'">
<img class="success-tip" src="http://218.10.105.196:9007/ipc//img/photo.png"/>
<h5>感谢您的参与,后续会有专门的客服与您联系!</h5>
<img class="success-tip" v-if="img" src="../../../assets/images/success.png"/>
<img class="success-tip" v-else="!img" src="../../../assets/images/error.png"/>
<h5 v-if="img">感谢您的参与,后续会有专门的客服与您联系!</h5>
<h5 v-if="!img">出错啦,请联系客服!</h5>
<el-button @click="goBack()">返回股权众筹页</el-button>
</div>
</div>
......@@ -109,6 +111,7 @@
companyId: undefined,
count: undefined
},
img : !0,
companyName: "",//公司名称
rules: {
name: [
......@@ -187,8 +190,14 @@
checkCount(that.form.count);
if (valid && isPhone) {
stockApply(this.form)
.then(() => {
that.optionName = "crowdResult"
.then(res => {
that.optionName = "crowdResult";
if(res.code==1){
that.img = !0;
} else {
that.img = !1;
}
})
} else {
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment