This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<gz-dash
|
<gz-dash
|
||||||
icon="$ayiUser"
|
icon="$ayiTools"
|
||||||
|
:add-url="'svc-workorders/0'"
|
||||||
:show-context-button="true"
|
:show-context-button="true"
|
||||||
:update-frequency="300000"
|
:update-frequency="300000"
|
||||||
v-bind="[$props, $attrs]"
|
v-bind="[$props, $attrs]"
|
||||||
@@ -10,7 +11,28 @@
|
|||||||
>
|
>
|
||||||
<template slot="main">
|
<template slot="main">
|
||||||
<v-sheet height="400">
|
<v-sheet height="400">
|
||||||
{{ obj }}
|
<!-- {{ obj }} -->
|
||||||
|
<template v-for="(item, i) in obj">
|
||||||
|
<v-list-item :key="i" two-line :to="'/svc-workorders/' + item.id">
|
||||||
|
<v-list-item-content>
|
||||||
|
<v-list-item-title
|
||||||
|
><span class="text-h6">{{ item.serial }}</span
|
||||||
|
><span class="ml-4">{{ $ay.dt(item.servicedate) }}</span>
|
||||||
|
<span class="ml-4">{{ item.name }}</span></v-list-item-title
|
||||||
|
>
|
||||||
|
<v-list-item-subtitle>{{ item.notes }}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<!-- <template v-for="(item, i) in obj"
|
||||||
|
><span :key="i" class="ml-2"
|
||||||
|
><a :href="'/svc-workorders/' + item.id">{{ item.serial }}</a
|
||||||
|
><span class="ml-2"
|
||||||
|
>{{ $ay.dt(item.servicedate) }} {{ item.name }}</span
|
||||||
|
></span
|
||||||
|
></template
|
||||||
|
> -->
|
||||||
</v-sheet>
|
</v-sheet>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user