|
|
|
@ -3,74 +3,112 @@ |
|
|
|
<p class="title">标的挂牌</p> |
|
|
|
<!-- <p class="title_info">第三方服务机构开户用于服务平台中标的托管时的标的价格评估或标的价值评估,需有相关资质机构方能注册成功。</p> --> |
|
|
|
<div class="examine_content"> |
|
|
|
<img src="../../assets/img/examine_img.png" alt="" class="examine_img" v-if="check_status==0"> |
|
|
|
<img src="../../assets/img/examine_img1.png" alt="" class="examine_img" v-else-if="check_status==2"> |
|
|
|
<img src="../../assets/img/examine_img.png" alt="" class="examine_img" v-if="assetLists.asset_check_status==0 ||check_status==0"> |
|
|
|
<img src="../../assets/img/examine_img1.png" alt="" class="examine_img" v-else-if="assetLists.asset_check_status==2 "> |
|
|
|
<p class="examine_tips"> |
|
|
|
<template v-if="check_status==0"> |
|
|
|
<template v-if="check_status==0 "> |
|
|
|
<span >挂牌资料已经提交,请耐心等待审核</span> |
|
|
|
</template> |
|
|
|
<template v-else-if="check_status==2"> |
|
|
|
<span >审核失败!请重新提交资料</span> |
|
|
|
<span class="examine_tips_span" @click="checkStatus" >重新提交</span> |
|
|
|
<template v-else-if="assetLists.asset_check_status==0 && assetLists.payment_document=='' ||assetLists.asset_check_status==2" > |
|
|
|
<span v-if="assetLists.asset_check_status==0"> |
|
|
|
挂牌资料审核已通过,您需要支付挂牌费用 |
|
|
|
<span style="color:red">({{assetLists.cartellino_money}}元)</span> |
|
|
|
,请上传支付凭证 |
|
|
|
</span> |
|
|
|
<span v-else-if="assetLists.asset_check_status==2 && assetLists.payment_document==''">挂牌费的支付凭证未通过审核,请查看原因重新提交</span> |
|
|
|
<span v-else>挂牌费的支付凭证已重新提交,请耐心等待审核</span> |
|
|
|
<el-upload |
|
|
|
class="upload-demo" |
|
|
|
:action="action" |
|
|
|
:show-file-list="false" |
|
|
|
list-type="picture" |
|
|
|
:on-change="fileChange" |
|
|
|
:on-success="(res)=>{handleAvatarSuccess(res)}" |
|
|
|
> |
|
|
|
<span class="examine_tips_span" >{{assetLists.asset_check_status==0? '点击上传':'重新上传'}}</span> |
|
|
|
</el-upload> |
|
|
|
</template> |
|
|
|
<template v-else-if="assetLists.asset_check_status==0 && assetLists.payment_document!='' "> |
|
|
|
<span >挂牌费的支付凭证用已经提交,请耐心等待审核</span> |
|
|
|
</template> |
|
|
|
</p> |
|
|
|
<div class="error_msg" v-if="check_status==2 && ruleForm.check_message!=''"> |
|
|
|
<div class="error_msg" v-if="assetLists.asset_check_status==2 "> |
|
|
|
<p>失败原因:</p> |
|
|
|
<p v-html="ruleForm.check_message"></p> |
|
|
|
<p >{{assetLists.message}}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import {} from '../../api/index'; |
|
|
|
import {assetList,uploadPayFile} from '../../api/index'; |
|
|
|
export default { |
|
|
|
data(){ |
|
|
|
return{ |
|
|
|
check_status:0, |
|
|
|
ruleForm:{} |
|
|
|
ruleForm:{}, |
|
|
|
query:{ |
|
|
|
id:'', |
|
|
|
payment_document:'' |
|
|
|
}, |
|
|
|
assetLists:{}, |
|
|
|
host:'http://wenhua.xingtongworld.com', |
|
|
|
action:'http://wenhua.xingtongworld.com/api/Index/uploadimg', |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
created(){ |
|
|
|
if (this.$route.query.id) { |
|
|
|
this.query.id=this.$route.query.id |
|
|
|
this.assetList() |
|
|
|
} |
|
|
|
// this.getAccountInfo() |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
checkStatus(){ |
|
|
|
this.check_status=-1 |
|
|
|
fileChange(file){ |
|
|
|
const typeArr = ['image/png', 'image/gif', 'image/jpeg', 'image/jpg']; |
|
|
|
const isJPG = typeArr.indexOf(file.raw.type) !== -1; |
|
|
|
const isLt3M = file.size / 1024 / 1024 < 10; |
|
|
|
if (!isJPG) { |
|
|
|
this.$message.error('只能是图片!'); |
|
|
|
this.$refs.upload.clearFiles(); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!isLt3M) { |
|
|
|
this.$message.error('上传图片大小不能超过 10MB!'); |
|
|
|
this.$refs.upload.clearFiles(); |
|
|
|
return; |
|
|
|
} |
|
|
|
}, |
|
|
|
//获取资料信息 |
|
|
|
getAccountInfo(){ |
|
|
|
let data={ |
|
|
|
open_account_type:'third_party' |
|
|
|
handleAvatarSuccess(res) { |
|
|
|
console.info(res) |
|
|
|
if(res.code == 1){ |
|
|
|
let url=this.host + res.data.img_url |
|
|
|
this.query.payment_document=url |
|
|
|
uploadPayFile(this.query).then(res=>{ |
|
|
|
console.info(res) |
|
|
|
if (res.code==100) { |
|
|
|
this.$message.success('上传成功!'); |
|
|
|
this.assetList() |
|
|
|
}else{ |
|
|
|
this.$message.error(res.msg); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
getAccountInfo(data).then(res => { |
|
|
|
}, |
|
|
|
assetList(){ |
|
|
|
assetList(this.query).then(res => { |
|
|
|
console.info(res) |
|
|
|
if (res.code==100) { |
|
|
|
this.check_status=res.data.check_status |
|
|
|
if(res.data!=null){ |
|
|
|
this.disabled=true |
|
|
|
// this.changeRadio(res.data.account_type) |
|
|
|
res.data.establish_time=res.data.establish_time*1000 |
|
|
|
res.data.check_message = res.data.check_message.replace(/\n/gm, "<br/>") |
|
|
|
// res.data.else_file=JSON.parse(res.data.else_file) |
|
|
|
for(let key in res.data){ |
|
|
|
for(let item in this.ruleForm){ |
|
|
|
if(key==item){ |
|
|
|
this.ruleForm[item]=res.data[key] |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
this.upList.forEach((v,i)=>{ |
|
|
|
if(key==v.key){ |
|
|
|
v.type=1; |
|
|
|
v.url=res.data[key] |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
if(res.code==100){ |
|
|
|
this.assetLists=res.data.list[0]; |
|
|
|
this.check_status=1 |
|
|
|
}else{ |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
checkStatus(){ |
|
|
|
this.check_status=-1 |
|
|
|
}, |
|
|
|
|
|
|
|
submit(){ |
|
|
|
console.info(this.ruleForm) |
|
|
|
|
|
|
|
@ -102,6 +140,17 @@ export default { |
|
|
|
.body{ |
|
|
|
margin-top: 20px; |
|
|
|
} |
|
|
|
.upload-demo{ |
|
|
|
margin-top: 10px; |
|
|
|
} |
|
|
|
.error_msg{ |
|
|
|
text-align: left; |
|
|
|
color: black; |
|
|
|
margin-top: 20px; |
|
|
|
} |
|
|
|
.error_msg p{ |
|
|
|
margin-bottom: 10px; |
|
|
|
} |
|
|
|
.examine_tips_span{ |
|
|
|
display: inline-block; |
|
|
|
color: #C94C4C; |
|
|
|
|