bugfix
This commit is contained in:
@ -67,7 +67,7 @@
|
||||
id: item.id
|
||||
}
|
||||
}"
|
||||
>{{ item.title }}</router-link>
|
||||
>{{ removeBr(item.title) }}</router-link>
|
||||
<span class="info">
|
||||
<span v-if="type != 'information'">{{ item.listDate }}</span>
|
||||
<span v-else>{{ item.createTime }}</span>
|
||||
@ -176,6 +176,9 @@ export default {
|
||||
...mapGetters(['token'])
|
||||
},
|
||||
methods: {
|
||||
removeBr(str) {
|
||||
return str && str.replaceAll('<br>', '')
|
||||
},
|
||||
// 获取企业画像数据列表
|
||||
getPortraitList() {
|
||||
if (this.type == 'policy') {
|
||||
@ -240,8 +243,11 @@ export default {
|
||||
} else if (key == 'information') {
|
||||
this.getPortraitList();
|
||||
} else if (key == 'policyNotice') {
|
||||
// this.queryParams.labelId = this.policyNoticeOptions[0].value;
|
||||
this.queryParams.labelId = this.$route.query.labelId
|
||||
if (this.$route.query.labelId) {
|
||||
this.queryParams.labelId = this.$route.query.labelId
|
||||
} else {
|
||||
this.queryParams.labelId = this.policyNoticeOptions[0].value;
|
||||
}
|
||||
this.getPortraitList();
|
||||
} else {
|
||||
this.msgError('非法进入');
|
||||
|
Reference in New Issue
Block a user