|
|
|
@ -188,23 +188,25 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
Integer sdsfhpzztFcfh[] = new Integer[sdsfhpzztList.size()];//非常满意
|
|
|
|
|
Integer sdsfhpzztBjfh[] = new Integer[sdsfhpzztList.size()];//比较符合
|
|
|
|
|
Integer sdsfhpzztYb[] = new Integer[sdsfhpzztList.size()];//一般
|
|
|
|
|
String strName[] = new String[sdsfhpzztList.size()];
|
|
|
|
|
for(int i=0;i<sdsfhpzztList.size();i++){
|
|
|
|
|
BlTeacherAnswer par = sdsfhpzztList.get(i);
|
|
|
|
|
sdsfhpzztFcfh[i] = Integer.valueOf(par.getFcfh());
|
|
|
|
|
sdsfhpzztBjfh[i] = Integer.valueOf(par.getBjfh());
|
|
|
|
|
sdsfhpzztYb[i] = Integer.valueOf(par.getYb());
|
|
|
|
|
strName[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
//堆叠图 - 教师的师德师风互评各项占比
|
|
|
|
|
String sdsfhpZztImg1Options ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: ['依法依规,履行教师职责', '关心爱护学生', '精神面貌及品德修养良好'],\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(strName)+",\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize: 17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(sdsfhpzztFcfh)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(sdsfhpzztFcfh)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sdsfhpzztBjfh)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sdsfhpzztBjfh)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sdsfhpzztYb)+", barWidth: 60,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
" data: "+JSONObject.toJSONString(sdsfhpzztYb)+", barWidth: 45,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
|
|
|
|
|
String sdsfhpZztImg1 = WebDriverUtil.getImgByte300(sdsfhpZztImg1Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -221,10 +223,10 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("sdsfGxah", sdsfGxah);//数量
|
|
|
|
|
result.put("sdsfJsmm", sdsfJsmm);//数量
|
|
|
|
|
|
|
|
|
|
Integer ldt1Data[] = new Integer[3];
|
|
|
|
|
ldt1Data[0] = (int) Double.parseDouble(sdsfYfyg);
|
|
|
|
|
ldt1Data[1] = (int) Double.parseDouble(sdsfGxah);
|
|
|
|
|
ldt1Data[2] = (int) Double.parseDouble(sdsfJsmm);
|
|
|
|
|
Double ldt1Data[] = new Double[3];
|
|
|
|
|
ldt1Data[0] = Double.parseDouble(sdsfYfyg);
|
|
|
|
|
ldt1Data[1] = Double.parseDouble(sdsfGxah);
|
|
|
|
|
ldt1Data[2] = Double.parseDouble(sdsfJsmm);
|
|
|
|
|
//雷达图
|
|
|
|
|
String sdsfhpLdtImg2Ldt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '依法依规,履行教师职责', max: 5 },\n" +
|
|
|
|
@ -232,7 +234,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '精神面貌及品德修养良好', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt1Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt1Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String sdsfhpLdtImg2 = WebDriverUtil.getImgByte400(sdsfhpLdtImg2Ldt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(sdsfhpLdtImg2);
|
|
|
|
@ -299,17 +301,17 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
String jsjbxwhpTjtImg3Options ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwName)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jsjbxwFcfh)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jsjbxwFcfh)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwBjfh)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwBjfh)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwYb)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwYb)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwBjbfh)+", barWidth: 60,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsjbxwBjbfh)+", barWidth: 45,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
|
|
|
|
|
String jsjbxwhpTjtImg3 = WebDriverUtil.getImgByte500(jsjbxwhpTjtImg3Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -335,13 +337,13 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Integer ldt2Data[] = new Integer[6];
|
|
|
|
|
ldt2Data[0] = (int) Double.parseDouble(jsjbxwhppf1);
|
|
|
|
|
ldt2Data[1] = (int) Double.parseDouble(jsjbxwhppf2);
|
|
|
|
|
ldt2Data[2] = (int) Double.parseDouble(jsjbxwhppf3);
|
|
|
|
|
ldt2Data[3] = (int) Double.parseDouble(jsjbxwhppf4);
|
|
|
|
|
ldt2Data[4] = (int) Double.parseDouble(jsjbxwhppf5);
|
|
|
|
|
ldt2Data[5] = (int) Double.parseDouble(jsjbxwhppf6);
|
|
|
|
|
Double ldt2Data[] = new Double[6];
|
|
|
|
|
ldt2Data[0] = Double.parseDouble(jsjbxwhppf1);
|
|
|
|
|
ldt2Data[1] = Double.parseDouble(jsjbxwhppf2);
|
|
|
|
|
ldt2Data[2] = Double.parseDouble(jsjbxwhppf3);
|
|
|
|
|
ldt2Data[3] = Double.parseDouble(jsjbxwhppf4);
|
|
|
|
|
ldt2Data[4] = Double.parseDouble(jsjbxwhppf5);
|
|
|
|
|
ldt2Data[5] = Double.parseDouble(jsjbxwhppf6);
|
|
|
|
|
//雷达图
|
|
|
|
|
String jsjbxwhpLdtImg4Ldt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '热爱工作,能以最大的热情投身教育行业,积极主动学习', max: 5 },\n" +
|
|
|
|
@ -352,7 +354,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '以身作则,信守承诺', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt2Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt2Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String jsjbxwhpLdtImg4 = WebDriverUtil.getImgByte500(jsjbxwhpLdtImg4Ldt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(jsjbxwhpLdtImg4);
|
|
|
|
@ -398,7 +400,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
list.add(par.getTj3());
|
|
|
|
|
list.add(par.getTj4());
|
|
|
|
|
list.add(par.getTj5());
|
|
|
|
|
list.add(par.getTj5());
|
|
|
|
|
list.add(par.getTj6());
|
|
|
|
|
sixList.add(list);
|
|
|
|
|
}
|
|
|
|
|
wo.insert2Table(6, 1, true, sixList);
|
|
|
|
@ -416,17 +418,16 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
jxnlpjYb[i] = Integer.valueOf(par.getTj3());
|
|
|
|
|
jxnlpjName[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//todo 左侧文字缺失
|
|
|
|
|
String jsdjxnlgfmpggxzbImg5Options ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jxnlpjName)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jxnlpjFcfh)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jxnlpjFcfh)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jxnlpjBjfh)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jxnlpjBjfh)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jxnlpjYb)+", barWidth: 60,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
" data: "+JSONObject.toJSONString(jxnlpjYb)+", barWidth: 45,itemStyle: {color: '#57b8e7'}},]}";
|
|
|
|
|
|
|
|
|
|
String jsdjxnlgfmpggxzbImg5 = WebDriverUtil.getImgByte(jsdjxnlgfmpggxzbImg5Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -449,23 +450,22 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("jsnggfmpj4", jsnggfmpj4);
|
|
|
|
|
result.put("jsnggfmpj5", jsnggfmpj5);
|
|
|
|
|
|
|
|
|
|
Integer ldt3Data[] = new Integer[5];
|
|
|
|
|
ldt2Data[0] = (int) Double.parseDouble(jsjbxwhppf1);
|
|
|
|
|
ldt2Data[1] = (int) Double.parseDouble(jsjbxwhppf2);
|
|
|
|
|
ldt2Data[2] = (int) Double.parseDouble(jsjbxwhppf3);
|
|
|
|
|
ldt2Data[3] = (int) Double.parseDouble(jsjbxwhppf4);
|
|
|
|
|
ldt2Data[4] = (int) Double.parseDouble(jsjbxwhppf5);
|
|
|
|
|
Double ldt3Data[] = new Double[5];
|
|
|
|
|
ldt3Data[0] = Double.parseDouble(jsjbxwhppf1);
|
|
|
|
|
ldt3Data[1] = Double.parseDouble(jsjbxwhppf2);
|
|
|
|
|
ldt3Data[2] = Double.parseDouble(jsjbxwhppf3);
|
|
|
|
|
ldt3Data[3] = Double.parseDouble(jsjbxwhppf4);
|
|
|
|
|
ldt3Data[4] = Double.parseDouble(jsjbxwhppf5);
|
|
|
|
|
//雷达图
|
|
|
|
|
String jsdjxnlgfmpggxzbLdtImg6Ldt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '热爱工作,能以最大的热情投身教育行业,积极主动学习', max: 5 },\n" +
|
|
|
|
|
" { name: '关爱学生,积极帮助学生解决生活或学习上的困难', max: 5 },\n" +
|
|
|
|
|
" { name: '关注学生的心理健康状况', max: 5 },\n" +
|
|
|
|
|
" { name: '教学有序,有清晰合理的教学目标并能清楚地向学生解释', max: 5 },\n" +
|
|
|
|
|
" { name: '育人有方,激发学生的学习兴趣,注重培养学生的创新精神和创新思维', max: 5 },\n" +
|
|
|
|
|
" { name: '以身作则,信守承诺', max: 5 },\n" +
|
|
|
|
|
" { name: '教学认知能力', max: 5 },\n" +
|
|
|
|
|
" { name: '教学设计能力', max: 5 },\n" +
|
|
|
|
|
" { name: '教学调控能力', max: 5 },\n" +
|
|
|
|
|
" { name: '教学评价能力', max: 5 },\n" +
|
|
|
|
|
" { name: '运用媒介能力', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt3Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldt3Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String jsdjxnlgfmpggxzbLdtImg6 = WebDriverUtil.getImgByte500(jsdjxnlgfmpggxzbLdtImg6Ldt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(jsdjxnlgfmpggxzbLdtImg6);
|
|
|
|
@ -508,7 +508,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
list.add(par.getTj2());
|
|
|
|
|
list.add(par.getTj3());
|
|
|
|
|
list.add(par.getTj4());
|
|
|
|
|
list.add(par.getTj4());
|
|
|
|
|
list.add(par.getTj5());
|
|
|
|
|
nightList.add(list);
|
|
|
|
|
}
|
|
|
|
|
wo.insert2Table(9, 1, true, nightList);
|
|
|
|
@ -532,11 +532,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
cnrName[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//单柱图
|
|
|
|
|
String jxsjtrImg7Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },,\n" +
|
|
|
|
|
String jxsjtrImg7Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },\n" +
|
|
|
|
|
" xAxis: { type: 'value',position: 'top',splitLine: {lineStyle: {type: 'dashed'}}},\n" +
|
|
|
|
|
" yAxis: {type: 'category',\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(cnrName)+"\n" +
|
|
|
|
|
" axisLabel:{ fontSize:17 color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" data:"+JSONObject.toJSONString(cnrName)+",\n" +
|
|
|
|
|
" axisLabel:{color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" },\n" +
|
|
|
|
|
" series: [{type: 'bar',label: {show: true,},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cnrFcfh)+" \n" +
|
|
|
|
@ -573,11 +573,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String btgwlxpjsjtrImg8Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['科研工作', '教学准备(包括批阅学生作业和评分)', '教学任务', '给学生答疑和辅导', '院系/部门工作和会议及其他行政工作', '兼职及其他社会服务工作'] }, series: [ {\n" +
|
|
|
|
|
"data: ['科研工作', '教学准备(包括批阅学生作业和评分)', '教学任务', '给学生答疑和辅导', '院系/部门工作和会议及其他行政工作', '兼职及其他社会服务工作'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxpjsjTj1)+" }, {\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxpjsjTj1)+" ,label:{show: true,position: 'outside'},}, {\n" +
|
|
|
|
|
" name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxpjsjTj2)+" } ] }";
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxpjsjTj2)+" ,label:{show: true,position: 'outside'},} ] }";
|
|
|
|
|
String btgwlxpjsjtrImg8 = WebDriverUtil.getImgByte(btgwlxpjsjtrImg8Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(btgwlxpjsjtrImg8);
|
|
|
|
@ -626,15 +626,15 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String btzcjspjtrscImg9Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['科研工作', '教学任务', '教学准备(包括批阅学生作业和评分)', '给学生答疑和辅导', '院系/部门工作和会议及其他行政工作', '兼职及其他社会服务工作'] }, series: [ {\n" +
|
|
|
|
|
"data: ['科研工作', '教学任务', '教学准备(包括批阅学生作业和评分)', '给学生答疑和辅导', '院系/部门工作和会议及其他行政工作', '兼职及其他社会服务工作'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '正高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj1)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj1)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '副高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj2)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj2)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '中级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj3)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj3)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '初级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj4)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzxpjsjTj4)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String btzcjspjtrscImg9 = WebDriverUtil.getImgByte(btzcjspjtrscImg9Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -659,13 +659,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
wo.insert2Table(10, 1, true, tenList);
|
|
|
|
|
|
|
|
|
|
//教学任务分配情况百分比
|
|
|
|
|
BlTeacherAnswer jxrwfpqkbfb = baseMapper.getSelectJxrwfpqkbfb(blTeacherMain);
|
|
|
|
|
if(jxrwfpqkbfb!=null){
|
|
|
|
|
result.put("jxrwfpqkbfb1", jxrwfpqkbfb.getTj1());
|
|
|
|
|
result.put("jxrwfpqkbfb2", jxrwfpqkbfb.getTj2());
|
|
|
|
|
result.put("jxrwfpqkbfb3", jxrwfpqkbfb.getTj3());
|
|
|
|
|
result.put("jxrwfpqkbfb4", jxrwfpqkbfb.getTj4());
|
|
|
|
|
}
|
|
|
|
|
BlTeacherAnswer jxrwfpqkbfb = baseMapper.getSelectJxrwfpqkbfb2(blTeacherMain);
|
|
|
|
|
result.put("jxrwfpqkbfb1", jxrwfpqkbfb.getTj1());
|
|
|
|
|
result.put("jxrwfpqkbfb2", jxrwfpqkbfb.getTj2());
|
|
|
|
|
result.put("jxrwfpqkbfb3", jxrwfpqkbfb.getTj3());
|
|
|
|
|
result.put("jxrwfpqkbfb4", jxrwfpqkbfb.getTj4());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//教师在各类教学任务分配比例
|
|
|
|
@ -678,11 +676,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
jszgljxrwfpblData[i] = (int) Double.parseDouble(par.getTj1());
|
|
|
|
|
}
|
|
|
|
|
//单柱图
|
|
|
|
|
String jszgljxrwfpbl10Options =" option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },,\n" +
|
|
|
|
|
String jszgljxrwfpbl10Options =" option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },\n" +
|
|
|
|
|
" xAxis: { type: 'value',position: 'top',splitLine: {lineStyle: {type: 'dashed'}}},\n" +
|
|
|
|
|
" yAxis: {type: 'category',\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(jszgljxrwfpblname)+"\n" +
|
|
|
|
|
" axisLabel:{ fontSize:17 color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" data:"+JSONObject.toJSONString(jszgljxrwfpblname)+",\n" +
|
|
|
|
|
" axisLabel:{color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" },\n" +
|
|
|
|
|
" series: [{type: 'bar',label: {show: true,},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jszgljxrwfpblData)+" \n" +
|
|
|
|
@ -717,11 +715,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String jszgljxrwfpbl11Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['低年级本科专业必修课', '专业选修课', '研究生课程', '高年级本科专业必修课', '公共通识课程'] }, series: [ {\n" +
|
|
|
|
|
"data: ['低年级本科专业必修课', '专业选修课', '研究生课程', '高年级本科专业必修课', '公共通识课程'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjszgxgzrdpjsjtr2)+" }, {\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjszgxgzrdpjsjtr2)+" ,label:{show: true,position: 'outside'},}, {\n" +
|
|
|
|
|
" name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjszgxgzrdpjsjtr1)+" } ] }";
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjszgxgzrdpjsjtr1)+" ,label:{show: true,position: 'outside'},} ] }";
|
|
|
|
|
String jszgljxrwfpbl11 = WebDriverUtil.getImgByte(jszgljxrwfpbl11Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(jszgljxrwfpbl11);
|
|
|
|
@ -764,32 +762,18 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//多柱图
|
|
|
|
|
// String jszgljxrwfpbl12Options = "option = {\n" +
|
|
|
|
|
// " tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
// "data: ['研究生课程', '低年级本科专业必修课', '专业选修课', '高年级本科专业必修课', '公共通识课程'] }, series: [ {\n" +
|
|
|
|
|
// " name: '正高级', type: 'bar',\n" +
|
|
|
|
|
// " data: "+JSONObject.toJSONString(btzcjszgljxrwzb1)+" }, " +
|
|
|
|
|
// "{ name: '副高级', type: 'bar',\n" +
|
|
|
|
|
// " data: "+JSONObject.toJSONString(btzcjszgljxrwzb2)+" } " +
|
|
|
|
|
// "{ name: '中级', type: 'bar',\n" +
|
|
|
|
|
// " data: "+JSONObject.toJSONString(btzcjszgljxrwzb3)+" } " +
|
|
|
|
|
// "{ name: '初级', type: 'bar',\n" +
|
|
|
|
|
// " data: "+JSONObject.toJSONString(btzcjszgljxrwzb4)+" } " +
|
|
|
|
|
// "] }";
|
|
|
|
|
|
|
|
|
|
String jszgljxrwfpbl12Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['研究生课程', '低年级本科专业必修课', '专业选修课', '高年级本科专业必修课', '公共通识课程'] }, series: [ {\n" +
|
|
|
|
|
"data: ['研究生课程', '低年级本科专业必修课', '专业选修课', '高年级本科专业必修课', '公共通识课程'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '正高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb1)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb1)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '副高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb2)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb2)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '中级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb3)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb3)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '初级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb4)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjszgljxrwzb4)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
//todo 有问题
|
|
|
|
|
String jszgljxrwfpbl12 = WebDriverUtil.getImgByte(jszgljxrwfpbl12Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(jszgljxrwfpbl12);
|
|
|
|
@ -820,7 +804,6 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("szkctjfx4", szkcAcswer.getTj4());
|
|
|
|
|
|
|
|
|
|
//课程教学融入思政元素的方式
|
|
|
|
|
// todo 柱状图文字展示有问题
|
|
|
|
|
List<BlTeacherAnswer> kcjxrrszysTjtList = baseMapper.getSelectKcjxrrszysTjt(blTeacherMain);
|
|
|
|
|
Integer kcjxrrszysTjt1[] = new Integer[kcjxrrszysTjtList.size()];//
|
|
|
|
|
String kcjxrrszysTjt2[] = new String[kcjxrrszysTjtList.size()];//名称
|
|
|
|
@ -830,11 +813,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
kcjxrrszysTjt2[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//单柱图
|
|
|
|
|
String szkc13Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },,\n" +
|
|
|
|
|
String szkc13Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },\n" +
|
|
|
|
|
" xAxis: { type: 'value',position: 'top',splitLine: {lineStyle: {type: 'dashed'}}},\n" +
|
|
|
|
|
" yAxis: {type: 'category',\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(kcjxrrszysTjt2)+"\n" +
|
|
|
|
|
" axisLabel:{ fontSize:17 color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" data:"+JSONObject.toJSONString(kcjxrrszysTjt2)+",\n" +
|
|
|
|
|
" axisLabel:{color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" },\n" +
|
|
|
|
|
" series: [{type: 'bar',label: {show: true,},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kcjxrrszysTjt1)+" \n" +
|
|
|
|
@ -871,11 +854,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String szkc14Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['以讲授为主融入课程内容', '在学生参与讨论、展示等课堂互动环节中融入', '融入课堂作业、论文中', '融入实验、实训中', '并未涉及题目所述内容'] }, series: [ {\n" +
|
|
|
|
|
"data: ['以讲授为主融入课程内容', '在学生参与讨论、展示等课堂互动环节中融入', '融入课堂作业、论文中', '融入实验、实训中', '并未涉及题目所述内容'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjskcjxrrszys2)+" }, {\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjskcjxrrszys2)+" ,label:{show: true,position: 'outside'},}, {\n" +
|
|
|
|
|
" name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjskcjxrrszys1)+" } ] }";
|
|
|
|
|
" data: "+JSONObject.toJSONString(btgwlxjskcjxrrszys1)+" ,label:{show: true,position: 'outside'},} ] }";
|
|
|
|
|
String szkc14 = WebDriverUtil.getImgByte(szkc14Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(szkc14);
|
|
|
|
@ -919,15 +902,15 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String szkc15Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['以讲授为主融入课程内容', '在学生参与讨论、展示等课堂互动环节中融入', '融入课堂作业、论文中', '融入实验、实训中', '并未涉及题目所述内容'] }, series: [ {\n" +
|
|
|
|
|
"data: ['以讲授为主融入课程内容', '在学生参与讨论、展示等课堂互动环节中融入', '融入课堂作业、论文中', '融入实验、实训中', '并未涉及题目所述内容'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '正高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys1)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys1)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '副高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys2)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys2)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '中级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys3)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys3)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '初级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys4)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(btzcjskcjxrrszys4)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String szkc15 = WebDriverUtil.getImgByte(szkc15Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -972,19 +955,19 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图 教师在课程“两性一度”的实施情况各项占比
|
|
|
|
|
String kclxyd16Options ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxName)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(kclxydTjfxDdt1)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(kclxydTjfxDdt1)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt2)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt2)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt3)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt3)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt4)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt4)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '非常不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt5)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(kclxydTjfxDdt5)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String kclxyd16 = WebDriverUtil.getImgByte500(kclxyd16Options);
|
|
|
|
@ -1009,13 +992,13 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("lxydldt5", ldt5);
|
|
|
|
|
result.put("lxydldt6", ldt6);
|
|
|
|
|
//雷达图 课程“两性一度”的实施情况
|
|
|
|
|
Integer ldtLxydData[] = new Integer[6];
|
|
|
|
|
ldtLxydData[0] = (int)Double.parseDouble(ldt1);
|
|
|
|
|
ldtLxydData[1] = (int)Double.parseDouble(ldt2);
|
|
|
|
|
ldtLxydData[2] = (int)Double.parseDouble(ldt3);
|
|
|
|
|
ldtLxydData[3] = (int)Double.parseDouble(ldt4);
|
|
|
|
|
ldtLxydData[4] = (int)Double.parseDouble(ldt5);
|
|
|
|
|
ldtLxydData[5] = (int)Double.parseDouble(ldt6);
|
|
|
|
|
Double ldtLxydData[] = new Double[6];
|
|
|
|
|
ldtLxydData[0] =Double.parseDouble(ldt1);
|
|
|
|
|
ldtLxydData[1] =Double.parseDouble(ldt2);
|
|
|
|
|
ldtLxydData[2] =Double.parseDouble(ldt3);
|
|
|
|
|
ldtLxydData[3] =Double.parseDouble(ldt4);
|
|
|
|
|
ldtLxydData[4] =Double.parseDouble(ldt5);
|
|
|
|
|
ldtLxydData[5] =Double.parseDouble(ldt6);
|
|
|
|
|
String kclxyd17Ldt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '课程将知识、能力、素养进行了有机融合', max: 5 },\n" +
|
|
|
|
|
" { name: '课程教学培养了我解决复杂问题的综合能力', max: 5 },\n" +
|
|
|
|
@ -1025,7 +1008,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '需要非常努力才能达到课程要求', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldtLxydData)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldtLxydData)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String kclxyd17 = WebDriverUtil.getImgByte(kclxyd17Ldt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(kclxyd17);
|
|
|
|
@ -1085,20 +1068,19 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("cglndxbfb5", cgdxln1.getTj5());
|
|
|
|
|
|
|
|
|
|
//教师评价“成果导向”理念的落实情况
|
|
|
|
|
//todo 左侧文字展示有问题
|
|
|
|
|
List<BlTeacherAnswer> cgdxTjt1List = baseMapper.getSelectcgdxTjt1(blTeacherMain);
|
|
|
|
|
Integer cgdxTjt1Num[] = new Integer[jxsjtrTjtList.size()];//
|
|
|
|
|
String cgdxTjt1Name[] = new String[jxsjtrTjtList.size()];//名称
|
|
|
|
|
Integer cgdxTjt1Num[] = new Integer[cgdxTjt1List.size()];//
|
|
|
|
|
String cgdxTjt1Name[] = new String[cgdxTjt1List.size()];//名称
|
|
|
|
|
for(int i=0;i<cgdxTjt1List.size();i++){
|
|
|
|
|
BlTeacherAnswer par = cgdxTjt1List.get(i);
|
|
|
|
|
cgdxTjt1Num[i] = (int)Double.parseDouble(par.getTj1());
|
|
|
|
|
cgdxTjt1Name[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//单柱图
|
|
|
|
|
String cgdxTjtImg18Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },,\n" +
|
|
|
|
|
String cgdxTjtImg18Options = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },\n" +
|
|
|
|
|
" xAxis: { type: 'value',position: 'top',splitLine: {lineStyle: {type: 'dashed'}}},\n" +
|
|
|
|
|
" yAxis: {type: 'category',\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(cgdxTjt1Name)+"\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(cgdxTjt1Name)+",\n" +
|
|
|
|
|
" axisLabel:{ fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" },\n" +
|
|
|
|
|
" series: [{type: 'bar',label: {show: true,},\n" +
|
|
|
|
@ -1133,11 +1115,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String kclxyd19Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['我会根据学生学习效果,及时反思总结,改进我的教学', '我明确任教课程对整体人才培养目标的关联与责任', '我很了解人才培养方案的主要内容', '我将“学生中心”理念全面落实在自己的各个教育教学工作中', '我会对应学生的毕业要求制定课程目标'] }, series: [ {\n" +
|
|
|
|
|
"data: ['我会根据学生学习效果,及时反思总结,改进我的教学', '我明确任教课程对整体人才培养目标的关联与责任', '我很了解人才培养方案的主要内容', '我将“学生中心”理念全面落实在自己的各个教育教学工作中', '我会对应学生的毕业要求制定课程目标'],inverse:true }, series: [ {\n" +
|
|
|
|
|
" name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt2Num)+" }, {\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt2Num)+" ,label:{show: true,position: 'outside'},}, {\n" +
|
|
|
|
|
" name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt2Num1)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt2Num1)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String kclxyd19 = WebDriverUtil.getImgByte(kclxyd19Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -1183,15 +1165,15 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String kclxyd20Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['我明确任教课程对整体人才培养目标的关联与责任','我会根据学生学习效果,及时反思总结,改进我的教学','我很了解人才培养方案的主要内容',' “我将“学生中心”理念全面落实在自己的各个教育教学工作中','我会对应学生的毕业要求制定课程目标'] }, series: [ " +
|
|
|
|
|
"data: ['我明确任教课程对整体人才培养目标的关联与责任','我会根据学生学习效果,及时反思总结,改进我的教学','我很了解人才培养方案的主要内容',' “我将“学生中心”理念全面落实在自己的各个教育教学工作中','我会对应学生的毕业要求制定课程目标'],inverse:true }, series: [ " +
|
|
|
|
|
"{ name: '正高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '副高级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num1)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num1)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '中级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num2)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num2)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '初级', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num3)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(cgdxTjt3Num3)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String kclxyd20 = WebDriverUtil.getImgByte500(kclxyd20Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -1226,19 +1208,19 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//教师课下与学生在不同方面交流的比例
|
|
|
|
|
//todo 左侧展示有问题
|
|
|
|
|
List<BlTeacherAnswer> sshdbfbTjt1 = baseMapper.getSelectsshdbfbTjt1(blTeacherMain);
|
|
|
|
|
Integer sshdbfbzt1[] = new Integer[jxsjtrTjtList.size()];//
|
|
|
|
|
String sshdbfbztName[] = new String[jxsjtrTjtList.size()];//名称
|
|
|
|
|
Integer sshdbfbzt1[] = new Integer[sshdbfbTjt1.size()];//
|
|
|
|
|
String sshdbfbztName[] = new String[sshdbfbTjt1.size()];//名称
|
|
|
|
|
for(int i=0;i<sshdbfbTjt1.size();i++){
|
|
|
|
|
BlTeacherAnswer par = sshdbfbTjt1.get(i);
|
|
|
|
|
sshdbfbzt1[i] = (int)Double.parseDouble(par.getTj1());
|
|
|
|
|
sshdbfbztName[i] = par.getLsname();
|
|
|
|
|
}
|
|
|
|
|
//单柱图
|
|
|
|
|
String sshd21ImgOptions = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },,\n" +
|
|
|
|
|
String sshd21ImgOptions = "option = { tooltip: {trigger: 'axis',},grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true },\n" +
|
|
|
|
|
" xAxis: { type: 'value',position: 'top',splitLine: {lineStyle: {type: 'dashed'}}},\n" +
|
|
|
|
|
" yAxis: {type: 'category',\n" +
|
|
|
|
|
" data:"+JSONObject.toJSONString(sshdbfbztName)+"\n" +
|
|
|
|
|
" axisLabel:{ fontSize:17 color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" data:"+JSONObject.toJSONString(sshdbfbztName)+",\n" +
|
|
|
|
|
" axisLabel:{color:'#333',fontSize:17,formatter: function (value) { let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;}}"+
|
|
|
|
|
" },\n" +
|
|
|
|
|
" series: [{type: 'bar',label: {show: true,},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdbfbzt1)+" \n" +
|
|
|
|
@ -1293,15 +1275,15 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String sshdTjt22Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['答疑课程内容、指导课程作业','讨论世界观、人生观、价值观等问题','关注学生的心理健康状况','我将“学生中心”理念全面落实在自己的各个教育教学工作中','指导学生从事研究项目和竞赛活动','职业生涯规划与就业创业',] }, series: [ " +
|
|
|
|
|
"data: ['答疑课程内容、指导课程作业','讨论世界观、人生观、价值观等问题','关注学生的心理健康状况','我将“学生中心”理念全面落实在自己的各个教育教学工作中','指导学生从事研究项目和竞赛活动','职业生涯规划与就业创业',],inverse:true }, series: [ " +
|
|
|
|
|
"{ name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt21)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt21)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt22)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt22)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt23)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt23)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '辅导员', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt24)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt24)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String sshdTjt22OptionsImg = WebDriverUtil.getImgByte400(sshdTjt22Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -1350,15 +1332,15 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//多柱图
|
|
|
|
|
String sshdTjt32Options = "option = {\n" +
|
|
|
|
|
" tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value', boundaryGap: [0, 0.01] }, yAxis: { type: 'category',\n" +
|
|
|
|
|
"data: ['答疑课程内容、指导课程作业','指导学期、学年和毕业论文','讨论世界观、人生观、价值观等问题','指导学生从事研究项目和竞赛活动','关注学生的心理健康状况','指导学生职业生涯规划与就业创业'] }, series: [ " +
|
|
|
|
|
"data: ['答疑课程内容、指导课程作业','指导学期、学年和毕业论文','讨论世界观、人生观、价值观等问题','指导学生从事研究项目和竞赛活动','关注学生的心理健康状况','指导学生职业生涯规划与就业创业'],inverse:true }, series: [ " +
|
|
|
|
|
"{ name: '教学科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt31)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt31)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '教学型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt32)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt32)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '科研型', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt33)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt33)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"{ name: '辅导员', type: 'bar',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt34)+" }, " +
|
|
|
|
|
" data: "+JSONObject.toJSONString(sshdTjt34)+" ,label:{show: true,position: 'outside'},}, " +
|
|
|
|
|
"] }";
|
|
|
|
|
String sshdTjt32OptionsImg = WebDriverUtil.getImgByte500(sshdTjt32Options);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
@ -1405,20 +1387,19 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
String xsxxzdxTjt1ImgOptions ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt1Name)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333',fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333',fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ " +
|
|
|
|
|
" { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt11)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt11)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt12)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt12)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt13)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt13)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt14)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt14)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '非常不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt15)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(xsxxzdxTjt15)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
// todo 展示有问题
|
|
|
|
|
String xsxxzdxTjt1Img = WebDriverUtil.getImgByte500(xsxxzdxTjt1ImgOptions);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(xsxxzdxTjt1Img);
|
|
|
|
@ -1433,11 +1414,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("xxzdxbfb3", xxzdxLdt.getTj3());
|
|
|
|
|
result.put("xxzdxbfb4", xxzdxLdt.getTj4());
|
|
|
|
|
|
|
|
|
|
Integer ldtData[] = new Integer[4];
|
|
|
|
|
ldtData[0] = (int)Double.parseDouble(xxzdxLdt.getTj1());
|
|
|
|
|
ldtData[1] = (int)Double.parseDouble(xxzdxLdt.getTj2());
|
|
|
|
|
ldtData[2] = (int)Double.parseDouble(xxzdxLdt.getTj3());
|
|
|
|
|
ldtData[3] = (int)Double.parseDouble(xxzdxLdt.getTj4());
|
|
|
|
|
Double ldtData[] = new Double[4];
|
|
|
|
|
ldtData[0] = Double.parseDouble(xxzdxLdt.getTj1());
|
|
|
|
|
ldtData[1] = Double.parseDouble(xxzdxLdt.getTj2());
|
|
|
|
|
ldtData[2] = Double.parseDouble(xxzdxLdt.getTj3());
|
|
|
|
|
ldtData[3] = Double.parseDouble(xxzdxLdt.getTj4());
|
|
|
|
|
//雷达图
|
|
|
|
|
String xxzdxoptionsLdt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题', max: 5 },\n" +
|
|
|
|
@ -1445,8 +1426,8 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '课后复习笔记及总结课堂教学相关知识', max: 5 },\n" +
|
|
|
|
|
" { name: '除了阅读教材,还延伸阅读教师推荐的其他相关书目', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldtData)+ " ,},]}]}";
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 13) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(ldtData)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String xxzdxldt25 = WebDriverUtil.getImgByte500(xxzdxoptionsLdt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(xxzdxldt25);
|
|
|
|
@ -1511,18 +1492,18 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
String jsfz1ImgOptions ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz1Name)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ " +
|
|
|
|
|
" { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jsfz11)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(jsfz11)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz12)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz12)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz13)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz13)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz14)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(jsfz14)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String jsfz1Img = WebDriverUtil.getImgByte(jsfz1ImgOptions);
|
|
|
|
@ -1539,11 +1520,11 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("jsfzbfb3", jsfz2Ldt.getTj3());
|
|
|
|
|
result.put("jsfzbfb4", jsfz2Ldt.getTj4());
|
|
|
|
|
|
|
|
|
|
Integer jsfz2Data[] = new Integer[4];
|
|
|
|
|
jsfz2Data[0] = (int)Double.parseDouble(jsfz2Ldt.getTj1());
|
|
|
|
|
jsfz2Data[1] = (int)Double.parseDouble(jsfz2Ldt.getTj2());
|
|
|
|
|
jsfz2Data[2] = (int)Double.parseDouble(jsfz2Ldt.getTj3());
|
|
|
|
|
jsfz2Data[3] = (int)Double.parseDouble(jsfz2Ldt.getTj4());
|
|
|
|
|
Double jsfz2Data[] = new Double[4];
|
|
|
|
|
jsfz2Data[0] = Double.parseDouble(jsfz2Ldt.getTj1());
|
|
|
|
|
jsfz2Data[1] = Double.parseDouble(jsfz2Ldt.getTj2());
|
|
|
|
|
jsfz2Data[2] = Double.parseDouble(jsfz2Ldt.getTj3());
|
|
|
|
|
jsfz2Data[3] = Double.parseDouble(jsfz2Ldt.getTj4());
|
|
|
|
|
//雷达图
|
|
|
|
|
String jsfz2optionsLdt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '学校重视教师培训与职业发展,相关制度完善', max: 100 },\n" +
|
|
|
|
@ -1552,7 +1533,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '国际交流与培训活动', max: 100 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(jsfz2Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(jsfz2Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String jsfz27 = WebDriverUtil.getImgByte(jsfz2optionsLdt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(jsfz27);
|
|
|
|
@ -1626,18 +1607,18 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
String zyfwyzc1ImgOptions ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc1Name)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ " +
|
|
|
|
|
" { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zyfwyzc11)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zyfwyzc11)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc12)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc12)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc13)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc13)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc14)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zyfwyzc14)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String zyfwyzc1Img = WebDriverUtil.getImgByte500(zyfwyzc1ImgOptions);
|
|
|
|
@ -1656,13 +1637,13 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("zyfwyzcbfb5", zyfwyzc2Ldt.getTj5());
|
|
|
|
|
result.put("zyfwyzcbfb6", zyfwyzc2Ldt.getTj6());
|
|
|
|
|
|
|
|
|
|
Integer zyfwyzc2Data[] = new Integer[6];
|
|
|
|
|
zyfwyzc2Data[0] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj1());
|
|
|
|
|
zyfwyzc2Data[1] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj2());
|
|
|
|
|
zyfwyzc2Data[2] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj3());
|
|
|
|
|
zyfwyzc2Data[3] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj4());
|
|
|
|
|
zyfwyzc2Data[4] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj5());
|
|
|
|
|
zyfwyzc2Data[5] = (int)Double.parseDouble(zyfwyzc2Ldt.getTj6());
|
|
|
|
|
Double zyfwyzc2Data[] = new Double[6];
|
|
|
|
|
zyfwyzc2Data[0] = Double.parseDouble(zyfwyzc2Ldt.getTj1());
|
|
|
|
|
zyfwyzc2Data[1] = Double.parseDouble(zyfwyzc2Ldt.getTj2());
|
|
|
|
|
zyfwyzc2Data[2] = Double.parseDouble(zyfwyzc2Ldt.getTj3());
|
|
|
|
|
zyfwyzc2Data[3] = Double.parseDouble(zyfwyzc2Ldt.getTj4());
|
|
|
|
|
zyfwyzc2Data[4] = Double.parseDouble(zyfwyzc2Ldt.getTj5());
|
|
|
|
|
zyfwyzc2Data[5] = Double.parseDouble(zyfwyzc2Ldt.getTj6());
|
|
|
|
|
//雷达图
|
|
|
|
|
String zyfwyzc2optionsLdt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '我清楚自己的岗位职责和要求', max: 5 },\n" +
|
|
|
|
@ -1673,7 +1654,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '我和同事们的教学和科研投入分配合理', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zyfwyzc2Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zyfwyzc2Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String zyfwyzc27 = WebDriverUtil.getImgByte(zyfwyzc2optionsLdt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(zyfwyzc27);
|
|
|
|
@ -1718,6 +1699,8 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
list.add(par.getTj2());
|
|
|
|
|
list.add(par.getTj3());
|
|
|
|
|
list.add(par.getTj4());
|
|
|
|
|
list.add(par.getTj5());
|
|
|
|
|
list.add(par.getTj6());
|
|
|
|
|
zyfwyzc23list.add(list);
|
|
|
|
|
}
|
|
|
|
|
wo.insert2Table(26, 1, true, zyfwyzc23list);
|
|
|
|
@ -1746,31 +1729,31 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
String zytjpj1ImgOptions ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj1Name)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ " +
|
|
|
|
|
" { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zytjpj11)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zytjpj11)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj12)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj12)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj13)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj13)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj14)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj14)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '非常不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj15)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj15)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String zytjpj1Img = WebDriverUtil.getImgByte(zytjpj1ImgOptions);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(zytjpj1Img);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
result.put("zytjpj30", zytjpj1Img);
|
|
|
|
|
result.put("jxpjgz30", zytjpj1Img);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//教师对本校教学评价各方面工作的评价
|
|
|
|
|
BlTeacherAnswer zytjpj2Ldt = baseMapper.getSelectzytjpj2(blTeacherMain);
|
|
|
|
|
BlTeacherAnswer zytjpj2Ldt = baseMapper.getSelectzytjpj2Ldt(blTeacherMain);
|
|
|
|
|
result.put("zytjpjbfb1", zytjpj2Ldt.getTj1());
|
|
|
|
|
result.put("zytjpjbfb2", zytjpj2Ldt.getTj2());
|
|
|
|
|
result.put("zytjpjbfb3", zytjpj2Ldt.getTj3());
|
|
|
|
@ -1778,22 +1761,24 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("zytjpjbfb5", zytjpj2Ldt.getTj5());
|
|
|
|
|
result.put("zytjpjbfb6", zytjpj2Ldt.getTj6());
|
|
|
|
|
|
|
|
|
|
Integer zytjpj2Data[] = new Integer[4];
|
|
|
|
|
zytjpj2Data[0] = (int)Double.parseDouble(zytjpj2Ldt.getTj1());
|
|
|
|
|
zytjpj2Data[1] = (int)Double.parseDouble(zytjpj2Ldt.getTj2());
|
|
|
|
|
zytjpj2Data[2] = (int)Double.parseDouble(zytjpj2Ldt.getTj3());
|
|
|
|
|
zytjpj2Data[3] = (int)Double.parseDouble(zytjpj2Ldt.getTj4());
|
|
|
|
|
Double zytjpj2Data[] = new Double[6];
|
|
|
|
|
zytjpj2Data[0] = Double.parseDouble(zytjpj2Ldt.getTj1());
|
|
|
|
|
zytjpj2Data[1] = Double.parseDouble(zytjpj2Ldt.getTj2());
|
|
|
|
|
zytjpj2Data[2] = Double.parseDouble(zytjpj2Ldt.getTj3());
|
|
|
|
|
zytjpj2Data[3] = Double.parseDouble(zytjpj2Ldt.getTj4());
|
|
|
|
|
zytjpj2Data[4] = Double.parseDouble(zytjpj2Ldt.getTj5());
|
|
|
|
|
zytjpj2Data[5] = Double.parseDouble(zytjpj2Ldt.getTj6());
|
|
|
|
|
//雷达图
|
|
|
|
|
String zytjpj2optionsLdt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '我清楚自己的岗位职责和要求', max: 5 },\n" +
|
|
|
|
|
" { name: '我周围的教授同事们都为本科生上课', max: 5 },\n" +
|
|
|
|
|
" { name: '我和同事们都很乐意开展教学研究和改革', max: 5 },\n" +
|
|
|
|
|
" { name: '我和同事们都注重将科研成果融入教学', max: 5 },\n" +
|
|
|
|
|
" { name: '我和同事们都注重提升产学研用能力', max: 5 },\n" +
|
|
|
|
|
" { name: '我和同事们的教学和科研投入分配合理', max: 5 },\n" +
|
|
|
|
|
" { name: '教学评价体现学生中心,突出产出导向', max: 5 },\n" +
|
|
|
|
|
" { name: '评价方式多样,评价主体多元,评价指标科学、具体可测', max: 5 },\n" +
|
|
|
|
|
" { name: '教学评价针对性地改进了我的教学内容和方法', max: 5 },\n" +
|
|
|
|
|
" { name: '教学评价促进了学生学习效果的提升', max: 5 },\n" +
|
|
|
|
|
" { name: '教学督导员的督导对我的教学工作帮助很大', max: 5 },\n" +
|
|
|
|
|
" { name: '学校教学激励制度完善,并促进了教师的教学积极性', max: 5 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zytjpj2Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zytjpj2Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String zytjpj27 = WebDriverUtil.getImgByte(zytjpj2optionsLdt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(zytjpj27);
|
|
|
|
@ -1844,11 +1829,6 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
wo.insert2Table(29, 1, true, zytjpj23list);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//资源条件评价
|
|
|
|
|
//教师对本校资源条件的满意度评价各项占比
|
|
|
|
|
List<BlTeacherAnswer> zytjpj2List = baseMapper.getSelectzytjpj1(blTeacherMain);
|
|
|
|
@ -1869,20 +1849,20 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
//堆叠图
|
|
|
|
|
String zytjpj2ImgOptions ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj2Name)+",\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700 , formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ " +
|
|
|
|
|
" { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zytjpj21)+", barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: "+ JSONObject.toJSONString(zytjpj21)+", barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj22)+", barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj22)+", barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj23)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj23)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj24)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj24)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '非常不符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj25)+", barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: "+JSONObject.toJSONString(zytjpj25)+", barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String zytjpj2Img = WebDriverUtil.getImgByte(zytjpj2ImgOptions);
|
|
|
|
@ -1900,12 +1880,12 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
result.put("zytjpjbfb4", zytjpj12Ldt.getTj4());
|
|
|
|
|
result.put("zytjpjbfb5", zytjpj12Ldt.getTj5());
|
|
|
|
|
|
|
|
|
|
Integer zytjpj12Data[] = new Integer[5];
|
|
|
|
|
zytjpj12Data[0] = (int)Double.parseDouble(zytjpj12Ldt.getTj1());
|
|
|
|
|
zytjpj12Data[1] = (int)Double.parseDouble(zytjpj12Ldt.getTj2());
|
|
|
|
|
zytjpj12Data[2] = (int)Double.parseDouble(zytjpj12Ldt.getTj3());
|
|
|
|
|
zytjpj12Data[3] = (int)Double.parseDouble(zytjpj12Ldt.getTj4());
|
|
|
|
|
zytjpj12Data[4] = (int)Double.parseDouble(zytjpj12Ldt.getTj5());
|
|
|
|
|
Double zytjpj12Data[] = new Double[5];
|
|
|
|
|
zytjpj12Data[0] = Double.parseDouble(zytjpj12Ldt.getTj1());
|
|
|
|
|
zytjpj12Data[1] = Double.parseDouble(zytjpj12Ldt.getTj2());
|
|
|
|
|
zytjpj12Data[2] = Double.parseDouble(zytjpj12Ldt.getTj3());
|
|
|
|
|
zytjpj12Data[3] = Double.parseDouble(zytjpj12Ldt.getTj4());
|
|
|
|
|
zytjpj12Data[4] = Double.parseDouble(zytjpj12Ldt.getTj5());
|
|
|
|
|
//雷达图
|
|
|
|
|
String zytjpj12optionsLdt = "option = { radar: { radius: '60%',indicator: [\n" +
|
|
|
|
|
" { name: '教室及教学设备', max: 100 },\n" +
|
|
|
|
@ -1915,7 +1895,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
" { name: '体育文化等基础设施', max: 100 },\n" +
|
|
|
|
|
" ],name: {textStyle: {color: 'black',fontSize: 20,lineHeight: 24,},\n" +
|
|
|
|
|
" formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;},},},\n" +
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zytjpj12Data)+ " ,},]}]}";
|
|
|
|
|
" series: [{type: 'radar',data: [{value: \n" +JSONObject.toJSONString(zytjpj12Data)+ " ,label:{show: true,position: 'outside',fontSize:20},},]}]}";
|
|
|
|
|
String zytjpj127 = WebDriverUtil.getImgByte(zytjpj12optionsLdt);
|
|
|
|
|
System.out.println("================================");
|
|
|
|
|
System.out.println(zytjpj127);
|
|
|
|
@ -1978,17 +1958,17 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
//教师对学校的整体满意度各项占比
|
|
|
|
|
//堆叠图
|
|
|
|
|
String ztmydzb1Options ="option = { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },\n" +
|
|
|
|
|
" legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" legend: { textStyle: {color:'#333', fontSize: 18 }}, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { type: 'value' }, yAxis: { type: 'category',\n" +
|
|
|
|
|
" data: ['对学校的整体满意度'],\n" +
|
|
|
|
|
" axisLabel: { fontSize:17 color:'#333', fontSize:17, fontWeight: 700, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" axisLabel: {color:'#333', fontSize:17, formatter: function (value) {let list = value.split(\"\");let result = \"\"; for (let i = 1; i <= list.length; i++) {if (!(i % 10) && list[i] != undefined) { result += list[i - 1] + '\\n';} else {result += list[i - 1];} }return result;} } },\n" +
|
|
|
|
|
" series: [ { name: '非常符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj1())+"], barWidth: 60, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj1())+"], barWidth: 45, itemStyle: { color: '#2350a0' } },\n" +
|
|
|
|
|
" { name: '比较符合', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 }, emphasis: { focus: 'series' },\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj2())+"], barWidth: 60, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj2())+"], barWidth: 45, itemStyle: { color: '#008ac8' } },\n" +
|
|
|
|
|
" { name: '一般', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj3())+"], barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj3())+"], barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" { name: '比较不满意', type: 'bar', stack: 'total', label: { show: true, fontSize: 30 },emphasis: {focus: 'series'},\n" +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj4())+"], barWidth: 60,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
" data: ["+(int)Double.parseDouble(ztmydzb.getTj4())+"], barWidth: 45,itemStyle: {color: '#57b8e7'}}," +
|
|
|
|
|
"]}";
|
|
|
|
|
|
|
|
|
|
String ztmydzb1Img = WebDriverUtil.getImgByte(ztmydzb1Options);
|
|
|
|
@ -2031,7 +2011,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
String xxztmyd3Options ="option = {\n" +
|
|
|
|
|
" title: {subtext: '(%)'},legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }},,tooltip: {},\n" +
|
|
|
|
|
" title: {subtext: '(%)'},legend: { textStyle: {color:'#333', fontSize: 18 }},tooltip: {},\n" +
|
|
|
|
|
" dataset: {source: [ \n" +
|
|
|
|
|
" ['对学校整体的满意度', "+num1+", "+num2+", "+num3+", "+num4+"], \n" +
|
|
|
|
|
" ]},xAxis: { type: 'category' },yAxis: {}, \n" +
|
|
|
|
@ -2066,7 +2046,7 @@ public class BlTeacherAnswerServiceImpl extends ServiceImpl<BlTeacherAnswerMappe
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
String zcxxztmyd3Options ="option = {\n" +
|
|
|
|
|
" title: {subtext: '(%)'},legend: { textStyle: { fontSize:17 color:'#333', fontSize: 32 }},,tooltip: {},\n" +
|
|
|
|
|
" title: {subtext: '(%)'},legend: { textStyle: {color:'#333', fontSize: 18 }},tooltip: {},\n" +
|
|
|
|
|
" dataset: {source: [ \n" +
|
|
|
|
|
" ['对学校整体的满意度', "+zcnum1+", "+zcnum2+", "+zcnum3+", "+zcnum4+"], \n" +
|
|
|
|
|
" ]},xAxis: { type: 'category' },yAxis: {}, \n" +
|
|
|
|
|