Commit 477fa945 by 李伟康

commit

1 parent 0b10f127
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
name: '', name: '',
flag: false, flag: false,
tabIndex: 0, tabIndex: 0,
pageNum: 0, pageNum: 1,
total: 0, total: 0,
list: [], list: [],
showQr: false, showQr: false,
...@@ -145,8 +145,14 @@ export default { ...@@ -145,8 +145,14 @@ export default {
}, },
methods: { methods: {
getList () { getList () {
let { uuid } = this.getLocalStorage('dj_scrm_userInfo')
let { pageNum, tabIndex, list, name } = this let { pageNum, tabIndex, list, name } = this
giftApi.getGiftList({ pageNum, name, receivedFlag: tabIndex == 0 ? 1 : 2 }).then(res => { giftApi.getGiftList({
pageNum,
name,
receivedFlag: tabIndex == 0 ? 1 : 2,
staffUUID: uuid
}).then(res => {
this.hideLoading() this.hideLoading()
this.flag = true this.flag = true
this.list = list.concat(res.list) this.list = list.concat(res.list)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!