消息修改

This commit is contained in:
fengachen
2021-12-17 17:47:37 +08:00
parent f40bb0a4c0
commit a50effd6b3
3 changed files with 125 additions and 22 deletions
+51 -1
View File
@@ -240,7 +240,57 @@ export default {
let url = `${ record.openPage }=${ param.id }`
// 返回的是报名页面的链接 打开网址
window.open(url, '_blank')
} else {
}else if(record.openType === 'project'){
const param = JSON.parse(record.busId)
// 1 普通项目 2 工作组项目 4 资料网员 7分标委 8理事会
switch (param.type){
case '1': this.openPath = param.path
// 将参数传入
// delete param.path
this.formData = param
this.$refs.showDynamNotice.detail()
break
case '4':
this.openPath = param.path
// 将参数传入
// delete param.path
this.formData = param
this.$refs.showDynamNotice.detail()
break
case '2':
// 如果是url 跳转页面
this.$router.push({
path: param.path,
query: {
projectId:param.projectId,
workingGroupId:param.workingGroupId
}
})
break
case '7':
// 如果是url 跳转页面
this.$router.push({
path: param.path,
query: {
id:param.id,
abbreviation:param.abbreviation
}
})
break
case '8':
// 如果是url 跳转页面
this.$router.push({
path: param.path,
query: {
id:param.id
}
})
break
}
}else {
this.$refs.ShowAnnouncement.detail(record)
}
},