mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add switch between creationFormular and updateCreationFormular in UserTable.
This commit is contained in:
parent
d3c42e4a5d
commit
7cf898f72c
@ -62,6 +62,17 @@
|
|||||||
</b-row>
|
</b-row>
|
||||||
{{ type }}
|
{{ type }}
|
||||||
<creation-formular
|
<creation-formular
|
||||||
|
v-if="type === 'PageUserSearch'"
|
||||||
|
type="singleCreation"
|
||||||
|
:pagetype="type"
|
||||||
|
:creation="row.item.creation"
|
||||||
|
:item="row.item"
|
||||||
|
:creationUserData="creationUserData"
|
||||||
|
@update-creation-data="updateCreationData"
|
||||||
|
@update-user-data="updateUserData"
|
||||||
|
/>
|
||||||
|
<edit-creation-formular
|
||||||
|
v-else
|
||||||
type="singleCreation"
|
type="singleCreation"
|
||||||
:pagetype="type"
|
:pagetype="type"
|
||||||
:creation="row.item.creation"
|
:creation="row.item.creation"
|
||||||
@ -119,6 +130,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import CreationFormular from '../components/CreationFormular.vue'
|
import CreationFormular from '../components/CreationFormular.vue'
|
||||||
|
import EditCreationFormular from '../components/EditCreationFormular.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'UserTable',
|
name: 'UserTable',
|
||||||
@ -147,6 +159,7 @@ export default {
|
|||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
CreationFormular,
|
CreationFormular,
|
||||||
|
EditCreationFormular,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user