文件服务下载修改

This commit is contained in:
zhujiyan
2024-10-25 16:03:44 +08:00
parent 63937a0742
commit 21af539824
4 changed files with 127 additions and 56 deletions

View File

@@ -101,9 +101,9 @@
{{ row.type == 'dir' ? '文件夹' : row.type == 'file' ? '文件' : '/' }}
</span>
</vxe-column>
<!-- <vxe-column field="startTime" align="center" title="文件时间" width="120" #default="{ row }">
{{ row.startTime ? row.startTime : '/' }}
</vxe-column> -->
<vxe-column field="startTime" align="center" title="文件时间" width="120" #default="{ row }">
{{ row.startTime ? row.startTime : '/' }}
</vxe-column>
<!--<vxe-column field="fileCheck" align="center" title="文件校验码" width="100" #default="{ row }">
{{ row.fileCheck ? row.fileCheck : '/' }}
</vxe-column> -->
@@ -243,7 +243,7 @@ const isRoot = ref<boolean>(true)
//储存所有点击过的目录
const activePathList: any = ref([])
const nodeClick = (e: any) => {
console.log(e,"------");
console.log(e, '------')
if (e && (e.level == 2 || e.type == 'device')) {
loading.value = true
nDid.value = e.ndid