吸怪bug

This commit is contained in:
yangjun 2024-06-28 19:43:36 +08:00
parent b543bd7595
commit 6ebd987736
8 changed files with 291 additions and 247 deletions

View File

@ -177,4 +177,8 @@ public interface BlTeacherAnswerMapper extends BaseMapper<BlTeacherAnswer> {
List<BlTeacherAnswer> getSelectxxztmyd4(BlTeacherInfo blTeacherMain);
//各学院教师对学校整体的满意度
List<BlTeacherAnswer> getSelectxxztmyd5(BlTeacherInfo blTeacherMain);
//教师对本校教学评价各方面工作的评价
BlTeacherAnswer getSelectzytjpj2Ldt(BlTeacherInfo blTeacherMain);
//教学任务分配情况百分比
BlTeacherAnswer getSelectJxrwfpqkbfb2(BlTeacherInfo blTeacherMain);
}

View File

@ -72,6 +72,7 @@
</select>
<!-- 师德师风互评柱状图-->
<select id="getSelectSdsfhpzzt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '依法依规,履行教师职责' as lsname,
round(round(a.fc_cnt/f.tot_cnt,2)*100) as fcfh,
round(round(b.bj_cnt/f.tot_cnt,2)*100) as bjfh,
@ -101,6 +102,8 @@
(select count('x') as bj_cnt from bl_teacher_answer where SDSF_JSMM = '比较符合' and main_id = #{id})b,
(select count('x') as yb_cnt from bl_teacher_answer where SDSF_JSMM = '一般' and main_id = #{id})c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id})f
) t
ORDER BY fcfh asc
</select>
<!-- 教师的师德师风互评-评分-->
<select id="getSelectSdsfhppingfen" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -167,47 +170,49 @@
<!-- 教师基本行为互评柱状图-->
<select id="getSelectJsjbxwhpzzt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '以身作则,信守承诺' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/e.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_COMMIT ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_COMMIT ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_COMMIT ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_COMMIT ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
union all
select '教学有序,有清晰合理的教学目标并能清楚地向学生解释' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/e.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/e.tot_cnt,2)*100)as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_AIM ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_AIM ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_AIM ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_AIM ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
union all
select '热爱工作,能以最大的热情投身教育行业,积极主动学习' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/e.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/e.tot_cnt,2)*100)as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_PASSION ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_PASSION ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_PASSION ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_PASSION ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
union all
select '关爱学生,积极帮助学生解决生活或学习上的困难' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/e.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/e.tot_cnt,2)*100)as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_SOLVE ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_SOLVE ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_SOLVE ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_SOLVE ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
union all
select '关注学生的心理健康状况' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/e.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/e.tot_cnt,2)*100)as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_MENTAL ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_MENTAL ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_MENTAL ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_MENTAL ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
union all
select '育人有方,激发学生的学习兴趣,注重培养学生的创新精神和创新思维' as lsname,round(round(a.fc_cnt/e.tot_cnt,2)*100),round(round(b.bj_cnt/e.tot_cnt,2)*100),round(round(c.yb_cnt/e.tot_cnt,2)*100)as tj3,round(round(c.yb_cnt/e.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_CREATE ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_CREATE ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_CREATE ='一般')c,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and BEHAVIOR_CREATE ='比较不符合')d,
(select count('x') as tot_cnt from bl_teacher_answer) e
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) e
) t order by tj1 asc
</select>
<!-- 教师基本行为互评雷达图及评分-->
<select id="getSelectJsjbxwhpLdtzb" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -322,6 +327,7 @@
</select>
<!-- 教师对教学能力各方面评价各项占比-->
<select id="getSelectJxnlpjTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '目标明确,熟悉教材,了解学生,教学认知能力强' as lsname,round(round(a.fc_cnt/d.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/d.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/d.tot_cnt,2)*100) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_KNOW ='比较符合')b,
@ -346,11 +352,12 @@
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_TECH ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
union all
select '坚持产出导向,定量定性相结合,综合知识、能力与素质,注重过程性评价,教学评价能力强' as lsname,round(round(a.fc_cnt/d.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/d.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/d.tot_cnt,2)*100) from
select '坚持产出导向,定量定性相结合,综合知识、能力与素质' as lsname,round(round(a.fc_cnt/d.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/d.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/d.tot_cnt,2)*100) as tj3 from
(select count('x') as fc_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='非常符合')a,
(select count('x') as bj_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='比较符合')b,
(select count('x') as yb_cnt from bl_teacher_answer where main_id = #{id} and SKILL_ASSESS ='一般')c,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id} ) d
) t order by tj1 asc
</select>
<!-- 教师对教学能力各方面的评价雷达图-->
<select id="getSelectJxnlpjLdt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -445,6 +452,7 @@
</select>
<!-- 教师各项工作的平均时间投入-->
<select id="getSelectJxsjtrTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '科研工作' as lsname,round(round(sum(SPEND_RESEARCH)/count('x'),2)) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '教学准备(包括批阅学生作业和评分)' as lsname,round(round(sum(SPEND_PREPARE)/count('x'),2)) as tj1 from bl_teacher_answer where main_id = #{id}
@ -456,6 +464,7 @@
select '院系/部门工作和会议及其他行政工作' as lsname,round(round(sum(SPEND_MEETING)/count('x'),2)) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '兼职及其他社会服务工作' as lsname,round(round(sum(SPEND_PARTTIME)/count('x'),2)) as tj1 from bl_teacher_answer where main_id = #{id}
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
@ -480,7 +489,7 @@
from bl_teacher_answer
where main_id = #{id} and POSITIONTYPE = '教学型'
</select>
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
<!-- 不同职称教师在各项工作上的平均时间投入-->
<select id="getSelectBtzcjspjtrscTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select '正高级' as lsname,
round(round(sum(SPEND_RESEARCH)/count('x'),2)) as tj1,
@ -535,14 +544,24 @@
</select>
<!-- 教学任务分配情况百分比-->
<select id="getSelectJxrwfpqkbfb" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select concat(round(round(sum(JSKC_DNJ)/count('x'),2)*100),'%') as t1,
concat(round(round(sum(JSKC_GNJ)/count('x'),2)*100),'%') as t2,
concat(round(round(sum(JSKC_ZYXXK)/count('x'),2)*100),'%') as t3,
concat(round(round(sum(JSKC_GGTS)/count('x'),2)*100),'%') as t4
select concat(round(round(sum(JSKC_DNJ)/count('x'),2)*100),'%') as tj1,
concat(round(round(sum(JSKC_GNJ)/count('x'),2)*100),'%') as tj2,
concat(round(round(sum(JSKC_ZYXXK)/count('x'),2)*100),'%') as tj3,
concat(round(round(sum(JSKC_GGTS)/count('x'),2)*100),'%') as tj4
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
</select>
<!-- 教学任务分配情况百分比-->
<select id="getSelectJxrwfpqkbfb2" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select concat(round(round(sum(JSKC_DNJ)/count('x'),2)*100),'%') as tj1,
concat(round(round(sum(JSKC_GNJ)/count('x'),2)*100),'%') as tj2,
concat(round(round(sum(JSKC_ZYXXK)/count('x'),2)*100),'%') as tj3,
concat(round(round(sum(JSKC_GGTS)/count('x'),2)*100),'%') as tj4
from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
</select>
<!-- 教师在各类教学任务分配比例-->
<select id="getSelectJszgljxrwfpbl" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '低年级本科专业必修课' as lsname,round(round(sum(JSKC_DNJ)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
union all
select '专业选修课' as lsname,round(round(sum(JSKC_ZYXXK)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
@ -552,6 +571,7 @@
select '高年级本科专业必修课' as lsname,round(round(sum(JSKC_GNJ)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
union all
select '公共通识课程' as lsname,round(round(sum(JSKC_GGTS)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id} and POSITIONTYPE = '教学科研型'
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师在各项工作上的平均时间投入-->
<select id="getSelectBtgwlxjszgxgzrdpjsjtr" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -633,6 +653,7 @@
</select>
<!-- 课程教学融入思政元素的方式-->
<select id="getSelectKcjxrrszysTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '以讲授为主融入课程内容' as lsname,round(round(sum(RRFS_COURSE)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '在学生参与讨论、展示等课堂互动环节中融入' as lsname,round(round(sum(RRFS_DISCUSS)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
@ -642,6 +663,7 @@
select '融入实验、实训中' as lsname,round(round(sum(RRFS_INTERN)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '并未涉及题目所述内容' as lsname,round(round(sum(RRFS_NO)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师课程教学融入思政元素的方式-->
<select id="getSelectBtgwlxjskcjxrrszys" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -714,6 +736,7 @@
<!-- 课程“两性一度”-->
<select id="getSelectKclxyd1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '高阶性' as des,'课程将知识、能力、素养进行了有机融合' as lsname,
round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,
round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,
@ -791,6 +814,7 @@
(select count('x') as bjb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '比较不符合')d,
(select count('x') as fcb_cnt from bl_teacher_answer where main_id = #{id} and ZYK_EFFORT = '非常不符合')e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id})f
) t order by tj1 asc
</select>
<!-- 课程“两性一度”的实施情况 雷达图-->
@ -918,6 +942,7 @@
<!-- 教师评价“成果导向”理念的落实情况-->
<select id="getSelectcgdxTjt1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '我会根据学生学习效果,及时反思总结,改进我的教学' as lsname,round(round(sum(LINIAN_ZJGJ)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '我明确任教课程对整体人才培养目标的关联与责任' as lsname,round(round(sum(LINIAN_PYMB)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
@ -927,6 +952,7 @@
select '我将“学生中心”理念全面落实在自己的各个教育教学工作中' as lsname,round(round(sum(LINIAN_XSZX)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '我会对应学生的毕业要求制定课程目标' as lsname,round(round(sum(LINIAN_BYYQ)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
) t order by tj1 asc
</select>
<!-- 不同岗位类型教师评价“成果导向”理念的落实情况-->
@ -1012,6 +1038,7 @@
</select>
<!-- 教师课下与学生在不同方面交流的比例-->
<select id="getSelectsshdbfbTjt1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '答疑课程内容、指导课程作业' as lsname,round(round(sum(EXCHANGE_ZDKC)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '讨论世界观、人生观、价值观等问题' as lsname,round(round(sum(EXCHANGE_TLSG)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
@ -1023,6 +1050,7 @@
select '指导学生从事研究项目和竞赛活动' as lsname,round(round(sum(EXCHANGE_ZDXM)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
union all
select '职业生涯规划与就业创业' as lsname,round(round(sum(EXCHANGE_ZYGH)/count('x'),2)*100) as tj1 from bl_teacher_answer where main_id = #{id}
) t order by tj1
</select>
<!-- 不同职称教师在各项工作上的平均时间投入-->
@ -1123,6 +1151,7 @@
</select>
<!-- 教师评价各环节上的学生学习主动性各项占比-->
<select id="getSelectxsxxzdxTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '课前运用网络课程平台、教材或资料进行自主预学,梳理知识并发现问题' as lsname,
round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,
round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,
@ -1174,6 +1203,7 @@
(select count('x') as bjb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='比较不符合' and main_id = #{id} )d,
(select count('x') as fcb_cnt from bl_teacher_answer where AFTER_CLASS_READ ='非常不符合' and main_id = #{id} )e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
) t order by tj1 asc
</select>
<!-- 教师评价学生学习主动性 雷达图-->
@ -1261,6 +1291,7 @@
<!-- 教师对本校教师培训各方面的满意度评价各项占比-->
<select id="getSelectjsfz1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '教师培训内容丰富,对教学和职业发展有帮助' as lsname,
round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,
round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,
@ -1304,6 +1335,7 @@
(select count('x') as yb_cnt from bl_teacher_answer where TRAIN_GLOBAL ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where TRAIN_GLOBAL ='比较不满意' and main_id = #{id})d,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
) t order by tj1
</select>
<!-- 教师对本校教师培训各方面的满意度-->
@ -1390,6 +1422,7 @@
<!-- 教师对工作氛围各方面评价各项占比-->
<select id="getSelectzyfwyzc1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '我清楚自己的岗位职责和要求' as lsname,round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/f.tot_cnt,2)*100) as tj3,round(round(d.bjb_cnt/f.tot_cnt,2)*100) as tj4 from
(select count('x') as fc_cnt from bl_teacher_answer where DEDICATION_STANDARD ='非常符合' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where DEDICATION_STANDARD ='比较符合' and main_id = #{id})b,
@ -1431,6 +1464,7 @@
(select count('x') as yb_cnt from bl_teacher_answer where DEDICATION_DISTRIBUTION ='一般' and main_id = #{id})c,
(select count('x') as bjb_cnt from bl_teacher_answer where DEDICATION_DISTRIBUTION ='比较不符合' and main_id = #{id})d,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
) t order by tj1 asc
</select>
<!-- 教师对工作氛围各方面的评价-->
<select id="getSelectzyfwyzc2" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -1545,6 +1579,7 @@
<!-- 教师对本校教学评价各方面工作评价各项占比-->
<select id="getSelectjxpjgz1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '教学评价体现学生中心,突出产出导向' as lsname,round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/f.tot_cnt,2)*100) as tj3,round(round(d.bjb_cnt/f.tot_cnt,2)*100) as tj4,round(round(e.fcb_cnt/f.tot_cnt,2)*100) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where TEACHING_RESULT ='非常符合' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where TEACHING_RESULT ='比较符合' and main_id = #{id})b,
@ -1592,6 +1627,7 @@
(select count('x') as bjb_cnt from bl_teacher_answer where TEACHING_SUPERVISE ='比较不符合' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where TEACHING_SUPERVISE ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
) t order by tj1 asc
</select>
<!-- 教师对本校教学评价各方面工作的评价-->
<select id="getSelectjxpjgz2" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
@ -1706,6 +1742,7 @@
<!-- 教师对本校资源条件的满意度评价各项占比 -->
<select id="getSelectzytjpj1" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select * from (
select '图书馆资源' as lsname,round(round(a.fc_cnt/f.tot_cnt,2)*100) as tj1,round(round(b.bj_cnt/f.tot_cnt,2)*100) as tj2,round(round(c.yb_cnt/f.tot_cnt,2)*100) as tj3,round(round(d.bjb_cnt/f.tot_cnt,2)*100) as tj4,round(round(e.fcb_cnt/f.tot_cnt,2)*100) as tj5 from
(select count('x') as fc_cnt from bl_teacher_answer where SATI_LIBRARY ='非常满意' and main_id = #{id})a,
(select count('x') as bj_cnt from bl_teacher_answer where SATI_LIBRARY ='比较满意' and main_id = #{id})b,
@ -1745,6 +1782,7 @@
(select count('x') as bjb_cnt from bl_teacher_answer where SATI_RESOURSE ='比较不满意' and main_id = #{id})d,
(select count('x') as fcb_cnt from bl_teacher_answer where SATI_RESOURSE ='非常不符合' and main_id = #{id})e,
(select count('x') as tot_cnt from bl_teacher_answer where main_id = #{id}) f
) t order by tj1 asc
</select>
<!-- 教师对本校教学评价各方面工作的评价 -->
@ -1893,4 +1931,15 @@
select DEPARTMENT as lsname,round(sum(COLLSATI2)/count(*)) as tj1 from bl_teacher_answer where main_id = #{id} GROUP BY DEPARTMENT
</select>
<!-- 教师对本校教学评价各方面工作的评价 -->
<select id="getSelectzytjpj2Ldt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
select
round(sum(TEACHING_RESULT2)/count('x'),2) as tj1,
round(sum(TEACHING_INDEX2)/count('x'),2) as tj2,
round(sum(TEACHING_EFFECT2)/count('x'),2) as tj3,
round(sum(TEACHING_STUDENT2)/count('x'),2) as tj4,
round(sum(TEACHING_SUPERVISE2)/count('x'),2) as tj5,
round(sum(TEACHING_AWARDS2)/count('x'),2) as tj6
from bl_teacher_answer where main_id = #{id}
</select>
</mapper>

View File

@ -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" +

View File

@ -255,7 +255,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
// authenticationScheme: 'Bearer',
authenticationScheme: '',
//接口超时设置
timeout: 10 * 1000,
timeout: 999 * 10 * 1000,
// 基础接口地址
// baseURL: globSetting.apiUrl,
headers: { 'Content-Type': ContentTypeEnum.JSON },

View File

@ -29,6 +29,11 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'dysd'
},
{
title: '调研总人数',
align: "center",
dataIndex: 'teacherSumno'
},
{
title: '导入',
align: "center",

View File

@ -170,7 +170,7 @@ const $message = useMessage();
}
let url = realUrl
const data = await defHttp.get({ url, params: paramsForm, responseType: 'blob',timeout: 999999 }, { isTransformResponse: false, });
const data = await defHttp.get({ url, params: paramsForm, responseType: 'blob',timeout: 99999999 }, { isTransformResponse: false,timeout: 99999999 });
if (!data) {
// createMessage.warning('');
return;

View File

@ -27,6 +27,11 @@
<a-input v-model:value="formData.dysd" placeholder="请输入调研时点" :disabled="disabled"></a-input>
</a-form-item>
</a-col>
<a-col :span="24">
<a-form-item label="教师总人数" v-bind="validateInfos.teacherSumno">
<a-input-number v-model:value="formData.teacherSumno" placeholder="请输入教师总人数" :disabled="disabled" style="width:100%"></a-input-number>
</a-form-item>
</a-col>
</a-row>
</a-form>
</a-spin>
@ -55,6 +60,7 @@
pgrq: '',
xuenian: '',
dysd: '',
teacherSumno: '',
});
const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });