@zscreate/form-component 1.1.312 → 1.1.314
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 +58 -25
- 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__(6371);
|
|
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
|
+
/***/ 6371:
|
|
47979
48009
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
47980
48010
|
|
|
47981
48011
|
"use strict";
|
|
@@ -61061,8 +61091,8 @@ var componentvue_type_template_id_0709b7a4_scoped_true_render = function () {var
|
|
|
61061
61091
|
var componentvue_type_template_id_0709b7a4_scoped_true_staticRenderFns = []
|
|
61062
61092
|
|
|
61063
61093
|
|
|
61064
|
-
;// 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/common/Modals/relateSubSelectModal.vue?vue&type=template&id=
|
|
61065
|
-
var
|
|
61094
|
+
;// 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/common/Modals/relateSubSelectModal.vue?vue&type=template&id=508f8d90&
|
|
61095
|
+
var relateSubSelectModalvue_type_template_id_508f8d90_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":"选择","width":_vm.modalWidth,"visible":_vm.visible,"confirmLoading":_vm.confirmLoading,"destroyOnClose":true,"cancelText":"关闭","zIndex":1100000},on:{"ok":_vm.handleSubmit,"cancel":_vm.handleCancel}},[_c('a-table',{ref:"table",attrs:{"size":"middle","bordered":"","scroll":{ x: _vm.columns.filter(function (p, c) { return (p += c.width); }, 0) },"columns":_vm.columns,"dataSource":_vm.dataSource,"loading":_vm.loading,"row-selection":{
|
|
61066
61096
|
selectedRowKeys: _vm.selectedRowKeys,
|
|
61067
61097
|
onChange: _vm.onSelectChange,
|
|
61068
61098
|
type: _vm.widget.options.multiple === false ? 'radio' : 'checkbox',
|
|
@@ -61073,7 +61103,7 @@ var relateSubSelectModalvue_type_template_id_13a587d8_render = function () {var
|
|
|
61073
61103
|
var clearFilters = ref.clearFilters;
|
|
61074
61104
|
var column = ref.column;
|
|
61075
61105
|
return _c('div',{staticStyle:{"padding":"8px"}},[_c('a-input',{directives:[{name:"ant-ref",rawName:"v-ant-ref",value:(function (c) { return (_vm.searchInput = c); }),expression:"(c) => (searchInput = c)"}],staticStyle:{"width":"188px","margin-bottom":"8px","display":"block"},attrs:{"placeholder":("搜索 " + (column.title)),"value":selectedKeys[0]},on:{"change":function (e) { return setSelectedKeys(e.target.value ? [e.target.value] : []); },"pressEnter":function () { return _vm.handleSearch(selectedKeys, confirm, column.dataIndex); }}}),_c('a-button',{staticStyle:{"width":"90px","margin-right":"8px"},attrs:{"type":"primary","icon":"search","size":"small","placeholder":"请搜索"},on:{"click":function () { return _vm.handleSearch(selectedKeys, confirm, column.dataIndex); }}},[_vm._v("搜索")]),_c('a-button',{staticStyle:{"width":"90px"},attrs:{"size":"small"},on:{"click":function () { return _vm.handleReset(clearFilters, column.dataIndex); }}},[_vm._v("取消")])],1)}}])})],1)}
|
|
61076
|
-
var
|
|
61106
|
+
var relateSubSelectModalvue_type_template_id_508f8d90_staticRenderFns = []
|
|
61077
61107
|
|
|
61078
61108
|
|
|
61079
61109
|
;// 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/relateSubSelectModal.vue?vue&type=script&lang=js&
|
|
@@ -61211,6 +61241,8 @@ var relateSubSelectModalvue_type_template_id_13a587d8_staticRenderFns = []
|
|
|
61211
61241
|
init(value) {
|
|
61212
61242
|
debugger;
|
|
61213
61243
|
this.visible = true;
|
|
61244
|
+
this.queryParam.columnName = this.widget.options.columnName;
|
|
61245
|
+
this.queryParam.columnCode = this.widget.options.columnCode;
|
|
61214
61246
|
if (!this.widget.options.multiple && value.length > 0) {
|
|
61215
61247
|
this.selectedRows = value;
|
|
61216
61248
|
this.selectedRowKeys = [value[0][this.SQLKey]];
|
|
@@ -61382,8 +61414,8 @@ var relateSubSelectModalvue_type_template_id_13a587d8_staticRenderFns = []
|
|
|
61382
61414
|
;
|
|
61383
61415
|
var relateSubSelectModal_component = (0,componentNormalizer/* default */.Z)(
|
|
61384
61416
|
Modals_relateSubSelectModalvue_type_script_lang_js_,
|
|
61385
|
-
|
|
61386
|
-
|
|
61417
|
+
relateSubSelectModalvue_type_template_id_508f8d90_render,
|
|
61418
|
+
relateSubSelectModalvue_type_template_id_508f8d90_staticRenderFns,
|
|
61387
61419
|
false,
|
|
61388
61420
|
null,
|
|
61389
61421
|
null,
|
|
@@ -110196,7 +110228,7 @@ var staticRenderFns = []
|
|
|
110196
110228
|
|
|
110197
110229
|
|
|
110198
110230
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
110199
|
-
var components = __webpack_require__(
|
|
110231
|
+
var components = __webpack_require__(6371);
|
|
110200
110232
|
;// 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&
|
|
110201
110233
|
//
|
|
110202
110234
|
//
|
|
@@ -111404,7 +111436,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111404
111436
|
|
|
111405
111437
|
/***/ }),
|
|
111406
111438
|
|
|
111407
|
-
/***/
|
|
111439
|
+
/***/ 8617:
|
|
111408
111440
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
111409
111441
|
|
|
111410
111442
|
"use strict";
|
|
@@ -111416,7 +111448,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
111416
111448
|
"default": () => (/* binding */ layoutForPaper)
|
|
111417
111449
|
});
|
|
111418
111450
|
|
|
111419
|
-
;// 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=
|
|
111451
|
+
;// 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&
|
|
111420
111452
|
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')?[(
|
|
111421
111453
|
widget.options.layoutModel === 'auto' ||
|
|
111422
111454
|
widget.options.layoutModel === undefined
|
|
@@ -111452,15 +111484,15 @@ var staticRenderFns = []
|
|
|
111452
111484
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(7862);
|
|
111453
111485
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
111454
111486
|
/* harmony default export */ const layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
111455
|
-
;// 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=
|
|
111487
|
+
;// 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&
|
|
111456
111488
|
// extracted by mini-css-extract-plugin
|
|
111457
111489
|
|
|
111458
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
111490
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0c12552e&prod&lang=less&scoped=true&
|
|
111459
111491
|
|
|
111460
|
-
;// 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=
|
|
111492
|
+
;// 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&
|
|
111461
111493
|
// extracted by mini-css-extract-plugin
|
|
111462
111494
|
|
|
111463
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
111495
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0c12552e&prod&lang=css&
|
|
111464
111496
|
|
|
111465
111497
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
111466
111498
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -111480,7 +111512,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111480
111512
|
staticRenderFns,
|
|
111481
111513
|
false,
|
|
111482
111514
|
null,
|
|
111483
|
-
"
|
|
111515
|
+
"0c12552e",
|
|
111484
111516
|
null
|
|
111485
111517
|
|
|
111486
111518
|
)
|
|
@@ -111556,7 +111588,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111556
111588
|
|
|
111557
111589
|
/* harmony default export */ const CorrectionModal = (component.exports);
|
|
111558
111590
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
111559
|
-
var components = __webpack_require__(
|
|
111591
|
+
var components = __webpack_require__(6371);
|
|
111560
111592
|
// EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
|
|
111561
111593
|
var pubsub = __webpack_require__(2980);
|
|
111562
111594
|
var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
|
|
@@ -112697,7 +112729,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
112697
112729
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
112698
112730
|
var manage = __webpack_require__(1474);
|
|
112699
112731
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
112700
|
-
var components = __webpack_require__(
|
|
112732
|
+
var components = __webpack_require__(6371);
|
|
112701
112733
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
112702
112734
|
var Bus = __webpack_require__(767);
|
|
112703
112735
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -120740,7 +120772,7 @@ function toNumber(value) {
|
|
|
120740
120772
|
/***/ ((module) => {
|
|
120741
120773
|
|
|
120742
120774
|
"use strict";
|
|
120743
|
-
module.exports = {"i8":"1.1.
|
|
120775
|
+
module.exports = {"i8":"1.1.314"};
|
|
120744
120776
|
|
|
120745
120777
|
/***/ })
|
|
120746
120778
|
|
|
@@ -122684,11 +122716,11 @@ icon_Icon.install = function (Vue) {
|
|
|
122684
122716
|
|
|
122685
122717
|
/* harmony default export */ const icon = (icon_Icon);
|
|
122686
122718
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
|
|
122687
|
-
var layoutForPaper = __webpack_require__(
|
|
122719
|
+
var layoutForPaper = __webpack_require__(8617);
|
|
122688
122720
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
|
|
122689
122721
|
var layoutItem = __webpack_require__(8396);
|
|
122690
|
-
;// 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=
|
|
122691
|
-
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)}
|
|
122722
|
+
;// 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&
|
|
122723
|
+
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)}
|
|
122692
122724
|
var staticRenderFns = []
|
|
122693
122725
|
|
|
122694
122726
|
|
|
@@ -124074,7 +124106,7 @@ var es_array_sort = __webpack_require__(8284);
|
|
|
124074
124106
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
124075
124107
|
var util = __webpack_require__(6955);
|
|
124076
124108
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 894 modules
|
|
124077
|
-
var components = __webpack_require__(
|
|
124109
|
+
var components = __webpack_require__(6371);
|
|
124078
124110
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
124079
124111
|
var manage = __webpack_require__(1474);
|
|
124080
124112
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|
|
@@ -126750,6 +126782,7 @@ var onLineForm = __webpack_require__(6162);
|
|
|
126750
126782
|
//
|
|
126751
126783
|
//
|
|
126752
126784
|
//
|
|
126785
|
+
//
|
|
126753
126786
|
//
|
|
126754
126787
|
|
|
126755
126788
|
//控件库
|
|
@@ -127068,10 +127101,10 @@ __webpack_require__(9922);
|
|
|
127068
127101
|
});
|
|
127069
127102
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=script&lang=js&
|
|
127070
127103
|
/* harmony default export */ const modules_Containervue_type_script_lang_js_ = (Containervue_type_script_lang_js_);
|
|
127071
|
-
;// 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=
|
|
127104
|
+
;// 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&
|
|
127072
127105
|
// extracted by mini-css-extract-plugin
|
|
127073
127106
|
|
|
127074
|
-
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=
|
|
127107
|
+
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=7e09529d&prod&lang=less&
|
|
127075
127108
|
|
|
127076
127109
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue
|
|
127077
127110
|
|
|
@@ -134069,7 +134102,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
|
134069
134102
|
}
|
|
134070
134103
|
},
|
|
134071
134104
|
components: {
|
|
134072
|
-
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
134105
|
+
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8617)),
|
|
134073
134106
|
FormulaEdit: formula_edit
|
|
134074
134107
|
},
|
|
134075
134108
|
data() {
|