[fix 83057] 消息增加新标签页打开page
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
>
|
||||
<template slot="footer">
|
||||
<a-button key="back" @click="handleCancel">关闭</a-button>
|
||||
<a-button v-if="record.openType==='url'" type="primary" @click="toHandle">去处理</a-button>
|
||||
<!-- url是当前页跳转,page新标签页跳转 -->
|
||||
<a-button v-if="['url', 'page'].indexOf(record.openType) !== -1" type="primary" @click="toHandle">去处理</a-button>
|
||||
</template>
|
||||
<a-card class="daily-article" :loading="loading">
|
||||
<a-card-meta
|
||||
@@ -81,6 +82,9 @@ export default {
|
||||
this.visible = false
|
||||
// 链接跳转
|
||||
this.$router.push({ path: this.record.openPage })
|
||||
} else if (this.record.openType === 'page') {
|
||||
this.visible = false
|
||||
this.$openPageNewSheet({ path: this.record.openPage })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,6 +201,10 @@ export default {
|
||||
this.$router.push({ path: record.openPage })
|
||||
// 如果是跳转其他页面请求详情(作用是为了标记已读)
|
||||
getMsgDetail({ id: record.id })
|
||||
} else if (record.openType === 'page') {
|
||||
this.$openPageNewSheet({ path: record.openPage })
|
||||
// 如果是跳转其他页面请求详情(作用是为了标记已读)
|
||||
getMsgDetail({ id: record.id })
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: '/isps/userAnnouncementDetail',
|
||||
|
||||
Reference in New Issue
Block a user