|
|
@@ -76,14 +76,219 @@
|
|
76
|
76
|
</div>
|
|
77
|
77
|
<Search />
|
|
78
|
78
|
<ThemeSetting />
|
|
|
79
|
+ <el-dialog title="" :visible.sync="dialogFormVisible" width="30%">
|
|
|
80
|
+ <div class="tanchuang">
|
|
|
81
|
+ <div class="div_header">
|
|
|
82
|
+ <div class="head_left">
|
|
|
83
|
+ <div style="font-size: 17px; font-weight: 500; margin-right: 30px;">
|
|
|
84
|
+ {{ canghao }}号仓
|
|
|
85
|
+ </div>
|
|
|
86
|
+ <div>(出入库中)</div>
|
|
|
87
|
+ </div>
|
|
|
88
|
+ <div class="head_right">
|
|
|
89
|
+ <div style="font-size: 10px;">查看></div>
|
|
|
90
|
+ </div>
|
|
|
91
|
+ </div>
|
|
|
92
|
+
|
|
|
93
|
+ <div
|
|
|
94
|
+ class="tanKuang_middle"
|
|
|
95
|
+ style="display: flex; height: 125px; align-items: center;"
|
|
|
96
|
+ >
|
|
|
97
|
+ <div class="middle_left_f">
|
|
|
98
|
+ <div class="middle_left">
|
|
|
99
|
+ <div style="font-weight: 500; margin-right: 30px;">仓房类型:</div>
|
|
|
100
|
+ <div style="margin-right: 30px;">平房仓库</div>
|
|
|
101
|
+ <div>5367 m3</div>
|
|
|
102
|
+ </div>
|
|
|
103
|
+ <div class="middle_left">
|
|
|
104
|
+ <div style="font-weight: 500; margin-right: 30px;">物资性质:</div>
|
|
|
105
|
+ <div style="margin-right: 30px;">政府储备</div>
|
|
|
106
|
+ </div>
|
|
|
107
|
+ <div class="middle_left">
|
|
|
108
|
+ <div style="font-weight: 500; margin-right: 30px;">物资类型:</div>
|
|
|
109
|
+ <div style="margin-right: 30px;">基本生活保障物资</div>
|
|
|
110
|
+ </div>
|
|
|
111
|
+ <div class="middle_left">
|
|
|
112
|
+ <div style="font-weight: 500; margin-right: 30px;">仓管员:</div>
|
|
|
113
|
+ <div style="margin-right: 30px;">王全得</div>
|
|
|
114
|
+ <div>(18500327512)</div>
|
|
|
115
|
+ </div>
|
|
|
116
|
+ </div>
|
|
|
117
|
+ <div class="middle_right" style="margin-top: 10px; margin-left: 10px;">
|
|
|
118
|
+ <div
|
|
|
119
|
+ style="
|
|
|
120
|
+ padding: 5px 20px;
|
|
|
121
|
+ background: #ebebeb;
|
|
|
122
|
+ margin-bottom: 10px;
|
|
|
123
|
+ border-radius: 5px;
|
|
|
124
|
+"
|
|
|
125
|
+ >
|
|
|
126
|
+ <span style="font-weight: 500; padding-right: 10px;">20 ℃</span>
|
|
|
127
|
+ <span style="font-weight: 500;">35%</span>
|
|
|
128
|
+ <div style="color: #5f9af8; text-align: center;">仓内</div>
|
|
|
129
|
+ </div>
|
|
|
130
|
+ <div
|
|
|
131
|
+ style="padding: 5px 20px; background: #ebebeb; border-radius: 5px;"
|
|
|
132
|
+ >
|
|
|
133
|
+ <span style="font-weight: 500; padding-right: 10px;">18 ℃</span>
|
|
|
134
|
+ <span style="font-weight: 500;">30%</span>
|
|
|
135
|
+ <div style="color: #5f9af8; text-align: center;">仓外</div>
|
|
|
136
|
+ </div>
|
|
|
137
|
+ </div>
|
|
|
138
|
+ </div>
|
|
|
139
|
+
|
|
|
140
|
+ <div style="height: 5px; background: #ebebeb; margin: 10px 0;" />
|
|
|
141
|
+
|
|
|
142
|
+ <div class="tankuang_bottom">
|
|
|
143
|
+ <div
|
|
|
144
|
+ class="bottom_header"
|
|
|
145
|
+ style="display: flex; justify-content: space-between;"
|
|
|
146
|
+ >
|
|
|
147
|
+ <div style="font-weight: 500;">在储物资 (13种)</div>
|
|
|
148
|
+ <div style="color: gray;">库容比85%</div>
|
|
|
149
|
+ </div>
|
|
|
150
|
+
|
|
|
151
|
+ <div
|
|
|
152
|
+ class="bottom_child"
|
|
|
153
|
+ style="display: flex; justify-content: space-between;"
|
|
|
154
|
+ >
|
|
|
155
|
+ <div class="bottom_left" style="width: 100px; height: 100px;">
|
|
|
156
|
+ <img
|
|
|
157
|
+ :src="require('@/assets/images/wuzi1.png')"
|
|
|
158
|
+ style="width: 100%; height: 100%;"
|
|
|
159
|
+ >
|
|
|
160
|
+ </div>
|
|
|
161
|
+ <div class="bottom_right">
|
|
|
162
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
163
|
+ <div style="font-weight: 500;">物资名称:</div>
|
|
|
164
|
+ <div style="margin-right: 20px;">户外帐篷 3-4人</div>
|
|
|
165
|
+ <div>(2728)</div>
|
|
|
166
|
+ </div>
|
|
|
167
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
168
|
+ <div style="font-weight: 500;">建议存储时间:</div>
|
|
|
169
|
+ <div>5年</div>
|
|
|
170
|
+ </div>
|
|
|
171
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
172
|
+ <div style="font-weight: 500;">生产日期:</div>
|
|
|
173
|
+ <div>2017-08-09</div>
|
|
|
174
|
+ </div>
|
|
|
175
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
176
|
+ <div style="font-weight: 500;">数量:</div>
|
|
|
177
|
+ <div>1839件</div>
|
|
|
178
|
+ </div>
|
|
|
179
|
+ </div>
|
|
|
180
|
+ </div>
|
|
|
181
|
+
|
|
|
182
|
+ <div
|
|
|
183
|
+ class="bottom_child"
|
|
|
184
|
+ style="display: flex; justify-content: space-between;"
|
|
|
185
|
+ >
|
|
|
186
|
+ <div class="bottom_left" style="width: 100px; height: 100px;">
|
|
|
187
|
+ <img
|
|
|
188
|
+ :src="require('@/assets/images/wuzi2.png')"
|
|
|
189
|
+ style="width: 100%; height: 100%;"
|
|
|
190
|
+ >
|
|
|
191
|
+ </div>
|
|
|
192
|
+ <div class="bottom_right">
|
|
|
193
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
194
|
+ <div style="font-weight: 500;">物资名称:</div>
|
|
|
195
|
+ <div style="margin-right: 20px;">棉被冬季</div>
|
|
|
196
|
+ <div>(12728)</div>
|
|
|
197
|
+ </div>
|
|
|
198
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
199
|
+ <div style="font-weight: 500;">建议存储时间:</div>
|
|
|
200
|
+ <div>5年</div>
|
|
|
201
|
+ </div>
|
|
|
202
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
203
|
+ <div style="font-weight: 500;">生产日期:</div>
|
|
|
204
|
+ <div>2017-08-09</div>
|
|
|
205
|
+ </div>
|
|
|
206
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
207
|
+ <div style="font-weight: 500;">数量:</div>
|
|
|
208
|
+ <div>1839件</div>
|
|
|
209
|
+ </div>
|
|
|
210
|
+ </div>
|
|
|
211
|
+ </div>
|
|
|
212
|
+
|
|
|
213
|
+ <div
|
|
|
214
|
+ class="bottom_child"
|
|
|
215
|
+ style="display: flex; justify-content: space-between;"
|
|
|
216
|
+ >
|
|
|
217
|
+ <div class="bottom_left" style="width: 100px; height: 100px;">
|
|
|
218
|
+ <img
|
|
|
219
|
+ :src="require('@/assets/images/wuzi3.png')"
|
|
|
220
|
+ style="width: 100%; height: 100%;"
|
|
|
221
|
+ >
|
|
|
222
|
+ </div>
|
|
|
223
|
+ <div class="bottom_right">
|
|
|
224
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
225
|
+ <div style="font-weight: 500;">物资名称:</div>
|
|
|
226
|
+ <div style="margin-right: 20px;">折叠桌椅</div>
|
|
|
227
|
+ <div>(2238)</div>
|
|
|
228
|
+ </div>
|
|
|
229
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
230
|
+ <div style="font-weight: 500;">建议存储时间:</div>
|
|
|
231
|
+ <div>5年</div>
|
|
|
232
|
+ </div>
|
|
|
233
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
234
|
+ <div style="font-weight: 500;">生产日期:</div>
|
|
|
235
|
+ <div>2017-08-09</div>
|
|
|
236
|
+ </div>
|
|
|
237
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
238
|
+ <div style="font-weight: 500;">数量:</div>
|
|
|
239
|
+ <div>1839件</div>
|
|
|
240
|
+ </div>
|
|
|
241
|
+ </div>
|
|
|
242
|
+ </div>
|
|
|
243
|
+
|
|
|
244
|
+ <div
|
|
|
245
|
+ class="bottom_child"
|
|
|
246
|
+ style="display: flex; justify-content: space-between;"
|
|
|
247
|
+ >
|
|
|
248
|
+ <div class="bottom_left" style="width: 100px; height: 100px;">
|
|
|
249
|
+ <img
|
|
|
250
|
+ :src="require('@/assets/images/wuzi4.png')"
|
|
|
251
|
+ style="width: 100%; height: 100%;"
|
|
|
252
|
+ >
|
|
|
253
|
+ </div>
|
|
|
254
|
+ <div class="bottom_right">
|
|
|
255
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
256
|
+ <div style="font-weight: 500;">物资名称:</div>
|
|
|
257
|
+ <div style="margin-right: 20px;">夏季被冬季</div>
|
|
|
258
|
+ <div>(12728)</div>
|
|
|
259
|
+ </div>
|
|
|
260
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
261
|
+ <div style="font-weight: 500;">建议存储时间:</div>
|
|
|
262
|
+ <div>5年</div>
|
|
|
263
|
+ </div>
|
|
|
264
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
265
|
+ <div style="font-weight: 500;">生产日期:</div>
|
|
|
266
|
+ <div>2017-08-09</div>
|
|
|
267
|
+ </div>
|
|
|
268
|
+ <div style="display: flex; margin: 5px 0;">
|
|
|
269
|
+ <div style="font-weight: 500;">数量:</div>
|
|
|
270
|
+ <div>388件</div>
|
|
|
271
|
+ </div>
|
|
|
272
|
+ </div>
|
|
|
273
|
+ </div>
|
|
|
274
|
+ </div>
|
|
|
275
|
+ </div>
|
|
|
276
|
+
|
|
|
277
|
+ <div slot="footer" class="dialog-footer">
|
|
|
278
|
+ <el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
|
279
|
+ <el-button type="primary" @click="dialogFormVisible = false">
|
|
|
280
|
+ 确 定
|
|
|
281
|
+ </el-button>
|
|
|
282
|
+ </div>
|
|
|
283
|
+ </el-dialog>
|
|
79
|
284
|
</div>
|
|
80
|
285
|
</template>
|
|
81
|
286
|
|
|
82
|
287
|
<script>
|
|
83
|
|
-import wuzi1 from '@/assets/images/wuzi1.png'
|
|
84
|
|
-import wuzi2 from '@/assets/images/wuzi2.png'
|
|
85
|
|
-import wuzi3 from '@/assets/images/wuzi3.png'
|
|
86
|
|
-import wuzi4 from '@/assets/images/wuzi4.png'
|
|
|
288
|
+// import wuzi1 from '@/assets/images/wuzi1.png'
|
|
|
289
|
+// import wuzi2 from '@/assets/images/wuzi2.png'
|
|
|
290
|
+// import wuzi3 from '@/assets/images/wuzi3.png'
|
|
|
291
|
+// import wuzi4 from '@/assets/images/wuzi4.png'
|
|
87
|
292
|
import $ from 'jquery'
|
|
88
|
293
|
import variables from '@/assets/styles/resources/variables.scss'
|
|
89
|
294
|
import Logo from './components/Logo'
|
|
|
@@ -122,23 +327,27 @@ export default {
|
|
122
|
327
|
},
|
|
123
|
328
|
data() {
|
|
124
|
329
|
return {
|
|
|
330
|
+ // 弹框仓号
|
|
|
331
|
+ canghao: '',
|
|
|
332
|
+ dialogFormVisible: false,
|
|
125
|
333
|
// 热区
|
|
126
|
334
|
datas: {
|
|
127
|
|
- 'maps': [
|
|
128
|
|
- {'index': 1, 'x': 345, 'y': 439, h: 150},
|
|
129
|
|
- {'index': 2, 'x': 538, 'y': 452, h: 150},
|
|
130
|
|
- {'index': 3, 'x': 729, 'y': 458, h: 150},
|
|
131
|
|
- {'index': 4, 'x': 954, 'y': 469, h: 150},
|
|
132
|
|
- {'index': 5, 'x': 1150, 'y': 474, h: 150},
|
|
133
|
|
- {'index': 6, 'x': 459, 'y': 218},
|
|
134
|
|
- {'index': 7, 'x': 630, 'y': 226},
|
|
135
|
|
- {'index': 8, 'x': 799, 'y': 233},
|
|
136
|
|
- {'index': 9, 'x': 995, 'y': 238},
|
|
137
|
|
- {'index': 10, 'x': 1168, 'y': 249},
|
|
138
|
|
- {'index': 11, 'x': 1361, 'y': 253},
|
|
139
|
|
- {'index': 12, 'x': 1539, 'y': 261}
|
|
140
|
|
-
|
|
141
|
|
- ], 'width': 1905, 'height': 1136
|
|
|
335
|
+ maps: [
|
|
|
336
|
+ { index: 1, x: 345, y: 439, h: 150 },
|
|
|
337
|
+ { index: 2, x: 538, y: 452, h: 150 },
|
|
|
338
|
+ { index: 3, x: 729, y: 458, h: 150 },
|
|
|
339
|
+ { index: 4, x: 954, y: 469, h: 150 },
|
|
|
340
|
+ { index: 5, x: 1150, y: 474, h: 150 },
|
|
|
341
|
+ { index: 6, x: 459, y: 218 },
|
|
|
342
|
+ { index: 7, x: 630, y: 226 },
|
|
|
343
|
+ { index: 8, x: 799, y: 233 },
|
|
|
344
|
+ { index: 9, x: 995, y: 238 },
|
|
|
345
|
+ { index: 10, x: 1168, y: 249 },
|
|
|
346
|
+ { index: 11, x: 1361, y: 253 },
|
|
|
347
|
+ { index: 12, x: 1539, y: 261 }
|
|
|
348
|
+ ],
|
|
|
349
|
+ width: 1905,
|
|
|
350
|
+ height: 1136
|
|
142
|
351
|
},
|
|
143
|
352
|
isRouterAlive: true,
|
|
144
|
353
|
routePath: '',
|
|
|
@@ -221,7 +430,6 @@ export default {
|
|
221
|
430
|
}, */
|
|
222
|
431
|
destroyed() {
|
|
223
|
432
|
window.removeEventListener('scroll', this.onScroll)
|
|
224
|
|
-
|
|
225
|
433
|
},
|
|
226
|
434
|
methods: {
|
|
227
|
435
|
// 热区
|
|
|
@@ -238,217 +446,44 @@ export default {
|
|
238
|
446
|
htmlStr += `<div w=${w} h=${h} x=${x} y=${y} canghao=${canghao} class=area path=${path} style=left:${
|
|
239
|
447
|
x - w / 2 + 260
|
|
240
|
448
|
}px;top:${y - w / 2}px;width:${ele.w}px;height:${ele.h}px></div>`
|
|
241
|
|
- htmlStr += '<div id="pDiv"></div>'
|
|
|
449
|
+ // htmlStr += '<div id="pDiv"></div>'
|
|
242
|
450
|
}
|
|
243
|
451
|
|
|
244
|
452
|
$('#map').append(htmlStr)
|
|
245
|
453
|
console.log(document.getElementsByClassName('area'))
|
|
246
|
454
|
$('.area').click(e => {
|
|
247
|
|
- console.log(e.target, 'e.target...')
|
|
248
|
|
- // var url = e.target.getAttribute("url")
|
|
249
|
|
- var path = e.target.getAttribute('path')
|
|
250
|
|
-
|
|
251
|
|
- console.log('path', path)
|
|
252
|
|
-
|
|
253
|
|
- if (path !== '-1') {
|
|
254
|
|
- this.$router.push(path)
|
|
255
|
|
- }
|
|
|
455
|
+ console.log('?????????????')
|
|
|
456
|
+ console.log(this.dialogFormVisible)
|
|
|
457
|
+ this.canghao = $(e.target).attr('canghao')
|
|
|
458
|
+ this.dialogFormVisible = true
|
|
|
459
|
+ // console.log(e.target, 'e.target...')
|
|
|
460
|
+ // // var url = e.target.getAttribute("url")
|
|
|
461
|
+ // var path = e.target.getAttribute('path')
|
|
|
462
|
+
|
|
|
463
|
+ // console.log('path', path)
|
|
|
464
|
+
|
|
|
465
|
+ // if (path !== '-1') {
|
|
|
466
|
+ // this.$router.push(path)
|
|
|
467
|
+ // }
|
|
256
|
468
|
})
|
|
257
|
469
|
// 鼠标移上去的样式
|
|
258
|
|
- $('.area').mouseover(e => {
|
|
259
|
|
- const canghao = $(e.target).attr('canghao')
|
|
260
|
|
-
|
|
261
|
|
- $('#pDiv').html(`
|
|
262
|
|
- <div class="tanchuang">
|
|
263
|
|
-
|
|
264
|
|
- <div class="div_header">
|
|
265
|
|
- <div class="head_left">
|
|
266
|
|
- <div style="font-size:17px;font-weight:500;margin-right:30px">${canghao}号仓</div>
|
|
267
|
|
- <div>(出入库中)</div>
|
|
268
|
|
- </div>
|
|
269
|
|
- <div class="head_right">
|
|
270
|
|
- <div style="font-size:10px;">查看></div>
|
|
271
|
|
-
|
|
272
|
|
- </div>
|
|
273
|
|
- </div>
|
|
274
|
|
-
|
|
275
|
|
-
|
|
276
|
|
- <div class="tanKuang_middle" style="display:flex;height:125px;align-items:center">
|
|
277
|
|
- <div class="middle_left_f">
|
|
278
|
|
- <div class="middle_left">
|
|
279
|
|
-
|
|
280
|
|
-
|
|
281
|
|
- <div style="font-weight:500;margin-right:30px">仓房类型:</div>
|
|
282
|
|
- <div style="margin-right:30px">平房仓库</div>
|
|
283
|
|
- <div>5367 m3</div>
|
|
284
|
|
- </div>
|
|
285
|
|
- <div class="middle_left">
|
|
286
|
|
- <div style="font-weight:500;margin-right:30px">物资性质:</div>
|
|
287
|
|
- <div style="margin-right:30px">政府储备</div>
|
|
288
|
|
- </div>
|
|
289
|
|
- <div class="middle_left">
|
|
290
|
|
- <div style="font-weight:500;margin-right:30px">物资类型:</div>
|
|
291
|
|
- <div style="margin-right:30px">基本生活保障物资</div>
|
|
292
|
|
-
|
|
293
|
|
- </div>
|
|
294
|
|
- <div class="middle_left">
|
|
295
|
|
- <div style="font-weight:500;margin-right:30px">仓管员:</div>
|
|
296
|
|
- <div style="margin-right:30px">王全得</div>
|
|
297
|
|
- <div>(18500327512)</div>
|
|
298
|
|
- </div>
|
|
299
|
|
- </div>
|
|
300
|
|
- <div class="middle_right" style="margin-top:10px;margin-left:10px;">
|
|
301
|
|
- <div style="padding:5px 20px;background:#ebebeb;margin-bottom:10px;border-radius:5px;">
|
|
302
|
|
- <span style="font-weight:500;padding-right:10px;">20 ℃</span>
|
|
303
|
|
- <span style="font-weight:500;">35%</span>
|
|
304
|
|
- <div style="color:#5f9af8;text-align:center">仓内</div>
|
|
305
|
|
- </div>
|
|
306
|
|
- <div style="padding:5px 20px;background:#ebebeb;border-radius:5px;">
|
|
307
|
|
- <span style="font-weight:500;padding-right:10px;">18 ℃</span>
|
|
308
|
|
- <span style="font-weight:500;">30%</span>
|
|
309
|
|
- <div style="color:#5f9af8;text-align:center"">仓外</div>
|
|
310
|
|
- </div>
|
|
311
|
|
- </div>
|
|
312
|
|
- </div>
|
|
313
|
|
-
|
|
314
|
|
-
|
|
315
|
|
- <div style="height:5px;background:#ebebeb;margin:10px 0"></div>
|
|
316
|
|
-
|
|
317
|
|
-
|
|
318
|
|
- <div class="tankuang_bottom">
|
|
319
|
|
- <div class="bottom_header" style="display:flex;justify-content:space-between">
|
|
320
|
|
- <div style="font-weight:500">在储物资 (13种)</div>
|
|
321
|
|
- <div style="color:gray">库容比85%</div>
|
|
322
|
|
- </div>
|
|
323
|
|
-
|
|
324
|
|
- <div class="bottom_child" style="display:flex;justify-content:space-between">
|
|
325
|
|
- <div class="bottom_left" style="width:100px;height:100px">
|
|
326
|
|
- <img src="${wuzi1}"/ style="width:100%;height:100%">
|
|
327
|
|
- </div>
|
|
328
|
|
- <div class="bottom_right" >
|
|
329
|
|
- <div style="display:flex;margin:5px 0">
|
|
330
|
|
- <div style="font-weight:500">物资名称:</div>
|
|
331
|
|
- <div style="margin-right:20px;">户外帐篷 3-4人</div>
|
|
332
|
|
- <div>(2728)</div>
|
|
333
|
|
- </div>
|
|
334
|
|
- <div style="display:flex;margin:5px 0">
|
|
335
|
|
- <div style="font-weight:500">建议存储时间:</div>
|
|
336
|
|
- <div>5年</div>
|
|
337
|
|
- </div>
|
|
338
|
|
- <div style="display:flex;margin:5px 0">
|
|
339
|
|
- <div style="font-weight:500">生产日期:</div>
|
|
340
|
|
- <div>2017-08-09</div>
|
|
341
|
|
- </div>
|
|
342
|
|
- <div style="display:flex;margin:5px 0">
|
|
343
|
|
- <div style="font-weight:500">数量:</div>
|
|
344
|
|
- <div>1839件</div>
|
|
345
|
|
- </div>
|
|
346
|
|
-
|
|
347
|
|
- </div>
|
|
348
|
|
- </div>
|
|
349
|
|
-
|
|
350
|
|
-
|
|
351
|
|
- <div class="bottom_child" style="display:flex;justify-content:space-between">
|
|
352
|
|
- <div class="bottom_left" style="width:100px;height:100px">
|
|
353
|
|
- <img src="${wuzi2}"/ style="width:100%;height:100%">
|
|
354
|
|
- </div>
|
|
355
|
|
- <div class="bottom_right">
|
|
356
|
|
- <div style="display:flex;margin:5px 0">
|
|
357
|
|
- <div style="font-weight:500">物资名称:</div>
|
|
358
|
|
- <div style="margin-right:20px;">棉被冬季</div>
|
|
359
|
|
- <div>(12728)</div>
|
|
360
|
|
- </div>
|
|
361
|
|
- <div style="display:flex;margin:5px 0">
|
|
362
|
|
- <div style="font-weight:500">建议存储时间:</div>
|
|
363
|
|
- <div>5年</div>
|
|
364
|
|
- </div>
|
|
365
|
|
- <div style="display:flex;margin:5px 0">
|
|
366
|
|
- <div style="font-weight:500">生产日期:</div>
|
|
367
|
|
- <div>2017-08-09</div>
|
|
368
|
|
- </div>
|
|
369
|
|
- <div style="display:flex;margin:5px 0">
|
|
370
|
|
- <div style="font-weight:500">数量:</div>
|
|
371
|
|
- <div>1839件</div>
|
|
372
|
|
- </div>
|
|
373
|
|
-
|
|
374
|
|
- </div>
|
|
375
|
|
- </div>
|
|
376
|
|
-
|
|
377
|
|
-
|
|
378
|
|
-
|
|
379
|
|
- <div class="bottom_child" style="display:flex;justify-content:space-between">
|
|
380
|
|
- <div class="bottom_left" style="width:100px;height:100px">
|
|
381
|
|
- <img src="${wuzi3}"/ style="width:100%;height:100%">
|
|
382
|
|
- </div>
|
|
383
|
|
- <div class="bottom_right" >
|
|
384
|
|
- <div style="display:flex;margin:5px 0">
|
|
385
|
|
- <div style="font-weight:500">物资名称:</div>
|
|
386
|
|
- <div style="margin-right:20px;">折叠桌椅</div>
|
|
387
|
|
- <div>(2238)</div>
|
|
388
|
|
- </div>
|
|
389
|
|
- <div style="display:flex;margin:5px 0">
|
|
390
|
|
- <div style="font-weight:500">建议存储时间:</div>
|
|
391
|
|
- <div>5年</div>
|
|
392
|
|
- </div>
|
|
393
|
|
- <div style="display:flex;margin:5px 0">
|
|
394
|
|
- <div style="font-weight:500">生产日期:</div>
|
|
395
|
|
- <div>2017-08-09</div>
|
|
396
|
|
- </div>
|
|
397
|
|
- <div style="display:flex;margin:5px 0">
|
|
398
|
|
- <div style="font-weight:500">数量:</div>
|
|
399
|
|
- <div>1839件</div>
|
|
400
|
|
- </div>
|
|
401
|
|
-
|
|
402
|
|
- </div>
|
|
403
|
|
- </div>
|
|
404
|
|
-
|
|
405
|
|
-
|
|
406
|
|
-
|
|
407
|
|
-
|
|
408
|
|
-
|
|
409
|
|
- <div class="bottom_child" style="display:flex;justify-content:space-between">
|
|
410
|
|
- <div class="bottom_left" style="width:100px;height:100px">
|
|
411
|
|
- <img src="${wuzi4}"/ style="width:100%;height:100%">
|
|
412
|
|
- </div>
|
|
413
|
|
- <div class="bottom_right" >
|
|
414
|
|
- <div style="display:flex;margin:5px 0">
|
|
415
|
|
- <div style="font-weight:500">物资名称:</div>
|
|
416
|
|
- <div style="margin-right:20px;">夏季被冬季</div>
|
|
417
|
|
- <div>(12728)</div>
|
|
418
|
|
- </div>
|
|
419
|
|
- <div style="display:flex;margin:5px 0">
|
|
420
|
|
- <div style="font-weight:500">建议存储时间:</div>
|
|
421
|
|
- <div>5年</div>
|
|
422
|
|
- </div>
|
|
423
|
|
- <div style="display:flex;margin:5px 0">
|
|
424
|
|
- <div style="font-weight:500">生产日期:</div>
|
|
425
|
|
- <div>2017-08-09</div>
|
|
426
|
|
- </div>
|
|
427
|
|
- <div style="display:flex;margin:5px 0">
|
|
428
|
|
- <div style="font-weight:500">数量:</div>
|
|
429
|
|
- <div>388件</div>
|
|
430
|
|
- </div>
|
|
431
|
|
-
|
|
432
|
|
- </div>
|
|
433
|
|
- </div>
|
|
434
|
|
-
|
|
435
|
|
-
|
|
436
|
|
- </div>
|
|
437
|
|
- </div>
|
|
438
|
|
- `)
|
|
439
|
|
-
|
|
440
|
|
- const offset = -50
|
|
441
|
|
- const top = $(e.target).position().top + offset
|
|
442
|
|
- const left = $(e.target).position().left + offset - 110
|
|
443
|
|
- $('#pDiv').show()
|
|
444
|
|
- $('#pDiv').css({
|
|
445
|
|
- top: top,
|
|
446
|
|
- left: left
|
|
447
|
|
- })
|
|
448
|
|
- })
|
|
449
|
|
- $('.area').mouseleave(() => {
|
|
450
|
|
- $('#pDiv').hide()
|
|
451
|
|
- })
|
|
|
470
|
+ // $('.area').mouseover(() => {
|
|
|
471
|
+ // // const canghao = $(e.target).attr('canghao')
|
|
|
472
|
+
|
|
|
473
|
+ // this.dialogFormVisible = true
|
|
|
474
|
+ // // const offset = -50
|
|
|
475
|
+ // // const top = $(e.target).position().top + offset
|
|
|
476
|
+ // // const left = $(e.target).position().left + offset - 110
|
|
|
477
|
+ // // $('#pDiv').show()
|
|
|
478
|
+ // // $('#pDiv').css({
|
|
|
479
|
+ // // top: top,
|
|
|
480
|
+ // // left: left
|
|
|
481
|
+ // // })
|
|
|
482
|
+ // })
|
|
|
483
|
+ // $('.area').mouseleave(() => {
|
|
|
484
|
+ // // // $('#pDiv').hide()
|
|
|
485
|
+ // // this.dialogFormVisible = false
|
|
|
486
|
+ // // })
|
|
452
|
487
|
},
|
|
453
|
488
|
scale() {
|
|
454
|
489
|
var w = $('#map').width()
|