This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
<span class="text-caption">{{ $ay.t("WorkOrderStatus") }}</span>
|
||||
</div>
|
||||
<template>
|
||||
<div class="mb-6 mb-sm-0" @click="openDialog = true">
|
||||
<div
|
||||
class="mb-6 mb-sm-0"
|
||||
@click="openDialog = true"
|
||||
:data-cy="`${dataCy}:open`"
|
||||
>
|
||||
<v-btn icon class="ml-n1 mr-2">
|
||||
<v-icon>{{ openIcon() }}</v-icon>
|
||||
</v-btn>
|
||||
@@ -75,6 +79,7 @@
|
||||
:label="$ay.t('NewStatus')"
|
||||
prepend-icon="$ayiEdit"
|
||||
@click:prepend="handleEditStateClick()"
|
||||
:data-cy="`${dataCy}:picker`"
|
||||
>
|
||||
<template v-slot:item="data">
|
||||
<v-list-item-avatar>
|
||||
@@ -121,6 +126,7 @@
|
||||
:disabled="selectedStatus == null"
|
||||
text
|
||||
@click="save()"
|
||||
:data-cy="`${dataCy}:btnok`"
|
||||
>{{ $ay.t("OK") }}</v-btn
|
||||
>
|
||||
</v-card-actions>
|
||||
@@ -155,6 +161,7 @@ export default {
|
||||
default: null,
|
||||
type: Array
|
||||
},
|
||||
dataCy: { type: String, default: null },
|
||||
formKey: { type: String, default: "" }, //used to grab template from store
|
||||
readonly: Boolean,
|
||||
disabled: Boolean
|
||||
|
||||
Reference in New Issue
Block a user