mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-08 18:36:51 +08:00
feat(agent): 工作流页面添加应用名称显示
- 在工作流页面的返回按钮旁添加应用名称显示 - 在跳转到工作流页面时,通过路由 query 参数传递应用名称 - 修改了 Home.vue 和 intelligent-agent/index.vue 中的路由跳转逻辑
This commit is contained in:
@@ -119,7 +119,10 @@ export default {
|
||||
|
||||
<template>
|
||||
<div class="render-container">
|
||||
<BackButton></BackButton>
|
||||
<div>
|
||||
<BackButton></BackButton>
|
||||
<span class="fs14 fw600 "> {{ $route.query.name }}</span>
|
||||
</div>
|
||||
<div
|
||||
v-loading="isLoading"
|
||||
style="width: 100%; height: calc(100% - 42px);border-radius: 8px"
|
||||
|
||||
@@ -243,7 +243,10 @@ export default {
|
||||
localStorage.setItem('console_token', accessToken)
|
||||
// 做成页面跳转
|
||||
this.$router.push({
|
||||
path: `/agent/${agent.thirdAppId}/workflow`
|
||||
path: `/agent/${agent.thirdAppId}/workflow`,
|
||||
query: {
|
||||
name: agent.appName
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -169,7 +169,10 @@ export default {
|
||||
localStorage.setItem('console_token', accessToken)
|
||||
// 做成页面跳转
|
||||
this.$router.push({
|
||||
path: `/agent/${this.agentConfig.agent.thirdAppId}/workflow`
|
||||
path: `/agent/${this.agentConfig.agent.thirdAppId}/workflow`,
|
||||
query: {
|
||||
name: agent.appName
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user