cloud-web-corejs 1.0.174 → 1.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/view.vue +4 -2
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +1 -1
- package/src/components/excelExport/index.js +1 -2
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/obsUpload/index.js +1 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +8 -0
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/vb-tabs/x-tabs.vue +0 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +16 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +17 -4
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +247 -187
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +2 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +10 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +65 -4
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +131 -118
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -1
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +1 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/utils/format.js +14 -4
- package/src/components/xform/utils/formula-util.js +0 -4
- package/src/components/xform/utils/util.js +1 -1
- package/src/layout/components/Sidebar/default.vue +1421 -1266
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/utils/index.js +1 -6
- package/src/utils/vab.js +1 -1
- package/src/views/user/form/vform/designer.vue +2 -1
- package/src/views/user/outLink/index.vue +57 -18
- package/src/components/xform/utils/formula-util copy 2.js +0 -945
- package/src/components/xform/utils/formula-util copy.js +0 -860
|
@@ -1,1266 +1,1421 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="{ 'has-logo': showLogo }">
|
|
3
|
-
<!-- <logo v-if="showLogo" :collapse="isCollapse" /> -->
|
|
4
|
-
|
|
5
|
-
<div class="hamburger-box" ref="hamhurger" @click="openUserInfo">
|
|
6
|
-
<!-- <hamburger :is-active="sidebar.opened" @toggleClick="toggleSideBar" /> -->
|
|
7
|
-
<div>
|
|
8
|
-
<p class="name"
|
|
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
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
let
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
}
|
|
550
|
-
this.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
this.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
this
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
let
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
.
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
.
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
font-size: 13px;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
cursor: pointer;
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="{ 'has-logo': showLogo }">
|
|
3
|
+
<!-- <logo v-if="showLogo" :collapse="isCollapse" /> -->
|
|
4
|
+
|
|
5
|
+
<div class="hamburger-box" ref="hamhurger" @click="openUserInfo">
|
|
6
|
+
<!-- <hamburger :is-active="sidebar.opened" @toggleClick="toggleSideBar" /> -->
|
|
7
|
+
<div>
|
|
8
|
+
<p class="name">
|
|
9
|
+
<i class="iconfont icon-ziyuan"></i><span>{{ userInfo.nickName }}</span>
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="business-name" ref="business">
|
|
14
|
+
<el-tooltip
|
|
15
|
+
:enterable="false"
|
|
16
|
+
effect="dark"
|
|
17
|
+
:content="companyInfo.companyName"
|
|
18
|
+
:placement="direction"
|
|
19
|
+
>
|
|
20
|
+
<p v-show="getMenuFlag()">{{ companyInfo.companyName }}</p>
|
|
21
|
+
</el-tooltip>
|
|
22
|
+
</div>
|
|
23
|
+
<div
|
|
24
|
+
class="fase-box"
|
|
25
|
+
ref="fase"
|
|
26
|
+
@mouseleave="$emit('selfClose')"
|
|
27
|
+
@mouseenter="$emit('selfEnter')"
|
|
28
|
+
>
|
|
29
|
+
<langTool v-if="getMenuFlag()"></langTool>
|
|
30
|
+
<div class="item" @click="openCompanyDialog" v-if="getMenuFlag()">
|
|
31
|
+
<el-tooltip
|
|
32
|
+
:enterable="false"
|
|
33
|
+
effect="dark"
|
|
34
|
+
:content="$t1('切换组织')"
|
|
35
|
+
:placement="direction"
|
|
36
|
+
>
|
|
37
|
+
<i class="el-icon-set-up" />
|
|
38
|
+
</el-tooltip>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="item" v-if="getMenuFlag()">
|
|
41
|
+
<el-tooltip
|
|
42
|
+
:enterable="false"
|
|
43
|
+
effect="dark"
|
|
44
|
+
:content="$t1('流程待办')"
|
|
45
|
+
:placement="direction"
|
|
46
|
+
>
|
|
47
|
+
<i
|
|
48
|
+
class="iconfont icon-liuchengdaiban"
|
|
49
|
+
@click="$router.push('/basic/wf/wf_manage/list')"
|
|
50
|
+
/>
|
|
51
|
+
</el-tooltip>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="item" v-if="isDev && isBdAdmin">
|
|
54
|
+
<el-tooltip
|
|
55
|
+
:enterable="false"
|
|
56
|
+
effect="dark"
|
|
57
|
+
:content="$t1('获取提取码')"
|
|
58
|
+
:placement="direction"
|
|
59
|
+
>
|
|
60
|
+
<i class="el-icon-setting" @click="showExtractedCodeCreateDialog = true" />
|
|
61
|
+
</el-tooltip>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="item" v-if="isBdAdmin">
|
|
64
|
+
<el-tooltip
|
|
65
|
+
:enterable="false"
|
|
66
|
+
effect="dark"
|
|
67
|
+
:content="$t1('查看提取码')"
|
|
68
|
+
:placement="direction"
|
|
69
|
+
>
|
|
70
|
+
<i class="el-icon-tickets" @click="showExtractedCodeQueryDialog = true" />
|
|
71
|
+
</el-tooltip>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<div class="item" @click="logout()">
|
|
75
|
+
<el-tooltip
|
|
76
|
+
:enterable="false"
|
|
77
|
+
effect="dark"
|
|
78
|
+
:content="$t1('退出')"
|
|
79
|
+
:placement="direction"
|
|
80
|
+
>
|
|
81
|
+
<i class="el-icon-switch-button" />
|
|
82
|
+
</el-tooltip>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<template v-for="router1 in viewRouter">
|
|
86
|
+
<template v-for="router2 in router1.children">
|
|
87
|
+
<div
|
|
88
|
+
class="second-list"
|
|
89
|
+
:key="router1.id + 't' + router2.id"
|
|
90
|
+
:class="{ on: router2.id == nowNavID }"
|
|
91
|
+
@mouseenter="stopFlag = 1"
|
|
92
|
+
@mouseleave="showNav()"
|
|
93
|
+
v-show="router2.id == nowNavID"
|
|
94
|
+
:ref="'seconMenus' + router2.id"
|
|
95
|
+
>
|
|
96
|
+
<i class="ico-arrow"></i>
|
|
97
|
+
<div>
|
|
98
|
+
<div class="tit">
|
|
99
|
+
<i :class="getMenuClass(router2, 2)"></i
|
|
100
|
+
><span>{{ getMenuName(router2) }}</span>
|
|
101
|
+
</div>
|
|
102
|
+
<dl v-for="(router3, index3) in router2.children" :key="'router3' + index3">
|
|
103
|
+
<div
|
|
104
|
+
class="item"
|
|
105
|
+
v-if="!router3.hidden"
|
|
106
|
+
@click="rourteTo(router3, router1)"
|
|
107
|
+
>
|
|
108
|
+
<!--<i class="el-icon-caret-right"></i>-->
|
|
109
|
+
<i :class="getMenuClass(router3, 3)"></i>
|
|
110
|
+
<a>{{ getMenuName(router3) }}</a>
|
|
111
|
+
</div>
|
|
112
|
+
</dl>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</template>
|
|
116
|
+
</template>
|
|
117
|
+
<el-menu
|
|
118
|
+
class="menu-box"
|
|
119
|
+
:class="{ 'lang-zh': $i18n.locale == 'zh' }"
|
|
120
|
+
text-color="#fff"
|
|
121
|
+
active-text-color="#fff"
|
|
122
|
+
:unique-opened="true"
|
|
123
|
+
@mouseleave="showNav()"
|
|
124
|
+
ref="seconMenus"
|
|
125
|
+
>
|
|
126
|
+
<el-scrollbar wrap-class="scrollbar-wrapper" id="menuUl">
|
|
127
|
+
<el-submenu
|
|
128
|
+
v-for="menuModule in menuModules"
|
|
129
|
+
:index="'' + menuModule.id"
|
|
130
|
+
:key="'menuModule' + menuModule.id"
|
|
131
|
+
@click.native="rourteTo(menuModule)"
|
|
132
|
+
>
|
|
133
|
+
<template slot="title">
|
|
134
|
+
<i :class="getMenuClass(menuModule, 1)"></i>
|
|
135
|
+
<span>{{ getMenuName(menuModule) }}</span>
|
|
136
|
+
</template>
|
|
137
|
+
<el-menu-item
|
|
138
|
+
v-for="(router1, index1) in menuModule.children"
|
|
139
|
+
:key="index1"
|
|
140
|
+
:index="'' + router1.id"
|
|
141
|
+
:class="getMenuClass(router1, 2)"
|
|
142
|
+
@mouseenter.native="showNav(router1, $event)"
|
|
143
|
+
@mouseleave.native="showNav()"
|
|
144
|
+
@click="rourteTo(router1)"
|
|
145
|
+
>
|
|
146
|
+
{{ getMenuName(router1) }}
|
|
147
|
+
<i class="el-icon-caret-right" v-if="router1.children.length > 0" />
|
|
148
|
+
</el-menu-item>
|
|
149
|
+
</el-submenu>
|
|
150
|
+
<el-submenu @click.native="openCreateCompanyDialog" index="xx" v-if="isFormDev">
|
|
151
|
+
<template slot="title">
|
|
152
|
+
<i :class="getMenuClass({}, 1)"></i>
|
|
153
|
+
<span>新建企业</span>
|
|
154
|
+
</template>
|
|
155
|
+
</el-submenu>
|
|
156
|
+
</el-scrollbar>
|
|
157
|
+
</el-menu>
|
|
158
|
+
<div class="menu-btn">
|
|
159
|
+
<i class="el-icon-arrow-up" @click="toUpMove()"></i>
|
|
160
|
+
<i class="el-icon-arrow-down" @click="toDownMove()"></i>
|
|
161
|
+
</div>
|
|
162
|
+
<div
|
|
163
|
+
id="tta"
|
|
164
|
+
style="
|
|
165
|
+
position: absolute;
|
|
166
|
+
height: 100%;
|
|
167
|
+
top: 0;
|
|
168
|
+
right: 0;
|
|
169
|
+
z-index: 9999;
|
|
170
|
+
width: 800px;
|
|
171
|
+
left: 100%;
|
|
172
|
+
"
|
|
173
|
+
v-if="showMenuModal"
|
|
174
|
+
></div>
|
|
175
|
+
<el-dialog
|
|
176
|
+
title="切换组织"
|
|
177
|
+
width="355px"
|
|
178
|
+
custom-class="dialog-style list-dialog"
|
|
179
|
+
v-if="showCompanyDialog"
|
|
180
|
+
:visible.sync="showCompanyDialog"
|
|
181
|
+
:append-to-body="true"
|
|
182
|
+
:modal-append-to-body="true"
|
|
183
|
+
:close-on-click-modal="false"
|
|
184
|
+
v-el-drag-dialog
|
|
185
|
+
v-el-dialog-center
|
|
186
|
+
@close="changeCompanyClose"
|
|
187
|
+
>
|
|
188
|
+
<div class="cont">
|
|
189
|
+
<el-input placeholder="搜索" class="search-btn" v-model="filterText"></el-input>
|
|
190
|
+
<el-tree
|
|
191
|
+
:props="defaultProps"
|
|
192
|
+
:load="loadNode"
|
|
193
|
+
node-key="id"
|
|
194
|
+
ref="tree"
|
|
195
|
+
highlight-current
|
|
196
|
+
lazy
|
|
197
|
+
:expand-on-click-node="true"
|
|
198
|
+
@node-click="handleNodeClick"
|
|
199
|
+
class="organization-tree"
|
|
200
|
+
icon-class="el-icon-arrow-right"
|
|
201
|
+
:filter-node-method="filterNode"
|
|
202
|
+
></el-tree>
|
|
203
|
+
</div>
|
|
204
|
+
<!-- <span slot="footer" class="dialog-footer">
|
|
205
|
+
<el-button type="primary" plain class="button-sty" @click="changeCompanyClose">
|
|
206
|
+
<i class="el-icon-close el-icon"></i>
|
|
207
|
+
取 消
|
|
208
|
+
</el-button>
|
|
209
|
+
<el-button type="primary" @click="changeCompany" class="button-sty">
|
|
210
|
+
<i class="el-icon-check el-icon"></i>
|
|
211
|
+
确 定
|
|
212
|
+
</el-button>
|
|
213
|
+
</span> -->
|
|
214
|
+
</el-dialog>
|
|
215
|
+
|
|
216
|
+
<!-- <infoIframeDialog v-if="showInfoIframeDialog" :visiable.sync="showInfoIframeDialog"
|
|
217
|
+
:dataId="userInfo.id"></infoIframeDialog>-->
|
|
218
|
+
<userInfo
|
|
219
|
+
v-if="!isFormDev && showUserInfoDialog"
|
|
220
|
+
:visiable.sync="showUserInfoDialog"
|
|
221
|
+
:_dataId="userInfo.id"
|
|
222
|
+
topValue="128px"
|
|
223
|
+
@reload="userInfoReload"
|
|
224
|
+
></userInfo>
|
|
225
|
+
<userFormInfo
|
|
226
|
+
v-if="isFormDev && showUserInfoDialog"
|
|
227
|
+
:visiable.sync="showUserInfoDialog"
|
|
228
|
+
:_dataId="userInfo.id"
|
|
229
|
+
topValue="128px"
|
|
230
|
+
@reload="userInfoReload"
|
|
231
|
+
></userFormInfo>
|
|
232
|
+
<onlineTalk></onlineTalk>
|
|
233
|
+
<extractedCodeCreateDialog
|
|
234
|
+
v-if="showExtractedCodeCreateDialog"
|
|
235
|
+
:visiable.sync="showExtractedCodeCreateDialog"
|
|
236
|
+
></extractedCodeCreateDialog>
|
|
237
|
+
<extractedCodeQueryDialog
|
|
238
|
+
v-if="showExtractedCodeQueryDialog"
|
|
239
|
+
:visiable.sync="showExtractedCodeQueryDialog"
|
|
240
|
+
></extractedCodeQueryDialog>
|
|
241
|
+
<createCompanyDialog
|
|
242
|
+
v-if="showCreateCompanyDialog"
|
|
243
|
+
:visiable.sync="showCreateCompanyDialog"
|
|
244
|
+
></createCompanyDialog>
|
|
245
|
+
</div>
|
|
246
|
+
</template>
|
|
247
|
+
|
|
248
|
+
<script>
|
|
249
|
+
import { mapGetters } from "vuex";
|
|
250
|
+
import variables from "@/styles/variables.scss";
|
|
251
|
+
import userInfo from "@base/views/user/user/info.vue";
|
|
252
|
+
import userFormInfo from "@base/views/user/user/form_info.vue";
|
|
253
|
+
import onlineTalk from "@base/components/onlineTalk";
|
|
254
|
+
import { getToken } from "@base/utils/auth";
|
|
255
|
+
import indexUtil from "@base/utils/index.js";
|
|
256
|
+
import langTool from "../langTool.vue";
|
|
257
|
+
import { initPddLog } from "@base/utils/pddLog";
|
|
258
|
+
|
|
259
|
+
import extractedCodeCreateDialog from "../extractedCode/createDialog.vue";
|
|
260
|
+
import extractedCodeQueryDialog from "../extractedCode/queryDialog.vue";
|
|
261
|
+
import { getBdFlag } from "@base/api/user";
|
|
262
|
+
import createCompanyDialog from "@base/layout/components/createCompany/createCompanyDialog.vue";
|
|
263
|
+
|
|
264
|
+
export default {
|
|
265
|
+
props: {
|
|
266
|
+
option: Object,
|
|
267
|
+
},
|
|
268
|
+
components: {
|
|
269
|
+
userInfo,
|
|
270
|
+
userFormInfo,
|
|
271
|
+
onlineTalk,
|
|
272
|
+
langTool,
|
|
273
|
+
extractedCodeCreateDialog,
|
|
274
|
+
extractedCodeQueryDialog,
|
|
275
|
+
createCompanyDialog,
|
|
276
|
+
},
|
|
277
|
+
data() {
|
|
278
|
+
return {
|
|
279
|
+
direction: "bottom",
|
|
280
|
+
defaultOpenedsArray: [],
|
|
281
|
+
viewRouter: [],
|
|
282
|
+
showMenuModal: false,
|
|
283
|
+
menuheight: {
|
|
284
|
+
height: "",
|
|
285
|
+
},
|
|
286
|
+
defaultProps: {
|
|
287
|
+
label: "label", //这里是树结构中需显示的数据(即接口返回的需展示在页面上的参数)
|
|
288
|
+
children: [],
|
|
289
|
+
isLeaf: "leaf",
|
|
290
|
+
},
|
|
291
|
+
filterText: null,
|
|
292
|
+
showCompanyDialog: false,
|
|
293
|
+
choose_company_info: "",
|
|
294
|
+
userInfo: {},
|
|
295
|
+
companyInfo: {},
|
|
296
|
+
showUserInfoDialog: false,
|
|
297
|
+
hoverStatus: false,
|
|
298
|
+
nowNavID: "null",
|
|
299
|
+
stopFlag: 0,
|
|
300
|
+
showInfoIframeDialog: false,
|
|
301
|
+
currentMenu: null,
|
|
302
|
+
menuModules: [],
|
|
303
|
+
firstMenuHeight: 0, // 第一个菜单的高度
|
|
304
|
+
eveyMenuHeight: 48, // 每一个菜单的高度
|
|
305
|
+
isFormDev: false,
|
|
306
|
+
|
|
307
|
+
showExtractedCodeCreateDialog: false,
|
|
308
|
+
showExtractedCodeQueryDialog: false,
|
|
309
|
+
isDev: false,
|
|
310
|
+
showCreateCompanyDialog: false,
|
|
311
|
+
};
|
|
312
|
+
},
|
|
313
|
+
computed: {
|
|
314
|
+
...mapGetters([
|
|
315
|
+
"permission_routes",
|
|
316
|
+
"sidebar",
|
|
317
|
+
"sidebarRouters",
|
|
318
|
+
"isBdAdmin",
|
|
319
|
+
"userFlag",
|
|
320
|
+
]),
|
|
321
|
+
activeMenu() {
|
|
322
|
+
const route = this.$route;
|
|
323
|
+
const { meta, path } = route;
|
|
324
|
+
// if set path, the sidebar will highlight the path you set
|
|
325
|
+
if (meta.activeMenu) {
|
|
326
|
+
return meta.activeMenu;
|
|
327
|
+
}
|
|
328
|
+
return path;
|
|
329
|
+
},
|
|
330
|
+
showLogo() {
|
|
331
|
+
return this.$store.state.settings.sidebarLogo;
|
|
332
|
+
},
|
|
333
|
+
variables() {
|
|
334
|
+
return variables;
|
|
335
|
+
},
|
|
336
|
+
/*isCollapse() {
|
|
337
|
+
if (this.sidebar.opened) {
|
|
338
|
+
this.direction = 'bottom';
|
|
339
|
+
} else {
|
|
340
|
+
this.direction = 'right-start';
|
|
341
|
+
}
|
|
342
|
+
return !this.sidebar.opened;
|
|
343
|
+
}*/
|
|
344
|
+
},
|
|
345
|
+
watch: {
|
|
346
|
+
filterText(val) {
|
|
347
|
+
this.$refs.tree.filter(val);
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
created() {
|
|
351
|
+
indexUtil.initI18nMessage("menus");
|
|
352
|
+
},
|
|
353
|
+
mounted() {
|
|
354
|
+
this.getUserInfo();
|
|
355
|
+
setTimeout(() => {
|
|
356
|
+
this.filterRoute();
|
|
357
|
+
}, 100);
|
|
358
|
+
this.countHeight();
|
|
359
|
+
let query = this.$route.query;
|
|
360
|
+
if (query && query.flag == 1) {
|
|
361
|
+
this.showCompanyDialog = true;
|
|
362
|
+
}
|
|
363
|
+
initPddLog(); //初始化拼多多日志
|
|
364
|
+
this.initIsFormDev();
|
|
365
|
+
this.getBdEnv();
|
|
366
|
+
},
|
|
367
|
+
methods: {
|
|
368
|
+
getBdEnv() {
|
|
369
|
+
getBdFlag({
|
|
370
|
+
success: (res) => {
|
|
371
|
+
this.isDev = res.objx == 1;
|
|
372
|
+
},
|
|
373
|
+
});
|
|
374
|
+
},
|
|
375
|
+
initIsFormDev() {
|
|
376
|
+
let userFlag = this.userFlag;
|
|
377
|
+
this.isFormDev = userFlag == 6 || userFlag == 7 || userFlag == 8;
|
|
378
|
+
},
|
|
379
|
+
getMenuFlag() {
|
|
380
|
+
return !this.isBdAdmin;
|
|
381
|
+
},
|
|
382
|
+
getMenuName(item) {
|
|
383
|
+
let locale = this.$i18n?.locale;
|
|
384
|
+
let zhTitle = item.meta ? item.meta.title : "";
|
|
385
|
+
let enTitle = item.meta ? item.meta.enTitle : "";
|
|
386
|
+
let title;
|
|
387
|
+
if (locale == "en") {
|
|
388
|
+
title = enTitle || zhTitle;
|
|
389
|
+
} else {
|
|
390
|
+
title = zhTitle;
|
|
391
|
+
}
|
|
392
|
+
if (!enTitle || locale !== "en") {
|
|
393
|
+
title = zhTitle;
|
|
394
|
+
}
|
|
395
|
+
if (this.$t1) {
|
|
396
|
+
title = this.$t1(title);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
return title;
|
|
400
|
+
},
|
|
401
|
+
jumpOutLink(route) {
|
|
402
|
+
let path = route.url || route.path;
|
|
403
|
+
if (route.type == 4 && path) {
|
|
404
|
+
let params = this.getCustomReqUrlAndCleanUrl(path);
|
|
405
|
+
let reqUrl = params.custom_req_url;
|
|
406
|
+
if (reqUrl) {
|
|
407
|
+
this.$http({
|
|
408
|
+
url: reqUrl,
|
|
409
|
+
method: `post`,
|
|
410
|
+
data: { thirdUrl: params.newUrl },
|
|
411
|
+
isLoading: true,
|
|
412
|
+
success: (res) => {
|
|
413
|
+
path = res.objx;
|
|
414
|
+
window.open(path);
|
|
415
|
+
},
|
|
416
|
+
});
|
|
417
|
+
} else if (path.indexOf("token={token}") >= 0) {
|
|
418
|
+
path = path.replace("token={token}", "token=" + getToken());
|
|
419
|
+
window.open(path);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
getCustomReqUrlAndCleanUrl(url) {
|
|
424
|
+
// 直接使用正则表达式匹配
|
|
425
|
+
const match = url.match(/[?&]custom_req_url=([^&?#]+)/);
|
|
426
|
+
if (match) {
|
|
427
|
+
const customReqUrl = decodeURIComponent(match[1]);
|
|
428
|
+
// 移除匹配到的参数部分
|
|
429
|
+
const newUrl = url.replace(match[0], match[0].startsWith("?") ? "?" : "");
|
|
430
|
+
|
|
431
|
+
return {
|
|
432
|
+
custom_req_url: customReqUrl,
|
|
433
|
+
newUrl: newUrl.replace(/\?$/, "").replace(/\?&/, "?"),
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
return {
|
|
438
|
+
custom_req_url: "",
|
|
439
|
+
newUrl: url,
|
|
440
|
+
};
|
|
441
|
+
},
|
|
442
|
+
changeModules(row, cRow) {
|
|
443
|
+
if (!row.route) return;
|
|
444
|
+
localStorage.setItem("currentMenuId", row.id);
|
|
445
|
+
let route = row.route ? "/" + row.route : "";
|
|
446
|
+
sessionStorage.setItem("reUrl", cRow.path);
|
|
447
|
+
sessionStorage.setItem("reCid", row.id);
|
|
448
|
+
location.href = route + "/index.html/#/home";
|
|
449
|
+
|
|
450
|
+
// location.reload();
|
|
451
|
+
},
|
|
452
|
+
filterRoute() {
|
|
453
|
+
var oldRoutes = JSON.parse(JSON.stringify(this.sidebarRouters));
|
|
454
|
+
var nRoute1s = [];
|
|
455
|
+
oldRoutes.forEach((route1, index1) => {
|
|
456
|
+
let nRoute2s = [];
|
|
457
|
+
if (!route1.hidden) {
|
|
458
|
+
route1.children.forEach((route2, index2) => {
|
|
459
|
+
let nRoute3s = [];
|
|
460
|
+
if (!route2.hidden) {
|
|
461
|
+
route2.children.forEach((route3, index3) => {
|
|
462
|
+
if (!route3.hidden) {
|
|
463
|
+
nRoute3s.push(route3);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
if (route2.type == 4 || route2.url || nRoute3s.length > 0) {
|
|
468
|
+
route2.children = nRoute3s;
|
|
469
|
+
nRoute2s.push(route2);
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
if (route1.type == 4 || route1.url || nRoute2s.length > 0) {
|
|
474
|
+
route1.children = nRoute2s;
|
|
475
|
+
nRoute1s.push(route1);
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
this.viewRouter = nRoute1s || [];
|
|
479
|
+
this.menuModules = nRoute1s || [];
|
|
480
|
+
|
|
481
|
+
let reUrl = sessionStorage.getItem("reUrl");
|
|
482
|
+
let reCid = sessionStorage.getItem("reCid");
|
|
483
|
+
if (reUrl) {
|
|
484
|
+
this.$nextTick(() => {
|
|
485
|
+
this.$refs.seconMenus.open(reCid);
|
|
486
|
+
});
|
|
487
|
+
this.$router.push(reUrl);
|
|
488
|
+
sessionStorage.removeItem("reUrl");
|
|
489
|
+
sessionStorage.removeItem("reCid");
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
filterRoute1() {
|
|
493
|
+
var oldRoutes = JSON.parse(JSON.stringify(this.sidebarRouters));
|
|
494
|
+
var nRoute1s = [];
|
|
495
|
+
oldRoutes.forEach((route1, index1) => {
|
|
496
|
+
let nRoute2s = [];
|
|
497
|
+
if (!route1.hidden && route1.route) {
|
|
498
|
+
route1.children.forEach((route2, index2) => {
|
|
499
|
+
let nRoute3s = [];
|
|
500
|
+
if (!route2.hidden) {
|
|
501
|
+
route2.children.forEach((route3, index3) => {
|
|
502
|
+
if (!route3.hidden) {
|
|
503
|
+
nRoute3s.push(route3);
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
if (nRoute3s.length > 0) {
|
|
508
|
+
route2.children = nRoute3s;
|
|
509
|
+
nRoute2s.push(route2);
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
if (nRoute2s.length > 0) {
|
|
514
|
+
route1.children = nRoute2s;
|
|
515
|
+
nRoute1s.push(route1);
|
|
516
|
+
}
|
|
517
|
+
});
|
|
518
|
+
let rows = nRoute1s;
|
|
519
|
+
if (rows.length) {
|
|
520
|
+
let currentMenu;
|
|
521
|
+
if (nRoute1s.length) {
|
|
522
|
+
var currentMenuId = localStorage.getItem("currentMenuId");
|
|
523
|
+
if (currentMenuId) {
|
|
524
|
+
currentMenu = nRoute1s.find((row) => row.id == currentMenuId);
|
|
525
|
+
}
|
|
526
|
+
if (!currentMenu) {
|
|
527
|
+
currentMenu = nRoute1s[0];
|
|
528
|
+
}
|
|
529
|
+
this.viewRouter = currentMenu.children;
|
|
530
|
+
}
|
|
531
|
+
this.currentMenu = currentMenu;
|
|
532
|
+
this.menuModules = rows || [];
|
|
533
|
+
|
|
534
|
+
/*if (currentMenu) {
|
|
535
|
+
if (currentMenu.route != WEB_PREFIX.substring(1, WEB_PREFIX.length)) {
|
|
536
|
+
this.changeModules(currentMenu, 1);
|
|
537
|
+
} else {
|
|
538
|
+
localStorage.setItem('currentMenuId', currentMenu.id);
|
|
539
|
+
}
|
|
540
|
+
} else {
|
|
541
|
+
localStorage.removeItem('currentMenuId');
|
|
542
|
+
}*/
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
rourteTo(route) {
|
|
546
|
+
let path = route.url || route.path;
|
|
547
|
+
if (!path) {
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
this.showMenuModal = true;
|
|
551
|
+
setTimeout(() => {
|
|
552
|
+
this.showMenuModal = false;
|
|
553
|
+
}, 200);
|
|
554
|
+
try {
|
|
555
|
+
if (route.linkType == 4) {
|
|
556
|
+
this.jumpOutLink(route);
|
|
557
|
+
} else if (route.linkType == 3) {
|
|
558
|
+
this.$router.push({
|
|
559
|
+
path: path,
|
|
560
|
+
query: { url: route.outLink, route: route.route },
|
|
561
|
+
});
|
|
562
|
+
} else {
|
|
563
|
+
this.$router.push(path);
|
|
564
|
+
}
|
|
565
|
+
} catch (e) {
|
|
566
|
+
console.error(e);
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
logout() {
|
|
570
|
+
this.$store.dispatch("user/logout2").then((res) => {
|
|
571
|
+
this.$router.push(`/login?redirect=${this.$route.fullPath}`);
|
|
572
|
+
});
|
|
573
|
+
},
|
|
574
|
+
toggleSideBar() {
|
|
575
|
+
this.$store.dispatch("app/toggleSideBar");
|
|
576
|
+
},
|
|
577
|
+
countHeight() {
|
|
578
|
+
var h =
|
|
579
|
+
this.$refs.hamhurger.offsetHeight +
|
|
580
|
+
this.$refs.fase.offsetHeight +
|
|
581
|
+
this.$refs.business.offsetHeight;
|
|
582
|
+
this.menuheight.height = window.innerHeight - h + "px";
|
|
583
|
+
},
|
|
584
|
+
handleNodeClick(data, node, v) {
|
|
585
|
+
if (!data.hasChild) {
|
|
586
|
+
this.choose_company_info = data;
|
|
587
|
+
this.changeCompany();
|
|
588
|
+
} else {
|
|
589
|
+
this.choose_company_info = {};
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
// 异步树叶子节点懒加载逻辑
|
|
593
|
+
loadNode(node, resolve) {
|
|
594
|
+
let companyCode =
|
|
595
|
+
node && node.data && node.data.companyCode ? node.data.companyCode || "" : "";
|
|
596
|
+
let url = !companyCode
|
|
597
|
+
? USER_PREFIX + "/user_company_info/getAllList"
|
|
598
|
+
: USER_PREFIX + "/user_company_info/getChildren";
|
|
599
|
+
|
|
600
|
+
this.$http({
|
|
601
|
+
url: url,
|
|
602
|
+
method: "post",
|
|
603
|
+
data: {
|
|
604
|
+
parentCompanyCode: companyCode,
|
|
605
|
+
},
|
|
606
|
+
success: (res) => {
|
|
607
|
+
let datas = res.objx || [];
|
|
608
|
+
let parentLabel = companyCode ? node.label : null;
|
|
609
|
+
datas.forEach((item) => {
|
|
610
|
+
item.leaf = !item.hasChild;
|
|
611
|
+
let label = item.companyName;
|
|
612
|
+
/*if(companyCode){
|
|
613
|
+
label = label + '('+companyTypeMap[item.companyType]+')'
|
|
614
|
+
}*/
|
|
615
|
+
item.label = label;
|
|
616
|
+
item.parentLabel = parentLabel;
|
|
617
|
+
});
|
|
618
|
+
|
|
619
|
+
if (node.level === 0) {
|
|
620
|
+
if (datas.length > 0 && datas[0].hasChild) {
|
|
621
|
+
this.$nextTick(() => {
|
|
622
|
+
let nodedata = node.childNodes[0];
|
|
623
|
+
nodedata.expanded = true;
|
|
624
|
+
nodedata.loadData();
|
|
625
|
+
});
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
resolve(datas);
|
|
629
|
+
},
|
|
630
|
+
});
|
|
631
|
+
},
|
|
632
|
+
filterNode(value, data) {
|
|
633
|
+
if (!value) return true;
|
|
634
|
+
let flag1 = data.label.indexOf(value) !== -1;
|
|
635
|
+
let flag2 = data.parentLabel && data.parentLabel.indexOf(value) !== -1;
|
|
636
|
+
return flag1 || flag2;
|
|
637
|
+
},
|
|
638
|
+
openCompanyDialog() {
|
|
639
|
+
this.filterText = null;
|
|
640
|
+
this.showCompanyDialog = true;
|
|
641
|
+
},
|
|
642
|
+
getWebPrefix(callback) {
|
|
643
|
+
this.$http({
|
|
644
|
+
url: USER_PREFIX + "/auth/getWebPrefix",
|
|
645
|
+
method: `post`,
|
|
646
|
+
data: {},
|
|
647
|
+
isLoading: true,
|
|
648
|
+
success: (res) => {
|
|
649
|
+
let webPrefix = res.objx;
|
|
650
|
+
callback && callback(webPrefix);
|
|
651
|
+
},
|
|
652
|
+
});
|
|
653
|
+
},
|
|
654
|
+
changeCompany() {
|
|
655
|
+
let row = this.choose_company_info;
|
|
656
|
+
let query = this.$route.query;
|
|
657
|
+
let flag = query && query.flag == 1 ? 1 : null;
|
|
658
|
+
this.showCompanyDialog = false;
|
|
659
|
+
if (row && row.companyCode) {
|
|
660
|
+
this.$baseLoading({ target: document.body, fullscreen: true });
|
|
661
|
+
this.$http({
|
|
662
|
+
url: USER_PREFIX + "/auth/switchCompany",
|
|
663
|
+
method: "post",
|
|
664
|
+
data: { stringOne: row.companyCode },
|
|
665
|
+
isLoading: true,
|
|
666
|
+
success: (res) => {
|
|
667
|
+
this.getWebPrefix((prefix) => {
|
|
668
|
+
let webPrefix = prefix ? "/" + prefix : window.MAIN_WEB_PREFIX;
|
|
669
|
+
sessionStorage.removeItem("out-token");
|
|
670
|
+
this.$store.dispatch("user/changeCompanyInfo", row);
|
|
671
|
+
this.$store.dispatch("tagsView/delAllViews");
|
|
672
|
+
window.location.href = webPrefix + "/index.html";
|
|
673
|
+
});
|
|
674
|
+
},
|
|
675
|
+
});
|
|
676
|
+
} else {
|
|
677
|
+
if (flag == 1) {
|
|
678
|
+
this.$router.push({
|
|
679
|
+
path: "/",
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
changeCompanyClose() {
|
|
685
|
+
let query = this.$route.query;
|
|
686
|
+
let flag = query && query.flag == 1 ? 1 : null;
|
|
687
|
+
if (flag == 1) {
|
|
688
|
+
this.$router.push({
|
|
689
|
+
path: "/",
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
this.showCompanyDialog = false;
|
|
693
|
+
},
|
|
694
|
+
getUserInfo() {
|
|
695
|
+
this.$http({
|
|
696
|
+
url: USER_PREFIX + "/user/currentUser",
|
|
697
|
+
method: "post",
|
|
698
|
+
success: (res) => {
|
|
699
|
+
let userInfo = res.objx;
|
|
700
|
+
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
701
|
+
? userInfo.headPhotoUrl
|
|
702
|
+
: require("@/resources/images" + "/default-header.png");
|
|
703
|
+
this.userInfo = userInfo;
|
|
704
|
+
},
|
|
705
|
+
});
|
|
706
|
+
|
|
707
|
+
this.$http({
|
|
708
|
+
url: USER_PREFIX + "/company_info/getCurrent",
|
|
709
|
+
method: `post`,
|
|
710
|
+
success: (res) => {
|
|
711
|
+
this.companyInfo = res.objx || {};
|
|
712
|
+
},
|
|
713
|
+
});
|
|
714
|
+
},
|
|
715
|
+
openUserInfo() {
|
|
716
|
+
this.showUserInfoDialog = true;
|
|
717
|
+
// this.showInfoIframeDialog = true;
|
|
718
|
+
},
|
|
719
|
+
userInfoReload() {
|
|
720
|
+
this.showUserInfoDialog = true;
|
|
721
|
+
},
|
|
722
|
+
showNav(route, event) {
|
|
723
|
+
let id = route && route.id ? route.id : null;
|
|
724
|
+
if (id != null) {
|
|
725
|
+
if (!route.children || !route.children.length) {
|
|
726
|
+
return;
|
|
727
|
+
}
|
|
728
|
+
this.stopFlag = 1;
|
|
729
|
+
this.nowNavID = id;
|
|
730
|
+
this.$nextTick(() => {
|
|
731
|
+
var wh = window.innerHeight;
|
|
732
|
+
let dom = event.target;
|
|
733
|
+
let domAttr = dom.getBoundingClientRect();
|
|
734
|
+
// var sh1 = dom.offsetTop;
|
|
735
|
+
var sh1 = domAttr.top;
|
|
736
|
+
let $snav = this.$refs["seconMenus" + id][0];
|
|
737
|
+
let snavAttr = $snav.getBoundingClientRect();
|
|
738
|
+
|
|
739
|
+
// var sh2 = $snav.outerHeight;
|
|
740
|
+
var sh2 = snavAttr.height;
|
|
741
|
+
var sh = wh - (sh1 + sh2);
|
|
742
|
+
|
|
743
|
+
var hd = 20;
|
|
744
|
+
var xhd = sh - hd; //移动距离+固定值
|
|
745
|
+
if (sh >= 0) {
|
|
746
|
+
$snav.style["margin-top"] = sh1 + "px";
|
|
747
|
+
} else if (sh < 0) {
|
|
748
|
+
let bd = sh1 + sh;
|
|
749
|
+
|
|
750
|
+
$snav.style["margin-top"] = bd + "px";
|
|
751
|
+
$snav.querySelector(".ico-arrow").style["margin-top"] = sh1 - bd + "px";
|
|
752
|
+
}
|
|
753
|
+
});
|
|
754
|
+
} else {
|
|
755
|
+
this.stopFlag = 0;
|
|
756
|
+
setTimeout(() => {
|
|
757
|
+
if (this.stopFlag == 0) {
|
|
758
|
+
this.nowNavID = id;
|
|
759
|
+
}
|
|
760
|
+
}, 200);
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
jumpTo(row, firstRow) {
|
|
764
|
+
let route = firstRow.route ? "/" + firstRow.route : "";
|
|
765
|
+
if (route == WEB_PREFIX) {
|
|
766
|
+
this.$router.push({
|
|
767
|
+
path: row.path,
|
|
768
|
+
});
|
|
769
|
+
} else {
|
|
770
|
+
this.changeModules(firstRow, row);
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
toDownMove() {
|
|
774
|
+
let containter = document
|
|
775
|
+
.getElementById("menuUl")
|
|
776
|
+
.querySelector(".scrollbar-wrapper");
|
|
777
|
+
let menuscrollTop = containter.scrollTop;
|
|
778
|
+
let scrollHeight = containter.scrollHeight;
|
|
779
|
+
let val = menuscrollTop + this.eveyMenuHeight;
|
|
780
|
+
if (val < scrollHeight) {
|
|
781
|
+
containter.scrollTop = val;
|
|
782
|
+
} else {
|
|
783
|
+
containter.scrollTop = scrollHeight;
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
toUpMove() {
|
|
787
|
+
let containter = document
|
|
788
|
+
.getElementById("menuUl")
|
|
789
|
+
.querySelector(".scrollbar-wrapper");
|
|
790
|
+
let menuscrollTop = containter.scrollTop;
|
|
791
|
+
let val = menuscrollTop - this.eveyMenuHeight;
|
|
792
|
+
if (val > 0) {
|
|
793
|
+
containter.scrollTop = val;
|
|
794
|
+
} else {
|
|
795
|
+
containter.scrollTop = 0;
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
getMenuClass(menu, flag) {
|
|
799
|
+
let res = "";
|
|
800
|
+
if (menu.menuImg) {
|
|
801
|
+
res = "iconfont " + menu.menuImg;
|
|
802
|
+
} else if (flag == 1) {
|
|
803
|
+
res = "iconfont icon-jinggao"; //一级默认图标
|
|
804
|
+
} else if (flag == 2) {
|
|
805
|
+
res = "iconfont icon-circle"; //二级默认图标
|
|
806
|
+
} else if (flag == 3) {
|
|
807
|
+
res = "iconfont icon-thirdMemu"; //三级级默认图标
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
if (flag == 2) {
|
|
811
|
+
if (menu.id == this.nowNavID) {
|
|
812
|
+
res += " on";
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
return res;
|
|
816
|
+
},
|
|
817
|
+
openCreateCompanyDialog() {
|
|
818
|
+
this.showCreateCompanyDialog = true;
|
|
819
|
+
},
|
|
820
|
+
confirmCreateCompanyDialog() {
|
|
821
|
+
this.showCreateCompanyDialog = false;
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
};
|
|
825
|
+
</script>
|
|
826
|
+
<style lang="scss">
|
|
827
|
+
@import "~@/styles/variables.scss";
|
|
828
|
+
|
|
829
|
+
.hamburger-box {
|
|
830
|
+
background-color: #0000004d;
|
|
831
|
+
height: 42px;
|
|
832
|
+
/* line-height: 30px; */
|
|
833
|
+
text-align: center;
|
|
834
|
+
/* box-shadow: 0 2px 6px rgb(0 0 0 / 10%); */
|
|
835
|
+
position: relative;
|
|
836
|
+
z-index: 2;
|
|
837
|
+
overflow: hidden;
|
|
838
|
+
font-size: 12px;
|
|
839
|
+
color: rgba(255, 255, 255, 0.65);
|
|
840
|
+
|
|
841
|
+
> div {
|
|
842
|
+
color: #fff;
|
|
843
|
+
font-size: 13px;
|
|
844
|
+
margin-bottom: 4px;
|
|
845
|
+
cursor: pointer;
|
|
846
|
+
height: 36px;
|
|
847
|
+
border-radius: 7px;
|
|
848
|
+
margin: 6px 10px 6px 8px;
|
|
849
|
+
overflow: hidden;
|
|
850
|
+
background: #2a6494;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
p {
|
|
854
|
+
color: #fff;
|
|
855
|
+
font-size: 13px;
|
|
856
|
+
margin-bottom: 4px;
|
|
857
|
+
cursor: pointer;
|
|
858
|
+
/* border: solid 1px #ffffff61; */
|
|
859
|
+
display: block;
|
|
860
|
+
line-height: 27px;
|
|
861
|
+
/* width: 88%; */
|
|
862
|
+
margin-top: 6px;
|
|
863
|
+
border-radius: 7px;
|
|
864
|
+
margin: 6px 10px 6px 8px;
|
|
865
|
+
background: #2a6494;
|
|
866
|
+
|
|
867
|
+
i {
|
|
868
|
+
font-size: 14px;
|
|
869
|
+
vertical-align: middle;
|
|
870
|
+
margin: 0 4px 0 6px;
|
|
871
|
+
height: 36px;
|
|
872
|
+
line-height: 36px;
|
|
873
|
+
width: 21px;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
span {
|
|
877
|
+
width: 94px;
|
|
878
|
+
display: table-cell;
|
|
879
|
+
height: 32px;
|
|
880
|
+
word-break: break-word;
|
|
881
|
+
line-height: 16px;
|
|
882
|
+
overflow: hidden;
|
|
883
|
+
vertical-align: middle;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
&.name {
|
|
887
|
+
display: table-row;
|
|
888
|
+
margin: 0;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.business-name {
|
|
894
|
+
height: 47px;
|
|
895
|
+
color: #ffffffb8;
|
|
896
|
+
background: #0000004d;
|
|
897
|
+
/* padding-top: 12px; */
|
|
898
|
+
font-size: 12px;
|
|
899
|
+
/* padding-left: 5px; */
|
|
900
|
+
display: table-cell;
|
|
901
|
+
vertical-align: middle;
|
|
902
|
+
width: 140px;
|
|
903
|
+
padding: 6px 10px;
|
|
904
|
+
text-align: center;
|
|
905
|
+
|
|
906
|
+
p {
|
|
907
|
+
margin: 0;
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.fase-box {
|
|
912
|
+
color: #fff;
|
|
913
|
+
/* border-bottom: solid 1px rgba(255, 255, 255, 0.12); */
|
|
914
|
+
border-top: solid 1px rgba(255, 255, 255, 0.12);
|
|
915
|
+
background: #225076;
|
|
916
|
+
padding: 4px 0 8px;
|
|
917
|
+
width: 100%;
|
|
918
|
+
z-index: 999;
|
|
919
|
+
position: relative;
|
|
920
|
+
/* display: flex;*/
|
|
921
|
+
//text-align: left !important;
|
|
922
|
+
// &:hover {
|
|
923
|
+
// color: $baseColor;
|
|
924
|
+
// background-color: #fbfdfe;
|
|
925
|
+
// .fase-list {
|
|
926
|
+
// display: block;
|
|
927
|
+
// }
|
|
928
|
+
// }
|
|
929
|
+
.item {
|
|
930
|
+
flex: 1;
|
|
931
|
+
text-align: center;
|
|
932
|
+
font-size: 16px;
|
|
933
|
+
height: 40px;
|
|
934
|
+
line-height: 40px;
|
|
935
|
+
cursor: pointer;
|
|
936
|
+
display: inline-block;
|
|
937
|
+
min-width: 30px;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.fase-list {
|
|
941
|
+
position: absolute;
|
|
942
|
+
left: 100%;
|
|
943
|
+
color: $baseColor;
|
|
944
|
+
background-color: #fbfdfe;
|
|
945
|
+
border: solid 1px $baseColor;
|
|
946
|
+
border-left: none;
|
|
947
|
+
top: -0.5px;
|
|
948
|
+
padding: 10px 0 10px 24px;
|
|
949
|
+
height: 43px;
|
|
950
|
+
width: 413px;
|
|
951
|
+
display: none;
|
|
952
|
+
|
|
953
|
+
.l-item {
|
|
954
|
+
display: inline-block;
|
|
955
|
+
font-size: 12px;
|
|
956
|
+
margin-right: 36px;
|
|
957
|
+
line-height: 20px;
|
|
958
|
+
cursor: pointer;
|
|
959
|
+
|
|
960
|
+
i {
|
|
961
|
+
vertical-align: middle;
|
|
962
|
+
margin-right: 4px;
|
|
963
|
+
font-size: 15px;
|
|
964
|
+
margin-bottom: 2px;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
&:hover {
|
|
968
|
+
border-bottom: solid 1px $baseColor;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.openSidebar .fase-box {
|
|
975
|
+
text-align: center;
|
|
976
|
+
//padding: 0;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
#app .sidebar-container {
|
|
980
|
+
overflow: visible;
|
|
981
|
+
z-index: 1003;
|
|
982
|
+
|
|
983
|
+
&.hover {
|
|
984
|
+
z-index: 1003;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
&.hover1 .fase-box {
|
|
988
|
+
width: 138px;
|
|
989
|
+
color: $baseColor;
|
|
990
|
+
background-color: #fbfdfe;
|
|
991
|
+
border-color: $baseColor;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.el-menu.menu-box {
|
|
995
|
+
height: calc(100vh - 173px);
|
|
996
|
+
font-size: 13px;
|
|
997
|
+
z-index: -1;
|
|
998
|
+
position: relative;
|
|
999
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
1000
|
+
word-break: break-word;
|
|
1001
|
+
|
|
1002
|
+
.el-submenu {
|
|
1003
|
+
overflow: hidden; //有点电脑分辨率问题
|
|
1004
|
+
.el-submenu__title {
|
|
1005
|
+
padding: 0 11px !important;
|
|
1006
|
+
height: 48px;
|
|
1007
|
+
line-height: 48px;
|
|
1008
|
+
|
|
1009
|
+
i {
|
|
1010
|
+
color: #fff;
|
|
1011
|
+
font-size: 13px;
|
|
1012
|
+
margin-right: 0;
|
|
1013
|
+
width: 18px;
|
|
1014
|
+
|
|
1015
|
+
&.iconfont {
|
|
1016
|
+
margin-right: 5px;
|
|
1017
|
+
font-size: 19px;
|
|
1018
|
+
float: left;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
&.el-submenu__icon-arrow {
|
|
1022
|
+
right: 3px;
|
|
1023
|
+
text-align: center;
|
|
1024
|
+
font-size: 12px;
|
|
1025
|
+
margin-top: -5px;
|
|
1026
|
+
display: none;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
> span {
|
|
1031
|
+
height: 48px;
|
|
1032
|
+
display: table-cell;
|
|
1033
|
+
width: 114px;
|
|
1034
|
+
vertical-align: middle;
|
|
1035
|
+
font-size: 13px;
|
|
1036
|
+
white-space: normal;
|
|
1037
|
+
line-height: 16px;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
&.is-opened .el-submenu__title {
|
|
1042
|
+
//background-color: rgba(27, 66, 97) !important;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.el-submenu {
|
|
1047
|
+
.el-menu {
|
|
1048
|
+
background: rgba(0, 0, 0, 0.35) !important;
|
|
1049
|
+
box-shadow: 0px -5px 8px #00000014 inset;
|
|
1050
|
+
//padding:4px 0;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.el-menu-item {
|
|
1054
|
+
height: auto;
|
|
1055
|
+
line-height: 1.4;
|
|
1056
|
+
padding-left: 33px !important;
|
|
1057
|
+
font-size: 12px;
|
|
1058
|
+
opacity: 0.8;
|
|
1059
|
+
margin: 10px 0 10px 14px;
|
|
1060
|
+
padding: 7px 2px 7px 0px;
|
|
1061
|
+
border-radius: 8px;
|
|
1062
|
+
text-align: left;
|
|
1063
|
+
min-width: 81px !important;
|
|
1064
|
+
white-space: normal;
|
|
1065
|
+
margin-right: 10px;
|
|
1066
|
+
word-break: break-word;
|
|
1067
|
+
|
|
1068
|
+
&:before {
|
|
1069
|
+
position: absolute;
|
|
1070
|
+
top: 50%;
|
|
1071
|
+
height: 20px;
|
|
1072
|
+
margin-top: -10px;
|
|
1073
|
+
line-height: 20px;
|
|
1074
|
+
left: 7px;
|
|
1075
|
+
font-size: 18px;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
[class^="el-icon-"] {
|
|
1079
|
+
font-size: 12px;
|
|
1080
|
+
color: #fff;
|
|
1081
|
+
position: absolute;
|
|
1082
|
+
right: 2px;
|
|
1083
|
+
top: 50%;
|
|
1084
|
+
margin-top: -5px;
|
|
1085
|
+
width: 14px;
|
|
1086
|
+
zoom: 0.8;
|
|
1087
|
+
display: none;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
&:hover,
|
|
1091
|
+
&.on {
|
|
1092
|
+
opacity: 1;
|
|
1093
|
+
background-color: #fbfdfe !important;
|
|
1094
|
+
color: $baseColor !important;
|
|
1095
|
+
|
|
1096
|
+
.el-icon-arrow-right {
|
|
1097
|
+
color: $baseColor;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
&.lang-zh {
|
|
1104
|
+
font-size: 14px;
|
|
1105
|
+
|
|
1106
|
+
.el-submenu {
|
|
1107
|
+
.el-submenu__title {
|
|
1108
|
+
> span {
|
|
1109
|
+
font-size: 14px;
|
|
1110
|
+
text-align: center;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
i.iconfont {
|
|
1114
|
+
margin-right: 2px;
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.el-menu-item {
|
|
1119
|
+
font-size: 13px;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.main-container {
|
|
1127
|
+
z-index: 1002;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.menu-btn {
|
|
1131
|
+
background-color: #0000001c;
|
|
1132
|
+
height: 30px;
|
|
1133
|
+
line-height: 30px;
|
|
1134
|
+
text-align: center;
|
|
1135
|
+
box-shadow: 0 -10px 6px rgb(0 0 0 / 10%);
|
|
1136
|
+
display: flex;
|
|
1137
|
+
color: #fff;
|
|
1138
|
+
font-size: 16px;
|
|
1139
|
+
|
|
1140
|
+
i {
|
|
1141
|
+
display: inline-block;
|
|
1142
|
+
flex: 1;
|
|
1143
|
+
line-height: 30px;
|
|
1144
|
+
cursor: pointer;
|
|
1145
|
+
border-right: solid 1px rgba(0, 0, 0, 0.2);
|
|
1146
|
+
|
|
1147
|
+
&:last-child {
|
|
1148
|
+
border-right: none;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
&:hover {
|
|
1152
|
+
background-color: rgba(255, 255, 255, 0.12);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/*.menu-box {
|
|
1158
|
+
background-color: #0000002e !important;
|
|
1159
|
+
font-size: 14px;
|
|
1160
|
+
z-index: -1;
|
|
1161
|
+
position: relative;
|
|
1162
|
+
&.hover .el-scrollbar {
|
|
1163
|
+
width: 1000px;
|
|
1164
|
+
}
|
|
1165
|
+
.el-scrollbar {
|
|
1166
|
+
.el-scrollbar__view {
|
|
1167
|
+
padding-top: 1px;
|
|
1168
|
+
}
|
|
1169
|
+
.el-scrollbar__bar.is-vertical {
|
|
1170
|
+
left: 104px;
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
.first-item {
|
|
1174
|
+
position: relative;
|
|
1175
|
+
width: 104px;
|
|
1176
|
+
&:nth-child(-n + 6) .second-list {
|
|
1177
|
+
bottom: inherit !important;
|
|
1178
|
+
top: -40.5px !important;
|
|
1179
|
+
}
|
|
1180
|
+
&:nth-child(1) .second-list {
|
|
1181
|
+
top: 0 !important;
|
|
1182
|
+
}
|
|
1183
|
+
&:nth-last-child(-n + 6) .second-list {
|
|
1184
|
+
bottom: -1%;
|
|
1185
|
+
top: inherit;
|
|
1186
|
+
}
|
|
1187
|
+
.f-name {
|
|
1188
|
+
height: 55px;
|
|
1189
|
+
line-height: 55px;
|
|
1190
|
+
padding-left: 9px;
|
|
1191
|
+
color: #fff;
|
|
1192
|
+
cursor: pointer;
|
|
1193
|
+
position: relative;
|
|
1194
|
+
padding-right: 6px;
|
|
1195
|
+
-webkit-transition: all 0.2s ease-in;
|
|
1196
|
+
-moz-transition: all 0.2s ease-in;
|
|
1197
|
+
-o-transition: all 0.2s ease-in;
|
|
1198
|
+
transition: all 0.2s ease-in;
|
|
1199
|
+
width: 104px;
|
|
1200
|
+
i.el-icon-arrow-right {
|
|
1201
|
+
position: absolute;
|
|
1202
|
+
right: 3px;
|
|
1203
|
+
top: 21.5px;
|
|
1204
|
+
width: 14px;
|
|
1205
|
+
height: 14px;
|
|
1206
|
+
}
|
|
1207
|
+
.el-icon-s-opportunity {
|
|
1208
|
+
opacity: 0.92;
|
|
1209
|
+
font-size: 13px;
|
|
1210
|
+
vertical-align: middle;
|
|
1211
|
+
margin-right: 2px;
|
|
1212
|
+
}
|
|
1213
|
+
span{display: inline-block;width: calc(100% - 20px);vertical-align: middle;line-height: 1.2;}
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
&:hover,
|
|
1217
|
+
&.current {
|
|
1218
|
+
.f-name {
|
|
1219
|
+
background-color: #fbfdfe;
|
|
1220
|
+
color: $baseColor;
|
|
1221
|
+
}
|
|
1222
|
+
.second-list {
|
|
1223
|
+
display: block;
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
*/
|
|
1231
|
+
.second-list {
|
|
1232
|
+
display: none;
|
|
1233
|
+
position: absolute;
|
|
1234
|
+
left: $sideBarWidth;
|
|
1235
|
+
padding-left: 2px;
|
|
1236
|
+
top: 0.5px;
|
|
1237
|
+
// &:before {
|
|
1238
|
+
// content: "";
|
|
1239
|
+
// top: 22px;
|
|
1240
|
+
// bottom: 22px;
|
|
1241
|
+
// background-color: $baseColor;
|
|
1242
|
+
// width: 2px;
|
|
1243
|
+
// position: absolute;
|
|
1244
|
+
// left: 24px;
|
|
1245
|
+
// }
|
|
1246
|
+
> div {
|
|
1247
|
+
background: #fbfdfe;
|
|
1248
|
+
border: solid 1px $baseColor;
|
|
1249
|
+
top: -0.5px;
|
|
1250
|
+
padding: 24px 0;
|
|
1251
|
+
border-radius: 8px;
|
|
1252
|
+
margin-left: 9px;
|
|
1253
|
+
max-height: calc(84vh);
|
|
1254
|
+
overflow-y: auto;
|
|
1255
|
+
overflow-x: hidden;
|
|
1256
|
+
width: 458px;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
.ico-arrow {
|
|
1260
|
+
border-top: solid 7px transparent;
|
|
1261
|
+
border-bottom: solid 7px transparent;
|
|
1262
|
+
border-right: solid 7px $baseColor;
|
|
1263
|
+
position: absolute;
|
|
1264
|
+
left: 2px;
|
|
1265
|
+
top: 8px;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
&.on {
|
|
1269
|
+
display: block;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.tit {
|
|
1273
|
+
width: auto;
|
|
1274
|
+
/* text-align: center; */
|
|
1275
|
+
/* background: #22507614; */
|
|
1276
|
+
color: $baseColor;
|
|
1277
|
+
/* border: dashed 1px #1d4667; */
|
|
1278
|
+
padding: 0 0 10px;
|
|
1279
|
+
/* border-radius: 6px; */
|
|
1280
|
+
/* margin: 5px auto; */
|
|
1281
|
+
margin: 0 22px;
|
|
1282
|
+
display: block;
|
|
1283
|
+
border-bottom: solid 1px #eee;
|
|
1284
|
+
|
|
1285
|
+
i,
|
|
1286
|
+
span {
|
|
1287
|
+
opacity: 1;
|
|
1288
|
+
vertical-align: middle;
|
|
1289
|
+
margin-right: 7px;
|
|
1290
|
+
font-size: 18px;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
span {
|
|
1294
|
+
font-size: 14px;
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
dl {
|
|
1299
|
+
padding: 8px 16px 3px 24px;
|
|
1300
|
+
margin-top: 0;
|
|
1301
|
+
margin-bottom: 0;
|
|
1302
|
+
display: inline-block;
|
|
1303
|
+
width: 50%;
|
|
1304
|
+
position: relative;
|
|
1305
|
+
word-break: break-all;
|
|
1306
|
+
|
|
1307
|
+
&:after {
|
|
1308
|
+
content: "";
|
|
1309
|
+
width: 1px;
|
|
1310
|
+
height: 14px;
|
|
1311
|
+
background: #e4e4e4;
|
|
1312
|
+
display: inline-block;
|
|
1313
|
+
position: absolute;
|
|
1314
|
+
right: -5px;
|
|
1315
|
+
top: 50%;
|
|
1316
|
+
margin-top: -3px;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
.s-name {
|
|
1320
|
+
color: $baseColor;
|
|
1321
|
+
display: inline-block;
|
|
1322
|
+
width: 190px;
|
|
1323
|
+
font-size: 14px;
|
|
1324
|
+
vertical-align: top;
|
|
1325
|
+
margin-top: 11px;
|
|
1326
|
+
text-align: right;
|
|
1327
|
+
|
|
1328
|
+
i {
|
|
1329
|
+
margin-left: 5px;
|
|
1330
|
+
|
|
1331
|
+
&.icon {
|
|
1332
|
+
font-size: 13px;
|
|
1333
|
+
opacity: 0.92;
|
|
1334
|
+
margin-left: 2px;
|
|
1335
|
+
margin-right: 4px;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.item {
|
|
1341
|
+
position: relative;
|
|
1342
|
+
border: dashed 1px #fff;
|
|
1343
|
+
border-radius: 6px;
|
|
1344
|
+
display: block;
|
|
1345
|
+
padding: 6px 8px 6px 27px;
|
|
1346
|
+
cursor: pointer;
|
|
1347
|
+
|
|
1348
|
+
&:hover {
|
|
1349
|
+
border-color: $baseColor;
|
|
1350
|
+
color: $baseColor;
|
|
1351
|
+
|
|
1352
|
+
i,
|
|
1353
|
+
a {
|
|
1354
|
+
color: $baseColor;
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
// &:after {
|
|
1359
|
+
// content: "";
|
|
1360
|
+
// width: 1px;
|
|
1361
|
+
// height: 12px;
|
|
1362
|
+
// background: #dcdcdc;
|
|
1363
|
+
// position: absolute;
|
|
1364
|
+
// right: -25px;
|
|
1365
|
+
// top: 2px
|
|
1366
|
+
// }
|
|
1367
|
+
|
|
1368
|
+
i {
|
|
1369
|
+
opacity: 0.8;
|
|
1370
|
+
margin-right: 8px;
|
|
1371
|
+
vertical-align: middle;
|
|
1372
|
+
position: absolute;
|
|
1373
|
+
left: 4px;
|
|
1374
|
+
top: 50%;
|
|
1375
|
+
margin-top: -11px;
|
|
1376
|
+
height: 22px;
|
|
1377
|
+
line-height: 22px;
|
|
1378
|
+
font-size: 16px;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
a {
|
|
1382
|
+
color: rgba(0, 0, 0, 0.82);
|
|
1383
|
+
display: inline-block;
|
|
1384
|
+
font-size: 13px;
|
|
1385
|
+
position: relative;
|
|
1386
|
+
overflow: initial !important;
|
|
1387
|
+
-webkit-transition: all 0.2s ease-in;
|
|
1388
|
+
-moz-transition: all 0.2s ease-in;
|
|
1389
|
+
-o-transition: all 0.2s ease-in;
|
|
1390
|
+
transition: all 0.2s ease-in;
|
|
1391
|
+
width: auto !important;
|
|
1392
|
+
vertical-align: middle;
|
|
1393
|
+
word-break: break-word;
|
|
1394
|
+
|
|
1395
|
+
&:hover {
|
|
1396
|
+
color: $baseColor;
|
|
1397
|
+
|
|
1398
|
+
// &:after {
|
|
1399
|
+
// content: '';
|
|
1400
|
+
// position: absolute;
|
|
1401
|
+
// bottom: -4px;
|
|
1402
|
+
// left: 0;
|
|
1403
|
+
// right: 0;
|
|
1404
|
+
// border-bottom: solid 1px $baseColor;
|
|
1405
|
+
// }
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
&:last-child {
|
|
1411
|
+
.list-box {
|
|
1412
|
+
border-bottom: none;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
// .el-submenu .el-menu {
|
|
1419
|
+
// height: auto !important;
|
|
1420
|
+
// }
|
|
1421
|
+
</style>
|