|
@@ -23,8 +23,7 @@
|
|
|
class="j-tag-item border gray round"
|
|
|
:class="[tag.className]"
|
|
|
:href="tag.link"
|
|
|
- >{{ tag.label }}</a
|
|
|
- >
|
|
|
+ >{{ tag.label }}</a>
|
|
|
</div>
|
|
|
<div v-if="showCollection" class="tag-list">
|
|
|
<span
|
|
@@ -32,8 +31,7 @@
|
|
|
:key="tag.id"
|
|
|
class="j-tag-item blue round text-underline"
|
|
|
@click="onCollectionTagClick(tag)"
|
|
|
- >{{ tag.label }}</span
|
|
|
- >
|
|
|
+ >{{ tag.label }}</span>
|
|
|
</div>
|
|
|
<div class="sub-info-line">
|
|
|
<span class="info-publish-time">{{ content.time }}</span>
|
|
@@ -92,9 +90,9 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
- content: (state) => state.article.mainModel.content,
|
|
|
- summary: (state) => state.article.mainModel.summary,
|
|
|
- otherModel: (state) => state.article.otherModel,
|
|
|
+ content: state => state.article.mainModel.content,
|
|
|
+ summary: state => state.article.mainModel.summary,
|
|
|
+ otherModel: state => state.article.otherModel,
|
|
|
IsSunPublishContent() {
|
|
|
return this.content.IsSunPublishContent || false
|
|
|
},
|
|
@@ -116,7 +114,8 @@ export default {
|
|
|
headerType() {
|
|
|
if (this.IsSunPublishContent) {
|
|
|
return this.content.publicType
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ else {
|
|
|
return '业主委托项目'
|
|
|
}
|
|
|
}
|
|
@@ -128,13 +127,15 @@ export default {
|
|
|
}
|
|
|
const { inBiddingPersonList: bList } = this.otherModel
|
|
|
if (Array.isArray(bList) && bList.length > 0) {
|
|
|
- const list = bList.map((b) => b.trim()).filter((b) => !!b)
|
|
|
+ const list = bList.map(b => b.trim()).filter(b => !!b)
|
|
|
if (list.length > 1) {
|
|
|
return `${list.slice(0, 1).join(',')} 等`
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ else {
|
|
|
return list.join(',')
|
|
|
}
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ else {
|
|
|
return ''
|
|
|
}
|
|
|
},
|
|
@@ -168,14 +169,17 @@ export default {
|
|
|
},
|
|
|
async checkHasRemMaiPower() {
|
|
|
this.renmai.loading = true
|
|
|
+ console.log('checkHasRemMaiPower')
|
|
|
try {
|
|
|
const res = await getUserResource()
|
|
|
if (res && Array.isArray(res.data)) {
|
|
|
return res.data.includes('bi_rmgl')
|
|
|
}
|
|
|
- } catch (error) {
|
|
|
+ }
|
|
|
+ catch (error) {
|
|
|
console.log(error)
|
|
|
- } finally {
|
|
|
+ }
|
|
|
+ finally {
|
|
|
this.renmai.loading = false
|
|
|
}
|
|
|
},
|
|
@@ -189,7 +193,8 @@ export default {
|
|
|
showCancelButton: false,
|
|
|
confirmButtonText: '我知道了'
|
|
|
})
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ else {
|
|
|
// 弹窗
|
|
|
// this.$toast('暂无权限')
|
|
|
// 跳转大会员落地页
|