提交 fe061fe8 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/zl' into 'release'

store id

See merge request com.pica.cloud.education.frontend/pica.cloud.web-education-admin!406
...@@ -1748,21 +1748,13 @@ export default { ...@@ -1748,21 +1748,13 @@ export default {
storejs.remove('store_info'); storejs.remove('store_info');
this.curmbSecond = "新建店铺"; this.curmbSecond = "新建店铺";
this.isDisabled = false; this.isDisabled = false;
// if(s){
// // 存在数据 就反现
// this.formData = s;
// const {areaStr} = s.certifyReq;
// const v = areaStr.map(i => {return i.label;}).join('/');
// this.orgRegionValueFirst = v;
// this.orgDateReverse();
// }
} }
} }
}, },
//日期 设置 //日期 设置
orgDateReverse () { orgDateReverse () {
const {licenseValidDateBegin,licenseValidDateEnd,legalValidDateBegin, legalValidDateEnd, assignorValidDateBegin, assignorValidDateEnd} = this.formData.certifyReq; const {licenseValidDateBegin,licenseValidDateEnd,legalValidDateBegin, legalValidDateEnd, assignorValidDateBegin, assignorValidDateEnd} = this.formData.certifyReq;
const {certifyLicenseImgList, certifyReportImgList} = this.formData.certifyReq; const {certifyLicenseImgList, certifyReportImgList, bizScope} = this.formData.certifyReq;
this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd]; this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd];
this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd]; this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd];
this.formData.imgUrlC3Date = [legalValidDateBegin, legalValidDateEnd]; this.formData.imgUrlC3Date = [legalValidDateBegin, legalValidDateEnd];
...@@ -1773,7 +1765,14 @@ export default { ...@@ -1773,7 +1765,14 @@ export default {
const m = `imgUrlP${i.imageType}`; const m = `imgUrlP${i.imageType}`;
this.formData[n] = [i.validDateBegin, i.validDateEnd]; this.formData[n] = [i.validDateBegin, i.validDateEnd];
this.formData[m] = i.url; this.formData[m] = i.url;
}) });
if(bizScope){
const j = [];
bizScope.map( i => {
i.type && j.push(String(i.type) + '__' + i.id,)
})
this.controlLicense = j;
}
}, },
resetImgUrl () { resetImgUrl () {
// 营业执照 legalCertBackUrl legalCertFrontUrl // 营业执照 legalCertBackUrl legalCertFrontUrl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册