<!DOCTYPE html>
|
<html lang="zh-cn" xmlns:th=http://www.thymeleaf.org>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<title>智慧粮库管理平台-灯控管理</title>
|
<meta name="renderer" content="webkit">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta name="viewport"
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
<link rel="stylesheet"
|
th:href="@{../../static/plugins/layui/css/layui.css}" media="all">
|
<style>
|
html, body, .full {
|
width: 100%;
|
height: 100%;
|
overflow-y: hidden;
|
}
|
|
#m-container {
|
/*background: #cae3ed url(../../static/img/aerial-5013.png) left top no-repeat;*/
|
background-repeat: no-repeat;
|
background-size: 100% 100%;
|
-moz-background-size: 100% 100%;
|
}
|
|
.areation-center {
|
text-align: center;
|
}
|
|
.m10 {
|
margin: 10px;
|
}
|
|
.rkbk-quick-btn {
|
height: 45px;
|
width: 185px;
|
display: inline-block;
|
line-height: 40px;
|
font-size: 16px;
|
}
|
|
|
.rkbk-quick-btn i img {
|
height: 18px;
|
margin-right: 5px;
|
}
|
|
.btn-green {
|
background-color: #8bc16a;
|
}
|
|
.btn-violet {
|
background-color: #7494d1;
|
}
|
|
.btn-red {
|
background-color: #e37878;
|
}
|
|
.btn-blue {
|
background-color: #53adce;
|
}
|
|
.device {
|
position: absolute;
|
}
|
|
.device img {
|
width: 35px;
|
}
|
|
span {
|
color: red;
|
margin-left: 5px;
|
font-size: 16px;
|
font-weight: bold;
|
}
|
</style>
|
</head>
|
<body>
|
|
<div class="full" id="m-container">
|
<div style="float: right; padding-top: 3px;">
|
<span id="fire_info">提示:</span>
|
|
<div class="layui-btn-group">
|
<button type="button" class="layui-btn" id='btnA' onclick="cut('A')">显示仓外
|
</button>
|
|
<button type="button" class="layui-btn layui-btn-primary" id='btnB' onclick="cut('B')">显示仓内
|
</button>
|
</div>
|
|
<div class="layui-btn-group">
|
<button type="button" class="layui-btn layui-btn-warm" onclick="query()">刷新页面
|
</button>
|
<button type="button" class="layui-btn layui-btn-warm" onclick="queryAllStatus()">刷新状态
|
</button>
|
</div>
|
|
<div class="layui-btn-group">
|
<button type="button" class="layui-btn layui-btn-normal" onclick="executeALL('OPEN')">库区全开
|
</button>
|
|
<button type="button" class="layui-btn layui-btn-normal" onclick="executeALL('CLOSE')">库区全关
|
</button>
|
</div>
|
<div class="layui-btn-group">
|
<button type="button" class="layui-btn" onclick="dragDevice()">移动</button>
|
<button type="button" class="layui-btn" onclick="updatePos()">保存</button>
|
</div>
|
</div>
|
|
</div>
|
|
<script th:inline="javascript">
|
//系统登陆人
|
var loginUser = [[${loginUser}]];
|
//业务类型
|
var bizType = [[${bizType}]];
|
//userId
|
var userId = [[${loginUser.username}]];
|
var companyId = [[${loginUser.companyId}]];
|
var deptId = [[${deptId}]];
|
//照明设备列表
|
var listDevice = [[${listDevice}]];
|
|
var backgroundImg = [[${backgroundImg}]];
|
</script>
|
|
<script th:src="@{../../static/plugins/layui/layui.js}"></script>
|
<script th:src="@{../../static/js/jquery.min.js}"></script>
|
<script th:src="@{../../static/plugins/drag/drag-drop.js}"></script>
|
<script th:src="@{../../static/js/constant.js}"></script>
|
<script th:src="@{../../static/js/igds-common.js}"></script>
|
<script th:src="@{../../static/admin/lamp/lamp-default.js}"></script>
|
</body>
|
|
<!-- 弹出框-操作框-->
|
<div class="layui-tab-content areation-center" id="control-FK"
|
style="display: none;">
|
<div class="layui-btn-container m10">
|
<button class="rkbk-quick-btn layui-btn btn-violet"
|
onClick="executeIn('OPEN')">
|
<i><img th:src="@{../../static/images/icon-sm-fc.png}"/></i>仓内全开
|
</button>
|
<button class="rkbk-quick-btn layui-btn btn-red"
|
onClick="executeIn('CLOSE')">
|
<i><img th:src="@{../../static/images/icon-sm-fc.png}"/></i>仓内全关
|
</button>
|
</div>
|
<div class="layui-btn-container m10">
|
<button class="rkbk-quick-btn layui-btn btn-violet"
|
onClick="executeOut('OPEN')">
|
<i><img th:src="@{../../static/images/icon-sm-k.png}"/></i>仓外全开
|
</button>
|
<button class="rkbk-quick-btn layui-btn btn-red"
|
onClick="executeOut('CLOSE')">
|
<i><img th:src="@{../../static/images/icon-sm-g.png}"/></i>仓外全关
|
</button>
|
</div>
|
</div>
|
|
</html>
|