Fixed Setup Query
This commit is contained in:
@@ -369,7 +369,7 @@ const getAvailableQueryStringData = (keys) => {
|
|||||||
<UCard class="mt-5">
|
<UCard class="mt-5">
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<UButton
|
<UButton
|
||||||
@click="router.push(`/standardEntity/tasks/create?${type.substring(0,type.length-1)}=${props.item.id}`)"
|
@click="router.push(`/standardEntity/tasks/create?${getAvailableQueryStringData()}`)"
|
||||||
>
|
>
|
||||||
+ Aufgabe
|
+ Aufgabe
|
||||||
</UButton>
|
</UButton>
|
||||||
@@ -386,7 +386,7 @@ const getAvailableQueryStringData = (keys) => {
|
|||||||
<UCard class="mt-5">
|
<UCard class="mt-5">
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<UButton
|
<UButton
|
||||||
@click="router.push(`/standardEntity/contracts/create?${type.substring(0,type.length-1)}=${props.item.id}`)"
|
@click="router.push(`/standardEntity/contracts/create?${getAvailableQueryStringData({type: 'confirmationOrders'})}`)"
|
||||||
>
|
>
|
||||||
+ Vertrag
|
+ Vertrag
|
||||||
</UButton>
|
</UButton>
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ setupPage()
|
|||||||
v-else-if="loaded && (mode === 'edit' || mode === 'create')"
|
v-else-if="loaded && (mode === 'edit' || mode === 'create')"
|
||||||
:type="route.params.type"
|
:type="route.params.type"
|
||||||
:item="item"
|
:item="item"
|
||||||
|
:mode="mode"
|
||||||
/>
|
/>
|
||||||
<EntityList
|
<EntityList
|
||||||
v-else-if="loaded && mode === 'list'"
|
v-else-if="loaded && mode === 'list'"
|
||||||
|
|||||||
Reference in New Issue
Block a user