conversationId
This commit is contained in:
@@ -109,7 +109,7 @@ export default {
|
||||
this.getSearchList()
|
||||
},
|
||||
toDetail(e) {
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}`})
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}&conversationId=${e.conversationId}`})
|
||||
},
|
||||
del(e) {
|
||||
this.$dialog.confirm({content: "确定删除该数据?"}).then(() => {
|
||||
|
||||
@@ -55,6 +55,7 @@ export default {
|
||||
current: 1,
|
||||
pages: 2,
|
||||
aiConfigId: '',
|
||||
conversationId: '',
|
||||
isFirst: true
|
||||
}
|
||||
},
|
||||
@@ -63,6 +64,7 @@ export default {
|
||||
},
|
||||
onLoad(e) {
|
||||
this.aiConfigId = e.aiConfigId
|
||||
this.conversationId = e.conversationId
|
||||
this.getHistoryList()
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@@ -79,7 +81,7 @@ export default {
|
||||
return this.$u.toast("请先进行登录")
|
||||
}
|
||||
this.$loading()
|
||||
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}&aiConfigId=${this.aiConfigId}`).then(res => {
|
||||
this.$instance.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) {
|
||||
|
||||
Reference in New Issue
Block a user