Compare commits
2 Commits
079de81427
...
125c2c9a00
Author | SHA1 | Date |
---|---|---|
|
125c2c9a00 | |
|
2fa5528e35 |
|
@ -127,8 +127,10 @@ export default {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'List'
|
||||||
},
|
},
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
this.$refs.form.validate(valid => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (!valid) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
requestFN(
|
requestFN(
|
||||||
'/vehiclemessage/auditChronicallyCar',
|
'/vehiclemessage/auditChronicallyCar',
|
||||||
{
|
{
|
||||||
|
@ -143,9 +145,6 @@ export default {
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
} else {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,6 +129,10 @@ export default {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'List'
|
||||||
},
|
},
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
|
this.$refs.form.validate((valid) => {
|
||||||
|
if (!valid) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
requestFN(
|
requestFN(
|
||||||
'/vehiclemessage/qyAudit',
|
'/vehiclemessage/qyAudit',
|
||||||
{
|
{
|
||||||
|
@ -139,10 +143,12 @@ export default {
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
this.handleClose()
|
||||||
this.$emit('refresh', '')
|
this.$emit('refresh', '')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue