Browse Source

字段设置后明细浮动列下沉bug,重新渲染表格封装处理

noToken
安虹睿 1 year ago
parent
commit
2869b8c354
  1. 10
      PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue
  2. 6
      PC/InterFace.Dash/src/components/tablePagination/index.vue
  3. 6
      PC/InterFace.Dash/src/components/umyTable/index.vue
  4. 10
      PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue
  5. 6
      PC/UI.WinIn.FasterZ.Job/src/components/tablePagination/index.vue
  6. 6
      PC/UI.WinIn.FasterZ.Job/src/components/umyTable/index.vue
  7. 10
      PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue
  8. 6
      PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue
  9. 6
      PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue

10
PC/InterFace.Dash/src/components/commonTabel-drawer/index.vue

@ -61,6 +61,7 @@
</curren-descriptions>
<!-- 明细 包含分页 头部按钮等 -->
<tablePagination
ref="tablePaginationForMX_Ref"
v-if="scope.value == 'mx'"
:currenButtonData="detailHeaderButton"
:tableData="propsData.details"
@ -562,6 +563,14 @@ export default {
buttonClick(row) {
this.$emit("buttonClick", row);
},
//
doFreshTableLayout(){
this.$nextTick(() => {
if(this.$refs.tablePaginationForMX_Ref && this.$refs.tablePaginationForMX_Ref.doFreshTableLayout){
this.$refs.tablePaginationForMX_Ref.doFreshTableLayout()
}
})
},
// tabs
handleClick (val) {
this.$emit("currenTabsChange", val);//tab
@ -605,6 +614,7 @@ export default {
}
}
})
this.doFreshTableLayout()
},
//
recursion(val){

6
PC/InterFace.Dash/src/components/tablePagination/index.vue

@ -290,6 +290,12 @@ export default {
})
},
methods: {
//
doFreshTableLayout(){
if(this.$refs.tablePaginationTableRef && this.$refs.tablePaginationTableRef.doFreshLayout){
this.$refs.tablePaginationTableRef.doFreshLayout()
}
},
rowDrop(data,type) {
this.$emit('rowDrop',data,type)
this.$nextTick(()=>{

6
PC/InterFace.Dash/src/components/umyTable/index.vue

@ -388,6 +388,12 @@ export default {
this.setTableHeightHandle()
},
methods: {
//
doFreshLayout(){
if (this.$refs.multipleTable && this.$refs.multipleTable.doLayout) {
this.$refs.multipleTable.doLayout()
}
},
//
setTableHeightHandle(height){
let _height = height || this.setUTableHeight

10
PC/UI.WinIn.FasterZ.Job/src/components/commonTabel-drawer/index.vue

@ -61,6 +61,7 @@
</curren-descriptions>
<!-- 明细 包含分页 头部按钮等 -->
<tablePagination
ref="tablePaginationForMX_Ref"
v-if="scope.value == 'mx'"
:currenButtonData="detailHeaderButton"
:tableData="propsData.details"
@ -562,6 +563,14 @@ export default {
buttonClick(row) {
this.$emit("buttonClick", row);
},
//
doFreshTableLayout(){
this.$nextTick(() => {
if(this.$refs.tablePaginationForMX_Ref && this.$refs.tablePaginationForMX_Ref.doFreshTableLayout){
this.$refs.tablePaginationForMX_Ref.doFreshTableLayout()
}
})
},
// tabs
handleClick (val) {
this.$emit("currenTabsChange", val);//tab
@ -605,6 +614,7 @@ export default {
}
}
})
this.doFreshTableLayout()
},
//
recursion(val){

6
PC/UI.WinIn.FasterZ.Job/src/components/tablePagination/index.vue

@ -290,6 +290,12 @@ export default {
})
},
methods: {
//
doFreshTableLayout(){
if(this.$refs.tablePaginationTableRef && this.$refs.tablePaginationTableRef.doFreshLayout){
this.$refs.tablePaginationTableRef.doFreshLayout()
}
},
rowDrop(data,type) {
this.$emit('rowDrop',data,type)
this.$nextTick(()=>{

6
PC/UI.WinIn.FasterZ.Job/src/components/umyTable/index.vue

@ -388,6 +388,12 @@ export default {
this.setTableHeightHandle()
},
methods: {
//
doFreshLayout(){
if (this.$refs.multipleTable && this.$refs.multipleTable.doLayout) {
this.$refs.multipleTable.doLayout()
}
},
//
setTableHeightHandle(height){
let _height = height || this.setUTableHeight

10
PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue

@ -61,6 +61,7 @@
</curren-descriptions>
<!-- 明细 包含分页 头部按钮等 -->
<tablePagination
ref="tablePaginationForMX_Ref"
v-if="scope.value == 'mx'"
:currenButtonData="detailHeaderButton"
:tableData="propsData.details"
@ -562,6 +563,14 @@ export default {
buttonClick(row) {
this.$emit("buttonClick", row);
},
//
doFreshTableLayout(){
this.$nextTick(() => {
if(this.$refs.tablePaginationForMX_Ref && this.$refs.tablePaginationForMX_Ref.doFreshTableLayout){
this.$refs.tablePaginationForMX_Ref.doFreshTableLayout()
}
})
},
// tabs
handleClick (val) {
this.$emit("currenTabsChange", val);//tab
@ -605,6 +614,7 @@ export default {
}
}
})
this.doFreshTableLayout()
},
//
recursion(val){

6
PC/UI.WinIn.FasterZ.Store/src/components/tablePagination/index.vue

@ -290,6 +290,12 @@ export default {
})
},
methods: {
//
doFreshTableLayout(){
if(this.$refs.tablePaginationTableRef && this.$refs.tablePaginationTableRef.doFreshLayout){
this.$refs.tablePaginationTableRef.doFreshLayout()
}
},
rowDrop(data,type) {
this.$emit('rowDrop',data,type)
this.$nextTick(()=>{

6
PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue

@ -388,6 +388,12 @@ export default {
this.setTableHeightHandle()
},
methods: {
//
doFreshLayout(){
if (this.$refs.multipleTable && this.$refs.multipleTable.doLayout) {
this.$refs.multipleTable.doLayout()
}
},
//
setTableHeightHandle(height){
let _height = height || this.setUTableHeight

Loading…
Cancel
Save