学生端,作业、测试、问卷卡片页面分页调整
This commit is contained in:
parent
6593aa7e93
commit
db0b90370a
|
@ -210,8 +210,7 @@
|
|||
function handleFabu(record: Recordable) {
|
||||
defHttp.get({ url: '/wjxWjxx/wjxWjxx/fbwj', params: { id: record.id,wjlx: "6" } }).then(res => {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
@ -241,16 +240,15 @@
|
|||
*/
|
||||
function handleSuccess() {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -152,16 +152,15 @@
|
|||
*/
|
||||
function handleSuccess() {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -207,8 +207,7 @@
|
|||
function handleFabu(record: Recordable) {
|
||||
defHttp.get({ url: '/wjxWjxx/wjxWjxx/fbwj', params: { id: record.id,wjlx: "1" } }).then(res => {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
@ -238,16 +237,15 @@
|
|||
*/
|
||||
function handleSuccess() {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -152,16 +152,15 @@
|
|||
*/
|
||||
function handleSuccess() {
|
||||
total.value = 1;
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
pageNo.value = 0;
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -177,7 +177,8 @@
|
|||
* 成功回调
|
||||
*/
|
||||
function handleSuccess() {
|
||||
reload()
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
|
||||
|
@ -185,7 +186,8 @@
|
|||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -194,7 +196,8 @@
|
|||
function searchReset() {
|
||||
queryParam.value = {};
|
||||
//刷新数据
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
function reload(){
|
||||
|
@ -217,7 +220,7 @@
|
|||
|
||||
function handlePageChange(record){
|
||||
pageNo.value = record;
|
||||
searchQuery();
|
||||
reload();
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
|
|
@ -190,7 +190,8 @@
|
|||
* 成功回调
|
||||
*/
|
||||
function handleSuccess() {
|
||||
reload()
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
|
||||
|
@ -198,7 +199,8 @@
|
|||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -207,7 +209,8 @@
|
|||
function searchReset() {
|
||||
queryParam.value = {};
|
||||
//刷新数据
|
||||
reload();
|
||||
total.value = 1;
|
||||
handlePageChange(1);
|
||||
}
|
||||
|
||||
function reload(){
|
||||
|
@ -230,7 +233,7 @@
|
|||
|
||||
function handlePageChange(record){
|
||||
pageNo.value = record;
|
||||
searchQuery();
|
||||
reload();
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
|
Loading…
Reference in New Issue