From d203a15b341c7427522c9f643d9fd280c7dad75b Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 26 二月 2024 18:37:37 +0800
Subject: [PATCH] mrshi
---
 h5/pages/visitorApplication/visitorApplication.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/h5/pages/visitorApplication/visitorApplication.vue b/h5/pages/visitorApplication/visitorApplication.vue
index 7e447e2..ebc9fc7 100644
--- a/h5/pages/visitorApplication/visitorApplication.vue
+++ b/h5/pages/visitorApplication/visitorApplication.vue
@@ -343,7 +343,7 @@
 			},
 			submit() {
 				if (!this.form1.receptMemberId) return uni.showToast({
-					title: '琚浜轰笉鑳戒负绌�',
+					title: '璇峰~鍐欐湁鏁堢殑璁块棶浜�',
 					icon: 'none'
 				})
 				if (!this.form1.starttime) return uni.showToast({
@@ -362,16 +362,22 @@
 				// 	title: '鎷滆浜嬬敱涓嶈兘涓虹┖',
 				// 	icon: 'none'
 				// })
-				this.form1.starttime = this.form1.starttime + ':00'
-				this.form1.endtime = this.form1.endtime + ':00'
+				// this.form1.starttime = this.form1.starttime + ':00'
+				// this.form1.endtime = this.form1.endtime + ':00'
+				let data = JSON.parse(JSON.stringify(this.form1))
+				data.starttime = data.starttime + ':00'
+				data.endtime = data.endtime + ':00'
 				this.$u.api.createFk({
 					...this.form,
-					...this.form1,
+					...data,
 					openid: this.$store.state.openId,
 					withUserList: this.personnel
 				}).then(res => {
 					if (res.code === 200) {
 						console.log(res)
+						uni.reLaunch({
+							url: `/pages/appointmentDetails/appointmentDetails?id=${res.data}`
+						})
 					}
 				})
 			},
--
Gitblit v1.9.3