@zscreate/form-component 1.1.311 → 1.1.313
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 +74 -33
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -3459,46 +3459,46 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3459
3459
|
align-items: center;
|
|
3460
3460
|
}
|
|
3461
3461
|
|
|
3462
|
-
.t-border[data-v-
|
|
3462
|
+
.t-border[data-v-0c12552e] {
|
|
3463
3463
|
border-right: 1px solid #333;
|
|
3464
3464
|
border-bottom: 1px solid #333;
|
|
3465
3465
|
}
|
|
3466
|
-
[data-v-
|
|
3466
|
+
[data-v-0c12552e] * {
|
|
3467
3467
|
font-size: var(--paperFontSize);
|
|
3468
3468
|
}
|
|
3469
|
-
[data-v-
|
|
3469
|
+
[data-v-0c12552e] .custom_form_item {
|
|
3470
3470
|
height: -moz-fit-content;
|
|
3471
3471
|
height: fit-content;
|
|
3472
3472
|
}
|
|
3473
|
-
.save-pdf[data-v-
|
|
3473
|
+
.save-pdf[data-v-0c12552e] .ant-input {
|
|
3474
3474
|
border: none !important;
|
|
3475
3475
|
}
|
|
3476
|
-
.save-pdf[data-v-
|
|
3476
|
+
.save-pdf[data-v-0c12552e] .ant-select-selection {
|
|
3477
3477
|
border: none !important;
|
|
3478
3478
|
}
|
|
3479
|
-
.save-pdf[data-v-
|
|
3479
|
+
.save-pdf[data-v-0c12552e] .ant-select-arrow svg {
|
|
3480
3480
|
display: none;
|
|
3481
3481
|
}
|
|
3482
|
-
.save-pdf[data-v-
|
|
3482
|
+
.save-pdf[data-v-0c12552e] .ant-upload.ant-upload-select-picture-card {
|
|
3483
3483
|
display: none;
|
|
3484
3484
|
}
|
|
3485
|
-
.save-pdf[data-v-
|
|
3485
|
+
.save-pdf[data-v-0c12552e] .anticon svg {
|
|
3486
3486
|
display: none;
|
|
3487
3487
|
}
|
|
3488
|
-
.save-pdf[data-v-
|
|
3488
|
+
.save-pdf[data-v-0c12552e] .ant-time-picker-input {
|
|
3489
3489
|
border: none !important;
|
|
3490
3490
|
}
|
|
3491
|
-
.save-pdf[data-v-
|
|
3491
|
+
.save-pdf[data-v-0c12552e] .ant-upload.ant-upload-select {
|
|
3492
3492
|
display: none;
|
|
3493
3493
|
}
|
|
3494
3494
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3495
|
-
.computed-wrap[data-v-
|
|
3495
|
+
.computed-wrap[data-v-0c12552e] {
|
|
3496
3496
|
background: #f5f5f5;
|
|
3497
3497
|
}
|
|
3498
|
-
.computed-wrap .item[data-v-
|
|
3498
|
+
.computed-wrap .item[data-v-0c12552e] {
|
|
3499
3499
|
display: flex;
|
|
3500
3500
|
}
|
|
3501
|
-
.computed-wrap .item > div[data-v-
|
|
3501
|
+
.computed-wrap .item > div[data-v-0c12552e] {
|
|
3502
3502
|
height: 35px;
|
|
3503
3503
|
line-height: 35px;
|
|
3504
3504
|
flex: 1;
|
|
@@ -3506,129 +3506,129 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3506
3506
|
border-bottom: 1px solid #000;
|
|
3507
3507
|
text-align: center;
|
|
3508
3508
|
}
|
|
3509
|
-
.computed-wrap .item > div + div[data-v-
|
|
3509
|
+
.computed-wrap .item > div + div[data-v-0c12552e] {
|
|
3510
3510
|
flex: 2;
|
|
3511
3511
|
}
|
|
3512
|
-
.layout .paper[data-v-
|
|
3512
|
+
.layout .paper[data-v-0c12552e] {
|
|
3513
3513
|
position: relative;
|
|
3514
3514
|
}
|
|
3515
|
-
.layout .paper .form-title[data-v-
|
|
3515
|
+
.layout .paper .form-title[data-v-0c12552e] {
|
|
3516
3516
|
text-align: center;
|
|
3517
3517
|
font-weight: 600;
|
|
3518
3518
|
font-size: 16px;
|
|
3519
3519
|
height: 40px;
|
|
3520
3520
|
}
|
|
3521
|
-
.row-item[data-v-
|
|
3521
|
+
.row-item[data-v-0c12552e] {
|
|
3522
3522
|
height: -moz-fit-content;
|
|
3523
3523
|
height: fit-content;
|
|
3524
3524
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3525
3525
|
}
|
|
3526
|
-
.no-row-item[data-v-
|
|
3526
|
+
.no-row-item[data-v-0c12552e] {
|
|
3527
3527
|
border-right: none;
|
|
3528
3528
|
border-bottom: none;
|
|
3529
3529
|
}
|
|
3530
3530
|
/****page边框内的 ***/
|
|
3531
|
-
.page-border[data-v-
|
|
3531
|
+
.page-border[data-v-0c12552e] {
|
|
3532
3532
|
background: #fff;
|
|
3533
3533
|
box-sizing: border-box;
|
|
3534
3534
|
}
|
|
3535
|
-
.page-border .row-item[data-v-
|
|
3535
|
+
.page-border .row-item[data-v-0c12552e]:first-child {
|
|
3536
3536
|
border-top: 1px solid #000;
|
|
3537
3537
|
}
|
|
3538
|
-
.page-border .row-item[data-v-
|
|
3538
|
+
.page-border .row-item[data-v-0c12552e] {
|
|
3539
3539
|
border-left: 1px solid #000;
|
|
3540
3540
|
}
|
|
3541
|
-
.page-border .item-bottom[data-v-
|
|
3541
|
+
.page-border .item-bottom[data-v-0c12552e] {
|
|
3542
3542
|
border-bottom: 1px solid #000;
|
|
3543
3543
|
}
|
|
3544
|
-
.page-border .row-item[data-v-
|
|
3544
|
+
.page-border .row-item[data-v-0c12552e]:not(:last-child) {
|
|
3545
3545
|
position: relative;
|
|
3546
3546
|
}
|
|
3547
|
-
.page-border li.sortable-chosen[data-v-
|
|
3547
|
+
.page-border li.sortable-chosen[data-v-0c12552e] {
|
|
3548
3548
|
height: 2px !important;
|
|
3549
3549
|
overflow: hidden !important;
|
|
3550
3550
|
background: red !important;
|
|
3551
3551
|
}
|
|
3552
|
-
.page-border .ant-time-picker-panel[data-v-
|
|
3552
|
+
.page-border .ant-time-picker-panel[data-v-0c12552e] {
|
|
3553
3553
|
z-index: 200000 !important;
|
|
3554
3554
|
}
|
|
3555
|
-
.page-border .ant-calendar-picker-container[data-v-
|
|
3555
|
+
.page-border .ant-calendar-picker-container[data-v-0c12552e] {
|
|
3556
3556
|
z-index: 200000 !important;
|
|
3557
3557
|
}
|
|
3558
|
-
[data-v-
|
|
3558
|
+
[data-v-0c12552e] .ant-time-picker-panel {
|
|
3559
3559
|
z-index: 9999 !important;
|
|
3560
3560
|
}
|
|
3561
|
-
.ant-calendar-picker-container[data-v-
|
|
3561
|
+
.ant-calendar-picker-container[data-v-0c12552e] {
|
|
3562
3562
|
z-index: 200000 !important;
|
|
3563
3563
|
}
|
|
3564
|
-
[data-v-
|
|
3564
|
+
[data-v-0c12552e] .ant-form-item-children {
|
|
3565
3565
|
display: block;
|
|
3566
3566
|
}
|
|
3567
|
-
[data-v-
|
|
3567
|
+
[data-v-0c12552e] .ant-form-item {
|
|
3568
3568
|
width: 100%;
|
|
3569
3569
|
height: 100%;
|
|
3570
3570
|
margin-bottom: 0;
|
|
3571
3571
|
display: flex;
|
|
3572
3572
|
}
|
|
3573
|
-
[data-v-
|
|
3573
|
+
[data-v-0c12552e] .ant-form-item .is_required::before {
|
|
3574
3574
|
content: "*";
|
|
3575
3575
|
color: #f56c6c;
|
|
3576
3576
|
margin-right: 4px;
|
|
3577
3577
|
}
|
|
3578
|
-
[data-v-
|
|
3578
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label {
|
|
3579
3579
|
border-right: 1px solid #000;
|
|
3580
3580
|
}
|
|
3581
|
-
[data-v-
|
|
3581
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label label {
|
|
3582
3582
|
display: flex;
|
|
3583
3583
|
justify-content: center;
|
|
3584
3584
|
align-items: center;
|
|
3585
3585
|
height: 100%;
|
|
3586
3586
|
}
|
|
3587
|
-
[data-v-
|
|
3587
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
3588
3588
|
display: none;
|
|
3589
3589
|
}
|
|
3590
|
-
[data-v-
|
|
3590
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-control-wrapper {
|
|
3591
3591
|
display: flex;
|
|
3592
3592
|
align-items: center;
|
|
3593
3593
|
text-align: left;
|
|
3594
3594
|
}
|
|
3595
|
-
[data-v-
|
|
3595
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-control {
|
|
3596
3596
|
width: 98%;
|
|
3597
3597
|
margin: 0 auto;
|
|
3598
3598
|
}
|
|
3599
|
-
[data-v-
|
|
3599
|
+
[data-v-0c12552e] .ant-form-item .is_required::before {
|
|
3600
3600
|
content: "*";
|
|
3601
3601
|
color: #f56c6c;
|
|
3602
3602
|
margin-right: 4px;
|
|
3603
3603
|
}
|
|
3604
|
-
.row-table[data-v-
|
|
3604
|
+
.row-table[data-v-0c12552e] {
|
|
3605
3605
|
display: flex;
|
|
3606
3606
|
}
|
|
3607
|
-
.row-table[data-v-
|
|
3608
|
-
.row-table[data-v-
|
|
3607
|
+
.row-table[data-v-0c12552e] .ant-spin-container,
|
|
3608
|
+
.row-table[data-v-0c12552e] {
|
|
3609
3609
|
display: flex;
|
|
3610
3610
|
width: 100%;
|
|
3611
3611
|
}
|
|
3612
|
-
.row-table[data-v-
|
|
3613
|
-
.row-table .table-left[data-v-
|
|
3612
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-left,
|
|
3613
|
+
.row-table .table-left[data-v-0c12552e] {
|
|
3614
3614
|
width: 100px;
|
|
3615
3615
|
text-align: center;
|
|
3616
3616
|
border-right: 1px solid #333;
|
|
3617
3617
|
border-bottom: 1px solid #333;
|
|
3618
3618
|
position: relative;
|
|
3619
3619
|
}
|
|
3620
|
-
.row-table[data-v-
|
|
3621
|
-
.row-table .table-left p[data-v-
|
|
3620
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-left p,
|
|
3621
|
+
.row-table .table-left p[data-v-0c12552e] {
|
|
3622
3622
|
position: absolute;
|
|
3623
3623
|
top: 50%;
|
|
3624
3624
|
left: 50%;
|
|
3625
3625
|
transform: translate(-50%, -50%);
|
|
3626
3626
|
}
|
|
3627
|
-
.row-table[data-v-
|
|
3628
|
-
.row-table .table-right[data-v-
|
|
3627
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-right,
|
|
3628
|
+
.row-table .table-right[data-v-0c12552e] {
|
|
3629
3629
|
flex: 1;
|
|
3630
3630
|
}
|
|
3631
|
-
.table-content[data-v-
|
|
3631
|
+
.table-content[data-v-0c12552e] {
|
|
3632
3632
|
width: 100%;
|
|
3633
3633
|
height: 40px;
|
|
3634
3634
|
line-height: 40px;
|
|
@@ -3637,11 +3637,11 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3637
3637
|
border-bottom: 1px solid #333;
|
|
3638
3638
|
border-right: 1px solid #333;
|
|
3639
3639
|
}
|
|
3640
|
-
.sub-table-col[data-v-
|
|
3640
|
+
.sub-table-col[data-v-0c12552e] {
|
|
3641
3641
|
display: flex;
|
|
3642
3642
|
box-sizing: border-box;
|
|
3643
3643
|
}
|
|
3644
|
-
.sub-table-col > span[data-v-
|
|
3644
|
+
.sub-table-col > span[data-v-0c12552e] {
|
|
3645
3645
|
flex: 2;
|
|
3646
3646
|
border-bottom: 1px solid #000;
|
|
3647
3647
|
border-right: 1px solid #000;
|
|
@@ -3649,22 +3649,22 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3649
3649
|
line-height: 40px;
|
|
3650
3650
|
text-align: center;
|
|
3651
3651
|
}
|
|
3652
|
-
.sub-table-col > .last-one[data-v-
|
|
3652
|
+
.sub-table-col > .last-one[data-v-0c12552e] {
|
|
3653
3653
|
width: 87px;
|
|
3654
3654
|
flex: 0 0 87px;
|
|
3655
3655
|
border-right: 1px solid #333;
|
|
3656
3656
|
border-bottom: 1px solid #333;
|
|
3657
3657
|
}
|
|
3658
|
-
.sub-table-col-no-border > span[data-v-
|
|
3658
|
+
.sub-table-col-no-border > span[data-v-0c12552e] {
|
|
3659
3659
|
border: none;
|
|
3660
3660
|
height: auto;
|
|
3661
3661
|
width: 0;
|
|
3662
3662
|
}
|
|
3663
|
-
.sub-table-col-no-border > .sub-table-title[data-v-
|
|
3664
|
-
.sub-table-col-no-border > .sub-table-item[data-v-
|
|
3663
|
+
.sub-table-col-no-border > .sub-table-title[data-v-0c12552e]:last-child,
|
|
3664
|
+
.sub-table-col-no-border > .sub-table-item[data-v-0c12552e]:last-child {
|
|
3665
3665
|
border-right: none !important;
|
|
3666
3666
|
}
|
|
3667
|
-
.sub-table-col-no-border > .last-one[data-v-
|
|
3667
|
+
.sub-table-col-no-border > .last-one[data-v-0c12552e] {
|
|
3668
3668
|
width: 87px;
|
|
3669
3669
|
flex: 0 0 87px;
|
|
3670
3670
|
display: flex;
|
|
@@ -3672,33 +3672,33 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3672
3672
|
align-items: center;
|
|
3673
3673
|
}
|
|
3674
3674
|
/*****无border *****/
|
|
3675
|
-
.no-border .page-border[data-v-
|
|
3675
|
+
.no-border .page-border[data-v-0c12552e] {
|
|
3676
3676
|
border: none;
|
|
3677
3677
|
}
|
|
3678
|
-
.no-border .page-border .row-item[data-v-
|
|
3678
|
+
.no-border .page-border .row-item[data-v-0c12552e]:not(:last-child) {
|
|
3679
3679
|
border: none;
|
|
3680
3680
|
}
|
|
3681
|
-
.no-border .page-border[data-v-
|
|
3681
|
+
.no-border .page-border[data-v-0c12552e] .ant-form-item .ant-form-item-label {
|
|
3682
3682
|
border: none;
|
|
3683
3683
|
}
|
|
3684
|
-
.table_border[data-v-
|
|
3684
|
+
.table_border[data-v-0c12552e] {
|
|
3685
3685
|
border-bottom: 0;
|
|
3686
3686
|
border-right: 0;
|
|
3687
3687
|
}
|
|
3688
3688
|
/*****无border *****/
|
|
3689
|
-
[data-v-
|
|
3689
|
+
[data-v-0c12552e] .ant-form-item-children > div > p,[data-v-0c12552e] .ant-form-item-children > div > h1,[data-v-0c12552e] .ant-form-item-children > div > h2,[data-v-0c12552e] .ant-form-item-children > div > h3,[data-v-0c12552e] .ant-form-item-children > div > h4,[data-v-0c12552e] .ant-form-item-children > div > h5,[data-v-0c12552e] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
|
|
3690
3690
|
margin: 10px 0;
|
|
3691
3691
|
line-height: 1.5;
|
|
3692
3692
|
}
|
|
3693
|
-
[data-v-
|
|
3693
|
+
[data-v-0c12552e] .ant-spin-dot {
|
|
3694
3694
|
font-size: 20px !important;
|
|
3695
3695
|
}
|
|
3696
|
-
.form_skeleton[data-v-
|
|
3696
|
+
.form_skeleton[data-v-0c12552e] {
|
|
3697
3697
|
display: block;
|
|
3698
3698
|
width: 700px;
|
|
3699
3699
|
margin: 55px auto;
|
|
3700
3700
|
}
|
|
3701
|
-
.form_skeleton[data-v-
|
|
3701
|
+
.form_skeleton[data-v-0c12552e] .ant-skeleton-title {
|
|
3702
3702
|
margin: 0 auto;
|
|
3703
3703
|
}
|
|
3704
3704
|
|
|
@@ -45460,7 +45460,7 @@ let getFileExt = filename => {
|
|
|
45460
45460
|
/* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38);
|
|
45461
45461
|
/* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(6955);
|
|
45462
45462
|
/* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8396);
|
|
45463
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
45463
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4788);
|
|
45464
45464
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2980);
|
|
45465
45465
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
45466
45466
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7203);
|
|
@@ -45969,6 +45969,10 @@ let getFileExt = filename => {
|
|
|
45969
45969
|
};
|
|
45970
45970
|
},
|
|
45971
45971
|
props: {
|
|
45972
|
+
isDesign: {
|
|
45973
|
+
type: Boolean,
|
|
45974
|
+
default: false
|
|
45975
|
+
},
|
|
45972
45976
|
showLayoutLoading: {
|
|
45973
45977
|
type: Boolean,
|
|
45974
45978
|
default: false
|
|
@@ -46168,6 +46172,7 @@ let getFileExt = filename => {
|
|
|
46168
46172
|
this.tableData[model] === undefined ? this.$set(this.tableData, model, []) : null;
|
|
46169
46173
|
const map = {};
|
|
46170
46174
|
if (addModel) {
|
|
46175
|
+
debugger;
|
|
46171
46176
|
let addModelObject = {};
|
|
46172
46177
|
dataTemp.columns.forEach(item => {
|
|
46173
46178
|
item.options.isCorrect = false;
|
|
@@ -46182,7 +46187,23 @@ let getFileExt = filename => {
|
|
|
46182
46187
|
if (!Array.isArray(this.models[model])) {
|
|
46183
46188
|
this.models[model] = [];
|
|
46184
46189
|
}
|
|
46190
|
+
const _cloneData = (0,_util_util__WEBPACK_IMPORTED_MODULE_12__/* .cloneObj */ .Cl)(addModelObject);
|
|
46185
46191
|
this.models[model].push(addModelObject);
|
|
46192
|
+
if (this.isDesign) {
|
|
46193
|
+
if (!this.destoryTable) this.destoryTable = [];
|
|
46194
|
+
this.destoryTable.push(() => {
|
|
46195
|
+
for (const key in _cloneData) {
|
|
46196
|
+
if (addModelObject.hasOwnProperty(key)) {
|
|
46197
|
+
const element = _cloneData[key];
|
|
46198
|
+
addModelObject[key] = element;
|
|
46199
|
+
}
|
|
46200
|
+
}
|
|
46201
|
+
});
|
|
46202
|
+
this.$on('hook:destroyed', () => {
|
|
46203
|
+
// addModelObject forin _cloneData
|
|
46204
|
+
this.destoryTable.forEach(func => func());
|
|
46205
|
+
});
|
|
46206
|
+
}
|
|
46186
46207
|
dataTemp.options.isCorrect = false;
|
|
46187
46208
|
} else {
|
|
46188
46209
|
dataTemp.options.isCorrect = true;
|
|
@@ -46342,6 +46363,15 @@ let getFileExt = filename => {
|
|
|
46342
46363
|
this.tableLoading = true;
|
|
46343
46364
|
let dataTemp = JSON.parse(JSON.stringify(this.tableModel[model]));
|
|
46344
46365
|
dataTemp._clone = true;
|
|
46366
|
+
if (this.isDesign) {
|
|
46367
|
+
if (!this.destoryTable) this.destoryTable = [];
|
|
46368
|
+
this.destoryTable.push(() => {
|
|
46369
|
+
this.value[model] = Array(this.models[model].length).fill({});
|
|
46370
|
+
});
|
|
46371
|
+
this.$on('hook:beforeDestroy', () => {
|
|
46372
|
+
this.destoryTable.forEach(func => func());
|
|
46373
|
+
});
|
|
46374
|
+
}
|
|
46345
46375
|
for (let i = 0; i < this.models[model].length; i++) {
|
|
46346
46376
|
this.originIndex++;
|
|
46347
46377
|
if (i < 20) {
|
|
@@ -47975,7 +48005,7 @@ module.exports = {
|
|
|
47975
48005
|
|
|
47976
48006
|
/***/ }),
|
|
47977
48007
|
|
|
47978
|
-
/***/
|
|
48008
|
+
/***/ 4788:
|
|
47979
48009
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
47980
48010
|
|
|
47981
48011
|
"use strict";
|
|
@@ -61553,9 +61583,9 @@ var RelateSub_component_component = (0,componentNormalizer/* default */.Z)(
|
|
|
61553
61583
|
)
|
|
61554
61584
|
|
|
61555
61585
|
/* harmony default export */ const RelateSub_component = (RelateSub_component_component.exports);
|
|
61556
|
-
;// 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/form/modules/components/RelateSub/widgetSetup.vue?vue&type=template&id=
|
|
61557
|
-
var
|
|
61558
|
-
var
|
|
61586
|
+
;// 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/form/modules/components/RelateSub/widgetSetup.vue?vue&type=template&id=e552b6cc&scoped=true&
|
|
61587
|
+
var widgetSetupvue_type_template_id_e552b6cc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model-item',{attrs:{"label":"显示字段:"}},[_c('a-input',{model:{value:(_vm.widget.options.labels),callback:function ($$v) {_vm.$set(_vm.widget.options, "labels", $$v)},expression:"widget.options.labels"}})],1),_c('a-form-model-item',{attrs:{"label":"接口地址:"}},[_c('a-input',{model:{value:(_vm.widget.options.apiUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "apiUrl", $$v)},expression:"widget.options.apiUrl"}})],1),_c('a-form-model-item',{attrs:{"label":"SQL语句:"}},[(_vm.isFormDesignGLHiddenSQL)?_c('a-input',{attrs:{"type":"textarea","rows":5},model:{value:(_vm.widget.options.SQL),callback:function ($$v) {_vm.$set(_vm.widget.options, "SQL", $$v)},expression:"widget.options.SQL"}}):_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("配置SQL语句")])],1),_c('a-form-model-item',{attrs:{"label":"表头字段:"}},[_c('a-input',{model:{value:(_vm.widget.options.columnName),callback:function ($$v) {_vm.$set(_vm.widget.options, "columnName", $$v)},expression:"widget.options.columnName"}})],1),_c('a-form-model-item',{attrs:{"label":"字段编码:"}},[_c('a-input',{model:{value:(_vm.widget.options.columnCode),callback:function ($$v) {_vm.$set(_vm.widget.options, "columnCode", $$v)},expression:"widget.options.columnCode"}})],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}})],1)])}
|
|
61588
|
+
var widgetSetupvue_type_template_id_e552b6cc_scoped_true_staticRenderFns = []
|
|
61559
61589
|
|
|
61560
61590
|
|
|
61561
61591
|
;// 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/form/modules/components/RelateSub/widgetSetup.vue?vue&type=script&lang=js&
|
|
@@ -61601,6 +61631,7 @@ var widgetSetupvue_type_template_id_23c01f73_scoped_true_staticRenderFns = []
|
|
|
61601
61631
|
//
|
|
61602
61632
|
//
|
|
61603
61633
|
//
|
|
61634
|
+
//
|
|
61604
61635
|
|
|
61605
61636
|
|
|
61606
61637
|
|
|
@@ -61635,7 +61666,11 @@ var widgetSetupvue_type_template_id_23c01f73_scoped_true_staticRenderFns = []
|
|
|
61635
61666
|
relateSubModal: relateSubModal,
|
|
61636
61667
|
defaultValueWithSql: defaultValueWithSql
|
|
61637
61668
|
},
|
|
61638
|
-
computed: {
|
|
61669
|
+
computed: {
|
|
61670
|
+
isFormDesignGLHiddenSQL() {
|
|
61671
|
+
return window._CONFIG.isFormDesignGLHiddenSQL;
|
|
61672
|
+
}
|
|
61673
|
+
},
|
|
61639
61674
|
created() {},
|
|
61640
61675
|
methods: {
|
|
61641
61676
|
setDefalutValue(values) {
|
|
@@ -61678,11 +61713,11 @@ var widgetSetupvue_type_template_id_23c01f73_scoped_true_staticRenderFns = []
|
|
|
61678
61713
|
;
|
|
61679
61714
|
var RelateSub_widgetSetup_component = (0,componentNormalizer/* default */.Z)(
|
|
61680
61715
|
components_RelateSub_widgetSetupvue_type_script_lang_js_,
|
|
61681
|
-
|
|
61682
|
-
|
|
61716
|
+
widgetSetupvue_type_template_id_e552b6cc_scoped_true_render,
|
|
61717
|
+
widgetSetupvue_type_template_id_e552b6cc_scoped_true_staticRenderFns,
|
|
61683
61718
|
false,
|
|
61684
61719
|
null,
|
|
61685
|
-
"
|
|
61720
|
+
"e552b6cc",
|
|
61686
61721
|
null
|
|
61687
61722
|
|
|
61688
61723
|
)
|
|
@@ -81034,9 +81069,9 @@ var DataTable_component_component = (0,componentNormalizer/* default */.Z)(
|
|
|
81034
81069
|
)
|
|
81035
81070
|
|
|
81036
81071
|
/* harmony default export */ const DataTable_component = (DataTable_component_component.exports);
|
|
81037
|
-
;// 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/form/modules/components/DataTable/widgetSetup.vue?vue&type=template&id=
|
|
81038
|
-
var
|
|
81039
|
-
var
|
|
81072
|
+
;// 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/form/modules/components/DataTable/widgetSetup.vue?vue&type=template&id=8985c704&scoped=true&
|
|
81073
|
+
var widgetSetupvue_type_template_id_8985c704_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid","size":"small"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("数据集")])],1),_c('div',[_c('a-button',{attrs:{"type":"primary","disabled":_vm.isFormDesignSQL},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")])],1)],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1),_c('a-form-model-item',{attrs:{"label":"数据集唯一key"}},[_c('a-input',{model:{value:(_vm.widget.options.defaultTableKey),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultTableKey", $$v)},expression:"widget.options.defaultTableKey"}})],1)],1),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('select-role-modal',{ref:"selectRoleModal",on:{"ok":_vm.handleRoleOk}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)])}
|
|
81074
|
+
var widgetSetupvue_type_template_id_8985c704_scoped_true_staticRenderFns = []
|
|
81040
81075
|
|
|
81041
81076
|
|
|
81042
81077
|
;// 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/form/modules/components/DataTable/widgetSetup.vue?vue&type=script&lang=js&
|
|
@@ -81115,6 +81150,11 @@ var widgetSetupvue_type_template_id_2f43bff6_scoped_true_staticRenderFns = []
|
|
|
81115
81150
|
selectRoleModal: selectRoleModal,
|
|
81116
81151
|
datasetManagement: datasetManagement
|
|
81117
81152
|
},
|
|
81153
|
+
computed: {
|
|
81154
|
+
isFormDesignSQL() {
|
|
81155
|
+
return window._CONFIG.isFormDesignSQL;
|
|
81156
|
+
}
|
|
81157
|
+
},
|
|
81118
81158
|
created() {},
|
|
81119
81159
|
methods: {
|
|
81120
81160
|
showModal() {
|
|
@@ -81184,11 +81224,11 @@ var widgetSetupvue_type_template_id_2f43bff6_scoped_true_staticRenderFns = []
|
|
|
81184
81224
|
;
|
|
81185
81225
|
var DataTable_widgetSetup_component = (0,componentNormalizer/* default */.Z)(
|
|
81186
81226
|
components_DataTable_widgetSetupvue_type_script_lang_js_,
|
|
81187
|
-
|
|
81188
|
-
|
|
81227
|
+
widgetSetupvue_type_template_id_8985c704_scoped_true_render,
|
|
81228
|
+
widgetSetupvue_type_template_id_8985c704_scoped_true_staticRenderFns,
|
|
81189
81229
|
false,
|
|
81190
81230
|
null,
|
|
81191
|
-
"
|
|
81231
|
+
"8985c704",
|
|
81192
81232
|
null
|
|
81193
81233
|
|
|
81194
81234
|
)
|
|
@@ -110186,7 +110226,7 @@ var staticRenderFns = []
|
|
|
110186
110226
|
|
|
110187
110227
|
|
|
110188
110228
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
110189
|
-
var components = __webpack_require__(
|
|
110229
|
+
var components = __webpack_require__(4788);
|
|
110190
110230
|
;// 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/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js&
|
|
110191
110231
|
//
|
|
110192
110232
|
//
|
|
@@ -111394,7 +111434,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111394
111434
|
|
|
111395
111435
|
/***/ }),
|
|
111396
111436
|
|
|
111397
|
-
/***/
|
|
111437
|
+
/***/ 8617:
|
|
111398
111438
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
111399
111439
|
|
|
111400
111440
|
"use strict";
|
|
@@ -111406,7 +111446,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
111406
111446
|
"default": () => (/* binding */ layoutForPaper)
|
|
111407
111447
|
});
|
|
111408
111448
|
|
|
111409
|
-
;// 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/form/modules/layout/layoutForPaper.vue?vue&type=template&id=
|
|
111449
|
+
;// 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/form/modules/layout/layoutForPaper.vue?vue&type=template&id=0c12552e&scoped=true&
|
|
111410
111450
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{staticClass:"layout layout-input-all-setting",class:{ 'no-border': !_vm.data.config.border, 'save-pdf': _vm.showLine, 'ant-form-noBorder': _vm.data.config.componentsNoBorder },style:({ 'overflow-x': _vm.data.config.layout === 'horizontal' ? 'auto' : 'initial' }),attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[(_vm.pageLoading && _vm.showLayoutLoading)?_c('div',{class:{ form_skeleton: _vm.pageLoading }},[(_vm.pageLoading)?_c('a-skeleton',{attrs:{"active":"","loading":_vm.pageLoading,"paragraph":{ rows: 12 }}}):_vm._e()],1):_vm._e(),_c('a-form-model',{ref:"Form",attrs:{"hideRequiredMark":true,"model":_vm.models,"rules":_vm.rules,"wrapper-col":{}},on:{"update:rules":function($event){_vm.rules=$event},"validate":_vm.validate}},_vm._l((_vm.widgetList),function(list,listindex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.widgetList[0].length > 0),expression:"widgetList[0].length > 0"}],key:listindex,staticClass:"paper",style:(_vm.contentStyle)},[(listindex == 0)?_vm._t("default"):_vm._e(),(listindex == 0)?_c('div',{staticClass:"form-title",style:(Object.assign({}, {height: _vm.formNameHeight}, _vm.formNameStyle))},[_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameLeftContent || '')}}),_vm._v(_vm._s(_vm.data.config.formName)),_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameRightContent || '')}})]):_vm._e(),(_vm.value && _vm.value.formIndex)?_c('div',{staticStyle:{"text-align":"right","font-weight":"bold"}},[_vm._v(_vm._s(_vm.value.formIndex))]):_vm._e(),(_vm.data.config.pageHeader && listindex === 0)?_c('div',{style:(_vm.data.config.headerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageHeader)}}):_vm._e(),_c('div',{staticClass:"page-border",style:({ borderColor: _vm.data.config.borderColor })},[_vm._l((list),function(widget,index){return [(widget.type == 'table')?[(
|
|
111411
111451
|
widget.options.layoutModel === 'auto' ||
|
|
111412
111452
|
widget.options.layoutModel === undefined
|
|
@@ -111442,15 +111482,15 @@ var staticRenderFns = []
|
|
|
111442
111482
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(7862);
|
|
111443
111483
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
111444
111484
|
/* harmony default export */ const layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
111445
|
-
;// 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/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
111485
|
+
;// 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/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0c12552e&prod&lang=less&scoped=true&
|
|
111446
111486
|
// extracted by mini-css-extract-plugin
|
|
111447
111487
|
|
|
111448
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
111488
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0c12552e&prod&lang=less&scoped=true&
|
|
111449
111489
|
|
|
111450
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-12.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-12.use[2]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
111490
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-12.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-12.use[2]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0c12552e&prod&lang=css&
|
|
111451
111491
|
// extracted by mini-css-extract-plugin
|
|
111452
111492
|
|
|
111453
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
111493
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0c12552e&prod&lang=css&
|
|
111454
111494
|
|
|
111455
111495
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
111456
111496
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -111470,7 +111510,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111470
111510
|
staticRenderFns,
|
|
111471
111511
|
false,
|
|
111472
111512
|
null,
|
|
111473
|
-
"
|
|
111513
|
+
"0c12552e",
|
|
111474
111514
|
null
|
|
111475
111515
|
|
|
111476
111516
|
)
|
|
@@ -111546,7 +111586,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111546
111586
|
|
|
111547
111587
|
/* harmony default export */ const CorrectionModal = (component.exports);
|
|
111548
111588
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
111549
|
-
var components = __webpack_require__(
|
|
111589
|
+
var components = __webpack_require__(4788);
|
|
111550
111590
|
// EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
|
|
111551
111591
|
var pubsub = __webpack_require__(2980);
|
|
111552
111592
|
var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
|
|
@@ -112687,7 +112727,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
112687
112727
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
112688
112728
|
var manage = __webpack_require__(1474);
|
|
112689
112729
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
112690
|
-
var components = __webpack_require__(
|
|
112730
|
+
var components = __webpack_require__(4788);
|
|
112691
112731
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
112692
112732
|
var Bus = __webpack_require__(767);
|
|
112693
112733
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -120730,7 +120770,7 @@ function toNumber(value) {
|
|
|
120730
120770
|
/***/ ((module) => {
|
|
120731
120771
|
|
|
120732
120772
|
"use strict";
|
|
120733
|
-
module.exports = {"i8":"1.1.
|
|
120773
|
+
module.exports = {"i8":"1.1.313"};
|
|
120734
120774
|
|
|
120735
120775
|
/***/ })
|
|
120736
120776
|
|
|
@@ -122674,11 +122714,11 @@ icon_Icon.install = function (Vue) {
|
|
|
122674
122714
|
|
|
122675
122715
|
/* harmony default export */ const icon = (icon_Icon);
|
|
122676
122716
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
|
|
122677
|
-
var layoutForPaper = __webpack_require__(
|
|
122717
|
+
var layoutForPaper = __webpack_require__(8617);
|
|
122678
122718
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
|
|
122679
122719
|
var layoutItem = __webpack_require__(8396);
|
|
122680
|
-
;// 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/form/modules/Container.vue?vue&type=template&id=
|
|
122681
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
|
|
122720
|
+
;// 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/form/modules/Container.vue?vue&type=template&id=7e09529d&
|
|
122721
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","isDesign":true,"data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
|
|
122682
122722
|
var staticRenderFns = []
|
|
122683
122723
|
|
|
122684
122724
|
|
|
@@ -124064,7 +124104,7 @@ var es_array_sort = __webpack_require__(8284);
|
|
|
124064
124104
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
124065
124105
|
var util = __webpack_require__(6955);
|
|
124066
124106
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
124067
|
-
var components = __webpack_require__(
|
|
124107
|
+
var components = __webpack_require__(4788);
|
|
124068
124108
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
124069
124109
|
var manage = __webpack_require__(1474);
|
|
124070
124110
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|
|
@@ -126740,6 +126780,7 @@ var onLineForm = __webpack_require__(6162);
|
|
|
126740
126780
|
//
|
|
126741
126781
|
//
|
|
126742
126782
|
//
|
|
126783
|
+
//
|
|
126743
126784
|
//
|
|
126744
126785
|
|
|
126745
126786
|
//控件库
|
|
@@ -127058,10 +127099,10 @@ __webpack_require__(9922);
|
|
|
127058
127099
|
});
|
|
127059
127100
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=script&lang=js&
|
|
127060
127101
|
/* harmony default export */ const modules_Containervue_type_script_lang_js_ = (Containervue_type_script_lang_js_);
|
|
127061
|
-
;// 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/form/modules/Container.vue?vue&type=style&index=0&id=
|
|
127102
|
+
;// 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/form/modules/Container.vue?vue&type=style&index=0&id=7e09529d&prod&lang=less&
|
|
127062
127103
|
// extracted by mini-css-extract-plugin
|
|
127063
127104
|
|
|
127064
|
-
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=
|
|
127105
|
+
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=7e09529d&prod&lang=less&
|
|
127065
127106
|
|
|
127066
127107
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue
|
|
127067
127108
|
|
|
@@ -134059,7 +134100,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
|
134059
134100
|
}
|
|
134060
134101
|
},
|
|
134061
134102
|
components: {
|
|
134062
|
-
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
134103
|
+
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8617)),
|
|
134063
134104
|
FormulaEdit: formula_edit
|
|
134064
134105
|
},
|
|
134065
134106
|
data() {
|