Commit 6cd9f22f authored by liwei's avatar liwei

修改了元模型4个模块的样式

parent 92fd1df9
<template>
<BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit">
<BasicTable @register="registerTable1" class="height" style="height: 200px;">
<BasicTable @register="registerTable1" class="height" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
</template>
</BasicTable>
<BasicTable @register="registerTable2" class="height">
<BasicTable @register="registerTable2" class="height" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
</template>
......@@ -48,6 +48,7 @@ const [registerTable1, { reload1 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
const [registerTable2, { reload2 }] = useTable({
title: '',
......@@ -68,6 +69,7 @@ const [registerTable2, { reload2 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
//初始化弹框
......
<template>
<BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit">
<BasicTable @register="registerTable1" class="height" style="height: 300px;">
<BasicTable @register="registerTable1" class="height" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
</template>
</BasicTable>
<BasicTable @register="registerTable2" class="height" style="height: 300px;">
<BasicTable @register="registerTable2" class="height" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
</template>
......@@ -48,6 +48,7 @@ const [registerTable1, { reload1 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
const [registerTable2, { reload2 }] = useTable({
title: '',
......@@ -68,6 +69,7 @@ const [registerTable2, { reload2 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
//初始化弹框
......
......@@ -6,12 +6,12 @@
contentBackground
@back="goBack"
>
<BasicTable @register="registerTable1" class="height1">
<BasicTable @register="registerTable1" class="height1" style="height: 250px">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
</template>
</BasicTable>
<BasicTable @register="registerTable2" class="height2">
<BasicTable @register="registerTable2" class="height2" style="height: 250px">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
</template>
......@@ -55,6 +55,7 @@ const [registerTable1, { reload1 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
const [registerTable2, { reload2 }] = useTable({
title: '',
......@@ -75,6 +76,7 @@ const [registerTable2, { reload2 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false
});
//初始化弹框
......@@ -95,18 +97,4 @@ onMounted(() => {
});
</script>
<style>
/*.height1 {*/
/*.ant-table-container {*/
/*.ant-table-body {*/
/* min-height: 200px;*/
/*}*/
/*}*/
/*}*/
/*.height2 {*/
/*.ant-table-container {*/
/*.ant-table-body {*/
/* min-height: 200px;*/
/*}*/
/*}*/
/*}*/
</style>
<template>
<BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit">
<BasicTable @register="registerTable1" style="height: 200px;">
<BasicTable @register="registerTable1" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="表信息" allowClear></a-input>
</template>
</BasicTable>
<BasicTable @register="registerTable2" style="height: 200px;">
<BasicTable @register="registerTable2" style="height: 250px;">
<template #toolbar>
<a-input style="width: 200px;margin-right: auto" default-value="列信息" allowClear></a-input>
</template>
......@@ -48,6 +48,7 @@ const [registerTable1, { reload1 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
const [registerTable2, { reload2 }] = useTable({
title: '',
......@@ -68,6 +69,7 @@ const [registerTable2, { reload2 }] = useTable({
showIndexColumn: false,
pagination: false,
bordered: true,
canResize: false//取消自适应 取消滚动条
});
//初始化弹框
......
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