|
@@ -7,6 +7,9 @@
|
|
|
<div class="content-config" @click="setKeyEvent">
|
|
|
<img src="@/assets/images/recommend-hd.png" alt="" />
|
|
|
</div>
|
|
|
+ <FollowOfficialAccountDialog
|
|
|
+ :visible.sync="toFollowOfficialAccount"
|
|
|
+ ></FollowOfficialAccountDialog>
|
|
|
<div class="recommend-pushList">
|
|
|
<div
|
|
|
class="info-list"
|
|
@@ -38,6 +41,7 @@
|
|
|
|
|
|
<script>
|
|
|
import ArticleItem from '@/components/article-item/ArticleItem.vue'
|
|
|
+import FollowOfficialAccountDialog from '@/components/dialog/FollowOfficialAccountDialog.vue'
|
|
|
import {
|
|
|
getViewStatus,
|
|
|
setSubscribeInfoRead,
|
|
@@ -50,7 +54,8 @@ export default {
|
|
|
name: 'recommendList',
|
|
|
mixins: [mixinVisited],
|
|
|
components: {
|
|
|
- ArticleItem
|
|
|
+ ArticleItem,
|
|
|
+ FollowOfficialAccountDialog
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -64,7 +69,8 @@ export default {
|
|
|
collect: false
|
|
|
},
|
|
|
statusList: [],
|
|
|
- vt: ''
|
|
|
+ vt: '',
|
|
|
+ toFollowOfficialAccount: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -97,7 +103,17 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
setKeyEvent() {
|
|
|
- openSelfLink(this.$router.resolve('/set_subscribe/config?vt=' + this.vt))
|
|
|
+ // 前往订阅管理
|
|
|
+ if (this.vt === 'f' || this.vt === 'v') {
|
|
|
+ // 弹窗提示关注公众号
|
|
|
+ this.toFollowOfficialAccount = true
|
|
|
+ } else if (this.vt === 'm') {
|
|
|
+ openSelfLink(this.$router.resolve('/set_subscribe/config'))
|
|
|
+ } else if (this.vt === 's') {
|
|
|
+ // 商机管理跳转老页面(框架内打开)
|
|
|
+ const url = '/entpc/newBus/set_subscribe'
|
|
|
+ window.open(url)
|
|
|
+ }
|
|
|
},
|
|
|
// 查看分发状态
|
|
|
async setShow(id) {
|