shish 6 months ago
parent
commit
10d7447de4
3 changed files with 3 additions and 6 deletions
  1. 1 1
      hdApp/src/admin/hb/list.vue
  2. 1 4
      hdApp/src/admin/hb/send.vue
  3. 1 1
      mallApp/src/pages/hb/list.vue

+ 1 - 1
hdApp/src/admin/hb/list.vue

@@ -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)
       })

+ 1 - 4
hdApp/src/admin/hb/send.vue

@@ -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})
           }
         })
       })

+ 1 - 1
mallApp/src/pages/hb/list.vue

@@ -117,7 +117,7 @@ export default {
 			this.getHbList()
 		},
 		getHbList() {
-			let status = this.tabs[this.tabIndex].status||0
+			let status = this.tabs[this.tabIndex].status
 			return getList({ status: status }).then(res => {
 				if(res.code == 1){
 					this.completes(res)