diff --git a/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue b/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue index 933e44a..48d12f3 100644 --- a/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue +++ b/PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue @@ -69,6 +69,7 @@ @rowDrop="rowDrop" :searchOverallCoverHeight="'calc(100vh - 345px)'" :rowSource="'detail_api'" + :selectMaxHeight="'116px'" :rowMaxHeight="rowMaxHeight" :totalCount="totalCountForDetail" :MaxResultCount="MaxResultCount" @@ -164,6 +165,7 @@ import searchOverall from "@/components/searchOverall" import currenButton from "@/components/currenButton" import currenDescriptions from "@/components/currenDescriptions" import currenTabs from "@/components/currenTabs" +import currenTable from "@/components/currenTable" import pagination from "@/components/Pagination" import rowDrop from "@/components/rowDrop/index.vue" import * as allUrlOption from '@/utils/baseData/urlOption' @@ -175,6 +177,7 @@ export default { currenButton, currenDescriptions, currenTabs, + currenTable, searchOverall, rowDrop }, @@ -380,8 +383,8 @@ export default { methods: { // 明细列表 - 获取明细列表(后端分页) getDetailList(data,successFn,errorFn){ - // 获取明细分页信息 if(data)this.PageListParams.condition.filters = [] + // 获取明细分页信息 let _hasId = false this.PageListParams.condition.filters.forEach(item=>{ if(item.column == this.URLOption_masterId){ @@ -577,7 +580,7 @@ export default { this.zdyTableColumns = [] this.otherData = [] // this.firstTabs = val.name - // 其他自定义tab页 示例 + // 其他自定义tab页 // if (item.functionName == 'getListByItemcode') { // let params = { // itemCode: this.propsData.code diff --git a/PC/InterFace.Dash/src/components/filterForDetailPage/index.vue b/PC/InterFace.Dash/src/components/filterForDetailPage/index.vue index 8ac2fd9..7017b93 100644 --- a/PC/InterFace.Dash/src/components/filterForDetailPage/index.vue +++ b/PC/InterFace.Dash/src/components/filterForDetailPage/index.vue @@ -1,332 +1,338 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/PC/InterFace.Dash/src/components/searchOverall/index.vue b/PC/InterFace.Dash/src/components/searchOverall/index.vue index e4dbc57..9dc973d 100644 --- a/PC/InterFace.Dash/src/components/searchOverall/index.vue +++ b/PC/InterFace.Dash/src/components/searchOverall/index.vue @@ -1,643 +1,649 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/PC/InterFace.Dash/src/components/searchOverall/style/index.scss b/PC/InterFace.Dash/src/components/searchOverall/style/index.scss index 8794ede..6bd0f43 100644 --- a/PC/InterFace.Dash/src/components/searchOverall/style/index.scss +++ b/PC/InterFace.Dash/src/components/searchOverall/style/index.scss @@ -1,4 +1,4 @@ - .searchOverallComponent{ +.searchOverallComponent{ height: 0; transition:all 0.5s; z-index: 1; @@ -31,7 +31,7 @@ // flex-direction: column; // width: 100%; // height: 100%; - max-height: 170px; + max-height: var(--navFilterMaxHeight); overflow: auto; .el-form { diff --git a/PC/InterFace.Dash/src/components/tablePagination/index.vue b/PC/InterFace.Dash/src/components/tablePagination/index.vue index 17211d9..88813f5 100644 --- a/PC/InterFace.Dash/src/components/tablePagination/index.vue +++ b/PC/InterFace.Dash/src/components/tablePagination/index.vue @@ -25,6 +25,7 @@ :tableColumns="tableColumns" @overallSearchFormClick="overallSearchFormClick" :httpOverallSearchData="httpOverallSearchData" + :selectMaxHeight="selectMaxHeight" > @@ -48,7 +49,7 @@ :tableColumns="tableColumns | isTableColumns" :isShowIndex="isShowIndex" :selectionTable="tableSelection" - :setUTableHeight="setUTableHeight || uTableTopHeight" + :setUTableHeight="uTableTopHeight" @sortChange="sortChange" @handleSelectionChange="handleSelectionChange" @inlineDialog="inlineDialog" @@ -95,6 +96,11 @@ export default { type:String, default:'calc(90vh - 280px)' }, + // 筛选条件最大高度 + selectMaxHeight:{ + type: String, + default: '174px' + }, // 筛选高度 searchOverallCoverHeight:{ type: String, @@ -226,6 +232,7 @@ export default { rowDropVisible: false, // table 重新渲染所需key isUpdate: false, + appRemoveHeight:165, // 除去table的高度 uTableTopHeight:165, // table外部高度控制,用于点击筛选动画处理 @@ -265,6 +272,8 @@ export default { } }, mounted(){ + this.appRemoveHeight = this.setUTableHeight || 165 + this.uTableTopHeight = this.appRemoveHeight this.uTableOuterHeight = this.$refs.tablePaginationTableRef.getTableHeight() this.uTableOuterHeight_init = Number(JSON.stringify(this.uTableOuterHeight)) @@ -328,12 +337,12 @@ export default { let _margin = 20 this.uTableOuterHeight = this.uTableOuterHeight_init - minusHeight - _margin setTimeout(()=>{ - this.uTableTopHeight = minusHeight + 165 + _margin + this.uTableTopHeight = minusHeight + this.appRemoveHeight + _margin },0) }else{ this.uTableOuterHeight = this.uTableOuterHeight_init setTimeout(()=>{ - this.uTableTopHeight = 165 + this.uTableTopHeight = this.appRemoveHeight },0) } }, diff --git a/PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue b/PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue index 3350339..48d12f3 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue +++ b/PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue @@ -69,6 +69,7 @@ @rowDrop="rowDrop" :searchOverallCoverHeight="'calc(100vh - 345px)'" :rowSource="'detail_api'" + :selectMaxHeight="'116px'" :rowMaxHeight="rowMaxHeight" :totalCount="totalCountForDetail" :MaxResultCount="MaxResultCount" diff --git a/PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue b/PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue index 05d12a0..6322ab8 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue +++ b/PC/UI.WinIn.FasterZ.Job/src/components/filterForDetailPage/index.vue @@ -30,6 +30,7 @@ :multipleSelection="multipleSelection" :MaxResultCount="PageListParams.MaxResultCount" :setUTableHeight="setUTableHeight" + :selectMaxHeight="'116px'" @topbutton="topbutton" @inlineDialog="inlineDialog" @sortChange="sortChange" diff --git a/PC/UI.WinIn.FasterZ.Job/src/components/searchOverall/index.vue b/PC/UI.WinIn.FasterZ.Job/src/components/searchOverall/index.vue index e4dbc57..cd24605 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/components/searchOverall/index.vue +++ b/PC/UI.WinIn.FasterZ.Job/src/components/searchOverall/index.vue @@ -32,6 +32,7 @@
@@ -48,7 +49,7 @@ :tableColumns="tableColumns | isTableColumns" :isShowIndex="isShowIndex" :selectionTable="tableSelection" - :setUTableHeight="setUTableHeight || uTableTopHeight" + :setUTableHeight="uTableTopHeight" @sortChange="sortChange" @handleSelectionChange="handleSelectionChange" @inlineDialog="inlineDialog" @@ -95,6 +96,11 @@ export default { type:String, default:'calc(90vh - 280px)' }, + // 筛选条件最大高度 + selectMaxHeight:{ + type: String, + default: '174px' + }, // 筛选高度 searchOverallCoverHeight:{ type: String, @@ -226,6 +232,7 @@ export default { rowDropVisible: false, // table 重新渲染所需key isUpdate: false, + appRemoveHeight:165, // 除去table的高度 uTableTopHeight:165, // table外部高度控制,用于点击筛选动画处理 @@ -265,6 +272,8 @@ export default { } }, mounted(){ + this.appRemoveHeight = this.setUTableHeight || 165 + this.uTableTopHeight = this.appRemoveHeight this.uTableOuterHeight = this.$refs.tablePaginationTableRef.getTableHeight() this.uTableOuterHeight_init = Number(JSON.stringify(this.uTableOuterHeight)) @@ -328,12 +337,12 @@ export default { let _margin = 20 this.uTableOuterHeight = this.uTableOuterHeight_init - minusHeight - _margin setTimeout(()=>{ - this.uTableTopHeight = minusHeight + 165 + _margin + this.uTableTopHeight = minusHeight + this.appRemoveHeight + _margin },0) }else{ this.uTableOuterHeight = this.uTableOuterHeight_init setTimeout(()=>{ - this.uTableTopHeight = 165 + this.uTableTopHeight = this.appRemoveHeight },0) } }, diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue b/PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue index 6e473ef..48d12f3 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue +++ b/PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue @@ -69,6 +69,7 @@ @rowDrop="rowDrop" :searchOverallCoverHeight="'calc(100vh - 345px)'" :rowSource="'detail_api'" + :selectMaxHeight="'116px'" :rowMaxHeight="rowMaxHeight" :totalCount="totalCountForDetail" :MaxResultCount="MaxResultCount" @@ -579,7 +580,7 @@ export default { this.zdyTableColumns = [] this.otherData = [] // this.firstTabs = val.name - // 其他自定义tab页 示例 + // 其他自定义tab页 // if (item.functionName == 'getListByItemcode') { // let params = { // itemCode: this.propsData.code diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue b/PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue index 05d12a0..7017b93 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue +++ b/PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue @@ -1,337 +1,338 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/index.vue b/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/index.vue index e4dbc57..9dc973d 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/index.vue +++ b/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/index.vue @@ -1,643 +1,649 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/style/index.scss b/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/style/index.scss index 8794ede..6bd0f43 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/style/index.scss +++ b/PC/UI.WinIn.FasterZ.Store/src/components/searchOverall/style/index.scss @@ -1,4 +1,4 @@ - .searchOverallComponent{ +.searchOverallComponent{ height: 0; transition:all 0.5s; z-index: 1; @@ -31,7 +31,7 @@ // flex-direction: column; // width: 100%; // height: 100%; - max-height: 170px; + max-height: var(--navFilterMaxHeight); overflow: auto; .el-form { diff --git a/PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue b/PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue index 17211d9..88813f5 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue +++ b/PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue @@ -25,6 +25,7 @@ :tableColumns="tableColumns" @overallSearchFormClick="overallSearchFormClick" :httpOverallSearchData="httpOverallSearchData" + :selectMaxHeight="selectMaxHeight" > @@ -48,7 +49,7 @@ :tableColumns="tableColumns | isTableColumns" :isShowIndex="isShowIndex" :selectionTable="tableSelection" - :setUTableHeight="setUTableHeight || uTableTopHeight" + :setUTableHeight="uTableTopHeight" @sortChange="sortChange" @handleSelectionChange="handleSelectionChange" @inlineDialog="inlineDialog" @@ -95,6 +96,11 @@ export default { type:String, default:'calc(90vh - 280px)' }, + // 筛选条件最大高度 + selectMaxHeight:{ + type: String, + default: '174px' + }, // 筛选高度 searchOverallCoverHeight:{ type: String, @@ -226,6 +232,7 @@ export default { rowDropVisible: false, // table 重新渲染所需key isUpdate: false, + appRemoveHeight:165, // 除去table的高度 uTableTopHeight:165, // table外部高度控制,用于点击筛选动画处理 @@ -265,6 +272,8 @@ export default { } }, mounted(){ + this.appRemoveHeight = this.setUTableHeight || 165 + this.uTableTopHeight = this.appRemoveHeight this.uTableOuterHeight = this.$refs.tablePaginationTableRef.getTableHeight() this.uTableOuterHeight_init = Number(JSON.stringify(this.uTableOuterHeight)) @@ -328,12 +337,12 @@ export default { let _margin = 20 this.uTableOuterHeight = this.uTableOuterHeight_init - minusHeight - _margin setTimeout(()=>{ - this.uTableTopHeight = minusHeight + 165 + _margin + this.uTableTopHeight = minusHeight + this.appRemoveHeight + _margin },0) }else{ this.uTableOuterHeight = this.uTableOuterHeight_init setTimeout(()=>{ - this.uTableTopHeight = 165 + this.uTableTopHeight = this.appRemoveHeight },0) } },