【修改】其他类型 会议发布 会议通知 酒店联系人非必填

This commit is contained in:
fengachen
2021-12-29 15:53:25 +08:00
parent e4c709d7fd
commit a03506d607
6 changed files with 97 additions and 18 deletions
@@ -28,8 +28,8 @@
</j-date>
</a-form-item>
</a-col>
<!-- 标协会议类型 -->
<a-col :xl="7" :lg="8" :md="8" :sm="24" v-if="$route.query.meetingType === '2' ">
<!-- 标协会议类型 -->
<a-col :xl="6" :lg="7" :md="8" :sm="24" v-if="$route.query.meetingType === '2' ">
<a-form-item label="会议类型">
<j-dict-select-tag style="width: 100%"
dict-code="standard_meeting_type"
@@ -69,6 +69,13 @@
placeholder="请选择提醒类型"></j-dict-select-tag>
</a-form-item>
</a-col>
<!--标协会议显示发布 -->
<a-col :xl="6" :lg="7" :md="8" :sm="24" v-if="$route.query.meetingType === '2' ">
<a-form-item label="发布状态">
<j-dict-select-tag placeholder="请选择发布状态" dict-code="release" style="width: 100%"
v-model="queryParam.isRelease"></j-dict-select-tag>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span class="table-page-search-submitButtons">
<a-button type="primary" icon="search" @click="searchQuery"
@@ -126,6 +133,8 @@
</template>
<span slot="action" class="action-span-cell" slot-scope="text, record">
<!--会议需要发布才能让企业人员看见 已发布状态禁用按钮 标协会议显示 -->
<a @click="releaseMeeing(record)" :disabled="record.release === 1 " v-if="$route.query.meetingType === '2' ">发布</a>
<a @click="uploadFile(record,'1')" v-has:[authorCode.uploadCouncil]="'committeeMeeting:upload'">会议纪要</a>
<a @click="uploadFile(record,'2')" v-has:[authorCode.upload]="'committeeMeeting:upload'">上传文件</a>
<!-- <a @click="applyMsg">报名信息</a>-->
@@ -233,6 +242,13 @@ export default {
width: 120,
scopedSlots: {customRender: 'text'}
},
{
title: '发布状态',
align: 'center',
dataIndex: 'release_dictText',
scopedSlots: {customRender: 'text'},
width: 100,
},
{
title: '已提醒',
align: 'center',
@@ -267,7 +283,7 @@ export default {
upload: 'committeeMeeting:upload',
edit: 'committeeMeeting:edit',
delete: 'committeeMeeting:delete',
uploadCouncil:'committeeMeeting:uploadCouncil'
uploadCouncil: 'committeeMeeting:uploadCouncil'
},
// 标协会议的权限编码
standardsMeetingAuthorCode: {
@@ -278,7 +294,8 @@ export default {
upload: 'standardsMeeting:upload',
edit: 'standardsMeeting:edit',
delete: 'standardsMeeting:delete',
uploadCouncil:'standardsMeeting:uploadCouncil'
uploadCouncil: 'standardsMeeting:uploadCouncil',
releaseMeeing:'', // 发布会议的按钮权限
}
}
},
@@ -300,11 +317,14 @@ export default {
// 找出提醒字段的索引
this.newColumns = this.newColumns.filter(item => item.dataIndex !== 'remind_dictText')
} else {
// 分标委会议 列表表头 去掉可发布列
this.newColumns = [...this.columns]
this.newColumns = this.newColumns.filter(item => item.dataIndex !== 'release_dictText')
}
},
mounted() {
if(this.disableMixinCreated){
if (this.disableMixinCreated) {
this.loadData(1)
}
},
@@ -330,6 +350,7 @@ export default {
delete: '/meeting/standardsMeeting/delete',
deleteBatch: '/meeting/standardsMeeting/deleteBatch',
exportXlsUrl: '/meeting/standardsMeeting/exportXls',
releaseMeeingUrl:'', // 发布会议的接口
}
} else if (meetingType === '5') {
// 分标委会议
@@ -411,7 +432,7 @@ export default {
return
} else {
// 传入选中的会议id
this.$refs.publishRemindModal.open(this.selectedRowKeys,true)
this.$refs.publishRemindModal.open(this.selectedRowKeys, true)
this.$refs.publishRemindModal.title = '发布'
}
@@ -419,8 +440,8 @@ export default {
/*
* 上传文件
* */
uploadFile(record,type) {
this.$refs.modalForm.edit(record,type)
uploadFile(record, type) {
this.$refs.modalForm.edit(record, type)
},
/*
* 报名信息