浏览代码

更新导出根据查询所得,用户管理、考生管理、成绩查询、总量分析、科目分析

ting.yin 3 年之前
父节点
当前提交
9cd625a771

+ 17 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/scoreList.jsp

@@ -74,6 +74,21 @@
         </c:if>
         </c:if>
     </div>
     </div>
 </form>
 </form>
+<form id="exportForm" action="${ctx}/admin/exam/score/export" method="post" class="breadcrumb form-search hide">
+		<input type="text" name="name" value="${query.name}" maxlength="10" class="input-mini"/>
+        <input type="text" name="examNumber" value="${query.examNumber}" maxlength="50" class="input-small"/>
+        <input type="text" name="studentCode" value="${query.studentCode}" maxlength="30" class="input-small"/>
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+   		<input type="text" name="upload" value="${query.upload}" class="input-small"/>
+		<input type="text" name="absent" value="${query.absent}" class="input-small"/>
+		<input type="text" name="breach" value="${query.breach}" class="input-small"/>
+		<input type="text" name="filter" value="${filter}" class="input-small"/>
+		<input type="text" name="startScore" value="${query.startScore}" class="input-small"/>
+		<input type="text" name="endScore" value="${query.endScore}" class="input-small"/>
+		<input type="text" name="college" value="${query.college}" class="input-small"/>
+		<input type="text" name="className" value="${query.className}" class="input-small"/>
+		<input type="text" name="teacher" value="${query.teacher}" class="input-small"/>
+</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -278,8 +293,8 @@
     }
     }
 
 
     function goExport() {
     function goExport() {
-        $("#searchForm").attr('action', '${ctx}/admin/exam/score/export');
-        $("#searchForm").submit();
+        $("#exportForm").attr('action', '${ctx}/admin/exam/score/export');
+        $("#exportForm").submit();
     }
     }
 
 
 
 

+ 17 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/studentList.jsp

@@ -127,6 +127,21 @@
       <%--   </c:if> --%>
       <%--   </c:if> --%>
     </div>
     </div>
 </form>
 </form>
+<form id="exportForm" action="${ctx}/admin/exam/student/export" method="post" class="breadcrumb form-search hide">
+		<input type="text" name="name" value="${query.name}" maxlength="10" class="input-mini"/>
+        <input type="text" name="examNumber" value="${query.examNumber}" maxlength="50" class="input-small"/>
+        <input type="text" name="secretNumber" value="${query.secretNumber}" maxlength="50" class="input-small"/>
+        <input type="text" name="studentCode" value="${query.studentCode}" maxlength="30" class="input-small"/>
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="subjectLevel" value="${query.subjectLevel}"  class="input-small"/>
+		<input type="text" name="subjectCategory" value="${query.subjectCategory}" maxlength="20" class="input-small"/>
+   		<input type="text" name="upload" value="${query.upload}" class="input-small"/>
+		<input type="text" name="absent" value="${query.absent}" class="input-small"/>
+		<input type="text" name="breach" value="${query.breach}" class="input-small"/>
+		<input type="text" name="manualAbsent" value="${query.manualAbsent}" class="input-small"/>
+		<input type="text" name="packageCode" value="${query.packageCode}" class="input-small"/>
+		<input type="text" name="batchCode" value="${query.batchCode}" class="input-small"/>
+</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -267,8 +282,8 @@
         });
         });
     });
     });
     $("#export-button").click(function () {
     $("#export-button").click(function () {
-        $("#searchForm").attr("action", "${ctx}/admin/exam/student/export");
-        $("#searchForm").submit();
+        $("#exportForm").attr("action", "${ctx}/admin/exam/student/export");
+        $("#exportForm").submit();
     });
     });
 
 
     function page(n, s) {
     function page(n, s) {

+ 5 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubject.jsp

@@ -31,6 +31,9 @@
 			<input id="export-button" class="btn" type="button" value="导出" data-i18n-value="report.subject.export"/>
 			<input id="export-button" class="btn" type="button" value="导出" data-i18n-value="report.subject.export"/>
 	    </div>
 	    </div>
 	</form>
 	</form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubject/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+	</form>
 	<tags:message content="${message}"/>
 	<tags:message content="${message}"/>
 	<table id="contentTable" class="table table-striped table-bordered table-condensed">
 	<table id="contentTable" class="table table-striped table-bordered table-condensed">
 		<thead>
 		<thead>
@@ -73,8 +76,8 @@
 <div class="pagination">${query}</div>
 <div class="pagination">${query}</div>
 <script type="text/javascript">
 <script type="text/javascript">
 $("#export-button").click(function(){
 $("#export-button").click(function(){
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubject/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubject/export");
+	$("#exportForm").submit();
 });
 });
 
 
 function page(n, s) {
 function page(n, s) {

+ 6 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectClass.jsp

@@ -47,6 +47,10 @@
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewClassEcharts()" data-i18n-value="report.class.chart"/>
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewClassEcharts()" data-i18n-value="report.class.chart"/>
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectClass/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="className" value="${query.className}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -226,8 +230,8 @@
             alert('请选择科目');
             alert('请选择科目');
             return;
             return;
         }
         }
-    	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectClass/export");
-    	$("#searchForm").submit();
+    	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectClass/export");
+    	$("#exportForm").submit();
     });
     });
 </script>
 </script>
 <div id="echart-view-content" class="container-fluid" style="display:none" align="center">
 <div id="echart-view-content" class="container-fluid" style="display:none" align="center">

+ 6 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectCollege.jsp

