|
@@ -174,7 +174,7 @@
|
|
|
confirm() {
|
|
|
if(this.fileList.length===0) return this.$showToast('请先外出签到拍照')
|
|
|
let params = { outUserId:this.outUserId };
|
|
|
- params[this.isSW==1?'checkInTime':'clockOutTime'] = new Date().Format('hh:mm');
|
|
|
+ params[this.isSW==1?'checkInTime':'clockOutTime'] = new Date().Format('yyyy-MM-dd hh:mm');
|
|
|
params.file = this.fileList[0].url;
|
|
|
params.position = this.address;
|
|
|
this.$api.post(this.url,params).then(res=>{
|