| | |
| | | antiCollisionImageUrls: [], //防撞装置照片 |
| | | haImageUrls: [], //高空抛物监控照片 |
| | | selectStatus: "", |
| | | remark: "" |
| | | remark: "", |
| | | roleType:"", |
| | | status:1 |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | this.id = option.id; |
| | | this.getDetailInfo(option.id); |
| | | let roleName = uni.getStorageSync("activeRole").roleName |
| | | if(roleName == "居民"){ |
| | | this.roleType = 2 |
| | | }else { |
| | | this.roleType = 1 |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | this.basicData.forEach(item => { |
| | | item.value = data[item.name] || "未完善" |
| | | }) |
| | | this.status = data.confirmFlag; |
| | | this.foImageUrls = this.$setImageUrl(data.foImageUrls); |
| | | this.fireFacsImageUrls = this.$setImageUrl(data.fireFacsImageUrls); |
| | | this.patrolImageUrls = this.$setImageUrl(data.patrolImageUrls); |