@zscreate/form-component 1.1.569 → 1.1.571
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 +62 -62
- package/dist/form-component.umd.js +128 -47
- package/package.json +1 -1
- package/readme.md +6 -1
package/dist/form-component.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
[data-v-
|
|
15
|
+
[data-v-0982534e] .ant-table-header-column > div {
|
|
16
16
|
overflow: inherit !important;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -345,16 +345,16 @@ ul li[data-v-c8780a30] {
|
|
|
345
345
|
z-index: 101;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
ul[data-v-
|
|
349
|
-
li[data-v-
|
|
350
|
-
dl[data-v-
|
|
351
|
-
dt[data-v-
|
|
352
|
-
dd[data-v-
|
|
348
|
+
ul[data-v-f7c20cf8],
|
|
349
|
+
li[data-v-f7c20cf8],
|
|
350
|
+
dl[data-v-f7c20cf8],
|
|
351
|
+
dt[data-v-f7c20cf8],
|
|
352
|
+
dd[data-v-f7c20cf8] {
|
|
353
353
|
list-style-type: none;
|
|
354
354
|
padding: 0;
|
|
355
355
|
margin: 0;
|
|
356
356
|
}
|
|
357
|
-
.flowwork-warp[data-v-
|
|
357
|
+
.flowwork-warp[data-v-f7c20cf8] {
|
|
358
358
|
position: absolute;
|
|
359
359
|
left: 0;
|
|
360
360
|
right: 0;
|
|
@@ -362,7 +362,7 @@ dd[data-v-3fa458e1] {
|
|
|
362
362
|
bottom: 64px;
|
|
363
363
|
background: #fff;
|
|
364
364
|
}
|
|
365
|
-
.g1_workflow_warp[data-v-
|
|
365
|
+
.g1_workflow_warp[data-v-f7c20cf8] {
|
|
366
366
|
border: 1px solid #dfdfdf;
|
|
367
367
|
margin: auto;
|
|
368
368
|
position: absolute;
|
|
@@ -371,12 +371,12 @@ dd[data-v-3fa458e1] {
|
|
|
371
371
|
bottom: 0;
|
|
372
372
|
top: 0;
|
|
373
373
|
}
|
|
374
|
-
.g1_workflow_warp li[data-v-
|
|
374
|
+
.g1_workflow_warp li[data-v-f7c20cf8] {
|
|
375
375
|
width: 100%;
|
|
376
376
|
position: relative;
|
|
377
377
|
text-align: center;
|
|
378
378
|
}
|
|
379
|
-
.g1-sider_tool1[data-v-
|
|
379
|
+
.g1-sider_tool1[data-v-f7c20cf8] {
|
|
380
380
|
width: 100px;
|
|
381
381
|
position: absolute;
|
|
382
382
|
left: 0;
|
|
@@ -385,37 +385,37 @@ dd[data-v-3fa458e1] {
|
|
|
385
385
|
border-right: 1px solid #dfdfdf;
|
|
386
386
|
overflow-y: auto;
|
|
387
387
|
}
|
|
388
|
-
.g1-sider_tool1 .tool_box[data-v-
|
|
388
|
+
.g1-sider_tool1 .tool_box[data-v-f7c20cf8] {
|
|
389
389
|
margin-top: 15px;
|
|
390
390
|
}
|
|
391
|
-
.g1-sider_tool1 .tool_box .tool[data-v-
|
|
391
|
+
.g1-sider_tool1 .tool_box .tool[data-v-f7c20cf8] {
|
|
392
392
|
text-align: center;
|
|
393
393
|
font-size: 12px;
|
|
394
394
|
color: #fff;
|
|
395
395
|
}
|
|
396
396
|
/* 公用图形 */
|
|
397
|
-
.end[data-v-
|
|
397
|
+
.end[data-v-f7c20cf8] {
|
|
398
398
|
border-radius: 100%;
|
|
399
399
|
}
|
|
400
|
-
.comm[data-v-
|
|
400
|
+
.comm[data-v-f7c20cf8] {
|
|
401
401
|
border-radius: 0px;
|
|
402
402
|
}
|
|
403
|
-
.gate[data-v-
|
|
403
|
+
.gate[data-v-f7c20cf8] {
|
|
404
404
|
width: 60px;
|
|
405
405
|
border-radius: 0;
|
|
406
406
|
}
|
|
407
|
-
.gate .inner[data-v-
|
|
407
|
+
.gate .inner[data-v-f7c20cf8] {
|
|
408
408
|
display: inline-block;
|
|
409
409
|
font-size: 16px;
|
|
410
410
|
}
|
|
411
|
-
.g1-form_main1[data-v-
|
|
411
|
+
.g1-form_main1[data-v-f7c20cf8] {
|
|
412
412
|
position: absolute;
|
|
413
413
|
left: 100px;
|
|
414
414
|
right: 0;
|
|
415
415
|
top: 0;
|
|
416
416
|
bottom: 0;
|
|
417
417
|
}
|
|
418
|
-
.g1-form_main1 .head[data-v-
|
|
418
|
+
.g1-form_main1 .head[data-v-f7c20cf8] {
|
|
419
419
|
height: 46px;
|
|
420
420
|
line-height: 46px;
|
|
421
421
|
text-align: left;
|
|
@@ -423,11 +423,11 @@ dd[data-v-3fa458e1] {
|
|
|
423
423
|
box-sizing: border-box;
|
|
424
424
|
border-bottom: 1px solid #d8d8d8;
|
|
425
425
|
}
|
|
426
|
-
.g1-form_main1 .head .ant-btn[data-v-
|
|
426
|
+
.g1-form_main1 .head .ant-btn[data-v-f7c20cf8] {
|
|
427
427
|
height: 32px;
|
|
428
428
|
margin-right: 10px;
|
|
429
429
|
}
|
|
430
|
-
.g1-form_main1 .main[data-v-
|
|
430
|
+
.g1-form_main1 .main[data-v-f7c20cf8] {
|
|
431
431
|
position: absolute;
|
|
432
432
|
left: 0 !important;
|
|
433
433
|
right: 0px;
|
|
@@ -436,12 +436,12 @@ dd[data-v-3fa458e1] {
|
|
|
436
436
|
overflow: auto;
|
|
437
437
|
box-sizing: border-box;
|
|
438
438
|
}
|
|
439
|
-
.g1-form_main1 .main #flowContainer[data-v-
|
|
439
|
+
.g1-form_main1 .main #flowContainer[data-v-f7c20cf8] {
|
|
440
440
|
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%);
|
|
441
441
|
background-size: 10px 10px;
|
|
442
442
|
background-color: #fbfbfb;
|
|
443
443
|
}
|
|
444
|
-
.g1-form_main1 .sider-pannel[data-v-
|
|
444
|
+
.g1-form_main1 .sider-pannel[data-v-f7c20cf8] {
|
|
445
445
|
width: 250px;
|
|
446
446
|
padding: 0 15px;
|
|
447
447
|
position: absolute;
|
|
@@ -452,7 +452,7 @@ dd[data-v-3fa458e1] {
|
|
|
452
452
|
background-color: #fff;
|
|
453
453
|
z-index: 101;
|
|
454
454
|
}
|
|
455
|
-
.g1-form_main1 .sider-pannel .sider-panel-inner[data-v-
|
|
455
|
+
.g1-form_main1 .sider-pannel .sider-panel-inner[data-v-f7c20cf8] {
|
|
456
456
|
width: 100%;
|
|
457
457
|
height: 100%;
|
|
458
458
|
padding: 15px;
|
|
@@ -463,7 +463,7 @@ dd[data-v-3fa458e1] {
|
|
|
463
463
|
top: 0;
|
|
464
464
|
overflow-y: auto;
|
|
465
465
|
}
|
|
466
|
-
.g1-form_main1 .sider-pannel .sider-open[data-v-
|
|
466
|
+
.g1-form_main1 .sider-pannel .sider-open[data-v-f7c20cf8] {
|
|
467
467
|
width: 36px;
|
|
468
468
|
height: 60px;
|
|
469
469
|
line-height: 60px;
|
|
@@ -479,14 +479,14 @@ dd[data-v-3fa458e1] {
|
|
|
479
479
|
background-color: #fff;
|
|
480
480
|
}
|
|
481
481
|
/* 视图图形 */
|
|
482
|
-
.flow-view[data-v-
|
|
482
|
+
.flow-view[data-v-f7c20cf8] {
|
|
483
483
|
position: absolute;
|
|
484
484
|
left: 0;
|
|
485
485
|
right: 0;
|
|
486
486
|
top: 0;
|
|
487
487
|
bottom: 0;
|
|
488
488
|
}
|
|
489
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
489
|
+
.flow-view .inner .flow-node-drag[data-v-f7c20cf8] {
|
|
490
490
|
width: 12px;
|
|
491
491
|
height: 12px;
|
|
492
492
|
display: block;
|
|
@@ -497,27 +497,27 @@ dd[data-v-3fa458e1] {
|
|
|
497
497
|
cursor: crosshair;
|
|
498
498
|
background: rgba(24, 144, 255, 0.6);
|
|
499
499
|
}
|
|
500
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
500
|
+
.flow-view .inner .flow-node-drag[data-v-f7c20cf8]:nth-child(1) {
|
|
501
501
|
left: -6px;
|
|
502
502
|
top: 0;
|
|
503
503
|
bottom: 0;
|
|
504
504
|
}
|
|
505
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
505
|
+
.flow-view .inner .flow-node-drag[data-v-f7c20cf8]:nth-child(2) {
|
|
506
506
|
top: -6px;
|
|
507
507
|
left: 0;
|
|
508
508
|
right: 0;
|
|
509
509
|
}
|
|
510
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
510
|
+
.flow-view .inner .flow-node-drag[data-v-f7c20cf8]:nth-child(3) {
|
|
511
511
|
right: -6px;
|
|
512
512
|
top: 0;
|
|
513
513
|
bottom: 0;
|
|
514
514
|
}
|
|
515
|
-
.flow-view .inner .flow-node-drag[data-v-
|
|
515
|
+
.flow-view .inner .flow-node-drag[data-v-f7c20cf8]:nth-child(4) {
|
|
516
516
|
bottom: -6px;
|
|
517
517
|
left: 0;
|
|
518
518
|
right: 0;
|
|
519
519
|
}
|
|
520
|
-
.flow-view .tool[data-v-
|
|
520
|
+
.flow-view .tool[data-v-f7c20cf8] {
|
|
521
521
|
width: 100%;
|
|
522
522
|
height: 100%;
|
|
523
523
|
margin: 0;
|
|
@@ -525,14 +525,14 @@ dd[data-v-3fa458e1] {
|
|
|
525
525
|
box-shadow: 5px 5px 3px #d4d0d0;
|
|
526
526
|
background: #fbfbfb;
|
|
527
527
|
}
|
|
528
|
-
.flow-view .tool .iconfont[data-v-
|
|
528
|
+
.flow-view .tool .iconfont[data-v-f7c20cf8] {
|
|
529
529
|
font-size: 100%;
|
|
530
530
|
color: #858587;
|
|
531
531
|
}
|
|
532
|
-
.flow-view .exclude_gateway[data-v-
|
|
532
|
+
.flow-view .exclude_gateway[data-v-f7c20cf8] {
|
|
533
533
|
box-shadow: 0 0 0 #ccc;
|
|
534
534
|
}
|
|
535
|
-
.flow-view .gate[data-v-
|
|
535
|
+
.flow-view .gate[data-v-f7c20cf8] {
|
|
536
536
|
line-height: 50px;
|
|
537
537
|
position: absolute;
|
|
538
538
|
left: 0;
|
|
@@ -540,9 +540,9 @@ dd[data-v-3fa458e1] {
|
|
|
540
540
|
top: 0;
|
|
541
541
|
bottom: 0;
|
|
542
542
|
}
|
|
543
|
-
.flow-view .ordinary_gateway[data-v-
|
|
544
|
-
.flow-view .parall_gateway[data-v-
|
|
545
|
-
.flow-view .exclude_gateway[data-v-
|
|
543
|
+
.flow-view .ordinary_gateway[data-v-f7c20cf8],
|
|
544
|
+
.flow-view .parall_gateway[data-v-f7c20cf8],
|
|
545
|
+
.flow-view .exclude_gateway[data-v-f7c20cf8] {
|
|
546
546
|
border: none;
|
|
547
547
|
border-radius: 0;
|
|
548
548
|
background-size: cover;
|
|
@@ -550,35 +550,35 @@ dd[data-v-3fa458e1] {
|
|
|
550
550
|
background-position: center center;
|
|
551
551
|
box-shadow: 0 0 0 #ccc;
|
|
552
552
|
}
|
|
553
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
554
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
555
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
553
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(1),
|
|
554
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(1),
|
|
555
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(1) {
|
|
556
556
|
left: 0;
|
|
557
557
|
top: 0;
|
|
558
558
|
bottom: 0;
|
|
559
559
|
}
|
|
560
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
561
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
562
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
560
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(2),
|
|
561
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(2),
|
|
562
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(2) {
|
|
563
563
|
top: 0;
|
|
564
564
|
left: 0;
|
|
565
565
|
right: 0;
|
|
566
566
|
}
|
|
567
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
568
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
569
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
567
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(3),
|
|
568
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(3),
|
|
569
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(3) {
|
|
570
570
|
right: 0;
|
|
571
571
|
top: 0;
|
|
572
572
|
bottom: 0;
|
|
573
573
|
}
|
|
574
|
-
.flow-view .ordinary_gateway .flow-node-drag[data-v-
|
|
575
|
-
.flow-view .parall_gateway .flow-node-drag[data-v-
|
|
576
|
-
.flow-view .exclude_gateway .flow-node-drag[data-v-
|
|
574
|
+
.flow-view .ordinary_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(4),
|
|
575
|
+
.flow-view .parall_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(4),
|
|
576
|
+
.flow-view .exclude_gateway .flow-node-drag[data-v-f7c20cf8]:nth-child(4) {
|
|
577
577
|
bottom: 0;
|
|
578
578
|
left: 0;
|
|
579
579
|
right: 0;
|
|
580
580
|
}
|
|
581
|
-
.flow-view .exclude_gateway[data-v-
|
|
581
|
+
.flow-view .exclude_gateway[data-v-f7c20cf8] {
|
|
582
582
|
width: 70%;
|
|
583
583
|
height: 70%;
|
|
584
584
|
margin: 15%;
|
|
@@ -587,7 +587,7 @@ dd[data-v-3fa458e1] {
|
|
|
587
587
|
transform: rotate(45deg);
|
|
588
588
|
position: relative;
|
|
589
589
|
}
|
|
590
|
-
.flow-view .exclude_gateway[data-v-
|
|
590
|
+
.flow-view .exclude_gateway[data-v-f7c20cf8]::before {
|
|
591
591
|
content: '';
|
|
592
592
|
width: 2px;
|
|
593
593
|
background-color: #7a7a7a;
|
|
@@ -597,7 +597,7 @@ dd[data-v-3fa458e1] {
|
|
|
597
597
|
top: calc(50% - 10px);
|
|
598
598
|
left: calc(50% - 1px);
|
|
599
599
|
}
|
|
600
|
-
.flow-view .exclude_gateway[data-v-
|
|
600
|
+
.flow-view .exclude_gateway[data-v-f7c20cf8]::after {
|
|
601
601
|
content: '';
|
|
602
602
|
width: 20px;
|
|
603
603
|
background-color: #7a7a7a;
|
|
@@ -607,7 +607,7 @@ dd[data-v-3fa458e1] {
|
|
|
607
607
|
top: calc(50% - 1px);
|
|
608
608
|
left: calc(50% - 10px);
|
|
609
609
|
}
|
|
610
|
-
.flow-view .parall_gateway[data-v-
|
|
610
|
+
.flow-view .parall_gateway[data-v-f7c20cf8] {
|
|
611
611
|
width: 70%;
|
|
612
612
|
height: 70%;
|
|
613
613
|
margin: 15%;
|
|
@@ -616,7 +616,7 @@ dd[data-v-3fa458e1] {
|
|
|
616
616
|
transform: rotate(45deg);
|
|
617
617
|
position: relative;
|
|
618
618
|
}
|
|
619
|
-
.flow-view .parall_gateway[data-v-
|
|
619
|
+
.flow-view .parall_gateway[data-v-f7c20cf8]::after {
|
|
620
620
|
content: '';
|
|
621
621
|
width: 20px;
|
|
622
622
|
background-color: #7a7a7a;
|
|
@@ -628,7 +628,7 @@ dd[data-v-3fa458e1] {
|
|
|
628
628
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
|
629
629
|
transform: rotate(45deg);
|
|
630
630
|
}
|
|
631
|
-
.flow-view .parall_gateway[data-v-
|
|
631
|
+
.flow-view .parall_gateway[data-v-f7c20cf8]::before {
|
|
632
632
|
content: '';
|
|
633
633
|
width: 2px;
|
|
634
634
|
background-color: #7a7a7a;
|
|
@@ -641,7 +641,7 @@ dd[data-v-3fa458e1] {
|
|
|
641
641
|
transform: rotate(45deg);
|
|
642
642
|
}
|
|
643
643
|
/* 线条工具 */
|
|
644
|
-
.lineTool[data-v-
|
|
644
|
+
.lineTool[data-v-f7c20cf8] {
|
|
645
645
|
width: 130px;
|
|
646
646
|
height: 26px;
|
|
647
647
|
border: 1px solid #1890ff;
|
|
@@ -649,7 +649,7 @@ dd[data-v-3fa458e1] {
|
|
|
649
649
|
background-color: #fff;
|
|
650
650
|
text-align: left;
|
|
651
651
|
}
|
|
652
|
-
.lineTool li[data-v-
|
|
652
|
+
.lineTool li[data-v-f7c20cf8] {
|
|
653
653
|
width: 30px;
|
|
654
654
|
height: 26px;
|
|
655
655
|
display: inline-block;
|
|
@@ -657,14 +657,14 @@ dd[data-v-3fa458e1] {
|
|
|
657
657
|
text-align: center;
|
|
658
658
|
color: #1890ff;
|
|
659
659
|
}
|
|
660
|
-
.tool-drag a .inner[data-v-
|
|
660
|
+
.tool-drag a .inner[data-v-f7c20cf8] {
|
|
661
661
|
color: #f00 !important;
|
|
662
662
|
}
|
|
663
|
-
.ant-layout-footer[data-v-
|
|
663
|
+
.ant-layout-footer[data-v-f7c20cf8] {
|
|
664
664
|
z-index: 10;
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
#flowContainer[data-v-
|
|
667
|
+
#flowContainer[data-v-f7c20cf8] {
|
|
668
668
|
width: 1000000px;
|
|
669
669
|
height: 1000000px;
|
|
670
670
|
position: absolute;
|
|
@@ -677,14 +677,14 @@ dd[data-v-3fa458e1] {
|
|
|
677
677
|
left: -500000px;
|
|
678
678
|
top: -500000px; */
|
|
679
679
|
}
|
|
680
|
-
.loading[data-v-
|
|
680
|
+
.loading[data-v-f7c20cf8] {
|
|
681
681
|
height: 100%;
|
|
682
682
|
width: 100%;
|
|
683
683
|
display: flex;
|
|
684
684
|
align-items: center;
|
|
685
685
|
justify-content: center;
|
|
686
686
|
}
|
|
687
|
-
[data-v-
|
|
687
|
+
[data-v-f7c20cf8] .labelClass {
|
|
688
688
|
z-index: 1;
|
|
689
689
|
background-color: #539dfa !important;
|
|
690
690
|
padding: 5px;
|
|
@@ -155361,7 +155361,7 @@ function toString(value) {
|
|
|
155361
155361
|
/***/ ((module) => {
|
|
155362
155362
|
|
|
155363
155363
|
"use strict";
|
|
155364
|
-
module.exports = {"rE":"1.1.
|
|
155364
|
+
module.exports = {"rE":"1.1.571"};
|
|
155365
155365
|
|
|
155366
155366
|
/***/ })
|
|
155367
155367
|
|
|
@@ -157306,7 +157306,7 @@ icon_Icon.install = function (Vue) {
|
|
|
157306
157306
|
};
|
|
157307
157307
|
|
|
157308
157308
|
/* harmony default export */ const icon = (icon_Icon);
|
|
157309
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=
|
|
157309
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=f7c20cf8&scoped=true
|
|
157310
157310
|
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":"101"},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()}
|
|
157311
157311
|
var staticRenderFns = []
|
|
157312
157312
|
|
|
@@ -158039,27 +158039,36 @@ var info_component = (0,componentNormalizer/* default */.A)(
|
|
|
158039
158039
|
)
|
|
158040
158040
|
|
|
158041
158041
|
/* harmony default export */ const info = (info_component.exports);
|
|
158042
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/flow-panel.vue?vue&type=template&id=
|
|
158043
|
-
var
|
|
158044
|
-
|
|
158045
|
-
|
|
158046
|
-
|
|
158047
|
-
|
|
158048
|
-
|
|
158049
|
-
|
|
158050
|
-
|
|
158051
|
-
|
|
158052
|
-
|
|
158053
|
-
|
|
158054
|
-
|
|
158055
|
-
|
|
158056
|
-
|
|
158057
|
-
|
|
158058
|
-
|
|
158059
|
-
|
|
158060
|
-
|
|
158061
|
-
|
|
158062
|
-
|
|
158042
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/flow-panel.vue?vue&type=template&id=60f26928
|
|
158043
|
+
var flow_panelvue_type_template_id_60f26928_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sider-pannel"},[_c('a',{staticClass:"sider-open",attrs:{"href":"javascript:void(0);"},on:{"click":_vm.openOrClose}},[_vm._v("关闭")]),_c('h3',{staticClass:"panel-hd"},[_vm._v("流程信息设置")]),_c('a-form',{staticClass:"panel-form",attrs:{"form":_vm.form,"model":_vm.flow},on:{"submit":_vm.handleSubmit}},[_c('a-form-item',{attrs:{"label":"流程ID:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.data.id),callback:function ($$v) {_vm.$set(_vm.data, "id", $$v)},expression:"data.id"}})],1),(!_vm.isFlowPanelMain)?_c('a-form-item',{attrs:{"label":"流程名称:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
158044
|
+
'processName',
|
|
158045
|
+
{
|
|
158046
|
+
rules: [{
|
|
158047
|
+
required: true,
|
|
158048
|
+
message: '流程名称不能为空!',
|
|
158049
|
+
trigger: 'blur'
|
|
158050
|
+
}]
|
|
158051
|
+
}
|
|
158052
|
+
]),expression:"[\n 'processName',\n {\n rules: [{\n required: true,\n message: '流程名称不能为空!',\n trigger: 'blur'\n }]\n }\n ]"}],attrs:{"placeholder":"请输入流程名称","maxLength":50}})],1):_vm._e(),_c('a-form-item',{attrs:{"label":"流程KEY:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
158053
|
+
'processKey',
|
|
158054
|
+
{
|
|
158055
|
+
rules: [{
|
|
158056
|
+
required: true,
|
|
158057
|
+
message: '流程名称不能为空!',
|
|
158058
|
+
trigger: 'blur'
|
|
158059
|
+
}]
|
|
158060
|
+
}
|
|
158061
|
+
]),expression:"[\n 'processKey',\n {\n rules: [{\n required: true,\n message: '流程名称不能为空!',\n trigger: 'blur'\n }]\n }\n ]"}],attrs:{"placeholder":"请输入流程名称","disabled":_vm.isEdit}})],1),_c('a-form-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.processTypeList.length > 0),expression:"processTypeList.length > 0"}],attrs:{"label":"流程分类:","label-col":{ span: 8 },"wrapper-col":{ span: 16 }}},[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
158062
|
+
'processType',
|
|
158063
|
+
{
|
|
158064
|
+
rules: [{
|
|
158065
|
+
required: _vm.processTypeList.length > 0,
|
|
158066
|
+
message: '流程分类不能为空!',
|
|
158067
|
+
trigger: 'blur'
|
|
158068
|
+
}]
|
|
158069
|
+
}
|
|
158070
|
+
]),expression:"[\n 'processType',\n {\n rules: [{\n required: processTypeList.length > 0,\n message: '流程分类不能为空!',\n trigger: 'blur'\n }]\n }\n ]"}],attrs:{"placeholder":"请选择流程分类"}},_vm._l((_vm.processTypeList),function(item){return _c('a-select-option',{attrs:{"value":item.value,"title":item.title}},[_vm._v(" "+_vm._s(item.title)+" ")])}),1)],1),(!_vm.isFlowPanelMain)?_c('div',{staticClass:"panel-box"},[_c('h3',{staticClass:"panel-hd"},[_vm._v("表单类型设置:")]),_c('div',{staticStyle:{"margin-top":"15px"}},[_c('a-radio-group',{attrs:{"size":"large"},model:{value:(_vm.data.nodeForm.formStatus),callback:function ($$v) {_vm.$set(_vm.data.nodeForm, "formStatus", $$v)},expression:"data.nodeForm.formStatus"}},[_c('a-radio-button',{attrs:{"value":"1"},on:{"click":_vm.handleFormChange}},[_vm._v("在线表单")]),_c('a-radio-button',{attrs:{"value":"2"},on:{"click":_vm.handleFormChange}},[_vm._v("Excel报表")])],1)],1),(_vm.data.nodeForm.formStatus === '1')?_c('div',{staticStyle:{"margin-top":"15px"}},[_c('a-input',{attrs:{"placeholder":"当前在线表单","disabled":""},model:{value:(_vm.data.nodeForm.formName),callback:function ($$v) {_vm.$set(_vm.data.nodeForm, "formName", $$v)},expression:"data.nodeForm.formName"}})],1):_c('div',{staticStyle:{"margin-top":"15px"}},[_c('a-input',{attrs:{"placeholder":"当前Excel报表","disabled":""},model:{value:(_vm.data.nodeForm.excelName),callback:function ($$v) {_vm.$set(_vm.data.nodeForm, "excelName", $$v)},expression:"data.nodeForm.excelName"}})],1)]):_vm._e()],1),_c('OnlineFormModel',{ref:"OnlineFormModel",attrs:{"nodeForm":_vm.data.nodeForm},on:{"close":_vm.closeForm}}),_c('OnlineFormModelExcel',{ref:"OnlineFormModelExcel",attrs:{"nodeForm":_vm.data.nodeForm},on:{"close":_vm.closeExcel}})],1)}
|
|
158071
|
+
var flow_panelvue_type_template_id_60f26928_staticRenderFns = []
|
|
158063
158072
|
|
|
158064
158073
|
|
|
158065
158074
|
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/modal/OnlineFormModel.vue?vue&type=template&id=5822da91
|
|
@@ -158897,6 +158906,16 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158897
158906
|
//
|
|
158898
158907
|
//
|
|
158899
158908
|
//
|
|
158909
|
+
//
|
|
158910
|
+
//
|
|
158911
|
+
//
|
|
158912
|
+
//
|
|
158913
|
+
//
|
|
158914
|
+
//
|
|
158915
|
+
//
|
|
158916
|
+
//
|
|
158917
|
+
//
|
|
158918
|
+
|
|
158900
158919
|
|
|
158901
158920
|
|
|
158902
158921
|
|
|
@@ -158907,7 +158926,8 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158907
158926
|
return {
|
|
158908
158927
|
isEdit: false,
|
|
158909
158928
|
flow: {},
|
|
158910
|
-
form: this.$form.createForm(this)
|
|
158929
|
+
form: this.$form.createForm(this),
|
|
158930
|
+
processTypeList: []
|
|
158911
158931
|
};
|
|
158912
158932
|
},
|
|
158913
158933
|
components: {
|
|
@@ -158915,12 +158935,20 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158915
158935
|
OnlineFormModelExcel: OnlineFormModelExcel
|
|
158916
158936
|
},
|
|
158917
158937
|
mounted() {
|
|
158938
|
+
(0,manage/* getAction */.Th)(`sys/dict/getDictItems/processType`).then(res => {
|
|
158939
|
+
if (res.success) {
|
|
158940
|
+
this.processTypeList = res.result;
|
|
158941
|
+
} else {
|
|
158942
|
+
this.processTypeList = [];
|
|
158943
|
+
}
|
|
158944
|
+
});
|
|
158918
158945
|
this.isEdit = true;
|
|
158919
158946
|
if (this.id) {
|
|
158920
158947
|
this.$nextTick(() => {
|
|
158921
158948
|
this.form.setFieldsValue({
|
|
158922
158949
|
processName: this.data.processName,
|
|
158923
|
-
processKey: this.data.processKey
|
|
158950
|
+
processKey: this.data.processKey,
|
|
158951
|
+
processType: this.data.processType
|
|
158924
158952
|
});
|
|
158925
158953
|
});
|
|
158926
158954
|
} else {
|
|
@@ -158956,6 +158984,11 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158956
158984
|
if (!err) {
|
|
158957
158985
|
this.data.processName = values.processName;
|
|
158958
158986
|
this.data.processKey = values.processKey;
|
|
158987
|
+
if (this.processTypeList.length > 0) {
|
|
158988
|
+
this.$set(this.data, "processType", values.processType);
|
|
158989
|
+
} else {
|
|
158990
|
+
this.$set(this.data, "processType", 'empty');
|
|
158991
|
+
}
|
|
158959
158992
|
resolve(true);
|
|
158960
158993
|
} else {
|
|
158961
158994
|
reject(false);
|
|
@@ -158967,10 +159000,10 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158967
159000
|
});
|
|
158968
159001
|
;// ./src/flow/flow-panel.vue?vue&type=script&lang=js
|
|
158969
159002
|
/* harmony default export */ const flow_flow_panelvue_type_script_lang_js = (flow_panelvue_type_script_lang_js);
|
|
158970
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/flow-panel.vue?vue&type=style&index=0&id=
|
|
159003
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/flow-panel.vue?vue&type=style&index=0&id=60f26928&prod&lang=less
|
|
158971
159004
|
// extracted by mini-css-extract-plugin
|
|
158972
159005
|
|
|
158973
|
-
;// ./src/flow/flow-panel.vue?vue&type=style&index=0&id=
|
|
159006
|
+
;// ./src/flow/flow-panel.vue?vue&type=style&index=0&id=60f26928&prod&lang=less
|
|
158974
159007
|
|
|
158975
159008
|
;// ./src/flow/flow-panel.vue
|
|
158976
159009
|
|
|
@@ -158983,8 +159016,8 @@ var OnlineFormModelExcel_component = (0,componentNormalizer/* default */.A)(
|
|
|
158983
159016
|
|
|
158984
159017
|
var flow_panel_component = (0,componentNormalizer/* default */.A)(
|
|
158985
159018
|
flow_flow_panelvue_type_script_lang_js,
|
|
158986
|
-
|
|
158987
|
-
|
|
159019
|
+
flow_panelvue_type_template_id_60f26928_render,
|
|
159020
|
+
flow_panelvue_type_template_id_60f26928_staticRenderFns,
|
|
158988
159021
|
false,
|
|
158989
159022
|
null,
|
|
158990
159023
|
null,
|
|
@@ -159006,8 +159039,8 @@ var sider_panelvue_type_template_id_e2aa4d1e_scoped_true_render = function () {v
|
|
|
159006
159039
|
var sider_panelvue_type_template_id_e2aa4d1e_scoped_true_staticRenderFns = []
|
|
159007
159040
|
|
|
159008
159041
|
|
|
159009
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/select_type.vue?vue&type=template&id=
|
|
159010
|
-
var
|
|
159042
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/select_type.vue?vue&type=template&id=0982534e&scoped=true
|
|
159043
|
+
var select_typevue_type_template_id_0982534e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":"配置人员类型","width":800,"destroyOnClose":true},on:{"ok":_vm.handleOk,"cancel":_vm.handleCancel},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('div',{staticClass:"table-page-search-wrapper"},[_c('a-form',{attrs:{"layout":"inline"}},[_c('a-row',{directives:[{name:"show",rawName:"v-show",value:(_vm.defaultKey !== 'CandidateFormUsers' && _vm.defaultKey !== 'Script' ),expression:"defaultKey !== 'CandidateFormUsers' && defaultKey !== 'Script' "}],attrs:{"gutter":24}},[(_vm.defaultKey !== 'relationMatrix')?_c('a-col',{attrs:{"md":8,"sm":12}},[_c('a-form-item',[_c('a-tree-select',{staticStyle:{"width":"240px"},attrs:{"dropdown-style":{ maxHeight: '400px', overflow: 'auto' },"placeholder":"请选择部门","tree-data":_vm.treeData,"allow-clear":""},on:{"change":_vm.treechange},model:{value:(_vm.query.depId),callback:function ($$v) {_vm.$set(_vm.query, "depId", $$v)},expression:"query.depId"}})],1)],1):_vm._e(),(_vm.defaultKey === 'relationMatrix')?[_c('a-col',{attrs:{"md":8,"sm":12}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":"请输入标签"},model:{value:(_vm.m_tagQuery.tagName),callback:function ($$v) {_vm.$set(_vm.m_tagQuery, "tagName", $$v)},expression:"m_tagQuery.tagName"}})],1)],1)]:_vm._e(),(_vm.showuser && _vm.defaultKey !== 'relationMatrix')?_c('a-col',{attrs:{"md":6,"sm":12}},[_c('a-form-item',[_c('a-select',{staticStyle:{"width":"173px"},attrs:{"placeholder":"请选择角色"},on:{"change":_vm.handleChange},model:{value:(_vm.query.roleId),callback:function ($$v) {_vm.$set(_vm.query, "roleId", $$v)},expression:"query.roleId"}},_vm._l((_vm.userlist),function(item){return _c('a-select-option',{key:item.id,attrs:{"value":item.id}},[_vm._v(" "+_vm._s(item.roleName)+" ")])}),1)],1)],1):_vm._e(),_c('a-col',{directives:[{name:"show",rawName:"v-show",value:(_vm.showname),expression:"showname"}],attrs:{"md":6,"sm":12}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":this.defaultKey == 'CandidateGroups' ? '请输入名称' : '请输入姓名'},model:{value:(_vm.query.realname),callback:function ($$v) {_vm.$set(_vm.query, "realname", $$v)},expression:"query.realname"}})],1)],1),_c('a-col',{attrs:{"md":4,"sm":8}},[_c('span',{staticClass:"table-page-search-submitButtons",staticStyle:{"float":"left","overflow":"hidden"}},[_c('a-button',{attrs:{"type":"primary","icon":"search"},on:{"click":_vm.handlesearch}},[_vm._v("查询")])],1)])],2)],1)],1),_c('a-tabs',{attrs:{"activeKey":_vm.defaultKey},on:{"change":_vm.changeTabs}},[_c('a-tab-pane',{key:"Assingee",attrs:{"tab":"个人"}},[_c('a-table',{attrs:{"rowSelection":{
|
|
159011
159044
|
type: 'radio',
|
|
159012
159045
|
selectedRowKeys: _vm.formData.assingeeValue,
|
|
159013
159046
|
onChange: _vm.onSelectPersion,
|
|
@@ -159037,7 +159070,7 @@ var select_typevue_type_template_id_fc263e5c_scoped_true_render = function () {v
|
|
|
159037
159070
|
onSelect: _vm.onSelectUsers,
|
|
159038
159071
|
onSelectAll: _vm.onSelectAll
|
|
159039
159072
|
},"columns":_vm.tagColumns,"dataSource":_vm.tagData,"pagination":_vm.tagIpagination,"size":"small","rowKey":"id"},on:{"change":_vm.handleTagDataTableChange}})],1),_c('a-tab-pane',{key:"Script",attrs:{"tab":"脚本"}},[_c('a-textarea',{attrs:{"placeholder":"请输入脚本任务","rows":4},model:{value:(_vm.formData.scriptValue),callback:function ($$v) {_vm.$set(_vm.formData, "scriptValue", $$v)},expression:"formData.scriptValue"}})],1)],1)],1)],1)}
|
|
159040
|
-
var
|
|
159073
|
+
var select_typevue_type_template_id_0982534e_scoped_true_staticRenderFns = []
|
|
159041
159074
|
|
|
159042
159075
|
|
|
159043
159076
|
// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
|
|
@@ -159528,8 +159561,32 @@ const tagColumns = [{
|
|
|
159528
159561
|
...this.params
|
|
159529
159562
|
}).then(res => {
|
|
159530
159563
|
if (res.success) {
|
|
159564
|
+
var _res$result;
|
|
159565
|
+
debugger;
|
|
159531
159566
|
console.log(this.formData, this.cacheSeletedRows, this.formDesigerData);
|
|
159532
|
-
|
|
159567
|
+
// 处理滁州学院工作台 编辑时候后端拿不到最新的已选部门组件,所以前端自己根据后端返的角色根据选择的部门组件拼在一起渲染在表单用户中
|
|
159568
|
+
// m个部门组件,n个角色,则m*n个表单用户+原有的datalist的是全部的表单用户
|
|
159569
|
+
if ((_res$result = res.result) !== null && _res$result !== void 0 && _res$result.roleList) {
|
|
159570
|
+
this.formUserData = res.result.dataList;
|
|
159571
|
+
if (res.result.roleList.length && arguments.length) {
|
|
159572
|
+
const departUserList = [];
|
|
159573
|
+
this.formDesigerData.forEach(item => {
|
|
159574
|
+
if (item.columnType === 'deptSelector') {
|
|
159575
|
+
res.result.roleList.forEach(role => {
|
|
159576
|
+
departUserList.push({
|
|
159577
|
+
id: `formDepart${item.columnCode}---${role.roleCode}`,
|
|
159578
|
+
name: `${item.columnName}${role.roleName}`,
|
|
159579
|
+
roleCode: role.roleCode,
|
|
159580
|
+
roleName: role.roleName
|
|
159581
|
+
});
|
|
159582
|
+
});
|
|
159583
|
+
}
|
|
159584
|
+
});
|
|
159585
|
+
this.formUserData = departUserList.concat(this.formUserData);
|
|
159586
|
+
}
|
|
159587
|
+
} else {
|
|
159588
|
+
this.formUserData = res.result;
|
|
159589
|
+
}
|
|
159533
159590
|
if (this.formDesigerData && this.formDesigerData.length > 0 && this.formDesigerData.some(item => item.columnType === 'userSelector' || item.columnType === 'userSelectorByRole')) {
|
|
159534
159591
|
let arr = [];
|
|
159535
159592
|
this.formDesigerData.forEach(item => {
|
|
@@ -159943,10 +160000,10 @@ const tagColumns = [{
|
|
|
159943
160000
|
});
|
|
159944
160001
|
;// ./src/flow/select_type.vue?vue&type=script&lang=js
|
|
159945
160002
|
/* harmony default export */ const flow_select_typevue_type_script_lang_js = (select_typevue_type_script_lang_js);
|
|
159946
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/select_type.vue?vue&type=style&index=0&id=
|
|
160003
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/select_type.vue?vue&type=style&index=0&id=0982534e&prod&lang=less&scoped=true
|
|
159947
160004
|
// extracted by mini-css-extract-plugin
|
|
159948
160005
|
|
|
159949
|
-
;// ./src/flow/select_type.vue?vue&type=style&index=0&id=
|
|
160006
|
+
;// ./src/flow/select_type.vue?vue&type=style&index=0&id=0982534e&prod&lang=less&scoped=true
|
|
159950
160007
|
|
|
159951
160008
|
;// ./src/flow/select_type.vue
|
|
159952
160009
|
|
|
@@ -159959,11 +160016,11 @@ const tagColumns = [{
|
|
|
159959
160016
|
|
|
159960
160017
|
var select_type_component = (0,componentNormalizer/* default */.A)(
|
|
159961
160018
|
flow_select_typevue_type_script_lang_js,
|
|
159962
|
-
|
|
159963
|
-
|
|
160019
|
+
select_typevue_type_template_id_0982534e_scoped_true_render,
|
|
160020
|
+
select_typevue_type_template_id_0982534e_scoped_true_staticRenderFns,
|
|
159964
160021
|
false,
|
|
159965
160022
|
null,
|
|
159966
|
-
"
|
|
160023
|
+
"0982534e",
|
|
159967
160024
|
null
|
|
159968
160025
|
|
|
159969
160026
|
)
|
|
@@ -165666,10 +165723,29 @@ var userDesign_component = (0,componentNormalizer/* default */.A)(
|
|
|
165666
165723
|
this.$message.warning(res.message);
|
|
165667
165724
|
return this.$emit("saveData");
|
|
165668
165725
|
}
|
|
165669
|
-
|
|
165670
|
-
|
|
165671
|
-
|
|
165672
|
-
|
|
165726
|
+
//代表复制流程(后台管理会传入字符串copyFlow)
|
|
165727
|
+
if (record === 'copyFlow') {
|
|
165728
|
+
result.id = "flow-" + Date.parse(new Date()); //重置id
|
|
165729
|
+
result.processKey = "KEY-" + new Date().getTime(); //重置流程key
|
|
165730
|
+
result.nodeForm = {
|
|
165731
|
+
//清空绑定的表单
|
|
165732
|
+
formId: "",
|
|
165733
|
+
name: '',
|
|
165734
|
+
formOnlineId: "",
|
|
165735
|
+
formName: "",
|
|
165736
|
+
excelId: '',
|
|
165737
|
+
excelName: "",
|
|
165738
|
+
formStatus: "1",
|
|
165739
|
+
formType: ""
|
|
165740
|
+
};
|
|
165741
|
+
result.processName = ''; //情况流程名称
|
|
165742
|
+
delete result.workId; //删除workId
|
|
165743
|
+
} else {
|
|
165744
|
+
result.scriptList = [{
|
|
165745
|
+
workId: result.workId,
|
|
165746
|
+
record: []
|
|
165747
|
+
}];
|
|
165748
|
+
}
|
|
165673
165749
|
result.nodeList.forEach(node => {
|
|
165674
165750
|
result.scriptList[0].record.push({
|
|
165675
165751
|
id: node.id,
|
|
@@ -166715,6 +166791,11 @@ var userDesign_component = (0,componentNormalizer/* default */.A)(
|
|
|
166715
166791
|
// 保存数据
|
|
166716
166792
|
saveData() {
|
|
166717
166793
|
if (this.isFlowPanelMain) {
|
|
166794
|
+
this.$refs.flowPanel.handleSubmit();
|
|
166795
|
+
if (!this.data.processType) {
|
|
166796
|
+
this.isPanelShow('flowPanel', true);
|
|
166797
|
+
return false;
|
|
166798
|
+
}
|
|
166718
166799
|
this.data.scriptList = [{
|
|
166719
166800
|
workId: this.data.workId || "",
|
|
166720
166801
|
record: []
|
|
@@ -166943,15 +167024,15 @@ var userDesign_component = (0,componentNormalizer/* default */.A)(
|
|
|
166943
167024
|
});
|
|
166944
167025
|
;// ./src/flow/panel.vue?vue&type=script&lang=js
|
|
166945
167026
|
/* harmony default export */ const src_flow_panelvue_type_script_lang_js = (panelvue_type_script_lang_js);
|
|
166946
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=
|
|
167027
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=f7c20cf8&prod&lang=less&scoped=true
|
|
166947
167028
|
// extracted by mini-css-extract-plugin
|
|
166948
167029
|
|
|
166949
|
-
;// ./src/flow/panel.vue?vue&type=style&index=0&id=
|
|
167030
|
+
;// ./src/flow/panel.vue?vue&type=style&index=0&id=f7c20cf8&prod&lang=less&scoped=true
|
|
166950
167031
|
|
|
166951
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=
|
|
167032
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=f7c20cf8&prod&lang=less&scoped=true
|
|
166952
167033
|
// extracted by mini-css-extract-plugin
|
|
166953
167034
|
|
|
166954
|
-
;// ./src/flow/panel.vue?vue&type=style&index=1&id=
|
|
167035
|
+
;// ./src/flow/panel.vue?vue&type=style&index=1&id=f7c20cf8&prod&lang=less&scoped=true
|
|
166955
167036
|
|
|
166956
167037
|
;// ./src/flow/panel.vue
|
|
166957
167038
|
|
|
@@ -166969,7 +167050,7 @@ var panel_component = (0,componentNormalizer/* default */.A)(
|
|
|
166969
167050
|
staticRenderFns,
|
|
166970
167051
|
false,
|
|
166971
167052
|
null,
|
|
166972
|
-
"
|
|
167053
|
+
"f7c20cf8",
|
|
166973
167054
|
null
|
|
166974
167055
|
|
|
166975
167056
|
)
|
package/package.json
CHANGED