feat: 为文档库添加文档类型显示功能
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m10s

- 功能添加:在文档列表中,当未指定文档类型时,在标题右侧显示文档类型
- 查询更改:产品查询添加文档类型查询方法
- mapper更改:productDocumentView添加文档类型
This commit is contained in:
2025-12-05 17:18:48 +08:00
parent f1398a5545
commit 63cdff9c41
6 changed files with 80 additions and 2 deletions

View File

@ -17,7 +17,13 @@
:document-type-options="documentTypeOptions"
/>
<document-list :documents="paginatedDocuments" />
<document-list
:documents="paginatedDocuments"
:show-category="
filters.selectedDocumentType === null ||
filters.selectedDocumentType === undefined
"
/>
<el-pagination
v-model:current-page="page"