Browse Source

明细筛选bug处理

master
安虹睿 1 year ago
parent
commit
406f25dd58
  1. 7
      Code/Fe/src/components/commonTabel-drawer/index.vue
  2. 11
      Code/Fe/src/components/searchOverall/index.vue
  3. 4
      Code/Fe/src/components/searchOverall/style/index.scss
  4. 6
      Code/Fe/src/components/tablePagination/index.vue

7
Code/Fe/src/components/commonTabel-drawer/index.vue

@ -67,8 +67,9 @@
:tableColumns="tableColumns" :tableColumns="tableColumns"
:setUTableHeight="showDetailColumnsSet && showDetailFilters ? 300 : 260" :setUTableHeight="showDetailColumnsSet && showDetailFilters ? 300 : 260"
@rowDrop="rowDrop" @rowDrop="rowDrop"
:searchOverallCoverHeight="'calc(100vh - 345px)'"
:rowSource="'detail_api'" :rowSource="'detail_api'"
:totalCount="totalCount" :totalCount="totalCountForDetail"
:MaxResultCount="MaxResultCount" :MaxResultCount="MaxResultCount"
@sortChange="sortChangeForDetail" @sortChange="sortChangeForDetail"
@alertoldSkipCount="alertoldSkipCountForDetail" @alertoldSkipCount="alertoldSkipCountForDetail"
@ -387,6 +388,7 @@ export default {
SkipCount: 0, SkipCount: 0,
MaxResultCount: 20, MaxResultCount: 20,
}, },
totalCountForDetail:0,
//-id //-id
URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId',
//- //-
@ -411,11 +413,12 @@ export default {
value: data ? data.id : this.propsData.id value: data ? data.id : this.propsData.id
}) })
} }
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
this.Loading.tableLoading = true this.Loading.tableLoading = true
getPageListForDetail(this.PageListParams,this.URLOption_detailList) getPageListForDetail(this.PageListParams,this.URLOption_detailList)
.then(result => { .then(result => {
this.propsData.details = result.items this.propsData.details = result.items
this.totalCount = result.totalCount this.totalCountForDetail = result.totalCount
this.Loading.tableLoading = false this.Loading.tableLoading = false
if(successFn)successFn() if(successFn)successFn()
}) })

11
Code/Fe/src/components/searchOverall/index.vue

@ -10,7 +10,11 @@
class="border-outer" class="border-outer"
> >
<!-- 整体背景遮罩 --> <!-- 整体背景遮罩 -->
<div v-if="isShow && isShowMoreList" class="fullPageCover"></div> <div
v-if="isShow && isShowMoreList"
class="fullPageCover"
:style="{height:searchOverallCoverHeight}"
></div>
<div class="title" v-if="isShowMoreList">高级筛选</div> <div class="title" v-if="isShowMoreList">高级筛选</div>
<!-- 普通筛选界面 --> <!-- 普通筛选界面 -->
<searchPrimary <searchPrimary
@ -233,6 +237,11 @@ export default {
} }
}, },
props: { props: {
//
searchOverallCoverHeight:{
type: String,
default: 'calc(100vh - 200px)'
},
// //
disabledAction:{ disabledAction:{
type: Boolean, type: Boolean,

4
Code/Fe/src/components/searchOverall/style/index.scss

@ -17,7 +17,7 @@
background: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.2);
left: 0; left: 0;
right: 0; right: 0;
height: calc(100vh - 200px); // height: calc(100vh - 200px);
cursor: no-drop; cursor: no-drop;
} }
@ -31,7 +31,7 @@
// flex-direction: column; // flex-direction: column;
// width: 100%; // width: 100%;
// height: 100%; // height: 100%;
max-height: 50vh; max-height: 30vh;
overflow: auto; overflow: auto;
.el-form { .el-form {

6
Code/Fe/src/components/tablePagination/index.vue

@ -16,6 +16,7 @@
<!-- 全面搜索普通+高级整合 --> <!-- 全面搜索普通+高级整合 -->
<searchOverall <searchOverall
ref="searchOverallRef" ref="searchOverallRef"
:searchOverallCoverHeight="searchOverallCoverHeight"
:showSearchOverall="showSearchOverall" :showSearchOverall="showSearchOverall"
@getShowSearchOverall="getShowSearchOverall" @getShowSearchOverall="getShowSearchOverall"
:primarySearchOption="primarySearchOption" :primarySearchOption="primarySearchOption"
@ -87,6 +88,11 @@ export default {
rowDrop rowDrop
}, },
props: { props: {
//
searchOverallCoverHeight:{
type: String,
default: 'calc(100vh - 200px)'
},
// app-main100% // app-main100%
setUTableHeight: { setUTableHeight: {
type: Number, type: Number,

Loading…
Cancel
Save