发布提醒修改
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
:arrowPointAtCenter="true"
|
:arrowPointAtCenter="true"
|
||||||
overlayClassName="header-notice-wrapper"
|
overlayClassName="header-notice-wrapper"
|
||||||
@visibleChange="handleHoverChange"
|
@visibleChange="handleHoverChange"
|
||||||
|
:visible="hovered"
|
||||||
:overlayStyle="{ width: '300px', top: '50px' }">
|
:overlayStyle="{ width: '300px', top: '50px' }">
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
<a-spin :spinning="loadding">
|
<a-spin :spinning="loadding">
|
||||||
@@ -169,6 +170,7 @@
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/isps/userAnnouncement'
|
path: '/isps/userAnnouncement'
|
||||||
})
|
})
|
||||||
|
this.handleHoverChange(false)
|
||||||
},
|
},
|
||||||
modalFormOk(){
|
modalFormOk(){
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
<div class="item-title">会议信息</div>
|
<div class="item-title">会议信息</div>
|
||||||
|
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
|
|
||||||
<!--如果是工作组项目的会议维护跳转的 需要隐藏会议类型-->
|
<!--如果是工作组项目的会议维护跳转的 需要隐藏会议类型-->
|
||||||
<!-- 会议拆分不需要会议类型了 需要在调接口的时候传相应的会议类型-->
|
<!-- 会议拆分不需要会议类型了 需要在调接口的时候传相应的会议类型-->
|
||||||
<!-- <a-col :xxl="8" :xl="12" :sm="24" v-if="isWorkGroupMeetType">-->
|
<!-- <a-col :xxl="8" :xl="12" :sm="24" v-if="isWorkGroupMeetType">-->
|
||||||
@@ -51,18 +50,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<!--工作组会议才有-->
|
<!--工作组会议才有-->
|
||||||
<a-col :xxl="8" :xl="12" :sm="24" v-if="meetingType === '1' ">
|
|
||||||
<a-form-item label="工作组" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
||||||
<a-select placeholder="请选择工作组"
|
|
||||||
v-decorator="['workingGroupId',validatorRules.parentId]"
|
|
||||||
:maxLength='50'>
|
|
||||||
<a-select-option v-for="item in workGroupList" :key="item.id" :value="item.id">
|
|
||||||
{{ item.workingGroupProject }}
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
|
|
||||||
<a-col :xxl="8" :xl="12" :sm="24">
|
<a-col :xxl="8" :xl="12" :sm="24">
|
||||||
<a-form-item label="年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
@@ -99,7 +86,6 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row>
|
<a-row>
|
||||||
@@ -717,7 +703,8 @@ export default {
|
|||||||
callback(new Error('请输入邀请码'))
|
callback(new Error('请输入邀请码'))
|
||||||
} else {
|
} else {
|
||||||
let codeObj = this.form.getFieldsValue(['cooperativeInvitationCode', 'vipInvitationCode', 'speakerInvitationCode', 'guestInvitationCode'])
|
let codeObj = this.form.getFieldsValue(['cooperativeInvitationCode', 'vipInvitationCode', 'speakerInvitationCode', 'guestInvitationCode'])
|
||||||
const codeArr = Object.values(codeObj)
|
let codeArr = Object.values(codeObj)
|
||||||
|
codeArr = codeArr.filter(item => item !== undefined)
|
||||||
console.log('codearr', codeArr)
|
console.log('codearr', codeArr)
|
||||||
// 校验是否重复
|
// 校验是否重复
|
||||||
if (isRepeat(codeArr)) {
|
if (isRepeat(codeArr)) {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import {publishRemind} from '@api/incomePaymentsApi'
|
import {publishRemind} from '@api/incomePaymentsApi'
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'PublishRemindModal',
|
name: 'PublishRemindModal',
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
@@ -105,7 +106,7 @@ export default {
|
|||||||
title: '是否提醒',
|
title: '是否提醒',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 200,
|
width: 200,
|
||||||
dataIndex: '',
|
dataIndex: 'remind',
|
||||||
// scopedSlots: {customRender: 'text'}
|
// scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -129,13 +130,18 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open(meetingList) {
|
open(meetingList) {
|
||||||
|
|
||||||
|
|
||||||
this.visible = true
|
this.visible = true
|
||||||
// 保存选中的会议
|
// 保存选中的会议
|
||||||
this.selectedMetingList = [...meetingList]
|
this.selectedMetingList = [...meetingList]
|
||||||
// 列表需要工作组id参数
|
// 列表需要工作组id参数
|
||||||
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
||||||
|
// 发布提醒需要会议id 只有选择一个会议的时候 才会有这个参数
|
||||||
|
if(meetingList.length === 1) {
|
||||||
|
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
||||||
|
// 去掉列表的提醒字段
|
||||||
|
let index = this.columns.findIndex(item => item.dataIndex === 'remind')
|
||||||
|
this.columns.splice(index,1)
|
||||||
|
}
|
||||||
this.searchReset()
|
this.searchReset()
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
Reference in New Issue
Block a user