All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openurp.edu.clazz.reports.rollbook.ftl Maven / Gradle / Ivy

[#ftl]


  
    
    
    
    
    ${b.static.load(["jquery","beangle","bui"])}
    
  


[@b.toolbar title='课程点名册']
   bar.addItem("${b.text('action.print')}","print()");
[/@]
[#assign stdCountFirstPage = 30]
[#assign stdCountPerPage = 35]
[#assign units = clazz.schedule.lastWeek - clazz.schedule.firstWeek + 1 /]
[#assign stdIndex = 1 /]
课程序号:${clazz.crn} 课程名称:${clazz.course.name} 授课教师:[#list clazz.teachers as teacher]${teacher.name}[#if teacher_has_next],[/#if][/#list] 课程安排:${schedule!}
[#assign sortedCourseTakers = clazz.enrollment.courseTakers?sort_by(["std","code"])/] [#assign firstPageCourseTakers = []/] [#assign otherPageCourseTakers=[]/] [#if sortedCourseTakers?size>0] [#list 1..sortedCourseTakers?size as i] [#if i > stdCountFirstPage] [#assign otherPageCourseTakers = otherPageCourseTakers + [sortedCourseTakers[i-1]] /] [#else] [#assign firstPageCourseTakers = firstPageCourseTakers + [sortedCourseTakers[i-1]] /] [/#if] [/#list] [/#if] [#assign courseTakerChunks =[firstPageCourseTakers] + otherPageCourseTakers?chunk(stdCountPerPage) /] [#list courseTakerChunks as subCourseTakers] [#list 1..units as i][/#list] [#list 1..units as i] [/#list] [#list subCourseTakers as taker] [#list 1..units as i] [/#list] [#assign stdIndex = stdIndex+1] [/#list]
序号 学号 姓名 性别 班级 考勤登记
${i}
${stdIndex} ${taker.std.code} ${taker.std.name} [#if taker.takeType.id!=1]${(taker.takeType.name)!}[#if taker.freeListening]免听[/#if][/#if] ${taker.std.gender.name}
${(taker.std.state.squad.name)!}
 
说明: 出勤 √   早退 Ο   旷课 Δ   迟到 Φ   教师签名:[#list 1..20 as j] [/#list]________年____月____日
[#if subCourseTakers_has_next]
[/#if] [/#list] [@b.foot/]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy