parent
f9156e4f91
commit
2fa5528e35
|
@ -127,6 +127,10 @@ export default {
|
|||
this.$parent.activeName = 'List'
|
||||
},
|
||||
sendMessage() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (!valid) {
|
||||
return false
|
||||
}
|
||||
requestFN(
|
||||
'/vehiclemessage/auditChronicallyCar',
|
||||
{
|
||||
|
@ -141,6 +145,7 @@ export default {
|
|||
}).catch((e) => {
|
||||
this.loading = false
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,6 +129,10 @@ export default {
|
|||
this.$parent.activeName = 'List'
|
||||
},
|
||||
sendMessage() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (!valid) {
|
||||
return false
|
||||
}
|
||||
requestFN(
|
||||
'/vehiclemessage/qyAudit',
|
||||
{
|
||||
|
@ -139,10 +143,12 @@ export default {
|
|||
}
|
||||
).then((data) => {
|
||||
this.visible = false
|
||||
this.handleClose()
|
||||
this.$emit('refresh', '')
|
||||
}).catch((e) => {
|
||||
this.loading = false
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue