|
@@ -176,7 +176,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { Pagination, Progress } from 'element-ui'
|
|
|
+import { Pagination, Progress, Message } from 'element-ui'
|
|
|
import { mapState } from 'vuex'
|
|
|
// import { getPushList } from '@/api/modules/'
|
|
|
import Empty from '@/components/common/Empty.vue'
|
|
@@ -188,6 +188,7 @@ export default {
|
|
|
components: {
|
|
|
[Pagination.name]: Pagination,
|
|
|
[Progress.name]: Progress,
|
|
|
+ [Message.name]: Message,
|
|
|
Empty
|
|
|
},
|
|
|
data () {
|
|
@@ -419,14 +420,18 @@ export default {
|
|
|
this.$router.push(`/ent_portrait/${id}`)
|
|
|
},
|
|
|
goEntPor (id) {
|
|
|
- const routeUrl = this.$router.resolve({
|
|
|
- path: `/ent_portrait/${id}`
|
|
|
- })
|
|
|
- return window.open(routeUrl.href, '_blank')
|
|
|
+ if (id && id !== '' && id !== undefined && id !== 'undefined') {
|
|
|
+ const routeUrl = this.$router.resolve({
|
|
|
+ path: `/ent_portrait/${id}`
|
|
|
+ })
|
|
|
+ return window.open(routeUrl.href, '_blank')
|
|
|
+ } else {
|
|
|
+ this.$message('暂无数据')
|
|
|
+ }
|
|
|
},
|
|
|
goViewDetail (id) {
|
|
|
this.$router.push({
|
|
|
- path: '/project/info?sid=' + id
|
|
|
+ path: '/pro_follow_detail?sid=' + id
|
|
|
})
|
|
|
},
|
|
|
goPotenSimiLar (id, results) {
|
|
@@ -447,7 +452,7 @@ export default {
|
|
|
},
|
|
|
// 设置关键词
|
|
|
setKey () {
|
|
|
- this.$router.push('/subscribe/config')
|
|
|
+ this.$router.push('/set_subscribe/config')
|
|
|
},
|
|
|
// 数组对象去重
|
|
|
unique (arr) {
|