| | |
| | | //e.res 为服务器返回数据 |
| | | //上传成功回调,处理服务器返回数据【此处根据实际返回数据进行处理】 |
| | | let res = e.res |
| | | console.log(res,'55555555’'); |
| | | // let res = JSON.parse(e.res.data.replace(/\ufeff/g, "") || "{}") |
| | | if (res.statusCode == 200) { |
| | | if (res.data && text == 'carCondition') { |
| | |
| | | }, |
| | | //选择图片或上传完成时触发 |
| | | completeInvoice(val, e) { |
| | | console.log(val,'------------’'); |
| | | if (e.action == 'delete') { |
| | | if (val == 'licheng') { |
| | | this.clockInfo.mileageImg = '' |
| | |
| | | } |
| | | }) |
| | | }).catch(errors => { |
| | | this.$util.showToast({ |
| | | title: `打卡异常-${errors}`, |
| | | }) |
| | | this.$refs.clockInModal.loading = false |
| | | }) |
| | | |
| | | |
| | | }, |
| | | cancelModal() { |
| | | this.showClockIn = false |