| | |
| | | </view> --> |
| | | </view> |
| | | <view class="c-m-20 chuany-font24"> |
| | | 为了保证打卡的正确性,建议在公司门口或进入办公室的门口再打卡。同时,确保照片的清晰、明亮,面部可见。 |
| | | 1、为了确保劳务报酬的准确结算,请在开始工作前3分钟内开始计时,上传“劳务计时”的照片后必须立即投入工作,否则将多倍扣除务工时长; |
| | | 2、必须确保照片的清晰、明亮,面部和当前工作环境可见,否则将影响劳务费用计算; |
| | | 3、劳务计时以小时为单位进行核算。例如:开始计时时间为早上8:00,结束计时时间为11:05分或11:55分,系统核定的务工时间均为3小时。 |
| | | </view> |
| | | <view v-if='dakaList&&dakaList.length>0'> |
| | | <view class="chuany-flex chuany-justify-evenly chuany-flex-wrap c-p-t-20"> |
| | |
| | | v-if="index!==dakaList.length-1&&index%2==0"> |
| | | </view> |
| | | </view> |
| | | <text>{{item.checktime?'已打卡':'未打卡'}}</text> |
| | | <text>{{item.checktime?'已计时':'未计时'}}</text> |
| | | <text |
| | | :class="$util.formatDate(item.checktime,true)=='-'?'core-opa':''">{{$util.formatDate(item.checktime,true)}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="tabbtns"> |
| | | <up-button color='#fece01' class="text-69" text="确认打卡" :loading='isLoading' loadingText="打卡中" |
| | | <up-button color='#fece01' text="确认计时" :loading='isLoading' loadingText="计时中" |
| | | @click="enroll"></up-button> |
| | | </view> |
| | | </view> |
| | |
| | | src: '', |
| | | apiBaseUrl, |
| | | orderBiddingId: '', //招工明细OrderBiddingId |
| | | checkPhoto: '', //打卡照片 |
| | | checkPhoto: '', //计时照片 |
| | | faceImg: '', //人脸图片 |
| | | dakaList: [], |
| | | sourceType: ["camera"], |
| | |
| | | //上传成功回调,处理服务器返回数据【此处根据实际返回数据进行处理】 |
| | | let res = JSON.parse(e.res.data.replace(/\ufeff/g, "") || "{}") |
| | | if (res.data) { |
| | | this.checkPhoto = res.data //打卡照片 |
| | | this.checkPhoto = res.data //计时照片 |
| | | //人脸图片 |
| | | // enterpriseInfo.businessLicense = res.data.url |
| | | // enterpriseInfo.suppliername = res.data.info.name //企业名称 |
| | |
| | | this.isLoading = true |
| | | let obj = { |
| | | OrderId: this.orderBiddingId, //招工明细OrderBiddingId |
| | | checkPhoto: this.checkPhoto, //打卡照片 |
| | | checkPhoto: this.checkPhoto, //计时照片 |
| | | faceImg: this.faceImg, |
| | | } |
| | | this.$api.saveDaka(obj).then(res => { |
| | | if (res.code == 1) { |
| | | this.$util.showToast({ |
| | | title: "打卡成功!", |
| | | title: "计时成功!", |
| | | icon: "success" |
| | | }) |
| | | this.checkPhoto = '' //打卡照片 |
| | | this.checkPhoto = '' //计时照片 |
| | | this.faceImg = '' |
| | | this.$db.del('faceImg') |
| | | this.$refs.uploadP.deleteImage() |