Compare commits

...

3 Commits

Author SHA1 Message Date
zouyf 6b5164048c Merge pull request 'zouyf_dev' (#407) from zouyf_dev into main
Reviewed-on: #407
2024-11-13 15:45:01 +08:00
“zouyf” 1f2eb722f1 1 2024-11-13 15:43:09 +08:00
“zouyf” b973fd685c 优化滚动条 2024-11-13 14:08:28 +08:00
1 changed files with 6 additions and 1 deletions

View File

@ -55,6 +55,7 @@
<el-col :span="11"> <el-col :span="11">
<el-form-item label="知识点" label-width="70"> <el-form-item label="知识点" label-width="70">
<el-cascader <el-cascader
disabled
v-model="entpCourseWorkQueryParams.point" v-model="entpCourseWorkQueryParams.point"
clearable clearable
style="width: 100%" style="width: 100%"
@ -94,6 +95,7 @@
:data="workResource.entpCourseWorkList" :data="workResource.entpCourseWorkList"
style="width: 100%; height: 100%;" style="width: 100%; height: 100%;"
v-loading="pageParams.loading" v-loading="pageParams.loading"
ref="tableRef"
> >
<el-table-column type="index" width="60" /> <el-table-column type="index" width="60" />
<el-table-column align="left" > <el-table-column align="left" >
@ -976,11 +978,14 @@ const showExamAnalyseDrawer = (row) => {
}) })
} }
const tableRef = ref();
const getPaginationList = ( page, limit ) => { const getPaginationList = ( page, limit ) => {
paginationParams.pageNum = page; paginationParams.pageNum = page;
paginationParams.pageSize = limit; paginationParams.pageSize = limit;
console.log(page, limit) //console.log(page, limit)
handleQueryFromEntpCourseWork(0); handleQueryFromEntpCourseWork(0);
//
tableRef.value.setScrollTop(0);
} }
const pageLoad = async() => { const pageLoad = async() => {