| | |
| | | this.listQuery.filter.endtime = '' |
| | | } |
| | | let res = await getPersonListData(this.listQuery) |
| | | if(res.data.code === "200"){ |
| | | this.recordTotal = res.data.result.total |
| | | this.pageSize = res.data.result.size |
| | | this.pageTotal = computePageCount(res.data.result.total, res.data.result.size) |
| | | this.currentPage = res.data.result.current |
| | | res.data.result.records.map(item => item.path = (item.path === undefined ? null : process.env.IMG_API + item.path)) |
| | | this.previewList = res.data.result.records.map(item => item.path).filter(item=>item !== null) |
| | | this.personPurchaseData = res.data.result.records |
| | | let data = JSON.parse(Base64.decode(res.data)) |
| | | if(data.code === "200"){ |
| | | this.recordTotal = data.result.total |
| | | this.pageSize = data.result.size |
| | | this.pageTotal = computePageCount(data.result.total, data.result.size) |
| | | this.currentPage = data.result.current |
| | | data.result.records.map(item => item.path = (item.path === undefined ? null : process.env.IMG_API + item.path)) |
| | | this.previewList = data.result.records.map(item => item.path).filter(item=>item !== null) |
| | | this.personPurchaseData = data.result.records |
| | | }else{ |
| | | this.$message({ |
| | | type:'warning', |