代办事项审核bug修复
This commit is contained in:
@ -31,7 +31,7 @@ import {myMixins} from "@/utils/myMixins"
|
||||
<style scoped lang="scss">
|
||||
@import "@/styles/mixin.scss";
|
||||
.button {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
|
@ -105,9 +105,9 @@ export default {
|
||||
this.states=e
|
||||
},
|
||||
async submitBtn(){
|
||||
if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){
|
||||
this.$toast('必填字段未填写')
|
||||
}else{
|
||||
// if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){
|
||||
// this.$toast('必填字段未填写')
|
||||
// }else{
|
||||
await saveDriver({
|
||||
driverId:this.id ? this.id : '',
|
||||
driverName:this.driverName ,
|
||||
@ -126,7 +126,7 @@ export default {
|
||||
setTimeout(()=>{
|
||||
this.$router.back();
|
||||
},2000)
|
||||
}
|
||||
// }
|
||||
},
|
||||
cancelBtn(){//取消
|
||||
this.$router.back()
|
||||
|
@ -126,8 +126,7 @@ export default {
|
||||
<style scoped lang="scss">
|
||||
@import "@/styles/mixin.scss";
|
||||
.wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@include wh(100%,100%);
|
||||
background-color: #F4F5F7;
|
||||
overflow-y: auto;
|
||||
}
|
||||
@ -185,5 +184,6 @@ export default {
|
||||
}
|
||||
.btn{
|
||||
margin-left: 24px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
</style>
|
@ -158,9 +158,9 @@ export default {
|
||||
this.$router.back()
|
||||
},
|
||||
async submitBtn(){
|
||||
if(this.carNum || this.selectedOption || this.isJoin){
|
||||
this.$toast('必填字段未填写')
|
||||
}else{
|
||||
// if(this.carNum || this.selectedOption || this.isJoin){
|
||||
// this.$toast('必填字段未填写')
|
||||
// }else{
|
||||
await saveVehicle({
|
||||
vehicleId:this.id ? this.id : '',
|
||||
plateNumber:this.carNum ? this.carNum :'',
|
||||
@ -177,7 +177,7 @@ export default {
|
||||
this.$router.back();
|
||||
},2000)
|
||||
}
|
||||
},
|
||||
// },
|
||||
},
|
||||
components:{
|
||||
CellGroup,
|
||||
|
Reference in New Issue
Block a user