zhuth 6 rokov pred
rodič
commit
76a31ca606

+ 1 - 1
frontend/pc-web/app/store/Class.js

@@ -15,7 +15,7 @@ Ext.define('school.store.Class', {
         url: '/api/school/mirror/findClazz',
         reader: {
             type: 'json',
-            rootProperty: 'data.list'
+            rootProperty: 'data'
         }
     },
 });

+ 1 - 1
frontend/pc-web/app/store/Grade.js

@@ -15,7 +15,7 @@ Ext.define('school.store.Grade', {
         url: '/api/school/mirror/findGrade',
         reader: {
             type: 'json',
-            rootProperty: 'data.list'
+            rootProperty: 'data'
         }
     },
 });

+ 1 - 1
frontend/pc-web/app/store/Subject.js

@@ -13,7 +13,7 @@ Ext.define('school.store.Subject', {
         url: '/api/school/mirror/findSubject',
         reader: {
             type: 'json',
-            rootProperty: 'data.list'
+            rootProperty: 'data'
         }
     }
 });

+ 1 - 1
frontend/pc-web/app/view/Interaction/notice/SchoolNoticeModel.js

@@ -26,7 +26,7 @@ Ext.define('school.view.interaction.notice.SchoolNoticeModel', {
                 classNameCombo.setValue(record.get('clazz_name'));
             }
         },
-        classId_change: {
+        gradeId_change: {
             bind: '{gradeId}',
             get: function(v) {
                 if(!v) {