diff --git a/src/router/index.js b/src/router/index.js index 340ac50..756c8c3 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -242,7 +242,11 @@ let addrouters = [ component: AskArchiving, parent: "ask", hidden: true, + meta: { + keepAlive: true, + }, children: [] + } ] }, @@ -283,6 +287,9 @@ let addrouters = [ component: TestArchiving, parent: "test", hidden: true, + meta: { + keepAlive: true, + }, children: [] } @@ -787,23 +794,175 @@ const addroutersPersonal = [ }, ] }, + + // { + // path: "/examinationPaper", + // iconCls: "fa fa-file-text", + // name: "备题组卷", + // component: Layout, + // alone: true, + // children: [ + // { + // path: "/examinationPaper", + // iconCls: "fa fa-file-text", + // name: "examinationPaper", + // component: ExaminationPaper, + // children: [] + // }, + // { + // path: "/examinationPaperAdd", + // iconCls: "", + // name: "examinationPaperAdd", + // component: ExaminationPaperAdd, + // parent: "examinationPaper", + // children: [] + // }, + // { + // path: "/examinationPaperAddQs", + // iconCls: "", + // name: "examinationPaperAddQs", + // component: ExaminationPaperAddQs, + // parent: "examinationPaper", + // children: [] + // }, + // { + // path: "/examinationPaperEdit", + // iconCls: "", + // name: "修改答题卡", + // component: ExaminationPaperEdit, + // parent: "examinationPaper", + // children: [] + // }, + // { + // path: "/examinationPaperRecycle", + // iconCls: "", + // name: "回收站答题卡", + // component: ExaminationPaperRecycle, + // parent: "examinationPaper", + // children: [] + // }, + // { + // path: "/examinationPaperArchiving", + // iconCls: "", + // name: "已归档答题卡", + // component: ExaminationPaperArchiving, + // parent: "examinationPaper", + // hidden: true, + // children: [] + // }, + // ] + // }, + // { + // path: "/ask", + // iconCls: "fa fa-bar-chart", + // name: "随堂问报表", + // component: Layout, + // alone: true, + // children: [ + // { + // path: "/ask", + // iconCls: "fa fa-bar-chart", + // name: "ask", + // name: "随堂问报表", + // component: Ask, + // meta: { + // keepAlive: false, + // }, + // children: [] + + // }, + // { + // path: "/askList", + // iconCls: "fa fa-bar-chart", // 图标样式class + // name: "ask", + // name: "随堂问报表", + // component: AskList, + // meta: { + // keepAlive: true, + // }, + // children: [ + // { + // path: "/askAnalysis", + // iconCls: "", + // name: "随堂问报表分析", + // component: AskAnalysis, + // parent: "ask", + // children: [] + // }, + // { + // path: "/askArchiving", + // iconCls: "", + // name: "随堂问已归档报表分析", + // component: AskArchiving, + // parent: "ask", + // hidden: true, + // meta: { + // keepAlive: true, + // }, + // children: [] + // } + // ] + // }, + // ] + // }, + // { + // path: "/test", + // iconCls: "fa fa-pie-chart", + // name: "即时测报表", + // component: Layout, + // alone: true, + // children: [ + // { + // path: "/test", + // iconCls: "fa fa-pie-chart", + // name: "", + // component: Test, + // meta: { + // keepAlive: true, + // }, + // children: [] + // }, + // { + // path: "/testAnalysis", + // iconCls: "", + // name: "即时测报表分析", + // component: TestAnalysis, + // parent: "test", + // children: [] + // }, + // { + // path: "/testArchiving", + // iconCls: "", + // name: "即时测已归档报表分析", + // component: TestArchiving, + // parent: "test", + // hidden: true, + // meta: { + // keepAlive: true, + // }, + // children: [] + // } + + // ] + // }, + { path: "/examinationPaper", - iconCls: "fa fa-file-text", + iconCls: "fa fa-file-text", // 图标样式class name: "备题组卷", component: Layout, alone: true, children: [ { path: "/examinationPaper", - iconCls: "fa fa-file-text", + iconCls: "fa fa-file-text", // 图标样式class name: "examinationPaper", component: ExaminationPaper, children: [] }, { path: "/examinationPaperAdd", - iconCls: "", + iconCls: "", // 图标样式class name: "examinationPaperAdd", component: ExaminationPaperAdd, parent: "examinationPaper", @@ -811,7 +970,7 @@ const addroutersPersonal = [ }, { path: "/examinationPaperAddQs", - iconCls: "", + iconCls: "", // 图标样式class name: "examinationPaperAddQs", component: ExaminationPaperAddQs, parent: "examinationPaper", @@ -819,7 +978,7 @@ const addroutersPersonal = [ }, { path: "/examinationPaperEdit", - iconCls: "", + iconCls: "", // 图标样式class name: "修改答题卡", component: ExaminationPaperEdit, parent: "examinationPaper", @@ -827,7 +986,7 @@ const addroutersPersonal = [ }, { path: "/examinationPaperRecycle", - iconCls: "", + iconCls: "", // 图标样式class name: "回收站答题卡", component: ExaminationPaperRecycle, parent: "examinationPaper", @@ -835,7 +994,7 @@ const addroutersPersonal = [ }, { path: "/examinationPaperArchiving", - iconCls: "", + iconCls: "", // 图标样式class name: "已归档答题卡", component: ExaminationPaperArchiving, parent: "examinationPaper", @@ -846,91 +1005,97 @@ const addroutersPersonal = [ }, { path: "/ask", - iconCls: "fa fa-bar-chart", + iconCls: "fa fa-bar-chart", // 图标样式class name: "随堂问报表", component: Layout, alone: true, children: [ { path: "/ask", - iconCls: "fa fa-bar-chart", - name: "ask", + iconCls: "fa fa-bar-chart", // 图标样式class name: "随堂问报表", component: Ask, - meta: { - keepAlive: false, - }, children: [] }, { path: "/askList", iconCls: "fa fa-bar-chart", // 图标样式class - name: "ask", name: "随堂问报表", component: AskList, - meta: { - keepAlive: true, - }, children: [ { path: "/askAnalysis", - iconCls: "", + iconCls: "", // 图标样式class name: "随堂问报表分析", component: AskAnalysis, - parent: "ask", + parent: "askList", children: [] }, - { - path: "/askArchiving", - iconCls: "", - name: "随堂问已归档报表分析", - component: AskArchiving, - parent: "ask", - hidden: true, - children: [] - } - ] + + ], }, + { + path: "/askArchiving", + iconCls: "", // 图标样式class + name: "随堂问已归档报表分析", + component: AskArchiving, + parent: "ask", + hidden: true, + meta: { + keepAlive: true, + }, + children: [] + + } ] }, { path: "/test", - iconCls: "fa fa-pie-chart", + iconCls: "fa fa-pie-chart", // 图标样式class name: "即时测报表", component: Layout, alone: true, children: [ { path: "/test", - iconCls: "fa fa-pie-chart", + iconCls: "fa fa-pie-chart", // 图标样式class name: "", component: Test, - meta: { - keepAlive: true, - }, children: [] }, { - path: "/testAnalysis", - iconCls: "", - name: "即时测报表分析", - component: TestAnalysis, - parent: "test", - children: [] + path: "/testList", + name: "", + component: TestList, + + children: [ + { + path: "/testAnalysis", + iconCls: "", // 图标样式class + name: "即时测报表分析", + component: TestAnalysis, + parent: "test", + children: [] + }, + ] }, { path: "/testArchiving", - iconCls: "", + iconCls: "", // 图标样式class name: "即时测已归档报表分析", component: TestArchiving, parent: "test", hidden: true, + meta: { + keepAlive: true, + }, children: [] } ] }, + { path: "/portrait", iconCls: "fa fa-users", diff --git a/src/views/basic/ask/archiving.vue b/src/views/basic/ask/archiving.vue index 028d4f0..e9d28b4 100644 --- a/src/views/basic/ask/archiving.vue +++ b/src/views/basic/ask/archiving.vue @@ -88,7 +88,7 @@
- {{ item }} - + -->
- {{ item }} - + -->