This commit is contained in:
@@ -29,7 +29,30 @@
|
||||
>[selected su_index: {{ pvm.selectedScheduledUserItemIndex }}]</span
|
||||
>
|
||||
<template v-if="pvm.scheduledUserItemCount > 1">
|
||||
scheduled user table here
|
||||
<!-- ################################ SCHEDULED USERS TABLE ############################### -->
|
||||
<v-col cols="12">
|
||||
<v-data-table
|
||||
:headers="headerList"
|
||||
:items="itemList"
|
||||
class="elevation-1"
|
||||
disable-pagination
|
||||
disable-filtering
|
||||
disable-sort
|
||||
hide-default-footer
|
||||
data-cy="itemsTable"
|
||||
dense
|
||||
:item-class="itemRowClasses"
|
||||
@click:row="selectItem"
|
||||
>
|
||||
<!-- <template v-slot:[`item.actions`]="{ item }">
|
||||
<v-btn icon @click="selectItem(item)">
|
||||
<v-icon :class="itemRowClasses(item)">
|
||||
$ayiEdit
|
||||
</v-icon>
|
||||
</v-btn>
|
||||
</template> -->
|
||||
</v-data-table>
|
||||
</v-col>
|
||||
</template>
|
||||
<template v-if="pvm.hasSelectedScheduledUserItem">
|
||||
scheduled user form here
|
||||
|
||||
@@ -22,13 +22,12 @@
|
||||
</v-menu>
|
||||
</v-col>
|
||||
|
||||
<!-- items:{{ value.items }}<br /> -->
|
||||
<!-- items:{{ value.items }}<br />
|
||||
<span class="text-caption"
|
||||
>[selected index: {{ pvm.selectedItemIndex }}]</span
|
||||
>
|
||||
>-->
|
||||
<template v-if="pvm.woItemCount > 1">
|
||||
<!-- Workorder item table here, with a click it triggers selected item at parent which triggers form to open for edit below grid -->
|
||||
<!-- ################################ WORK ORDER ITEMS LIST ############################### -->
|
||||
<!-- ################################ WORK ORDER ITEMS TABLE ############################### -->
|
||||
<v-col cols="12">
|
||||
<v-data-table
|
||||
:headers="headerList"
|
||||
@@ -43,13 +42,13 @@
|
||||
:item-class="itemRowClasses"
|
||||
@click:row="selectItem"
|
||||
>
|
||||
<template v-slot:[`item.actions`]="{ item }">
|
||||
<!-- <template v-slot:[`item.actions`]="{ item }">
|
||||
<v-btn icon @click="selectItem(item)">
|
||||
<v-icon :class="itemRowClasses(item)">
|
||||
$ayiEdit
|
||||
</v-icon>
|
||||
</v-btn>
|
||||
</template>
|
||||
</template> -->
|
||||
</v-data-table>
|
||||
</v-col>
|
||||
</template>
|
||||
@@ -202,7 +201,7 @@ and it's probably not a big list to fill anyway
|
||||
});
|
||||
}
|
||||
|
||||
headers.push({ text: "", value: "actions" });
|
||||
// headers.push({ text: "", value: "actions" });
|
||||
|
||||
return headers;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user