feat: tab页允许手动修改标题 新建流程改为tab页而不是弹框

This commit is contained in:
gaoyunqi
2024-02-05 11:27:33 +08:00
parent 445292105f
commit ec11057a12
7 changed files with 606 additions and 37 deletions

View File

@ -130,23 +130,21 @@ export const USERCENTER_ROUTE: AppRouteRecordRaw = {
],
};
// export const CUSTOMFORM_ROUTE: AppRouteRecordRaw = {
// path: '/custom-form/:id',
// name: 'CustomForm',
// component: LAYOUT,
// // redirect: PageEnum.CUSTOM_FORM,
// meta: {
// title: t('自定义表单'),
// },
// children: [
// {
// path: 'list',
// name: 'CustomFormList',
// component: () => import('/@/views/form/template/index.vue'),
// meta: {
// title: `自定义表单`,
// icon: 'ant-design:user-outlined',
// },
// },
// ],
// };
export const FLOW_ROUTE: AppRouteRecordRaw = {
path: '/flow',
name: 'Flow',
meta: {
title: '流程',
},
component: LAYOUT,
children: [
{
path: 'createFlow',
name: 'CreateFlow',
component: () => import('/@/views/secondDev/createFlow.vue'),
meta: {
title: '新建流程',
},
},
],
};

View File

@ -5,6 +5,7 @@ import {
REDIRECT_ROUTE,
SYSTEM_ROUTE,
USERCENTER_ROUTE,
FLOW_ROUTE,
// CUSTOMFORM_ROUTE,
} from '/@/router/routes/basic';
@ -52,5 +53,6 @@ export const basicRoutes = [
PAGE_NOT_FOUND_ROUTE,
SYSTEM_ROUTE,
USERCENTER_ROUTE,
FLOW_ROUTE,
// CUSTOMFORM_ROUTE,
];