Commit b8b13606 by 杨明

预设问题

1 parent 19fcb034
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
this.list = res this.list = res
}, },
jump(data) { jump(data) {
let {agentUrl,domainName} = data let {agentUrl,domainName,presuppositionProblem} = data
if(!agentUrl) { if(!agentUrl) {
return uni.showToast({ return uni.showToast({
title: '待开放', title: '待开放',
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
}) })
} }
uni.navigateTo({ uni.navigateTo({
url: `/pages/common/aiWebview?url=${agentUrl}&domain=${domainName}` url: `/pages/common/aiWebview?url=${agentUrl}&domain=${domainName}&presuppositionProblem=${presuppositionProblem}`
}) })
} }
} }
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
2:'比亚迪', 2:'比亚迪',
3:'其他' 3:'其他'
}[channelType] }[channelType]
this.url = `${options.url}?no_header=1&business_type=${ bussinessType}&phone=${phone}&brand=${brand}&one_id=${uuid}&platformType=1&domain=${options.domain}` this.url = `${options.url}?no_header=1&business_type=${ bussinessType}&phone=${phone}&brand=${brand}&one_id=${uuid}&platformType=1&domain=${options.domain}&presuppositionProblem=${options.presuppositionProblem}`
console.log(this.url,999) console.log(this.url,999)
// this.url='http://assistant.test.glsx.com.cn/chat/jHpvpOmuMWPxYxKo?business_type=12&brand=%E9%97%AE%E7%95%8C&one_id=266&platformType=2&no_header=1&domain=http://aiassistant.test.glsx.com.cn' // this.url='http://assistant.test.glsx.com.cn/chat/jHpvpOmuMWPxYxKo?business_type=12&brand=%E9%97%AE%E7%95%8C&one_id=266&platformType=2&no_header=1&domain=http://aiassistant.test.glsx.com.cn'
setTimeout(() => { setTimeout(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!