# 文件组件

## 1. 文件组件简介

「文件」组件汇总了项目下所有工作项包含的文件（附件），支持单个文件的预览、下载以及查看文件所属工作项详情，同时可对文件进行批量下载、搜索以及排序操作。

![「文件」组件图示](/files/-MUIPSuYDnCRMYm8gxxd)

## 2.  组件功能介绍

### 2.1 文件管理

#### 2.1.1 文件预览

点击文件名称即可以预览文件，支持在线预览图片、文档、表格、PPT、PDF等文件。

#### 2.1.2 文件信息

可以查看文件名称、所属工作项、上传者、文件类型、文件大小、上传时间、文件描述。

#### 2.1.3 文件排序

可以按文件属性排正序/倒序。可用于排序的属性包含文件名称、所属工作项、上传者、文件类型、文件大小、上传时间。

#### 2.1.4 快速搜索

在搜索框输入文件名称、所属工作项、上传者等，即可快速筛选出对应文件。

![快速筛选入口图示](/files/-MUIS2_LftxxQlzGmDlH)

#### 2.1.5 文件重命名及文件描述

点击文件名称，点击查看详情，点击编辑按钮，即可修改文件名称或文件描述。

![文件名称和文件描述编辑按钮](/files/-MUIR90UsaOJqXPPWVIZ)

### &#x20;2.2 下载文件

#### 2.2.1 批量下载

点&#x51FB;**`批量下载`**，可以批量下载选中文件。

公有云：每次批量下载文件的数量不超过 100 个、大小不超过 1 GB。

私有部署：每次批量下载文件的数量不超过 100 个、大小不超过 3 GB。

![](/files/-MRxP1ORX4We0_6hrsyR)

#### 2.2.2 进度管理器

支持监控下载进度、支持取消下载。

![取消下载图示](/files/-MUIRfZ5CBNIPip_WjRW)

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides-ones.gitbook.io/guides/usage-guide/ones-project/pei-zhi-xiang-mu-zu-jian/wen-jian-zu-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
