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"
: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()
})

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

@ -10,7 +10,11 @@
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>
<!-- 普通筛选界面 -->
<searchPrimary
@ -233,6 +237,11 @@ export default {
}
},
props: {
//
searchOverallCoverHeight:{
type: String,
default: 'calc(100vh - 200px)'
},
//
disabledAction:{
type: Boolean,

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

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

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

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

Loading…
Cancel
Save