| | |
| | | }" |
| | | > |
| | | </ProTableV2> |
| | | <MateriaDetailDialog v-bind="dialogProps"></MateriaDetailDialog> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | |
| | | QueryFilterItem, |
| | | ProTableV2, |
| | | SearchInput, |
| | | useFormDialog, |
| | | defineOperationBtns, |
| | | defineColumns, |
| | | } from '@bole-core/components'; |
| | | import MateriaDetailDialog from './MateriaDetailDialog.vue'; |
| | | import { FourStreamsMaterialFileTableItem } from './types'; |
| | | |
| | | defineOptions({ |
| | | name: 'DeclareEnterpriseTableView', |
| | |
| | | extraParamState: { |
| | | searchKeyWord: string; |
| | | }; |
| | | openDialog?: (row) => void; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | |
| | | name: '详情', |
| | | }, |
| | | emits: { |
| | | onClick: (role) => openDialog(role), |
| | | onClick: (role) => props.openDialog(role), |
| | | }, |
| | | }, |
| | | ]); |
| | | |
| | | const { dialogProps, handleEdit, editForm } = useFormDialog({ |
| | | defaultFormParams: { |
| | | list: [] as FourStreamsMaterialFileTableItem[], |
| | | }, |
| | | }); |
| | | |
| | | function openDialog(row?: API.ParkBountyApplyDetailInfo) { |
| | | handleEdit({ |
| | | list: [], |
| | | }); |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |