File was renamed from src/views/EmploymentManage/TaskManage.vue |
| | |
| | | :operationBtns="operationBtns" |
| | | > |
| | | <template #signNum="{ row }"> |
| | | <el-button type="text" @click="goSignList(row.id)">{{ row.signNum || 0 }}</el-button> |
| | | <el-button link type="primary" @click="goSignList(row)">{{ row.signNum || 0 }}</el-button> |
| | | </template> |
| | | </ProTableV2> |
| | | </AppContainer> |
| | |
| | | import { useGlobalEventContext } from '@/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'TaskManage', |
| | | name: 'EmploymentManageList', |
| | | }); |
| | | |
| | | const operationBtns = defineOperationBtns([ |
| | |
| | | |
| | | const eventContext = useGlobalEventContext(); |
| | | |
| | | eventContext.addEvent('taskManage:add', () => { |
| | | eventContext.addEvent('employment:add', () => { |
| | | getList(); |
| | | }); |
| | | |
| | | eventContext.addEvent('taskManage:edit', () => { |
| | | eventContext.addEvent('employment:edit', () => { |
| | | getList(paginationState.pageIndex); |
| | | }); |
| | | |