|
|
@ -18,9 +18,9 @@ |
|
|
|
dense |
|
|
|
dense |
|
|
|
> |
|
|
|
> |
|
|
|
<template #item="{item}"> |
|
|
|
<template #item="{item}"> |
|
|
|
<span class="caption"><span class="font-weight-bold"> {{ |
|
|
|
<span class="caption"><span class="font-weight-bold">{{ item.column.title }}</span> <small>({{ relationNames[item.col.type] }} {{ |
|
|
|
item.title || item.table_name |
|
|
|
item.title || item.table_name |
|
|
|
}}</span> <small>({{ relationNames[item.col.type] }}) |
|
|
|
}}) |
|
|
|
</small></span> |
|
|
|
</small></span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</v-autocomplete> |
|
|
|
</v-autocomplete> |
|
|
@ -98,6 +98,7 @@ export default { |
|
|
|
c.uidt === UITypes.LinkToAnotherRecord && c.colOptions.type !== 'bt' && !c.system |
|
|
|
c.uidt === UITypes.LinkToAnotherRecord && c.colOptions.type !== 'bt' && !c.system |
|
|
|
).map(c => ({ |
|
|
|
).map(c => ({ |
|
|
|
col: c.colOptions, |
|
|
|
col: c.colOptions, |
|
|
|
|
|
|
|
column: c, |
|
|
|
...this.tables.find(t => t.id === c.colOptions.fk_related_model_id) |
|
|
|
...this.tables.find(t => t.id === c.colOptions.fk_related_model_id) |
|
|
|
})) |
|
|
|
})) |
|
|
|
|
|
|
|
|
|
|
|