chenmy 6 tahun lalu
induk
melakukan
f848eb22a1

+ 4 - 0
TEAMModelOS/ClientApp/components/SAchooseattention.vue

@@ -86,6 +86,10 @@
       //获取关注年级值
       listchange(value, selectedData){
         //console.log(value,33333);
+        this.$get('api/class/getBase?identity=Chanegrade')
+          .then((response) => {
+            console.log(response.result.data,789789789);
+                  })
           }
     },
   }

+ 244 - 0
TEAMModelOS/JsonFile/Changegrade.json

@@ -0,0 +1,244 @@
+{
+  "grade": "2",
+  "value": "xiaoxue",
+  "label": "小学",
+  "term": [
+    {
+      "value": "2018",
+      "label": "2018年",
+      "children": [
+        {
+          "value": "shang",
+          "label": "上学期"
+        },
+        {
+          "value": "xia",
+          "label": "下学期"
+        }
+      ]
+    },
+    {
+      "value": "2019",
+      "label": "2019年",
+      "children": [
+        {
+          "value": "shang",
+          "label": "上学期"
+        },
+        {
+          "value": "xia",
+          "label": "下学期"
+        }
+      ]
+    }
+  ],
+  "exam": [
+    {
+      "page": "1",
+      "returnnum": "15",
+      "data": [
+        {
+          "id": "1",
+          "title": "2018年第5次考试学情诊断",
+          "type": "校考",
+          "time": "2018-10-05",
+          "typename": "校级联考",
+          "num": "1563"
+        },
+        {
+          "id": "2",
+          "title": "2018年第4次考试学情诊断",
+          "type": "校考",
+          "time": "2018-10-05",
+          "typename": "校级联考",
+          "num": "1563"
+        },
+        {
+          "id": "3",
+          "title": "2018年第3次考试学情诊断",
+          "type": "测试",
+          "time": "2018-10-05",
+          "typename": "测验",
+          "num": "1563"
+        },
+        {
+          "id": "4",
+          "title": "2018年第2次考试学情诊断",
+          "type": "校考",
+          "time": "2018-10-05",
+          "typename": "校级联考",
+          "num": "1563"
+        },
+        {
+          "id": "5",
+          "title": "2018年第1次考试学情诊断",
+          "type": "校考",
+          "time": "2018-10-05",
+          "typename": "校级联考",
+          "num": "1563"
+        }
+      ]
+    }
+  ],
+  "base": [
+    {
+      "id": "1",
+      "title": "本次统计班级数",
+      "num": "22",
+      "total": "总班级数:23"
+    },
+    {
+      "id": "2",
+      "title": "本次统计学生数",
+      "num": "730",
+      "total": "总学生数:750"
+    },
+    {
+      "id": "3",
+      "title": "年级平均得分",
+      "num": "430",
+      "total": "全科满分:750"
+    },
+    {
+      "id": "4",
+      "title": "年级最高总分",
+      "num": "67",
+      "total": "全科总分:750"
+    },
+    {
+      "id": "5",
+      "title": "年级最低总分",
+      "num": "190",
+      "total": "全科总分:750"
+    }
+  ],
+  "barecharts": {
+    "mode": false,
+    "titledata": [ "语文", "数学", "英语" ],
+    "object_name": [ "二年级一班", "二年级二班", "二年级三班", "二年级四班", "二年级五班" ],
+
+    "languagedata": [ "85", "82", "78", "72", "89" ],
+
+    "mathdata": [ "92", "90", "75", "82", "85" ],
+
+    "englishdata": [ "88", "92", "68", "70", "89" ],
+
+    "area_score": [ "260", "260", "260", "260", "260" ]
+  },
+  "leida": {
+    "mode": false,
+    "titledata": [ "年级数据", "区级数据" ],
+    "dataname": [ "年级 VS 区域" ],
+    "data1": [ "88", "92", "85" ],
+    "data2": [ "90", "88", "93" ],
+    "indicator": [
+      {
+        "name": "语文",
+        "max": 100
+      },
+      {
+        "name": "数学",
+        "max": 100
+      },
+      {
+        "name": "英语",
+        "max": 100
+      }
+    ]
+  },
+  "pie": [
+    {
+      "id": "1",
+      "title": "全校平均",
+      "belowscore": "75.2",
+      "score": "82",
+      "subject": "语文",
+      "occupy": "75",
+      "surplus": "25",
+      "below_title": "全区平均",
+      "icon_type": "md-arrow-dropup",
+      "icon_color": "icon_top",
+      "color": "#1cd0a1",
+      "state": 1
+    },
+    {
+
+      "id": "2",
+      "title": "全校平均",
+      "score": "78",
+      "subject": "数学",
+      "occupy": "65",
+      "surplus": "35",
+      "below_title": "全区平均",
+      "belowscore": "82",
+      "icon_type": "md-arrow-dropdown",
+      "icon_color": "icon_down",
+      "color": "#ff6b6b",
+      "state": 0
+    },
+    {
+
+      "id": "3",
+      "title": "全校平均",
+      "score": "88",
+      "subject": "英语",
+      "occupy": "85",
+      "surplus": "15",
+      "below_title": "全区平均",
+      "belowscore": "82",
+      "icon_type": "md-arrow-dropup",
+      "icon_color": "icon_top",
+      "color": "#1cd0a1",
+      "state": 1
+    }
+  ],
+  "examtype": [
+    {
+      "value": "ceyan",
+      "label": "测验"
+    },
+    {
+      "value": "yuekao",
+      "label": "月考"
+    },
+    {
+      "value": "zhoukao",
+      "label": "周考"
+    },
+    {
+      "value": "nianjikao",
+      "label": "年级考"
+    },
+    {
+      "value": "qimo",
+      "label": "期末"
+    }
+  ],
+  "linechart": {
+    "model": true,
+    "obj_name": [ "二年级一班", "二年级二班", "二年级三班", "二年级四班", "二年级五班" ],
+    "obj_data": [ "2019第一次校级联考", "2019第二次校级联考", "2019第三次校级联考", "2019第四次校级联考", "2019第五次校级联考" ],
+    "obj_series": [
+      {
+        "name": "二年级一班",
+        "data": [ "260", "270", "250", "290", "250" ]
+      },
+      {
+        "name": "二年级二班",
+        "data": [ "260", "220", "250", "250", "220" ]
+      },
+      {
+        "name": "二年级三班",
+        "data": [ "230", "230", "240", "230", "210" ]
+      },
+      {
+        "name": "二年级四班",
+        "data": [ "220", "280", "230", "210", "220" ]
+      },
+      {
+        "name": "二年级五班",
+        "data": [ "240", "235", "248", "215", "240" ]
+      }
+    ]
+  }
+}

+ 2 - 0
TEAMModelOS/TEAMModelOS.csproj

@@ -42,4 +42,6 @@
       </ResolvedFileToPublish>
     </ItemGroup>
   </Target>
+
+  <ProjectExtensions><VisualStudio><UserProperties JsonFile_4EcharsL_1json__JSONSchema="http://json.schemastore.org/band-manifest" /></VisualStudio></ProjectExtensions>
 </Project>