|
|
|
@ -109,20 +109,23 @@ |
|
|
|
|
</a-form-item></a-col |
|
|
|
|
> </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"> |
|
|
|
|
<SelectImage |
|
|
|
|
v-if="idCardShow" |
|
|
|
|
ref="childComponent" |
|
|
|
|
:type='1' |
|
|
|
|
:type="1" |
|
|
|
|
multiple |
|
|
|
|
:source="1" |
|
|
|
|
:maxNum="10" |
|
|
|
|
:defaultList="record.idCardUrl" |
|
|
|
|
/> </a-form-item |
|
|
|
|
></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"> |
|
|
|
|
<SelectImage :type='1' |
|
|
|
|
<SelectImage |
|
|
|
|
v-if="businesShow" |
|
|
|
|
:type="1" |
|
|
|
|
ref="childComponent" |
|
|
|
|
multiple |
|
|
|
|
:source="1" |
|
|
|
@ -202,29 +205,32 @@ export default { |
|
|
|
|
form: this.$form.createForm(this), |
|
|
|
|
// 当前记录 |
|
|
|
|
record: {}, |
|
|
|
|
idCardShow: false, |
|
|
|
|
businesShow: false, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
created() {}, |
|
|
|
|
methods: { |
|
|
|
|
details(info) { |
|
|
|
|
this.visible = true |
|
|
|
|
this.idCardShow = false |
|
|
|
|
this.businesShow = false |
|
|
|
|
this.record = {} |
|
|
|
|
this.record.idCardUrl = [] |
|
|
|
|
this.record.businessCareUrl = [] |
|
|
|
|
Api.detail({ id: info }) |
|
|
|
|
.then((result) => { |
|
|
|
|
this.idCardShow = true |
|
|
|
|
this.businesShow = true |
|
|
|
|
this.record = result.data.detail |
|
|
|
|
}) |
|
|
|
|
.finally(() => (this.isLoading = false)) |
|
|
|
|
}, |
|
|
|
|
// 显示对话框 |
|
|
|
|
show(record) { |
|
|
|
|
// 显示窗口 |
|
|
|
|
this.visible = true |
|
|
|
|
// 当前记录 |
|
|
|
|
this.record = record |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 关闭对话框事件 |
|
|
|
|
handleCancel() { |
|
|
|
|
this.visible = false |
|
|
|
|
this.idCardShow = false |
|
|
|
|
this.businesShow = false |
|
|
|
|
this.form.resetFields() |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|