zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<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>