Commit c7b08501b5f5c9b5fd9c0427e0336d0231954329
1 parent
57b1e143
1、修改练习报表(6)
Showing
1 changed file
with
4 additions
and
7 deletions
WebRoot/WEB-INF/jsp/sunvote/homework/homework_report.jsp
| @@ -262,7 +262,7 @@ | @@ -262,7 +262,7 @@ | ||
| 262 | } | 262 | } |
| 263 | 263 | ||
| 264 | function tosearch(){ | 264 | function tosearch(){ |
| 265 | - console.log('${pd.CLASS_ID}'); | 265 | + |
| 266 | var url = "<%=basePath%>homework/report.do?CLASS_ID=${pd.CLASS_ID}" ; | 266 | var url = "<%=basePath%>homework/report.do?CLASS_ID=${pd.CLASS_ID}" ; |
| 267 | var startDate = $("#lastStart").val(); | 267 | var startDate = $("#lastStart").val(); |
| 268 | var endDate = $("#lastEnd").val(); | 268 | var endDate = $("#lastEnd").val(); |
| @@ -271,17 +271,14 @@ | @@ -271,17 +271,14 @@ | ||
| 271 | if(endDate != null){ | 271 | if(endDate != null){ |
| 272 | url = url + "&END_DATE=" + endDate; | 272 | url = url + "&END_DATE=" + endDate; |
| 273 | } | 273 | } |
| 274 | - console.log(url); | 274 | + |
| 275 | window.location.href = url; | 275 | window.location.href = url; |
| 276 | window.top.loading.show(); | 276 | window.top.loading.show(); |
| 277 | /* $("#Form").sumbit(); */ | 277 | /* $("#Form").sumbit(); */ |
| 278 | } | 278 | } |
| 279 | - function tosearch_week(type){ | 279 | + function tosearch_week(type){ //上一周 本周 下一周 |
| 280 | console.log('${pd.CLASS_ID}'); | 280 | console.log('${pd.CLASS_ID}'); |
| 281 | var url = "<%=basePath%>homework/report.do?CLASS_ID=${pd.CLASS_ID}" ; | 281 | var url = "<%=basePath%>homework/report.do?CLASS_ID=${pd.CLASS_ID}" ; |
| 282 | - //var startDate = $("#lastStart").val(); | ||
| 283 | - //var endDate = $("#lastEnd").val(); | ||
| 284 | - //var subject_id = $("#SUBJECT_ID").val(); | ||
| 285 | url = url + "&CURRENT_WEEK=" + type ; | 282 | url = url + "&CURRENT_WEEK=" + type ; |
| 286 | 283 | ||
| 287 | console.log(url); | 284 | console.log(url); |
| @@ -292,7 +289,7 @@ | @@ -292,7 +289,7 @@ | ||
| 292 | 289 | ||
| 293 | function student(classid,studentid){ | 290 | function student(classid,studentid){ |
| 294 | 291 | ||
| 295 | - var url = "<%=basePath%>report/student_report?studentid=" + studentid + "&class_id=" + classid ; | 292 | + var url = "<%=basePath%>homework/student.do?studentid=" + studentid + "&class_id=" + classid ; |
| 296 | var startDate = $("#lastStart").val(); | 293 | var startDate = $("#lastStart").val(); |
| 297 | var endDate = $("#lastEnd").val(); | 294 | var endDate = $("#lastEnd").val(); |
| 298 | url = url + "&start_date=" + startDate + "&end_date=" + endDate ; | 295 | url = url + "&start_date=" + startDate + "&end_date=" + endDate ; |