Commit 5f982893 authored by lixy's avatar lixy

优化申请结果页面

parent d12255c4
...@@ -34,8 +34,10 @@ ...@@ -34,8 +34,10 @@
</div> </div>
<!--参与结果页--> <!--参与结果页-->
<div class="shoppings main-container flex-jcc-aic-cl" v-if="optionName=='crowdResult'"> <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"/> <img class="success-tip" v-if="img" src="../../../assets/images/success.png"/>
<h5>感谢您的参与,后续会有专门的客服与您联系!</h5> <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> <el-button @click="goBack()">返回股权众筹页</el-button>
</div> </div>
</div> </div>
...@@ -109,6 +111,7 @@ ...@@ -109,6 +111,7 @@
companyId: undefined, companyId: undefined,
count: undefined count: undefined
}, },
img : !0,
companyName: "",//公司名称 companyName: "",//公司名称
rules: { rules: {
name: [ name: [
...@@ -187,8 +190,14 @@ ...@@ -187,8 +190,14 @@
checkCount(that.form.count); checkCount(that.form.count);
if (valid && isPhone) { if (valid && isPhone) {
stockApply(this.form) stockApply(this.form)
.then(() => { .then(res => {
that.optionName = "crowdResult" that.optionName = "crowdResult";
if(res.code==1){
that.img = !0;
} else {
that.img = !1;
}
}) })
} else { } else {
return false; 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