conversationId
This commit is contained in:
@@ -63,7 +63,8 @@ export default {
|
||||
],
|
||||
current: 1,
|
||||
pages: 2,
|
||||
aiConfigId: ''
|
||||
aiConfigId: '',
|
||||
conversationId: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -71,6 +72,7 @@ export default {
|
||||
},
|
||||
onLoad(e) {
|
||||
this.aiConfigId = e.aiConfigId
|
||||
this.conversationId = e.conversationId
|
||||
this.getHistoryList()
|
||||
},
|
||||
onShow() {
|
||||
@@ -89,7 +91,7 @@ export default {
|
||||
return this.$u.toast("请先进行登录")
|
||||
}
|
||||
this.$loading()
|
||||
this.$http.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}&aiConfigId=${this.aiConfigId}`).then(res => {
|
||||
this.$http.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}&aiConfigId=${this.aiConfigId}&conversationId=${this.conversationId}`).then(res => {
|
||||
if(res.code == 0 && res.data.records.length) {
|
||||
res.data.records.map((item) => {
|
||||
if(item.sdkFileUrl) {
|
||||
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
this.getSearchList()
|
||||
},
|
||||
toDetail(e) {
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}`})
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}&conversationId=${e.conversationId}`})
|
||||
// this.$emit('toDetail', {aiConfigId: e.aiConfigId})
|
||||
},
|
||||
del(e) {
|
||||
|
||||
Reference in New Issue
Block a user