|
|
|
@@ -160,7 +160,7 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
|
|
<a-button type="primary" @click="searchQuery" icon="search" v-has="'attendance:search'">查询</a-button>
|
|
|
|
|
<a-button type="primary" @click="searchQuery" icon="search" v-has:[authorCode.search]="'attendance:search'">查询</a-button>
|
|
|
|
|
<a-button @click="searchReset" icon="reload" class="reset-button" style="margin-left: 8px">重置</a-button>
|
|
|
|
|
</span>
|
|
|
|
|
</a-col>
|
|
|
|
@@ -173,16 +173,16 @@
|
|
|
|
|
<div class="table-operator">
|
|
|
|
|
<!-- 变更去掉了此功能 暂时注释 2021-09-16 -->
|
|
|
|
|
<!-- <a-button type="primary" icon="import" @click="importParticipant">导入参会人</a-button>-->
|
|
|
|
|
<a-button type="primary" icon="plus" @click="addParticipant" v-has:[addPerson]="'attendance:add'">添加参会人</a-button>
|
|
|
|
|
<a-button type="primary" icon="download" @click="handleExportXls('会员项目')" v-has:[addPerson]="'attendance:export'">导出
|
|
|
|
|
<a-button type="primary" icon="plus" @click="addParticipant" v-has:[authorCode.add]="'attendance:add'">添加参会人</a-button>
|
|
|
|
|
<a-button type="primary" icon="download" @click="handleExportXls('会员项目')" v-has:[authorCode.export]="'attendance:export'">导出
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="danger" icon="delete" @click="batchDel" v-has="'attendance:batchDel'">批量删除</a-button>
|
|
|
|
|
<a-button type="danger" icon="delete" @click="batchDel" v-has:[authorCode.batchDel]="'attendance:batchDel'">批量删除</a-button>
|
|
|
|
|
<!--当会议费用为0不需要合并开票 -->
|
|
|
|
|
<!-- 变更将此功能添加到到账开票了 暂时注释 2021-09-16 -->
|
|
|
|
|
<!-- <a-button type="primary" @click="batchInvoice" v-show="currentMeetingInfo.meetingCosts !== 0">合并开票</a-button>-->
|
|
|
|
|
<!--只有国际研讨会才会有设置对接人-->
|
|
|
|
|
<a-button type="primary" @click="batchSetDocker" v-if="currentMeetingInfo.meetingType === '3' "
|
|
|
|
|
v-has="'attendance:batchSetDocker'">设置对接人
|
|
|
|
|
v-has="'internalMeetingSituation:batchSetDocker'">设置对接人
|
|
|
|
|
</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@@ -242,14 +242,14 @@
|
|
|
|
|
<span slot="action" slot-scope="text, record" class="action-span-cell">
|
|
|
|
|
<!-- 只有缴费方式为汇款并且上传了汇款凭证的的才会有审核按钮-->
|
|
|
|
|
<a @click="handleAudit(record)" v-if="record.payMode === 1 && record.paymentRecord"
|
|
|
|
|
v-has="'attendance:auditCredentials'">审核凭证</a>
|
|
|
|
|
v-has:[authorCode.auditRecord]="'attendance:auditCredentials'">审核凭证</a>
|
|
|
|
|
<!-- 只有工作组会议与分标委会议才有审核报名信息-->
|
|
|
|
|
<a @click="handleAuditSignUp(record)"
|
|
|
|
|
v-show="(currentMeetingInfo.meetingType === '1' || currentMeetingInfo.meetingType === '5') && record.registerCheckResult !== 1 "
|
|
|
|
|
v-has="'attendance:auditSignUp'">审核报名信息</a>
|
|
|
|
|
<a @click="handleEdit(record)" v-has="'attendance:edit'">编辑</a>
|
|
|
|
|
v-has:[authorCode.auditSignUpInfo]="'attendance:auditSignUp'">审核报名信息</a>
|
|
|
|
|
<a @click="handleEdit(record)" v-has:[authorCode.edit]="'attendance:edit'">编辑</a>
|
|
|
|
|
<!--删除参会人需要判断改参会人是否与合同关联-->
|
|
|
|
|
<a @click="handleDelete(record.id)" v-has="'attendance:delete'">删除</a>
|
|
|
|
|
<a @click="handleDelete(record.id)" v-has:[authorCode.delete]="'attendance:delete'">删除</a>
|
|
|
|
|
</span>
|
|
|
|
|
</a-table>
|
|
|
|
|
</div>
|
|
|
|
@@ -400,14 +400,112 @@ export default {
|
|
|
|
|
scopedSlots: {customRender: 'action'}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
// 权限编码
|
|
|
|
|
authorCode:{
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// 其他会议的参会情况的权限编码
|
|
|
|
|
otherMeetingCode:{
|
|
|
|
|
search:'otherMeetingSituation:search',
|
|
|
|
|
add:'otherMeetingSituation:add',
|
|
|
|
|
export:'otherMeetingSituation:export',
|
|
|
|
|
batchDel:'otherMeetingSituation:batchDel',
|
|
|
|
|
edit:'otherMeetingSituation:edit',
|
|
|
|
|
delete:'otherMeetingSituation:delete',
|
|
|
|
|
auditRecord:'otherMeetingSituation:auditCredentials',
|
|
|
|
|
auditSignUpInfo:'otherMeetingSituation:auditSignUp'
|
|
|
|
|
},
|
|
|
|
|
// 分标委会议的参会情况权限编码
|
|
|
|
|
committeeMeetingCode:{
|
|
|
|
|
search:'committeeMeetingSituation:search',
|
|
|
|
|
add:'committeeMeetingSituation:add',
|
|
|
|
|
export:'committeeMeetingSituation:export',
|
|
|
|
|
batchDel:'committeeMeetingSituation:batchDel',
|
|
|
|
|
edit:'committeeMeetingSituation:edit',
|
|
|
|
|
delete:'committeeMeetingSituation:delete',
|
|
|
|
|
auditRecord:'committeeMeetingSituation:auditCredentials',
|
|
|
|
|
auditSignUpInfo:'committeeMeetingSituation:auditSignUp'
|
|
|
|
|
},
|
|
|
|
|
// 工作组会议的参会情况的权限编码
|
|
|
|
|
workGroupMeetingCode:{
|
|
|
|
|
search:'workGroupMeetingSituationSituation:search',
|
|
|
|
|
add:'workGroupMeetingSituationSituation:add',
|
|
|
|
|
export:'workGroupMeetingSituationSituation:export',
|
|
|
|
|
batchDel:'workGroupMeetingSituationSituation:batchDel',
|
|
|
|
|
edit:'workGroupMeetingSituationSituation:edit',
|
|
|
|
|
delete:'workGroupMeetingSituationSituation:delete',
|
|
|
|
|
auditRecord:'workGroupMeetingSituationSituation:auditCredentials',
|
|
|
|
|
auditSignUpInfo:'workGroupMeetingSituationSituation:auditSignUp'
|
|
|
|
|
},
|
|
|
|
|
// 国际研讨会的参会情况的权限编码
|
|
|
|
|
internalMeetingCode:{
|
|
|
|
|
search:'internalMeetingSituation:search',
|
|
|
|
|
add:'internalMeetingSituation:add',
|
|
|
|
|
export:'internalMeetingSituation:export',
|
|
|
|
|
batchDel:'internalMeetingSituation:batchDel',
|
|
|
|
|
edit:'internalMeetingSituation:edit',
|
|
|
|
|
delete:'internalMeetingSituation:delete',
|
|
|
|
|
auditRecord:'internalMeetingSituation:auditCredentials',
|
|
|
|
|
auditSignUpInfo:'internalMeetingSituation:auditSignUp',
|
|
|
|
|
},
|
|
|
|
|
// 标协会议的参会情况的权限编码
|
|
|
|
|
standardsMeetingCode:{
|
|
|
|
|
search:'standardsMeetingSituation:search',
|
|
|
|
|
add:'standardsMeetingSituation:add',
|
|
|
|
|
export:'standardsMeetingSituation:export',
|
|
|
|
|
batchDel:'standardsMeetingSituation:batchDel',
|
|
|
|
|
edit:'standardsMeetingSituation:edit',
|
|
|
|
|
delete:'standardsMeetingSituation:delete',
|
|
|
|
|
auditRecord:'standardsMeetingSituation:auditCredentials',
|
|
|
|
|
auditSignUpInfo:'standardsMeetingSituation:auditSignUp'
|
|
|
|
|
},
|
|
|
|
|
disableMixinCreated: true,
|
|
|
|
|
addPerson:'addPerson12',
|
|
|
|
|
url: {
|
|
|
|
|
list: '/meeting/payMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/payMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/payMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/payMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/payMeetingSituation/importExcel'
|
|
|
|
|
// url: {
|
|
|
|
|
// list: '/meeting/payMeetingSituation/page',
|
|
|
|
|
// delete: '/meeting/payMeetingSituation/delete',
|
|
|
|
|
// deleteBatch: '/meeting/payMeetingSituation/deleteBatch',
|
|
|
|
|
// exportXlsUrl: '/meeting/payMeetingSituation/exportXls',
|
|
|
|
|
// importExcelUrl: '/meeting/payMeetingSituation/importExcel'
|
|
|
|
|
// },
|
|
|
|
|
// 其他会议的url
|
|
|
|
|
otherMeetingUrl:{
|
|
|
|
|
list: '/meeting/ohterMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/ohterMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/ohterMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/ohterMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/ohterMeetingSituation/importExcel'
|
|
|
|
|
},
|
|
|
|
|
// 分标委会议的url
|
|
|
|
|
committeeMeetingUrl:{
|
|
|
|
|
list: '/meeting/committeeMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/committeeMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/committeeMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/committeeMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/committeeMeetingSituation/importExcel'
|
|
|
|
|
},
|
|
|
|
|
// 国际研讨会的url
|
|
|
|
|
internalMeetingUrl:{
|
|
|
|
|
list: '/meeting/internalMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/internalMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/internalMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/internalMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/internalMeetingSituation/importExcel'
|
|
|
|
|
},
|
|
|
|
|
// 标协会议的url
|
|
|
|
|
standardsMeetingUrl:{
|
|
|
|
|
list: '/meeting/standardsMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/standardsMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/standardsMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/standardsMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/standardsMeetingSituation/importExcel'
|
|
|
|
|
},
|
|
|
|
|
// 工作组会议的url
|
|
|
|
|
workGroupMeetingUrl:{
|
|
|
|
|
list: '/meeting/workGroupMeetingSituation/page',
|
|
|
|
|
delete: '/meeting/workGroupMeetingSituation/delete',
|
|
|
|
|
deleteBatch: '/meeting/workGroupMeetingSituation/deleteBatch',
|
|
|
|
|
exportXlsUrl: '/meeting/workGroupMeetingSituation/exportXls',
|
|
|
|
|
importExcelUrl: '/meeting/workGroupMeetingSituation/importExcel'
|
|
|
|
|
},
|
|
|
|
|
// 当前的会议信息详情
|
|
|
|
|
currentMeetingInfo: {},
|
|
|
|
@@ -423,6 +521,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
// 为不同会议的参会情况去设置不同的权限编码
|
|
|
|
|
this.setCodeByMeetingType(this.$route.query.meetingType)
|
|
|
|
|
// 获取会议详情
|
|
|
|
|
const param = {
|
|
|
|
|
id: this.$route.query.id
|
|
|
|
@@ -488,6 +588,16 @@ export default {
|
|
|
|
|
return ''
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// eslint-disable-next-line
|
|
|
|
|
url(){
|
|
|
|
|
switch (this.$route.query.meetingType){
|
|
|
|
|
case '1': return this.workGroupMeetingUrl
|
|
|
|
|
case '2': return this.standardsMeetingUrl
|
|
|
|
|
case '3': return this.internalMeetingUrl
|
|
|
|
|
case '4': return this.otherMeetingUrl
|
|
|
|
|
case '5': return this.committeeMeetingUrl
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 报名链接
|
|
|
|
|
signUpHerfUrl() {
|
|
|
|
|
return `${window._CONFIG['singUpQRCodeURL']}?id=${this.$route.query.id}`
|
|
|
|
@@ -616,6 +726,8 @@ export default {
|
|
|
|
|
return '国际研讨会'
|
|
|
|
|
case '4':
|
|
|
|
|
return '其他会议'
|
|
|
|
|
case '5':
|
|
|
|
|
return '分标委会议'
|
|
|
|
|
default:
|
|
|
|
|
return '其他会议'
|
|
|
|
|
}
|
|
|
|
@@ -669,6 +781,19 @@ export default {
|
|
|
|
|
newInput.remove()
|
|
|
|
|
this.$message.success('复制成功')
|
|
|
|
|
},
|
|
|
|
|
/*
|
|
|
|
|
* 通过会议类型设置权限编码
|
|
|
|
|
* type 会议类型
|
|
|
|
|
* */
|
|
|
|
|
setCodeByMeetingType(type){
|
|
|
|
|
switch (type){
|
|
|
|
|
case '1':this.authorCode = Object.assign({},this.workGroupMeetingCode);break
|
|
|
|
|
case '2':this.authorCode = Object.assign({},this.standardsMeetingCode);break
|
|
|
|
|
case '3':this.authorCode = Object.assign({},this.internalMeetingCode);break
|
|
|
|
|
case '4':this.authorCode = Object.assign({},this.otherMeetingCode);break
|
|
|
|
|
case '5':this.authorCode = Object.assign({},this.committeeMeetingCode);break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|