diff --git a/chat-client/src/api/Segment.ts b/chat-client/src/api/Segment.ts new file mode 100644 index 0000000..1eb1fa2 --- /dev/null +++ b/chat-client/src/api/Segment.ts @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function getSegmentList(params: { datasetId: string; documentId: string }) { + return request({ + url: '/brichat-service/documentSegment/selectSegments', + method: 'get', + params, + }) +} diff --git a/chat-client/src/views/datasets/components/DocumentList.vue b/chat-client/src/views/datasets/components/DocumentList.vue index 2d5668d..6205031 100644 --- a/chat-client/src/views/datasets/components/DocumentList.vue +++ b/chat-client/src/views/datasets/components/DocumentList.vue @@ -2,9 +2,9 @@
-
- {{t('vabI18n.knowledge.document.buttons.batchDelete', { count: selectedRows.length })}} {{t('vabI18n.knowledge.document.buttons.refresh')}} - + {{t('vabI18n.knowledge.document.buttons.upload')}}
@@ -90,9 +90,9 @@ @row-dblclick="handleRowDoubleClick" > -