| | |
| | | label |
| | | }).then( |
| | | () => { |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | |
| | | label |
| | | }).then( |
| | | () => { |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | |
| | | return removeTask(row) |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | |
| | | this.$message({ |
| | | type: "success", |
| | |
| | | |
| | | searchReset () { |
| | | this.query = {} |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | }, |
| | | |
| | | searchChange (params, done) { |
| | |
| | | endTime: params.daterange[1], |
| | | } : {} |
| | | this.page.currentPage = 1 |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | done() |
| | | }, |
| | | |
| | |
| | | return remove(this.ids) |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page) |
| | | this.onLoad() |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | |
| | | // this.onLoad(this.page, this.query) |
| | | }, |
| | | |
| | | onLoad (page, params = {}) { |
| | | onLoad () { |
| | | this.loading = true |
| | | if (!this.query.startTime) { |
| | | this.query = { |
| | |
| | | endTime: this.getLastMouth[0], |
| | | } |
| | | } |
| | | getYHTJList(page.currentPage, page.pageSize, this.query).then(res => { |
| | | console.log('onLoad', this.query) |
| | | getYHTJList(this.query).then(res => { |
| | | console.log('getZGQKList', res.data.data) |
| | | const data = res.data.data |
| | | data.forEach(item => { |