czt
2025-06-03 4901f0cf60ecc6484d149ca5e9a0083e4b21db21
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!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="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">
 
    <title>气调作业</title>
 
    <link rel="stylesheet" th:href="@{/ajax/libs/layui/css/layui.css}"/>
    <link rel="stylesheet" th:href="@{/dzhwk/n2/n2-control.css}"/>
 
    <style>
        .img_5 {
            margin-left: -10px;
        }
 
    </style>
</head>
 
<body class="qifa">
<div class="wrapper wrapper-content">
    <div class="qf_box1 flex">
        <div class="qf1_bx1">
            <div class="qf1_bx1_lb layui-form">
                <form class="layui-form" action="">
                    <div class="layui-form-item lq-left1-from">
                        <label class="layui-form-label">仓库列表</label>
                        <div class="layui-input-block">
                            <select name="depotId" id="depotId" lay-filter="select_depotId">
                                <option value="P0101" type="01">P01</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-btn-group layui-row sdft-btn-group">
                        <button type="button"
                                class="layui-btn layui-col-lg6 sdft-topbtn active js-tf-btn"
                                onclick="toCut('01')">显示正面
                        </button>
                        <button type="button"
                                class="layui-btn layui-col-lg6 sdft-topbtn js-tf-btn"
                                onclick="toCut('02')">显示反面
                        </button>
                    </div>
                </form>
            </div>
        </div>
        <div class="qf1_bx2">
            <div class="qf1_tit" id="text_checkDate">检测时间: --</div>
            <div class="qf1_time">
                <ul class="x4">
                    <li>
                        <div class="num din" id="text_n2Max">--</div>
                        <p>氮气最高(%)</p>
                    </li>
                    <li>
                        <div class="num din" id="text_n2Min">--</div>
                        <p>氮气最低(%)</p>
 
 
                    </li>
                    <li>
                        <div class="num din" id="text_n2Ave">--</div>
                        <p>平均氮气(%)</p>
                    </li>
                    <li>
                        <div class="num din" id="text_pressure">--</div>
                        <p>内外压差(pa)</p>
                    </li>
                </ul>
            </div>
        </div>
        <div class="qf1_bx3">
            <div class="qf1_tit">仓库信息</div>
            <div class="qf1_time">
                <ul class="x3">
                    <li>
                        <div class="num c-hand" onclick="showVideo()">仓内视频</div>
                        <p class="c-hand" onclick="showVideo()">点击查看</p>
                    </li>
                    <li>
                        <div class="num" id="text_foodVariety">--</div>
                        <p>粮食品种</p>
                    </li>
                    <li>
                        <div class="num" id="text_storeKeeper">--</div>
                        <p>保管员</p>
                    </li>
                </ul>
            </div>
        </div>
        <div class="qf1_bx4">
            <div class="qf1_tit">仓库状态</div>
            <div class="icon">
                <img th:src="@{/img/dzhwk/n2/icon_sd02.png}">
            </div>
            <div class="tit" id="text_status">无气调操作</div>
        </div>
    </div>
    <div class="qf_box2">
        <div class="qf2_left">
            <div class="qf_tit" id="mac_name">库区制氮机</div>
            <div class="qf2_charts">
                <div class="start">
                    <img th:src="@{/img/dzhwk/n2/icon_kg.png}" id="mac_runImg"
                         style="margin: 15px 0 15px">
                    <div class="p2" id="mac_runStatus">开启</div>
                </div>
                <ul class="chart_ul">
                    <li>
                        <div id="chart1" class="charts"></div>
                    </li>
                    <li>
                        <div id="chart2" class="charts"></div>
                    </li>
                    <li>
                        <div id="chart3" class="charts"></div>
                    </li>
                </ul>
            </div>
            <div class="qf2_img">
                <img th:src="@{/img/dzhwk/n2/mac.gif}" style="margin-top: -5px;" id="mac_img">
                <img th:src="@{/img/dzhwk/n2/xt1.png}" class="xt">
            </div>
        </div>
        <div class="qf2_right">
            <div class="qf_tit">仓库阀门箱</div>
            <div class="qf2_img">
                <img th:src="@{/img/dzhwk/n2/3_box_00.png}" id="n2_box_img"
                     class="img_5">
            </div>
        </div>
    </div>
    <div class="floatBar">
        <ul>
            <li class="on"><a href="javascript:;" onclick="doExe('30')"> <i></i>
                <p>气密性检测</p>
            </a></li>
            <li class="on"><a href="javascript:;" onclick="doExe('01')"> <i></i>
                <p>抽负压</p>
            </a></li>
            <li class="on"><a href="javascript:;" onclick="doExe('03')"> <i></i>
                <p>充氮</p>
            </a></li>
            <li class="on"><a href="javascript:;" onclick="doExe('04')"> <i></i>
                <p>均氮</p>
            </a></li>
            <li class="on"><a href="javascript:;" onclick="doExe('02')"> <i></i>
                <p>排气</p>
            </a></li>
            <li class="on"><a href="javascript:;" onclick="showMacControl()"> <i></i>
                <p>制氮机控制</p>
            </a></li>
        </ul>
    </div>
