@@ -119,7 +119,7 @@ export default {
this.getHbList()
},
getHbList() {
- let status = this.tabs[this.tabIndex].status||0
+ let status = this.tabs[this.tabIndex].status
return hbList({ status: status, page: this.list.page, limit: this.list.pageSize, customId: this.customId }).then((res) => {
this.completes(res)
})
@@ -80,10 +80,7 @@ export default {
this.$util.confirmModal({content:'确认发放?'},() => {
createHb({ userId: this.userId, customId: this.customId, ...this.form, }).then(res => {
if (res.code == 1) {
- this.$msg('发放成功')
- setTimeout(() => {
- this.$util.pageTo({url: '/admin/hb/result?id='+res.data.id,type:2})
- }, 500)
+ this.$util.pageTo({url: '/admin/hb/result?id='+res.data.id,type:2})
}
@@ -117,7 +117,7 @@ export default {
return getList({ status: status }).then(res => {
if(res.code == 1){