| | |
| | | </div> |
| | | |
| | | <div class="card-footer flex justify-center mb-7 shrink-0"> |
| | | <el-pagination background layout="prev, pager, next" :total="1000" /> |
| | | <el-pagination background layout="prev, pager, next" :total="dataList.length" |
| | | :default-page-size="20" |
| | | :currentPage="currentIndex" |
| | | :hide-on-single-page="true" |
| | | @current-change="handleCurrentChange"/> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | |
| | | |
| | | const activeName = ref('1'); |
| | | const searchText = ref(''); |
| | | const currentIndex = ref(1); |
| | | |
| | | const dataList = ref([]); |
| | | |
| | |
| | | |
| | | const handleClick = (tab, event) => { |
| | | }; |
| | | |
| | | const handleCurrentChange = (val) => { |
| | | getData(); |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |