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