Browse Source

学生画像数据动态

master
wwp 1 month ago
parent
commit
11e5c14b0e
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      SafeCampus.WEB/src/views/violation/portraitSummary/index.vue

+ 5
- 5
SafeCampus.WEB/src/views/violation/portraitSummary/index.vue View File

@@ -65,11 +65,11 @@ const getDataChart = async () => {
getCharts1(sex.data.label, sex.data.value);
/* 获取学生年龄 */
let age: any = await portraitSummaryApi.getStudentAge();
let data = {
label: [89, 99, 36, 29, 31, 30, 28, 22, 32, 33, 35, 12012012, 26, 27, 23],
value: [1, 1, 1, 2, 2, 2, 1, 16, 1, 1, 1, 1, 1, 1, 1]
};
getCharts2(data.label, data.value);
// let data = {
// label: [89, 99, 36, 29, 31, 30, 28, 22, 32, 33, 35, 12012012, 26, 27, 23],
// value: [1, 1, 1, 2, 2, 2, 1, 16, 1, 1, 1, 1, 1, 1, 1]
// };
getCharts2(age.data.label, age.data.value);
/* 获取属性标签 */
let attr: any = await portraitSummaryApi.getStudentAttr();
getCharts4(attr.data.label, attr.data.value);


Loading…
Cancel
Save