From 9a22601f5b8d967ea85e8147a9d5d3b66925f6ba Mon Sep 17 00:00:00 2001 From: g7hoo Date: Mon, 22 Aug 2022 15:16:22 +0800 Subject: [PATCH] update BaseTable --- .../base-table/components/table-head.vue | 40 ++++++++++++++++++ src/components/base-table/index.vue | 21 ++++++---- .../modules/monitoring/testMultiBaseTable.vue | 41 +++++++++++++++++++ 3 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 src/components/base-table/components/table-head.vue create mode 100644 src/views/modules/monitoring/testMultiBaseTable.vue diff --git a/src/components/base-table/components/table-head.vue b/src/components/base-table/components/table-head.vue new file mode 100644 index 0000000..042d1c4 --- /dev/null +++ b/src/components/base-table/components/table-head.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/components/base-table/index.vue b/src/components/base-table/index.vue index 199eb78..d9d9114 100644 --- a/src/components/base-table/index.vue +++ b/src/components/base-table/index.vue @@ -17,15 +17,15 @@ @@ -34,6 +34,11 @@ {{ scope.row[head.prop] | commonFilter(head.filter) }} + + + @@ -41,6 +46,7 @@ diff --git a/src/views/modules/monitoring/testMultiBaseTable.vue b/src/views/modules/monitoring/testMultiBaseTable.vue new file mode 100644 index 0000000..d75351e --- /dev/null +++ b/src/views/modules/monitoring/testMultiBaseTable.vue @@ -0,0 +1,41 @@ + + +