|
@@ -599,7 +599,7 @@ export default {
|
|
|
list[3].ringRatio = profile.winnercount_ratio ? (profile.winnercount_ratio * 100).toFixed(2) : 0
|
|
|
// 采购单位数
|
|
|
list[4].count = profile.buyercount ? profile.buyercount : 0
|
|
|
- list[4].ringRatio = profile.winnercount_ratio ? (profile.winnercount_ratio * 100).toFixed(2) : 0
|
|
|
+ list[4].ringRatio = profile.buyercount_ratio ? (profile.buyercount_ratio * 100).toFixed(2) : 0
|
|
|
|
|
|
const totalCount = list.reduce((total, item) => item.count + total, 0)
|
|
|
|
|
@@ -961,7 +961,7 @@ export default {
|
|
|
winner_type: 'winner',
|
|
|
winner_index: i + 1,
|
|
|
winner_name: w.winner,
|
|
|
- winner_value: w.winner_amount ? `${formatPrice(w.winner_amount / 10000)}万元` : 0,
|
|
|
+ winner_value: w.winner_amount ? `${formatPrice(w.winner_amount / 10000)}万元` : '-',
|
|
|
// winner_percent: w.amount_scale ? `${formatPrice(w.amount_scale * 100)}%` : 0,
|
|
|
rowspan: i === 0 ? item.winner.length : 0
|
|
|
}
|
|
@@ -1044,7 +1044,7 @@ export default {
|
|
|
winner_type: 'winner', // 用于判断采购单位或者中标单位
|
|
|
winner_index: i + 1,
|
|
|
winner_name: w.winner,
|
|
|
- winner_value: w.winner_amount ? `${formatPrice(w.winner_amount / 10000)}万元` : 0,
|
|
|
+ winner_value: w.winner_amount ? `${formatPrice(w.winner_amount / 10000)}万元` : '-',
|
|
|
// winner_percent: w.amount_scale ? `${formatPrice(w.amount_scale * 100)}%` : 0,
|
|
|
rowspan: i === 0 ? item.winner.length : 0
|
|
|
}
|
|
@@ -1173,7 +1173,7 @@ export default {
|
|
|
winner_type: 'winner',
|
|
|
winner_index: i + 1,
|
|
|
winner_name: w.name,
|
|
|
- winner_value: w.value ? `${formatPrice(w.value / 10000)}万元` : 0,
|
|
|
+ winner_value: w.value ? `${formatPrice(w.value / 10000)}万元` : '-',
|
|
|
// winner_percent: w.prop ? `${formatPrice(w.prop * 100)}%` : 0,
|
|
|
rowspan: i === 0 ? item.amountTop.length : 0
|
|
|
}
|
|
@@ -1256,6 +1256,8 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'buyer',
|
|
|
+ name_id: item.name,
|
|
|
value: item.number + '个',
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
winner_id: w.id,
|
|
@@ -1272,6 +1274,8 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'buyer',
|
|
|
+ name_id: item.name,
|
|
|
value: item.number + '个',
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
rowspan: 1
|
|
@@ -1289,13 +1293,15 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'buyer',
|
|
|
+ name_id: item.name,
|
|
|
value: formatPrice(item.amount / 10000) + '万元',
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
winner_id: w.id,
|
|
|
winner_type: 'winner',
|
|
|
winner_index: i + 1,
|
|
|
winner_name: w.name,
|
|
|
- winner_value: w.amount ? `${formatPrice(w.amount / 10000)}万元` : 0,
|
|
|
+ winner_value: w.amount ? `${formatPrice(w.amount / 10000)}万元` : '-',
|
|
|
// winner_percent: w.accounted ? `${formatPrice(w.accounted * 100)}%` : 0,
|
|
|
rowspan: i === 0 ? item.winnertop3.length : 0
|
|
|
}
|
|
@@ -1305,6 +1311,8 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'buyer',
|
|
|
+ name_id: item.name,
|
|
|
value: formatPrice(item.amount / 10000) + '万元',
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
rowspan: 1
|
|
@@ -1379,6 +1387,8 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'winner',
|
|
|
+ name_id: item.id,
|
|
|
value: item.number + '个',
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
winner_id: w.name,
|
|
@@ -1396,6 +1406,8 @@ export default {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
value: item.number + '个',
|
|
|
+ name_type: 'winner',
|
|
|
+ name_id: item.id,
|
|
|
// percent: item.accounted ? `${formatPrice(item.accounted * 100)}%` : '',
|
|
|
rowspan: 1
|
|
|
}
|
|
@@ -1412,13 +1424,15 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'winner',
|
|
|
+ name_id: item.id,
|
|
|
value: formatPrice(item.amount / 10000) + '万元',
|
|
|
// percent: formatPrice(item.accounted * 100) + '%',
|
|
|
winner_id: w.name,
|
|
|
winner_type: 'buyer',
|
|
|
winner_index: i + 1,
|
|
|
winner_name: w.name,
|
|
|
- winner_value: w.amount ? `${formatPrice(w.amount / 10000)}万元` : 0,
|
|
|
+ winner_value: w.amount ? `${formatPrice(w.amount / 10000)}万元` : '-',
|
|
|
// winner_percent: w.accounted ? `${formatPrice(w.accounted * 100)}%` : 0,
|
|
|
rowspan: i === 0 ? item.buyertop3.length : 0
|
|
|
}
|
|
@@ -1428,6 +1442,8 @@ export default {
|
|
|
const row = {
|
|
|
index: index + 1,
|
|
|
name: item.name,
|
|
|
+ name_type: 'winner',
|
|
|
+ name_id: item.id,
|
|
|
value: formatPrice(item.amount / 10000) + '万元',
|
|
|
// percent: formatPrice(item.accounted * 100) + '%',
|
|
|
rowspan: 1
|