| | |
| | | } |
| | | }, |
| | | onLoad(params) { |
| | | console.log('JSON.parse(params.data)', JSON.parse(params.data)) |
| | | this.complaintId = params.id |
| | | this.describe = JSON.parse(params.data).describe |
| | | this.progressId = JSON.parse(params.data).id |
| | | this.video = JSON.parse(params.data).video.split(',') |
| | | this.imgUrls = JSON.parse(params.data).imgUrl.split(',') |
| | | this.localImageUrls = JSON.parse(params.data).imgUrl.split(',') |
| | | this.video = JSON.parse(params.data).video ? JSON.parse(params.data).video.split(',') : [] |
| | | this.imgUrls = JSON.parse(params.data).imgUrl ? JSON.parse(params.data).imgUrl.split(',') : [] |
| | | this.localImageUrls = JSON.parse(params.data).imgUrl ? JSON.parse(params.data).imgUrl.split(',') : [] |
| | | getComplaintDetail({ |
| | | id: params.id |
| | | }).then(res => { |