From 5a42c80256c7cbed5bfa59d458bb648858911f94 Mon Sep 17 00:00:00 2001 From: zwq Date: Wed, 2 Mar 2022 11:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index 89c6110..6994c7e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -393,6 +393,45 @@ export const constantRoutes = [ } ] }, + { + path: '/form', + component: Layout, + redirect: '/form', + name: 'formManage', + meta: { title: routerTitle.form?.[language] || routerTitle.form.en, icon: 'form', iconPart: 'formManage', affix: true, required: true, requireToken: true, unuse: false }, + children: [{ + path: 'report', + component: () => import('@/views/report-manage/ReportSortChoise'), + name: 'Report', + meta: { title: routerTitle.form.report?.[language] || routerTitle.form.report.en, icon: 'form', affix: true, required: true, requireToken: true } + }, + { + path: 'report-sort-list', + component: () => import('@/views/report-manage/Report'), + name: 'ReportSortList', + hidden: true, + meta: { title: routerTitle.form.reportSortList?.[language] || routerTitle.form.reportSortList.en, icon: 'form', affix: true, required: true, requireToken: true } + }, + { + path: 'report-view', + component: () => import('@/views/report-manage/ReportView'), + name: 'ReportDesign', + meta: { title: routerTitle.form.reportView?.[language] || routerTitle.form.reportView.en, icon: 'form', affix: true, required: true, requireToken: true }, + hidden: true + }, + { + path: 'report-design', + component: () => import('@/views/report-manage/ReportDesign'), + name: 'ReportDesign', + meta: { title: routerTitle.form.reportDesign?.[language] || routerTitle.form.reportDesign.en, icon: 'form', affix: true, required: true, requireToken: true } + }, + { + path: 'report-sort', + component: () => import('@/views/report-manage/ReportSort/index'), + name: 'ReportSort', + meta: { title: routerTitle.form.reportSort?.[language] || routerTitle.form.reportSort.en, icon: 'form', affix: true, required: true, requireToken: true } + }] + }, { path: '/basic', component: Layout,