|
@@ -41,7 +41,11 @@
|
|
|
<span class="poten_label"
|
|
|
><span class="point"></span>预测线索</span
|
|
|
>
|
|
|
- <span class="poten_name">{{ info.title && info.title.indexOf('】' ? info.title.substring(info.title.indexOf('】') + 1) : info.title }}</span>
|
|
|
+ <span class="poten_name">{{
|
|
|
+ info.title && info.title.indexOf('】')
|
|
|
+ ? info.title.substring(info.title.indexOf('】') + 1)
|
|
|
+ : info.title
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
<div class="poten_unit mt8">
|
|
|
<span class="poten_label"
|
|
@@ -54,7 +58,9 @@
|
|
|
<div class="poten_unit mt8">
|
|
|
<span class="poten_label">
|
|
|
<span class="point"></span>预测采购时间:
|
|
|
- <span style="color: #1d1d1d">{{ dateFormatter(yuceendtime, 'yyyy-MM-dd') }}</span>
|
|
|
+ <span style="color: #1d1d1d">{{
|
|
|
+ dateFormatter(yuceendtime, 'yyyy-MM-dd')
|
|
|
+ }}</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -113,14 +119,16 @@ export default {
|
|
|
...mapGetters('user', [
|
|
|
'bigmember' // 是否大会员
|
|
|
]),
|
|
|
- publishtime () {
|
|
|
+ publishtime() {
|
|
|
return this.info.publishtime ? this.info.publishtime * 1000 : Date.now()
|
|
|
},
|
|
|
- yuceendtime () {
|
|
|
+ yuceendtime() {
|
|
|
return this.info.yuceendtime ? this.info.yuceendtime * 1000 : Date.now()
|
|
|
},
|
|
|
- similarProject () {
|
|
|
- return this.info.results && this.info.results[0] ? this.info.results[0] : {}
|
|
|
+ similarProject() {
|
|
|
+ return this.info.results && this.info.results[0]
|
|
|
+ ? this.info.results[0]
|
|
|
+ : {}
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -134,8 +142,7 @@ export default {
|
|
|
dateFromNow,
|
|
|
dateFormatter,
|
|
|
setSdkInfo() {
|
|
|
- const name =
|
|
|
- '北京联合大学中央支持地方专项-科技创新服务能力建设-虚拟现实创新应用实验教学平台(中央资金)项目(第一~四包)中标公告'
|
|
|
+ const name = this.info.title
|
|
|
this.setPageTdkToView({
|
|
|
title: `${name}招标采购_中标信息 - 剑鱼标讯`,
|
|
|
keywords: `${name} ,${name} 招投标,${name} 招标采购,${name}中标信息,${name}通讯录,剑鱼标讯`,
|
|
@@ -145,7 +152,7 @@ export default {
|
|
|
async getDetailInfo() {
|
|
|
const id = this.$route.params?.id || ''
|
|
|
const { error_code: code, data = {} } = await getBusinessDetails({ id })
|
|
|
- if(code === 0 && data) {
|
|
|
+ if (code === 0 && data) {
|
|
|
this.info = data
|
|
|
}
|
|
|
},
|