</div>
 
<script th:inline="javascript">
    //仓库列表
    var listDepot = [{
        "bhId": "1",
        "buildingId": "91310114703439394M0010001",
        "checkDate": 1605542400000,
        "companyId": "5303",
        "depotStatus": "4",
        "depotStatusName": "出库中",
        "depotType": "02",
        "depotTypeName": "浅圆仓",
        "deptId": "5303_001",
        "foodLevel": "01",
        "foodLevelName": "一等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1130000",
        "foodVarietyName": "稻谷",
        "foodYear": "2022",
        "id": "P0101",
        "name": "P01-01",
        "perImpurity": 0.36,
        "perWet": 13.7,
        "storageMax": 3000000,
        "storageReal": 0,
        "storeDate": 1668700800000,
        "storeKeeper": "wmf",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "王美福",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }, {
        "bhId": "2",
        "buildingId": "91310114703439394M0010001",
        "companyId": "5303",
        "depotStatus": "4",
        "depotStatusName": "出库中",
        "depotType": "01",
        "depotTypeName": "平房仓",
        "deptId": "5303_001",
        "foodLevel": "01",
        "foodLevelName": "一等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1130000",
        "foodVarietyName": "稻谷",
        "foodYear": "2022",
        "id": "P0102",
        "name": "P01-02",
        "storageMax": 3000000,
        "storageReal": 0,
        "storeDate": 1667836800000,
        "storeKeeper": "wmf",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "王美福",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }, {
        "bhId": "3",
        "buildingId": "91310114703439394M0010002",
        "companyId": "5303",
        "depotStatus": "34",
        "depotStatusName": "封仓-温控中",
        "depotType": "01",
        "depotTypeName": "平房仓",
        "deptId": "5303_001",
        "foodLevel": "01",
        "foodLevelName": "一等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1130000",
        "foodVarietyName": "稻谷",
        "foodYear": "2023",
        "id": "P0103",
        "name": "P01-03",
        "storageMax": 3000000,
        "storageReal": 2164420,
        "storeDate": 1635696000000,
        "storeKeeper": "xjh",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "徐佳昊",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }, {
        "bhId": "4",
        "buildingId": "91310114703439394M0010002",
        "companyId": "5303",
        "depotStatus": "32",
        "depotStatusName": "封仓-熏蒸中",
        "depotType": "01",
        "depotTypeName": "平房仓",
        "deptId": "5303_001",
        "foodLevel": "01",
        "foodLevelName": "一等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1110000",
        "foodVarietyName": "小麦",
        "foodYear": "2024",
        "id": "P0104",
        "name": "P01-04",
        "storageMax": 3000000,
        "storageReal": 3000000,
        "storeDate": 1720454400000,
        "storeKeeper": "xjh",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "徐佳昊",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }, {
        "bhId": "5",
        "buildingId": "91310114703439394M0010003",
        "companyId": "5303",
        "depotStatus": "4",
        "depotStatusName": "出库中",
        "depotType": "01",
        "depotTypeName": "平房仓",
        "deptId": "5303_001",
        "foodLevel": "02",
        "foodLevelName": "二等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1130000",
        "foodVarietyName": "稻谷",
        "foodYear": "2022",
        "id": "P0105",
        "name": "P01-05",
        "storageMax": 3000000,
        "storageReal": 0,
        "storeDate": 1604160000000,
        "storeKeeper": "wmf",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "王美福",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }, {
        "bhId": "6",
        "buildingId": "91310114703439394M0010003",
        "companyId": "5303",
        "depotStatus": "4",
        "depotStatusName": "出库中",
        "depotType": "01",
        "depotTypeName": "平房仓",
        "deptId": "5303_001",
        "foodLevel": "01",
        "foodLevelName": "一等",
        "foodLocation": "上海市",
        "foodType": "122",
        "foodTypeName": "区级地方储备粮",
        "foodVariety": "1130000",
        "foodVarietyName": "稻谷",
        "foodYear": "2022",
        "id": "P0106",
        "name": "P01-06",
        "storageMax": 3000000,
        "storageReal": 0,
        "storeDate": 1604160000000,
        "storeKeeper": "wmf",
        "storeKeeperLevel": "高级保管员",
        "storeKeeperName": "王美福",
        "storeKeeperPhone": "####",
        "storeType": "1"
    }];
    //业务类型
    var bizType = null;
    //userId
    var userId = null;
    var companyId = null;
    var imgMap = null;
    var DEPOT_TYPE = "01"; //仓库类型
    var deptId = "1000";
    var depotId = "P0101";// 当前仓库id,存在空情况
</script>
<script th:src="@{/ajax/libs/layui/layui.js}"></script>
<script th:src="@{/ajax/libs/echarts/echarts.min.js}"></script>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/dzhwk/common/constant.js}"></script>
<script th:src="@{/dzhwk/common/igds-common.js}"></script>
<script th:src="@{/dzhwk/n2/n2-control.js}"></script>
</body>
</html>