| | |
| | | ] |
| | | }; |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | if (sessionStorage.getItem("donatebaseinfo")) { |
| | | this.queryParams = JSON.parse(sessionStorage.getItem("donatebaseinfo")); |
| | | console.log(this.queryParams, "queryParams"); |
| | | } |
| | | }, |
| | | |
| | | mounted(e) { |
| | | // let idd = this.$route.query.userid |
| | |
| | | if (this.$route.params.starttime != null && this.$route.params.endtime) { |
| | | this.selecttime = [ |
| | | this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"), |
| | | this.$moment(this.$route.params.endtime) |
| | | .format("YYYY-MM-DD") |
| | | this.$moment(this.$route.params.endtime).format("YYYY-MM-DD") |
| | | ]; |
| | | } |
| | | if (this.$route.params.reporterno != "") { |
| | |
| | | } |
| | | |
| | | this.getTimeList(); |
| | | |
| | | |
| | | this.getList(); |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | /** 查询捐献基础列表 */ |
| | | getList(e) { |
| | | getList() { |
| | | this.loading = true; |
| | | this.queryParams.params = {}; |
| | | // if (null != this.daterangeReporttime && "" != this.daterangeReporttime) { |
| | | // this.queryParams.params["beginReporttime"] = |
| | | // this.daterangeReporttime[0]; |
| | | // this.queryParams.params["endReporttime"] = this.daterangeReporttime[1]; |
| | | // } |
| | | sessionStorage.removeItem("donatebaseinfo"); |
| | | sessionStorage.setItem( |
| | | "donatebaseinfo", |
| | | JSON.stringify(this.queryParams) |
| | | ); |
| | | // 跳转时的默认进度 |
| | | if (e != null && e != undefined && !isNaN(e)) { |
| | | this.queryParams.recordstate = e; |
| | | } |
| | | |
| | | if (this.reportervalue != "") { |
| | | this.queryParams.reportno = this.reportervalue; |
| | |
| | | this.queryParams.residenceprovince = this.$refs.areaSelect.getSheng(); |
| | | this.queryParams.residencecity = this.$refs.areaSelect.getShi(); |
| | | this.queryParams.residencetown = this.$refs.areaSelect.getQu(); |
| | | console.log(this.queryParams); |
| | | |
| | | listDonatebaseinfo(this.queryParams).then(response => { |
| | | this.donatebaseinfoList = response.rows; |
| | | //console.log("listDonatebaseinfo", response.rows); |