严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
<script src="${ctx}/static/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>
<title>统计详情</title>
<script type="text/javascript">
    $(document).ready(function(){
          var allstatu = $("#allstatu").attr("allstatu");
          var info = $("#info").attr("info");
          $("#infos").html("<img src=\"/gmms2/static/images/danger.jpg\">"+"  "+info);
          if(allstatu == 0){
               $("#allstatus").attr("style","background-color:#f00"); 
          }
    });
</script>
</head>
<body>
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div>
        <section class="content-header">
              <h1>
            任务统计
                <small></small>
              </h1>
          <ol class="breadcrumb">
            <li><a href="${ctx }/reportmanage/taskreport"><i class="fa fa-reply"></i>任务统计</a></li>
            <li class="active">任务详情</li>
          </ol>
        </section>
        <div id = "allstatu" allstatu = "${allstatu}"></div>
           <div id = "info" info = "${info}"></div>
    </div>
    <div>
    <!-- Main content -->
    <section class="content container-fluid">
<div align="left" style="margin-left: 20px;margin-top: 20px;">
    <font style="font-size: x-large;"><a type='button' class='btn btn-info' href="${ctx}/reportmanage/taskreport">返回上级</a></font>
</div>
<hr>
<div class="box" style="margin-top: 10px;">
           <div class="box-header" align="center">
               <h3 class="box-title">切割任务统计</h3>
           </div>
         <div style="overflow: auto;height:500px;" class="box-body no-padding">
        <table class="table table-striped" style="font-size: medium; width: 100%;" id="table">
        <tr>
        <td style="width: 100%; border: 0px solid white; vertical-align: top;">
                <fieldset>
                        <div style="overflow: auto;">
                            <table class="table table-striped table-hover">
                                   <tr>
                                   <th width="200px" height="40px" align="left">文件名</th>
                                   <th width="200px" height="40px" align="left">GlassId</th>
                                   <th width="200px" height="40px" align="left">片数</th>
                                   <th width="200px" height="40px" align="left">状态</th>
                                   <th width="200px" height="40px" align="left">完成时间</th>
                                   <th width="200px" height="40px" align="left">理由</th>
                                   </tr>
                                       <c:forEach items="${reportTasks}" var="reportTask" varStatus="status1">
                                           <tr>
                                           <td height="30px">${reportTask.opt_name}</td>
                                           <td height="30px">${reportTask.optPattern.glassId}</td>
                                           <td height="30px">1</td>
                                           <td height="30px">${reportTask.state}</td>
                                           <td height="30px">${reportTask.complete_time}</td>
                                           <td height="30px">${reportTask.reson}</td>
                                            </tr>
                                       </c:forEach>
                            </table>
                            </div>
                    </fieldset>
               </td>
        </tr>
    </table>
    </div>
    </div>
     </section>
    </div>
    <!-- /.content -->
  </div>
</body>
</html>