|
|
@ -84,7 +84,7 @@ |
|
|
|
<input class="rb-input" v-model="form.icp_subject.organize_info.certificate_address" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input> |
|
|
|
</view> |
|
|
|
<view class="rb-upload-box rb-line b-flex-y b-flex-s b-pb-40"> |
|
|
|
<view class="rb-upload-title b-flex-x">负责人证件照片<text>*</text></view> |
|
|
|
<view class="rb-upload-title b-flex-x">主体证件照片<text>*</text></view> |
|
|
|
<view class="rb-upload-list b-flex-x b-flex-a"> |
|
|
|
<view @click="clickUploadImg('icp_subject','organize_info','certificate_photo')" class="rb-upload-item idcard-width-170 b-flex-y b-flex-c"> |
|
|
|
<image class="rb-upload-bg " src="../../static/regist/id_people.png" |
|
|
@ -128,8 +128,12 @@ |
|
|
|
</view> |
|
|
|
<view class="rb-input-box rb-line b-flex-x b-flex-b "> |
|
|
|
<view class="rb-input-title b-flex-x">证件类型<text>*</text></view> |
|
|
|
<input class="rb-input" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input> |
|
|
|
<input class="rb-input" type="text" v-model="form.icp_subject.principal_info.certificate_type" placeholder="个人类型请填写数字(2)" placeholder-class="input-hold-class"></input> |
|
|
|
</view> |
|
|
|
<!-- <view class="rb-input-box rb-line b-flex-x b-flex-b "> |
|
|
|
<view class="rb-input-title b-flex-x">证件类型<text>*</text></view> |
|
|
|
<input class="rb-input" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input> |
|
|
|
</view> --> |
|
|
|
<view class="rb-input-box rb-line b-flex-x b-flex-b "> |
|
|
|
<view class="rb-input-title b-flex-x">证件号码<text>*</text></view> |
|
|
|
<input class="rb-input" v-model="form.icp_subject.principal_info.certificate_number" type="text" placeholder="请输入" placeholder-class="input-hold-class"></input> |
|
|
@ -235,7 +239,7 @@ |
|
|
|
<view class="rb-textarea " style="margin-top:90rpx"> |
|
|
|
<!-- auto-height="false" --> |
|
|
|
<!-- placeholder-style="color:#F76260" --> |
|
|
|
<textarea @blur="bindTextAreaBlur" v-model="form.icp_subject.base_info.comment" placeholder="请具体描述小程序实际经营内容、主要服务内容,该信息为主管部门审核重要依据,备注内容字数限制20-200字,请认真填" /> |
|
|
|
<textarea @blur="bindTextAreaBlur" v-model="form.icp_applets.base_info.comment" placeholder="请具体描述小程序实际经营内容、主要服务内容,该信息为主管部门审核重要依据,备注内容字数限制20-200字,请认真填" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@ -733,14 +737,14 @@ export default { |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(opts) { |
|
|
|
async onLoad(opts) { |
|
|
|
console.log("onload-", opts) |
|
|
|
// if(!opts.appid){ |
|
|
|
// opts.appid = "wxc141a743225e7885" |
|
|
|
// } |
|
|
|
this.appid = opts.appid; |
|
|
|
this.getData(); |
|
|
|
// this.getTempDraft(); |
|
|
|
await this.getData(); |
|
|
|
await this.getTempDraft(); |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
|
|
|
@ -805,6 +809,35 @@ export default { |
|
|
|
this.form.icp_applets.principal_info.certificate_validity_date_end = "" |
|
|
|
} |
|
|
|
}, |
|
|
|
setPickerValueShow(){//根据回显数据初始化picker值的显示, 待优化 |
|
|
|
console.log("setPickerValue") |
|
|
|
let {form} = this |
|
|
|
//主体类型 |
|
|
|
this.queryIcpSubjectTypes_index = this.queryIcpSubjectTypes.findIndex(item=>item.type==form.icp_subject.base_info.type) |
|
|
|
this.bindPickerChange_queryIcpSubjectTypes({ |
|
|
|
detail:{ |
|
|
|
value:this.queryIcpSubjectTypes_index |
|
|
|
} |
|
|
|
}) |
|
|
|
//证件类型 |
|
|
|
// setTimeout(()=>{ |
|
|
|
// this.bindPickerChange_queryIcpCertificateTypes({ |
|
|
|
// detail:{ |
|
|
|
// value:form.icp_subject.organize_info.certificate_type |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// },500) |
|
|
|
// this.queryIcpCertificateTypes_index = this.form.icp_subject.organize_info.certificate_type |
|
|
|
// this.queryIcpCertificateTypes_show = this.queryIcpCertificateTypesArr[this.form.icp_subject.organize_info.certificate_type] |
|
|
|
//省市区 |
|
|
|
// this.areaDetail = { |
|
|
|
// code:[form.icp_subject.base_info.province,form.icp_subject.base_info.city,form.icp_subject.base_info.district], |
|
|
|
// value:[form.icp_subject.base_info.province,form.icp_subject.base_info.city,form.icp_subject.base_info.district] |
|
|
|
// } |
|
|
|
//服务内容类型 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
bindPickerChange_queryIcpSubjectTypes(e) { |
|
|
|
console.log('picker发送选择改变,携带值为', e.detail.value) |
|
|
|
this.queryIcpSubjectTypes_index = e.detail.value |
|
|
@ -952,7 +985,7 @@ export default { |
|
|
|
_data.localImg = this.localImg //保存本地图片 |
|
|
|
|
|
|
|
console.log("editTempDraft:", _data) |
|
|
|
servers.get({ |
|
|
|
servers.post({ |
|
|
|
url: party_api.editTempDraft, |
|
|
|
data: _data, |
|
|
|
isDefaultGet: false, |
|
|
@ -973,7 +1006,7 @@ export default { |
|
|
|
}, |
|
|
|
getTempDraft(){ |
|
|
|
let _data = this.getGateWayJson('apply_icp_filing') |
|
|
|
servers.get({ |
|
|
|
servers.post({ |
|
|
|
url: party_api.getTempDraft, |
|
|
|
data: _data, |
|
|
|
isDefaultGet: false, |
|
|
@ -987,6 +1020,8 @@ export default { |
|
|
|
console.log("获取缓存数据:", _res) |
|
|
|
this.form = _res.form//保存表单数据 |
|
|
|
if(_res.localImg)this.localImg = _res.localImg//保存本地图片 |
|
|
|
|
|
|
|
this.setPickerValueShow() |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(err=>{ |
|
|
|