|
|
@ -26,8 +26,7 @@ await loadRelatedTableMeta() |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="d-flex d-100 chips-wrapper"> |
|
|
|
<div class="flex align-center gap-1 w-full h-full chips-wrapper"> |
|
|
|
<div class="flex align-center gap-1 w-full chips-wrapper group"> |
|
|
|
|
|
|
|
<!-- <template v-if="!isForm"> --> |
|
|
|
<!-- <template v-if="!isForm"> --> |
|
|
|
<div class="chips flex align-center img-container flex-grow hm-items flex-nowrap min-w-0 overflow-hidden"> |
|
|
|
<div class="chips flex align-center img-container flex-grow hm-items flex-nowrap min-w-0 overflow-hidden"> |
|
|
|
<template v-if="value"> |
|
|
|
<template v-if="value"> |
|
|
@ -43,14 +42,21 @@ await loadRelatedTableMeta() |
|
|
|
<span v-if="value?.length === 10" class="caption pointer ml-1 grey--text" @click="childListDlg = true">more... </span> |
|
|
|
<span v-if="value?.length === 10" class="caption pointer ml-1 grey--text" @click="childListDlg = true">more... </span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="flex-1"/> |
|
|
|
<MdiExpandIcon |
|
|
|
<MdiExpandIcon |
|
|
|
class="hidden group-hover:inline w-[20px] text-gray-500/50 hover:text-gray-500" |
|
|
|
class="nc-action-icon text-gray-500/50 hover:text-gray-500" |
|
|
|
@click="childListDlg = true" |
|
|
|
@click="childListDlg = true" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<MdiPlusIcon class="hidden group-hover:inline w-[20px] text-gray-500/50 hover:text-gray-500" @click="listItemsDlg = true" /> |
|
|
|
<MdiPlusIcon class="nc-action-icon w-[20px] text-gray-500/50 hover:text-gray-500" @click="listItemsDlg = true" /> |
|
|
|
<ListItems v-model="listItemsDlg" /> |
|
|
|
<ListItems v-model="listItemsDlg" /> |
|
|
|
<ListChildItems v-model="childListDlg" /> |
|
|
|
<ListChildItems v-model="childListDlg" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
|
|
.nc-action-icon{ |
|
|
|
|
|
|
|
@apply hidden |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.chips-wrapper:hover .nc-action-icon { |
|
|
|
|
|
|
|
@apply inline-block |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|