task#13769,时间测试
This commit is contained in:
@ -275,12 +275,15 @@ export default {
|
|||||||
});
|
});
|
||||||
this.idCardAuthority=res.data.authority
|
this.idCardAuthority=res.data.authority
|
||||||
let date=res.data.validDate.split('-')
|
let date=res.data.validDate.split('-')
|
||||||
|
this.$toast("date=="+res.data.validDate)
|
||||||
this.idCardValidStartTime=formatDate(date[0]) +' '+ '00:00:00';
|
this.idCardValidStartTime=formatDate(date[0]) +' '+ '00:00:00';
|
||||||
|
console.log("==",this.idCardValidStartTime)
|
||||||
if(date[1] == '长期'){
|
if(date[1] == '长期'){
|
||||||
this.idCardValidEndTime='2099-12-12' +' '+ '00:00:00';
|
this.idCardValidEndTime='2099-12-12' +' '+ '00:00:00';
|
||||||
}else{
|
}else{
|
||||||
this.idCardValidEndTime=formatDate(date[1]) +' '+ '00:00:00';
|
this.idCardValidEndTime=formatDate(date[1]) +' '+ '00:00:00';
|
||||||
}
|
}
|
||||||
|
console.log("==",this.idCardValidEndTime)
|
||||||
},
|
},
|
||||||
async drivingLicenceOcrHandler() { // 驾驶证正面 ocr识别
|
async drivingLicenceOcrHandler() { // 驾驶证正面 ocr识别
|
||||||
this.driverInfo.drivingLicenceValidityDate = '';
|
this.driverInfo.drivingLicenceValidityDate = '';
|
||||||
|
Reference in New Issue
Block a user