Files
td_official/src/api/workflow/workflowCommon/index.ts

18 lines
475 B
TypeScript
Raw Normal View History

2025-05-21 11:24:53 +08:00
import { RouterJumpVo } from '@/api/workflow/workflowCommon/types';
export default {
routerJump(routerJumpVo: RouterJumpVo, proxy) {
console.log(routerJumpVo.formPath);
2025-05-21 11:24:53 +08:00
proxy.$tab.closePage(proxy.$route);
2025-05-21 11:24:53 +08:00
proxy.$router.push({
path: routerJumpVo.formPath ? '/' + routerJumpVo.formPath : routerJumpVo.formPath,
2025-05-21 11:24:53 +08:00
query: {
id: routerJumpVo.businessId,
type: routerJumpVo.type,
taskId: routerJumpVo.taskId
}
});
}
};