|
@@ -21,6 +21,7 @@ class PersonTelSummaryItem extends SummaryItem {
|
|
|
if (tel) {
|
|
|
this.showMore = true
|
|
|
this.tel = tel
|
|
|
+ this.type = 'contact'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -35,12 +36,14 @@ class Buyer extends Unit {
|
|
|
constructor(name, id, { link }) {
|
|
|
super(name, id)
|
|
|
this.link = link
|
|
|
+ this.type ='buyer'
|
|
|
}
|
|
|
}
|
|
|
class Winner extends Unit {
|
|
|
constructor(name, id, { seoId, winnerPerson, winnerTel, isCandidate, personTel }) {
|
|
|
super(name, id)
|
|
|
|
|
|
+ this.type ='winner'
|
|
|
this.seoId = seoId || ''
|
|
|
this.winnerPerson = winnerPerson || ''
|
|
|
this.winnerTel = winnerTel || ''
|
|
@@ -116,7 +119,7 @@ class SummaryModel extends BaseModel {
|
|
|
|
|
|
// 采购人/联系电话
|
|
|
const buyerContactInfoValue = this.formatTel(summary?.buyerPerson, summary?.buyerTel)
|
|
|
- const buyerContactInfo = new PersonTelSummaryItem('buyerContactInfo', '采购人 / 联系电话', buyerContactInfoValue, summary?.buyerTel)
|
|
|
+ const buyerContactInfo = new PersonTelSummaryItem('buyerContactInfo', '采购联系人/电话', buyerContactInfoValue, summary?.buyerTel)
|
|
|
list.push(buyerContactInfo)
|
|
|
|
|
|
// 招标代理机构
|
|
@@ -126,7 +129,7 @@ class SummaryModel extends BaseModel {
|
|
|
|
|
|
// 代理联系人
|
|
|
const agencyContactInfoValue = this.formatTel(summary?.agencyPerson, summary?.agencyTel)
|
|
|
- const agencyContactInfo = new PersonTelSummaryItem('agencyContactInfo', '代理联系人 / 联系电话', agencyContactInfoValue, summary?.agencyTel)
|
|
|
+ const agencyContactInfo = new PersonTelSummaryItem('agencyContactInfo', '代理联系人/电话', agencyContactInfoValue, summary?.agencyTel)
|
|
|
list.push(agencyContactInfo)
|
|
|
|
|
|
// 截止日期
|
|
@@ -147,9 +150,9 @@ class SummaryModel extends BaseModel {
|
|
|
// 是否可跳转
|
|
|
summaryWinner.addKey('link', !!w.winnerId)
|
|
|
summaryWinner.addKey('id', w.winnerId)
|
|
|
-
|
|
|
+
|
|
|
const wContactInfoValue = this.formatTel(w?.winnerPerson, summary?.winnerTel)
|
|
|
- const winnerContactInfo = new PersonTelSummaryItem(`winnerContactInfo-${index}`, '代理联系人 / 联系电话', wContactInfoValue, w?.winnerTel)
|
|
|
+ const winnerContactInfo = new PersonTelSummaryItem(`winnerContactInfo-${index}`, '中标联系人/电话', wContactInfoValue, w?.winnerTel)
|
|
|
|
|
|
list.push(summaryWinner)
|
|
|
list.push(winnerContactInfo)
|