task#13769,人员录入测试弹出

This commit is contained in:
2024-05-15 18:29:57 +08:00
parent 957ee45d75
commit 6866491a06

View File

@ -264,6 +264,7 @@ export default {
} }
let bbb=this.driverName.replace(/[^\u4e00-\u9fff]+/g, ''); let bbb=this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
if( this.drivingLicenceName && aaa != bbb ) { if( this.drivingLicenceName && aaa != bbb ) {
this.$toast('aaa1',aaa,bbb)
this.$toast('身份证信息与驾驶证信息不匹配') this.$toast('身份证信息与驾驶证信息不匹配')
} }
}, },
@ -310,6 +311,7 @@ export default {
} }
let bbb = this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, ''); let bbb = this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
if( this.driverName && bbb != aaa ) { if( this.driverName && bbb != aaa ) {
this.$toast('aaa2',aaa,bbb)
this.$toast('身份证信息与驾驶证信息不匹配') this.$toast('身份证信息与驾驶证信息不匹配')
} }
} }
@ -333,7 +335,9 @@ export default {
} }
let drivingLicenceName=this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, ''); let drivingLicenceName=this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
let driverName=this.driverName.replace(/[^\u4e00-\u9fff]+/g, ''); let driverName=this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
if( drivingLicenceName != driverName ) { if( drivingLicenceName != driverName ) {
this.$toast('aaa3',drivingLicenceName,driverName)
this.$toast('身份证信息与驾驶证信息不匹配闫杰') this.$toast('身份证信息与驾驶证信息不匹配闫杰')
return return
} }