16 lines
380 B
TypeScript
16 lines
380 B
TypeScript
|
import { RouterJumpVo } from '@/api/workflow/workflowCommon/types';
|
||
|
|
||
|
export default {
|
||
|
routerJump(routerJumpVo: RouterJumpVo, proxy) {
|
||
|
proxy.$tab.closePage(proxy.$route);
|
||
|
proxy.$router.push({
|
||
|
path: routerJumpVo.formPath,
|
||
|
query: {
|
||
|
id: routerJumpVo.businessId,
|
||
|
type: routerJumpVo.type,
|
||
|
taskId: routerJumpVo.taskId
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
};
|