<template>
<div class="app-container" :model="customInfo">
<el-row>
<el-col :span="24"><h3 class="grid-content ">客户信息</h3></el-col>
</el-row>
<el-row>
<el-col :span="8"><div class="grid-content ">姓名:{{customInfo.full_name}}</div></el-col>
<el-col :span="8"><div class="grid-content ">客户类型:{{customInfo.roelName}}</div></el-col>
<el-col :span="8"><div class="grid-content ">身份证号:{{customInfo.id_number}}</div></el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="grid-content " v-if="customInfo.auth_status=0">实名认证:未认证</div>
<div class="grid-content " v-if="customInfo.auth_status=1">实名认证:已认证</div>
</el-col>
<el-col :span="8"><div class="grid-content ">联系电话:{{customInfo.phone_number}}</div></el-col>
<el-col :span="8"><div class="grid-content ">注册时间:{{customInfo.create_time}}</div></el-col>
</el-row>
<el-row>组织信息</el-row>
<el-row v-for="organi in customInfo.organization">
<el-col :span="8"><div class="grid-content ">单位名称:{{organi.unit_name}}</div></el-col>
<el-col :span="8"><div class="grid-content ">社会信用代码:{{organi.certification}}</div></el-col>
<el-col :span="8"><div class="grid-content ">法定代表人:{{organi.full_name}}</div></el-col>
</el-row>
<el-row>开票信息</el-row>
<el-row>
<el-col :span="8"><div class="grid-content ">单位名称:</div></el-col>
<el-col :span="8"><div class="grid-content ">税号:</div></el-col>
<el-col :span="8"><div class="grid-content ">开户银行:</div></el-col>
</el-row>
<el-row>
<el-col :span="8"><div class="grid-content ">银行账户:</div></el-col>
<el-col :span="8"><div class="grid-content ">电话号码:</div></el-col>
<el-col :span="8"><div class="grid-content ">公司地址:</div></el-col>
</el-row>
<el-row>
<el-col :span="24"><h3 class="grid-content ">代理商</h3></el-col>
</el-row>
<el-row>
<el-col :span="8"><div class="grid-content ">代理商:</div></el-col>
<el-col :span="8"><div class="grid-content ">分成比例:</div></el-col>
</el-row>
<el-row>
<el-col :span="24"><h3 class="grid-content ">公证处</h3></el-col>
</el-row>
<el-row v-for="todo in customInfo.gzc">
<el-col :span="8"><div class="grid-content ">公证处:{{todo.name}}</div></el-col>
<el-col :span="8"><div class="grid-content ">分成比例:{{todo.share_proportion * 100}}%</div></el-col>
</el-row>
</div>
</template>
<script>
import request from '@/utils/request';
export default {
data(){
return{
id: '',
customInfo:{
gzc:[],
organization:[],
}
}
},
created(){
this.getCustomInfo();
},
methods:{
getCustomInfo(){
// var id = 200
request({
url:'lit/protected/lit/platform_user/userInfo/',
method: 'get',
params: {
// id: this.id
id: this.$route.query.id
}
}).then((res) => {
console.log(res)
this.customInfo =res.vo
})
}
// getCustomInfo
}
}
</script>
<style scoped>
.el-row {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #d3dce6;
}
.bg-purple-light {
background: #e5e9f2;
}
.grid-content {
min-height: 26px;
}
h3{margin: 18px 0;}
.row-bg {
padding: 10px 0;
/*background-color: #f9fafc;*/
}
</style>
