申请合作技师

This commit is contained in:
Mr.jiang 2024-08-26 09:56:29 +08:00
parent b07e8f8c3e
commit f6675ca560
2 changed files with 21 additions and 41 deletions

View File

@ -9,7 +9,7 @@
<span>点击申请</span>
</view>
<view class="cooperate-line1" @click="goNav('/pages/my/cooperation')">
<span>申请合作技师</span>
<span>城市合伙人</span>
<span>点击申请</span>
</view>
<view class="cooperate-line2" @click="goNav('/pages/cooperate/hehuo')">

View File

@ -9,6 +9,7 @@
<u-input @click="goCity" type="text" v-model="city" placeholder="请输入服务城市 " />
<view class="xian"></view>
</view> -->
<uni-forms ref="baseForm" :disabled="true" v-if="city">
<uni-forms-item label="选择城市" required :disabled="true">
<picker class="addRess" :disabled="true" range-key="AreaName" mode="multiSelector">
@ -46,8 +47,8 @@
</view>
<view class="item_view">
<view class="item_title" style="margin-bottom: 10px;">上传身份证正面</view>
<view class="flex" v-if="bb=='1'" style="overflow: hidden;flex-direction: initial;">
<view v-if="front!=''||front!=null">
<view class="flex" style="overflow: hidden;flex-direction: initial;">
<view v-if="front.length">
<view class="margin-top flex margin-right-sm">
<view class="flex"
style="width: 150upx;height: 150upx;margin-right: 10rpx;position: relative;">
@ -59,7 +60,7 @@
</view>
</view>
</view>
<view class="margin-top" @click="addImage()" v-if="front==''||front==null">
<view class="margin-top" @click="addImage()" v-else>
<view class="flex justify-center align-center margin-top-view">
<view>
<view class="text-center">
@ -70,20 +71,11 @@
</view>
</view>
</view>
<view class="flex" v-if="bb=='0'" style="overflow: hidden;flex-direction: initial;">
<view v-if="front!=''||front!=null">
<view class="margin-top flex margin-right-sm">
<view class="flex"
style="width: 150upx;height: 150upx;margin-right: 10rpx;position: relative;">
<image :src="front" style="width: 100%;height: 100%;"></image>
</view>
</view>
</view>
</view>
</view>
<view class="item_view">
<view class="item_title" style="margin-bottom: 10px;">上传身份证反面</view>
<view class="flex" v-if="bb=='1'" style="overflow: hidden;flex-direction: initial;">
<view class="flex" style="overflow: hidden;flex-direction: initial;">
<view v-if="back.length">
<view class="margin-top flex margin-right-sm">
<view class="flex"
@ -96,7 +88,7 @@
</view>
</view>
</view>
<view class="margin-top" @click="addImageBack()" v-if="back.length<=0">
<view class="margin-top" @click="addImageBack()" v-else>
<view class="flex justify-center align-center margin-top-view">
<view>
<view class="text-center">
@ -107,20 +99,11 @@
</view>
</view>
</view>
<view class="flex" v-if="bb=='0'" style="overflow: hidden;flex-direction: initial;">
<view v-if="back.length">
<view class="margin-top flex margin-right-sm">
<view class="flex"
style="width: 150upx;height: 150upx;margin-right: 10rpx;position: relative;">
<image :src="back" style="width: 100%;height: 100%;"></image>
</view>
</view>
</view>
</view>
</view>
<view class="item_view">
<view class="item_title" style="margin-bottom: 10px;">上传资格证书可多张</view>
<view class="flex" v-if="bb=='1'" style="overflow: hidden;flex-direction: initial;">
<view class="flex" style="overflow: hidden;flex-direction: initial;">
<view class="margin-top flex margin-right-sm flex-wrap" v-if="certification.length">
<view class="flex" style="width: 150upx;height: 150upx;margin-right: 10rpx;position: relative;"
v-for="(image,index) in certification" :key="index">
@ -142,21 +125,11 @@
</view>
</view>
</view>
<view class="flex" v-if="bb=='0'" style="overflow: hidden;flex-direction: initial;">
<view v-if="certification.length">
<view class="margin-top flex margin-right-sm">
<view class="flex" v-for="(image,index) in certification" :key="index"
style="width: 150upx;height: 150upx;margin-right: 10rpx;position: relative;">
<image :src="image" style="width: 100%;height: 100%;"></image>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="push-button">
<view class="que-btn" @tap="save" v-if="bb !=0">提交申请</view>
<view class="que-btn" @tap="save" v-if="bb!=0">提交申请</view>
</view>
</view>
@ -250,6 +223,7 @@
bindPickerChange(data) {
this.pickVal=data.target.value;
this.pickVal2=data.target.value;
console.log("data====",this.pickVal2)
this.cityData=this.cityArr[0][this.pickVal2[0]].AreaName+'-'+this.cityArr[1][this.pickVal2[1]].AreaName+'-'+this.cityArr[2][this.pickVal2[2]].AreaName
},
@ -284,11 +258,17 @@
this.bb = res.data.status;
this.city = res.data.city;
this.age = res.data.age;
this.front = res.data.front;
this.userName = res.data.name;
this.phone = res.data.phone;
this.back=res.data.back;
this.certification = res.data.certification.split(',')
if(res.data.certification!=null){
this.certification = res.data.certification.split(',')
}
if(res.data.front!=null){
this.front = res.data.front;
}
if(res.data.back!=null){
this.back=res.data.back;
}
console.log('111111111',this.certification)
}
// this.auditContent = res.data.auditContent;