Commit 9a4a8904 authored by yaya's avatar yaya

Merge branch 'feature/20240716_1428_refresh' into feature/20240624_1826_special

parents 24e2cec6 c20a0747
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
element-loading-text="正在查询中..." element-loading-text="正在查询中..."
border border
fit fit
height="700"
highlight-current-row> highlight-current-row>
<!-- <el-table-column align="center" label="排行" width="100px" type="index" />--> <!-- <el-table-column align="center" label="排行" width="100px" type="index" />-->
<el-table-column align="center" min-width="100px" prop="id" label="拍卖ID" fixed="left"/> <el-table-column align="center" min-width="100px" prop="id" label="拍卖ID" fixed="left"/>
...@@ -174,6 +175,8 @@ export default { ...@@ -174,6 +175,8 @@ export default {
} }
}, },
created() { created() {
this.listQuery.limit = Number(localStorage.getItem('auction_limit') || '20')
this.listQuery.page = Number(localStorage.getItem('auction_page') || '1')
this.getList() this.getList()
}, },
methods: { methods: {
...@@ -216,7 +219,8 @@ export default { ...@@ -216,7 +219,8 @@ export default {
this.getList() this.getList()
}, },
getList() { getList() {
localStorage.setItem('systemState', '') localStorage.setItem('auction_page', '1')
localStorage.setItem('auction_limit', '20')
this.listLoading = true this.listLoading = true
findAuctionList(this.listQuery).then(response => { findAuctionList(this.listQuery).then(response => {
this.list = response.data.data.dataList this.list = response.data.data.dataList
...@@ -238,6 +242,8 @@ export default { ...@@ -238,6 +242,8 @@ export default {
* 详情 * 详情
*/ */
handleToEdit(item) { handleToEdit(item) {
localStorage.setItem('auction_page', this.listQuery.page)
localStorage.setItem('auction_limit', this.listQuery.limit)
this.$router.push({ path: '/sale/AuctionAdd', query: { id: item.id }}) this.$router.push({ path: '/sale/AuctionAdd', query: { id: item.id }})
}, },
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment