Lou
2023-12-25 d8243dc134e1be05711dfc08bdf8190a84d0761d
subPackage/workbench/views/schoolReportDetail.vue
@@ -165,12 +165,20 @@
            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: {
@@ -183,6 +191,7 @@
               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);