From c60ab31978ac2ed64f68cc52294c521035cf832c Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 21 十二月 2023 14:58:14 +0800 Subject: [PATCH] 参照分页问题 --- Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue | 1 + Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue | 2 +- Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue | 2 +- Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue | 2 +- Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue | 1 + Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue index 0b0a1bd..6762433 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue @@ -2,7 +2,7 @@ <basic-container> <v-chart id="chart" :auto-resize="true" :options="chartOptions"></v-chart> <div style="display: inline-block;float: right;margin-bottom: 10px;margin-right: 60px"> - <el-button size="small" type="primary" plain @click="delHandler">鍒犻櫎</el-button> + <el-button size="small" type="danger" plain @click="delHandler">鍒犻櫎</el-button> </div> </basic-container> </template> diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue index 6f8bd7c..27edeaf 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue @@ -3,7 +3,7 @@ <basic-container> <v-chart id="chart" :auto-resize="true" :options="chartOptions"></v-chart> <div style="display: inline-block;float: right;margin-bottom: 10px;margin-right: 60px"> - <el-button size="small" type="primary" plain @click="delHandler">鍒犻櫎</el-button> + <el-button size="small" type="danger" plain @click="delHandler">鍒犻櫎</el-button> </div> </basic-container> </div> diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue index 11da013..acaa4ad 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue @@ -2,7 +2,7 @@ <basic-container> <v-chart id="chart" :auto-resize="true" :options="chartOptions"></v-chart> <div style="display: inline-block;float: right;margin-bottom: 10px;margin-right: 60px"> - <el-button size="small" type="primary" plain @click="delHandler">鍒犻櫎</el-button> + <el-button size="small" type="danger" plain @click="delHandler">鍒犻櫎</el-button> </div> </basic-container> </template> diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue index f3f2076..a308467 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/pieChart.vue @@ -2,7 +2,7 @@ <basic-container style="width: 100%"> <v-chart :options="chartOptions" :auto-resize="true" id="chart"></v-chart> <div style="display: inline-block;float: right;margin-bottom: 10px;margin-right: 60px"> - <el-button size="small" type="primary" plain @click="delHandler">鍒犻櫎</el-button> + <el-button size="small" type="danger" plain @click="delHandler">鍒犻櫎</el-button> </div> </basic-container> </template> diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue index 19776b2..6843c81 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue @@ -55,6 +55,7 @@ query: {}, loading: false, page: { + layout: "total,pager,prev, next,jumper", pageSize: 10, currentPage: 1, total: this.referConfig.options.data?this.referConfig.options.data.length :0 diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue index 7f49775..f30eaf8 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue @@ -57,6 +57,7 @@ query: {}, loading: false, page: { + layout: "total,pager,prev, next,jumper", pageSize: 10, currentPage: 1, total: this.referConfig.options.data?this.referConfig.options.data.length :0 -- Gitblit v1.9.3