工作组会议维护修改

This commit is contained in:
fengachen
2021-09-07 17:19:05 +08:00
parent 00676798ea
commit f8960e04d4
3 changed files with 94 additions and 50 deletions
@@ -464,8 +464,7 @@ export default {
this.newConvokeTime = [this.model.startTime, this.model.endTime]
// 后端需要的注册签到时间
this.newSignInTime = [this.model.startSignInTime, this.model.endSignInTime]
// 联系人电话
this.model.directorPhone = this.$route.query.directorPhone
this.$nextTick(() => {
// 加定时器是因为有可能赋值不成功
setTimeout( () => {
@@ -504,9 +503,10 @@ export default {
}
let placeName = values.convokeLocale
const formData = Object.assign(this.model, values, {venue: this.getPcaText(placeName)})
// 如果是工作会议维护跳转的需要加上会议类型为工作组会议
// 如果是工作会议维护跳转的需要加上会议类型为工作组会议和工作组id
if(!this.isWorkGroupMeetType) {
formData.meetingType = '1'
formData.workingGroupId = this.$route.query.workingGroupProjectId
}
// 转换召开时间
formData.startTime = this.newConvokeTime[0]