|
@@ -1,9 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<div class="enterprise-edit">
|
|
<div class="enterprise-edit">
|
|
- <basic-info ref="baseInfo" :base-info="baseInfo" />
|
|
|
|
- <PersonInfo ref="legalPersonInfoRef" :regionList="regionList" :person-type="'legal'" :details-info="legalPersonInfo" />
|
|
|
|
- <PersonInfo ref="controlPersonInfoRef" :regionList="regionList" :person-type="'control'" :details-info="controlPersonInfo" />
|
|
|
|
- <ContactInfo ref="contactInfoRef" :details-info="contactInfo" />
|
|
|
|
|
|
+ <basic-info ref="baseInfoRef" :base-info="baseInfo" />
|
|
|
|
+ <PersonInfo ref="legalPersonInfoRef" :regionList="regionList" :person-type="'legal'" :details-info="legalPersonInfo" style="margin-top: 20px;" />
|
|
|
|
+ <PersonInfo ref="controlPersonInfoRef" :regionList="regionList" :person-type="'control'" :details-info="controlPersonInfo" style="margin-top: 20px;" />
|
|
|
|
+ <ContactInfo ref="contactInfoRef" :details-info="contactInfo" style="margin-top: 20px;" />
|
|
<div class="submit-btn">
|
|
<div class="submit-btn">
|
|
<el-button @click="() => { $router.push({ name: 'MyStoreEnterprise', query: { activeName: 'enterprise' } }) }">关闭</el-button>
|
|
<el-button @click="() => { $router.push({ name: 'MyStoreEnterprise', query: { activeName: 'enterprise' } }) }">关闭</el-button>
|
|
<el-button type="primary" @click="submitClick('temp')">暂存</el-button>
|
|
<el-button type="primary" @click="submitClick('temp')">暂存</el-button>
|
|
@@ -101,13 +101,14 @@ export default {
|
|
const contactReqParams = {
|
|
const contactReqParams = {
|
|
...contactParams
|
|
...contactParams
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ const baseInfoParams = await this.$refs.baseInfoRef.getPrams(type)
|
|
const supParams = {
|
|
const supParams = {
|
|
Loading: true,
|
|
Loading: true,
|
|
companyId: this.$route.query.id,
|
|
companyId: this.$route.query.id,
|
|
...legalReqParams,
|
|
...legalReqParams,
|
|
...controlReqParams,
|
|
...controlReqParams,
|
|
...contactReqParams,
|
|
...contactReqParams,
|
|
|
|
+ companyType: baseInfoParams.companyType,
|
|
fileIds,
|
|
fileIds,
|
|
flag: type === 'temp' ? 0 : 1
|
|
flag: type === 'temp' ? 0 : 1
|
|
}
|
|
}
|