| | |
| | | } from './data'; |
| | | import FundPanel from './modules/fund-panel.vue'; |
| | | import Form from './modules/form.vue'; |
| | | import MemberStatisticsModal from './modules/member-statistics-modal.vue'; |
| | | import ProcessSelectModal from './modules/process-select-modal.vue'; |
| | | import ReviewPanel from './modules/review-panel.vue'; |
| | | |
| | |
| | | connectedComponent: FundPanel, |
| | | destroyOnClose: true, |
| | | }); |
| | | |
| | | const memberStatisticsRef = ref<InstanceType<typeof MemberStatisticsModal>>(); |
| | | |
| | | /** 刷新表格 */ |
| | | function handleRefresh() { |
| | |
| | | /** 经费拨付面板 */ |
| | | function handleFund(row: ResearchApplicationApi.Application) { |
| | | fundModalApi.setData({ id: row.id }).open(); |
| | | } |
| | | |
| | | /** 成员维度统计 */ |
| | | function handleMemberStatistics() { |
| | | memberStatisticsRef.value?.open(); |
| | | } |
| | | |
| | | /** 发布立项通知 */ |
| | |
| | | <ProcessModal @success="handleRefresh" /> |
| | | <ReviewModal @success="handleRefresh" /> |
| | | <FundModal @success="handleRefresh" /> |
| | | <MemberStatisticsModal ref="memberStatisticsRef" /> |
| | | <Grid table-title="课题申报书列表"> |
| | | <template #toolbar-tools> |
| | | <TableAction |
| | |
| | | onClick: handleCreate, |
| | | }, |
| | | { |
| | | label: '成员统计', |
| | | type: 'primary', |
| | | icon: ACTION_ICON.VIEW, |
| | | auth: ['research:application:query'], |
| | | onClick: handleMemberStatistics, |
| | | }, |
| | | { |
| | | label: '批量删除', |
| | | type: 'primary', |
| | | danger: true, |