From 2d95e769f7dcdc30e2ba699d6674820787b5e5fb Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Sat, 03 Feb 2024 11:05:31 +0800
Subject: [PATCH] 更新

---
 subPackage/workbench/views/audit.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/subPackage/workbench/views/audit.vue b/subPackage/workbench/views/audit.vue
index c7b0d25..2522956 100644
--- a/subPackage/workbench/views/audit.vue
+++ b/subPackage/workbench/views/audit.vue
@@ -192,11 +192,18 @@
 			},
 			navTo(id, reportType, status, type) {
 				if (status == 4) {
-					if (uni.getStorageSync("activeRole").roleName == "民警") {
+
+					if (reportType == 8) {
 						this.navToDetail(reportType, id, type)
 					} else {
-						this.navToEdit(reportType, id, type);
+						if (uni.getStorageSync("activeRole").roleName == "民警") {
+							this.navToDetail(reportType, id, type)
+						} else {
+							this.navToEdit(reportType, id, type);
+						}
 					}
+
+
 				} else {
 					this.navToDetail(reportType, id, type)
 				}
@@ -224,6 +231,7 @@
 				} else if (reportType == 6) {
 					this.$u.func.globalNavigator(`schoolReportDetail?id=${id}`)
 				} else {
+
 					this.$u.func.globalNavigator(`checkReform?id=${id}`)
 				}
 			},

--
Gitblit v1.9.3