CZT
2023-09-14 db72a27d10fdc4de0926fb8c7cc411ec0d4ea51b
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html lang="zh-cn" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>智慧仓库管理系统 -首页</title>
    <meta name="description" content="智慧仓库管理系统">
 
    <link rel="shortcut icon" th:href="@{/static/favicon.ico}"/>
    <link th:href="@{/static/plugins/layui/css/layui.css}" rel="stylesheet"
          type="text/css">
    <link th:href="@{/static/index/index.css}" rel="stylesheet"
          type="text/css">
 
</head>
<style>
    .i-footer p {
        line-height: 24px;
        /*     color: #8a99a6; */
        color: #FFF;
        font-size: 16px;
    }
 
    .i-tit img {
        height: 96px;
    }
    .dis-none{
        display: none !important;
    }
</style>
 
<body>
<div class="i-bodyBg">
    <img th:src="@{/static/images/i-body2.png}"/>
</div>
 
<div class="i-container ">
    <div class="i-top layui-row">
        <div class="layui-col-lg6">
            <h1 class="i-logo">
                <img th:src="${logoTitle}"/>
            </h1>
        </div>
        <div class="i-top-r">
            <a id="menu-group" href="./home-group" target="_self" class="i-top-btn dis-none">
                <i class="i-icon">
                    <img th:src="@{/static/images/i-icon-sy.png}" style="height: 28px;width: 28px;"/>
                </i>
                首页
            </a>
            <a href="./basic/common/help-center" target="_blank" class="i-top-btn">
                <i class="i-icon">
                    <img th:src="@{/static/images/i-icon-help.png}"/>
                </i>
                帮助
            </a>
            <a href="./basic/databoard/index-gateway" target="_blank" class="i-top-btn">
                <i class="i-icon">
                    <img th:src="@{/static/images/i-icon-dpm.png}"/>
                </i>
                综合大屏
            </a>
            <a href="./basic/databoard/inout" target="_blank" class="i-top-btn">
                <i class="i-icon">
                    <img th:src="@{/static/images/i-icon-dpm.png}"/>
                </i>
                出入库大屏
            </a>
            <a href="./log-out" class="i-top-btn">
                <i class="i-icon">
                    <img th:src="@{/static/images/i-icon-tc.png}"/>
                </i>
                退出登录
            </a>
        </div>
    </div>
 
</div>
<!--i-top end-->
 
<h2 class="i-tit">
    <img th:src="@{/static/images/login-titimg2.png}"/>
</h2>
 
<div class="i-main layui-row">
    <div class="layui-col-lg6">
        <div class="i-menuBox">
                <span class="i-menu-item i-menu-tit"> <img
                        th:src="@{/static/images/i-bg-tit1.png}"/>
                </span> <span class="i-menu-item i-menu1 i-navBg1"> <a
                href="javascript:;" onclick="openByTag('grain')"> <i><img
                th:src="@{/static/images/i-icon-lq.png}"/></i>
                        <P>粮情测控</P>
                </a>
                </span> <span class="i-menu-item i-menu2 i-navBg2"> <a
                href="javascript:;" onclick="openByTag('verb')"> <i><img
                th:src="@{/static/images/i-icon-zntf.png}"/></i>
                        <P>智能通风</P>
                </a>
                </span> <span class="i-menu-item i-menu3 i-navBg3"> <a
                href="javascript:;" onclick="openByTag('es')"> <i><img
                th:src="@{/static/images/i-icon-nhgl.png}"/></i>
                        <P>能耗监测</P>
                </a>
                </span> <span class="i-menu-item i-menu4 i-navBg4"> <a
                href="javascript:;" onclick="openByTag('warn')"> <i><img
                th:src="@{/static/images/i-icon-ai.png}"/></i>
                        <P>配送跟踪</P>
                </a>
                </span> <span class="i-menu-item i-menu5 i-navBg5">
                <a href="javascript:;" onclick="openQuantity()"> <i><img
                        th:src="@{/static/images/i-icon-sljc.png}"/></i>
                        <P>省平台对接</P>
                </a>
                </span> <span class="i-menu-item i-menu6 i-navBg6"> <a
                href="javascript:;" onclick="openByTag('temp')"> <i><img
                th:src="@{/static/images/i-icon-wkgl.png}"/></i>
                        <P>智能温控</P>
                </a>
                </span>
        </div>
        <!--i-menuBox end-->
 
    </div>
 
    <div class="layui-col-lg6">
        <div class="i-menuBox">
                <span class="i-menu-item i-menu-tit"> <img
                        th:src="@{/static/images/i-bg-tit2.png}"/>
                </span> <span class="i-menu-item i-menu1 i-navBg6"> <a
                href="javascript:;" onclick="openByTag('inout')"> <i><img
                th:src="@{/static/images/i-icon-crkgl.png}"/></i>
                        <P>出入库物流管理</P>
                </a>
                </span> <span class="i-menu-item i-menu2 i-navBg3"> <a
                href="javascript:;" onclick="openByTag('manager')"> <i><img
                th:src="@{/static/images/i-icon-zhyw.png}"/></i>
                        <P>业务管理</P>
                </a>
                </span> <span class="i-menu-item i-menu3 i-navBg4"> <a
                href="javascript:;" onClick="open3d()"> <i><img
                th:src="@{/static/images/i-icon-swzs.png}"/></i>
                        <P>三维展示</P>
                </a>
                </span> <span class="i-menu-item i-menu4 i-navBg5"> <a
                href="javascript:;" onclick="openByTag('sys')"> <i><img
                th:src="@{/static/images/i-icon-xtgl.png}"/></i>
                        <P>系统管理</P>
                </a>
                </span> <span class="i-menu-item i-menu5 i-navBg2"> <a
                href="javascript:;" onclick="openByTag('n2')"> <i><img
                th:src="@{/static/images/i-icon-znqd.png}"/></i>
                        <P>现场管控</P>
                </a>
                </span> <span class="i-menu-item i-menu6 i-navBg1"> <a
                href="javascript:;" onclick="openByTag('security')"> <i><img
                th:src="@{/static/images/i-icon-afgl.png}"/></i>
                        <P>智能安防</P>
                </a>
                </span>
        </div>
        <!--i-menuBox end-->
    </div>
</div>
 
<!--i-main end-->
<div class="i-footer">
    <p th:text=${support}>技术支持: 风正致远信息技术股份有限公司</p>
</div>
 
<script th:src="@{/static/js/jquery.min.js}"></script>
 
<script th:inline="javascript">
    //定义变量
    var companyId = [[${loginUser.companyId}]];
    //userId
    var userId = [[${loginUser.username}]];
 
    //数量检测访问地址
    var quantityPath = [[${quantityPath}]];
 
    //三维路径
    var threePath = [[${threePath}]];
 
    var groupTag = [[${groupTag}]];//是否集团或者公司用户进入
 
    window.onload = function () {
        //表示集团/公司用户进入
        if(1 == groupTag){
            $("#menu-group").removeClass("dis-none");
        }
    };
 
    function openByTag(tag) {
        window.open("./home?t="+tag+"&g="+groupTag, "_self");
    };
 
    //打开质量检
    function openQuantity() {
        if ("#" == quantityPath) {
            openByTag("quantity")
        } else {
            window.open(quantityPath, "_blank");
        }
    };
 
    //打开质量检测
    function open3d() {
        if ("#" == threePath) {
            window.open("#", "_self");
        } else {
            window.open(threePath, "_blank");
        }
    };
</script>
</body>
 
</html>