mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-12 00:59:23 +08:00
refactor(system/file): 添加文件路径和md5值 (#52)
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
</a-typography-paragraph>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="大小">{{ formatFileSize(data.size) }}</a-descriptions-item>
|
||||
<a-descriptions-item label="路径">{{ data.absPath + getFileName(data) }}</a-descriptions-item>
|
||||
<a-descriptions-item label="MD5">{{ data.md5 }}</a-descriptions-item>
|
||||
<a-descriptions-item label="上传时间">{{ data.createTime }}</a-descriptions-item>
|
||||
<a-descriptions-item label="修改时间">{{ data.updateTime }}</a-descriptions-item>
|
||||
<a-descriptions-item label="存储名称">{{ data.storageName }}</a-descriptions-item>
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
</a-dropdown>
|
||||
|
||||
<a-input-group>
|
||||
<a-input
|
||||
v-model="queryForm.absPath" placeholder="路径" allow-clear style="width: 300px"
|
||||
@change="search"
|
||||
/>
|
||||
<a-input
|
||||
v-model="queryForm.name" placeholder="搜索文件名" allow-clear style="width: 200px"
|
||||
@change="search"
|
||||
@@ -110,6 +114,7 @@ const { mode, selectedFileIds, toggleMode, addSelectedFileItem } = useFileManage
|
||||
|
||||
const queryForm = reactive<FileQuery>({
|
||||
name: undefined,
|
||||
absPath: undefined,
|
||||
type: route.query.type?.toString() !== '0' ? route.query.type?.toString() : undefined,
|
||||
sort: ['updateTime,desc'],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user