|
|
@ -207,7 +207,7 @@ |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pagination"> |
|
|
<div class="pagination"> |
|
|
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]" |
|
|
|
|
|
|
|
|
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]" |
|
|
layout="total, sizes, prev, pager, next, jumper" :total="total" |
|
|
layout="total, sizes, prev, pager, next, jumper" :total="total" |
|
|
@size-change="handlePagination('size', $event)" |
|
|
@size-change="handlePagination('size', $event)" |
|
|
@current-change="handlePagination('page', $event)"></el-pagination> |
|
|
@current-change="handlePagination('page', $event)"></el-pagination> |
|
|
@ -450,9 +450,12 @@ const defaultTime = [ |
|
|
const getTime = ref([]) |
|
|
const getTime = ref([]) |
|
|
|
|
|
|
|
|
// 空函数占位(原模板引用但未定义,避免报错) |
|
|
// 空函数占位(原模板引用但未定义,避免报错) |
|
|
const handleDatePickerChange = ref(() => { }) |
|
|
|
|
|
const disabledDate = ref(() => { }) |
|
|
|
|
|
const handleSortChange = ref(() => { }) |
|
|
|
|
|
|
|
|
const handleDatePickerChange = ref(() => { |
|
|
|
|
|
}) |
|
|
|
|
|
const disabledDate = ref(() => { |
|
|
|
|
|
}) |
|
|
|
|
|
const handleSortChange = ref(() => { |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
const search = () => { |
|
|
const search = () => { |
|
|
getlist() |
|
|
getlist() |
|
|
@ -461,6 +464,8 @@ const search = () => { |
|
|
const reset = () => { |
|
|
const reset = () => { |
|
|
searchData.value = {} |
|
|
searchData.value = {} |
|
|
getTime.value = [] |
|
|
getTime.value = [] |
|
|
|
|
|
// 重置页码 |
|
|
|
|
|
pageInfo.value.pageNum = 1 |
|
|
getlist() |
|
|
getlist() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|