mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-25 02:32:54 +08:00
分页
This commit is contained in:
@@ -345,6 +345,7 @@ const closereview = async () => {
|
||||
const reviewdata = ref(null);
|
||||
const revieTotal = ref(null)
|
||||
const ReviewPageNo = ref(1)
|
||||
const ReviewPageSize = ref(10)
|
||||
//发起评审列表
|
||||
const getReviewList = async () => {
|
||||
const res = await getReview({
|
||||
@@ -476,7 +477,7 @@ const searchReview = async () => {
|
||||
|
||||
})
|
||||
reviewdata.value = res.data.records
|
||||
|
||||
revieTotal.value = res.data.total
|
||||
}
|
||||
//删除教师
|
||||
const delteacherIds = async (id) => {
|
||||
@@ -1255,7 +1256,7 @@ const vwtext = ref(null)
|
||||
</a-table>
|
||||
</div>
|
||||
<div style="text-align: center; margin-top: 18px;">
|
||||
<a-pagination v-model:current="ReviewPageNo" defaultPageSize="15" show-quick-jumper :total="revieTotal"
|
||||
<a-pagination v-model:current="ReviewPageNo" v-model:pageSize="ReviewPageSize" show-quick-jumper :total="revieTotal"
|
||||
@change="onChangeReview" />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user