>()
function openGenerateDialog(row: any) {
if (GenerateRelatedDialogRef.value) {
- GenerateRelatedDialogRef.value.open([], 'knowledge', row.id)
+ GenerateRelatedDialogRef.value.open([], 'paragraph', row.id)
}
}
function openSelectDocumentDialog(row?: any) {
@@ -165,8 +168,8 @@ function refreshMigrateParagraph() {}
background: var(--app-layout-bg-color);
border: 1px solid #ffffff;
box-shadow: none !important;
- position: relative;
- overflow: inherit;
+ // position: relative;
+ // overflow: inherit;
&:hover {
background: rgba(31, 35, 41, 0.1);
border: 1px solid #dee0e3;
@@ -181,13 +184,13 @@ function refreshMigrateParagraph() {}
float: right;
}
- .mk-sticky {
- height: 0;
- position: sticky;
- right: 0;
- top: 0;
- overflow: inherit;
- z-index: 10;
- }
+ // .mk-sticky {
+ // height: 0;
+ // position: sticky;
+ // right: 0;
+ // top: 0;
+ // overflow: inherit;
+ // z-index: 10;
+ // }
}
diff --git a/ui/src/views/paragraph/index.vue b/ui/src/views/paragraph/index.vue
index 7825d375d..a3e05f1f1 100644
--- a/ui/src/views/paragraph/index.vue
+++ b/ui/src/views/paragraph/index.vue
@@ -344,9 +344,10 @@ onMounted(() => {
max-width: 1000px;
margin: 16px auto;
- // .el-checkbox-group {
- // display: flex;
- // }
+ .el-checkbox-group {
+ font-size: inherit;
+ line-height: inherit;
+ }
}
&__main {
diff --git a/ui/src/views/resource-management/paragraph/component/ParagraphCard.vue b/ui/src/views/resource-management/paragraph/component/ParagraphCard.vue
index 633854b3f..0af5c4adb 100644
--- a/ui/src/views/resource-management/paragraph/component/ParagraphCard.vue
+++ b/ui/src/views/resource-management/paragraph/component/ParagraphCard.vue
@@ -4,6 +4,7 @@
class="paragraph-box cursor"
@mouseenter="cardEnter()"
@mouseleave="cardLeave()"
+ @click.stop="editParagraph(data)"
>
{{ data.title || '-' }}
@@ -11,6 +12,7 @@
class="paragraph-box-operation mt-8 mr-8"
shadow="always"
style="--el-card-padding: 8px 12px; --el-card-border-radius: 8px"
+ @click.stop
>
>()
function openGenerateDialog(row: any) {
if (GenerateRelatedDialogRef.value) {
- GenerateRelatedDialogRef.value.open([], 'knowledge', row.id)
+ GenerateRelatedDialogRef.value.open([], 'paragraph', row.id)
}
}
function openSelectDocumentDialog(row?: any) {
diff --git a/ui/src/views/shared/paragraph-shared/component/ParagraphCard.vue b/ui/src/views/shared/paragraph-shared/component/ParagraphCard.vue
index aa7db5051..f1d86d89b 100644
--- a/ui/src/views/shared/paragraph-shared/component/ParagraphCard.vue
+++ b/ui/src/views/shared/paragraph-shared/component/ParagraphCard.vue
@@ -120,7 +120,7 @@ function changeState(row: any) {
const GenerateRelatedDialogRef = ref>()
function openGenerateDialog(row: any) {
if (GenerateRelatedDialogRef.value) {
- GenerateRelatedDialogRef.value.open([], 'knowledge', row.id)
+ GenerateRelatedDialogRef.value.open([], 'paragraph', row.id)
}
}
function openSelectDocumentDialog(row?: any) {
diff --git a/ui/src/views/tool/index.vue b/ui/src/views/tool/index.vue
index 29bee92d5..b321188d9 100644
--- a/ui/src/views/tool/index.vue
+++ b/ui/src/views/tool/index.vue
@@ -45,8 +45,13 @@
-
{{ $t('common.create') }}
@@ -65,18 +70,19 @@