Merge pull request #7991 from dataease/pr@dev@feat_page
feat: 定时同步和Excel支持分页
This commit is contained in:
commit
8935500529
@ -494,7 +494,7 @@ export default {
|
||||
},
|
||||
pageChange(val) {
|
||||
this.currentPage.pageSize = val
|
||||
if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) {
|
||||
if ((this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) || this.chart.datasetMode === 1) {
|
||||
this.$emit('onPageChange', this.currentPage)
|
||||
} else {
|
||||
this.initData()
|
||||
@ -504,7 +504,7 @@ export default {
|
||||
|
||||
pageClick(val) {
|
||||
this.currentPage.page = val
|
||||
if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) {
|
||||
if ((this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) || this.chart.datasetMode === 1) {
|
||||
this.$emit('onPageChange', this.currentPage)
|
||||
} else {
|
||||
this.initData()
|
||||
|
||||
@ -566,7 +566,7 @@ export default {
|
||||
|
||||
pageChange(val) {
|
||||
this.currentPage.pageSize = val
|
||||
if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) {
|
||||
if ((this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) || this.chart.datasetMode === 1) {
|
||||
this.$emit('onPageChange', this.currentPage)
|
||||
} else {
|
||||
this.init()
|
||||
@ -575,7 +575,7 @@ export default {
|
||||
|
||||
pageClick(val) {
|
||||
this.currentPage.page = val
|
||||
if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) {
|
||||
if ((this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) || this.chart.datasetMode === 1) {
|
||||
this.$emit('onPageChange', this.currentPage)
|
||||
} else {
|
||||
this.init()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user