|
@@ -110,6 +110,10 @@ export default {
|
|
|
type: String,
|
|
|
required: true,
|
|
|
default: ''
|
|
|
+ },
|
|
|
+ contentInfo: {
|
|
|
+ type: Object,
|
|
|
+ default: () => {}
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -117,6 +121,7 @@ export default {
|
|
|
if (this.list[0].active === 0) {
|
|
|
return this.list.slice(0, 1)
|
|
|
} else if (this.property === 'BIProperty') {
|
|
|
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
|
this.list = this.list.filter((v) => {
|
|
|
return v.title !== '创建销售线索'
|
|
|
})
|
|
@@ -221,14 +226,16 @@ export default {
|
|
|
this.IframeSrc = `${
|
|
|
location.origin
|
|
|
}/succbi/crm_system/app/crm.app/%E9%80%9A%E7%94%A8%E5%88%9B%E5%BB%BA/create_intelligence.spg?t=${new Date().getTime()}`
|
|
|
- const { bidamount, budget, title, area, buyer } =
|
|
|
- window.goTemplateData.params.obj
|
|
|
+
|
|
|
+ const ContentParams = this.contentInfo._ob
|
|
|
+
|
|
|
+ const { bidAmount, budget, title, area, buyer } = ContentParams
|
|
|
const propertyData = {
|
|
|
_id: this.id,
|
|
|
title: title,
|
|
|
buyer: buyer,
|
|
|
area: area,
|
|
|
- bidamount: bidamount,
|
|
|
+ bidamount: bidAmount,
|
|
|
budget: budget
|
|
|
}
|
|
|
// 将propertyData存入本地,用于BI创建情报回显数据
|
|
@@ -396,7 +403,7 @@ export default {
|
|
|
url = '/jyNewApi/property/information/exist'
|
|
|
info = this.employInfo[0]
|
|
|
params = {
|
|
|
- id: id
|
|
|
+ id: this.id
|
|
|
}
|
|
|
this.ajaxComponent(url, params).then((res) => {
|
|
|
if (!item.active) {
|