<script setup lang="ts">
import SharedWorkReportApprovalRecordDialog from '../../shared/components/approval-record-dialog.vue';
import type { WorkReportRow } from '../../shared/types';

defineOptions({ name: 'ProjectReportApprovalRecordDialog' });

const visible = defineModel<boolean>('visible', { default: false });

defineProps<{
  rowData?: WorkReportRow | null;
}>();
</script>

<template>
  <SharedWorkReportApprovalRecordDialog v-model:visible="visible" report-type="project" :row-data="rowData" />
</template>
