From d8243dc134e1be05711dfc08bdf8190a84d0761d Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 25 Dec 2023 10:41:11 +0800
Subject: [PATCH] 修复部分问题

---
 subPackage/workbench/views/schoolReportDetail.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/subPackage/workbench/views/schoolReportDetail.vue b/subPackage/workbench/views/schoolReportDetail.vue
index 77cb30f..2a1d88a 100644
--- a/subPackage/workbench/views/schoolReportDetail.vue
+++ b/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);

--
Gitblit v1.9.3