feat:CN-1522 插件管理界面与接口调试

This commit is contained in:
hanyuxia
2023-12-29 18:04:50 +08:00
parent ca3b9d926c
commit 467b2c27b7
3 changed files with 13 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ export default {
},
data () {
return {
url: api.knowledgeBaseList,
url: api.pluginList,
blankObject: { // 空白对象
id: '',
name: '',
@@ -69,16 +69,16 @@ export default {
if (params) {
this.searchLabel = { ...this.searchLabel, ...params }
}
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
//this.searchLabel = { ...this.searchLabel, ...this.pageObj }
//this.searchLabel = {...this.searchLabel,jobGroup:3}
this.isNoData = false
// this.tableData = []
this.toggleLoading(true)
delete this.searchLabel.total
let listUrl = this.url
if (this.listUrl) {
listUrl = this.listUrl
}
this.searchLabel.category = 'ai_tagging'
//this.searchLabel.category = 'ai_tagging'
axios.get(listUrl, { params: this.searchLabel }).then(response => {
if (response.status === 200) {
for (let i = 0; i < response.data.data.list.length; i++) {