@zscreate/form-component 1.1.209 → 1.1.211
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 +68 -68
- package/dist/form-component.umd.js +30 -32
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -2230,18 +2230,18 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
2230
2230
|
}
|
|
2231
2231
|
|
|
2232
2232
|
|
|
2233
|
-
[data-v-
|
|
2233
|
+
[data-v-01d7875d] .ant-upload-picture-card-wrapper {
|
|
2234
2234
|
display: flex;
|
|
2235
2235
|
align-items: center;
|
|
2236
2236
|
}
|
|
2237
|
-
[data-v-
|
|
2237
|
+
[data-v-01d7875d] .ant-upload-list {
|
|
2238
2238
|
display: flex;
|
|
2239
2239
|
}
|
|
2240
|
-
[data-v-
|
|
2241
|
-
width:
|
|
2242
|
-
height:
|
|
2240
|
+
[data-v-01d7875d] .ant-upload.ant-upload-select-picture-card {
|
|
2241
|
+
width: var(--img-upload-list-item-width);
|
|
2242
|
+
height: var(--img-upload-list-item-height);
|
|
2243
2243
|
}
|
|
2244
|
-
[data-v-
|
|
2244
|
+
[data-v-01d7875d] .ant-upload-list-item,[data-v-01d7875d] .ant-upload-list-picture-card-container {
|
|
2245
2245
|
width: var(--img-upload-list-item-width);
|
|
2246
2246
|
height: var(--img-upload-list-item-height);
|
|
2247
2247
|
}
|
|
@@ -3332,46 +3332,46 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3332
3332
|
align-items: center;
|
|
3333
3333
|
}
|
|
3334
3334
|
|
|
3335
|
-
.t-border[data-v-
|
|
3335
|
+
.t-border[data-v-7f4840a7] {
|
|
3336
3336
|
border-right: 1px solid #333;
|
|
3337
3337
|
border-bottom: 1px solid #333;
|
|
3338
3338
|
}
|
|
3339
|
-
[data-v-
|
|
3339
|
+
[data-v-7f4840a7] * {
|
|
3340
3340
|
font-size: var(--paperFontSize);
|
|
3341
3341
|
}
|
|
3342
|
-
[data-v-
|
|
3342
|
+
[data-v-7f4840a7] .custom_form_item {
|
|
3343
3343
|
height: -moz-fit-content;
|
|
3344
3344
|
height: fit-content;
|
|
3345
3345
|
}
|
|
3346
|
-
.save-pdf[data-v-
|
|
3346
|
+
.save-pdf[data-v-7f4840a7] .ant-input {
|
|
3347
3347
|
border: none !important;
|
|
3348
3348
|
}
|
|
3349
|
-
.save-pdf[data-v-
|
|
3349
|
+
.save-pdf[data-v-7f4840a7] .ant-select-selection {
|
|
3350
3350
|
border: none !important;
|
|
3351
3351
|
}
|
|
3352
|
-
.save-pdf[data-v-
|
|
3352
|
+
.save-pdf[data-v-7f4840a7] .ant-select-arrow svg {
|
|
3353
3353
|
display: none;
|
|
3354
3354
|
}
|
|
3355
|
-
.save-pdf[data-v-
|
|
3355
|
+
.save-pdf[data-v-7f4840a7] .ant-upload.ant-upload-select-picture-card {
|
|
3356
3356
|
display: none;
|
|
3357
3357
|
}
|
|
3358
|
-
.save-pdf[data-v-
|
|
3358
|
+
.save-pdf[data-v-7f4840a7] .anticon svg {
|
|
3359
3359
|
display: none;
|
|
3360
3360
|
}
|
|
3361
|
-
.save-pdf[data-v-
|
|
3361
|
+
.save-pdf[data-v-7f4840a7] .ant-time-picker-input {
|
|
3362
3362
|
border: none !important;
|
|
3363
3363
|
}
|
|
3364
|
-
.save-pdf[data-v-
|
|
3364
|
+
.save-pdf[data-v-7f4840a7] .ant-upload.ant-upload-select {
|
|
3365
3365
|
display: none;
|
|
3366
3366
|
}
|
|
3367
3367
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3368
|
-
.computed-wrap[data-v-
|
|
3368
|
+
.computed-wrap[data-v-7f4840a7] {
|
|
3369
3369
|
background: #f5f5f5;
|
|
3370
3370
|
}
|
|
3371
|
-
.computed-wrap .item[data-v-
|
|
3371
|
+
.computed-wrap .item[data-v-7f4840a7] {
|
|
3372
3372
|
display: flex;
|
|
3373
3373
|
}
|
|
3374
|
-
.computed-wrap .item > div[data-v-
|
|
3374
|
+
.computed-wrap .item > div[data-v-7f4840a7] {
|
|
3375
3375
|
height: 35px;
|
|
3376
3376
|
line-height: 35px;
|
|
3377
3377
|
flex: 1;
|
|
@@ -3379,129 +3379,129 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3379
3379
|
border-bottom: 1px solid #000;
|
|
3380
3380
|
text-align: center;
|
|
3381
3381
|
}
|
|
3382
|
-
.computed-wrap .item > div + div[data-v-
|
|
3382
|
+
.computed-wrap .item > div + div[data-v-7f4840a7] {
|
|
3383
3383
|
flex: 2;
|
|
3384
3384
|
}
|
|
3385
|
-
.layout .paper[data-v-
|
|
3385
|
+
.layout .paper[data-v-7f4840a7] {
|
|
3386
3386
|
position: relative;
|
|
3387
3387
|
}
|
|
3388
|
-
.layout .paper .form-title[data-v-
|
|
3388
|
+
.layout .paper .form-title[data-v-7f4840a7] {
|
|
3389
3389
|
text-align: center;
|
|
3390
3390
|
font-weight: 600;
|
|
3391
3391
|
font-size: 16px;
|
|
3392
3392
|
height: 40px;
|
|
3393
3393
|
}
|
|
3394
|
-
.row-item[data-v-
|
|
3394
|
+
.row-item[data-v-7f4840a7] {
|
|
3395
3395
|
height: -moz-fit-content;
|
|
3396
3396
|
height: fit-content;
|
|
3397
3397
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3398
3398
|
}
|
|
3399
|
-
.no-row-item[data-v-
|
|
3399
|
+
.no-row-item[data-v-7f4840a7] {
|
|
3400
3400
|
border-right: none;
|
|
3401
3401
|
border-bottom: none;
|
|
3402
3402
|
}
|
|
3403
3403
|
/****page边框内的 ***/
|
|
3404
|
-
.page-border[data-v-
|
|
3404
|
+
.page-border[data-v-7f4840a7] {
|
|
3405
3405
|
background: #fff;
|
|
3406
3406
|
box-sizing: border-box;
|
|
3407
3407
|
}
|
|
3408
|
-
.page-border .row-item[data-v-
|
|
3408
|
+
.page-border .row-item[data-v-7f4840a7]:first-child {
|
|
3409
3409
|
border-top: 1px solid #000;
|
|
3410
3410
|
}
|
|
3411
|
-
.page-border .row-item[data-v-
|
|
3411
|
+
.page-border .row-item[data-v-7f4840a7] {
|
|
3412
3412
|
border-left: 1px solid #000;
|
|
3413
3413
|
}
|
|
3414
|
-
.page-border .item-bottom[data-v-
|
|
3414
|
+
.page-border .item-bottom[data-v-7f4840a7] {
|
|
3415
3415
|
border-bottom: 1px solid #000;
|
|
3416
3416
|
}
|
|
3417
|
-
.page-border .row-item[data-v-
|
|
3417
|
+
.page-border .row-item[data-v-7f4840a7]:not(:last-child) {
|
|
3418
3418
|
position: relative;
|
|
3419
3419
|
}
|
|
3420
|
-
.page-border li.sortable-chosen[data-v-
|
|
3420
|
+
.page-border li.sortable-chosen[data-v-7f4840a7] {
|
|
3421
3421
|
height: 2px !important;
|
|
3422
3422
|
overflow: hidden !important;
|
|
3423
3423
|
background: red !important;
|
|
3424
3424
|
}
|
|
3425
|
-
.page-border .ant-time-picker-panel[data-v-
|
|
3425
|
+
.page-border .ant-time-picker-panel[data-v-7f4840a7] {
|
|
3426
3426
|
z-index: 200000 !important;
|
|
3427
3427
|
}
|
|
3428
|
-
.page-border .ant-calendar-picker-container[data-v-
|
|
3428
|
+
.page-border .ant-calendar-picker-container[data-v-7f4840a7] {
|
|
3429
3429
|
z-index: 200000 !important;
|
|
3430
3430
|
}
|
|
3431
|
-
[data-v-
|
|
3431
|
+
[data-v-7f4840a7] .ant-time-picker-panel {
|
|
3432
3432
|
z-index: 9999 !important;
|
|
3433
3433
|
}
|
|
3434
|
-
.ant-calendar-picker-container[data-v-
|
|
3434
|
+
.ant-calendar-picker-container[data-v-7f4840a7] {
|
|
3435
3435
|
z-index: 200000 !important;
|
|
3436
3436
|
}
|
|
3437
|
-
[data-v-
|
|
3437
|
+
[data-v-7f4840a7] .ant-form-item-children {
|
|
3438
3438
|
display: block;
|
|
3439
3439
|
}
|
|
3440
|
-
[data-v-
|
|
3440
|
+
[data-v-7f4840a7] .ant-form-item {
|
|
3441
3441
|
width: 100%;
|
|
3442
3442
|
height: 100%;
|
|
3443
3443
|
margin-bottom: 0;
|
|
3444
3444
|
display: flex;
|
|
3445
3445
|
}
|
|
3446
|
-
[data-v-
|
|
3446
|
+
[data-v-7f4840a7] .ant-form-item .is_required::before {
|
|
3447
3447
|
content: "*";
|
|
3448
3448
|
color: #f56c6c;
|
|
3449
3449
|
margin-right: 4px;
|
|
3450
3450
|
}
|
|
3451
|
-
[data-v-
|
|
3451
|
+
[data-v-7f4840a7] .ant-form-item .ant-form-item-label {
|
|
3452
3452
|
border-right: 1px solid #000;
|
|
3453
3453
|
}
|
|
3454
|
-
[data-v-
|
|
3454
|
+
[data-v-7f4840a7] .ant-form-item .ant-form-item-label label {
|
|
3455
3455
|
display: flex;
|
|
3456
3456
|
justify-content: center;
|
|
3457
3457
|
align-items: center;
|
|
3458
3458
|
height: 100%;
|
|
3459
3459
|
}
|
|
3460
|
-
[data-v-
|
|
3460
|
+
[data-v-7f4840a7] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
3461
3461
|
display: none;
|
|
3462
3462
|
}
|
|
3463
|
-
[data-v-
|
|
3463
|
+
[data-v-7f4840a7] .ant-form-item .ant-form-item-control-wrapper {
|
|
3464
3464
|
display: flex;
|
|
3465
3465
|
align-items: center;
|
|
3466
3466
|
text-align: left;
|
|
3467
3467
|
}
|
|
3468
|
-
[data-v-
|
|
3468
|
+
[data-v-7f4840a7] .ant-form-item .ant-form-item-control {
|
|
3469
3469
|
width: 98%;
|
|
3470
3470
|
margin: 0 auto;
|
|
3471
3471
|
}
|
|
3472
|
-
[data-v-
|
|
3472
|
+
[data-v-7f4840a7] .ant-form-item .is_required::before {
|
|
3473
3473
|
content: "*";
|
|
3474
3474
|
color: #f56c6c;
|
|
3475
3475
|
margin-right: 4px;
|
|
3476
3476
|
}
|
|
3477
|
-
.row-table[data-v-
|
|
3477
|
+
.row-table[data-v-7f4840a7] {
|
|
3478
3478
|
display: flex;
|
|
3479
3479
|
}
|
|
3480
|
-
.row-table[data-v-
|
|
3481
|
-
.row-table[data-v-
|
|
3480
|
+
.row-table[data-v-7f4840a7] .ant-spin-container,
|
|
3481
|
+
.row-table[data-v-7f4840a7] {
|
|
3482
3482
|
display: flex;
|
|
3483
3483
|
width: 100%;
|
|
3484
3484
|
}
|
|
3485
|
-
.row-table[data-v-
|
|
3486
|
-
.row-table .table-left[data-v-
|
|
3485
|
+
.row-table[data-v-7f4840a7] .ant-spin-container .table-left,
|
|
3486
|
+
.row-table .table-left[data-v-7f4840a7] {
|
|
3487
3487
|
width: 100px;
|
|
3488
3488
|
text-align: center;
|
|
3489
3489
|
border-right: 1px solid #333;
|
|
3490
3490
|
border-bottom: 1px solid #333;
|
|
3491
3491
|
position: relative;
|
|
3492
3492
|
}
|
|
3493
|
-
.row-table[data-v-
|
|
3494
|
-
.row-table .table-left p[data-v-
|
|
3493
|
+
.row-table[data-v-7f4840a7] .ant-spin-container .table-left p,
|
|
3494
|
+
.row-table .table-left p[data-v-7f4840a7] {
|
|
3495
3495
|
position: absolute;
|
|
3496
3496
|
top: 50%;
|
|
3497
3497
|
left: 50%;
|
|
3498
3498
|
transform: translate(-50%, -50%);
|
|
3499
3499
|
}
|
|
3500
|
-
.row-table[data-v-
|
|
3501
|
-
.row-table .table-right[data-v-
|
|
3500
|
+
.row-table[data-v-7f4840a7] .ant-spin-container .table-right,
|
|
3501
|
+
.row-table .table-right[data-v-7f4840a7] {
|
|
3502
3502
|
flex: 1;
|
|
3503
3503
|
}
|
|
3504
|
-
.table-content[data-v-
|
|
3504
|
+
.table-content[data-v-7f4840a7] {
|
|
3505
3505
|
width: 100%;
|
|
3506
3506
|
height: 40px;
|
|
3507
3507
|
line-height: 40px;
|
|
@@ -3510,11 +3510,11 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3510
3510
|
border-bottom: 1px solid #333;
|
|
3511
3511
|
border-right: 1px solid #333;
|
|
3512
3512
|
}
|
|
3513
|
-
.sub-table-col[data-v-
|
|
3513
|
+
.sub-table-col[data-v-7f4840a7] {
|
|
3514
3514
|
display: flex;
|
|
3515
3515
|
box-sizing: border-box;
|
|
3516
3516
|
}
|
|
3517
|
-
.sub-table-col > span[data-v-
|
|
3517
|
+
.sub-table-col > span[data-v-7f4840a7] {
|
|
3518
3518
|
flex: 2;
|
|
3519
3519
|
border-bottom: 1px solid #000;
|
|
3520
3520
|
border-right: 1px solid #000;
|
|
@@ -3522,22 +3522,22 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3522
3522
|
line-height: 40px;
|
|
3523
3523
|
text-align: center;
|
|
3524
3524
|
}
|
|
3525
|
-
.sub-table-col > .last-one[data-v-
|
|
3525
|
+
.sub-table-col > .last-one[data-v-7f4840a7] {
|
|
3526
3526
|
width: 87px;
|
|
3527
3527
|
flex: 0 0 87px;
|
|
3528
3528
|
border-right: 1px solid #333;
|
|
3529
3529
|
border-bottom: 1px solid #333;
|
|
3530
3530
|
}
|
|
3531
|
-
.sub-table-col-no-border > span[data-v-
|
|
3531
|
+
.sub-table-col-no-border > span[data-v-7f4840a7] {
|
|
3532
3532
|
border: none;
|
|
3533
3533
|
height: auto;
|
|
3534
3534
|
width: 0;
|
|
3535
3535
|
}
|
|
3536
|
-
.sub-table-col-no-border > .sub-table-title[data-v-
|
|
3537
|
-
.sub-table-col-no-border > .sub-table-item[data-v-
|
|
3536
|
+
.sub-table-col-no-border > .sub-table-title[data-v-7f4840a7]:last-child,
|
|
3537
|
+
.sub-table-col-no-border > .sub-table-item[data-v-7f4840a7]:last-child {
|
|
3538
3538
|
border-right: none !important;
|
|
3539
3539
|
}
|
|
3540
|
-
.sub-table-col-no-border > .last-one[data-v-
|
|
3540
|
+
.sub-table-col-no-border > .last-one[data-v-7f4840a7] {
|
|
3541
3541
|
width: 87px;
|
|
3542
3542
|
flex: 0 0 87px;
|
|
3543
3543
|
display: flex;
|
|
@@ -3545,33 +3545,33 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3545
3545
|
align-items: center;
|
|
3546
3546
|
}
|
|
3547
3547
|
/*****无border *****/
|
|
3548
|
-
.no-border .page-border[data-v-
|
|
3548
|
+
.no-border .page-border[data-v-7f4840a7] {
|
|
3549
3549
|
border: none;
|
|
3550
3550
|
}
|
|
3551
|
-
.no-border .page-border .row-item[data-v-
|
|
3551
|
+
.no-border .page-border .row-item[data-v-7f4840a7]:not(:last-child) {
|
|
3552
3552
|
border: none;
|
|
3553
3553
|
}
|
|
3554
|
-
.no-border .page-border[data-v-
|
|
3554
|
+
.no-border .page-border[data-v-7f4840a7] .ant-form-item .ant-form-item-label {
|
|
3555
3555
|
border: none;
|
|
3556
3556
|
}
|
|
3557
|
-
.table_border[data-v-
|
|
3557
|
+
.table_border[data-v-7f4840a7] {
|
|
3558
3558
|
border-bottom: 0;
|
|
3559
3559
|
border-right: 0;
|
|
3560
3560
|
}
|
|
3561
3561
|
/*****无border *****/
|
|
3562
|
-
[data-v-
|
|
3562
|
+
[data-v-7f4840a7] .ant-form-item-children > div > p,[data-v-7f4840a7] .ant-form-item-children > div > h1,[data-v-7f4840a7] .ant-form-item-children > div > h2,[data-v-7f4840a7] .ant-form-item-children > div > h3,[data-v-7f4840a7] .ant-form-item-children > div > h4,[data-v-7f4840a7] .ant-form-item-children > div > h5,[data-v-7f4840a7] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
|
|
3563
3563
|
margin: 10px 0;
|
|
3564
3564
|
line-height: 1.5;
|
|
3565
3565
|
}
|
|
3566
|
-
[data-v-
|
|
3566
|
+
[data-v-7f4840a7] .ant-spin-dot {
|
|
3567
3567
|
font-size: 20px !important;
|
|
3568
3568
|
}
|
|
3569
|
-
.form_skeleton[data-v-
|
|
3569
|
+
.form_skeleton[data-v-7f4840a7] {
|
|
3570
3570
|
display: block;
|
|
3571
3571
|
width: 700px;
|
|
3572
3572
|
margin: 55px auto;
|
|
3573
3573
|
}
|
|
3574
|
-
.form_skeleton[data-v-
|
|
3574
|
+
.form_skeleton[data-v-7f4840a7] .ant-skeleton-title {
|
|
3575
3575
|
margin: 0 auto;
|
|
3576
3576
|
}
|
|
3577
3577
|
|
|
@@ -59886,7 +59886,7 @@ Sortable.mount(Remove, Revert);
|
|
|
59886
59886
|
/* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38);
|
|
59887
59887
|
/* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(6955);
|
|
59888
59888
|
/* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5611);
|
|
59889
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
59889
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3662);
|
|
59890
59890
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2980);
|
|
59891
59891
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
59892
59892
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7203);
|
|
@@ -60331,9 +60331,6 @@ Sortable.mount(Remove, Revert);
|
|
|
60331
60331
|
height: height ? `${height}px !important` : undefined,
|
|
60332
60332
|
color: color ? color + '!important' : undefined
|
|
60333
60333
|
};
|
|
60334
|
-
},
|
|
60335
|
-
m_isCorrectAudit() {
|
|
60336
|
-
return this.isCorrectAudit() && window._CONFIG.JCTJBT != true;
|
|
60337
60334
|
}
|
|
60338
60335
|
},
|
|
60339
60336
|
data() {
|
|
@@ -60500,6 +60497,9 @@ Sortable.mount(Remove, Revert);
|
|
|
60500
60497
|
}
|
|
60501
60498
|
},
|
|
60502
60499
|
methods: {
|
|
60500
|
+
m_isCorrectAudit() {
|
|
60501
|
+
return this.isCorrect && window._CONFIG.JCTJBT;
|
|
60502
|
+
},
|
|
60503
60503
|
handleSubTableStyle(widget, col) {
|
|
60504
60504
|
if (widget.options.customSubWidth) {
|
|
60505
60505
|
const subWidth = col.subWidth;
|
|
@@ -60633,7 +60633,7 @@ Sortable.mount(Remove, Revert);
|
|
|
60633
60633
|
//校验表单 获取数据
|
|
60634
60634
|
getFormData() {
|
|
60635
60635
|
// 判断是否为 纠错审核内进来的, 纠错审核不用校验表单
|
|
60636
|
-
if (this.
|
|
60636
|
+
if (this.isCorrectAudit()) return Promise.resolve(this.models);
|
|
60637
60637
|
|
|
60638
60638
|
// 判断子表单内组件有没有必填的校验
|
|
60639
60639
|
const tables = this.findTableComponent(this.widgetList).filter(table => {
|
|
@@ -60898,7 +60898,7 @@ Sortable.mount(Remove, Revert);
|
|
|
60898
60898
|
if (!widget.options.canView) {
|
|
60899
60899
|
return callback();
|
|
60900
60900
|
}
|
|
60901
|
-
if (!item.options.canView || item.options.disabled && this.
|
|
60901
|
+
if (!item.options.canView || item.options.disabled && !this.m_isCorrectBt || !rule.required) {
|
|
60902
60902
|
return callback();
|
|
60903
60903
|
}
|
|
60904
60904
|
if (value === "" || value === undefined || value == null || Array.isArray(value) && !value.length) {
|
|
@@ -60934,7 +60934,7 @@ Sortable.mount(Remove, Revert);
|
|
|
60934
60934
|
...item,
|
|
60935
60935
|
validator: (rule, value, callback) => {
|
|
60936
60936
|
if (parentWidget && !parentWidget.options.canView) return callback();
|
|
60937
|
-
if (!widget.options.canView || widget.options.disabled && this.m_isCorrectAudit || !rule.required
|
|
60937
|
+
if (!widget.options.canView || widget.options.disabled && !this.m_isCorrectAudit() || !rule.required) {
|
|
60938
60938
|
return callback();
|
|
60939
60939
|
}
|
|
60940
60940
|
if (value === "" || value === undefined || value == null || Array.isArray(value) && !value.length) {
|
|
@@ -60951,9 +60951,9 @@ Sortable.mount(Remove, Revert);
|
|
|
60951
60951
|
return {
|
|
60952
60952
|
...item,
|
|
60953
60953
|
pattern: eval(item.pattern),
|
|
60954
|
-
asyncValidator(rule, value, callback, source, options) {
|
|
60954
|
+
asyncValidator: (rule, value, callback, source, options) => {
|
|
60955
60955
|
if (parentWidget && !parentWidget.options.canView) return callback();
|
|
60956
|
-
if (!widget.options.canView || widget.options.disabled && this.m_isCorrectAudit || !widget.options.canEdit
|
|
60956
|
+
if (!widget.options.canView || widget.options.disabled && !this.m_isCorrectAudit() || !widget.options.canEdit) {
|
|
60957
60957
|
return callback();
|
|
60958
60958
|
}
|
|
60959
60959
|
return rule.validator(rule, value, callback, source, options);
|
|
@@ -60962,9 +60962,9 @@ Sortable.mount(Remove, Revert);
|
|
|
60962
60962
|
} else {
|
|
60963
60963
|
return {
|
|
60964
60964
|
...item,
|
|
60965
|
-
asyncValidator(rule, value, callback, source, options) {
|
|
60965
|
+
asyncValidator: (rule, value, callback, source, options) => {
|
|
60966
60966
|
if (parentWidget && !parentWidget.options.canView) return callback();
|
|
60967
|
-
if (!widget.options.canView || widget.options.disabled && this.m_isCorrectAudit || !widget.options.canEdit
|
|
60967
|
+
if (!widget.options.canView || widget.options.disabled && !this.m_isCorrectAudit() || !widget.options.canEdit) {
|
|
60968
60968
|
return callback();
|
|
60969
60969
|
}
|
|
60970
60970
|
return rule.validator(rule, value, callback, source, options);
|
|
@@ -61969,7 +61969,7 @@ module.exports = {
|
|
|
61969
61969
|
|
|
61970
61970
|
/***/ }),
|
|
61971
61971
|
|
|
61972
|
-
/***/
|
|
61972
|
+
/***/ 3662:
|
|
61973
61973
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
61974
61974
|
|
|
61975
61975
|
"use strict";
|
|
@@ -77090,15 +77090,15 @@ var userSelectorByRole_widgetDesign_component = (0,componentNormalizer/* default
|
|
|
77090
77090
|
widgetSetup: userSelectorByRole_widgetSetup,
|
|
77091
77091
|
widgetDesign: userSelectorByRole_widgetDesign
|
|
77092
77092
|
});
|
|
77093
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=
|
|
77094
|
-
var
|
|
77093
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=01d7875d&scoped=true&
|
|
77094
|
+
var componentvue_type_template_id_01d7875d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",style:({ height: _vm.widget.options.height + 'px' })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('a-upload',{style:(_vm.size),attrs:{"action":_vm.actionUrl,"list-type":"picture-card","file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"preview":_vm.handlePreview,"change":_vm.handleChange}},[(
|
|
77095
77095
|
_vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)
|
|
77096
77096
|
)?_c('div',[_c('a-icon',{attrs:{"type":"plus"}}),_c('div',{staticClass:"ant-upload-text"},[_vm._v(_vm._s(_vm.widget.options.placeholder))])],1):_vm._e()]),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])]),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
77097
77097
|
_vm.config.align,
|
|
77098
77098
|
_vm.config.validate === true && _vm.widget.options.required === true
|
|
77099
77099
|
? 'is_required'
|
|
77100
77100
|
: 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]):_vm._e()],1)],1):_vm._e()}
|
|
77101
|
-
var
|
|
77101
|
+
var componentvue_type_template_id_01d7875d_scoped_true_staticRenderFns = []
|
|
77102
77102
|
|
|
77103
77103
|
|
|
77104
77104
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.32.1@core-js/modules/es.string.replace-all.js
|
|
@@ -77242,8 +77242,6 @@ function getBase64(file) {
|
|
|
77242
77242
|
height
|
|
77243
77243
|
} = this.widget.options.size;
|
|
77244
77244
|
return {
|
|
77245
|
-
width: width + 'px',
|
|
77246
|
-
height: height + 'px',
|
|
77247
77245
|
'--img-upload-list-item-width': width + 'px',
|
|
77248
77246
|
'--img-upload-list-item-height': height + 'px'
|
|
77249
77247
|
};
|
|
@@ -77387,10 +77385,10 @@ function getBase64(file) {
|
|
|
77387
77385
|
});
|
|
77388
77386
|
;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=script&lang=js&
|
|
77389
77387
|
/* harmony default export */ const components_ImgUpload_componentvue_type_script_lang_js_ = (ImgUpload_componentvue_type_script_lang_js_);
|
|
77390
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=
|
|
77388
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=01d7875d&prod&lang=less&scoped=true&
|
|
77391
77389
|
// extracted by mini-css-extract-plugin
|
|
77392
77390
|
|
|
77393
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=
|
|
77391
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=01d7875d&prod&lang=less&scoped=true&
|
|
77394
77392
|
|
|
77395
77393
|
;// CONCATENATED MODULE: ./src/form/modules/components/ImgUpload/component.vue
|
|
77396
77394
|
|
|
@@ -77403,11 +77401,11 @@ function getBase64(file) {
|
|
|
77403
77401
|
|
|
77404
77402
|
var ImgUpload_component_component = (0,componentNormalizer/* default */.Z)(
|
|
77405
77403
|
components_ImgUpload_componentvue_type_script_lang_js_,
|
|
77406
|
-
|
|
77407
|
-
|
|
77404
|
+
componentvue_type_template_id_01d7875d_scoped_true_render,
|
|
77405
|
+
componentvue_type_template_id_01d7875d_scoped_true_staticRenderFns,
|
|
77408
77406
|
false,
|
|
77409
77407
|
null,
|
|
77410
|
-
"
|
|
77408
|
+
"01d7875d",
|
|
77411
77409
|
null
|
|
77412
77410
|
|
|
77413
77411
|
)
|
|
@@ -123893,7 +123891,7 @@ var CorrectionItemvue_type_template_id_5e8c04b6_scoped_true_staticRenderFns = []
|
|
|
123893
123891
|
|
|
123894
123892
|
|
|
123895
123893
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 878 modules
|
|
123896
|
-
var components = __webpack_require__(
|
|
123894
|
+
var components = __webpack_require__(3662);
|
|
123897
123895
|
;// 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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js&
|
|
123898
123896
|
//
|
|
123899
123897
|
//
|
|
@@ -125766,7 +125764,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
125766
125764
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
125767
125765
|
var manage = __webpack_require__(1474);
|
|
125768
125766
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 878 modules
|
|
125769
|
-
var components = __webpack_require__(
|
|
125767
|
+
var components = __webpack_require__(3662);
|
|
125770
125768
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
125771
125769
|
var Bus = __webpack_require__(767);
|
|
125772
125770
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -128955,7 +128953,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
|
|
|
128955
128953
|
/***/ ((module) => {
|
|
128956
128954
|
|
|
128957
128955
|
"use strict";
|
|
128958
|
-
module.exports = {"i8":"1.1.
|
|
128956
|
+
module.exports = {"i8":"1.1.211"};
|
|
128959
128957
|
|
|
128960
128958
|
/***/ })
|
|
128961
128959
|
|
|
@@ -129108,7 +129106,7 @@ var aesEncrypt = __webpack_require__(3488);
|
|
|
129108
129106
|
encry_http_v1: encry_http/* encry_http_v1 */.b,
|
|
129109
129107
|
encryption_v1: aesEncrypt/* encryption_v1 */.iv
|
|
129110
129108
|
});
|
|
129111
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=
|
|
129109
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=7f4840a7&scoped=true&
|
|
129112
129110
|
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')?[(
|
|
129113
129111
|
widget.options.layoutModel === 'auto' ||
|
|
129114
129112
|
widget.options.layoutModel === undefined
|
|
@@ -129144,15 +129142,15 @@ var staticRenderFns = []
|
|
|
129144
129142
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(1936);
|
|
129145
129143
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
129146
129144
|
/* harmony default export */ const layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
129147
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
129145
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=7f4840a7&prod&lang=less&scoped=true&
|
|
129148
129146
|
// extracted by mini-css-extract-plugin
|
|
129149
129147
|
|
|
129150
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
129148
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=7f4840a7&prod&lang=less&scoped=true&
|
|
129151
129149
|
|
|
129152
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
129150
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=7f4840a7&prod&lang=css&
|
|
129153
129151
|
// extracted by mini-css-extract-plugin
|
|
129154
129152
|
|
|
129155
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
129153
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=7f4840a7&prod&lang=css&
|
|
129156
129154
|
|
|
129157
129155
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/runtime/componentNormalizer.js
|
|
129158
129156
|
var componentNormalizer = __webpack_require__(7506);
|
|
@@ -129172,7 +129170,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
129172
129170
|
staticRenderFns,
|
|
129173
129171
|
false,
|
|
129174
129172
|
null,
|
|
129175
|
-
"
|
|
129173
|
+
"7f4840a7",
|
|
129176
129174
|
null
|
|
129177
129175
|
|
|
129178
129176
|
)
|
|
@@ -130517,7 +130515,7 @@ var es_array_sort = __webpack_require__(1702);
|
|
|
130517
130515
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
130518
130516
|
var util = __webpack_require__(6955);
|
|
130519
130517
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 878 modules
|
|
130520
|
-
var components = __webpack_require__(
|
|
130518
|
+
var components = __webpack_require__(3662);
|
|
130521
130519
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
130522
130520
|
var manage = __webpack_require__(1474);
|
|
130523
130521
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|