严智鑫
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/breakreport"><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 class="box" style="margin-top: 20px;">
           <div class="box-header" align="center">
               <h3 class="box-title">破损信息</h3>
           </div>
         <div style="overflow: auto;height:600px;" class="box-body no-padding">
        <table class="table table-striped" style="font-size: medium;" id="table">
        <tr>
            <td style="width: 100%; border: 1px 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>
                                   <th width="200px" height="40px" align="left">上片机</th>
                                   <th width="200px" height="40px" align="left">破损时间</th>
                                   </tr>
                                       <c:forEach items="${breakReports}" var="breakReport" varStatus="status1">
                                           <tr>
                                           <td height="30px">${breakReport.opt_batch}</td>
                                           <td height="30px">${breakReport.opt_batch}</td>
                                           <td height="30px">${breakReport.width}</td>
                                           <td height="30px">${breakReport.height}</td>
                                           <td height="30px">${breakReport.thickness}</td>
                                           <td height="30px">${breakReport.color}</td>
                                           <td height="30px">${breakReport.loadmachine_number}</td>
                                           <td height="30px">${breakReport.break_time}</td>
                                            </tr>
                                       </c:forEach>
                            </table>
                            </div>
                    </fieldset>
               </td>
        </tr>
    </table>
    </div>
    </div>
     </section>
    </div>
    <!-- /.content -->
  </div>
</body>
</html>