![]()
-
+
{{ item && item?.document_name }}
@@ -101,7 +106,7 @@ const props = defineProps({
},
})
-const emit = defineEmits(['openExecutionDetail', 'openParagraph','openParagraphDocument'])
+const emit = defineEmits(['openExecutionDetail', 'openParagraph', 'openParagraphDocument'])
const dialogVisible = ref(false)
const dialogTitle = ref('')
@@ -134,9 +139,10 @@ function openExecutionDetail(row: any) {
}
function openParagraphDocument(row: any) {
if (props.executionIsRightPanel) {
- emit('openParagraphDocument',row)
+ emit('openParagraphDocument', row)
return
}
+
currentComponent.value = ParagraphDocumentContent
dialogTitle.value = row.document_name
currentChatDetail.value = row
diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue
index f13f6b7e8..3cfe32b46 100644
--- a/ui/src/views/chat/pc/index.vue
+++ b/ui/src/views/chat/pc/index.vue
@@ -33,7 +33,7 @@
{{ applicationDetail?.name }}
-
+
@@ -609,6 +609,7 @@ function openParagraphDocument(detail: any, row: any) {
rightPanelTitle.value = row.document_name
rightPanelType.value = 'paragraphDocument'
rightPanelSize.value = 400
+ rightPanelDetail.value = row
}
function closeExecutionDetail() {
@@ -716,11 +717,11 @@ function closeExecutionDetail() {
.add-button {
border: 1px solid var(--el-color-primary);
- background-color: #3370FF1A;
- color: #3370FF;
+ background-color: #3370ff1a;
+ color: #3370ff;
font-weight: 500;
&:hover {
- background-color: #3370FF33;
+ background-color: #3370ff33;
}
}
@@ -799,12 +800,13 @@ function closeExecutionDetail() {
}
.chat-pc-popper {
- background: linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
- #eef1f4 !important;
+ background:
+ linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
+ #eef1f4 !important;
.el-menu {
background: transparent;
}
- .el-menu-item-group__title {
+ .el-menu-item-group__title {
padding-bottom: 16px;
font-weight: 500;
color: var(--app-text-color-secondary);
@@ -820,7 +822,7 @@ function closeExecutionDetail() {
}
&.is-active {
background-color: #ffffff;
-
+
color: var(--el-text-color-primary);
& > div {
font-weight: 500;