会议编辑修改
This commit is contained in:
@@ -320,7 +320,7 @@
|
||||
<a-textarea
|
||||
placeholder="请输入通知正文"
|
||||
:auto-size="{ minRows: 3, maxRows: 6 }"
|
||||
v-decorator="['remark']"
|
||||
v-decorator="['notice']"
|
||||
:maxLength='200'
|
||||
@change="e => {e.target.value = (e.target.value + '').trim()}"/>
|
||||
<span style="color:#999">仅用于发送邮件使用</span>
|
||||
@@ -535,7 +535,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
// 加定时器是因为有可能赋值不成功
|
||||
setTimeout(() => {
|
||||
this.form.setFieldsValue(pick(this.model, 'meetingName', 'meetingType', 'convokeTime', 'particularYear', 'estimatedNumber', 'meetingFiles', 'registerDeadline', 'meetingContent', 'convokeLocale', 'address', 'meetingCosts', 'directorId', 'remark', 'directorPhone')), 200
|
||||
this.form.setFieldsValue(pick(this.model,'notice','meetingName', 'meetingType', 'convokeTime', 'particularYear', 'estimatedNumber', 'meetingFiles', 'registerDeadline', 'meetingContent', 'convokeLocale', 'address', 'meetingCosts', 'directorId', 'remark', 'directorPhone')), 200
|
||||
})
|
||||
// 如果是标协会议则回显 标协会议的字段
|
||||
if (this.meetingType === '2') {
|
||||
@@ -571,8 +571,8 @@ export default {
|
||||
}
|
||||
let placeName = values.convokeLocale
|
||||
const formData = Object.assign(this.model, values, {venue: this.getPcaText(placeName)})
|
||||
// 添加会议需要增加会议类型
|
||||
formData.meetingType = this.$route.query.meetingType
|
||||
// 添加编辑会议需要增加会议类型
|
||||
formData.meetingType = this.meetingType
|
||||
// 如果是工作会议维护跳转的需要加上会议类型为工作组会议和工作组id
|
||||
if (this.isWorkGroupMeetType) {
|
||||
formData.meetingType = '1'
|
||||
|
||||
Reference in New Issue
Block a user