diff --git a/src/views/documents/List.vue b/src/views/documents/List.vue index d682c01..4ddf434 100644 --- a/src/views/documents/List.vue +++ b/src/views/documents/List.vue @@ -1,9 +1,10 @@ - {{ documents }} - + + + + + {{ document.Title }} + {{ + document.Chunked ? "分块的文档" : "还没有处理" + }} + + {{ new Date(document.CreatedAt).toLocaleString() }} + + {{ document.content }} + + 详情 + 编辑 + + + + + + - 创建 + + + + + + + + + + + + 创建 diff --git a/src/views/libraries/List.vue b/src/views/libraries/List.vue index 103655f..fa4dcd4 100644 --- a/src/views/libraries/List.vue +++ b/src/views/libraries/List.vue @@ -1,85 +1,89 @@ - - 资料库 + + 资料库 - - 全选 + 全选 - 删除所选 + 删除所选 - - - - - 确认删除 - 取消 - - - - - - - - - - - - + + + + + 确认删除 + 取消 + + + + + + + + + + + + - - - - mdi-check - - - + + + + mdi-check + + + - {{ item.Name }} - - - - + {{ item.Name }} + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -123,9 +127,9 @@ const goto = (libraryId) => { router.push({ name: "library.documents", params: { - LibraryId: libraryId - } - }) + LibraryId: libraryId, + }, + }); }; function isSelected(id) { @@ -179,7 +183,7 @@ function deleteSelected() { page.value = page.value - 1; } if (page.value == 0) { - page.value = 1 + page.value = 1; } load(false);