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