|
|
@ -225,7 +225,7 @@ watch(vModel, (nextVal) => { |
|
|
|
v-for="(refRow, i) in childrenExcludedList?.list ?? []" |
|
|
|
v-for="(refRow, i) in childrenExcludedList?.list ?? []" |
|
|
|
:key="i" |
|
|
|
:key="i" |
|
|
|
:ref="selectedRowIndex === i ? activeRow : null" |
|
|
|
:ref="selectedRowIndex === i ? activeRow : null" |
|
|
|
class="!my-4 cursor-pointer hover:(!bg-gray-200/50 shadow-md) group" |
|
|
|
class="nc-nested-list-item !my-4 cursor-pointer hover:(!bg-gray-200/50 shadow-md) group" |
|
|
|
:class="{ 'nc-selected-row': selectedRowIndex === i }" |
|
|
|
:class="{ 'nc-selected-row': selectedRowIndex === i }" |
|
|
|
@click="linkRow(refRow)" |
|
|
|
@click="linkRow(refRow)" |
|
|
|
> |
|
|
|
> |
|
|
@ -234,9 +234,9 @@ watch(vModel, (nextVal) => { |
|
|
|
:column="props.column" |
|
|
|
:column="props.column" |
|
|
|
:show-unlink-button="false" |
|
|
|
:show-unlink-button="false" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<span class="hidden group-hover:(inline) text-gray-400 text-[11px] ml-1"> |
|
|
|
<!-- <span class="hidden group-hover:(inline) text-gray-400 text-[11px] ml-1">--> |
|
|
|
({{ $t('labels.primaryKey') }} : {{ getRelatedTableRowId(refRow) }}) |
|
|
|
<!-- ({{ $t('labels.primaryKey') }} : {{ getRelatedTableRowId(refRow) }})--> |
|
|
|
</span> |
|
|
|
<!-- </span>--> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -281,4 +281,8 @@ watch(vModel, (nextVal) => { |
|
|
|
:deep(.nc-selected-row) { |
|
|
|
:deep(.nc-selected-row) { |
|
|
|
@apply !ring; |
|
|
|
@apply !ring; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:deep(.nc-nested-list-item .ant-card-body){ |
|
|
|
|
|
|
|
@apply !p-2 |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|