Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a5352202
authored
Dec 10, 2025
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 交互样式对齐
1 parent
9a9220a6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
30 deletions
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/Assistant/addUpdate.vue
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/AgenticReplay.vue
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/AgenticTrain.vue
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/QualityDialog.vue
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/TrainDialog.vue
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageKonw/addUpdate.vue
package.json
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/Assistant/addUpdate.vue
View file @
a535220
...
@@ -436,7 +436,7 @@ const cancel = () => {
...
@@ -436,7 +436,7 @@ const cancel = () => {
<div
class=
"flex items-center justify-between pb-[10px]"
>
<div
class=
"flex items-center justify-between pb-[10px]"
>
<h2
class=
"m-0 text-lg font-semibold"
>
{{
isEditMode
?
'编辑智能体'
:
'新增智能体'
}}
</h2>
<h2
class=
"m-0 text-lg font-semibold"
>
{{
isEditMode
?
'编辑智能体'
:
'新增智能体'
}}
</h2>
<!--
<el-button
@
click=
"goBack"
>
返回列表
</el-button>
-->
<!--
<el-button
@
click=
"goBack"
>
返回列表
</el-button>
-->
<div
class=
"w-[88px] h-[32px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px]"
@
click=
"goBack"
>
返回列表
</div>
<div
class=
"w-[88px] h-[32px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px]
hover:bg-[#ecf5ff] hover:text-[#1956fe] transition-all duration-200
"
@
click=
"goBack"
>
返回列表
</div>
</div>
</div>
<el-form
<el-form
...
@@ -461,7 +461,9 @@ const cancel = () => {
...
@@ -461,7 +461,9 @@ const cancel = () => {
<el-form-item
label=
"智能体头像"
>
<el-form-item
label=
"智能体头像"
>
<div
class=
"relative w-[80px] h-[80px] bg-white"
>
<div
class=
"relative w-[80px] h-[80px] bg-white"
>
<el-avatar
:size=
"80"
:src=
"formData.avatarUrl"
shape=
"circle"
/>
<!--预览图 -->
<el-avatar
:size=
"80"
:src=
"formData.avatarUrl"
shape=
"circle"
class=
"bg-[#F7F8F9]"
/>
<!-- 上传组件 -->
<div
class=
"absolute w-[28px] h-[28px] right-0 bottom-[-10px] flex items-center justify-center w-6 h-6 text-[#409eff] cursor-pointer rounded-full shadow-sm bg-g-white"
>
<div
class=
"absolute w-[28px] h-[28px] right-0 bottom-[-10px] flex items-center justify-center w-6 h-6 text-[#409eff] cursor-pointer rounded-full shadow-sm bg-g-white"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
...
@@ -559,7 +561,7 @@ const cancel = () => {
...
@@ -559,7 +561,7 @@ const cancel = () => {
<div
class=
"mb-10"
>
<div
class=
"mb-10"
>
<CustomHeaderTitle
title=
"多智能体任务编排"
/>
<CustomHeaderTitle
title=
"多智能体任务编排"
/>
<el-form-item
label=
"任务画布"
>
<el-form-item
label=
"任务画布"
>
<div
class=
"w-[776px] h-[320px] overflow-hidden bg-[#f5f7fa]
border border-dashed border-[#dcdfe6]
rounded-md"
>
<div
class=
"w-[776px] h-[320px] overflow-hidden bg-[#f5f7fa] rounded-md"
>
<!-- 这里通常使用 LogicFlow 或 X6,这里用图片或背景模拟 -->
<!-- 这里通常使用 LogicFlow 或 X6,这里用图片或背景模拟 -->
<img
:src=
"`https://img02.glsx.com.cn/weapp/resource/venus-agentic/bg-agentic-train.jpg`"
alt=
"任务画布"
class=
"w-full h-full object-cover"
>
<img
:src=
"`https://img02.glsx.com.cn/weapp/resource/venus-agentic/bg-agentic-train.jpg`"
alt=
"任务画布"
class=
"w-full h-full object-cover"
>
</div>
</div>
...
@@ -583,7 +585,7 @@ const cancel = () => {
...
@@ -583,7 +585,7 @@ const cancel = () => {
</div>
</div>
<!-- 底部按钮 -->
<!-- 底部按钮 -->
<div
class=
"flex
gap-3
mt-10"
>
<div
class=
"flex mt-10"
>
<!--
<el-button
type=
"primary"
@
click=
"save"
:loading=
"saving"
>
保存
</el-button>
<!--
<el-button
type=
"primary"
@
click=
"save"
:loading=
"saving"
>
保存
</el-button>
<el-button
@
click=
"cancel"
>
取消
</el-button>
-->
<el-button
@
click=
"cancel"
>
取消
</el-button>
-->
<div
<div
...
@@ -593,7 +595,7 @@ const cancel = () => {
...
@@ -593,7 +595,7 @@ const cancel = () => {
保存
保存
</div>
</div>
<div
<div
class=
"w-[60px] h-8 rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] ml-2 hover:bg-[
rgba(225,227,230,0.1)]
"
class=
"w-[60px] h-8 rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] ml-2 hover:bg-[
#ecf5ff] hover:text-[#1956fe] transition-all duration-200
"
@
click=
"cancel"
@
click=
"cancel"
>
>
取消
取消
...
...
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/AgenticReplay.vue
View file @
a535220
...
@@ -53,12 +53,13 @@
...
@@ -53,12 +53,13 @@
maxlength=
"5000"
maxlength=
"5000"
show-word-limit
show-word-limit
:disabled=
"!isEditing"
:disabled=
"!isEditing"
:autosize=
"
{ minRows: 2, maxRows:
10
}"
:autosize=
"
{ minRows: 2, maxRows:
4
}"
/>
/>
<p
class=
"text-[12px] text-[#969AA3] font-normal mt-[4px]"
>
提示词将指导AI如何进行对话分析,可根据需求调整分析重点和输出格式
</p>
<p
class=
"text-[12px] text-[#969AA3] font-normal mt-[4px]"
>
提示词将指导AI如何进行对话分析,可根据需求调整分析重点和输出格式
</p>
<div
class=
"btn-group flex items-center gap-[12px] mt-[32px]"
v-if=
"isEditing"
>
<div
class=
"btn-group flex items-center gap-[12px] mt-[32px]"
v-if=
"isEditing"
>
<el-button
type=
"primary"
@
click=
"updatePromptTemplateList"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"updatePromptTemplateList"
>
保存
</el-button>
<el-button
@
click=
"toggleEdit"
>
取消
</el-button>
<!--
<el-button
@
click=
"toggleEdit"
>
取消
</el-button>
-->
<div
class=
"w-[60px] h-[32px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px] hover:bg-[#ecf5ff] hover:text-[#1956fe] transition-all duration-200"
@
click=
"toggleEdit"
>
取消
</div>
</div>
</div>
</div>
</div>
</section>
</section>
...
...
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/AgenticTrain.vue
View file @
a535220
...
@@ -54,17 +54,17 @@
...
@@ -54,17 +54,17 @@
<el-table-column
prop=
"learningObjectivePrompt"
label=
"学习目标"
/>
<el-table-column
prop=
"learningObjectivePrompt"
label=
"学习目标"
/>
<el-table-column
prop=
"proactiveContactEnabled"
label=
"主动联系"
>
<el-table-column
prop=
"proactiveContactEnabled"
label=
"主动联系"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
<div>
<div
class=
"w-[28px] h-[24px] text-[#00A870] text-[12px] bg-[#E8F8F2] rounded-[3px] text-center items-center justify-center"
v-if=
"row.proactiveContactEnabled"
>
是
</div>
<span
class=
"text-[#00A870] text-[12px] bg-[#E8F8F2] rounded-[3px] p-[8px]"
v-if=
"row.proactiveContactEnabled"
>
是
</span>
<div
class=
"w-[28px] h-[24px] text-[#777C85] text-[12px] bg-[#F0F2F5] rounded-[3px] text-center items-center justify-center"
v-else
>
否
</div>
<span
class=
"text-[#777C85] text-[12px] bg-[#F0F2F5] rounded-[3px] p-[8px]"
v-else
>
否
</span>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"createdDate"
label=
"创建时间"
/>
<el-table-column
prop=
"createdDate"
label=
"创建时间"
/>
<el-table-column
label=
"操作"
width=
"1
5
0"
>
<el-table-column
label=
"操作"
width=
"1
0
0"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-button
link
type=
"primary"
@
click=
"openDialog('edit', row)"
>
编辑
</el-button>
<!--
<el-button
link
type=
"primary"
@
click=
"openDialog('edit', row)"
>
编辑
</el-button>
<el-button
link
type=
"primary"
@
click=
"deleteItem(row.id, row)"
>
删除
</el-button>
<el-button
link
type=
"primary"
@
click=
"deleteItem(row.id, row)"
>
删除
</el-button>
-->
<span
class=
"text-[#1956FE] cursor-pointer"
@
click=
"openDialog('edit', row)"
>
编辑
</span>
<span
class=
"text-[#1956FE] cursor-pointer ml-[10px]"
@
click=
"deleteItem(row.id, row)"
>
删除
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
template
#
empty
>
<
template
#
empty
>
...
...
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/QualityDialog.vue
View file @
a535220
...
@@ -69,7 +69,8 @@
...
@@ -69,7 +69,8 @@
<!-- 底部按钮 -->
<!-- 底部按钮 -->
<template
#
footer
>
<template
#
footer
>
<div
class=
"dialog-footer"
>
<div
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<!--
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
-->
<div
class=
"w-[60px] h-[32px] mr-[8px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px] hover:bg-[#ecf5ff] hover:text-[#1956fe] transition-all duration-200"
@
click=
"dialogVisible = false"
>
取 消
</div>
<el-button
type=
"primary"
@
click=
"submitForm"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{
mode
===
'create'
?
'创建'
+
screenTitle
:
'保存'
+
screenTitle
}}
{{
mode
===
'create'
?
'创建'
+
screenTitle
:
'保存'
+
screenTitle
}}
</el-button>
</el-button>
...
...
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageAgentic/components/TrainDialog.vue
View file @
a535220
...
@@ -92,8 +92,9 @@
...
@@ -92,8 +92,9 @@
<!-- 底部按钮 -->
<!-- 底部按钮 -->
<template
#
footer
>
<template
#
footer
>
<div
class=
"dialog-footer"
>
<div
class=
"dialog-footer flex justify-end"
>
<el-button
@
click=
"visible = false"
>
取 消
</el-button>
<!--
<el-button
@
click=
"visible = false"
>
取 消
</el-button>
-->
<div
class=
"w-[60px] h-[32px] mr-[8px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px] hover:bg-[#ecf5ff] hover:text-[#1956fe] transition-all duration-200"
@
click=
"visible = false"
>
取 消
</div>
<el-button
type=
"primary"
@
click=
"submitForm"
:loading=
"loading"
>
<el-button
type=
"primary"
@
click=
"submitForm"
:loading=
"loading"
>
{{
mode
===
'create'
?
'创建计划'
:
'保存计划'
}}
{{
mode
===
'create'
?
'创建计划'
:
'保存计划'
}}
</el-button>
</el-button>
...
@@ -300,4 +301,17 @@ defineExpose({
...
@@ -300,4 +301,17 @@ defineExpose({
font-weight
:
500
;
font-weight
:
500
;
color
:
#303133
;
color
:
#303133
;
}
}
/* 优化 radio 组件样式,选中后文字颜色保持不变 */
:deep
(
.el-radio
)
{
color
:
#606266
;
}
:deep
(
.el-radio.is-checked
.el-radio__label
)
{
color
:
#606266
!important
;
}
:deep
(
.el-radio__input.is-checked
+
.el-radio__label
)
{
color
:
#606266
!important
;
}
</
style
>
</
style
>
apps/frontend/venus-agentic/venus-agentic-assisant/src/views/ManageKonw/addUpdate.vue
View file @
a535220
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<!-- 关联部门/岗位
(核心复杂区域)
-->
<!-- 关联部门/岗位 -->
<el-form-item
prop=
"departments"
class=
"mb-0 py-[12px]"
>
<el-form-item
prop=
"departments"
class=
"mb-0 py-[12px]"
>
<
template
#
label
>
<
template
#
label
>
<span
class=
"text-[#565C66] font-medium"
>
关联部门/岗位
</span>
<span
class=
"text-[#565C66] font-medium"
>
关联部门/岗位
</span>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
<div
class=
"flex h-[450px] w-full rounded-md"
>
<div
class=
"flex h-[450px] w-full rounded-md"
>
<!-- 左侧:组织架构树 -->
<!-- 左侧:组织架构树 -->
<div
class=
"w-3/5 rounded-
md flex flex-col mr-[16px]
"
>
<div
class=
"w-3/5 rounded-
[6px] flex flex-col mr-[16px] border border-[#f2f4f7] bg-white
"
>
<div
class=
"bg-gray-50 px-4 py-2 text-[14px] text-[#2F3133] flex justify-between items-center"
>
<div
class=
"bg-gray-50 px-4 py-2 text-[14px] text-[#2F3133] flex justify-between items-center"
>
<div
class=
"flex items-center gap-2"
>
<div
class=
"flex items-center gap-2"
>
<!-- 使用模拟的全选框外观,实际逻辑需根据业务绑定 -->
<!-- 使用模拟的全选框外观,实际逻辑需根据业务绑定 -->
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
</div>
</div>
<!-- 右侧:已选列表 -->
<!-- 右侧:已选列表 -->
<div
class=
"w-2/5 rounded-md flex flex-col bg-white"
>
<div
class=
"w-2/5 rounded-md flex flex-col bg-white
rounded-[6px] border border-[#f2f4f7] bg-white
"
>
<div
class=
"bg-gray-50 px-4 py-2 text-[14px] text-[#2F3133] flex justify-between items-center h-[41px]"
>
<div
class=
"bg-gray-50 px-4 py-2 text-[14px] text-[#2F3133] flex justify-between items-center h-[41px]"
>
<span>
已选 · {{ selectedNodes.length }}
</span>
<span>
已选 · {{ selectedNodes.length }}
</span>
<button
<button
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
>
>
取消
取消
</el-button> -->
</el-button> -->
<div
class=
"w-[60px] h-[38px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px]"
@
click=
"closeModal"
>
取消
</div>
<div
class=
"w-[60px] h-[38px] rounded-[5px] border border-[#E1E3E6] bg-white flex items-center justify-center cursor-pointer text-[#666666] text-[14px]
hover:bg-[#ecf5ff] hover:text-[#1956fe] transition-all duration-200
"
@
click=
"closeModal"
>
取消
</div>
</div>
</div>
</div>
</div>
...
...
package.json
View file @
a535220
...
@@ -25,23 +25,14 @@
...
@@ -25,23 +25,14 @@
"build:filter"
:
"node scripts/build/buildToRoot.mjs"
,
"build:filter"
:
"node scripts/build/buildToRoot.mjs"
,
"build:docs"
:
"pnpm run build --filter=@venus/docs"
,
"build:docs"
:
"pnpm run build --filter=@venus/docs"
,
"changeset"
:
"pnpm exec changeset"
,
"changeset"
:
"pnpm exec changeset"
,
"check"
:
"pnpm run check:circular && pnpm run check:dep && pnpm run check:type && pnpm check:cspell"
,
"check:circular"
:
"vsh check-circular"
,
"check:cspell"
:
"cspell lint **/*.ts **/README.md .changeset/*.md --no-progress"
,
"check:dep"
:
"vsh check-dep"
,
"check:type"
:
"turbo run typecheck"
,
"clean"
:
"node ./scripts/clean.mjs"
,
"clean"
:
"node ./scripts/clean.mjs"
,
"commit"
:
"powershell -ExecutionPolicy Bypass -File ./scripts/commit.ps1"
,
"commit"
:
"powershell -ExecutionPolicy Bypass -File ./scripts/commit.ps1"
,
"format"
:
"vsh lint --format"
,
"lint"
:
"vsh lint"
,
"postinstall"
:
"pnpm -r run stub --if-present"
,
"postinstall"
:
"pnpm -r run stub --if-present"
,
"prepare"
:
"husky"
,
"prepare"
:
"husky"
,
"preinstall"
:
"npx only-allow pnpm"
,
"preinstall"
:
"npx only-allow pnpm"
,
"preview"
:
"turbo-run preview"
,
"preview"
:
"turbo-run preview"
,
"publint"
:
"vsh publint"
,
"publint"
:
"vsh publint"
,
"reinstall"
:
"pnpm clean --del-lock && pnpm install"
,
"reinstall"
:
"pnpm clean --del-lock && pnpm install"
,
"test:unit"
:
"vitest run --dom"
,
"test:e2e"
:
"turbo run test:e2e"
,
"update:deps"
:
"npx taze -r -w"
,
"update:deps"
:
"npx taze -r -w"
,
"version"
:
"pnpm exec changeset version && pnpm install --no-frozen-lockfile"
,
"version"
:
"pnpm exec changeset version && pnpm install --no-frozen-lockfile"
,
"catalog"
:
"pnpx codemod pnpm/catalog"
,
"catalog"
:
"pnpx codemod pnpm/catalog"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment