Commit 2c402b79 authored by liwei's avatar liwei

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

parent 5267ff3c
...@@ -61,13 +61,13 @@ export const TreeData: any[] = [ ...@@ -61,13 +61,13 @@ export const TreeData: any[] = [
"code:": "001", "code:": "001",
"ancestors" : "0", "ancestors" : "0",
"orderNum" : 0, "orderNum" : 0,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流", "location":"/任务流",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
icon:'ant-design:partition-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -78,13 +78,13 @@ export const TreeData: any[] = [ ...@@ -78,13 +78,13 @@ export const TreeData: any[] = [
"code:": "002", "code:": "002",
"ancestors" : "0,100", "ancestors" : "0,100",
"orderNum" : 1, "orderNum" : 1,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例", "location":"/任务流/典型案例",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
icon:'ant-design:folder-open-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -95,13 +95,13 @@ export const TreeData: any[] = [ ...@@ -95,13 +95,13 @@ export const TreeData: any[] = [
"code:": "003", "code:": "003",
"ancestors" : "0,100", "ancestors" : "0,100",
"orderNum" : 2, "orderNum" : 2,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/个人体验", "location":"/任务流/个人体验",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
icon:'ant-design:folder-open-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -112,13 +112,13 @@ export const TreeData: any[] = [ ...@@ -112,13 +112,13 @@ export const TreeData: any[] = [
"code:": "005", "code:": "005",
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 2, "orderNum" : 2,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例/总-智慧财务总体流程", "location":"/任务流/典型案例/总-智慧财务总体流程",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-22 8:04:04", "createDate": "2024-10-22 8:04:04",
"updateDate": "2024-10-22 8:04:04", "updateDate": "2024-10-22 8:04:04",
icon:'ant-design:partition-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -129,13 +129,13 @@ export const TreeData: any[] = [ ...@@ -129,13 +129,13 @@ export const TreeData: any[] = [
"code:": "006", "code:": "006",
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 3, "orderNum" : 3,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例/分-落地区", "location":"/任务流/典型案例/分-落地区",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-21 9:04:04", "createDate": "2024-10-21 9:04:04",
"updateDate": "2024-10-21 9:04:04", "updateDate": "2024-10-21 9:04:04",
icon:'ant-design:partition-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -146,13 +146,13 @@ export const TreeData: any[] = [ ...@@ -146,13 +146,13 @@ export const TreeData: any[] = [
"code:": "008", "code:": "008",
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 5, "orderNum" : 5,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例/分-改良区", "location":"/任务流/典型案例/分-改良区",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-23 12:04:04", "createDate": "2024-10-23 12:04:04",
"updateDate": "2024-10-23 12:04:04", "updateDate": "2024-10-23 12:04:04",
icon:'ant-design:partition-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -163,13 +163,13 @@ export const TreeData: any[] = [ ...@@ -163,13 +163,13 @@ export const TreeData: any[] = [
"code:": "009", "code:": "009",
"ancestors" : "0,100,107", "ancestors" : "0,100,107",
"orderNum" : 1, "orderNum" : 1,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例/分-个人体验1", "location":"/任务流/典型案例/分-个人体验1",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 13:04:04", "createDate": "2024-10-24 13:04:04",
"updateDate": "2024-10-24 13:04:04", "updateDate": "2024-10-24 13:04:04",
icon:'ant-design:partition-outlined'
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -180,13 +180,13 @@ export const TreeData: any[] = [ ...@@ -180,13 +180,13 @@ export const TreeData: any[] = [
"code:": "010", "code:": "010",
"ancestors" : "0,100,107", "ancestors" : "0,100,107",
"orderNum" : 2, "orderNum" : 2,
// "children" : [ ],
"selectType" : null, "selectType" : null,
"fileSize": '1024KB', "fileSize": '1024KB',
"location":"/任务流/典型案例/分-个人体验2", "location":"/任务流/典型案例/分-个人体验2",
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 14:04:04", "createDate": "2024-10-24 14:04:04",
"updateDate": "2024-10-25 14:04:04", "updateDate": "2024-10-25 14:04:04",
icon:'ant-design:partition-outlined'
}, },
]; ];
export const DetailTreeData: any[] = [ export const DetailTreeData: any[] = [
......
...@@ -21,7 +21,8 @@ export const TreeData: any[] = [ ...@@ -21,7 +21,8 @@ export const TreeData: any[] = [
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
selectType: null, selectType: null,
type: 'MySQL' type: 'MySQL',
icon: 'ion:settings-outline',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -36,7 +37,8 @@ export const TreeData: any[] = [ ...@@ -36,7 +37,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -51,7 +53,8 @@ export const TreeData: any[] = [ ...@@ -51,7 +53,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -66,7 +69,8 @@ export const TreeData: any[] = [ ...@@ -66,7 +69,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -81,7 +85,8 @@ export const TreeData: any[] = [ ...@@ -81,7 +85,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -96,7 +101,8 @@ export const TreeData: any[] = [ ...@@ -96,7 +101,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -111,7 +117,8 @@ export const TreeData: any[] = [ ...@@ -111,7 +117,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -126,7 +133,8 @@ export const TreeData: any[] = [ ...@@ -126,7 +133,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -141,7 +149,8 @@ export const TreeData: any[] = [ ...@@ -141,7 +149,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
]; ];
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</template> </template>
<BasicTable @register="registerTable1" class="height"> <BasicTable @register="registerTable1" class="height1">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="表信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="表信息" allowClear />
</template> </template>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" class="height2">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="分桶信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="分桶信息" allowClear />
</template> </template>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable3" class="height"> <BasicTable @register="registerTable3" class="height3">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear />
</template> </template>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable4" class="height"> <BasicTable @register="registerTable4" class="height4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear />
</template> </template>
...@@ -299,11 +299,32 @@ ...@@ -299,11 +299,32 @@
}); });
</script> </script>
<style> <style>
.height { .height1 {
.ant-table-container { .ant-table-container {
.ant-table-body { .ant-table-body {
min-height: 500px; 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> </style>
...@@ -21,7 +21,8 @@ export const TreeData: any[] = [ ...@@ -21,7 +21,8 @@ export const TreeData: any[] = [
"createDate": '2024-10-24 10:04:04', "createDate": '2024-10-24 10:04:04',
"updateDate": '2024-10-24 10:04:04', "updateDate": '2024-10-24 10:04:04',
"selectType": null, "selectType": null,
"type": 'MySQL' "type": 'MySQL',
icon: 'ion:settings-outline',
}, },
{ {
"delFlag": '0', "delFlag": '0',
...@@ -36,7 +37,8 @@ export const TreeData: any[] = [ ...@@ -36,7 +37,8 @@ export const TreeData: any[] = [
"holder": 'admin', "holder": 'admin',
"createDate": '2024-10-24 10:04:04', "createDate": '2024-10-24 10:04:04',
"updateDate": '2024-10-24 10:04:04', "updateDate": '2024-10-24 10:04:04',
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag": '0', "delFlag": '0',
...@@ -51,7 +53,8 @@ export const TreeData: any[] = [ ...@@ -51,7 +53,8 @@ export const TreeData: any[] = [
"holder": 'admin', "holder": 'admin',
"createDate": '2024-10-24 10:04:04', "createDate": '2024-10-24 10:04:04',
"updateDate": '2024-10-24 10:04:04', "updateDate": '2024-10-24 10:04:04',
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag": '0', "delFlag": '0',
...@@ -66,7 +69,8 @@ export const TreeData: any[] = [ ...@@ -66,7 +69,8 @@ export const TreeData: any[] = [
"holder": 'admin', "holder": 'admin',
"createDate": '2024-10-24 10:04:04', "createDate": '2024-10-24 10:04:04',
"updateDate": '2024-10-24 10:04:04', "updateDate": '2024-10-24 10:04:04',
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -81,7 +85,8 @@ export const TreeData: any[] = [ ...@@ -81,7 +85,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -96,7 +101,8 @@ export const TreeData: any[] = [ ...@@ -96,7 +101,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -111,7 +117,8 @@ export const TreeData: any[] = [ ...@@ -111,7 +117,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -126,7 +133,8 @@ export const TreeData: any[] = [ ...@@ -126,7 +133,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -141,7 +149,8 @@ export const TreeData: any[] = [ ...@@ -141,7 +149,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type": 'MySQL' "type": 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
]; ];
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</template> </template>
<BasicTable @register="registerTable1" class="height"> <BasicTable @register="registerTable1" class="height1">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="基本信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="基本信息" allowClear />
</template> </template>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" class="height2">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="实体信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="实体信息" allowClear />
</template> </template>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable3" class="height"> <BasicTable @register="registerTable3" class="height3">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear />
</template> </template>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable4" class="height"> <BasicTable @register="registerTable4" class="height4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear />
</template> </template>
...@@ -299,11 +299,32 @@ ...@@ -299,11 +299,32 @@
}); });
</script> </script>
<style> <style>
.height { .height1 {
.ant-table-container { .ant-table-container {
.ant-table-body { .ant-table-body {
min-height: 500px; min-height: 450px;
} }
} }
} }
.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> </style>
<template> <template>
<BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit"> <BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit">
<BasicTable @register="registerTable1" class="height" style="height: 200px;"> <PageWrapper
title=""
class="content-padding"
contentBackground
@back="goBack"
>
<BasicTable @register="registerTable1" class="height1">
<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>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" class="height2">
<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>
</template> </template>
</BasicTable> </BasicTable>
</PageWrapper>
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
...@@ -88,4 +95,18 @@ onMounted(() => { ...@@ -88,4 +95,18 @@ onMounted(() => {
}); });
</script> </script>
<style> <style>
/*.height1 {*/
/*.ant-table-container {*/
/*.ant-table-body {*/
/* min-height: 200px;*/
/*}*/
/*}*/
/*}*/
/*.height2 {*/
/*.ant-table-container {*/
/*.ant-table-body {*/
/* min-height: 200px;*/
/*}*/
/*}*/
/*}*/
</style> </style>
...@@ -20,7 +20,8 @@ export const TreeData: any[] = [ ...@@ -20,7 +20,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"type" : 'MySQL' "type" : 'MySQL',
"icon": 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -35,7 +36,7 @@ export const TreeData: any[] = [ ...@@ -35,7 +36,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -50,6 +51,7 @@ export const TreeData: any[] = [ ...@@ -50,6 +51,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -64,6 +66,7 @@ export const TreeData: any[] = [ ...@@ -64,6 +66,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -78,6 +81,7 @@ export const TreeData: any[] = [ ...@@ -78,6 +81,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -92,6 +96,7 @@ export const TreeData: any[] = [ ...@@ -92,6 +96,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -106,6 +111,7 @@ export const TreeData: any[] = [ ...@@ -106,6 +111,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -120,6 +126,7 @@ export const TreeData: any[] = [ ...@@ -120,6 +126,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -134,6 +141,7 @@ export const TreeData: any[] = [ ...@@ -134,6 +141,7 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
"icon": 'ant-design:codepen-outlined',
}, },
]; ];
......
...@@ -18,22 +18,22 @@ ...@@ -18,22 +18,22 @@
</div> </div>
</div> </div>
</template> </template>
<BasicTable @register="registerTable1" class="height"> <BasicTable @register="registerTable1" class="height1">
<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>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" class="height2">
<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>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable3" class="height"> <BasicTable @register="registerTable3" class="height3">
<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>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable4" class="height"> <BasicTable @register="registerTable4" class="height4">
<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>
</template> </template>
...@@ -188,10 +188,31 @@ onMounted(() => { ...@@ -188,10 +188,31 @@ onMounted(() => {
}); });
</script> </script>
<style> <style>
.height { .height1 {
.ant-table-container { .ant-table-container {
.ant-table-body { .ant-table-body {
min-height: 500px; 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;
} }
} }
} }
......
<template> <template>
<BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit"> <BasicModal width="50%" v-bind="$attrs" @register="registerModal" :title="getTitle" @ok="handleSubmit">
<BasicTable @register="registerTable1" class="height" style="height: 200px;"> <BasicTable @register="registerTable1" style="height: 200px;">
<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>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" style="height: 200px;">
<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>
</template> </template>
......
...@@ -21,7 +21,8 @@ export const TreeData: any[] = [ ...@@ -21,7 +21,8 @@ export const TreeData: any[] = [
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
selectType: null, selectType: null,
type: 'MySQL' type: 'MySQL',
icon: 'ion:settings-outline',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -36,7 +37,8 @@ export const TreeData: any[] = [ ...@@ -36,7 +37,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -51,7 +53,8 @@ export const TreeData: any[] = [ ...@@ -51,7 +53,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
delFlag: '0', delFlag: '0',
...@@ -66,7 +69,8 @@ export const TreeData: any[] = [ ...@@ -66,7 +69,8 @@ export const TreeData: any[] = [
holder: 'admin', holder: 'admin',
createDate: '2024-10-24 10:04:04', createDate: '2024-10-24 10:04:04',
updateDate: '2024-10-24 10:04:04', updateDate: '2024-10-24 10:04:04',
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:folder-open-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -81,7 +85,8 @@ export const TreeData: any[] = [ ...@@ -81,7 +85,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -96,7 +101,8 @@ export const TreeData: any[] = [ ...@@ -96,7 +101,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -111,7 +117,8 @@ export const TreeData: any[] = [ ...@@ -111,7 +117,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -126,7 +133,8 @@ export const TreeData: any[] = [ ...@@ -126,7 +133,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -141,7 +149,8 @@ export const TreeData: any[] = [ ...@@ -141,7 +149,8 @@ export const TreeData: any[] = [
"holder":"admin", "holder":"admin",
"createDate": "2024-10-24 10:04:04", "createDate": "2024-10-24 10:04:04",
"updateDate": "2024-10-24 10:04:04", "updateDate": "2024-10-24 10:04:04",
type: 'MySQL' type: 'MySQL',
icon: 'ant-design:codepen-outlined',
}, },
]; ];
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</template> </template>
<BasicTable @register="registerTable1" class="height"> <BasicTable @register="registerTable1" class="height1">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="表信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="表信息" allowClear />
</template> </template>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable2" class="height"> <BasicTable @register="registerTable2" class="height2">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="分桶信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="分桶信息" allowClear />
</template> </template>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable3" class="height"> <BasicTable @register="registerTable3" class="height3">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="分区信息" allowClear />
</template> </template>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<BasicTable @register="registerTable4" class="height"> <BasicTable @register="registerTable4" class="height4">
<template #toolbar> <template #toolbar>
<a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear /> <a-input style="width: 200px; margin-right: auto" default-value="列信息" allowClear />
</template> </template>
...@@ -301,11 +301,32 @@ ...@@ -301,11 +301,32 @@
}); });
</script> </script>
<style> <style>
.height { .height1 {
.ant-table-container { .ant-table-container {
.ant-table-body { .ant-table-body {
min-height: 500px; 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> </style>
...@@ -62,7 +62,8 @@ export const TreeData: any[] = [ ...@@ -62,7 +62,8 @@ export const TreeData: any[] = [
"ancestors" : "0", "ancestors" : "0",
"orderNum" : 0, "orderNum" : 0,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -74,7 +75,8 @@ export const TreeData: any[] = [ ...@@ -74,7 +75,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100", "ancestors" : "0,100",
"orderNum" : 1, "orderNum" : 1,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -86,7 +88,8 @@ export const TreeData: any[] = [ ...@@ -86,7 +88,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100", "ancestors" : "0,100",
"orderNum" : 2, "orderNum" : 2,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -98,7 +101,8 @@ export const TreeData: any[] = [ ...@@ -98,7 +101,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 1, "orderNum" : 1,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -110,7 +114,8 @@ export const TreeData: any[] = [ ...@@ -110,7 +114,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 2, "orderNum" : 2,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -122,7 +127,8 @@ export const TreeData: any[] = [ ...@@ -122,7 +127,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 3, "orderNum" : 3,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -134,7 +140,8 @@ export const TreeData: any[] = [ ...@@ -134,7 +140,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 4, "orderNum" : 4,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -146,7 +153,8 @@ export const TreeData: any[] = [ ...@@ -146,7 +153,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,101", "ancestors" : "0,100,101",
"orderNum" : 5, "orderNum" : 5,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -158,7 +166,8 @@ export const TreeData: any[] = [ ...@@ -158,7 +166,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,107", "ancestors" : "0,100,107",
"orderNum" : 1, "orderNum" : 1,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
{ {
"delFlag" : "0", "delFlag" : "0",
...@@ -170,7 +179,8 @@ export const TreeData: any[] = [ ...@@ -170,7 +179,8 @@ export const TreeData: any[] = [
"ancestors" : "0,100,107", "ancestors" : "0,100,107",
"orderNum" : 2, "orderNum" : 2,
"children" : [ ], "children" : [ ],
"selectType" : null "selectType" : null,
icon: 'ion:settings-outline',
}, },
]; ];
......
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