liukangdong
2024-06-03 86005dc980106809704a7df9ecf201c8ef3db9f7
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年M月D日'))
      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'
          })
            }
         })
      },