Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 29 additions & 17 deletions frontend/src/views/host/file-management/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -424,23 +424,32 @@
<el-button plain class="close" icon="Close" @click="closeMove"></el-button>
</el-tooltip>
</el-button-group>
<div class="w-80">
<el-input
v-model="req.search"
clearable
@clear="search()"
@keydown.enter="search()"
:placeholder="$t('file.search')"
>
<template #prepend>
<el-checkbox v-model="req.containSub">
{{ $t('file.sub') }}
</el-checkbox>
</template>
<template #append>
<el-button icon="Search" @click="search" round />
</template>
</el-input>
<div class="flex items-center gap-2">
<fu-table-column-select
:columns="columns"
trigger="hover"
:title="$t('commons.table.selectColumn')"
popper-class="popper-class"
:only-icon="true"
/>
<div class="w-80">
<el-input
v-model="req.search"
clearable
@clear="search()"
@keydown.enter="search()"
:placeholder="$t('file.search')"
>
<template #prepend>
<el-checkbox v-model="req.containSub">
{{ $t('file.sub') }}
</el-checkbox>
</template>
<template #append>
<el-button icon="Search" @click="search" round />
</template>
</el-input>
</div>
</div>
</div>
</template>
Expand All @@ -456,6 +465,8 @@
@cell-mouse-leave="hideFavorite"
:heightDiff="heightDiff"
:right-buttons="rightButtons"
:columns="columns"
localKey="fileManagementColumn"
>
<el-table-column type="selection" width="30" />
<el-table-column
Expand Down Expand Up @@ -827,6 +838,7 @@ const setRenameRef = (key: string, el: any) => {
const getCurrentRename = () => renameRefs.value[editableTabsKey.value];

const pathRefs = ref<Record<string, any>>({});
const columns = ref([]);

const setPathRef = (key: string, el: any) => {
if (el) {
Expand Down
Loading