|
@@ -35,16 +35,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- // this.getDetails()
|
|
|
|
-
|
|
|
|
- const { typeName, code, name } = this.$route.query
|
|
|
|
-
|
|
|
|
- this.baseInfo = {
|
|
|
|
- typeName: typeName || '',
|
|
|
|
- socialCreditCode: code || '',
|
|
|
|
- enterpriseName: name || ''
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
this.queryReginList()
|
|
this.queryReginList()
|
|
|
|
|
|
if (this.$route.query.id && this.$route.query.companyZrId) {
|
|
if (this.$route.query.id && this.$route.query.companyZrId) {
|
|
@@ -59,8 +49,14 @@ export default {
|
|
},
|
|
},
|
|
async getDetails(queryId) {
|
|
async getDetails(queryId) {
|
|
const res = await getEnterpriseDetail(queryId)
|
|
const res = await getEnterpriseDetail(queryId)
|
|
|
|
+ const { code, name } = this.$route.query
|
|
|
|
|
|
if (res.success) {
|
|
if (res.success) {
|
|
|
|
+ this.baseInfo = {
|
|
|
|
+ companyType: res.data.companyZrVo.companyType || '',
|
|
|
|
+ socialCreditCode: code || '',
|
|
|
|
+ enterpriseName: name || ''
|
|
|
|
+ }
|
|
this.legalPersonInfo = res.data.companyZrVo
|
|
this.legalPersonInfo = res.data.companyZrVo
|
|
this.controlPersonInfo = res.data.companyZrVo
|
|
this.controlPersonInfo = res.data.companyZrVo
|
|
this.contactInfo = res.data.companyZrVo
|
|
this.contactInfo = res.data.companyZrVo
|