From a74e17f6592f931304cec562d5e2fa1e0984cd09 Mon Sep 17 00:00:00 2001 From: 梁保满 Date: Thu, 16 Mar 2023 11:53:39 +0800 Subject: [PATCH] 隐藏学生画像 --- src/router/index.js | 54 +++++++++++++++++++++++++++--------------------------- src/views/index/mainIndex.vue | 5 ++--- src/views/standard/test/index.vue | 1 + 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 82d69e2..264dd31 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -373,33 +373,33 @@ let addrouters = [ } ] }, - { - path: "/portrait", - iconCls: "fa fa-users", // 图标样式class - name: "学生画像", - component: Layout, - alone: true, - children: [ - { - path: "/portrait", - iconCls: "fa fa-users", // 图标样式class - name: "", - component: Portrait, - meta: { - keepAlive: true, - }, - children: [] - }, - { - path: "/portraitDetail", - iconCls: "", // 图标样式class - name: "授课端软件", - component: PortraitDetail, - parent: "down", - children: [] - } - ] - }, + // { + // path: "/portrait", + // iconCls: "fa fa-users", // 图标样式class + // name: "学生画像", + // component: Layout, + // alone: true, + // children: [ + // { + // path: "/portrait", + // iconCls: "fa fa-users", // 图标样式class + // name: "", + // component: Portrait, + // meta: { + // keepAlive: true, + // }, + // children: [] + // }, + // { + // path: "/portraitDetail", + // iconCls: "", // 图标样式class + // name: "授课端软件", + // component: PortraitDetail, + // parent: "down", + // children: [] + // } + // ] + // }, ] let csAddrouters = [ { diff --git a/src/views/index/mainIndex.vue b/src/views/index/mainIndex.vue index fbb7101..5e8f3ee 100644 --- a/src/views/index/mainIndex.vue +++ b/src/views/index/mainIndex.vue @@ -138,11 +138,10 @@ {{ dataInfo.paperCount }}套答题卡。

-
+ -
+ -->

随堂问报表

diff --git a/src/views/standard/test/index.vue b/src/views/standard/test/index.vue index e172cd0..5f894ad 100644 --- a/src/views/standard/test/index.vue +++ b/src/views/standard/test/index.vue @@ -572,6 +572,7 @@ export default { }); }, toPortrait(obj) { + return if (this.$store.getters.code) { return; } -- libgit2 0.21.4