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