mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 01:46:43 +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"
|
||||
:show-total="total => `共 ${courseTableTotal} 条`"
|
||||
:showSizeChanger="true"
|
||||
:pageSizeOptions="['5','10', '15', '20']"
|
||||
:pageSizeOptions="['10', '20', '30', '40']"
|
||||
:showQuickJumper="true"
|
||||
:hideOnSinglePage="false"
|
||||
:pageSize="coursePageSize"
|
||||
@@ -451,23 +451,18 @@ export default {
|
||||
getTagList();
|
||||
};
|
||||
|
||||
// 分页变化
|
||||
const handleSizeChange = (page, pageSize) => {
|
||||
console.log('handleSizeChange page :', page + " , pageSize = " + pageSize);
|
||||
state.searchParam.pageNo = 1;
|
||||
state.searchParam.pageSize = pageSize;
|
||||
getTagList();
|
||||
};
|
||||
|
||||
// 分页变化
|
||||
const changePagination = (page, pageSize) => {
|
||||
console.log('changePagination page :', page + " , pageSize = " + pageSize);
|
||||
state.searchParam.pageNo = page;
|
||||
state.searchParam.pageSize = pageSize;
|
||||
getTagList();
|
||||
};
|
||||
|
||||
|
||||
// 表格排序变化
|
||||
const handleTableChange = (pagination, filters, sorter) => {
|
||||
if (sorter.field === 'useCount') {
|
||||
@@ -524,7 +519,7 @@ export default {
|
||||
console.log("修改热点 参数 : ",record);
|
||||
changeTagHot(record.id).then ((res) => {
|
||||
console.log("修改热点 结果 : ",res);
|
||||
if (res.status === 200) {
|
||||
if (res.status === 200 ) {
|
||||
console.log("更新成功");
|
||||
}else {
|
||||
record.isHot = false;
|
||||
@@ -585,15 +580,12 @@ export default {
|
||||
state.courseDialogVisible = false;
|
||||
};
|
||||
|
||||
|
||||
const changeCoursePagination = (page, pageSize) => {
|
||||
console.log('handleSizeChange page :'+ page + " , pageSize = " + pageSize);
|
||||
state.courseSearchParam.pageNo = page;
|
||||
state.courseSearchParam.pageSize = pageSize;
|
||||
getCourseListByTag();
|
||||
};
|
||||
const changeCourseSizePagination = (page, pageSize) => {
|
||||
console.log('changeCourseSizePagination page :'+page + " , pageSize = " + pageSize);
|
||||
state.courseSearchParam.pageNo = 1;
|
||||
state.courseSearchParam.pageSize = pageSize;
|
||||
getCourseListByTag();
|
||||
|
||||
Reference in New Issue
Block a user