Ver Fonte

拔尖人才学生管理去除教师文字

11wqe1 há 1 semana atrás
pai
commit
2eaa6470f2

+ 5 - 1
src/components/pages/test/dataCom/radarZong.vue

@@ -33,6 +33,10 @@ export default {
       default: function() {
         return {};
       }
+    },
+    gotype: {
+      type: String,
+      default: ''
     }
   },
   data() {
@@ -112,7 +116,7 @@ export default {
               }
             },
             value: option.xdata,
-            name: "全体教师平均得分率"
+            name: `全体${this.gotype ? '' : '教师'}平均得分率`
           };
         } else {
           // this.option.series[0].data.splice(0,1)

+ 3 - 1
src/components/pages/test/databoard.vue

@@ -125,16 +125,18 @@
         <radarZong
           :evCourseArray="zongJson"
           :evCourseArray2="zongJson2"
+          :gotype="gotype"
           v-if="checkSet"
         ></radarZong>
         <radarZong
           :evCourseArray="zongJson2"
           :evCourseArray2="{}"
+          :gotype="gotype"
           v-else
         ></radarZong>
       </div>
       <div class="randarBox">
-        <div class="title">教师详情</div>
+        <div class="title"> <span v-if="!gotype">教师</span>详情</div>
         <div
           class="randarTeacher"
           v-for="(item, index) in tableData"