| | |
| | | let values = { |
| | | ...params, |
| | | }; |
| | | console.log(this.$route.query.status,1); |
| | | console.log(this.$route.query.type,2); |
| | | console.log(this.$route.query,3); |
| | | if (this.$route.query.type!=undefined && this.$route.query != undefined && this.$route.query != null && this.$route.query != "" ) { |
| | | if (this.$route.query.status != undefined) { |
| | | this.page.currentPage = 1; |
| | |
| | | status:this.$route.query.status, |
| | | type:this.$route.query.type |
| | | } |
| | | console.log(params,111); |
| | | } else { |
| | | this.page.currentPage = 1; |
| | | params = { |
| | | type:this.$route.query.type |
| | | }; |
| | | console.log(params,222); |
| | | } |
| | | }else if(this.$route.query.status != undefined){ |
| | | params = { |
| | |
| | | status:this.$route.query.status, |
| | | type:this.$route.query.type |
| | | } |
| | | console.log(params,444); |
| | | } |
| | | |
| | | if (dateTime) { |
| | |
| | | ...this.query, |
| | | }; |
| | | } |
| | | console.log(params,555); |
| | | this.loading = true; |
| | | getList(page.currentPage, page.pageSize, values).then(res => { |
| | | const data = res.data.data; |