feat: 选人组件(未完成) 加签减签

This commit is contained in:
dap
2024-12-17 14:47:51 +08:00
parent 8b58440e00
commit 2e3d385747
9 changed files with 456 additions and 34 deletions

View File

@@ -10,6 +10,8 @@ import { getDeptTree } from '#/api/system/user';
defineOptions({ inheritAttrs: false });
withDefaults(defineProps<{ showSearch?: boolean }>(), { showSearch: true });
const emit = defineEmits<{
/**
* 点击刷新按钮的事件
@@ -68,7 +70,10 @@ onMounted(loadTree);
class="bg-background flex h-full flex-col overflow-y-auto rounded-lg"
>
<!-- 固定在顶部 必须加上bg-background背景色 否则会产生'穿透'效果 -->
<div class="bg-background z-100 sticky left-0 top-0 p-[8px]">
<div
v-if="showSearch"
class="bg-background z-100 sticky left-0 top-0 p-[8px]"
>
<InputSearch
v-model:value="searchValue"
:placeholder="$t('pages.common.search')"