| | |
| | | <view class="item"> |
| | | <view class="name"> |
| | | 参会人员 |
| | | <text class="star">*</text> |
| | | <text class="star"></text> |
| | | </view> |
| | | <view class="line" @click="selPeople"> |
| | | <view class="label"> |
| | |
| | | /> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="item" v-if="info.projectList && info.projectList.length > 0"> |
| | | <view class="name">选择服务项</view> |
| | | <view class="line"> |
| | | <view class="label"> |
| | |
| | | title: '会议详情' |
| | | }) |
| | | this.getDetail(option.id) |
| | | } else { |
| | | 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.$set(this.param, 'memberIds', res.map(i => i.id).join(',')) |
| | | // this.$set(this.param, 'memberNames', res.map(i => i.name).join(',')) |
| | | }) |
| | | this.$eventBus.$on('meetingSub', (res) => { |
| | | this.param = { ...res } |
| | | this.$set(this.param, 'activeDate', dayjs(res.yudingDate).format('YYYY年M月D日')) |
| | | const bookingTimeList = res.bookingTimeList.split(',').map(i => { |
| | | return { |
| | | timeId: Number(i) |
| | | } |
| | | }) |
| | | this.$set(this.param, 'bookingTimeList', bookingTimeList) |
| | | this.initOption() |
| | | }) |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | handleBack() { |
| | | if(this.param.id) return |
| | | uni.navigateBack( ) |
| | | }, |
| | | onSubmit() { |
| | |
| | | title: '请输入会议主题', |
| | | icon: 'none' |
| | | }) |
| | | if (!param.sysList || param.sysList.length == 0) return uni.showToast({ |
| | | title: '请选择参会人员', |
| | | icon: 'none' |
| | | }) |
| | | // if (!param.sysList || param.sysList.length == 0) return uni.showToast({ |
| | | // title: '请选择参会人员', |
| | | // icon: 'none' |
| | | // }) |
| | | reservationMeeting({ |
| | | ...param, |
| | | startTime: `${param.yudingDate} ${param.startTime}:00`, |
| | |
| | | }, |
| | | selPeople() { |
| | | const { param } = this |
| | | let startTime = param.yudingDate + ' ' + param.startTime |
| | | let endTime = param.yudingDate + ' ' + param.endTime |
| | | let startTime = new Date(param.yudingDate + ' ' + param.startTime).getTime() |
| | | let endTime = new Date(param.yudingDate + ' ' + param.endTime).getTime() |
| | | if(this.param.sysList && this.param.sysList.length > 0){ |
| | | setTimeout(() => { |
| | | this.$eventBus.$emit('meetingPeoDetail', this.param.sysList || []) |
| | | }, 500) |
| | | } |
| | | uni.navigateTo({ |
| | | url: `/pages/staff/meetingSel?startTime=${startTime}&endTime=${endTime}` |
| | | url: `/pages/staff/meetingSel?startTime=${startTime}&endTime=${endTime}&limitNum=${this.param.limitNum}` |
| | | }) |
| | | }, |
| | | serviceClick(item) { |