<template>
|
<div class="dataBack" v-loading="loading">
|
<el-form label-position="right" :model="form" v-show="!loading" ref="form">
|
<el-row>
|
<p class="title">基本信息</p>
|
<details-input :config='form.channelname'></details-input>
|
<details-input :config='form.cooperationmode'></details-input>
|
<details-input :config='form.channelareaname'></details-input>
|
<details-input :config='form.companybusinessregistration'></details-input>
|
<details-input :config='form.unifiedsocialcreditcode'></details-input>
|
<details-input :config='form.organizationcode'></details-input>
|
<details-input :config='form.registrationtime'></details-input>
|
<details-input :config='form.registeredcapital'></details-input>
|
<details-input :config='form.industry'></details-input>
|
<details-input :config='form.companytype'></details-input>
|
<details-input :config='form.scoptofbusiness' :isTextArea="isTextArea" class="textareaInput"></details-input>
|
<details-input :config='form.businesslife'></details-input>
|
<city-select
|
:province="form.registerprovince"
|
:citys="form.registercitys"
|
:county="form.registercounty"
|
></city-select>
|
<details-input :config='form.registrationaddress'></details-input>
|
<city-select
|
:province="form.companyprovince"
|
:citys="form.companycity"
|
:county="form.companycounty"
|
></city-select>
|
<details-input :config='form.companyaddress'></details-input>
|
<details-input :config='form.headquarterscity'></details-input>
|
<details-input :config='form.branchcompanycity'></details-input>
|
<details-input :config='form.openbankDesc'></details-input>
|
<details-input :config='form.accountname'></details-input>
|
<details-input :config='form.accountnumber'></details-input>
|
</el-row>
|
<el-row>
|
<p class="title">法人信息</p>
|
<details-input :config='form.corporationcerttype'></details-input>
|
<details-input :config='form.companyepesentitivename'></details-input>
|
<details-input :config='form.corporationcertid'></details-input>
|
</el-row>
|
<el-row>
|
<p class="title">负面信息</p>
|
<details-input :config='form.isnegativemessages'></details-input>
|
<details-input-area :config='form.badrecord' :isTextArea="isTextArea" class="textareaInput"></details-input-area>
|
</el-row>
|
<el-row>
|
<p class="title">合作信息</p>
|
<details-input :config='form.wechannelresponsibleperson'></details-input>
|
<details-input :config='form.channelresponsiblepersonname'></details-input>
|
<details-input :config='form.channelresponsiblepersoncertid'></details-input>
|
<details-input :config='form.channelresponsiblepersonjob'></details-input>
|
<details-input :config='form.channelresponsiblepersontel'></details-input>
|
<details-input :config='form.channelresponsiblepersonemail'></details-input>
|
<details-input :config='form.channelpickuppersonname1'></details-input>
|
<details-input :config='form.channelpickuppersonjob1'></details-input>
|
<details-input :config='form.channelpickuppersontel1'></details-input>
|
<details-input :config='form.channelpickuppersonemail1'></details-input>
|
<details-input :config='form.channelpickuppersonname2'></details-input>
|
<details-input :config='form.channelpickuppersonjob2'></details-input>
|
<details-input :config='form.channelpickuppersontel2'></details-input>
|
<details-input :config='form.channelpickuppersonemail2'></details-input>
|
</el-row>
|
<el-row>
|
<p class="title">专项资金收款账户</p>
|
<partner-table></partner-table>
|
</el-row>
|
</el-form>
|
</div>
|
</template>
|
|
<script>
|
import DetailsInput from './components/DetailsInput'
|
import DetailsInputArea from './components/DetailsInputArea'
|
import CitySelect from './components/CitySelect'
|
import PartnerTable from './components/PartnerTable'
|
import { qryChannelAdmitInDetailAndDeal } from '@/api/area/partner'
|
import { mapState } from 'vuex'
|
export default {
|
components: { PartnerTable, DetailsInput, CitySelect, DetailsInputArea },
|
data: function() {
|
return {
|
isTextArea: 'textarea',
|
loading: true,
|
form: {
|
cooperationmode: '',
|
channelareaname: '',
|
companybusinessregistration: '',
|
unifiedsocialcreditcode: '',
|
organizationcode: '',
|
registrationtime: '',
|
registeredcapital: '',
|
industry: '',
|
companytype: '',
|
scoptofbusiness: '',
|
businesslife: '',
|
registerprovince: '',
|
registercitys: '',
|
registercounty: '',
|
registrationaddress: '',
|
companyprovince: '',
|
companycity: '',
|
companycounty: '',
|
companyaddress: '',
|
headquarterscity: '',
|
branchcompanycity: '',
|
openbankDesc:'',
|
accountname: '',
|
accountnumber: '',
|
corporationcerttype: '',
|
companyepesentitivename: '',
|
corporationcertid: '',
|
isnegativemessages: '',
|
badrecord: '',
|
wechannelresponsibleperson: '',
|
channelresponsiblepersonname: '',
|
channelresponsiblepersoncertid: '',
|
channelresponsiblepersonjob: '',
|
channelresponsiblepersontel: '',
|
channelresponsiblepersonemail: '',
|
channelpickuppersonname1: '',
|
channelpickuppersonjob1: '',
|
channelpickuppersontel1: '',
|
channelpickuppersonemail1: '',
|
channelpickuppersonname2: '',
|
channelpickuppersonjob2: '',
|
channelpickuppersontel2: '',
|
channelpickuppersonemail2: '',
|
channelname: '',
|
}
|
}
|
},
|
created() {
|
this.initForm()
|
},
|
computed: {
|
...mapState({
|
partnerParams: state => state.risk.partnerParams
|
})
|
},
|
methods: {
|
// 初始化表单
|
async initForm() {
|
let params = {
|
serialno: this.partnerParams.serialno,
|
objectno: this.partnerParams.objectno,
|
objectType: this.partnerParams.objectType,
|
ftserialno: this.partnerParams.ftserialno,
|
}
|
let res = await qryChannelAdmitInDetailAndDeal(params)
|
this._.merge(this.form, res.result)
|
this.loading = false
|
},
|
}
|
}
|
</script>
|
|
<style lang="stylus" scoped>
|
.textareaInput{
|
width 100%
|
>>> .el-form-item {
|
height 48px
|
// width 1200px
|
margin-bottom 0
|
}
|
>>> .el-form-item__label {
|
|
}
|
>>> .el-form-item__content {
|
p {
|
// max-width 1230px
|
word-break break-all
|
}
|
.content{
|
word-wrap break-word
|
line-height 16px
|
}
|
}
|
}
|
</style>
|