jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!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 http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧粮库管理系统-综合大屏</title>
    <link rel="shortcut icon" th:href="@{/static/favicon.ico}"/>
    <link th:href="@{/static/databoard/swiper-bundle-5303.min.css}" rel="stylesheet">
    <link th:href="@{/static/databoard/style-5303.min.css}" rel="stylesheet">
    <style>
        .content_box .bottom_box .swiper-slide::before {
            background-image: url(../../static/images/5303/chang_topleft@2x.png);
        }
 
        .content_box .bottom_box .swiper-slide::after {
            background-image: url(../../static/images/5303/chang_bottomright@2x.png);
        }
 
        .header {
            background-image: url(../../static/images/5303/bg@2x.png);
        }
 
        .time_info {
            font-size: 14px;
            padding: 0 32px 6px 32px;
            background-color: #153953;
            display: flex;
            gap: 18px;
            z-index: 1;
            color: #cae8ff;
        }
 
        .content_box .bottom_box {
            height: 488px;
        }
 
        .time_info_height {
            font-size: 14px;
            padding: 0 32px 6px 32px;
            background-color: #B65C5C;
            display: flex;
            gap: 18px;
            z-index: 1;
            color: #cae8ff;
        }
    </style>
</head>
<body>
 
<header class="header"><span th:text="${largeScreenName}">综合管理大屏</span></header>
 
<div class="content_box">
 
 
    <!-- 上模块 -->
    <div class="top_box">
 
        <!-- 基础信息 -->
        <div class="basic_info" id="basic_info">
            <div class="box_title">
                <img class="icon" th:src="@{../../static/images/5303/icon@2x.png}"/>
                <span>基础信息</span>
            </div>
            <div class="info">
                <div class="item">
                    <span class="title">仓库总数:</span>
                    <span class="value" id="depotNum">18</span>
                </div>
                <div class="item">
                    <span class="title">实际总储量:</span>
                    <span class="value" id="realStorage">14,672,124</span>
                    <span class="unit">KG</span>
                </div>
                <div class="item">
                    <span class="title">仓房类型:</span>
                    <span class="value" style="font-size:20px ;" id="depotType">高大平房仓</span>
                </div>
            </div>
            <img class="left_top" th:src="@{../../static/images/5303/left_top@2x.png}"/>
            <img class="right_top" th:src="@{../../static/images/5303/right_top@2x.png}"/>
            <img class="left_bottom" th:src="@{../../static/images/5303/left_bottom@2x.png}"/>
            <img class="right_bottom" th:src="@{../../static/images/5303/right_bottom@2x.png}"/>
        </div>
 
        <!-- 中间仓储统计模块 -->
        <div class="statistics">
            <div class="box_title">
                <img class="icon" th:src="@{../../static/images/5303/icon@2x.png}"/>
                <span>仓储统计</span>
            </div>
            <div class="chart_title">
                <p class="title">粮食品种</p>
                <p class="title">粮食年份</p>
                <p class="title">粮食产地</p>
            </div>
            <div class="chart" id="chart"></div>
 
            <img class="left_top" th:src="@{../../static/images/5303/left_top@2x.png}"/>
            <img class="right_top" th:src="@{../../static/images/5303/right_top@2x.png}"/>
            <img class="left_bottom" th:src="@{../../static/images/5303/left_bottom@2x.png}"/>
            <img class="right_bottom" th:src="@{../../static/images/5303/right_bottom@2x.png}"/>
        </div>
 
 
        <!-- 气象信息 -->
        <div class="weather_info">
            <div class="box_title">
                <img class="icon" th:src="@{../../static/images/5303/icon@2x.png}"/>
                <span>气象信息</span>
            </div>
            <div class="data">
                <div class="item">
                    <span class="title">
                        <img class="icon" th:src="@{../../static/images/5303/temperature@2x.png}"/>
                        温度
                    </span>
                    <span class="value" id="weather_wendu">--</span>
                </div>
                <div class="item">
                    <span class="title">
                        <img class="icon" th:src="@{../../static/images/5303/humidity@2x.png}"/>
                        湿度
                    </span>
                    <span class="value" id="weather_shidu">--</span>
                </div>
                <div class="item">
                    <span class="title">
                        <img class="icon" th:src="@{../../static/images/5303/weather@2x.png}"/>
                        天气
                    </span>
                    <span class="value" style="font-size: 16px;" id="weather_tianqi">--</span>
                </div>
            </div>
            <div class="update_time">
                <span class="title">更新时间:</span>
                <span class="value" id="weather_time">--</span>
            </div>
            <img class="left_top" th:src="@{../../static/images/5303/left_top@2x.png}"/>
            <img class="right_top" th:src="@{../../static/images/5303/right_top@2x.png}"/>
            <img class="left_bottom" th:src="@{../../static/images/5303/left_bottom@2x.png}"/>
            <img class="right_bottom" th:src="@{../../static/images/5303/right_bottom@2x.png}"/>
        </div>
 
    </div>
 
    <!-- 下面18个仓库模块 -->
    <div class="bottom_box swiper mySwiper">
 
        <!-- 18个仓库 -->
        <div class="swiper-wrapper" id="depotList">
