|
@@ -16,6 +16,24 @@
|
|
|
</view>
|
|
|
</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)" /> -->
|
|
|
+ </view>
|
|
|
+ <view class="zhaopianZiliao-shenfenzhengImg">
|
|
|
+ <view class="ziliao-upload-box">
|
|
|
+ <view v-if="tijianbaogaoList.length>0">
|
|
|
+ <view v-for="(item, index) in tijianbaogaoList" :key="index">
|
|
|
+ <img style="width: 100rpx;height: 100rpx;" :src="item" alt="">
|
|
|
+ <view @click="deleteTijianbaogao(item,index)">删除</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <jiazhengUpload changjingType="more" @getFileUrl="getTijianbaogao"></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="switchGzChange" color="#3fd2a1" style="transform:scale(0.7)" /> -->
|
|
|
</view>
|
|
@@ -69,7 +87,7 @@
|
|
|
</uni-datetime-picker>
|
|
|
</view>
|
|
|
|
|
|
- <view class="zpzl-tip-box form-top-margin">
|
|
|
+ <!-- <view class="zpzl-tip-box form-top-margin">
|
|
|
<view>体检报告文件</view>
|
|
|
<view class="red-tip">(*如未经同意,体检报告均不展示在简历中;在系统中预约的体检,如有电子报告,会自动关联到简历中) </view>
|
|
|
<view>
|
|
@@ -84,7 +102,7 @@
|
|
|
可点击下方上传体检报告
|
|
|
</view>
|
|
|
<button type="default" class="phone-green-btn scbg-btn">+从手机上传体检报告(pdf)</button>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<view class="page-btn-box">
|
|
|
<button type="default" v-if="status =='add'" @click="goNext" class="phone-green-btn">下一步</button>
|
|
@@ -104,6 +122,7 @@
|
|
|
|
|
|
return {
|
|
|
shenghuizhaoList: [],
|
|
|
+ tijianbaogaoList: [],
|
|
|
zigezhaoList: [],
|
|
|
icon: '',
|
|
|
idcardUrl1: '',
|
|
@@ -126,17 +145,17 @@
|
|
|
},
|
|
|
methods: {
|
|
|
editinfo(data) {
|
|
|
- console.log('data',data);
|
|
|
+ console.log('data', data);
|
|
|
this.$nextTick(() => {
|
|
|
- this.icon = data.icon
|
|
|
- this.idcardUrl1 = data.idcardUrl1
|
|
|
- this.idcardUrl2 = data.idcardUrl2
|
|
|
- this.shenghuizhaoList = data.shenghuoUrls ==''?'': data.shenghuoUrls.split(",")
|
|
|
- this.zigezhaoList = data.zhengshuUrls ==''?'': data.shenghuoUrls.split(",")
|
|
|
- this.tijianDate = data.tijianDate
|
|
|
- this.jiankangDate = data.jiankangDate
|
|
|
- this.tijianUrls = data.tijianUrls
|
|
|
-
|
|
|
+ this.icon = data.icon
|
|
|
+ this.idcardUrl1 = data.idcardUrl1
|
|
|
+ this.idcardUrl2 = data.idcardUrl2
|
|
|
+ this.shenghuizhaoList = data.shenghuoUrls == '' ? '' : data.shenghuoUrls.split(",")
|
|
|
+ this.zigezhaoList = data.zhengshuUrls == '' ? '' : data.shenghuoUrls.split(",")
|
|
|
+ this.tijianUrls = data.tijianUrls == '' ? '' : data.tijianUrls.split(",")
|
|
|
+ this.tijianDate = data.tijianDate
|
|
|
+ this.jiankangDate = data.jiankangDate
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
getTouxiang(data) {
|
|
@@ -155,6 +174,10 @@
|
|
|
console.log('getGzShenghuozhao', data);
|
|
|
this.shenghuizhaoList.push(data);
|
|
|
},
|
|
|
+ getTijianbaogao(data) {
|
|
|
+ console.log('getTijianbaogao', data);
|
|
|
+ this.tijianbaogaoList.push(data);
|
|
|
+ },
|
|
|
getZigezhao(data) {
|
|
|
console.log('getZigezhao', data);
|
|
|
this.zigezhaoList.push(data);
|
|
@@ -162,6 +185,9 @@
|
|
|
deleteZigeZhao(data, index) {
|
|
|
this.zigezhaoList.splice(index, 1);
|
|
|
},
|
|
|
+ deleteTijianbaogao(data, index) {
|
|
|
+ this.tijianbaogaoList.splice(index, 1);
|
|
|
+ },
|
|
|
deleteShenghuoZhao(data, index) {
|
|
|
this.shenghuizhaoList.splice(index, 1);
|
|
|
},
|
|
@@ -194,11 +220,12 @@
|
|
|
idcardUrl1: this.idcardUrl1,
|
|
|
idcardUrl2: this.idcardUrl2,
|
|
|
tijianbaogaoFlag: this.tijianbaogaoFlag,
|
|
|
- shenghuoUrls: this.shenghuizhaoList.join(','),
|
|
|
- zhengshuUrls: this.zigezhaoList.join(','),
|
|
|
+ shenghuoUrls: this.shenghuizhaoList?this.shenghuizhaoList.join(','):'',
|
|
|
+ zhengshuUrls: this.zigezhaoList?this.zigezhaoList.join(','):'',
|
|
|
+ tijianUrls: this.tijianbaogaoList?this.tijianbaogaoList.join(','):'',
|
|
|
tijianDate: this.tijianDate,
|
|
|
jiankangDate: this.jiankangDate,
|
|
|
- tijianUrls: this.tijianUrls,
|
|
|
+
|
|
|
|
|
|
}
|
|
|
console.log('this.formData', this.formData);
|
|
@@ -210,11 +237,11 @@
|
|
|
idcardUrl1: this.idcardUrl1,
|
|
|
idcardUrl2: this.idcardUrl2,
|
|
|
tijianbaogaoFlag: this.tijianbaogaoFlag,
|
|
|
- shenghuoUrls: this.shenghuizhaoList.length>0?this.shenghuizhaoList.join(','):'',
|
|
|
- shenghuoUrls: this.zigezhaoList.length>0?this.zigezhaoList.join(','):'',
|
|
|
+ shenghuoUrls: this.shenghuizhaoList.length > 0 ? this.shenghuizhaoList.join(',') : '',
|
|
|
+ zhengshuUrls: this.zigezhaoList.length > 0 ? this.zigezhaoList.join(',') : '',
|
|
|
tijianDate: this.tijianDate,
|
|
|
jiankangDate: this.jiankangDate,
|
|
|
- tijianUrls: this.tijianUrls,
|
|
|
+ tijianUrls: this.tijianbaogaoList?this.tijianbaogaoList.join(','):'',
|
|
|
|
|
|
}
|
|
|
console.log('this.formData', this.formData);
|