添加会议的权限修改
This commit is contained in:
@@ -5,7 +5,7 @@ const getWorkingGroupById = (params) => getAction('/project/payWorkingGroup/quer
|
|||||||
// 判断工作组成员是否设置来款通知
|
// 判断工作组成员是否设置来款通知
|
||||||
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
const getChargeNotice = (param) => getAction('/project/payWorkingGroupSubitem/getCharge', param)
|
||||||
// 工作组会议的发布提醒
|
// 工作组会议的发布提醒
|
||||||
const publishRemind = (param) => postAction('/meeting/payMeeting/publishReminder', param)
|
const publishRemind = (param) => postAction('/meeting/workGroupMeeting/publishReminder', param)
|
||||||
// 通过id获取收入合同信息
|
// 通过id获取收入合同信息
|
||||||
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
const getRevenueContractById = (param) => getAction('/contract/payIncomeContract/queryById', param)
|
||||||
// 收入合同审核
|
// 收入合同审核
|
||||||
|
|||||||
@@ -255,6 +255,8 @@ export default {
|
|||||||
this.contranctInfo =Object.assign({},record)
|
this.contranctInfo =Object.assign({},record)
|
||||||
console.log(record,'meetingPerson')
|
console.log(record,'meetingPerson')
|
||||||
this.filters.companyId = record.signedCompanyId
|
this.filters.companyId = record.signedCompanyId
|
||||||
|
// 列表查询加入打包年份
|
||||||
|
this.filters.packYear = record.packYear
|
||||||
//记录合同id
|
//记录合同id
|
||||||
this.contractId = this.contranctInfo.id
|
this.contractId = this.contranctInfo.id
|
||||||
// 记录打包状态
|
// 记录打包状态
|
||||||
|
|||||||
@@ -492,6 +492,8 @@ export default {
|
|||||||
this.title = '编辑会议'
|
this.title = '编辑会议'
|
||||||
// 修改会议类型 控制dom显示 编辑取接口查到的会议类型
|
// 修改会议类型 控制dom显示 编辑取接口查到的会议类型
|
||||||
this.meetingType = record.meetingType + ''
|
this.meetingType = record.meetingType + ''
|
||||||
|
// 编辑根据接口返回的会议类型获取不同的会议类型
|
||||||
|
this.url = this.createUrlByMeetingType(this.meetingType)
|
||||||
} else {
|
} else {
|
||||||
this.title = '新增会议'
|
this.title = '新增会议'
|
||||||
// 如果是标协会会议需要显示酒店联系人
|
// 如果是标协会会议需要显示酒店联系人
|
||||||
@@ -503,6 +505,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// 新增取路由参数
|
// 新增取路由参数
|
||||||
this.meetingType = this.$route.query.meetingType
|
this.meetingType = this.$route.query.meetingType
|
||||||
|
// 新增根据路由参数 会议类型更换不同的接口
|
||||||
|
this.url = this.createUrlByMeetingType(this.meetingType)
|
||||||
}
|
}
|
||||||
console.log(this.model)
|
console.log(this.model)
|
||||||
// 召开时间回显
|
// 召开时间回显
|
||||||
@@ -696,6 +700,38 @@ export default {
|
|||||||
this.newSignInTime = dateString
|
this.newSignInTime = dateString
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
|
* 根据会议类型返回不同的会议新增与编辑接口
|
||||||
|
* */
|
||||||
|
createUrlByMeetingType(meetingType){
|
||||||
|
switch (String(meetingType)){
|
||||||
|
// 工作组会议
|
||||||
|
case '1':return {
|
||||||
|
add:'/meeting/workGroupMeeting/add',
|
||||||
|
edit:'/meeting/workGroupMeeting/edit'
|
||||||
|
}
|
||||||
|
// 标协会议
|
||||||
|
case '2':return {
|
||||||
|
add:'/meeting/standardsMeeting/add',
|
||||||
|
edit:'/meeting/standardsMeeting/edit'
|
||||||
|
}
|
||||||
|
// 国际研讨会
|
||||||
|
case '3':return {
|
||||||
|
add:'/meeting/internalMeeting/add',
|
||||||
|
edit:'/meeting/internalMeeting/edit'
|
||||||
|
}
|
||||||
|
// 其他会议
|
||||||
|
case '4':return {
|
||||||
|
add:'/meeting/otherMeeting/add',
|
||||||
|
edit:'/meeting/otherMeeting/edit'
|
||||||
|
}
|
||||||
|
// 分标委会议
|
||||||
|
case '5':return {
|
||||||
|
add:'/meeting/committeeMeeting/add',
|
||||||
|
edit:'/meeting/committeeMeeting/edit'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/*
|
||||||
* 校验邀请码
|
* 校验邀请码
|
||||||
* */
|
* */
|
||||||
validateCode(rule, value, callback) {
|
validateCode(rule, value, callback) {
|
||||||
|
|||||||
@@ -428,14 +428,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 工作组会议的参会情况的权限编码
|
// 工作组会议的参会情况的权限编码
|
||||||
workGroupMeetingCode:{
|
workGroupMeetingCode:{
|
||||||
search:'workGroupMeetingSituationSituation:search',
|
search:'workGroupMeetingSituation:search',
|
||||||
add:'workGroupMeetingSituationSituation:add',
|
add:'workGroupMeetingSituation:add',
|
||||||
export:'workGroupMeetingSituationSituation:export',
|
export:'workGroupMeetingSituation:export',
|
||||||
batchDel:'workGroupMeetingSituationSituation:batchDel',
|
batchDel:'workGroupMeetingSituation:batchDel',
|
||||||
edit:'workGroupMeetingSituationSituation:edit',
|
edit:'workGroupMeetingSituation:edit',
|
||||||
delete:'workGroupMeetingSituationSituation:delete',
|
delete:'workGroupMeetingSituationS:delete',
|
||||||
auditRecord:'workGroupMeetingSituationSituation:auditCredentials',
|
auditRecord:'workGroupMeetingSituation:auditCredentials',
|
||||||
auditSignUpInfo:'workGroupMeetingSituationSituation:auditSignUp'
|
auditSignUpInfo:'workGroupMeetingSituation:auditSignUp'
|
||||||
},
|
},
|
||||||
// 国际研讨会的参会情况的权限编码
|
// 国际研讨会的参会情况的权限编码
|
||||||
internalMeetingCode:{
|
internalMeetingCode:{
|
||||||
|
|||||||
@@ -250,13 +250,13 @@ export default {
|
|||||||
},
|
},
|
||||||
// 标协会议的权限编码
|
// 标协会议的权限编码
|
||||||
standardsMeetingAuthorCode:{
|
standardsMeetingAuthorCode:{
|
||||||
add:' standardsMeeting:add',
|
add:'standardsMeeting:add',
|
||||||
search:' standardsMeeting:search',
|
search:'standardsMeeting:search',
|
||||||
export:' standardsMeeting:export',
|
export:'standardsMeeting:export',
|
||||||
batchDel:' standardsMeeting:batchDel',
|
batchDel:'standardsMeeting:batchDel',
|
||||||
upload:' standardsMeeting:upload',
|
upload:'standardsMeeting:upload',
|
||||||
edit:' standardsMeeting:edit',
|
edit:'standardsMeeting:edit',
|
||||||
delete:' standardsMeeting:delete'
|
delete:'standardsMeeting:delete'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -276,7 +276,8 @@ export default {
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
path: '/incomePayments/meetManage/AddOrDetailMeet',
|
||||||
query: {
|
query: {
|
||||||
workingGroupProjectId: currentId
|
workingGroupProjectId: currentId,
|
||||||
|
meetingType:'1'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user