代办事项审核bug修复

This commit is contained in:
2023-08-23 19:39:52 +08:00
parent bb0b66f178
commit 9ca429cbf2
4 changed files with 11 additions and 11 deletions

View File

@ -31,7 +31,7 @@ import {myMixins} from "@/utils/myMixins"
<style scoped lang="scss"> <style scoped lang="scss">
@import "@/styles/mixin.scss"; @import "@/styles/mixin.scss";
.button { .button {
position: absolute; position: fixed;
bottom: 30px; bottom: 30px;
border-radius: 5px; border-radius: 5px;
text-align: center; text-align: center;

View File

@ -105,9 +105,9 @@ export default {
this.states=e this.states=e
}, },
async submitBtn(){ async submitBtn(){
if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){ // if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){
this.$toast('必填字段未填写') // this.$toast('必填字段未填写')
}else{ // }else{
await saveDriver({ await saveDriver({
driverId:this.id ? this.id : '', driverId:this.id ? this.id : '',
driverName:this.driverName , driverName:this.driverName ,
@ -126,7 +126,7 @@ export default {
setTimeout(()=>{ setTimeout(()=>{
this.$router.back(); this.$router.back();
},2000) },2000)
} // }
}, },
cancelBtn(){//取消 cancelBtn(){//取消
this.$router.back() this.$router.back()

View File

@ -126,8 +126,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
@import "@/styles/mixin.scss"; @import "@/styles/mixin.scss";
.wrap { .wrap {
width: 100%; @include wh(100%,100%);
height: 100%;
background-color: #F4F5F7; background-color: #F4F5F7;
overflow-y: auto; overflow-y: auto;
} }
@ -185,5 +184,6 @@ export default {
} }
.btn{ .btn{
margin-left: 24px; margin-left: 24px;
margin-top: 30px;
} }
</style> </style>

View File

@ -158,9 +158,9 @@ export default {
this.$router.back() this.$router.back()
}, },
async submitBtn(){ async submitBtn(){
if(this.carNum || this.selectedOption || this.isJoin){ // if(this.carNum || this.selectedOption || this.isJoin){
this.$toast('必填字段未填写') // this.$toast('必填字段未填写')
}else{ // }else{
await saveVehicle({ await saveVehicle({
vehicleId:this.id ? this.id : '', vehicleId:this.id ? this.id : '',
plateNumber:this.carNum ? this.carNum :'', plateNumber:this.carNum ? this.carNum :'',
@ -177,7 +177,7 @@ export default {
this.$router.back(); this.$router.back();
},2000) },2000)
} }
}, // },
}, },
components:{ components:{
CellGroup, CellGroup,