parent
f9156e4f91
commit
2fa5528e35
|
@ -127,19 +127,24 @@ export default {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'List'
|
||||||
},
|
},
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
requestFN(
|
this.$refs.form.validate((valid) => {
|
||||||
'/vehiclemessage/auditChronicallyCar',
|
if (!valid) {
|
||||||
{
|
return false
|
||||||
FIRST_AUDIT_USER_ID: JSON.parse(sessionStorage.getItem('user')).USER_ID,
|
|
||||||
IS_AUDIT: this.form.STATUS,
|
|
||||||
VEHICLE_ID: this.VEHICLE_ID,
|
|
||||||
REMARK: this.form.OPINION
|
|
||||||
}
|
}
|
||||||
).then((data) => {
|
requestFN(
|
||||||
this.visible = false
|
'/vehiclemessage/auditChronicallyCar',
|
||||||
this.$emit('refresh', '')
|
{
|
||||||
}).catch((e) => {
|
FIRST_AUDIT_USER_ID: JSON.parse(sessionStorage.getItem('user')).USER_ID,
|
||||||
this.loading = false
|
IS_AUDIT: this.form.STATUS,
|
||||||
|
VEHICLE_ID: this.VEHICLE_ID,
|
||||||
|
REMARK: this.form.OPINION
|
||||||
|
}
|
||||||
|
).then((data) => {
|
||||||
|
this.visible = false
|
||||||
|
this.$emit('refresh', '')
|
||||||
|
}).catch((e) => {
|
||||||
|
this.loading = false
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,19 +129,25 @@ export default {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'List'
|
||||||
},
|
},
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
requestFN(
|
this.$refs.form.validate((valid) => {
|
||||||
'/vehiclemessage/qyAudit',
|
if (!valid) {
|
||||||
{
|
return false
|
||||||
AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID,
|
|
||||||
VEHICLE_ID: this.VEHICLE_ID,
|
|
||||||
IS_AUDIT: this.form.STATUS,
|
|
||||||
REMARK: this.form.OPINION
|
|
||||||
}
|
}
|
||||||
).then((data) => {
|
requestFN(
|
||||||
this.visible = false
|
'/vehiclemessage/qyAudit',
|
||||||
this.$emit('refresh', '')
|
{
|
||||||
}).catch((e) => {
|
AUDITOR: JSON.parse(sessionStorage.getItem('user')).USER_ID,
|
||||||
this.loading = false
|
VEHICLE_ID: this.VEHICLE_ID,
|
||||||
|
IS_AUDIT: this.form.STATUS,
|
||||||
|
REMARK: this.form.OPINION
|
||||||
|
}
|
||||||
|
).then((data) => {
|
||||||
|
this.visible = false
|
||||||
|
this.handleClose()
|
||||||
|
this.$emit('refresh', '')
|
||||||
|
}).catch((e) => {
|
||||||
|
this.loading = false
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue