feat: 项目管理列表筛选

This commit is contained in:
Zzz1zz
2025-08-11 23:28:10 +08:00
parent 52102d2e72
commit 194e0faa72
7 changed files with 324 additions and 12 deletions
@@ -0,0 +1,46 @@
<template>
<a-drawer
:width="1000"
:visible="visible"
title="项目详情"
:footer="false"
unmount-on-close
@cancel="handleCancel"
>
项目详情
</a-drawer>
</template>
<script lang="ts" setup>
import { watch, onMounted } from 'vue';
// import { Message } from '@arco-design/web-vue';
// import { projectTypeList } from '@/utils/constant';
import { ProjectItem } from '@/types/business';
const props = defineProps<{
visible: boolean;
projectId: number | null;
detailInfo: ProjectItem | null;
}>();
const emit = defineEmits<{
(e: 'update:visible', val: boolean): void;
}>();
watch(
() => props.visible,
async (val) => {
console.log(val, 'val');
},
{ immediate: true }
);
const handleCancel = () => {
emit('update:visible', false);
};
onMounted(() => {});
</script>
<style lang="less" scoped>
:deep(label.arco-form-item-label) {
width: 100% !important;
}
</style>