|
@@ -5,7 +5,7 @@
|
|
|
</view>
|
|
|
<view class="form-label-switch">
|
|
|
<view class="phone-form-label"><text class="form-label-require"></text>身份证照片</view>
|
|
|
- <switch @change="switchSfzChange" color="#3fd2a1" style="transform:scale(0.7)" />
|
|
|
+ <!-- <switch @change="switchSfzChange" color="#3fd2a1" style="transform:scale(0.7)" /> -->
|
|
|
</view>
|
|
|
<view class="ziliao-upload-box">
|
|
|
<view class="upload-item-box">
|
|
@@ -17,35 +17,35 @@
|
|
|
</view>
|
|
|
<view class="form-label-switch form-top-margin">
|
|
|
<view class="phone-form-label"><text class="form-label-require"></text>工作生活照</view>
|
|
|
- <switch @change="switchGzChange" color="#3fd2a1" style="transform:scale(0.7)" />
|
|
|
+ <!-- <switch @change="switchGzChange" color="#3fd2a1" style="transform:scale(0.7)" /> -->
|
|
|
</view>
|
|
|
<view class="zhaopianZiliao-shenfenzhengImg">
|
|
|
<view class="ziliao-upload-box">
|
|
|
<view v-if="shenghuizhaoList.length>0">
|
|
|
<view v-for="(item, index) in shenghuizhaoList" :key="index">
|
|
|
- <img :src="item" alt="">
|
|
|
+ <img style="width: 100rpx;height: 100rpx;" :src="item" alt="">
|
|
|
<view @click="deleteShenghuoZhao(item,index)">删除</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <jiazhengUpload @getFileUrl="getGzShenghuozhao"></jiazhengUpload>
|
|
|
+ <jiazhengUpload changjingType="more" @getFileUrl="getGzShenghuozhao"></jiazhengUpload>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="form-label-switch form-top-margin">
|
|
|
<view class="phone-form-label"><text class="form-label-require"></text>资格类照片</view>
|
|
|
- <switch @change="switchZgChange" color="#3fd2a1" style="transform:scale(0.7)" />
|
|
|
+ <!-- <switch @change="switchZgChange" color="#3fd2a1" style="transform:scale(0.7)" /> -->
|
|
|
</view>
|
|
|
<view class="zhaopianZiliao-shenfenzhengImg">
|
|
|
<view class="ziliao-upload-box">
|
|
|
<view v-if="zigezhaoList.length>0">
|
|
|
<view v-for="(item, index) in zigezhaoList" :key="index">
|
|
|
- <img :src="item" alt="">
|
|
|
+ <img style="width: 100rpx;height: 100rpx;" :src="item" alt="">
|
|
|
<view @click="deleteZigeZhao(item,index)">删除</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <jiazhengUpload @getFileUrl="getZgzhao"></jiazhengUpload>
|
|
|
+ <jiazhengUpload changjingType="more" @getFileUrl="getZigezhao"></jiazhengUpload>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -86,8 +86,8 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="page-btn-box">
|
|
|
- <button type="default" class="phone-white-btn">上一步</button>
|
|
|
- <button type="default" class="phone-green-btn">下一步</button>
|
|
|
+ <button type="default" @click="goUp" class="phone-white-btn">上一步</button>
|
|
|
+ <button type="default" @click="goNext" class="phone-green-btn">下一步</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -102,8 +102,6 @@
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
- single: '',
|
|
|
- tijianRiqi: false,
|
|
|
shenghuizhaoList: [],
|
|
|
zigezhaoList: [],
|
|
|
icon: '',
|
|
@@ -113,6 +111,7 @@
|
|
|
tijianDate: '',
|
|
|
tijianUrl: '',
|
|
|
jiankangDate: '',
|
|
|
+ zhengshuUrls: '',
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -164,6 +163,41 @@
|
|
|
switchZgChange(data) {
|
|
|
console.log('data', data);
|
|
|
},
|
|
|
+
|
|
|
+ goNext() {
|
|
|
+ this.formData = {
|
|
|
+ icon:this.icon,
|
|
|
+ idcardUrl1:this.idcardUrl1,
|
|
|
+ idcardUrl2:this.idcardUrl2,
|
|
|
+ shenghuoUrls:this.shenghuizhaoList.join(','),
|
|
|
+ zhengshuUrls:this.zigezhaoList.join(','),
|
|
|
+ tijianDate:this.tijianDate,
|
|
|
+ jiankangDate:this.jiankangDate,
|
|
|
+ tijianUrl:this.tijianUrl,
|
|
|
+
|
|
|
+ }
|
|
|
+ console.log('this.formData',this.formData);
|
|
|
+ // if(!this.formData.agree){
|
|
|
+ // uni.showToast({
|
|
|
+ // title: "请勾选本人同意!",
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 2000
|
|
|
+ // })
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ this.$emit('goNext',{},1);
|
|
|
+ },
|
|
|
+ goUp() {
|
|
|
+ // if(!this.formData.agree){
|
|
|
+ // uni.showToast({
|
|
|
+ // title: "请勾选本人同意!",
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 2000
|
|
|
+ // })
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ this.$emit('goUp',{},1);
|
|
|
+ },
|
|
|
|
|
|
},
|
|
|
created() {
|