Enable Edit and View of Reports
This commit is contained in:
parent
5ea5a0160a
commit
31b7ec9c3e
10 changed files with 162 additions and 56 deletions
|
@ -22,7 +22,7 @@ export const useEquipmentDamageReportStore = defineStore("equipmentDamageReport"
|
|||
)
|
||||
.then((result) => {
|
||||
this.totalCount = result.data.total;
|
||||
result.data.reports
|
||||
result.data.damageReports
|
||||
.filter((elem: DamageReportViewModel) => this.damageReports.findIndex((m) => m.id == elem.id) == -1)
|
||||
.map((elem: DamageReportViewModel, index: number): DamageReportViewModel & { tab_pos: number } => {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue