Lou
2023-12-25 d8243dc134e1be05711dfc08bdf8190a84d0761d
subPackage/workbench/views/hotelReportDetail.vue
@@ -185,19 +185,27 @@
            pfImageUrls: [],
            uanImageUrls: [],
            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: {
         showPicker() {
            if (this.roleType == 2 && this.status != 2) return;
            this.isPickerShow = true;
            if (this.roleType == 1){
               this.isPickerShow = true;
            };
         },
         getDetailInfo(id) {
@@ -209,6 +217,7 @@
               this.basicData.forEach(item => {
                  item.value = data[item.name]
               })
               this.status = data.confirmFlag;
               this.fireImages = this.$setImageUrl(data.fireImageUrls);
               this.scImageUrls = this.$setImageUrl(data.scImageUrls);
               this.pfImageUrls = this.$setImageUrl(data.pfImageUrls);