mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
1、优化物业公司注册同意协议验证2、优化公司经营范围显示不全
This commit is contained in:
parent
9ef5b191b9
commit
f09383426b
@ -1,4 +1,4 @@
|
||||
<fieldset role="tabpanel" aria-labelledby="component-h-0" class="body current" v-bind:class="{no_display:step!=2}" aria-hidden="false">
|
||||
<fieldset role="tabpanel" aria-labelledby="component-h-0" class="body current" style="overflow: scroll;" v-bind:class="{no_display:step!=2}" aria-hidden="false">
|
||||
<h2>公司扩展信息</h2>
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
</select></div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">头部照片</label>
|
||||
<label class="col-sm-2 col-form-label">头部照片(800 * 595)</label>
|
||||
<div class="col-sm-10">
|
||||
<vc:create path="frame/uploadImage"
|
||||
callBackListener="editActivitiesView"
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
</select></div>
|
||||
</div>
|
||||
<div class="form-group row" v-if="editAdvertInfo.viewType == '8888'">
|
||||
<label class="col-sm-2 col-form-label">图片</label>
|
||||
<label class="col-sm-2 col-form-label">图片(800 * 373)</label>
|
||||
<div class="content-img col-sm-10">
|
||||
<vc:create path="frame/uploadImage"
|
||||
callBackListener="editAdvert"
|
||||
|
||||
@ -263,7 +263,7 @@
|
||||
</textarea>
|
||||
<br />
|
||||
|
||||
<input id="acceptTerms" name="acceptTerms" type="checkbox" class="required" aria-required="true" />
|
||||
<input id="acceptTerms" name="acceptTerms"v-model="acceptTerms" type="checkbox" class="required" aria-required="true" />
|
||||
<label for="acceptTerms">我同意并遵守以上信息.</label>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@ -9,7 +9,8 @@
|
||||
step:1,
|
||||
companyInfo:{
|
||||
errorInfo:""
|
||||
}
|
||||
},
|
||||
acceptTerms: false
|
||||
},
|
||||
_initMethod:function(){
|
||||
//vc.component.initStoreType();
|
||||
@ -68,7 +69,28 @@
|
||||
vc.component.step = vc.component.step-1;;
|
||||
}
|
||||
},
|
||||
|
||||
// 验证勾选 “同意条款”
|
||||
validateAcceptTerms: function(){
|
||||
return vc.validate.validate({
|
||||
companyBaseInfo: vc.component.acceptTerms
|
||||
}, {
|
||||
'companyBaseInfo': [
|
||||
{
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "请阅读须知并勾选确认"
|
||||
},
|
||||
],
|
||||
});
|
||||
},
|
||||
|
||||
finish:function(){
|
||||
// 验证勾选 “同意条款”
|
||||
if(!vc.component.validateAcceptTerms()){
|
||||
vc.component.companyInfo.errorInfo = vc.validate.errInfo;
|
||||
return;
|
||||
}
|
||||
//这里写提交代码
|
||||
console.log("提交审核",vc.component.companyInfo);
|
||||
vc.http.post(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user