瀏覽代碼

添加班级类型

吴朋磊 1 月之前
父節點
當前提交
c56cb268b9
共有 1 個文件被更改,包括 5 次插入 和 3 次删除
  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) {