fix(加班申请): 去掉撤销相关的状态和动作。
feat(工作报告): 开发工作报告功能
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<script setup lang="ts">
|
||||
import SharedWorkReportSearch from '../../shared/components/search-panel.vue';
|
||||
|
||||
defineOptions({ name: 'ProjectReportSearch' });
|
||||
|
||||
defineProps<{
|
||||
projectOptions?: Api.WorkReport.Project.ProjectReportOwnerProjectOption[];
|
||||
}>();
|
||||
|
||||
const model = defineModel<Api.WorkReport.Project.ProjectReportSearchParams>('model', { required: true });
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'reset'): void;
|
||||
(e: 'search'): void;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<SharedWorkReportSearch
|
||||
v-model:model="model"
|
||||
report-type="project"
|
||||
:project-options="projectOptions"
|
||||
@reset="emit('reset')"
|
||||
@search="emit('search')"
|
||||
/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user