<%@ page contentType="text/html;charset=UTF-8"%>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
|
<c:set var="ctx" value="${pageContext.request.contextPath}" />
|
|
<html>
|
<head>
|
<script type="text/javascript" src="${ctx}/static/js/jquery-1.8.3.js"></script>
|
<script type="text/javascript"
|
src="${ctx}/static/js/easyui/jquery.easyui.min.js"></script>
|
<script type="text/javascript"
|
src="${ctx}/static/js/easyui/locale/easyui-lang-zh_CN.js"></script>
|
<link rel="stylesheet" type="text/css"
|
href="${ctx}/static/js/easyui/themes/icon.css" />
|
<link rel="stylesheet" type="text/css"
|
href="${ctx}/static/js/easyui/themes/default/easyui.css" />
|
<title>玻璃识别</title>
|
<script type="text/javascript">
|
//var interval = setInterval('refreshStatus()', 5000);
|
|
// 设备页面自动刷新
|
function refreshStatus() {
|
window.location.reload();
|
|
}
|
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
|
function setRange() {
|
disableAutoRefresh();
|
$('#modifyRangeModal').modal('toggle');
|
}
|
|
function setdata() {
|
disableAutoRefresh();
|
$('#modifyRangeModal1').modal('toggle');
|
}
|
|
</script>
|
</head>
|
<body>
|
<!-- Content Wrapper. Contains page content -->
|
<div class="content-wrapper">
|
<!-- Content Header (Page header) -->
|
<section class="content-header">
|
<!-- <h1>
|
欢迎你 <small>管理员</small>
|
</h1>
|
<ol class="breadcrumb">
|
<li><a href="#"><i class="fa fa-dashboard"></i> 测量台1</a></li>
|
<li class="active">参数设置</li>
|
</ol> -->
|
</section>
|
|
<!-- Main content -->
|
<section class="content container-fluid">
|
|
<!--------------------------
|
| Your Page Content Here |
|
-------------------------->
|
<fieldset>
|
<legend>玻璃队列</legend>
|
</fieldset>
|
<input type="hidden" name="machineId" value="${machineId}">
|
<table class="table table-striped table-hover">
|
<thead><tr>
|
<th>玻璃序号</th>
|
<th>玻璃长度</th>
|
<th>玻璃宽度</th>
|
<th>玻璃种类</th>
|
<th>总数量</th>
|
<th>完成数量</th>
|
<th>操作</th>
|
</tr></thead>
|
<tbody>
|
<c:forEach items="${glasses}" var="glass" varStatus="status">
|
<tr>
|
<td>${glass.id}</td>
|
<td>${glass.length}</td>
|
<td>${glass.width}</td>
|
<td>${glass.color}</td>
|
<td>${glass.pieces}</td>
|
<td>${glass.completePieces}</td>
|
<td><a href="${ctx}/glass/update/${machineId}?id=${glass.id}">修改完成数量</a></td>
|
</tr>
|
</c:forEach>
|
</tbody>
|
</table>
|
</section>
|
<!-- /.content -->
|
</div>
|
</body>
|
</html>
|