|
|
@@ -265,6 +265,7 @@ const formSlots = ref<FormSlot[]>([])
|
|
|
buildFormSlots(props.formConfig.formItems, formSlots.value)
|
|
|
// ============== 表单部分结束 ===============
|
|
|
|
|
|
+// 动态计算table高度
|
|
|
const toolbarRef = ref<any>(null)
|
|
|
const paginationRef = ref<any>(null)
|
|
|
const tableHeight = computed(() => {
|
|
|
@@ -362,16 +363,15 @@ defineExpose({
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|
|
|
</div>
|
|
|
- <div ref="paginationRef" class="flex justify-end shrink-0">
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- layout="prev, pager, next, jumper, total"
|
|
|
- v-model:current-page="curPage"
|
|
|
- :page-size="pageSize"
|
|
|
- :total="total"
|
|
|
- class="mt-16px"
|
|
|
- />
|
|
|
- </div>
|
|
|
+ <el-pagination
|
|
|
+ ref="paginationRef"
|
|
|
+ background
|
|
|
+ layout="->, prev, pager, next, jumper, total"
|
|
|
+ v-model:current-page="curPage"
|
|
|
+ :page-size="pageSize"
|
|
|
+ :total="total"
|
|
|
+ class="mt-16px"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</div>
|