|
|
|
@ -2,44 +2,56 @@
|
|
|
|
|
<!--pages/release/companyAuth/index.wxml--> |
|
|
|
|
<view class="auth-page"> |
|
|
|
|
<view class="company-info-box"> |
|
|
|
|
<view class="title-l">请完善资料</view> |
|
|
|
|
<view class="title-s">个人名片</view> |
|
|
|
|
<view class="card-bg acea-row row-center-wrapper"><image src="https://download.cyjyyjy.com/person-card.png" mode=""></image></view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">姓名</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPersonName" @input="inpChange" data-type="name" placeholder="请填写姓名"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">手机号</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPhone" @input="inpChange" data-type="phone" placeholder="请填写手机号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">身份证号</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPersonIdcard" @input="inpChange" data-type="idcard" placeholder="请填写身份证号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="form-item noBorder"> |
|
|
|
|
<view class="label">身份证</view> |
|
|
|
|
<view class="inp-box sfz"> |
|
|
|
|
<view class="acea-row row-between-wrapper"> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfz1.png" @tap="upCard" data-type="b" v-if="form.idcardPicBehind == ''"></image> |
|
|
|
|
<image :src="form.idcardPicBehind" @tap="upCard" data-type="b" v-else></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfzb.png"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="acea-row row-between-wrapper"> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfz2.png" @tap="upCard" data-type="f" v-if="form.idcardPicFront == ''"></image> |
|
|
|
|
<image :src="form.idcardPicFront" @tap="upCard" data-type="f" v-else></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfzz.png"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="acea-row row-between-wrapper"> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfz3.png" @tap="upCard" data-type="h" v-if="form.idcardPicHold == ''"></image> |
|
|
|
|
<image :src="form.idcardPicHold" @tap="upCard" data-type="h" v-else></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sfzs.png"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">企业名称</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.enterpriseName" @input="inpChange" data-type="enterpriseName" |
|
|
|
|
placeholder="请填写企业名称"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">职位</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" @input="inpChange" data-type="" placeholder="请填写职位"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">邮箱</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" @input="inpChange" data-type="" placeholder="请填写邮箱"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">微信</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" @input="inpChange" data-type="" placeholder="请填写微信号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">企业规模</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<picker class="pick-box" @change="" mode="selector"> |
|
|
|
|
<view class="picker">{{'请选择'}}</view> |
|
|
|
|
</picker> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">意向领域</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<picker class="pick-box" @change="" mode="selector"> |
|
|
|
|
<view class="picker">{{'请选择'}}</view> |
|
|
|
|
</picker> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="submit-btn" @tap="submit">保存并提交</view> |
|
|
|
|
</view> |
|
|
|
@ -139,18 +151,6 @@ export default {
|
|
|
|
|
icon: 'none' |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} else if (form.legalPhone == '') { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写手机号', |
|
|
|
|
icon: 'none' |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} else if (form.legalPersonIdcard == '') { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写身份证号', |
|
|
|
|
icon: 'none' |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} else { |
|
|
|
|
if (this.isEdit == false) { |
|
|
|
|
app.http('post', 'EnterpriseAuthentication/createAuthenticInfoOne', this.form).then(res => { |
|
|
|
|