<!--            <div class="swiper-slide">-->
<!--                <div class="chang_name">1号仓</div>-->
<!--                <div class="main_info">-->
<!--                    <div class="item">粮食品种: <span>小麦</span></div>-->
<!--                    <div class="item">粮食年限: <span>2020</span></div>-->
<!--                    <div class="item">粮食储量: <span>1280kg</span></div>-->
<!--                    <div class="item">粮食产地: <span>江苏省</span></div>-->
<!--                </div>-->
<!--                <div class="temperature_info">-->
<!--                    <div class="item">最高温: <span>19℃</span></div>-->
<!--                    <div class="item">最低温: <span>12℃</span></div>-->
<!--                    <div class="item">平均温: <span>17.1℃</span></div>-->
<!--                    <div class="item">仓温: <span>22℃</span></div>-->
<!--                </div>-->
<!--                <div class="time_info">-->
<!--                    <div class="item">检测时间: <span>2022-10-17 10:10:50</span></div>-->
<!--                </div>-->
<!--                <div class="owner">保管员: <span>甘博</span></div>-->
<!--            </div>-->
<!--            <div class="swiper-slide">-->
<!--                <div class="chang_name">2号仓</div>-->
<!--                <div class="main_info">-->
<!--                    <div class="item">粮食品种: <span>小麦</span></div>-->
<!--                    <div class="item">粮食年限: <span>2020</span></div>-->
<!--                    <div class="item">粮食储量: <span>1280kg</span></div>-->
<!--                    <div class="item">粮食产地: <span>江苏省</span></div>-->
<!--                </div>-->
<!--                <div class="temperature_info">-->
<!--                    <div class="item">最高温: <span>19℃</span></div>-->
<!--                    <div class="item">最低温: <span>12℃</span></div>-->
<!--                    <div class="item">平均温: <span>17.1℃</span></div>-->
<!--                    <div class="item">仓温: <span>22℃</span></div>-->
<!--                </div>-->
<!--                <div class="time_info">-->
<!--                    <div class="item">检测时间: <span>2022-10-17 10:10:50</span></div>-->
<!--                </div>-->
<!--                <div class="owner">保管员: <span>甘博</span></div>-->
<!--            </div>-->
<!--            <div class="swiper-slide">-->
<!--                <div class="chang_name">3号仓</div>-->
<!--                <div class="main_info">-->
<!--                    <div class="item">粮食品种: <span>小麦</span></div>-->
<!--                    <div class="item">粮食年限: <span>2020</span></div>-->
<!--                    <div class="item">粮食储量: <span>1280kg</span></div>-->
<!--                    <div class="item">粮食产地: <span>江苏省</span></div>-->
<!--                </div>-->
<!--                <div class="temperature_info">-->
<!--                    <div class="item">最高温: <span>19℃</span></div>-->
<!--                    <div class="item">最低温: <span>12℃</span></div>-->
<!--                    <div class="item">平均温: <span>17.1℃</span></div>-->
<!--                    <div class="item">仓温: <span>22℃</span></div>-->
<!--                </div>-->
<!--                <div class="time_info">-->
<!--                    <div class="item">检测时间: <span>2022-10-17 10:10:50</span></div>-->
<!--                </div>-->
<!--                <div class="owner">保管员: <span>甘博</span></div>-->
<!--            </div>-->
 
<!--            &lt;!&ndash; 这条是报错效果 添加一条error class &ndash;&gt;-->
<!--            <div class="swiper-slide error">-->
<!--                <div class="chang_name">4号仓</div>-->
<!--                <div class="main_info">-->
<!--                    <div class="item">粮食品种: <span>小麦</span></div>-->
<!--                    <div class="item">粮食年限: <span>2020</span></div>-->
<!--                    <div class="item">粮食储量: <span>1280kg</span></div>-->
<!--                    <div class="item">粮食产地: <span>江苏省</span></div>-->
<!--                </div>-->
<!--                <div class="temperature_info">-->
<!--                    <div class="item">最高温: <span>19℃</span></div>-->
<!--                    <div class="item">最低温: <span>12℃</span></div>-->
<!--                    <div class="item">平均温: <span>17.1℃</span></div>-->
<!--                    <div class="item">仓温: <span>22℃</span></div>-->
<!--                </div>-->
<!--                <div class="time_info_height">-->
<!--                    <div class="item">检测时间: <span>2022-10-17 10:10:50</span></div>-->
<!--                </div>-->
<!--                <div class="owner">保管员: <span>甘博</span></div>-->
<!--            </div>-->
            </div>
        <!-- 18个仓库 -->
 
        <div class="swiper-pagination"></div>
    </div>
</div>
 
<script th:src="@{/static/js/jquery.min.js}"></script>
<script th:src="@{/static/plugins/layui/layui.js}"></script>
<script th:src="@{/static/databoard/swiper-bundle-5303.min.js}"></script>
<script th:src="@{/static/plugins/echarts/echarts.min-4.7.js}"></script>
<script th:inline="javascript">
 
    var bizType = [[${bizType}]];
    var bizTag = [[${bizTag}]];
    var userId = [[${loginUser.username}]];
    var companyId = [[${loginUser.companyId}]];
    var deptId = [[${deptId}]];
    var chartFood = [[${chartFood}]];
    var tag = [[${tag}]];
 
    //天气信息
    var weatherInfo = [[${weatherInfo}]];
    //仓库列表及粮情信息
    var listDepot = [[${listDepot}]];
 
    //设置定时刷新页面,主要为了防止掉线
    var timerFlush;
    window.onload = function () {
        if (timerFlush) {
            clearInterval(timerFlush);
        }
        timerFlush = setInterval(function () {
            window.location.href = window.location.href;
        }, 60 * 60 * 1000);
    };
</script>
<script th:src="@{/static/js/constant.js}"></script>
<script th:src="@{/static/js/igds-common.js}"></script>
<script th:src="@{/static/databoard/databoard-5303.js}"></script>
</body>
</html>