chore: 修改请假demo路径
This commit is contained in:
parent
d7d3186ef0
commit
5e5f4fbb97
@ -138,7 +138,7 @@ const profileRoute: RouteRecordStringComponent[] = [
|
|||||||
},
|
},
|
||||||
name: 'WorkflowLeave',
|
name: 'WorkflowLeave',
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: '/workflow/leave',
|
redirect: '/workflow/leaveEdit/index',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
component: 'workflow/leave/leave-form',
|
component: 'workflow/leave/leave-form',
|
||||||
@ -148,7 +148,7 @@ const profileRoute: RouteRecordStringComponent[] = [
|
|||||||
title: '请假申请',
|
title: '请假申请',
|
||||||
},
|
},
|
||||||
name: 'WorkflowLeaveIndex',
|
name: 'WorkflowLeaveIndex',
|
||||||
path: '/workflow/leave',
|
path: '/workflow/leaveEdit/index',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -161,7 +161,7 @@ const profileRoute: RouteRecordStringComponent[] = [
|
|||||||
hideInMenu: true,
|
hideInMenu: true,
|
||||||
},
|
},
|
||||||
name: 'WorkflowLeaveInner',
|
name: 'WorkflowLeaveInner',
|
||||||
path: '/workflow/leave-inner',
|
path: '/workflow/leaveEdit/index/iframe',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ async function handleCancel() {
|
|||||||
<div class="h-fulloverflow-y-auto">
|
<div class="h-fulloverflow-y-auto">
|
||||||
<!-- <Alert message="该页面仅为静态页 后期可能会用到!" type="info" /> -->
|
<!-- <Alert message="该页面仅为静态页 后期可能会用到!" type="info" /> -->
|
||||||
<iframe
|
<iframe
|
||||||
:src="`/workflow/leave-inner?readonly=true&id=${task.businessId}`"
|
:src="`/workflow/leaveEdit/index/iframe?readonly=true&id=${task.businessId}`"
|
||||||
class="h-[300px] w-full"
|
class="h-[300px] w-full"
|
||||||
></iframe>
|
></iframe>
|
||||||
<Divider />
|
<Divider />
|
||||||
|
@ -72,7 +72,7 @@ const [LeaveModal, modalApi] = useVbenModal({
|
|||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
function handleAdd() {
|
function handleAdd() {
|
||||||
router.push('/workflow/leave');
|
router.push('/workflow/leaveEdit/index');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleEdit(row: Required<LeaveForm>) {
|
async function handleEdit(row: Required<LeaveForm>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user