@zscreate/form-component 1.1.389 → 1.1.390
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/dist/form-component.css +63 -63
- package/dist/form-component.umd.js +82 -67
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.h-model-item[data-v-
|
|
1
|
+
.h-model-item[data-v-7062fce0]{height:30px;line-height:30px;padding-left:10px;font-size:16px}.h-model-item[data-v-7062fce0]:hover{background-color:#f5f9fd;color:#1890FF !important}.dropMenu[data-v-7062fce0]{width:100px;padding:0;margin:auto;position:absolute;right:-100px;top:-7px;bottom:0;z-index:100}.dropMenu li[data-v-7062fce0]{width:20px;height:20px;line-height:20px;display:inline-block;text-align:center;cursor:pointer;font-size:16px;color:#999}.dropMenu li[data-v-7062fce0]:hover{color:#66a6e0}.dropMenu li.icon-set[data-v-7062fce0]{font-size:23px}.dropMenuItem[data-v-7062fce0]{width:30px;height:30px;padding:0;color:#ffa500;margin:auto;position:absolute;cursor:pointer;bottom:0;z-index:100;font-size:20px}.gate .flow-node-drag[data-v-7062fce0]:nth-child(1){left:0;right:0;top:-19px}.gate .flow-node-drag[data-v-7062fce0]:nth-child(2){top:0;bottom:0;right:-19px}.gate .flow-node-drag[data-v-7062fce0]:nth-child(3){left:0;right:0;bottom:-19px}.gate .flow-node-drag[data-v-7062fce0]:nth-child(4){top:0;bottom:0;left:-19px}.flow-node-header[data-v-7062fce0]{background-color:#66a6e0;height:25px;cursor:pointer;border-top-left-radius:6px;border-top-right-radius:6px}.flow-node-header a[data-v-7062fce0]{text-decoration:none;line-height:25px;vertical-align:middle}.flow-node-header a img[data-v-7062fce0]{line-height:25px;vertical-align:middle;margin-bottom:5px}.flow-node-body[data-v-7062fce0]{background-color:white;text-align:center;cursor:pointer;height:25px;line-height:25px;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.vdr-no-border[data-v-7062fce0]{border:none}.tool .text[data-v-7062fce0]{font-size:14px;padding:4px 6px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;/*! autoprefixer: off */-webkit-box-orient:vertical;/*! autoprefixer: on */-webkit-line-clamp:2;height:46px;word-break:break-all}.tool .inner[data-v-7062fce0]{background:orange;display:flex;justify-content:start;align-items:center;color:#fff}.tool .inner .icon-user[data-v-7062fce0]{color:#fff;display:flex;align-items:center;justify-content:center}.tool .inner-blue[data-v-7062fce0]{background:blue;display:flex;justify-content:start;align-items:center;color:#fff}.tool .inner-blue .icon-user[data-v-7062fce0]{color:#fff;display:flex;align-items:center}.flow-view .start[data-v-7062fce0]{border:2px solid #e0c645}.flow-view .end[data-v-7062fce0]{background-size:cover;border:2px solid #e0c645;position:relative}.flow-view .end[data-v-7062fce0]:before{content:'';width:12px;height:12px;background:#e0c645;display:block;position:absolute;top:calc(50% - 6px);left:calc(50% - 6px)}
|
|
2
2
|
|
|
3
3
|
.flow-tool-menu{background-color:#eeeeee;cursor:pointer;padding-left:5px;height:50px;line-height:50px;border-bottom:1px solid #979797}.flow-tool-submenu{background-color:white;padding-left:20px;cursor:pointer;height:50px;line-height:50px;vertical-align:middle;border-bottom:1px solid #d3d3d3}.g1-tools_1 li.start{width:50px;height:50px;border:1px solid #d8d8d8;border-radius:100%}.draggable-item .inner{display:flex;flex-direction:column;align-items:center;margin-bottom:10px}.draggable-item .inner svg{font-size:30px;color:#858587}.draggable-item .inner svg use{fill:#858587}.draggable-item .inner span{color:#333;margin:5px}
|
|
4
4
|
|
|
@@ -317,16 +317,16 @@ ul li[data-v-c8780a30] {
|
|
|
317
317
|
width: 347px !important;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
ul[data-v-
|
|
321
|
-
li[data-v-
|
|
322
|
-
dl[data-v-
|
|
323
|
-
dt[data-v-
|
|
324
|
-
dd[data-v-
|
|
320
|
+
ul[data-v-1f110ae7],
|
|
321
|
+
li[data-v-1f110ae7],
|
|
322
|
+
dl[data-v-1f110ae7],
|
|
323
|
+
dt[data-v-1f110ae7],
|
|
324
|
+
dd[data-v-1f110ae7] {
|
|
325
325
|
list-style-type: none;
|
|
326
326
|
padding: 0;
|
|
327
327
|
margin: 0;
|
|
328
328
|
}
|
|
329
|
-
.flowwork-warp[data-v-
|
|
329
|
+
.flowwork-warp[data-v-1f110ae7] {
|
|
330
330
|
position: absolute;
|
|
331
331
|
left: 0;
|
|
332
332
|
right: 0;
|
|
@@ -334,7 +334,7 @@ dd[data-v-648c47dd] {
|
|
|
334
334
|
bottom: 64px;
|
|
335
335
|
background: #fff;
|
|
336
336
|
}
|
|
337
|
-
.g1_workflow_warp[data-v-
|
|
337
|
+
.g1_workflow_warp[data-v-1f110ae7] {
|
|
338
338
|
border: 1px solid #dfdfdf;
|
|
339
339
|
margin: auto;
|
|
340
340
|
position: absolute;
|
|
@@ -343,12 +343,12 @@ dd[data-v-648c47dd] {
|
|
|
343
343
|
bottom: 0;
|
|
344
344
|
top: 0;
|
|
345
345
|
}
|
|
346
|
-
.g1_workflow_warp li[data-v-
|
|
346
|
+
.g1_workflow_warp li[data-v-1f110ae7] {
|
|
347
347
|
width: 100%;
|
|
348
348
|
position: relative;
|
|
349
349
|
text-align: center;
|
|
350
350
|
}
|
|
351
|
-
.g1-sider_tool1[data-v-
|
|
351
|
+
.g1-sider_tool1[data-v-1f110ae7] {
|
|
352
352
|
width: 100px;
|
|
353
353
|
position: absolute;
|
|
354
354
|
left: 0;
|
|
@@ -357,37 +357,37 @@ dd[data-v-648c47dd] {
|
|
|
357
357
|
border-right: 1px solid #dfdfdf;
|
|
358
358
|
overflow-y: auto;
|
|
359
359
|
}
|
|
360
|
-
.g1-sider_tool1 .tool_box[data-v-
|
|
360
|
+
.g1-sider_tool1 .tool_box[data-v-1f110ae7] {
|
|
361
361
|
margin-top: 15px;
|
|
362
362
|
}
|
|
363
|
-
.g1-sider_tool1 .tool_box .tool[data-v-
|
|
363
|
+
.g1-sider_tool1 .tool_box .tool[data-v-1f110ae7] {
|
|
364
364
|
text-align: center;
|
|
365
365
|
font-size: 12px;
|
|
366
366
|
color: #fff;
|
|
367
367
|
}
|
|
368
368
|
/* 公用图形 */
|
|
369
|
-
.end[data-v-
|
|
369
|
+
.end[data-v-1f110ae7] {
|
|
370
370
|
border-radius: 100%;
|
|
371
371
|
}
|
|
372
|
-
.comm[data-v-
|
|
372
|
+
.comm[data-v-1f110ae7] {
|
|
373
373
|
border-radius: 0px;
|
|
374
374
|
}
|
|
375
|
-
.gate[data-v-
|
|
375
|
+
.gate[data-v-1f110ae7] {
|
|
376
376
|
width: 60px;
|
|
377
377
|
border-radius: 0;
|
|
378
378
|
}
|
|
379
|
-
.gate .inner[data-v-
|
|
379
|
+
.gate .inner[data-v-1f110ae7] {
|
|
380
380
|
display: inline-block;
|
|
381
381
|
font-size: 16px;
|
|
382
382
|
}
|
|
383
|
-
.g1-form_main1[data-v-
|
|
383
|
+
.g1-form_main1[data-v-1f110ae7] {
|
|
384
384
|
position: absolute;
|
|
385
385
|
left: 100px;
|
|
386
386
|
right: 0;
|
|
387
387
|
top: 0;
|
|
388
388
|
bottom: 0;
|
|
389
389
|
}
|
|
390
|
-
.g1-form_main1 .head[data-v-
|
|
390
|
+
.g1-form_main1 .head[data-v-1f110ae7] {
|
|
391
391
|
height: 46px;
|
|
392
392
|
line-height: 46px;
|
|
393
393
|
text-align: left;
|
|
@@ -395,11 +395,11 @@ dd[data-v-648c47dd] {
|
|
|
395
395
|
box-sizing: border-box;
|
|
396
396
|
border-bottom: 1px solid #d8d8d8;
|
|
397
397
|
}
|
|
398
|
-
.g1-form_main1 .head .ant-btn[data-v-
|
|
398
|
+
.g1-form_main1 .head .ant-btn[data-v-1f110ae7] {
|
|
399
399
|
height: 32px;
|
|
400
400
|
margin-right: 10px;
|
|
401
401
|
}
|
|
402
|
-
.g1-form_main1 .main[data-v-
|
|
402
|
+
.g1-form_main1 .main[data-v-1f110ae7] {
|
|
403
403
|
position: absolute;
|
|
404
404
|
left: 0 !important;
|
|
405
405
|
right: 0px;
|
|
@@ -408,12 +408,12 @@ dd[data-v-648c47dd] {
|
|
|
408
408
|
overflow: auto;
|
|
409
409
|
box-sizing: border-box;
|
|
410
410
|
}
|
|
411
|
-
.g1-form_main1 .main #flowContainer[data-v-
|
|
411
|
+
.g1-form_main1 .main #flowContainer[data-v-1f110ae7] {
|
|
412
412
|
background-image: linear-gradient(90deg, rgba(180, 180, 180, 0.15) 10%, rgba(180, 180, 180, 0) 10%), linear-gradient(rgba(180, 180, 180, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
|
|
413
413
|
background-size: 10px 10px;
|
|
414
414
|
background-color: #fbfbfb;
|
|
415
415
|
}
|
|
416
|
-
.g1-form_main1 .sider-pannel[data-v-
|
|
416
|
+
.g1-form_main1 .sider-pannel[data-v-1f110ae7] {
|
|
417
417
|
width: 250px;
|
|
418
418
|
padding: 0 15px;
|
|
419
419
|
position: absolute;
|
|
@@ -423,7 +423,7 @@ dd[data-v-648c47dd] {
|
|
|
423
423
|
border-left: 1px solid #dfdfdf;
|
|
424
424
|
background-color: #fff;
|
|
425
425
|
}
|
|
426
|
-
.g1-form_main1 .sider-pannel .sider-panel-inner[data-v-
|
|
426
|
+
.g1-form_main1 .sider-pannel .sider-panel-inner[data-v-1f110ae7] {
|
|
427
427
|
width: 100%;
|
|
428
428
|
height: 100%;
|
|
429
429
|
padding: 15px;
|
|
@@ -434,7 +434,7 @@ dd[data-v-648c47dd] {
|
|
|
434
434
|
top: 0;
|
|
435
435
|
overflow-y: auto;
|
|
436
436
|
}
|
|
437
|
-
.g1-form_main1 .sider-pannel .sider-open[data-v-
|
|
437
|
+
.g1-form_main1 .sider-pannel .sider-open[data-v-1f110ae7] {
|
|
438
438
|
width: 36px;
|
|
439
439
|
height: 60px;
|
|
440
440
|
line-height: 60px;
|
|
@@ -450,14 +450,14 @@ dd[data-v-648c47dd] {
|
|
|
450
450
|
background-color: #fff;
|
|
451
451
|
}
|
|
452
452
|
/* 视图图形 */
|
|
453
|
-
.flow-view[data-v-
|
|
453
|
+
.flow-view[data-v-1f110ae7] {
|
|
454
454
|
position: absolute;
|
|
455
455
|
left: 0;
|
|
456
456
|
right: 0;
|
|
457
457
|
top: 0;
|
|
458
458
|
bottom: 0;
|
|
459
459
|
}
|
|
460
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
460
|
+
.flow-view .inner .flow-node-drag[data-v-1f110ae7] {
|
|
461
461
|
width: 12px;
|
|
462
462
|
height: 12px;
|
|
463
463
|
display: block;
|
|
@@ -468,27 +468,27 @@ dd[data-v-648c47dd] {
|
|
|
468
468
|
cursor: crosshair;
|
|
469
469
|
background: rgba(24, 144, 255, 0.6);
|
|
470
470
|
}
|
|
471
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
471
|
+
.flow-view .inner .flow-node-drag[data-v-1f110ae7]:nth-child(1) {
|
|
472
472
|
left: -6px;
|
|
473
473
|
top: 0;
|
|
474
474
|
bottom: 0;
|
|
475
475
|
}
|
|
476
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
476
|
+
.flow-view .inner .flow-node-drag[data-v-1f110ae7]:nth-child(2) {
|
|
477
477
|
top: -6px;
|
|
478
478
|
left: 0;
|
|
479
479
|
right: 0;
|
|
480
480
|
}
|
|
481
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
481
|
+
.flow-view .inner .flow-node-drag[data-v-1f110ae7]:nth-child(3) {
|
|
482
482
|
right: -6px;
|
|
483
483
|
top: 0;
|
|
484
484
|
bottom: 0;
|
|
485
485
|
}
|
|
486
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
486
|
+
.flow-view .inner .flow-node-drag[data-v-1f110ae7]:nth-child(4) {
|
|
487
487
|
bottom: -6px;
|
|
488
488
|
left: 0;
|
|
489
489
|
right: 0;
|
|
490
490
|
}
|
|
491
|
-
.flow-view .tool[data-v-
|
|
491
|
+
.flow-view .tool[data-v-1f110ae7] {
|
|
492
492
|
width: 100%;
|
|
493
493
|
height: 100%;
|
|
494
494
|
margin: 0;
|
|
@@ -496,14 +496,14 @@ dd[data-v-648c47dd] {
|
|
|
496
496
|
box-shadow: 5px 5px 3px #d4d0d0;
|
|
497
497
|
background: #fbfbfb;
|
|
498
498
|
}
|
|
499
|
-
.flow-view .tool .iconfont[data-v-
|
|
499
|
+
.flow-view .tool .iconfont[data-v-1f110ae7] {
|
|
500
500
|
font-size: 100%;
|
|
501
501
|
color: #858587;
|
|
502
502
|
}
|
|
503
|
-
.flow-view .exclude_gateway[data-v-
|
|
503
|
+
.flow-view .exclude_gateway[data-v-1f110ae7] {
|
|
504
504
|
box-shadow: 0 0 0 #ccc;
|
|
505
505
|
}
|
|
506
|
-
.flow-view .gate[data-v-
|
|
506
|
+
.flow-view .gate[data-v-1f110ae7] {
|
|
507
507
|
line-height: 50px;
|
|
508
508
|
position: absolute;
|
|
509
509
|
left: 0;
|
|
@@ -511,9 +511,9 @@ dd[data-v-648c47dd] {
|
|
|
511
511
|
top: 0;
|
|
512
512
|
bottom: 0;
|
|
513
513
|
}
|
|
514
|
-
.flow-view .ordinary_gateway[data-v-
|
|
515
|
-
.flow-view .parall_gateway[data-v-
|
|
516
|
-
.flow-view .exclude_gateway[data-v-
|
|
514
|
+
.flow-view .ordinary_gateway[data-v-1f110ae7],
|
|
515
|
+
.flow-view .parall_gateway[data-v-1f110ae7],
|
|
516
|
+
.flow-view .exclude_gateway[data-v-1f110ae7] {
|
|
517
517
|
border: none;
|
|
518
518
|
border-radius: 0;
|
|
519
519
|
background-size: cover;
|
|
@@ -521,35 +521,35 @@ dd[data-v-648c47dd] {
|
|
|
521
521
|
background-position: center center;
|
|
522
522
|
box-shadow: 0 0 0 #ccc;
|
|
523
523
|
}
|
|
524
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
525
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
526
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
524
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(1),
|
|
525
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(1),
|
|
526
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(1) {
|
|
527
527
|
left: 0;
|
|
528
528
|
top: 0;
|
|
529
529
|
bottom: 0;
|
|
530
530
|
}
|
|
531
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
532
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
533
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
531
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(2),
|
|
532
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(2),
|
|
533
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(2) {
|
|
534
534
|
top: 0;
|
|
535
535
|
left: 0;
|
|
536
536
|
right: 0;
|
|
537
537
|
}
|
|
538
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
539
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
540
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
538
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(3),
|
|
539
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(3),
|
|
540
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(3) {
|
|
541
541
|
right: 0;
|
|
542
542
|
top: 0;
|
|
543
543
|
bottom: 0;
|
|
544
544
|
}
|
|
545
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
546
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
547
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
545
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(4),
|
|
546
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(4),
|
|
547
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-1f110ae7]:nth-child(4) {
|
|
548
548
|
bottom: 0;
|
|
549
549
|
left: 0;
|
|
550
550
|
right: 0;
|
|
551
551
|
}
|
|
552
|
-
.flow-view .exclude_gateway[data-v-
|
|
552
|
+
.flow-view .exclude_gateway[data-v-1f110ae7] {
|
|
553
553
|
width: 70%;
|
|
554
554
|
height: 70%;
|
|
555
555
|
margin: 15%;
|
|
@@ -558,7 +558,7 @@ dd[data-v-648c47dd] {
|
|
|
558
558
|
transform: rotate(45deg);
|
|
559
559
|
position: relative;
|
|
560
560
|
}
|
|
561
|
-
.flow-view .exclude_gateway[data-v-
|
|
561
|
+
.flow-view .exclude_gateway[data-v-1f110ae7]::before {
|
|
562
562
|
content: '';
|
|
563
563
|
width: 2px;
|
|
564
564
|
background-color: #7a7a7a;
|
|
@@ -568,7 +568,7 @@ dd[data-v-648c47dd] {
|
|
|
568
568
|
top: calc(50% - 10px);
|
|
569
569
|
left: calc(50% - 1px);
|
|
570
570
|
}
|
|
571
|
-
.flow-view .exclude_gateway[data-v-
|
|
571
|
+
.flow-view .exclude_gateway[data-v-1f110ae7]::after {
|
|
572
572
|
content: '';
|
|
573
573
|
width: 20px;
|
|
574
574
|
background-color: #7a7a7a;
|
|
@@ -578,7 +578,7 @@ dd[data-v-648c47dd] {
|
|
|
578
578
|
top: calc(50% - 1px);
|
|
579
579
|
left: calc(50% - 10px);
|
|
580
580
|
}
|
|
581
|
-
.flow-view .parall_gateway[data-v-
|
|
581
|
+
.flow-view .parall_gateway[data-v-1f110ae7] {
|
|
582
582
|
width: 70%;
|
|
583
583
|
height: 70%;
|
|
584
584
|
margin: 15%;
|
|
@@ -587,7 +587,7 @@ dd[data-v-648c47dd] {
|
|
|
587
587
|
transform: rotate(45deg);
|
|
588
588
|
position: relative;
|
|
589
589
|
}
|
|
590
|
-
.flow-view .parall_gateway[data-v-
|
|
590
|
+
.flow-view .parall_gateway[data-v-1f110ae7]::after {
|
|
591
591
|
content: '';
|
|
592
592
|
width: 20px;
|
|
593
593
|
background-color: #7a7a7a;
|
|
@@ -599,7 +599,7 @@ dd[data-v-648c47dd] {
|
|
|
599
599
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
|
600
600
|
transform: rotate(45deg);
|
|
601
601
|
}
|
|
602
|
-
.flow-view .parall_gateway[data-v-
|
|
602
|
+
.flow-view .parall_gateway[data-v-1f110ae7]::before {
|
|
603
603
|
content: '';
|
|
604
604
|
width: 2px;
|
|
605
605
|
background-color: #7a7a7a;
|
|
@@ -612,7 +612,7 @@ dd[data-v-648c47dd] {
|
|
|
612
612
|
transform: rotate(45deg);
|
|
613
613
|
}
|
|
614
614
|
/* 线条工具 */
|
|
615
|
-
.lineTool[data-v-
|
|
615
|
+
.lineTool[data-v-1f110ae7] {
|
|
616
616
|
width: 130px;
|
|
617
617
|
height: 26px;
|
|
618
618
|
border: 1px solid #1890ff;
|
|
@@ -620,7 +620,7 @@ dd[data-v-648c47dd] {
|
|
|
620
620
|
background-color: #fff;
|
|
621
621
|
text-align: left;
|
|
622
622
|
}
|
|
623
|
-
.lineTool li[data-v-
|
|
623
|
+
.lineTool li[data-v-1f110ae7] {
|
|
624
624
|
width: 30px;
|
|
625
625
|
height: 26px;
|
|
626
626
|
display: inline-block;
|
|
@@ -628,14 +628,14 @@ dd[data-v-648c47dd] {
|
|
|
628
628
|
text-align: center;
|
|
629
629
|
color: #1890ff;
|
|
630
630
|
}
|
|
631
|
-
.tool-drag a .inner[data-v-
|
|
631
|
+
.tool-drag a .inner[data-v-1f110ae7] {
|
|
632
632
|
color: #f00 !important;
|
|
633
633
|
}
|
|
634
|
-
.ant-layout-footer[data-v-
|
|
634
|
+
.ant-layout-footer[data-v-1f110ae7] {
|
|
635
635
|
z-index: 10;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
#flowContainer[data-v-
|
|
638
|
+
#flowContainer[data-v-1f110ae7] {
|
|
639
639
|
width: 1000000px;
|
|
640
640
|
height: 1000000px;
|
|
641
641
|
position: absolute;
|
|
@@ -648,7 +648,7 @@ dd[data-v-648c47dd] {
|
|
|
648
648
|
left: -500000px;
|
|
649
649
|
top: -500000px; */
|
|
650
650
|
}
|
|
651
|
-
.labelClass[data-v-
|
|
651
|
+
.labelClass[data-v-1f110ae7] {
|
|
652
652
|
padding: 0 3px;
|
|
653
653
|
font-size: 12px;
|
|
654
654
|
cursor: pointer;
|
|
@@ -659,14 +659,14 @@ dd[data-v-648c47dd] {
|
|
|
659
659
|
border-radius: 3px;
|
|
660
660
|
background: rgba(24, 144, 255, 0.6);
|
|
661
661
|
}
|
|
662
|
-
.loading[data-v-
|
|
662
|
+
.loading[data-v-1f110ae7] {
|
|
663
663
|
height: 100%;
|
|
664
664
|
width: 100%;
|
|
665
665
|
display: flex;
|
|
666
666
|
align-items: center;
|
|
667
667
|
justify-content: center;
|
|
668
668
|
}
|
|
669
|
-
[data-v-
|
|
669
|
+
[data-v-1f110ae7] .labelClass {
|
|
670
670
|
background-color: #539dfa !important;
|
|
671
671
|
padding: 5px;
|
|
672
672
|
border-radius: 5px;
|
|
@@ -157684,7 +157684,7 @@ function toString(value) {
|
|
|
157684
157684
|
/***/ ((module) => {
|
|
157685
157685
|
|
|
157686
157686
|
"use strict";
|
|
157687
|
-
module.exports = {"i8":"1.1.
|
|
157687
|
+
module.exports = {"i8":"1.1.390"};
|
|
157688
157688
|
|
|
157689
157689
|
/***/ })
|
|
157690
157690
|
|
|
@@ -159627,7 +159627,7 @@ icon_Icon.install = function (Vue) {
|
|
|
159627
159627
|
};
|
|
159628
159628
|
|
|
159629
159629
|
/* harmony default export */ const icon = (icon_Icon);
|
|
159630
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=
|
|
159630
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=1f110ae7&scoped=true&
|
|
159631
159631
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.easyFlowVisible)?_c('div',{staticClass:"g1_workflow_warp"},[_c('div',{staticClass:"g1-sider_tool1"},[_c('div',{ref:"flowTool",staticClass:"tool_box"},[_c('flowTool',{on:{"addNode":_vm.addNode}})],1)]),_c('div',{ref:"form_main1",staticClass:"g1-form_main1",attrs:{"id":"form_main1"}},[_c('div',{staticClass:"head"},[_c('a-button',{attrs:{"type":"primary","size":"small","icon":"search"},on:{"click":_vm.dataInfo}},[_vm._v("查看")]),_c('a-button',{attrs:{"type":"primary","size":"small","icon":"fund"},on:{"click":function($event){$event.stopPropagation();return _vm.isPanelShow('flowPanel')}}},[_vm._v("设置流程信息 ")]),_c('a-button',{attrs:{"type":"primary","size":"small","icon":"align-left"},on:{"click":function($event){$event.stopPropagation();return _vm.isPanelShow('dataConditionPanel')}}},[_vm._v("查看流程条件 ")]),(!_vm.isFlowPanelMain)?_c('a-button',{attrs:{"type":"primary","size":"small","icon":"save"},on:{"click":_vm.saveData}},[_vm._v("保存")]):_vm._e()],1),_c('div',{ref:"main",staticClass:"main",attrs:{"id":"main"},on:{"click":_vm.closeAddBtn}},[_c('div',{ref:"flowContainer",staticClass:"container",attrs:{"id":"flowContainer"}},[_vm._l((_vm.data.nodeList),function(node){return [_c('flow-node',{directives:[{name:"show",rawName:"v-show",value:(node.show),expression:"node.show"}],key:node.id,ref:"flowNode",refInFor:true,attrs:{"id":node.id,"node":node,"nodeList":_vm.data.nodeList},on:{"clickNode":_vm.clickNode,"lineChange":_vm.lineChange,"deleteNode":_vm.deleteNode,"nodeRightMenu":_vm.nodeRightMenu,"changeNodeSite":_vm.changeNodeSite,"editNode":_vm.editNode,"addNodeClick":_vm.addNodeClick}})]})],2),(_vm.isSavePicLoadingShow)?_c('div',{staticClass:"loading"},[_c('a-spin',{attrs:{"size":"large"}})],1):_vm._e()]),_c('sider-panel',{directives:[{name:"show",rawName:"v-show",value:(_vm.siderPanelVisible),expression:"siderPanelVisible"}],ref:"siderPanel",attrs:{"isFlowPanelZJAF":_vm.isFlowPanelZJAF,"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData,"verifyListArr":_vm.verifyList},on:{"isPanelShow":_vm.isPanelShow}}),(_vm.linePanelVisible)?_c('line-panel',{ref:"linePanel",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData},on:{"isPanelShow":_vm.isPanelShow,"setLineData":_vm.setLineData}}):_vm._e(),(_vm.dataConditionPanelVisible)?_c('dataConditionPanel',{ref:"dataConditionPanel",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData},on:{"isPanelShow":_vm.isPanelShow}}):_vm._e(),_c('flow-panel',{directives:[{name:"show",rawName:"v-show",value:(_vm.flowPanelVisible),expression:"flowPanelVisible"}],ref:"flowPanel",staticStyle:{"z-index":"10"},attrs:{"data":_vm.data,"id":_vm.id},on:{"isPanelShow":_vm.isPanelShow}}),(_vm.copyDesignVisible)?_c('copyDesign',{ref:"copyDesign",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData,"isFlowPanelZJAF":_vm.isFlowPanelZJAF},on:{"isPanelShow":_vm.isPanelShow}}):_vm._e(),(_vm.userDesignVisible)?_c('userDesign',{ref:"userDesign",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData,"isFlowPanelZJAF":_vm.isFlowPanelZJAF},on:{"isPanelShow":_vm.isPanelShow}}):_vm._e()],1),(_vm.flowInfoVisible)?_c('flow-info',{ref:"flowInfo"}):_vm._e(),(_vm.lineToolVisible)?_c('ul',{ref:"lineTool",staticClass:"lineTool",on:{"mouseleave":_vm.lineToolFn}},[_c('li',{on:{"click":function($event){return _vm.setLineStyle('Flowchart')}}},[_c('svg-icon',{attrs:{"iconName":"icon-yibiaopan"}})],1),_c('li',{on:{"click":function($event){return _vm.setLineStyle('Bezier')}}},[_c('svg-icon',{attrs:{"iconName":"icon-ant-bezier-quadro"}})],1),_c('li',{on:{"click":function($event){return _vm.setLineStyle('Straight')}}},[_c('svg-icon',{attrs:{"iconName":"icon-line"}})],1),_c('li',{on:{"click":_vm.deleteLineView}},[_c('svg-icon',{attrs:{"iconName":"icon-jurassic_line"}})],1)]):_vm._e()],1):_vm._e()}
|
|
159632
159632
|
var staticRenderFns = []
|
|
159633
159633
|
|
|
@@ -159638,9 +159638,9 @@ var es_array_push = __webpack_require__(5746);
|
|
|
159638
159638
|
var es_json_stringify = __webpack_require__(9826);
|
|
159639
159639
|
// EXTERNAL MODULE: ./node_modules/_jsplumb@2.11.2@jsplumb/dist/js/jsplumb.js
|
|
159640
159640
|
var jsplumb = __webpack_require__(5325);
|
|
159641
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=template&id=
|
|
159642
|
-
var
|
|
159643
|
-
var
|
|
159641
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=template&id=7062fce0&scoped=true&
|
|
159642
|
+
var nodevue_type_template_id_7062fce0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vdr',{ref:"aa",staticClass:"vdr-no-border",attrs:{"w":_vm.node.width ? _vm.node.width : _vm.flowNodeContainer.width,"h":_vm.node.height ? _vm.node.height : _vm.flowNodeContainer.height,"x":_vm.flowNodeContainer.left,"y":_vm.flowNodeContainer.top,"draggable":_vm.flag && _vm.isFlowPanelMain,"resizable":false,"snap":true,"snap-tolerance":20},on:{"resizing":_vm.onResizing,"resizestop":_vm.onResizstop}},[_c('div',{ref:"node",staticClass:"flow-view",on:{"mouseenter":_vm.showDelete,"mouseleave":_vm.hideDelete,"dblclick":function($event){$event.stopPropagation();return _vm.clickNode.apply(null, arguments)},"mouseup":_vm.changeNodeSite,"contextmenu":function($event){$event.preventDefault();return _vm.editMenu.apply(null, arguments)},"click":function($event){$event.stopPropagation();return _vm.clickNodeOne.apply(null, arguments)}}},[_c('div',{class:_vm.node.info.cls},[_c('div',{staticClass:"inner",style:({backgroundColor: _vm.$route.query.nodeId && _vm.$route.query.nodeId === _vm.node.id ? 'red' : 'orange'})},[(_vm.node.info.type == 'comm')?_c('svg-icon',{staticStyle:{"height":"28px","font-size":"18px","margin":"0 5px"},attrs:{"iconName":"icon-icon-user"}}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.lineTodo)?_c('i',{class:_vm.nodeClass}):_vm._e(),(_vm.node.info.type == 'comm')?_c('span',[_vm._v(_vm._s(_vm.node.info.title))]):_vm._e()],1),(_vm.node.info && _vm.node.info.type == 'comm' && _vm.node.info.taskAssigneeList && _vm.node.info.taskAssigneeList.length > 0 && _vm.node.info.taskAssigneeList.some(function (item) { return item.title; }))?_c('div',{staticClass:"text",attrs:{"title":_vm.node.info.taskAssigneeList.map(function (item) { return item.title; }).join(',')}},[_vm._v(" "+_vm._s(_vm.node.info.taskAssigneeList.map(function (item) { return item.title; }).join(','))+" ")]):_vm._e()]),(_vm.dropMenu)?_c('ul',{staticClass:"dropMenu"},[_c('li',{staticStyle:{"font-size":"16px"},on:{"click":_vm.editNode}},[_c('svg-icon',{attrs:{"iconName":"icon-shezhi"}})],1),_c('li',{on:{"click":_vm.deleteNode}},[_c('svg-icon',{staticStyle:{"font-size":"14px"},attrs:{"iconName":"icon-shanchu"}})],1)]):_vm._e(),(_vm.node.info.name === '普通' && _vm.addBtn)?_c('div',_vm._l((_vm.addButtonList),function(item,index){return _c('div',{staticClass:"dropMenuItem",style:({ top: item.top, right: item.right, display: 'block !important', opacity: 1 }),attrs:{"tabindex":index},on:{"click":function($event){$event.stopPropagation();return _vm.clickMenuItem(index)}}},[_c('a-icon',{attrs:{"type":"plus-circle"}}),(item.flag)?_c('div',{staticStyle:{"width":"105px","padding":"10px 6px","background-color":"#fff","color":"#333","font-size":"14px","border-radius":"10px","overflow":"hidden","box-shadow":"0px 3px 6px rgba(0,0,0,0.04)"}},[_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'yh')}}},[_vm._v("用户任务")]),_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'fz')}}},[_vm._v("分支网关")]),_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'bx')}}},[_vm._v("并行网关")]),(!_vm.nodeList.some(function (info) { return info.id === 'EndEvent'; }))?_c('div',{staticClass:"h-model-item",on:{"click":function($event){$event.stopPropagation();return _vm.addNodeListItem(item.type, index, 'js')}}},[_vm._v("结束节点")]):_vm._e()]):_vm._e()],1)}),0):_vm._e()])])}
|
|
159643
|
+
var nodevue_type_template_id_7062fce0_scoped_true_staticRenderFns = []
|
|
159644
159644
|
|
|
159645
159645
|
|
|
159646
159646
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=script&lang=js&
|
|
@@ -159779,6 +159779,7 @@ var nodevue_type_template_id_14c23da0_scoped_true_staticRenderFns = []
|
|
|
159779
159779
|
components: {},
|
|
159780
159780
|
methods: {
|
|
159781
159781
|
clickNodeOne() {
|
|
159782
|
+
if (this.$route.query && this.$route.query.nodeId) return;
|
|
159782
159783
|
this.$parent.closeAddBtn();
|
|
159783
159784
|
this.addBtn = !this.addBtn;
|
|
159784
159785
|
this.addButtonList = [{
|
|
@@ -159962,6 +159963,7 @@ var nodevue_type_template_id_14c23da0_scoped_true_staticRenderFns = []
|
|
|
159962
159963
|
},
|
|
159963
159964
|
// 删除节点
|
|
159964
159965
|
deleteNode() {
|
|
159966
|
+
if (this.$route.query && this.$route.query.nodeId) return this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
159965
159967
|
this.$emit("deleteNode", this.node.id);
|
|
159966
159968
|
},
|
|
159967
159969
|
// 编辑节点
|
|
@@ -160004,10 +160006,10 @@ var nodevue_type_template_id_14c23da0_scoped_true_staticRenderFns = []
|
|
|
160004
160006
|
});
|
|
160005
160007
|
;// CONCATENATED MODULE: ./src/flow/node.vue?vue&type=script&lang=js&
|
|
160006
160008
|
/* harmony default export */ const flow_nodevue_type_script_lang_js_ = (nodevue_type_script_lang_js_);
|
|
160007
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=style&index=0&id=
|
|
160009
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/node.vue?vue&type=style&index=0&id=7062fce0&prod&lang=scss&scoped=true&
|
|
160008
160010
|
// extracted by mini-css-extract-plugin
|
|
160009
160011
|
|
|
160010
|
-
;// CONCATENATED MODULE: ./src/flow/node.vue?vue&type=style&index=0&id=
|
|
160012
|
+
;// CONCATENATED MODULE: ./src/flow/node.vue?vue&type=style&index=0&id=7062fce0&prod&lang=scss&scoped=true&
|
|
160011
160013
|
|
|
160012
160014
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
160013
160015
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -160022,19 +160024,19 @@ var componentNormalizer = __webpack_require__(8412);
|
|
|
160022
160024
|
|
|
160023
160025
|
var component = (0,componentNormalizer/* default */.Z)(
|
|
160024
160026
|
flow_nodevue_type_script_lang_js_,
|
|
160025
|
-
|
|
160026
|
-
|
|
160027
|
+
nodevue_type_template_id_7062fce0_scoped_true_render,
|
|
160028
|
+
nodevue_type_template_id_7062fce0_scoped_true_staticRenderFns,
|
|
160027
160029
|
false,
|
|
160028
160030
|
null,
|
|
160029
|
-
"
|
|
160031
|
+
"7062fce0",
|
|
160030
160032
|
null
|
|
160031
160033
|
|
|
160032
160034
|
)
|
|
160033
160035
|
|
|
160034
160036
|
/* harmony default export */ const node = (component.exports);
|
|
160035
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/tool.vue?vue&type=template&id=
|
|
160036
|
-
var
|
|
160037
|
-
var
|
|
160037
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/tool.vue?vue&type=template&id=3e497da8&
|
|
160038
|
+
var toolvue_type_template_id_3e497da8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',_vm._l((_vm.customMenuList),function(item,i){return _c('draggable',{key:item.type + i,attrs:{"setData":function (){},"tag":"li","options":{ dragClass: 'tool-drag', scroll: true }},on:{"end":_vm.addNode}},[_c('div',{staticClass:"draggable-item",attrs:{"href":"javascript:void(0)","index":item.type + i,"type":item.type,"filter":item.filter,"title":item.desc},on:{"click":_vm.conectLine}},[_c('div',{staticClass:"inner"},[_c('svg-icon',{attrs:{"iconName":item.ico}}),_c('span',{staticClass:"text"},[_vm._v(_vm._s(item.title))])],1)])])}),1)}
|
|
160039
|
+
var toolvue_type_template_id_3e497da8_staticRenderFns = []
|
|
160038
160040
|
|
|
160039
160041
|
|
|
160040
160042
|
// EXTERNAL MODULE: ./node_modules/_vuedraggable@2.24.3@vuedraggable/dist/vuedraggable.umd.js
|
|
@@ -160230,6 +160232,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
160230
160232
|
},
|
|
160231
160233
|
// 添加节点
|
|
160232
160234
|
addNode(evt, e) {
|
|
160235
|
+
if (this.$route.query && this.$route.query.nodeId) return this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
160233
160236
|
let nodeMenu = this.getMenu(evt.originalEvent.srcElement.getAttribute("filter"));
|
|
160234
160237
|
if (nodeMenu) {
|
|
160235
160238
|
this.$emit("addNode", evt, nodeMenu);
|
|
@@ -160239,10 +160242,10 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
160239
160242
|
});
|
|
160240
160243
|
;// CONCATENATED MODULE: ./src/flow/tool.vue?vue&type=script&lang=js&
|
|
160241
160244
|
/* harmony default export */ const flow_toolvue_type_script_lang_js_ = (toolvue_type_script_lang_js_);
|
|
160242
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/tool.vue?vue&type=style&index=0&id=
|
|
160245
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/tool.vue?vue&type=style&index=0&id=3e497da8&prod&lang=scss&
|
|
160243
160246
|
// extracted by mini-css-extract-plugin
|
|
160244
160247
|
|
|
160245
|
-
;// CONCATENATED MODULE: ./src/flow/tool.vue?vue&type=style&index=0&id=
|
|
160248
|
+
;// CONCATENATED MODULE: ./src/flow/tool.vue?vue&type=style&index=0&id=3e497da8&prod&lang=scss&
|
|
160246
160249
|
|
|
160247
160250
|
;// CONCATENATED MODULE: ./src/flow/tool.vue
|
|
160248
160251
|
|
|
@@ -160255,8 +160258,8 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
160255
160258
|
|
|
160256
160259
|
var tool_component = (0,componentNormalizer/* default */.Z)(
|
|
160257
160260
|
flow_toolvue_type_script_lang_js_,
|
|
160258
|
-
|
|
160259
|
-
|
|
160261
|
+
toolvue_type_template_id_3e497da8_render,
|
|
160262
|
+
toolvue_type_template_id_3e497da8_staticRenderFns,
|
|
160260
160263
|
false,
|
|
160261
160264
|
null,
|
|
160262
160265
|
null,
|
|
@@ -167399,50 +167402,50 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
167399
167402
|
_this.loadEasyFlow();
|
|
167400
167403
|
|
|
167401
167404
|
// 单点击了连接线,
|
|
167402
|
-
_this.jsPlumb.bind("click", function (conn, originalEvent) {
|
|
167405
|
+
_this.jsPlumb.bind("click", async function (conn, originalEvent) {
|
|
167403
167406
|
// console.log("click", conn);
|
|
167407
|
+
let cuttentLineIndex = _this.data.lineList.findIndex((obj, objIndex, objs) => obj.from == conn.sourceId && obj.to == conn.targetId);
|
|
167408
|
+
const currLine = _this.data.lineList[cuttentLineIndex];
|
|
167409
|
+
debugger;
|
|
167410
|
+
if (_this.$route.query && _this.$route.query.nodeId && currLine.from !== _this.$route.query.nodeId) {
|
|
167411
|
+
return _this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
167412
|
+
}
|
|
167404
167413
|
_this.flowPanelVisible = false;
|
|
167405
167414
|
_this.siderPanelVisible = false;
|
|
167406
167415
|
_this.dataConditionPanelVisible = false;
|
|
167407
167416
|
_this.copyDesignVisible = false;
|
|
167408
167417
|
_this.userDesignVisible = false;
|
|
167409
167418
|
_this.linePanelVisible = true;
|
|
167410
|
-
|
|
167411
|
-
_this.$
|
|
167412
|
-
|
|
167413
|
-
|
|
167414
|
-
if (
|
|
167415
|
-
|
|
167416
|
-
|
|
167417
|
-
|
|
167418
|
-
|
|
167419
|
-
|
|
167420
|
-
|
|
167421
|
-
|
|
167422
|
-
|
|
167423
|
-
|
|
167424
|
-
|
|
167425
|
-
|
|
167426
|
-
|
|
167427
|
-
|
|
167428
|
-
|
|
167429
|
-
|
|
167430
|
-
value: ''
|
|
167431
|
-
},
|
|
167432
|
-
OperationTypewidth: '82px',
|
|
167433
|
-
visibleChildren: false
|
|
167434
|
-
}]
|
|
167435
|
-
});
|
|
167436
|
-
if (item.id === currLine.from) {
|
|
167437
|
-
if (currLine.condition.from === item.id) currLine.condition.fromTitle = item.info.title;
|
|
167438
|
-
}
|
|
167439
|
-
if (item.id === currLine.to) {
|
|
167440
|
-
if (currLine.condition.to === item.id) currLine.condition.toTitle = item.info.title;
|
|
167441
|
-
}
|
|
167442
|
-
if (currLine.condition && currLine.condition.conditionList && currLine.condition.conditionList.length > 0) {}
|
|
167419
|
+
await _this.$nextTick();
|
|
167420
|
+
_this.$refs.linePanel.init(_this.data.lineList[cuttentLineIndex]);
|
|
167421
|
+
_this.data.nodeList.forEach(item => {
|
|
167422
|
+
debugger;
|
|
167423
|
+
if (!currLine.condition) this.$set(_this.data.lineList[cuttentLineIndex], 'condition', {
|
|
167424
|
+
to: currLine.to,
|
|
167425
|
+
from: currLine.from,
|
|
167426
|
+
condition: "",
|
|
167427
|
+
circulationConditions: '0',
|
|
167428
|
+
conditionType: '0',
|
|
167429
|
+
conditionList: [{
|
|
167430
|
+
dictName: undefined,
|
|
167431
|
+
operationType: '1',
|
|
167432
|
+
conditionContent: {
|
|
167433
|
+
options: {},
|
|
167434
|
+
value: ''
|
|
167435
|
+
},
|
|
167436
|
+
OperationTypewidth: '82px',
|
|
167437
|
+
visibleChildren: false
|
|
167438
|
+
}]
|
|
167443
167439
|
});
|
|
167444
|
-
|
|
167440
|
+
if (item.id === currLine.from) {
|
|
167441
|
+
if (currLine.condition.from === item.id) currLine.condition.fromTitle = item.info.title;
|
|
167442
|
+
}
|
|
167443
|
+
if (item.id === currLine.to) {
|
|
167444
|
+
if (currLine.condition.to === item.id) currLine.condition.toTitle = item.info.title;
|
|
167445
|
+
}
|
|
167446
|
+
if (currLine.condition && currLine.condition.conditionList && currLine.condition.conditionList.length > 0) {}
|
|
167445
167447
|
});
|
|
167448
|
+
_this.$refs.linePanel.init(currLine);
|
|
167446
167449
|
});
|
|
167447
167450
|
|
|
167448
167451
|
// 双击连线
|
|
@@ -167535,6 +167538,10 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
167535
167538
|
// contextmenu
|
|
167536
167539
|
_this.jsPlumb.bind("contextmenu", function (conn, evt) {
|
|
167537
167540
|
// console.log("contextmenu", evt);
|
|
167541
|
+
if (_this.$route.query && _this.$route.query.nodeId) {
|
|
167542
|
+
evt.preventDefault();
|
|
167543
|
+
return _this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
167544
|
+
}
|
|
167538
167545
|
_this.lineToolVisible = true;
|
|
167539
167546
|
_this.$nextTick(function () {
|
|
167540
167547
|
_this.$refs.lineTool.style.left = evt.clientX - 65 + "px";
|
|
@@ -167625,17 +167632,19 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
167625
167632
|
// containment: 'parent',
|
|
167626
167633
|
// grid: [10, 10]
|
|
167627
167634
|
// })
|
|
167635
|
+
// 调试模式禁止拖拽节点
|
|
167636
|
+
if (!this.$route.query.nodeId) {
|
|
167637
|
+
this.jsPlumb.draggable(node.id, {
|
|
167638
|
+
containment: "flowContainer",
|
|
167639
|
+
start: () => {
|
|
167640
|
+
this.jsPlumb.destroyDraggable("flowContainer"); // 销毁拖拽
|
|
167641
|
+
},
|
|
167628
167642
|
|
|
167629
|
-
|
|
167630
|
-
|
|
167631
|
-
|
|
167632
|
-
|
|
167633
|
-
|
|
167634
|
-
|
|
167635
|
-
stop: () => {
|
|
167636
|
-
this.dragContent();
|
|
167637
|
-
}
|
|
167638
|
-
});
|
|
167643
|
+
stop: () => {
|
|
167644
|
+
this.dragContent();
|
|
167645
|
+
}
|
|
167646
|
+
});
|
|
167647
|
+
}
|
|
167639
167648
|
}
|
|
167640
167649
|
|
|
167641
167650
|
// 初始化连线
|
|
@@ -167670,6 +167679,7 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
167670
167679
|
},
|
|
167671
167680
|
// 是否显示面板
|
|
167672
167681
|
async isPanelShow(arg, flag, obj) {
|
|
167682
|
+
if (this.$route.query && this.$route.query.nodeId) return this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
167673
167683
|
if (arg == "nodePanel") {
|
|
167674
167684
|
this.linePanelVisible = false;
|
|
167675
167685
|
this.dataConditionPanelVisible = false;
|
|
@@ -167963,6 +167973,7 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
167963
167973
|
|
|
167964
167974
|
//点击节点
|
|
167965
167975
|
clickNode(nodeId) {
|
|
167976
|
+
if (this.$route.query && this.$route.query.nodeId) return this.$message.warning('当前调试模式,只允许修改异常节点的连线!');
|
|
167966
167977
|
let _this = this;
|
|
167967
167978
|
this.flowPanelVisible = false;
|
|
167968
167979
|
this.linePanelVisible = false;
|
|
@@ -168239,6 +168250,10 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
168239
168250
|
scriptManageId: node.info.scriptManageId
|
|
168240
168251
|
});
|
|
168241
168252
|
});
|
|
168253
|
+
//调试模式添加参数
|
|
168254
|
+
if (this.$route.query.nodeId) {
|
|
168255
|
+
this.data.modifyNodeId = this.$route.query.nodeId;
|
|
168256
|
+
}
|
|
168242
168257
|
// this.isPanelShow('linePanel')
|
|
168243
168258
|
FlowWorkAdd(this.data).then(res => {
|
|
168244
168259
|
if (res.code == 200) {
|
|
@@ -168324,15 +168339,15 @@ var userDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
168324
168339
|
});
|
|
168325
168340
|
;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=script&lang=js&
|
|
168326
168341
|
/* harmony default export */ const src_flow_panelvue_type_script_lang_js_ = (panelvue_type_script_lang_js_);
|
|
168327
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=
|
|
168342
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=1f110ae7&prod&lang=less&scoped=true&
|
|
168328
168343
|
// extracted by mini-css-extract-plugin
|
|
168329
168344
|
|
|
168330
|
-
;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=0&id=
|
|
168345
|
+
;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=0&id=1f110ae7&prod&lang=less&scoped=true&
|
|
168331
168346
|
|
|
168332
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=
|
|
168347
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=1f110ae7&prod&lang=less&scoped=true&
|
|
168333
168348
|
// extracted by mini-css-extract-plugin
|
|
168334
168349
|
|
|
168335
|
-
;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=1&id=
|
|
168350
|
+
;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=1&id=1f110ae7&prod&lang=less&scoped=true&
|
|
168336
168351
|
|
|
168337
168352
|
;// CONCATENATED MODULE: ./src/flow/panel.vue
|
|
168338
168353
|
|
|
@@ -168350,7 +168365,7 @@ var panel_component = (0,componentNormalizer/* default */.Z)(
|
|
|
168350
168365
|
staticRenderFns,
|
|
168351
168366
|
false,
|
|
168352
168367
|
null,
|
|
168353
|
-
"
|
|
168368
|
+
"1f110ae7",
|
|
168354
168369
|
null
|
|
168355
168370
|
|
|
168356
168371
|
)
|