|
|
|
@ -108,8 +108,8 @@ const columns = [
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex flex-col w-full"> |
|
|
|
|
<div class="flex flex-col"> |
|
|
|
|
<div class="h-full flex flex-col w-full"> |
|
|
|
|
<div class="h-full flex flex-col"> |
|
|
|
|
<div class="flex flex-row justify-between items-center w-full mb-4"> |
|
|
|
|
<div class="flex"> |
|
|
|
|
<div v-if="isDifferent"> |
|
|
|
@ -140,7 +140,7 @@ const columns = [
|
|
|
|
|
</div> |
|
|
|
|
</a-button> |
|
|
|
|
</div> |
|
|
|
|
<div class="h-auto max-h-600px"> |
|
|
|
|
<div class="h-auto max-h-[calc(100%_-_72px)] overflow-y-auto nc-scrollbar-thin"> |
|
|
|
|
<a-table |
|
|
|
|
class="nc-metasync-table w-full" |
|
|
|
|
size="small" |
|
|
|
@ -153,6 +153,7 @@ const columns = [
|
|
|
|
|
:columns="columns" |
|
|
|
|
:pagination="false" |
|
|
|
|
:loading="isLoading" |
|
|
|
|
sticky |
|
|
|
|
bordered |
|
|
|
|
> |
|
|
|
|
<template #emptyText> |
|
|
|
@ -179,26 +180,4 @@ const columns = [
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
:deep(.nc-metasync-table) { |
|
|
|
|
@apply !h-[calc(100%_-_102px)]; |
|
|
|
|
|
|
|
|
|
.ant-spin-nested-loading, |
|
|
|
|
.ant-spin-container, |
|
|
|
|
.ant-table, |
|
|
|
|
.ant-table-container, |
|
|
|
|
table { |
|
|
|
|
@apply !h-full; |
|
|
|
|
} |
|
|
|
|
.ant-table-thead { |
|
|
|
|
@apply sticky top-0 w-full z-10; |
|
|
|
|
} |
|
|
|
|
.ant-table-content { |
|
|
|
|
@apply !h-auto max-h-full overflow-auto nc-scrollbar-thin; |
|
|
|
|
|
|
|
|
|
tr { |
|
|
|
|
height: auto !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
<style lang="scss" scoped></style> |
|
|
|
|