<%@ 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>
|
<script type="text/javascript"
|
src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
|
|
<script type="text/javascript">
|
var interval = setInterval('refreshStatus()', 20000);
|
$(document).ready(function(){
|
var info = $("#info").attr("info");
|
$("#infos").html(info);
|
});
|
// 设备页面自动刷新
|
/* function refreshStatus() {
|
window.location.reload();
|
} */
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
|
|
function test0() {
|
let exportFileContent = document.getElementById('mtable').outerHTML;
|
let blob = new Blob([exportFileContent], { type: 'text/plain;charset=utf-8' }); // 解决中文乱码问题
|
blob = new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type });
|
// 设置链接
|
let link = window.URL.createObjectURL(blob);
|
let a = document.createElement('a'); // 创建a标签
|
a.download = '原片消耗明细报表.xls'; // 设置被下载的超链接目标(文件名)
|
a.href = link; // 设置a标签的链接
|
document.body.appendChild(a); // a标签添加到页面
|
a.click(); // 设置a标签触发单击事件
|
document.body.removeChild(a); // 移除a标签
|
}
|
</script>
|
<style>
|
|
</style>
|
<title>手动任务下发</title>
|
</head>
|
<body>
|
<div class="content-wrapper">
|
<!-- <div style='height:20px;width:300px;background-color:#3C8DBC;float:right;'><span style = 'color:#fff;' >故障情况:</span><span id='infos'></span></div> -->
|
<section class="content-header">
|
<h1>手动任务下发</small></h1>
|
|
<ol class="breadcrumb">
|
|
|
</ol>
|
</section>
|
<div id = "allstatu" allstatu = "${allstatu}"></div>
|
<div id = "info" info = "${info}"></div>
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<form action="${ctx }/cutmanage/taskadd" id="formid" method="get">
|
<div style="margin-top: 20px;">
|
宽度:<input type="text" id="starttime" name="width" /><hr/>
|
高度:<input type="text" id="height" name="height" /><hr/>
|
厚度:<input type="text" id="thickness" name="thickness" /><hr/>
|
数量:<input type="text" id="pices" name="pices" /><hr/>
|
线路:<input type="text" id="groups" name="groups" /><hr/>
|
打标:<input type="text" id="marking" name="marking" readonly="readonly">
|
<div class="btn-group" style="margin-top: -10px">
|
<button class="btn btn-primary dropdown-toggle"
|
data-toggle="dropdown">
|
选择 <span class="caret"></span>
|
</button>
|
<ul class="dropdown-menu"
|
style="height: 320px; overflow: auto;">
|
<c:forEach items="${numberlisthtml}"
|
var="numberlisthtml2">
|
<li style="font-size: 20px"><a href="#"
|
onclick="$('#marking').val('${numberlisthtml2}')">${numberlisthtml2}</a></li>
|
</c:forEach>
|
</ul>
|
</div><hr/>
|
架号:<input type="text" id="dropframe" name="dropframe" /><hr/>
|
磨量:<input type="text" id="grinding" name="grinding" /><hr/>
|
流程卡:<input type="text" id="processcardid" name="processcardid" /><hr/>
|
工程号:<input type="text" id="engineeringid" name="engineeringid" /><hr/>
|
<input type="submit" class="btn btn-primary " value="生成任务"/>
|
</div>
|
</form>
|
|
|
</section>
|
<!-- /.content -->
|
</div>
|
<!-- /.content-wrapper -->
|
</body>
|
</html>
|