Commit 79dbf54f by 李伟康

Merge branch 'liwk_dev_v2.1.0_0427' of http://192.168.3.233:8090/glsx/dj-scrm-wx…

…-work-attachment-activity into liwk_dev_v2.1.0_0427
2 parents 76255d73 d0ae613e
......@@ -201,7 +201,7 @@ export default {
let { uuid } = this.getLocalStorage('dj_scrm_userInfo')
let { pageNum, tabIndex, list, name, giftToast } = this
if (giftToast) this.giftToast = ''
this.showLoading()
if(type!=='inApprove')this.showLoading()
const apiFunc = (type==='inApprove'|| tabIndex === 2) ? giftApi.getInApproveGiftList : giftApi.getGiftList
apiFunc({
pageNum,
......@@ -209,7 +209,6 @@ export default {
receivedFlag: (type==='inApprove'|| tabIndex === 2) ? '' : (tabIndex == 0 ? 1 : 2),
staffUUID: uuid
}).then(res => {
this.hideLoading()
if(type==='inApprove'){
this.$set(this.tab,2,`审批中(${res.total})`);
}else{
......@@ -218,6 +217,9 @@ export default {
this.total = res.total
if(tabIndex === 2) this.$set(this.tab,2,`审批中(${res.total})`);
}
if(type!=='inApprove') this.hideLoading()
})
},
search (e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!