|
@@ -858,7 +858,7 @@ export default {
|
|
|
for (const key in ele.maps) {
|
|
|
let obj = {}
|
|
|
if (key.includes('市场分析定制报告') || key.includes('企业分析') || key.includes('业主分析')) {
|
|
|
- obj.name = key + ',报告下载:'
|
|
|
+ obj.name = key + ',报告下载:'
|
|
|
} else {
|
|
|
obj.name = key
|
|
|
}
|
|
@@ -1022,7 +1022,7 @@ export default {
|
|
|
} else if (e.name.includes('市场分析定制报告') || e.name.includes('企业分析') || e.name.includes('业主分析')) {
|
|
|
e.list.forEach(item => {
|
|
|
if (e.id == item.id) {
|
|
|
- names.push(e.name + `(报告下载:${item.s_count_year}${item.dw})`)
|
|
|
+ names.push(e.name.replace(',报告下载:','') + `(报告下载:${item.s_count_year}${item.dw})`)
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
@@ -1032,6 +1032,7 @@ export default {
|
|
|
|
|
|
})
|
|
|
})
|
|
|
+ let names_str = names.join(',')
|
|
|
// 基础服务: 服务id需要传1 3 企业情报监控包含:企业情报监控 20 23 企业情报监控传20的时候 企业中标动态传21 企业中标动态 21 13 企业情报监控传23的时候 企业中标动态传13
|
|
|
if (ids.includes(1) && !ids.includes(3)) {
|
|
|
ids.push(3)
|
|
@@ -1042,13 +1043,13 @@ export default {
|
|
|
if (ids.includes(23) && !ids.includes(13)) {
|
|
|
ids.push(13)
|
|
|
}
|
|
|
- if(names.includes('市场分析定制报告') && !ids.includes(26)){ // 选中下载包的ID时则存在没有基础产品的ID,这里补上 基础产品和下载包是绑定的,但是有两个ID
|
|
|
+ if(names_str.includes('市场分析定制报告') && !ids.includes(26)){ // 选中下载包的ID时则存在没有基础产品的ID,这里补上 基础产品和下载包是绑定的,但是有两个ID
|
|
|
ids.push(26)
|
|
|
}
|
|
|
- if(names.includes('企业分析') && !ids.includes(4)){
|
|
|
+ if(names_str.includes('企业分析') && !ids.includes(4)){
|
|
|
ids.push(4)
|
|
|
}
|
|
|
- if(names.includes('业主分析') && !ids.includes(5)){
|
|
|
+ if(names_str.includes('业主分析') && !ids.includes(5)){
|
|
|
ids.push(5)
|
|
|
}
|
|
|
// console.log(ids,names)
|