Commit a74e17f6592f931304cec562d5e2fa1e0984cd09

Authored by 梁保满
1 parent 54857fa3

隐藏学生画像

src/router/index.js
... ... @@ -373,33 +373,33 @@ let addrouters = [
373 373 }
374 374 ]
375 375 },
376   - {
377   - path: "/portrait",
378   - iconCls: "fa fa-users", // 图标样式class
379   - name: "学生画像",
380   - component: Layout,
381   - alone: true,
382   - children: [
383   - {
384   - path: "/portrait",
385   - iconCls: "fa fa-users", // 图标样式class
386   - name: "",
387   - component: Portrait,
388   - meta: {
389   - keepAlive: true,
390   - },
391   - children: []
392   - },
393   - {
394   - path: "/portraitDetail",
395   - iconCls: "", // 图标样式class
396   - name: "授课端软件",
397   - component: PortraitDetail,
398   - parent: "down",
399   - children: []
400   - }
401   - ]
402   - },
  376 + // {
  377 + // path: "/portrait",
  378 + // iconCls: "fa fa-users", // 图标样式class
  379 + // name: "学生画像",
  380 + // component: Layout,
  381 + // alone: true,
  382 + // children: [
  383 + // {
  384 + // path: "/portrait",
  385 + // iconCls: "fa fa-users", // 图标样式class
  386 + // name: "",
  387 + // component: Portrait,
  388 + // meta: {
  389 + // keepAlive: true,
  390 + // },
  391 + // children: []
  392 + // },
  393 + // {
  394 + // path: "/portraitDetail",
  395 + // iconCls: "", // 图标样式class
  396 + // name: "授课端软件",
  397 + // component: PortraitDetail,
  398 + // parent: "down",
  399 + // children: []
  400 + // }
  401 + // ]
  402 + // },
403 403 ]
404 404 let csAddrouters = [
405 405 {
... ...
src/views/index/mainIndex.vue
... ... @@ -138,11 +138,10 @@
138 138 {{ dataInfo.paperCount }}套答题卡。
139 139 </p>
140 140 </div>
141   - <div class="text" v-else-if="item.path == '/portrait' && !code">
  141 + <!-- <div class="text" v-else-if="item.path == '/portrait'">
142 142 <p class="p1">学生画像</p>
143 143 <p class="p2">共分析{{ dataInfo.imagesCount }}名学生成绩。</p>
144   - <!-- <p class="p2">功能开发中。</p> -->
145   - </div>
  144 + </div> -->
146 145 <div class="text" v-else-if="item.path == '/ask'">
147 146 <p class="p1">随堂问报表</p>
148 147 <p class="p2" v-if="dataInfo.classPeriodCount">
... ...
src/views/standard/test/index.vue
... ... @@ -572,6 +572,7 @@ export default {
572 572 });
573 573 },
574 574 toPortrait(obj) {
  575 + return
575 576 if (this.$store.getters.code) {
576 577 return;
577 578 }
... ...