| | |
| | | page: { |
| | | type: Object, |
| | | default: function() { |
| | | return null |
| | | return null |
| | | } |
| | | }, |
| | | checkboxConfig: { |
| | |
| | | |
| | | const tableForm = ref([]); |
| | | |
| | | const height = ref(document.documentElement.clientHeight - 94.5 + "px;") |
| | | const height = ref(document.documentElement.clientHeight - 120 + "px;") |
| | | // const url = computed(() => props.src) |
| | | const emit = defineEmits(); |
| | | |
| | |
| | | if (!props.page) { |
| | | return; |
| | | } |
| | | console.log(props.page); |
| | | console.log(props.page.total); |
| | | return { |
| | | total: props.page.total, |
| | | currentPage: props.page.current, |
| | | pageSize: props.page.size, |
| | | align: 'left', |
| | | pageSizes: [10, 20, 50, 100, 500], |
| | | layouts: ['PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total'], |
| | | perfect: true |
| | | layouts: ['PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total'] |
| | | }; |
| | | }); |
| | | |
| | |
| | | |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | <style lang="scss"> |
| | | .hxlh-table .vxe-toolbar .vxe-tools--operate { |
| | | margin-top: -23px; |
| | | } |