严智鑫
2024-05-13 cedce4883f0d204f5bf7bf87c0bf4858dabb0c23
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
 
<html>
<head>
    <title>下片机队列</title>
    <script type="text/javascript" src="${ctx}/static/js/jquery-1.8.3.js"></script>
    <script type="text/javascript">
    var interval = setInterval('refreshStatus()', 2000);
    $(document).ready(function(){
          var allstatu = $("#allstatu").attr("allstatu");
          var info = $("#info").attr("info");
          $("#infos").html("<img src=\"/gmms2/static/images/danger.jpg\">"+"  "+info);
          /* $("#infos").html(info); */
          if(allstatu == 0){
               $("#allstatus").attr("style","background-color:#f00"); 
          }
    });
    // 设备页面自动刷新
    function refreshStatus() {
        window.location.reload();
    }
    
    // 停止页面自动刷新
    function disableAutoRefresh() {
        clearInterval(interval);
    }
    
    function setErrorRange() {
        disableAutoRefresh();
        $('#modifyErrorRangeModal').modal('toggle');
    }
    
    $(function(){
        $(".manualcheck").bind("click",function(){
             var idname = $(this).attr("id"); 
             disableAutoRefresh();
             $.messager.confirm("确认框","您确定这片已破损?",function(r){
                 if(r){
                     window.location.href="/gmms/manage/manualCheckError1/"+idname; 
                 }
             })
//              var r = confirm("这片玻璃破损了,确定去除这片玻璃队列么");
//                 if(r == true){
//                     window.location.href="/gmms/manage/manualCheckError1/"+idname;
//                 }
        })
    })
    </script>
</head>
<body >
 <div class="content-wrapper" style="background-color:#ddd;">
      <%--  <div style="height:50px;width:30%; font-size:15px;">${countMachineHtml}</div> --%>
        <fieldset>
            <div id = "allstatu" allstatu = "${allstatu}"></div>
           <div id = "info" info = "${info}"></div>
    <div style="color:#111;">
        <div style="height:400px;width:30%;float:right; font-size:25px;">
                                <table class="table table-striped table-hover">
                                    <tr>
                                        <td style="float:right;">计划数量(片):</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${sum}</span></td>
                                    </tr>
                                    <tr>
                                        <td  style="float:right;">破损数量(片):</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${countGlassSum}</span></td>
                                    </tr>
                                    <tr>
                                        <td style="float:right;">完成数量(片):</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${countGlassCounts}</span></td>
                                    </tr>
                                    <%-- <tr>
                                        <td style="float:right;">流程卡号: </td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${apaId}</span></td>
                                    </tr> --%>
                                    
                                    <tr>
                                        <td style="float:right;">颜色膜系: </td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${color}</span></td>
                                    </tr>
                                    
                                    <tr>
                                        <td style="float:right;">厚度: </td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${thickness}</span></td>
                                    </tr>
                                    <%-- <tr>
                                        <td style="float:right;">客户名称:</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${customer}</span></td>
                                    </tr> --%>
                                    <tr>
                                        <td style="float:right;">加工要求:</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${production}</span></td>
                                    </tr>
                                    
                                    <tr>
                                        <td style="float:right;">楼层号:</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${floornumber}2-108</span></td>
                                    </tr>
                                    <tr>
                                        <td style="float:right;">成品名称:</td>
                                        <td style="color:#1D82FE;"><span style="color:#1D82FE;">${piece_sign}</span></td>
                                    </tr>
                                    </table>
                                    </div>
                  
                  <div style="height:300px;width:60%;margin-left:5%; text-align: center;">
                      <div style="font-size:75px;color:#111;">落架位置 <span style="font-size: 200px;color:#E7262C;">&nbsp;&nbsp;${countGlassId}2</span></div>
                      
                         <div style="font-size:120px;"><span style="color:#1D82FE">${countLength}</span>&nbsp; X &nbsp;<span style="color:#1D82FE">${countWidth}</span></div><%-- ${countLength}${countWidth} --%>
                          <div style="font-size:40px;color:#111;">客户简称 <span style="font-size: 40px;color:#1D82FE;">&nbsp;&nbsp;&nbsp;${customer}</span></div>
                      <div style="font-size:40px;color:#111;">流程卡号 <span style="font-size: 40px;color:#1D82FE;">&nbsp;&nbsp;&nbsp;${apaId}</span></div>
                  </div>
                  <div style="height:200px;margin-top:70px;font-size:90px;line-height:90px; font-weight: bold;">         
             </div>
            </div>
    
             
            <div>
                <!-- <div style="background:#f0f;height:20px;width:20px;"></div> -->
                <legend style="color:#111;font-size:28px;font-weight: bold;">原片队列
                <a type="button" class="btn btn-success" href="/gmms2/device/printmanage">故障处理</a>
                </legend>
                <%-- <a href="${ctx}/countmachine/showAllGlass" class='btn btn-large btn-primary'>报工信息</a>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="${ctx}/countmachine/clearProcessGlass/${machineId}" class='btn btn-large btn-primary'>清除及时玻璃信息</a>  --%>
                <div>${countMachineTaskHtml}</div>
            </div>
            </fieldset>
             </div>
</body>
</html>