16 lines
422 B
JavaScript
Executable File
16 lines
422 B
JavaScript
Executable File
const vnReport = require('../../../core/mixins/vn-report.js');
|
|
module.exports = {
|
|
name: 'vehicle-event-expired',
|
|
mixins: [vnReport],
|
|
async serverPrefetch() {
|
|
this.vehicleEvents = await this.rawSqlFromDef('vehicleEvents', [this.eventIds]);
|
|
this.checkMainEntity(this.vehicleEvents);
|
|
},
|
|
props: {
|
|
eventIds: {
|
|
type: [Array],
|
|
required: true
|
|
}
|
|
}
|
|
};
|