@@ -50,6 +50,10 @@
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewCollegeEcharts()" data-i18n-value="report.college.chart"/>
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewCollegeEcharts()" data-i18n-value="report.college.chart"/>
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectCollege/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="collegeName" value="${query.collegeName}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -85,8 +89,8 @@ $("#export-button").click(function(){
         alert('请选择科目');
         alert('请选择科目');
         return;
         return;
     }
     }
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectCollege/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectCollege/export");
+	$("#exportForm").submit();
 });
 });
 
 
     function viewCollegeEcharts() {
     function viewCollegeEcharts() {

+ 5 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectGroup.jsp

@@ -47,6 +47,9 @@
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewGroupEcharts()"  data-i18n-value="report.group.chart"/>
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewGroupEcharts()"  data-i18n-value="report.group.chart"/>
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectGroup/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -88,8 +91,8 @@ $("#export-button").click(function(){
         alert('请选择科目');
         alert('请选择科目');
         return;
         return;
     }
     }
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectGroup/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectGroup/export");
+	$("#exportForm").submit();
 });
 });
 /* var searchSubjectCode = '${query.subjectCode}';
 /* var searchSubjectCode = '${query.subjectCode}';
 var searchGroupNumber = '${query.groupNumber}';
 var searchGroupNumber = '${query.groupNumber}';

+ 7 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectQuestion.jsp

@@ -57,6 +57,11 @@
 
 
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectQuestion/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="paperType" value="${query.paperType}"  class="input-small"/>
+        <input type="text" name="objective" value="${query.objective}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -118,8 +123,8 @@ $("#export-button").click(function(){
         alert('请选择科目');
         alert('请选择科目');
         return;
         return;
     }
     }
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectQuestion/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectQuestion/export");
+	$("#exportForm").submit();
 });
 });
 
 
     $(document).ready(function () {
     $(document).ready(function () {

+ 6 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectRange.jsp

@@ -55,6 +55,10 @@
 		<a href="#" onclick="viewEcharts()" class="btn  btn-primary">查看统计图</a>
 		<a href="#" onclick="viewEcharts()" class="btn  btn-primary">查看统计图</a>
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectRange/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="range" value="${query.range}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -81,8 +85,8 @@ $("#export-button").click(function(){
         alert('请选择科目');
         alert('请选择科目');
         return;
         return;
     }
     }
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectRange/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectRange/export");
+	$("#exportForm").submit();
 });
 });
 
 
     function page(n, s) {
     function page(n, s) {

+ 6 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/report/reportSubjectTeacher.jsp

@@ -47,6 +47,10 @@
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewTeacherEcharts()"  data-i18n-value="report.teacher.chart"/>
         <input class="btn btn-primary" type="button" value="查看统计图" onclick="viewTeacherEcharts()"  data-i18n-value="report.teacher.chart"/>
     </div>
     </div>
 </form>
 </form>
+	<form id="exportForm" action="${ctx}/admin/exam/reportSubjectTeacher/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="subjectCode" value="${query.subjectCode}"  class="input-small"/>
+        <input type="text" name="teacherName" value="${query.teacherName}"  class="input-small"/>
+	</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
 <table id="contentTable" class="table table-striped table-bordered table-condensed">
     <thead>
     <thead>
@@ -89,8 +93,8 @@ $("#export-button").click(function(){
         alert('请选择科目');
         alert('请选择科目');
         return;
         return;
     }
     }
-	$("#searchForm").attr("action","${ctx}/admin/exam/reportSubjectTeacher/export");
-	$("#searchForm").submit();
+	$("#exportForm").attr("action","${ctx}/admin/exam/reportSubjectTeacher/export");
+	$("#exportForm").submit();
 });
 });
 
 
     function viewTeacherEcharts() {
     function viewTeacherEcharts() {

+ 8 - 2
stmms-web/src/main/webapp/WEB-INF/views/modules/user/userList.jsp

@@ -102,6 +102,12 @@
         </c:if>
         </c:if>
     </div>
     </div>
 </form>
 </form>
+<form id="exportForm" action="${ctx}/admin/user/export" method="post" class="breadcrumb form-search hide">
+        <input type="text" name="loginName" value="${query.loginName}" maxlength="20" class="input-small"/>
+        <input type="text" name="source" value="${query.source.value}" maxlength="20" class="input-small"/>
+         <input type="text" name="role" value="${query.role.value}" maxlength="20" class="input-small"/>
+         <input type="text" name="enable" value="${query.enable}" maxlength="20" class="input-small"/>
+</form>
 <tags:message content="${message}"/>
 <tags:message content="${message}"/>
 <form id="checkForm" action="${ctx}/admin/user/toggle" method="post" class="breadcrumb form-search">
 <form id="checkForm" action="${ctx}/admin/user/toggle" method="post" class="breadcrumb form-search">
 <input type="hidden" id="enable" name="enable" value=""/>
 <input type="hidden" id="enable" name="enable" value=""/>
@@ -263,8 +269,8 @@
   	    bottomText:"导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!"});
   	    bottomText:"导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!"});
   });
   });
     $("#export-button").click(function () {
     $("#export-button").click(function () {
-        $("#searchForm").attr("action", "${ctx}/admin/user/export");
-        $("#searchForm").submit();
+        $("#exportForm").attr("action", "${ctx}/admin/user/export");
+        $("#exportForm").submit();
     });
     });
     $("#ids").change(function () {
     $("#ids").change(function () {
         if ($("#ids").is(':checked')) {
         if ($("#ids").is(':checked')) {