mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
Merge branch 'master-20251023-tag' into test1024
# Conflicts: # src/views/tag/TagManage.vue
This commit is contained in:
@@ -214,7 +214,7 @@
|
|||||||
v-if="courseTableTotal > 0"
|
v-if="courseTableTotal > 0"
|
||||||
:show-total="total => `共 ${courseTableTotal} 条`"
|
:show-total="total => `共 ${courseTableTotal} 条`"
|
||||||
:showSizeChanger="true"
|
:showSizeChanger="true"
|
||||||
:pageSizeOptions="['5','10', '15', '20']"
|
:pageSizeOptions="['10', '20', '30', '40']"
|
||||||
:showQuickJumper="true"
|
:showQuickJumper="true"
|
||||||
:hideOnSinglePage="false"
|
:hideOnSinglePage="false"
|
||||||
:pageSize="coursePageSize"
|
:pageSize="coursePageSize"
|
||||||
@@ -451,23 +451,18 @@ export default {
|
|||||||
getTagList();
|
getTagList();
|
||||||
};
|
};
|
||||||
|
|
||||||
// 分页变化
|
|
||||||
const handleSizeChange = (page, pageSize) => {
|
const handleSizeChange = (page, pageSize) => {
|
||||||
console.log('handleSizeChange page :', page + " , pageSize = " + pageSize);
|
|
||||||
state.searchParam.pageNo = 1;
|
state.searchParam.pageNo = 1;
|
||||||
state.searchParam.pageSize = pageSize;
|
state.searchParam.pageSize = pageSize;
|
||||||
getTagList();
|
getTagList();
|
||||||
};
|
};
|
||||||
|
|
||||||
// 分页变化
|
|
||||||
const changePagination = (page, pageSize) => {
|
const changePagination = (page, pageSize) => {
|
||||||
console.log('changePagination page :', page + " , pageSize = " + pageSize);
|
|
||||||
state.searchParam.pageNo = page;
|
state.searchParam.pageNo = page;
|
||||||
state.searchParam.pageSize = pageSize;
|
state.searchParam.pageSize = pageSize;
|
||||||
getTagList();
|
getTagList();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// 表格排序变化
|
// 表格排序变化
|
||||||
const handleTableChange = (pagination, filters, sorter) => {
|
const handleTableChange = (pagination, filters, sorter) => {
|
||||||
if (sorter.field === 'useCount') {
|
if (sorter.field === 'useCount') {
|
||||||
@@ -585,15 +580,12 @@ export default {
|
|||||||
state.courseDialogVisible = false;
|
state.courseDialogVisible = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const changeCoursePagination = (page, pageSize) => {
|
const changeCoursePagination = (page, pageSize) => {
|
||||||
console.log('handleSizeChange page :'+ page + " , pageSize = " + pageSize);
|
|
||||||
state.courseSearchParam.pageNo = page;
|
state.courseSearchParam.pageNo = page;
|
||||||
state.courseSearchParam.pageSize = pageSize;
|
state.courseSearchParam.pageSize = pageSize;
|
||||||
getCourseListByTag();
|
getCourseListByTag();
|
||||||
};
|
};
|
||||||
const changeCourseSizePagination = (page, pageSize) => {
|
const changeCourseSizePagination = (page, pageSize) => {
|
||||||
console.log('changeCourseSizePagination page :'+page + " , pageSize = " + pageSize);
|
|
||||||
state.courseSearchParam.pageNo = 1;
|
state.courseSearchParam.pageNo = 1;
|
||||||
state.courseSearchParam.pageSize = pageSize;
|
state.courseSearchParam.pageSize = pageSize;
|
||||||
getCourseListByTag();
|
getCourseListByTag();
|
||||||
|
|||||||
Reference in New Issue
Block a user