This commit is contained in:
2021-11-09 19:58:04 +01:00
parent b392bc9e65
commit bfca6d2afc
4 changed files with 14 additions and 32 deletions

View File

@@ -82,10 +82,8 @@
</p>
</div>
</div>
<div class="my-3"><!--
-->
<div class="my-3">
<VueMultiselect
:value="relation"
id="relation"
label="title"
track-by="id"
@@ -96,6 +94,7 @@
:searchable="true"
:options="relations"
v-model="relation"
:value="relation"
>
</VueMultiselect>
</div>
@@ -108,10 +107,6 @@
>
<label class="form-check-label" for="reverse">{{ $t('visgraph.reverse_relation') }}</label>
</div>
<!--pre class="debug">
modal.data
{{ modal.data }}
</pre-->
</form>
</div>
</template>
@@ -147,8 +142,6 @@ export default {
container: '',
checkedLayers: [],
relations: [],
//relation: null,
//reverse: false,
displayHelpMessage: false,
listenPersonFlag: 'normal',
newEdgeData: {},
@@ -218,9 +211,11 @@ export default {
return this.checkedLayers
},
/*
toggleIdPerson() {
console.log('toggleIdPerson')
},
*/
relation: {
get() {
@@ -239,8 +234,6 @@ export default {
this.modal.data.reverse = value
}
},
/*
*/
},
mounted() {
@@ -394,24 +387,13 @@ export default {
this.modal.data = edgeData
this.relation = this.modal.data.relation
this.reverse = this.modal.data.reverse
console.log('==- editRelationshipModal', this.modal.data, this.relation, this.reverse)
console.log('==- editRelationshipModal', this.modal.data)
this.modal.action = 'edit'
this.modal.title = 'visgraph.edit_relationship_link'
this.modal.button.class = 'btn-edit'
this.modal.button.text = 'action.edit'
this.modal.showModal = true
},
/*
deleteRelationshipModal(edgeData) {
this.modal.data = edgeData
console.log('==- deleteRelationshipModal', edgeData)
this.modal.action = 'delete'
this.modal.title = 'visgraph.delete_relationship_link'
this.modal.button.class = 'btn-delete'
this.modal.button.text = 'action.delete'
this.modal.showModal = true
},
*/
resetForm() {
console.log('==- reset Form')