司机新增修改
This commit is contained in:
@ -182,11 +182,21 @@ export default {
|
|||||||
this.identityCardFront = this.$route.params?.identityCardFront;
|
this.identityCardFront = this.$route.params?.identityCardFront;
|
||||||
this.driverInfo.lssueDate = this.$route.params?.lssueDate;
|
this.driverInfo.lssueDate = this.$route.params?.lssueDate;
|
||||||
this.drivingLicenceName = this.$route.params?.drivingLicenceName;
|
this.drivingLicenceName = this.$route.params?.drivingLicenceName;
|
||||||
this.identityCardFrontList = [{ url : this.identityCardFront }];
|
if( this.identityCardFront ) {
|
||||||
this.identityCardContraryList = [{ url : this.identityCardContrary }];
|
this.identityCardFrontList = [{ url : this.identityCardFront }];
|
||||||
this.drivingLicenceFrontList = [{ url : this.drivingLicenceFront }];
|
}
|
||||||
this.drivingLicenceContraryList = [{ url : this.drivingLicenceContrary }];
|
if( this.identityCardContrary ) {
|
||||||
this.iconList = [{ url : this.icon }];
|
this.identityCardContraryList = [{ url : this.identityCardContrary }];
|
||||||
|
}
|
||||||
|
if( this.drivingLicenceFront ) {
|
||||||
|
this.drivingLicenceFrontList = [{ url : this.drivingLicenceFront }];
|
||||||
|
}
|
||||||
|
if( this.drivingLicenceContrary ) {
|
||||||
|
this.drivingLicenceContraryList = [{ url : this.drivingLicenceContrary }];
|
||||||
|
}
|
||||||
|
if( this.icon ) {
|
||||||
|
this.iconList = [{ url : this.icon }];
|
||||||
|
}
|
||||||
const selectElement = document.getElementById('mySelect');
|
const selectElement = document.getElementById('mySelect');
|
||||||
selectElement.addEventListener('change', function() {
|
selectElement.addEventListener('change', function() {
|
||||||
const selectedValue = selectElement.value;
|
const selectedValue = selectElement.value;
|
||||||
|
Reference in New Issue
Block a user