Commit 180631a6 authored by liwei's avatar liwei

修改了table列表大片空白bug

parent 08121ca0
<template> <template>
<PageWrapper :title="title" class="content-padding" contentBackground @back="goBack"> <PageWrapper :title="title" class="content-padding" contentBackground @back="goBack">
<div class="relatedRelationships_module"> <!-- <div class="relatedRelationships_module">-->
<BasicTable @register="registerTable1"> <BasicTable @register="registerTable1">
<template #toolbar> <template #toolbar>
<a-button type="primary" @click="createQualityButton">创建质量规则</a-button> <a-button type="primary" @click="createQualityButton">创建质量规则</a-button>
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<a @click="showDetails(record)"> {{ text }}</a> <a @click="showDetails(record)"> {{ text }}</a>
</template> </template>
</BasicTable> </BasicTable>
</div> <!-- </div>-->
<!-- 引用模版 弹窗--> <!-- 引用模版 弹窗-->
<RelatedQualityModal @register="registerRelatedQualityModal" @success="handleSuccess" /> <RelatedQualityModal @register="registerRelatedQualityModal" @success="handleSuccess" />
<!-- 引用基础标准 弹窗--> <!-- 引用基础标准 弹窗-->
...@@ -214,6 +214,7 @@ const [registerTable1] = useTable({ ...@@ -214,6 +214,7 @@ const [registerTable1] = useTable({
showIndexColumn:false, showIndexColumn:false,
pagination:false, pagination:false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 100, width: 100,
title: '操作', title: '操作',
...@@ -241,6 +242,7 @@ const [registerTable2] = useTable({ ...@@ -241,6 +242,7 @@ const [registerTable2] = useTable({
showTableSetting: false, showTableSetting: false,
showIndexColumn:false, showIndexColumn:false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 100, width: 100,
title: '操作', title: '操作',
...@@ -268,6 +270,7 @@ const [registerTable3] = useTable({ ...@@ -268,6 +270,7 @@ const [registerTable3] = useTable({
pagination:false, pagination:false,
showIndexColumn:false, showIndexColumn:false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 100, width: 100,
title: '操作', title: '操作',
...@@ -295,6 +298,7 @@ const [registerTable4] = useTable({ ...@@ -295,6 +298,7 @@ const [registerTable4] = useTable({
showIndexColumn:false, showIndexColumn:false,
pagination:false, pagination:false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 100, width: 100,
title: '操作', title: '操作',
...@@ -321,6 +325,7 @@ const [registerTable5] = useTable({ ...@@ -321,6 +325,7 @@ const [registerTable5] = useTable({
showTableSetting: false, showTableSetting: false,
showIndexColumn:false, showIndexColumn:false,
bordered: true, bordered: true,
scroll: { y: 500 },
pagination:false, pagination:false,
actionColumn: { actionColumn: {
width: 100, width: 100,
...@@ -349,6 +354,7 @@ const [registerTable6] = useTable({ ...@@ -349,6 +354,7 @@ const [registerTable6] = useTable({
showIndexColumn:false, showIndexColumn:false,
bordered: true, bordered: true,
pagination:false, pagination:false,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 100, width: 100,
title: '操作', title: '操作',
...@@ -455,11 +461,11 @@ onMounted(() => { ...@@ -455,11 +461,11 @@ onMounted(() => {
</script> </script>
<style lang="scss" scoped> <!--<style lang="scss" scoped>-->
.relatedRelationships_module{ <!--.relatedRelationships_module{-->
::v-deep(.ant-table-body){ <!-- ::v-deep(.ant-table-body){-->
min-height: 150px!important; <!-- min-height: 150px!important;-->
height:150px!important; <!-- height:150px!important;-->
} <!-- }-->
} <!--}-->
</style> <!--</style>-->
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -159,6 +159,7 @@ ...@@ -159,6 +159,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -184,6 +185,7 @@ ...@@ -184,6 +185,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -209,6 +211,7 @@ ...@@ -209,6 +211,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -246,33 +249,3 @@ ...@@ -246,33 +249,3 @@
tableData3.value = editBucketData; tableData3.value = editBucketData;
}); });
</script> </script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 450px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -189,6 +189,7 @@ ...@@ -189,6 +189,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -214,6 +215,7 @@ ...@@ -214,6 +215,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -239,6 +241,7 @@ ...@@ -239,6 +241,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -264,6 +267,7 @@ ...@@ -264,6 +267,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -302,33 +306,3 @@ ...@@ -302,33 +306,3 @@
tableData4.value = editBucketData; tableData4.value = editBucketData;
}); });
</script> </script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 150px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template> <template>
<BasicTable @register="registerTable4" class="height2"> <BasicTable @register="registerTable4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="分区信息" allowClear></a-input> <a-input style="width: 200px;margin-right: auto" default-value="分区信息" allowClear></a-input>
<Radio.Group v-model:value="show"> <Radio.Group v-model:value="show">
...@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容 ...@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -117,12 +118,3 @@ function goBack() { ...@@ -117,12 +118,3 @@ function goBack() {
go('/metaModel/physicsModel/index'); go('/metaModel/physicsModel/index');
} }
</script> </script>
<style>
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 350px;
}
}
}
</style>
<template> <template>
<BasicTable @register="registerTable4" class="height4"> <BasicTable @register="registerTable4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="分桶信息" allowClear></a-input> <a-input style="width: 200px;margin-right: auto" default-value="分桶信息" allowClear></a-input>
<Radio.Group v-model:value="show"> <Radio.Group v-model:value="show">
...@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容 ...@@ -74,6 +74,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -117,12 +118,3 @@ function goBack() { ...@@ -117,12 +118,3 @@ function goBack() {
go('/metaModel/physicsModel/index'); go('/metaModel/physicsModel/index');
} }
</script> </script>
<style>
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template> <template>
<BasicTable @register="registerTable4" class="height3"> <BasicTable @register="registerTable4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input> <a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
<Radio.Group v-model:value="show"> <Radio.Group v-model:value="show">
...@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容 ...@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -116,12 +117,3 @@ function goBack() { ...@@ -116,12 +117,3 @@ function goBack() {
go('/metaModel/physicsModel/index'); go('/metaModel/physicsModel/index');
} }
</script> </script>
<style>
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
<template> <template>
<BasicTable @register="registerTable4" class="height1"> <BasicTable @register="registerTable4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input> <a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
<Radio.Group v-model:value="show"> <Radio.Group v-model:value="show">
...@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容 ...@@ -73,6 +73,7 @@ const show = ref(true); // 默认展示内容
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -115,12 +116,4 @@ function goBack() { ...@@ -115,12 +116,4 @@ function goBack() {
} }
</script> </script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 700px;
}
}
}
</style>
...@@ -95,6 +95,7 @@ const [registerTable1, { reload1,getForm1 }] = useTable({ ...@@ -95,6 +95,7 @@ const [registerTable1, { reload1,getForm1 }] = useTable({
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 1000 },
}); });
const [registerTable2, { reload2,getForm2 }] = useTable({ const [registerTable2, { reload2,getForm2 }] = useTable({
title: '', title: '',
...@@ -115,6 +116,7 @@ const [registerTable2, { reload2,getForm2 }] = useTable({ ...@@ -115,6 +116,7 @@ const [registerTable2, { reload2,getForm2 }] = useTable({
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
}); });
const [registerTable3, { reload3,getForm3 }] = useTable({ const [registerTable3, { reload3,getForm3 }] = useTable({
title: '', title: '',
...@@ -135,6 +137,7 @@ const [registerTable3, { reload3,getForm3 }] = useTable({ ...@@ -135,6 +137,7 @@ const [registerTable3, { reload3,getForm3 }] = useTable({
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
}); });
const [registerTable4, { reload4,getForm4 }] = useTable({ const [registerTable4, { reload4,getForm4 }] = useTable({
title: '', title: '',
...@@ -155,6 +158,7 @@ const [registerTable4, { reload4,getForm4 }] = useTable({ ...@@ -155,6 +158,7 @@ const [registerTable4, { reload4,getForm4 }] = useTable({
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
}); });
//初始化弹框 //初始化弹框
...@@ -191,33 +195,3 @@ onMounted(() => { ...@@ -191,33 +195,3 @@ onMounted(() => {
areaTableData.value = editAreaData areaTableData.value = editAreaData
}); });
</script> </script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 650px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 300px;
}
}
}
.height4 {
.ant-table-container {
.ant-table-body {
min-height: 400px;
}
}
}
</style>
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
return info; return info;
}, },
......
...@@ -159,6 +159,7 @@ ...@@ -159,6 +159,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -184,6 +185,7 @@ ...@@ -184,6 +185,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -209,6 +211,7 @@ ...@@ -209,6 +211,7 @@
showIndexColumn: false, showIndexColumn: false,
pagination: false, pagination: false,
bordered: true, bordered: true,
scroll: { y: 500 },
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
...@@ -247,26 +250,3 @@ ...@@ -247,26 +250,3 @@
tableData3.value = editColumnData; tableData3.value = editColumnData;
}); });
</script> </script>
<style>
.height1 {
.ant-table-container {
.ant-table-body {
min-height: 750px;
}
}
}
.height2 {
.ant-table-container {
.ant-table-body {
min-height: 600px;
}
}
}
.height3 {
.ant-table-container {
.ant-table-body {
min-height: 350px;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment