|
|
@ -109,20 +109,23 @@ |
|
|
|
</a-form-item></a-col |
|
|
|
</a-form-item></a-col |
|
|
|
> </a-row |
|
|
|
> </a-row |
|
|
|
><a-row> |
|
|
|
><a-row> |
|
|
|
<a-col :span="12" style="margin-bottom:50px"> |
|
|
|
<a-col :span="12" style="margin-bottom: 50px"> |
|
|
|
<a-form-item label="身份证信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="身份证信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<SelectImage |
|
|
|
<SelectImage |
|
|
|
|
|
|
|
v-if="idCardShow" |
|
|
|
ref="childComponent" |
|
|
|
ref="childComponent" |
|
|
|
:type='1' |
|
|
|
:type="1" |
|
|
|
multiple |
|
|
|
multiple |
|
|
|
:source="1" |
|
|
|
:source="1" |
|
|
|
:maxNum="10" |
|
|
|
:maxNum="10" |
|
|
|
:defaultList="record.idCardUrl" |
|
|
|
:defaultList="record.idCardUrl" |
|
|
|
/> </a-form-item |
|
|
|
/> </a-form-item |
|
|
|
></a-col> |
|
|
|
></a-col> |
|
|
|
<a-col :span="12" style="margin-bottom:50px"> |
|
|
|
<a-col :span="12" style="margin-bottom: 50px"> |
|
|
|
<a-form-item label="营业执照信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="营业执照信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<SelectImage :type='1' |
|
|
|
<SelectImage |
|
|
|
|
|
|
|
v-if="businesShow" |
|
|
|
|
|
|
|
:type="1" |
|
|
|
ref="childComponent" |
|
|
|
ref="childComponent" |
|
|
|
multiple |
|
|
|
multiple |
|
|
|
:source="1" |
|
|
|
:source="1" |
|
|
@ -202,30 +205,32 @@ export default { |
|
|
|
form: this.$form.createForm(this), |
|
|
|
form: this.$form.createForm(this), |
|
|
|
// 当前记录 |
|
|
|
// 当前记录 |
|
|
|
record: {}, |
|
|
|
record: {}, |
|
|
|
|
|
|
|
idCardShow: false, |
|
|
|
|
|
|
|
businesShow: false, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() {}, |
|
|
|
created() {}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
details(info) { |
|
|
|
details(info) { |
|
|
|
this.visible = true |
|
|
|
this.visible = true |
|
|
|
|
|
|
|
this.idCardShow = false |
|
|
|
|
|
|
|
this.businesShow = false |
|
|
|
|
|
|
|
this.record = {} |
|
|
|
|
|
|
|
this.record.idCardUrl = [] |
|
|
|
|
|
|
|
this.record.businessCareUrl = [] |
|
|
|
Api.detail({ id: info }) |
|
|
|
Api.detail({ id: info }) |
|
|
|
.then((result) => { |
|
|
|
.then((result) => { |
|
|
|
this.record={} |
|
|
|
this.idCardShow = true |
|
|
|
|
|
|
|
this.businesShow = true |
|
|
|
this.record = result.data.detail |
|
|
|
this.record = result.data.detail |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(() => (this.isLoading = false)) |
|
|
|
.finally(() => (this.isLoading = false)) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 显示对话框 |
|
|
|
|
|
|
|
show(record) { |
|
|
|
|
|
|
|
// 显示窗口 |
|
|
|
|
|
|
|
this.visible = true |
|
|
|
|
|
|
|
// 当前记录 |
|
|
|
|
|
|
|
this.record = record |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 关闭对话框事件 |
|
|
|
// 关闭对话框事件 |
|
|
|
handleCancel() { |
|
|
|
handleCancel() { |
|
|
|
this.visible = false |
|
|
|
this.visible = false |
|
|
|
|
|
|
|
this.idCardShow = false |
|
|
|
|
|
|
|
this.businesShow = false |
|
|
|
this.form.resetFields() |
|
|
|
this.form.resetFields() |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|