| | |
| | | this.$api.getDaka({ |
| | | orderId: id |
| | | }).then(res => { |
| | | if(res.code==1){ |
| | | if (res.code == 1) { |
| | | this.dakaList = res.data.orderBiddingDetailCheck |
| | | this.dakaList.length = 3 |
| | | if (this.dakaList.length == 0) { |
| | | this.dakaList.length = 2 |
| | | } |
| | | if (this.dakaList.length > 6) { |
| | | this.dakaList.length = 6 |
| | | } |
| | | if (this.dakaList.length % 2 !== 0) { |
| | | this.dakaList.push({}) |
| | | } |
| | | }else{ |
| | | } else { |
| | | this.$util.showToast({ |
| | | title: res.error |
| | | }) |
| | |
| | | title: "打卡成功!", |
| | | icon: "success" |
| | | }) |
| | | this.checkPhoto = '' //打卡照片 |
| | | this.faceImg = '' |
| | | this.getDaka(this.orderBiddingId) |
| | | } else { |
| | | this.$util.showToast({ |