| | |
| | | this.loading = true; |
| | | this.queryParams.type = this.tjStatus; |
| | | getProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if (response.code == 200) { |
| | | this.loading = false; |
| | | if (response.data.date) { |
| | | this.tableList = response.data.date; |
| | | if (response.data) { |
| | | if (response.data.date) { |
| | | this.tableList = response.data.date; |
| | | } else { |
| | | this.tableList = response.data.customers; |
| | | } |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = response.data.customers; |
| | | this.tableList = []; |
| | | } |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = []; |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | this.queryParams.type = val; |
| | | this.loading = true; |
| | | getProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if (response.code == 200) { |
| | | this.loading = false; |
| | | this.tableList = response.data.date; |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = []; |
| | | if (response.data) { |
| | | this.tableList = response.data.date; |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = []; |
| | | } |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | }, |
| | | cancell() { |
| | | this.checkval = false; |
| | | |
| | | }, |
| | | |
| | | Hzlog(val) { |
| | |
| | | cancel() { |
| | | this.open = false; |
| | | this.foropen = false; |
| | | |
| | | }, |
| | | |
| | | Changeapply() { |
| | |
| | | setTimeout(() => { |
| | | loading.close(); |
| | | }, 3000); |
| | | this.$message.msgSuccess("报告正在生成,请两分钟后预览!"); |
| | | // this.$message.msgSuccess("报告正在生成,请两分钟后预览!"); |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "报告正在生成,请两分钟后预览!!", |
| | | }); |
| | | |
| | | } else { |
| | | this.dialogVisible = true; |