<template>
|
<div class="dataBack" v-loading="loading">
|
<el-form label-position="right" :model="form" v-show="!loading">
|
<el-row>
|
<p class="title">基本信息</p>
|
<details-input :config="form.channelareaname"></details-input>
|
<details-input :config="form.enterprisetype"></details-input>
|
<details-input :config="form.enterprisename"></details-input>
|
<details-input :config="form.reditcode"></details-input>
|
<details-input :config="form.organizationcode"></details-input>
|
<details-input :config="form.registerdate"></details-input>
|
<details-input :config="form.registeredcapital"></details-input>
|
<details-input :config="form.companytel"></details-input>
|
<details-input :config="form.industrytype"></details-input>
|
<details-input :config="form.enterprisecategory"></details-input>
|
<details-city
|
:province="form.registerprovince"
|
:citys="form.registercitys"
|
:county="form.registercounty"
|
></details-city>
|
<details-input :config="form.registeraddress"></details-input>
|
<details-input :config="form.scope"></details-input>
|
<details-city
|
:province="form.companyprovince"
|
:citys="form.companycity"
|
:county="form.companycounty"
|
></details-city>
|
<details-input :config="form.companytualaddress"></details-input>
|
<details-input :config="form.headenterprisename"></details-input>
|
<details-input :config="form.headorganizationcode"></details-input>
|
<details-input :config="form.headreditcode"></details-input>
|
<details-input :config="form.balanceaccount"></details-input>
|
<details-input :config="form.balancefictitiousaccount"></details-input>
|
</el-row>
|
<el-row>
|
<p class="title">法人信息</p>
|
<details-input :config="form.contactname"></details-input>
|
<details-input :config="form.contactcertid"></details-input>
|
<details-input :config="form.contactphone"></details-input>
|
</el-row>
|
<el-row>
|
<p class="title" v-show="manageForm">经营信息</p>
|
<div ref="manageForm">
|
<details-input :config="form.stockname"></details-input>
|
<details-input :config="form.stockcode"></details-input>
|
<details-input :config="form.lastbeforeyearprofit"></details-input>
|
<details-input :config="form.lastyearprofit"></details-input>
|
<details-input :config="form.criterion"></details-input>
|
<details-input :config="form.standardtailedresult"></details-input>
|
<details-input :config="form.rateofrise"></details-input>
|
<details-input :config="form.totalassets"></details-input>
|
<details-input :config="form.sliabilities"></details-input>
|
<details-input :config="form.netasset"></details-input>
|
<details-input :config="form.debtratio"></details-input>
|
<details-input :config="form.singleloanlimit"></details-input>
|
<details-input :config="form.platformurl"></details-input>
|
<details-input :config="form.locationcity"></details-input>
|
<details-input :config="form.registercity"></details-input>
|
<details-input :config="form.otherexplain"></details-input>
|
</div>
|
</el-row>
|
<el-row v-if="form.ShareholderInfo.visible">
|
<p class="title">股东信息</p>
|
<shareholder-info-table
|
:object-no="form.serialno.value"
|
:object-type="form.objecttype.value"
|
></shareholder-info-table>
|
</el-row>
|
<!-- <el-row>
|
<p class="title" style="margin-top:20px">负面信息</p>
|
<details-input :config="form.gative"></details-input>
|
<details-input :config="form.lostinformation"></details-input>
|
<details-input :config="form.majorlitigation"></details-input>
|
<details-input :config="form.majorissues"></details-input>
|
<details-input :config="form.somethingelse"></details-input>
|
<details-input :config="form.badrecord"></details-input>
|
<details-input :config="form.remarka"></details-input>
|
<details-input :config="form.remarkb"></details-input>
|
<details-input :config="form.remarkc"></details-input>
|
<details-input :config="form.remarkd"></details-input>
|
</el-row> -->
|
<el-row v-if="form.EnpFinancialData.visible">
|
<p class="title">财务数据</p>
|
<financial-data-table
|
:object-no="form.serialno.value"
|
:object-type="form.objecttype.value"
|
></financial-data-table>
|
</el-row>
|
<el-row>
|
<p class="title" style="margin-top:20px" v-show="expandForm">拓展人信息</p>
|
<div ref="expandForm">
|
<details-input :config="form.expanduserid"></details-input>
|
<details-input :config="form.expandjobnumber"></details-input>
|
<details-input :config="form.expandphonenumber"></details-input>
|
</div>
|
</el-row>
|
<el-row v-if="form.DockingInfo.visible">
|
<p class="title">对接人信息</p>
|
<docking-info-table :object-no="form.serialno.value" :object-type="form.objecttype.value"></docking-info-table>
|
</el-row>
|
</el-form>
|
</div>
|
</template>
|
|
<script>
|
import { qryEnpBasicInfo } from '@/api/area/enterprise'
|
import DetailsInput from './components/DetailsInput'
|
import ShareholderInfoTable from './components/ShareholderInfoTable'
|
import FinancialDataTable from './components/FinancialDataTable'
|
import DockingInfoTable from './components/DockingInfoTable'
|
import DetailsCity from './components/DetailsCity'
|
import { mapState } from 'vuex'
|
export default {
|
components: { DetailsInput, ShareholderInfoTable, FinancialDataTable, DockingInfoTable, DetailsCity },
|
data: function() {
|
return {
|
loading: true,
|
manageForm: true,
|
expandForm: true,
|
form: {
|
channelareaname: '',
|
enterprisetype: '',
|
enterprisename: '',
|
reditcode: '',
|
organizationcode: '',
|
registerdate: '',
|
registeredcapital: '',
|
companytel: '',
|
industrytype: '',
|
enterprisecategory: '',
|
registerprovince: '',
|
registercitys: '',
|
registercounty: '',
|
registeraddress: '',
|
scope: '',
|
companyprovince: '',
|
companycity: '',
|
companycounty: '',
|
companytualaddress: '',
|
headenterprisename: '',
|
headorganizationcode: '',
|
headreditcode: '',
|
balanceaccount: '',
|
balancefictitiousaccount: '',
|
corporatename: '',
|
corporatecerttype: '',
|
corporatecertid: '',
|
stockname: '',
|
stockcode: '',
|
lastbeforeyearprofit: '',
|
lastyearprofit: '',
|
criterion: '',
|
standardtailedresult: '',
|
rateofrise: '',
|
totalassets: '',
|
sliabilities: '',
|
netasset: '',
|
debtratio: '',
|
singleloanlimit: '',
|
platformurl: '',
|
locationcity: '',
|
registercity: '',
|
otherexplain: '',
|
gative: '',
|
lostinformation: '',
|
majorlitigation: '',
|
majorissues: '',
|
somethingelse: '',
|
badrecord: '',
|
remarka: '',
|
remarkb: '',
|
remarkc: '',
|
remarkd: '',
|
expanduserid: '',
|
expandjobnumber: '',
|
objectno: '',
|
objecttype: '',
|
expandphonenumber: '',
|
serialno: '',
|
//
|
ShareholderInfo: '',
|
EnpFinancialData: '',
|
DockingInfo: '',
|
contactname: '', //企业联系人姓名
|
contactcertid: '', //企业联系人证件号
|
contactphone: '', //企业联系人电话
|
}
|
}
|
},
|
created() {
|
this.initForm()
|
},
|
computed: {
|
...mapState({
|
enterpriseParams: state => state.risk.enterpriseParams
|
})
|
},
|
methods: {
|
// 初始化表格
|
async initForm() {
|
let params = {
|
serialno: this.enterpriseParams.tempSerialNo
|
}
|
let res = await qryEnpBasicInfo(params)
|
this._.merge(this.form, res.result)
|
this.$nextTick(() => {
|
this.manageForm = Boolean(this.$refs['manageForm'].getElementsByClassName('el-col').length > 0)
|
this.expandForm = Boolean(this.$refs['expandForm'].getElementsByClassName('el-col').length > 0)
|
})
|
this.loading = false
|
}
|
}
|
}
|
</script>
|
|
<style scoped></style>
|