mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-06 09:26:48 +08:00
Merge branch 'poc/bpic' into dev
This commit is contained in:
@@ -391,14 +391,24 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
getKnowledgeList() {
|
||||
docManageDataset({ nameLike: this.nameLike }).then(res => {
|
||||
if (res) {
|
||||
this.dataset = res.content.content[0]
|
||||
this.datasetList = res.content.content
|
||||
this.getAgentList()
|
||||
}
|
||||
})
|
||||
async getKnowledgeList() {
|
||||
let { content } = await docManageDataset({ nameLike: this.nameLike })
|
||||
if (content.content && content.length > 0) {
|
||||
this.dataset = content.content[0]
|
||||
this.datasetList = content.content
|
||||
}
|
||||
|
||||
await this.getAgentList()
|
||||
|
||||
this.getEcharts()
|
||||
|
||||
// docManageDataset({ nameLike: this.nameLike }).then(res => {
|
||||
// if (res) {
|
||||
// this.dataset = res.content.content[0]
|
||||
// this.datasetList = res.content.content
|
||||
// this.getAgentList()
|
||||
// }
|
||||
// })
|
||||
},
|
||||
async getAgentList() {
|
||||
const { content } = await agentList({
|
||||
@@ -409,8 +419,6 @@ export default {
|
||||
})
|
||||
this.agent = content.content[0]
|
||||
this.agentList = content.content
|
||||
|
||||
this.getEcharts()
|
||||
},
|
||||
|
||||
success() {},
|
||||
|
||||
Reference in New Issue
Block a user