| | |
| | | import { $t } from '#/locales'; |
| | | |
| | | import { useGridColumns, useGridFormSchema, usePreviewColumns } from './data'; |
| | | import FormModal from './modules/form.vue'; |
| | | |
| | | // 核算弹窗相关 |
| | | const formModalRef = ref(); |
| | | const calculateVisible = ref(false); |
| | | const calculatePeriod = ref<string>(); |
| | | const calculateDeptId = ref<number>(); |
| | |
| | | </div> |
| | | </Modal> |
| | | |
| | | <FormModal ref="formModalRef" @success="handleRefresh" /> |
| | | <Grid table-title="薪酬核算列表"> |
| | | <template #toolbar-tools> |
| | | <TableAction |
| | |
| | | <TableAction |
| | | :actions="[ |
| | | { |
| | | label: '修改', |
| | | type: 'link', |
| | | auth: ['hrm:salary-calculation:calculate'], |
| | | ifShow: row.status === 0, |
| | | onClick: () => formModalRef.value?.open(row), |
| | | }, |
| | | { |
| | | label: '确认', |
| | | type: 'link', |
| | | auth: ['hrm:salary-calculation:confirm'], |