small-program/packageA/pages/employment-certification/employment-certification.vue
@@ -348,7 +348,7 @@ param.img2 = this.form.img21 } uni.requestSubscribeMessage({ tmplIds: ['VJho7-lf-4_WZFfOzenDndgwNDIA0EvCiE6vqBnExpQ'], tmplIds: ['VJho7-lf-4_WZFfOzenDnX6sOhYBJWwkLExVjBB563U'], success(res) { console.log('提交参数:', param) that.$u.api.applyForIdentity(param).then(res => { small-program/packageA/pages/set-up/set-up.vue
@@ -3,7 +3,7 @@ <div class="setup-tx"> <view class="setup-tx-image"> <image v-if="fullCoverImage && fullCoverImage !=''" :src="fullCoverImage" mode="widthFix"></image> <image v-else src="/static/logo.png" mode="widthFix"></image> <image v-else src="/static/icon/img@2x.png" mode="widthFix"></image> </view> <button open-type="chooseAvatar" @chooseavatar="onChooseAvatar" class="setup-tx-btn">更换头像</button> </div> small-program/packageA/pages/withdrawal-successful/withdrawal-successful.vue
@@ -3,7 +3,7 @@ <image src="/static/icon/ic_success@2x.png" mode="widthFix"></image> <view class="success-a">申请提现成功,等待系统处理</view> <view class="success-b">预计2小时内到账</view> <view class="success-info"> <!-- <view class="success-info"> <view class="success-info-item"> <text>提现金额</text> <text>¥1000.00</text> @@ -12,7 +12,7 @@ <text>提现方式</text> <text>微信领钱</text> </view> </view> </view> --> <view class="success-btn" @click="goHome">回到首页</view> </view> </template> @@ -21,7 +21,7 @@ export default { data() { return { price: '' }; }, methods: { small-program/pages/demand-hall/demand-hall.vue
@@ -63,13 +63,13 @@ {{item.categoryName}}|{{item.priceNum2}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2&& item.carType === 0"> {{item.categoryName}}|{{item.priceNum1}}天 |{{item.priceNum2}}人 {{item.categoryName}}|{{item.priceNum1}}天 | {{item.priceNum2}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2&& item.carType === 1"> {{item.categoryName}}|{{item.priceNum1}}小时 |{{item.priceNum2}}人 {{item.categoryName}}|{{item.priceNum1}}小时 | {{item.priceNum2}}人 </view> <view class="index-list-item-info" v-if="item.type === 0 && item.workType === 2&& item.carType === 2"> {{item.categoryName}}|{{item.priceNum1}}斤 {{item.categoryName}}|{{item.priceNum1}}斤 | {{item.priceNum2}}人 </view> <view class="index-list-item-info" v-if="item.type === 1"> {{item.carUnit}} | {{item.transportTypeName}} | {{item.transportNum}}{{item.transportUnit}}|用车{{item.priceNum1}}{{item.carType === 0?"天":"次"}} @@ -233,8 +233,8 @@ async onShow(options) { var flag = getApp().globalData.orderStatus console.log(getApp().globalData,"=====================================") this.status = '' this.commentStatus='' // this.status = '' // this.commentStatus='' // status: this.status === 5 ? 4 : this.status, // commentStatus: this.status === 5 ? 0 : '', if(flag =='1'){//发单方待接单 small-program/pages/freight/freight.vue
@@ -91,7 +91,7 @@ <view class="list-item-row"> <view class="list-item-row-label">运输重量/数量<b>*</b></view> <view class="list-item-row-val"> <input type="text" style="flex: 3;" v-model="form.transportNum" placeholder="请输入" /> <input type="digit" style="flex: 3;" v-model="form.transportNum" placeholder="请输入" /> <!-- <view @click="show4 = true" style="width: 100rpx; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end;"> <text>{{form.transportUnit}}</text> <u-icon name="arrow-down" color="#111111" size="16"></u-icon> @@ -110,14 +110,15 @@ <view class="list-item-row" > <view class="list-item-row-label">图片</view> <view class="list-item-row-upload"> <view class="upload-item" v-for="(item, index) in form.multifileList" :key="index"> <view class="upload-item" v-for="(item, index) in form.multifileList" :key="index" @click="preview(index, form.multifileList)"> <image :src="item.url || item.fileurlFull" mode="widthFix"></image> <image class="upload-item-dele" @click="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> <image class="upload-item-dele" @click.stop="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> </view> <view class="upload-item" @click="uploadImg"> <u-icon name="plus" color="#999999" size="24"></u-icon> <text>点击上传</text> </view> <view style="width: 215rpx; height: 0;"></view> </view> </view> <!-- <view class="list-item-zk" @click="viewStatus = !viewStatus"> @@ -136,14 +137,14 @@ <view class="list-item-row" v-if="form.carType==0"> <view class="list-item-row-label">用车天数</view> <view class="list-item-row-val"> <input type="number" v-model="form.totalDays" disabled placeholder="" /> <input type="digit" v-model="form.totalDays" disabled placeholder="" /> <text>天</text> </view> </view> <view class="list-item-row" v-if="form.carType==1"> <view class="list-item-row-label">用车次数<b>*</b></view> <view class="list-item-row-val"> <input type="number" v-model="form.priceNum1" @input="getPrice" placeholder="请输入" /> <input type="digit" v-model="form.priceNum1" @input="getPrice" placeholder="请输入" /> <text>次</text> </view> </view> @@ -355,7 +356,11 @@ this.getCategoryLists() }, methods: { handleInputPrice(e) { preview(current, arr) { let urls = arr.map(item => item.url || item.fileurlFull) uni.previewImage({ current, urls }) }, handleInputPrice(e) { try{ this.form.price = Number(this.form.price).toFixed(3) }catch(e){ @@ -932,21 +937,22 @@ width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30rpx 0; box-sizing: border-box; .upload-item { width: 156rpx; height: 156rpx; width: 215rpx; height: 215rpx; display: flex; align-items: center; flex-direction: column; justify-content: center; background: #F8F9FB; border-radius: 8rpx; margin-right: 20rpx; border: 2rpx solid #EEEEEE; position: relative; margin-bottom: 15rpx; &:last-child { margin: 0 !important; } small-program/pages/index/index.vue
@@ -137,7 +137,7 @@ </view> <view class="radio-item-list-data"> <text style="flex-shrink: 0;">份数:</text> <input type="number" v-model="item.num" placeholder="请输入"> <input type="digit" v-model="item.num" placeholder="请输入"> <text style="color: #999999;">份</text> <view class="radio-item-list-data-btn" @click="clear(index)">取消</view> </view> @@ -167,14 +167,15 @@ <view class="list-item-row" > <view class="list-item-row-label">图片</view> <view class="list-item-row-upload"> <view class="upload-item" v-if=" form.multifileList" v-for="(item, index) in form.multifileList" :key="index"> <view class="upload-item" v-if=" form.multifileList" v-for="(item, index) in form.multifileList" :key="index" @click="preview(index, form.multifileList)"> <image :src="item.url" mode="widthFix"></image> <image class="upload-item-dele" @click="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> <image class="upload-item-dele" @click.stop="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> </view> <view class="upload-item" @click="uploadImg"> <u-icon name="plus" color="#999999" size="24"></u-icon> <text>点击上传</text> </view> <view style="width: 208rpx; height: 0;"></view> </view> </view> <!-- <view class="list-item-zk" @click="viewStatus = !viewStatus"> @@ -583,6 +584,10 @@ } }, methods: { preview(current, arr) { let urls = arr.map(item => item.url || item.fileurlFull) uni.previewImage({ current, urls }) }, goOrderDetail(id){ uni.navigateTo({ url: '/pages/order-details/order-details?id='+id @@ -1584,19 +1589,19 @@ width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30rpx 0; box-sizing: border-box; .upload-item { width: 156rpx; height: 156rpx; width: 208rpx; height: 208rpx; display: flex; align-items: center; flex-direction: column; justify-content: center; background: #F8F9FB; border-radius: 8rpx; margin-right: 20rpx; border: 2rpx solid #EEEEEE; position: relative; &:last-child { small-program/pages/mine/mine.vue
@@ -15,8 +15,9 @@ <view class="info-box-head-info" v-if="isLogin"> <view class="info-box-head-info-name" @click="jump(1)">{{userInfo.nickName||'匿名'}}</view> <view class="info-box-head-info-type"> <view class="info-box-head-info-type-val">{{userInfo.useIdentity==1?'用工接单方':'用工发布方'}}</view> <view class="info-box-head-info-type-wz" @click="editUseIdentity">切换</view> <view class="info-box-head-info-type-val1" v-if="userInfo.useIdentity==1">用工接单方</view> <view class="info-box-head-info-type-val" v-else>用工发布方</view> <!-- <view class="info-box-head-info-type-wz" @click="editUseIdentity">切换</view> --> </view> </view> <view class="info-box-head-info" v-else @click="jump(5)"> @@ -24,6 +25,10 @@ <view class="info-box-head-info-type"> <view class="info-box-head-info-type-wz">微信授权登录</view> </view> </view> <view class="info-box-head-qiehuan" @click="editUseIdentity"> <image src="/static/icon/ic_change@2x.png" mode="widthFix"></image> <text>切换身份</text> </view> </view> <view class="info-box-label">账户余额</view> @@ -484,7 +489,6 @@ width: 100%; height: 108rpx; display: flex; align-items: center; margin-bottom: 30rpx; .info-box-head-image { width: 108rpx; @@ -498,6 +502,20 @@ margin-right: 24rpx; image { width: 100%; } } .info-box-head-qiehuan { flex-shrink: 0; display: flex; image { width: 32rpx; height: 32rpx; margin-right: 10rpx; } text { font-weight: 400; font-size: 28rpx; color: #00BC12; } } .info-box-head-info { @@ -528,6 +546,19 @@ border: 2rpx solid #FD9E24; margin-right: 20rpx; } .info-box-head-info-type-val1 { width: 144rpx; height: 42rpx; line-height: 42rpx; text-align: center; background: rgba(91,190,56,0.06); border-radius: 8rpx; font-weight: 400; font-size: 24rpx; color: #00BC12; border: 2rpx solid #00BC12; margin-right: 20rpx; } .info-box-head-info-type-wz { font-weight: 400; font-size: 24rpx; small-program/pages/order-details/order-details.vue
@@ -58,14 +58,14 @@ <view v-if="info.type===0" class="order-info-wz"> {{info.categoryName || ''}}|{{info.priceNum1 || '' }}{{feeFrom.priceParam1.unit}}{{feeFrom.priceParam2.name!=null?(' | '+info.priceNum2+feeFrom.priceParam2.unit):''}}</view> <view v-if="info.type===1" class="order-info-wz">{{info.carUnit || ''}}{{' | '}}{{info.transportTypeName || ''}}{{' | '}}{{info.transportNum || '' }}{{info.transportUnit||''}}{{' | '}}需{{info.priceNum2 || '' }}辆</view> <view class="order-info-address"> <view class="order-info-address" v-if="info.type!==1" @click="openAddr({ lat: info.lat, lgt: info.lgt, location: info.location })"> <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> <view class="order-info-address-info"> <text>{{info.location || '' }}</text> <text>{{info.locationRemark || '' }}</text> </view> </view> <view class="order-info-address"> <view class="order-info-address" v-if="info.type!==1"> <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> <view class="order-info-address-info"> <text>{{info.startDate || ''}}{{' 至 '}}{{info.endDate || ''}}({{info.totalDays||0}}天)</text> @@ -73,11 +73,14 @@ </view> <view class="address" v-if="info.type===1 && wayList && wayList.length>0"> <view class="address-xian"></view> <view class="address-row" v-for="(item,index) in wayList" style="display: block;margin: 10px" :key="index"> <view class="address-row" v-for="(item,index) in wayList" style="display: block;margin: 10px" :key="index" @click="openAddr(item)"> <image v-if="index === 0" src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image> <image v-if="index >0 && index < wayList.length-1" src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image> <image v-if="index === wayList.length-1" src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image> <text>{{item.location || ''}}</text> <view class="address-row-info"> {{item.location || ''}} <image class="address-row-right" src="/static/icon/ar_address@2x.png" mode="widthFix"></image> </view> </view> </view> <view class="order-info-x"></view> @@ -85,8 +88,8 @@ <view class="order-info-supplement-title">需求补充:</view> <view class="order-info-supplement-val">{{info.supplement || '' }}</view> <view class="order-info-supplement-list"> <view class="order-info-supplement-list-item" v-for="(item,index) in info.multifileList" v-if="info.multifileList && info.multifileList.length>0" :key="item.imgurl"> <image v-if="item.fileurlFull" :src="item.fileurlFull" @click="previemImg(item.fileurlFull)" mode="widthFix"></image> <view class="order-info-supplement-list-item" v-for="(item,index) in info.multifileList" v-if="info.multifileList && info.multifileList.length>0" :key="item.imgurl" @click="previemImg(index, info.multifileList)"> <image v-if="item.fileurlFull" :src="item.fileurlFull" mode="widthFix"></image> </view> <view style="width: 156rpx; height: 0;"></view> <view style="width: 156rpx; height: 0;"></view> @@ -236,9 +239,9 @@ </view> <view style="width: 100%; height: calc(108rpx + env(safe-area-inset-bottom));" v-if="![99].includes(info.status)"></view> <view class="order-footer" v-if="![99].includes(info.status)"> <template v-if="isPushlishor && info.isUpdate!=1 &&info.status ===2"> <template v-if="isPushlishor && info.isUpdate != 1 && info.status === 2"> <sunui-mverify v-if="1==2" hint="开始作业" @change="getaccept($event)"></sunui-mverify> <view class="order-footer-btn" > <view class="order-footer-btn" v-if="comparisonTime(info.startDate)"> <view class="order-footer-btn-b" @click="show8 = true">开始作业</view> </view> </template> @@ -251,7 +254,6 @@ <view class="order-footer-btn-b" v-if="isPushlishor && ((info.status ===3 && info.type===2))" @click="payment1">完成作业</view> <view class="order-footer-btn-b" v-if="info.type !=2 && info.isUpdate!=1&& isPushlishor && (info.status ===0 || info.status ===1|| info.status ===2)" @click="jumpEdit()">修改订单</view> <view class="order-footer-btn-b" @click="show5 =true" v-if="isAcceptor&& (info.isUpdate==1 && info.status ===2)">修改确认</view> <!-- <view class="order-footer-btn-b" @click="startJobs()" v-if="userInfo.id === info.releaseMemberId && (info.status ===2)">开始作业</view> --> <view class="order-footer-btn-b" @click="show6 =true" v-if="!isPushlishor && (info.status ===1)">抢单</view> </view> <view style="width: 100%; height: env(safe-area-inset-bottom);"></view> @@ -490,8 +492,22 @@ }, onShow(options) { this.getOrderData() console.log(this.comparisonTime('2025-09-13')) }, methods:{ comparisonTime(start) { let startDate = new Date().getTime(); let endDate = new Date(start).getTime(); return startDate >= endDate; }, openAddr(e) { uni.openLocation({ latitude: e.lat, longitude: e.lgt, name: e.location }) }, beginDo(e) { var that = this uni.requestSubscribeMessage({ @@ -716,11 +732,9 @@ }) }, previemImg(src){ uni.previewImage({ current: src, urls: [src] }); previemImg(current, arr) { let urls = arr.map(item => item.fileurlFull) uni.previewImage({ current, urls }); }, contactPhone(phone){ if(phone !=null && phone!=''){ @@ -731,27 +745,7 @@ }, //订单状态:0=待支付 1=待接单;2=已接单;3=进行中;4=已完成;99=已取消 getStatusInfo(){ if(this.userInfo.id === this.info.acceptMemberId){ //如果是接单方 if(this.info.status === 0){ return '' }else if(this.info.status === 1){ return '' }else if(this.info.status === 2){ if(this.info.isUpdate==1){ return '' } return '您已接单,请按时完成订单任务' }else if(this.info.status === 5){ return '您已确认费用,等待发单方支付' }else if(this.info.status === 3){ return '订单进行中,请按时完成订单任务' }else if(this.info.status === 4){ return '您的订单已完成' }else if(this.info.status === 99){ return '订单已取消' } }else{ if(this.isPushlishor){ //如果是发布方 if(this.info.status === 0){ return '请尽快完成支付,发布订单' @@ -773,6 +767,27 @@ return '接单方已确认费用,请点击下方“完成并支付”按钮' }else if(this.info.status === 4){ return this.info.commentStatus==1?'您的订单已完成,欢迎再次使用': '您的订单已完成,请及时评价' }else if(this.info.status === 99){ return '订单已取消' } //如果是接单方 }else{ if(this.info.status === 0){ return '' }else if(this.info.status === 1){ return '发单方已成功发起订单,您可以进行接单' }else if(this.info.status === 2){ if(this.info.isUpdate==1){ return '' } return '您已接单,请按时完成订单任务' }else if(this.info.status === 5){ return '您已确认费用,等待发单方支付' }else if(this.info.status === 3){ return '订单进行中,请按时完成订单任务' }else if(this.info.status === 4){ return '您的订单已完成' }else if(this.info.status === 99){ return '订单已取消' } @@ -887,11 +902,11 @@ this.feeFrom.priceParam2.name ='用工人数' this.feeFrom.priceParam2.unit ='人' }else if(this.info.carType==2){ //按小时 //按重量 this.feeFrom.priceParam1.name ='包装重量' this.feeFrom.priceParam1.unit ='斤' this.feeFrom.priceParam2.name =null this.feeFrom.priceParam2.unit =null this.feeFrom.priceParam2.name ='用工人数' this.feeFrom.priceParam2.unit ='人' } }else if(this.info.type==1 && this.info.carType==0){ //运货单 按天数 @@ -1658,8 +1673,7 @@ z-index: 2; width: 100%; display: flex !important; align-items: center; margin-bottom: 30rpx ; margin-bottom: 32rpx ; margin-left: 0rpx !important; margin-top: 0rpx !important; &:last-child { @@ -1671,10 +1685,17 @@ flex-shrink: 0; margin-right: 24rpx; } text { .address-row-info { width: 100%; font-weight: 400; font-size: 28rpx; color: #333333; .address-row-right { width: 8rpx; height: 16rpx; margin-left: 12rpx; margin-top: 15rpx; } } } } small-program/pages/packaging-worker/packaging-worker.vue
@@ -81,7 +81,7 @@ <view class="list-item-row-label" v-if="form.carType === 1">工作时长<b>*</b></view> <view class="list-item-row-label" v-if="form.carType === 2">包装重量<b>*</b></view> <view class="list-item-row-val"> <input v-model="form.priceNum1" :disabled="form.carType === 0" @blur="getPrice" type="number" placeholder="请输入" /> <input v-model="form.priceNum1" :disabled="form.carType === 0" @blur="getPrice" type="digit" placeholder="请输入" /> <text v-if="form.carType === 0">天</text> <text v-if="form.carType === 1">小时</text> <text v-if="form.carType === 2">斤</text> @@ -90,14 +90,14 @@ <view class="list-item-row"> <view class="list-item-row-label">用工数量<b>*</b></view> <view class="list-item-row-val"> <input type="number" v-model="form.priceNum2" @blur="getPrice" placeholder="请输入" /> <input type="digit" v-model="form.priceNum2" @blur="getPrice" placeholder="请输入" /> <text>人</text> </view> </view> <view class="list-item-row"> <view class="list-item-row-label">费用标准<b>*</b></view> <view class="list-item-row-val"> <input v-model="form.price" type="number" @blur="getPrice" placeholder="请输入" /> <input v-model="form.price" type="digit" @blur="getPrice" placeholder="请输入" /> <text>{{form.priceUnit}}</text> </view> </view> @@ -227,6 +227,7 @@ if (!this.form.multifileList) { this.form.multifileList = [] } this.workDays = res.data.totalDays // this.clickType() } small-program/pages/using-workers/using-workers.vue
@@ -49,7 +49,7 @@ <view class="list-item-row"> <view class="list-item-row-label">采摘重量<b>*</b></view> <view class="list-item-row-val"> <input type="number" v-model="form.priceNum1" @blur="getPrice" placeholder="请输入" /> <input type="digit" v-model="form.priceNum1" @blur="getPrice" placeholder="请输入" /> <text>斤</text> </view> </view> @@ -62,14 +62,15 @@ <view class="list-item-row" > <view class="list-item-row-label">图片</view> <view class="list-item-row-upload"> <view class="upload-item" v-for="(item, index) in form.multifileList" :key="index"> <view class="upload-item" v-for="(item, index) in form.multifileList" :key="index" @click="preview(index, form.multifileList)"> <image :src="item.url || item.fileurlFull" mode="widthFix"></image> <image class="upload-item-dele" @click="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> <image class="upload-item-dele" @click.stop="form.multifileList.splice(index, 1)" src="/static/icon/ic_delete1@2x.png" mode="widthFix"></image> </view> <view class="upload-item" @click="uploadImg"> <u-icon name="plus" color="#999999" size="24"></u-icon> <text>点击上传</text> </view> <view style="width: 215rpx; height: 0;"></view> </view> </view> <!-- <view class="list-item-zk" @click="viewStatus = !viewStatus"> @@ -226,6 +227,10 @@ this.getCateList() }, methods: { preview(current, arr) { let urls = arr.map(item => item.url || item.fileurlFull) uni.previewImage({ current, urls }) }, // 提交订单 submit() { var that = this; @@ -629,21 +634,22 @@ width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30rpx 0; box-sizing: border-box; .upload-item { width: 156rpx; height: 156rpx; width: 215rpx; height: 215rpx; display: flex; align-items: center; flex-direction: column; justify-content: center; background: #F8F9FB; border-radius: 8rpx; margin-right: 20rpx; border: 2rpx solid #EEEEEE; position: relative; margin-bottom: 15rpx; &:last-child { margin: 0 !important; } small-program/static/icon/ar_address@2x.png
small-program/static/icon/ic_change@2x.png