فهرست منبع

修改前端添加job错误

insomniaLee 5 سال پیش
والد
کامیت
15b23b35e8

+ 0 - 1
src/main/resources/static/js/changePaper.js

@@ -791,7 +791,6 @@ generateJson = function( paperId, type ){
 }
 
 showyu = function (){
-
     generateJson(paperId,1)
 }
 

+ 5 - 21
src/main/resources/templates/addReviewJob.html

@@ -91,36 +91,19 @@
             <!-- Sidebar Menu -->
             <ul class="sidebar-menu tree" data-widget="tree">
                 <li>
-                    <a href="/addTask">
+                    <a href="/papers">
                         <i class="glyphicon glyphicon-pencil"></i>
                         <span>
-                            新建任务
+                            众审试卷列表
                         </span>
                     </a>
                 </li>
 
                 <li>
-                    <a href="/auditTasks">
-                        <i class="glyphicon glyphicon-tasks"></i>
-                        <span>
-                            众审任务列表
-                        </span>
-                    </a>
-                </li>
-                <!--                {% for task in app_list %}-->
-                <!--                <li th:each="task:${tasks}" >-->
-
-                <!--                    <a th:href="'/task_detail?examId='+${task.examId}+'&amp;caseId='+${task.caseId}" th:text="${task.name}">-->
-                <!--                        <i class="fa fa-link"></i>-->
-                <!--                    </a>-->
-                <!--                </li>-->
-                <!--                {% endfor %}-->
-
-                <li>
                     <a href="/review/jobs">
                         <i class="glyphicon glyphicon-tasks"></i>
                         <span>
-                            JOB列表
+                            众审任务列表
                         </span>
                     </a>
                 </li>
@@ -350,6 +333,7 @@
         //Date range picker
         $('#reservation').daterangepicker()
         //Date range picker with time picker
+
         // $('#reservationtime').daterangepicker({ timePicker: true, timePickerIncrement: 30, format: 'MM/DD/YYYY h:mm A' })
         $('#reservationtime').daterangepicker({ timePicker: true, timePickerIncrement: 30, locale: { format: 'MM/DD/YYYY hh:mm A' }})
         //Date range as a button
@@ -383,6 +367,6 @@
     //     }else{ // fou
     //         $('#certifyBlock').css('display','none');
     //     }
-    }
+    // }
 
 </script>

+ 2 - 0
src/main/resources/templates/paperDetail.html

@@ -559,6 +559,8 @@
         window.open('http://'+reportHost+'/report/review/paper/'+ id);
     }
 
+
+
     changePaper = function ( ) {
         window.location.href =  '/changePaper?id='+id;
     }