feat: 初始化项目配置和文档- 添加 .editorconfig 文件,配置代码编辑规范

- 添加 .env 及相关文件,配置环境变量
- 添加 .eslintignore 和 .eslintrc.js 文件,配置 ESLint 规则
- 添加 .gitignore 文件,配置 Git忽略项
- 添加 .prettierignore 文件,配置 Prettier 忽略项
- 添加隐私政策文档,详细说明用户数据的收集和使用
This commit is contained in:
2025-08-23 20:31:46 +08:00
commit 37f3b6327c
1310 changed files with 210439 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
<!-- 搜索表单 -->
<template>
<a-space :size="10" style="flex-wrap: wrap">
<a-input-search
allow-clear
placeholder="请输入项目名称"
v-model:value="where.keywords"
@pressEnter="search"
@search="search"
/>
</a-space>
</template>
<script lang="ts" setup>
import {watch} from 'vue';
import useSearch from "@/utils/use-search";
import {ProjectParam} from "@/api/project/project/model";
import {ProjectRenewParam} from "@/api/project/projectRenew/model";
const props = withDefaults(
defineProps<{
// 选中的角色
selection?: [];
}>(),
{}
);
const emit = defineEmits<{
(e: 'search', where?: ProjectRenewParam): void;
(e: 'add'): void;
(e: 'remove'): void;
(e: 'batchMove'): void;
}>();
// 表单数据
const {where} = useSearch<ProjectParam>({
appId: undefined,
userId: undefined,
appStatus: undefined,
keywords: ''
});
/* 搜索 */
const search = () => {
emit('search', where);
};
watch(
() => props.selection,
() => {
}
);
</script>