diff --git a/ui/src/components/folder-tree/index.vue b/ui/src/components/folder-tree/index.vue
index fd5d95431..2b208e524 100644
--- a/ui/src/components/folder-tree/index.vue
+++ b/ui/src/components/folder-tree/index.vue
@@ -5,7 +5,7 @@
:placeholder="$t('common.search')"
prefix-icon="Search"
clearable
- class="p-16"
+ class="p-8"
/>
diff --git a/ui/src/views/tool/index.vue b/ui/src/views/tool/index.vue
index 70aa6b6e5..4d124347e 100644
--- a/ui/src/views/tool/index.vue
+++ b/ui/src/views/tool/index.vue
@@ -6,13 +6,47 @@
:data="folderList"
:currentNodeKey="currentFolder?.id"
@handleNodeClick="folderClickHandel"
+ class="p-8"
/>
-
-
-
{{ currentFolder?.name }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,6 +82,17 @@ import { numberFormat } from '@/utils/common'
import { t } from '@/locales'
const { folder } = useStore()
+
+const search_type = ref('name')
+const search_form = ref<{
+ name: string
+ create_user: string
+}>({
+ name: '',
+ create_user: '',
+})
+const user_options = ref([])
+
const loading = ref(false)
const paginationConfig = reactive({
current_page: 1,
@@ -59,6 +104,10 @@ const folderList = ref([])
const toolList = ref([])
const currentFolder = ref({})
+const search_type_change = () => {
+ search_form.value = { name: '', create_user: '' }
+}
+
function getList() {
const params = {
folder_id: currentFolder.value?.id || 'root',