[update 消息跳转对应页面] 待办、企标库、法规评估库增加跳转默认查询参数
This commit is contained in:
@@ -93,6 +93,7 @@ import Vue from 'vue'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import JTable from '@comp/jero/JTable'
|
||||
import { ReadFlag } from '@/enums/commonEnums'
|
||||
import { getMsgDetail } from '@api/personCenter'
|
||||
|
||||
export default {
|
||||
name: 'UserAnnouncementList',
|
||||
@@ -196,12 +197,18 @@ export default {
|
||||
},
|
||||
// 跳转详情
|
||||
handleGoDetail (record) {
|
||||
this.$router.push({
|
||||
path: '/isps/userAnnouncementDetail',
|
||||
query: {
|
||||
id: record.id
|
||||
}
|
||||
})
|
||||
if (record.openType === 'url') {
|
||||
this.$router.push({ path: record.openPage })
|
||||
// 如果是跳转其他页面请求详情(作用是为了标记已读)
|
||||
getMsgDetail({ id: record.id })
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: '/isps/userAnnouncementDetail',
|
||||
query: {
|
||||
id: record.id
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
expandIcon (props) {
|
||||
if (props.expanded) {
|
||||
|
||||
Reference in New Issue
Block a user