From 86005dc980106809704a7df9ecf201c8ef3db9f7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 03 六月 2024 18:17:34 +0800
Subject: [PATCH] ‘’

---
 h5/pages/staff/meetingSubOrder.vue |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/h5/pages/staff/meetingSubOrder.vue b/h5/pages/staff/meetingSubOrder.vue
index 031a92e..5e07b7b 100644
--- a/h5/pages/staff/meetingSubOrder.vue
+++ b/h5/pages/staff/meetingSubOrder.vue
@@ -129,12 +129,21 @@
   },
   onLoad(option) {
     this.param = { ...option }
+    const bookingTimeList = option.bookingTimeList.split(',').map(i => {
+      return {
+        timeId: Number(i)
+      }
+    })
+    this.$set(this.param, 'bookingTimeList', bookingTimeList)
     this.$set(this.param, 'activeDate', dayjs(option.yudingDate).format('YYYY骞碝鏈圖鏃�'))
 		this.initOption()
   },
 	mounted() {
     this.$eventBus.$on('meetingPeo', (res) => {
-      this.$set(this.param, 'sysList', res)
+      this.$set(this.param, 'sysList', res.map(i=>{
+        i.userId = i.id
+        return i
+      }))
       // this.$set(this.param, 'memberIds', res.map(i => i.id).join(','))
       // this.$set(this.param, 'memberNames', res.map(i => i.name).join(','))
     })
@@ -153,7 +162,16 @@
 				projectList: info.projectList.filter(i => i.checked),
 			}).then(res => {
 				if(res.code === 200){
-
+					setTimeout(() => {
+						uni.showToast({
+							title: '棰勭害鎴愬姛',
+							icon:'success',
+							duration: 2000
+						})
+					})
+          uni.redirectTo({
+          	url: '/pages/staff/index'
+          })
 				}
 			})
 		},
@@ -235,7 +253,7 @@
   height: 72rpx;
   line-height: 72rpx;
   text-align: center;
-  background: #279baa;
+  background: $uni-color-primary;
   box-shadow: 0rpx -1rpx 0rpx 0rpx #eeeeee;
   border-radius: 36rpx;
   font-size: 30rpx;

--
Gitblit v1.9.3