| | |
| | | urls.push(e.name) |
| | | }) |
| | | this.info.images = urls.join(",") |
| | | this.info.houseCode = uni.getStorageSync("siteInfo").houseCode; |
| | | } |
| | | this.info.houseCode = uni.getStorageSync("siteInfo").houseCode; |
| | | addTroubleReport(this.info).then(res => { |
| | | this.$showTips("提交成功", "success") |
| | | setTimeout(() => { |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | getList() { |
| | | getList(type) { |
| | | getTroubleReportList({ |
| | | current: this.currentPage, |
| | | size: 10, |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode |
| | | // reportType: 2 |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode, |
| | | type: type |
| | | // eventType: type |
| | | }).then(res => { |
| | | if (res.code != 200) { |