Selaa lähdekoodia

添加班级类型

吴朋磊 1 kuukausi sitten
vanhempi
commit
c56cb268b9
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      src/views/targetImprove/practice/knowledgeGraph.vue

+ 5 - 3
src/views/targetImprove/practice/knowledgeGraph.vue

@@ -294,11 +294,12 @@ export default {
             : []);
       // 学科code
       const subjectCode = this.subjectCode || '';
-
+      const classType = 1;
       const params = {
         levelCode,
         gradeCodes,
-        subjectCode
+        subjectCode,
+        classType
       };
       this.$api.target.knowledgeGraph(params).then(res => {
         if (res.code == 200 && res.data) {
@@ -341,7 +342,8 @@ export default {
             ? [this.gradeList[this.gradeList.length - 1].value]
             : []);
       const subjectCode = this.subjectCode || '';
-      const params = { levelCode, gradeCodes, subjectCode };
+      const classType = 1;
+      const params = { levelCode, gradeCodes, subjectCode, classType };
 
       this.$api.target.knowledgePartition(params).then(res => {
         if (res.code == 200 && res.data) {