Commit 8a092267e0365340b0cc3b20f763d2d443a76503

Authored by 梁保满
1 parent 4d81bacb

长水隐藏学生画像

Showing 1 changed file with 3 additions and 1 deletions
src/views/index/mainIndex.vue
... ... @@ -138,7 +138,7 @@
138 138 {{ dataInfo.paperCount }}套答题卡。
139 139 </p>
140 140 </div>
141   - <div class="text" v-else-if="item.path == '/portrait'">
  141 + <div class="text" v-else-if="item.path == '/portrait' && !code">
142 142 <p class="p1">学生画像</p>
143 143 <p class="p2">共分析{{ dataInfo.imagesCount }}名学生成绩。</p>
144 144 <!-- <p class="p2">功能开发中。</p> -->
... ... @@ -242,6 +242,7 @@ export default {
242 242 type: "",
243 243 navList: [],
244 244 dataInfo: {},
  245 + code:""
245 246 };
246 247 },
247 248 watch: {
... ... @@ -251,6 +252,7 @@ export default {
251 252 },
252 253 },
253 254 created() {
  255 + this.code = localStorage.getItem("csCode") || "";
254 256 this._Init(this.$store.getters.info.showRoleName);
255 257 this._QueryData();
256 258 },
... ...