| | |
| | | Object.assign(params, this.query) |
| | | ).then((ress) => { |
| | | this.data = this.data.concat(ress.data.data.records); |
| | | }); |
| | | getListrek( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resk) => { |
| | | this.data = this.data.concat(resk.data.data.records); |
| | | }); |
| | | getListrev( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resv) => { |
| | | this.data = this.data.concat(resv.data.data.records); |
| | | getListrek( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resk) => { |
| | | this.data = this.data.concat(resk.data.data.records); |
| | | getListrev( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign(params, this.query) |
| | | ).then((resv) => { |
| | | this.data = this.data.concat(resv.data.data.records); |
| | | // console.log(this.data); |
| | | if (this.data.length == 0) { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } else { |
| | | if (this.data[0].type == 0 || this.data[0].type == 2) { |
| | | this.$store.commit("changecanDoIt", false); |
| | | } else { |
| | | this.$store.commit("changecanDoIt", true); |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | }); |
| | | }, |