conversationId
This commit is contained in:
@@ -63,7 +63,8 @@ export default {
|
|||||||
],
|
],
|
||||||
current: 1,
|
current: 1,
|
||||||
pages: 2,
|
pages: 2,
|
||||||
aiConfigId: ''
|
aiConfigId: '',
|
||||||
|
conversationId: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -71,6 +72,7 @@ export default {
|
|||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.aiConfigId = e.aiConfigId
|
this.aiConfigId = e.aiConfigId
|
||||||
|
this.conversationId = e.conversationId
|
||||||
this.getHistoryList()
|
this.getHistoryList()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -89,7 +91,7 @@ export default {
|
|||||||
return this.$u.toast("请先进行登录")
|
return this.$u.toast("请先进行登录")
|
||||||
}
|
}
|
||||||
this.$loading()
|
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) {
|
if(res.code == 0 && res.data.records.length) {
|
||||||
res.data.records.map((item) => {
|
res.data.records.map((item) => {
|
||||||
if(item.sdkFileUrl) {
|
if(item.sdkFileUrl) {
|
||||||
|
|||||||
@@ -102,7 +102,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}`})
|
||||||
// this.$emit('toDetail', {aiConfigId: e.aiConfigId})
|
// this.$emit('toDetail', {aiConfigId: e.aiConfigId})
|
||||||
},
|
},
|
||||||
del(e) {
|
del(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user