From a411b0111f53b29ec230bd27d1f44f87eeaf625b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Tue, 18 Jul 2023 15:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/commonTabel-drawer/index.vue | 7 +++++-- .../src/components/searchOverall/index.vue | 11 ++++++++++- .../src/components/searchOverall/style/index.scss | 4 ++-- .../src/components/tablePagination/index.vue | 6 ++++++ 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue b/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue index 0690fd9..da24323 100644 --- a/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue +++ b/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue @@ -67,8 +67,9 @@ :tableColumns="tableColumns" :setUTableHeight="showDetailColumnsSet && showDetailFilters ? 300 : 260" @rowDrop="rowDrop" + :searchOverallCoverHeight="'calc(100vh - 345px)'" :rowSource="'detail_api'" - :totalCount="totalCount" + :totalCount="totalCountForDetail" :MaxResultCount="MaxResultCount" @sortChange="sortChangeForDetail" @alertoldSkipCount="alertoldSkipCountForDetail" @@ -387,6 +388,7 @@ export default { SkipCount: 0, MaxResultCount: 20, }, + totalCountForDetail:0, //明细-查看主表的连接id URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', //明细-列表 @@ -411,11 +413,12 @@ export default { value: data ? data.id : this.propsData.id }) } + this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount this.Loading.tableLoading = true getPageListForDetail(this.PageListParams,this.URLOption_detailList) .then(result => { this.propsData.details = result.items - this.totalCount = result.totalCount + this.totalCountForDetail = result.totalCount this.Loading.tableLoading = false if(successFn)successFn() }) diff --git a/PC/InterFace.Dash/src/components/searchOverall/index.vue b/PC/InterFace.Dash/src/components/searchOverall/index.vue index 2a2d7e9..ac881f9 100644 --- a/PC/InterFace.Dash/src/components/searchOverall/index.vue +++ b/PC/InterFace.Dash/src/components/searchOverall/index.vue @@ -10,7 +10,11 @@ class="border-outer" > -
+
高级筛选