| | |
| | | return {}; |
| | | }, |
| | | }, |
| | | virtualYConfig:{ |
| | | virtualYConfig: { |
| | | type: Object, |
| | | default: () => { |
| | | return {}; |
| | | }, |
| | | }, |
| | | editConfig:{ |
| | | editConfig: { |
| | | type: Object, |
| | | default: () => { |
| | | return {}; |
| | | }, |
| | | } |
| | | }, |
| | | }); |
| | | |
| | | const tableForm = ref([]); |
| | |
| | | // 返回 Vuex 中的 hxlhTableFootData 状态 |
| | | // return useStore.state.hxlhTableFootData; |
| | | } |
| | | function scrollBoundaryEvent ({ direction }) { |
| | | function scrollBoundaryEvent({ direction }) { |
| | | switch (direction) { |
| | | case 'top': |
| | | console.log('触发顶部阈值范围') |
| | | break |
| | | case 'bottom': |
| | | console.log('触发底部阈值范围') |
| | | case "top": |
| | | console.log("触发顶部阈值范围"); |
| | | break; |
| | | case "bottom": |
| | | console.log("触发底部阈值范围"); |
| | | // this.loadList(20) |
| | | emit('bottomAutoLoadMore') |
| | | break |
| | | case 'left': |
| | | console.log('触发左侧阈值范围') |
| | | break |
| | | case 'right': |
| | | console.log('触发右侧阈值范围') |
| | | break |
| | | emit("bottomAutoLoadMore"); |
| | | break; |
| | | case "left": |
| | | console.log("触发左侧阈值范围"); |
| | | break; |
| | | case "right": |
| | | console.log("触发右侧阈值范围"); |
| | | break; |
| | | } |
| | | } |
| | | function handleSum(list, field) { |