From 06ecdd7e59f6f0469a5ac99d4504c6a90ce6052e Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Mon, 13 May 2024 14:07:25 +0800
Subject: [PATCH] bug修復

---
 subPackage/school/trouble.vue          |   11 +++++++++++
 subPackage/workbench/views/examine.vue |    6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/subPackage/school/trouble.vue b/subPackage/school/trouble.vue
index 671f45b..40f264c 100644
--- a/subPackage/school/trouble.vue
+++ b/subPackage/school/trouble.vue
@@ -86,6 +86,17 @@
 		onLoad(option) {
 			if (option.type) {
 				this.info.type = option.type
+				if (option.type == 1) {
+					uni.setNavigationBarTitle({
+						title: '安全隐患' // 设置为你想要显示的标题
+					});
+
+				} else {
+					uni.setNavigationBarTitle({
+						title: '纠纷矛盾排查' // 设置为你想要显示的标题
+					});
+				}
+
 			}
 			this.getAllBizDict()
 		},
diff --git a/subPackage/workbench/views/examine.vue b/subPackage/workbench/views/examine.vue
index 01c916a..b98ae2e 100644
--- a/subPackage/workbench/views/examine.vue
+++ b/subPackage/workbench/views/examine.vue
@@ -332,6 +332,7 @@
 				// })
 
 				this.form.confirmFlag = data.confirmFlag;
+				this.currentData.id = data.id;
 				this.confirmFlag = data.confirmFlag;
 				this.confirmNotion = data.confirmNotion;
 				if (data.imageUrls) {
@@ -394,6 +395,7 @@
 				if (this.form.confirmNotion) {
 					data.confirmNotion = this.form.confirmNotion;
 				}
+				console.log("********2222******" + JSON.stringify(data))
 
 				const res = await checkPlaceExtData(data)
 				if (res.code !== 200) {
@@ -418,7 +420,7 @@
 
 			async checkPlacePeople() {
 				let data = {
-					placeId: this.currentData.id,
+					placeId: this.currentData.placeId,
 					confirmFlag: this.form.confirmFlag
 				}
 
@@ -426,7 +428,7 @@
 					data.confirmNotion = this.form.confirmNotion;
 				}
 
-				const res = await checkPlaceExtData(data)
+				const res = await auditPlacePeople(data)
 				if (res.code !== 200) {
 					uni.showToast({
 						title: '更新失败',

--
Gitblit v1.9.3