|
|
@@ -161,6 +161,7 @@ export default { |
|
|
|
totalpage:0, |
|
|
|
keywordIds:'', |
|
|
|
type:0, |
|
|
|
customerId: '', // 点击那一项的customerId |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
@@ -191,10 +192,24 @@ export default { |
|
|
|
this.getinit(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//搜索 |
|
|
|
searchinfo(){ |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
toinfo(item){ |
|
|
|
uni.setStorageSync("entrance", 1); //写入缓存 |
|
|
|
uni.navigateTo({ |
|
|
|
url: `/pages/center/Piabodata/Customerportrait/Receivedetailabout?customerId=${item.id}` |
|
|
|
console.log(item) |
|
|
|
let parames = { |
|
|
|
marketingId: this.keywordIds, |
|
|
|
customerId: item.id, |
|
|
|
type: '1' |
|
|
|
} |
|
|
|
this.$u.post("/corpus/pinWordMatching", parames).then(res => { |
|
|
|
let items = JSON.parse(res[0].transferContent) |
|
|
|
uni.setStorageSync("entrance", 1); //写入缓存 |
|
|
|
uni.navigateTo({ |
|
|
|
url: `/pages/center/Piabodata/Customerportrait/Receivedetailabout?customerId=${item.id}&info=${JSON.stringify(items)}` |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
//搜索 |
|
|
|