@zscreate/form-component 1.1.221-test.2 → 1.1.221-test.4
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 +117 -85
- package/dist/form-component.umd.js +6 -6
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -310,11 +310,11 @@
|
|
|
310
310
|
min-height: 32px !important;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
.content .left[data-v-
|
|
313
|
+
.content .left[data-v-eafa6a04] {
|
|
314
314
|
width: 90%;
|
|
315
315
|
border-right: 1px solid #ccc;
|
|
316
316
|
}
|
|
317
|
-
.content .no-data[data-v-
|
|
317
|
+
.content .no-data[data-v-eafa6a04] {
|
|
318
318
|
display: flex;
|
|
319
319
|
height: 100%;
|
|
320
320
|
justify-content: center;
|
|
@@ -367,6 +367,30 @@
|
|
|
367
367
|
height: 178px !important;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
+
|
|
371
|
+
.datasetManagement[data-v-14b8ab14] {
|
|
372
|
+
-webkit-user-select: none;
|
|
373
|
+
-moz-user-select: none;
|
|
374
|
+
user-select: none;
|
|
375
|
+
}
|
|
376
|
+
.content[data-v-14b8ab14] {
|
|
377
|
+
margin-top: 20px;
|
|
378
|
+
}
|
|
379
|
+
.classificationItem[data-v-14b8ab14] {
|
|
380
|
+
background-color: #e6f7ff;
|
|
381
|
+
}
|
|
382
|
+
.ellipsis[data-v-14b8ab14] {
|
|
383
|
+
margin: 5px 0;
|
|
384
|
+
white-space: nowrap;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
text-overflow: ellipsis;
|
|
387
|
+
/* cursor: pointer; */
|
|
388
|
+
}
|
|
389
|
+
.ellipsis[data-v-14b8ab14]:hover {
|
|
390
|
+
background-color: #e6f7ff;
|
|
391
|
+
cursor: pointer;
|
|
392
|
+
}
|
|
393
|
+
|
|
370
394
|
.is_required[data-v-25d3bce4]::before {
|
|
371
395
|
content: "*";
|
|
372
396
|
color: #f56c6c;
|
|
@@ -2275,41 +2299,49 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
2275
2299
|
align-items: center;
|
|
2276
2300
|
}
|
|
2277
2301
|
|
|
2278
|
-
.
|
|
2302
|
+
.title[data-v-713f9ef2] {
|
|
2303
|
+
text-overflow: ellipsis;
|
|
2304
|
+
white-space: nowrap;
|
|
2305
|
+
overflow: hidden;
|
|
2306
|
+
max-width: 620px;
|
|
2307
|
+
margin-right: 10px;
|
|
2308
|
+
}
|
|
2309
|
+
.dataTableSet[data-v-713f9ef2] .ant-table-placeholder {
|
|
2279
2310
|
border-left: none !important;
|
|
2280
2311
|
border-right: none !important;
|
|
2281
2312
|
border-bottom: none !important;
|
|
2282
2313
|
padding: 0 !important;
|
|
2283
2314
|
padding-top: var(--paddingTop) !important;
|
|
2284
2315
|
}
|
|
2285
|
-
.
|
|
2316
|
+
.dataSetFormItem[data-v-713f9ef2] .ant-form-item-control {
|
|
2317
|
+
margin: 0 !important;
|
|
2318
|
+
width: 100% !important;
|
|
2319
|
+
}
|
|
2320
|
+
.dataSetFormItem[data-v-713f9ef2] .ant-form-item-control-wrapper {
|
|
2321
|
+
display: initial !important;
|
|
2322
|
+
}
|
|
2323
|
+
.dataTableSet[data-v-713f9ef2] table {
|
|
2286
2324
|
border-left: none !important;
|
|
2287
2325
|
border-right: none !important;
|
|
2288
2326
|
}
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
-webkit-user-select: none;
|
|
2293
|
-
-moz-user-select: none;
|
|
2294
|
-
user-select: none;
|
|
2327
|
+
.dataSetFormItem[data-v-713f9ef2] .ant-form-explain {
|
|
2328
|
+
top: 49px !important;
|
|
2329
|
+
left: 50% !important;
|
|
2295
2330
|
}
|
|
2296
|
-
.
|
|
2297
|
-
|
|
2331
|
+
.dataTableSet[data-v-713f9ef2] .ant-table-tbody tr td:last-child {
|
|
2332
|
+
border-right: none !important;
|
|
2298
2333
|
}
|
|
2299
|
-
.
|
|
2300
|
-
|
|
2334
|
+
.dataTableSet[data-v-713f9ef2] .ant-table-thead tr th:last-child {
|
|
2335
|
+
border-right: none !important;
|
|
2301
2336
|
}
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2337
|
+
|
|
2338
|
+
.title[data-v-40f40d52] {
|
|
2339
|
+
text-overflow: ellipsis;
|
|
2340
|
+
white-space: nowrap;
|
|
2341
|
+
overflow: hidden;
|
|
2342
|
+
max-width: 620px;
|
|
2343
|
+
margin-right: 10px;
|
|
2308
2344
|
}
|
|
2309
|
-
.ellipsis[data-v-7ce5eb14]:hover {
|
|
2310
|
-
background-color: #e6f7ff;
|
|
2311
|
-
cursor: pointer;
|
|
2312
|
-
}
|
|
2313
2345
|
|
|
2314
2346
|
.mydiy[data-v-330b4adb] {
|
|
2315
2347
|
z-index: 9999 !important;
|
|
@@ -3742,97 +3774,97 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3742
3774
|
opacity: 0.6;
|
|
3743
3775
|
}
|
|
3744
3776
|
|
|
3745
|
-
.paper[data-v-
|
|
3777
|
+
.paper[data-v-36bb8492] * {
|
|
3746
3778
|
font-size: var(--paperFontSize);
|
|
3747
3779
|
}
|
|
3748
|
-
.paper .form-title[data-v-
|
|
3780
|
+
.paper .form-title[data-v-36bb8492] {
|
|
3749
3781
|
text-align: center;
|
|
3750
3782
|
font-weight: 600;
|
|
3751
3783
|
font-size: 16px;
|
|
3752
3784
|
height: 40px;
|
|
3753
3785
|
}
|
|
3754
|
-
[data-v-
|
|
3786
|
+
[data-v-36bb8492] .vue-grid-layout {
|
|
3755
3787
|
z-index: 2;
|
|
3756
3788
|
}
|
|
3757
|
-
[data-v-
|
|
3789
|
+
[data-v-36bb8492] .vue-grid-item {
|
|
3758
3790
|
border: 1px dashed #ccc;
|
|
3759
3791
|
box-sizing: border-box;
|
|
3760
3792
|
background-color: #fff;
|
|
3761
3793
|
}
|
|
3762
|
-
[data-v-
|
|
3794
|
+
[data-v-36bb8492] .ant-form-item {
|
|
3763
3795
|
width: 100%;
|
|
3764
3796
|
height: 100%;
|
|
3765
3797
|
margin-bottom: 0;
|
|
3766
3798
|
}
|
|
3767
|
-
[data-v-
|
|
3799
|
+
[data-v-36bb8492] .ant-form-item .ant-form-item-label {
|
|
3768
3800
|
height: 100%;
|
|
3769
3801
|
position: absolute;
|
|
3770
3802
|
left: 0;
|
|
3771
3803
|
top: 0;
|
|
3772
3804
|
border-right: 1px solid var(--designBorderColor);
|
|
3773
3805
|
}
|
|
3774
|
-
[data-v-
|
|
3806
|
+
[data-v-36bb8492] .ant-form-item .ant-form-item-label label {
|
|
3775
3807
|
display: flex;
|
|
3776
3808
|
justify-content: center;
|
|
3777
3809
|
align-items: center;
|
|
3778
3810
|
height: 100%;
|
|
3779
3811
|
}
|
|
3780
|
-
[data-v-
|
|
3812
|
+
[data-v-36bb8492] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
3781
3813
|
display: none;
|
|
3782
3814
|
}
|
|
3783
|
-
[data-v-
|
|
3815
|
+
[data-v-36bb8492] .ant-form-item .ant-form-item-control-wrapper {
|
|
3784
3816
|
height: 100%;
|
|
3785
3817
|
float: right;
|
|
3786
3818
|
display: flex;
|
|
3787
3819
|
align-items: center;
|
|
3788
3820
|
}
|
|
3789
|
-
[data-v-
|
|
3821
|
+
[data-v-36bb8492] .ant-form-item .ant-form-item-control {
|
|
3790
3822
|
width: 98%;
|
|
3791
3823
|
margin: 0 auto;
|
|
3792
3824
|
}
|
|
3793
|
-
.is_required[data-v-
|
|
3825
|
+
.is_required[data-v-36bb8492]::before {
|
|
3794
3826
|
content: "*";
|
|
3795
3827
|
color: #f56c6c;
|
|
3796
3828
|
margin-right: 4px;
|
|
3797
3829
|
}
|
|
3798
|
-
.widget-form-list[data-v-
|
|
3830
|
+
.widget-form-list[data-v-36bb8492] {
|
|
3799
3831
|
background: #fff;
|
|
3800
3832
|
box-sizing: border-box;
|
|
3801
3833
|
}
|
|
3802
|
-
.widget-form-list .row-item[data-v-
|
|
3834
|
+
.widget-form-list .row-item[data-v-36bb8492]:first-child {
|
|
3803
3835
|
border-top: 1px solid var(--designBorderColor);
|
|
3804
3836
|
}
|
|
3805
|
-
.widget-form-list .row-item[data-v-
|
|
3837
|
+
.widget-form-list .row-item[data-v-36bb8492] {
|
|
3806
3838
|
border-bottom: 1px solid var(--designBorderColor);
|
|
3807
3839
|
}
|
|
3808
|
-
.widget-form-list .row-item[data-v-
|
|
3840
|
+
.widget-form-list .row-item[data-v-36bb8492] {
|
|
3809
3841
|
border-right: 1px solid var(--designBorderColor);
|
|
3810
3842
|
border-left: 1px solid var(--designBorderColor);
|
|
3811
3843
|
}
|
|
3812
|
-
.widget-form-list .item-bottom[data-v-
|
|
3844
|
+
.widget-form-list .item-bottom[data-v-36bb8492] {
|
|
3813
3845
|
border-bottom: 1px solid var(--designBorderColor);
|
|
3814
3846
|
}
|
|
3815
|
-
.widget-form-list .no-row-item[data-v-
|
|
3847
|
+
.widget-form-list .no-row-item[data-v-36bb8492] {
|
|
3816
3848
|
border-right: none;
|
|
3817
3849
|
border-bottom: none !important;
|
|
3818
3850
|
}
|
|
3819
|
-
.widget-form-list .no-row-item .widget-form-list[data-v-
|
|
3851
|
+
.widget-form-list .no-row-item .widget-form-list[data-v-36bb8492] {
|
|
3820
3852
|
border-top: none !important;
|
|
3821
3853
|
border-right: none;
|
|
3822
3854
|
}
|
|
3823
|
-
.widget-form-list .widget-grid[data-v-
|
|
3855
|
+
.widget-form-list .widget-grid[data-v-36bb8492] {
|
|
3824
3856
|
background: #f4f6fc;
|
|
3825
3857
|
position: relative;
|
|
3826
3858
|
border-left: 5px solid transparent;
|
|
3827
3859
|
padding: 5px;
|
|
3828
3860
|
margin: 0 !important;
|
|
3829
3861
|
}
|
|
3830
|
-
.widget-form-list .widget-grid.active[data-v-
|
|
3862
|
+
.widget-form-list .widget-grid.active[data-v-36bb8492] {
|
|
3831
3863
|
outline: 2px solid #409eff;
|
|
3832
3864
|
border: 1px solid #409eff;
|
|
3833
3865
|
background: #b3d8ff;
|
|
3834
3866
|
}
|
|
3835
|
-
.widget-form-list .widget-grid .grid-background[data-v-
|
|
3867
|
+
.widget-form-list .widget-grid .grid-background[data-v-36bb8492] {
|
|
3836
3868
|
position: absolute;
|
|
3837
3869
|
z-index: 1;
|
|
3838
3870
|
top: 0;
|
|
@@ -3843,85 +3875,85 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3843
3875
|
height: 100%;
|
|
3844
3876
|
padding: 5px 5px 10px 5px;
|
|
3845
3877
|
}
|
|
3846
|
-
.widget-form-list .widget-grid .grid-background .rows[data-v-
|
|
3878
|
+
.widget-form-list .widget-grid .grid-background .rows[data-v-36bb8492] {
|
|
3847
3879
|
border-bottom: 1px dashed #ccc;
|
|
3848
3880
|
border-left: 1px dashed #ccc;
|
|
3849
3881
|
box-sizing: border-box;
|
|
3850
3882
|
overflow: hidden;
|
|
3851
3883
|
}
|
|
3852
|
-
.widget-form-list .widget-grid .grid-background .rows[data-v-
|
|
3884
|
+
.widget-form-list .widget-grid .grid-background .rows[data-v-36bb8492]:first-child {
|
|
3853
3885
|
border-top: 1px dashed #ccc;
|
|
3854
3886
|
}
|
|
3855
|
-
.widget-form-list .widget-grid .grid-background .rows .columns[data-v-
|
|
3887
|
+
.widget-form-list .widget-grid .grid-background .rows .columns[data-v-36bb8492] {
|
|
3856
3888
|
float: left;
|
|
3857
3889
|
border-right: 1px dashed #ccc;
|
|
3858
3890
|
min-height: 40px;
|
|
3859
3891
|
box-sizing: border-box;
|
|
3860
3892
|
}
|
|
3861
|
-
.widget-form-list .row_table[data-v-
|
|
3893
|
+
.widget-form-list .row_table[data-v-36bb8492] {
|
|
3862
3894
|
min-height: 60px;
|
|
3863
3895
|
position: relative;
|
|
3864
3896
|
}
|
|
3865
|
-
.widget-form-list li.sortable-chosen[data-v-
|
|
3897
|
+
.widget-form-list li.sortable-chosen[data-v-36bb8492] {
|
|
3866
3898
|
height: 2px !important;
|
|
3867
3899
|
overflow: hidden !important;
|
|
3868
3900
|
background: red !important;
|
|
3869
3901
|
}
|
|
3870
|
-
.widget-form-list .widget-col-list[data-v-
|
|
3902
|
+
.widget-form-list .widget-col-list[data-v-36bb8492] {
|
|
3871
3903
|
min-height: 50px;
|
|
3872
3904
|
border: 1px dashed #ccc;
|
|
3873
3905
|
background: #fff;
|
|
3874
3906
|
}
|
|
3875
|
-
.widget-form-list .widget-col[data-v-
|
|
3907
|
+
.widget-form-list .widget-col[data-v-36bb8492] {
|
|
3876
3908
|
padding-bottom: 0;
|
|
3877
3909
|
padding: 5px;
|
|
3878
3910
|
background-color: rgba(253, 246, 236, 0.3);
|
|
3879
3911
|
}
|
|
3880
|
-
.grid-lay-out-wrap .widget-col-list[data-v-
|
|
3912
|
+
.grid-lay-out-wrap .widget-col-list[data-v-36bb8492] {
|
|
3881
3913
|
width: 100%;
|
|
3882
3914
|
height: 100%;
|
|
3883
3915
|
min-height: 40px;
|
|
3884
3916
|
border: none;
|
|
3885
3917
|
}
|
|
3886
|
-
.widget-form-ocuupied[data-v-
|
|
3918
|
+
.widget-form-ocuupied[data-v-36bb8492] {
|
|
3887
3919
|
min-height: 540px;
|
|
3888
3920
|
border: none;
|
|
3889
3921
|
}
|
|
3890
|
-
.drag_table[data-v-
|
|
3922
|
+
.drag_table[data-v-36bb8492] {
|
|
3891
3923
|
width: calc(100% - 100px);
|
|
3892
3924
|
height: 100%;
|
|
3893
3925
|
display: flex;
|
|
3894
3926
|
overflow-y: scroll;
|
|
3895
3927
|
}
|
|
3896
|
-
.drag_table[data-v-
|
|
3928
|
+
.drag_table[data-v-36bb8492]::-webkit-scrollbar {
|
|
3897
3929
|
width: 3px;
|
|
3898
3930
|
height: 3px;
|
|
3899
3931
|
}
|
|
3900
|
-
.drag_table[data-v-
|
|
3932
|
+
.drag_table[data-v-36bb8492]::-webkit-scrollbar-track {
|
|
3901
3933
|
background: #fff;
|
|
3902
3934
|
border-radius: 2px;
|
|
3903
3935
|
}
|
|
3904
|
-
.drag_table[data-v-
|
|
3936
|
+
.drag_table[data-v-36bb8492]::-webkit-scrollbar-thumb {
|
|
3905
3937
|
background: #cdcdcd;
|
|
3906
3938
|
border-radius: 8px;
|
|
3907
3939
|
}
|
|
3908
|
-
.drag_table[data-v-
|
|
3940
|
+
.drag_table[data-v-36bb8492]::-webkit-scrollbar-thumb:hover {
|
|
3909
3941
|
background: #cdcdcd;
|
|
3910
3942
|
}
|
|
3911
|
-
.drag_table[data-v-
|
|
3943
|
+
.drag_table[data-v-36bb8492]::-webkit-scrollbar-corner {
|
|
3912
3944
|
background: #cdcdcd;
|
|
3913
3945
|
}
|
|
3914
|
-
.widget-form-ocuupied[data-v-
|
|
3946
|
+
.widget-form-ocuupied[data-v-36bb8492] {
|
|
3915
3947
|
min-height: 540px;
|
|
3916
3948
|
border: none;
|
|
3917
3949
|
}
|
|
3918
|
-
.table_label[data-v-
|
|
3950
|
+
.table_label[data-v-36bb8492] {
|
|
3919
3951
|
width: 100px;
|
|
3920
3952
|
min-width: 100px;
|
|
3921
3953
|
height: 100%;
|
|
3922
3954
|
text-align: right;
|
|
3923
3955
|
}
|
|
3924
|
-
.widget-view-model[data-v-
|
|
3956
|
+
.widget-view-model[data-v-36bb8492] {
|
|
3925
3957
|
position: absolute;
|
|
3926
3958
|
top: 0px;
|
|
3927
3959
|
right: 3px;
|
|
@@ -3931,12 +3963,12 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3931
3963
|
opacity: 0.6;
|
|
3932
3964
|
}
|
|
3933
3965
|
/**selectedWidget active*/
|
|
3934
|
-
[data-v-
|
|
3966
|
+
[data-v-36bb8492] .active {
|
|
3935
3967
|
outline: 2px solid #539dfa;
|
|
3936
3968
|
box-shadow: 0 0 5px #539dfa;
|
|
3937
3969
|
position: relative;
|
|
3938
3970
|
}
|
|
3939
|
-
[data-v-
|
|
3971
|
+
[data-v-36bb8492] .active .widget-view-drag {
|
|
3940
3972
|
position: absolute;
|
|
3941
3973
|
left: -2px;
|
|
3942
3974
|
top: -2px;
|
|
@@ -3950,7 +3982,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3950
3982
|
color: #ffffff;
|
|
3951
3983
|
cursor: move;
|
|
3952
3984
|
}
|
|
3953
|
-
[data-v-
|
|
3985
|
+
[data-v-36bb8492] .active .widget-view-action {
|
|
3954
3986
|
width: 70px;
|
|
3955
3987
|
position: absolute;
|
|
3956
3988
|
right: 0px;
|
|
@@ -3963,7 +3995,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3963
3995
|
background: transparent;
|
|
3964
3996
|
color: #fff;
|
|
3965
3997
|
}
|
|
3966
|
-
[data-v-
|
|
3998
|
+
[data-v-36bb8492] .active .widget-view-action .iconfont {
|
|
3967
3999
|
width: 25px;
|
|
3968
4000
|
height: 25px;
|
|
3969
4001
|
border-radius: 50%;
|
|
@@ -3973,17 +4005,17 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3973
4005
|
font-size: 14px;
|
|
3974
4006
|
justify-content: center;
|
|
3975
4007
|
}
|
|
3976
|
-
[data-v-
|
|
4008
|
+
[data-v-36bb8492] .active .widget-view-action .icon-icon_clone {
|
|
3977
4009
|
background: red;
|
|
3978
4010
|
}
|
|
3979
|
-
[data-v-
|
|
4011
|
+
[data-v-36bb8492] .active .widget-view-action .icon-trash {
|
|
3980
4012
|
margin-left: 20px;
|
|
3981
4013
|
}
|
|
3982
|
-
.widget-form-list .widget-view[data-v-
|
|
4014
|
+
.widget-form-list .widget-view[data-v-36bb8492] {
|
|
3983
4015
|
z-index: 8;
|
|
3984
4016
|
position: relative;
|
|
3985
4017
|
}
|
|
3986
|
-
.widget-form-list .widget-view .widget-view-action[data-v-
|
|
4018
|
+
.widget-form-list .widget-view .widget-view-action[data-v-36bb8492] {
|
|
3987
4019
|
position: absolute;
|
|
3988
4020
|
right: 0px;
|
|
3989
4021
|
bottom: 0;
|
|
@@ -3995,7 +4027,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3995
4027
|
background: transparent;
|
|
3996
4028
|
color: #fff;
|
|
3997
4029
|
}
|
|
3998
|
-
.widget-form-list .widget-view .widget-view-action .iconfont[data-v-
|
|
4030
|
+
.widget-form-list .widget-view .widget-view-action .iconfont[data-v-36bb8492] {
|
|
3999
4031
|
width: 25px;
|
|
4000
4032
|
height: 25px;
|
|
4001
4033
|
border-radius: 50%;
|
|
@@ -4005,13 +4037,13 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
4005
4037
|
font-size: 14px;
|
|
4006
4038
|
justify-content: center;
|
|
4007
4039
|
}
|
|
4008
|
-
.widget-form-list .widget-view .widget-view-action .icon-icon_clone[data-v-
|
|
4040
|
+
.widget-form-list .widget-view .widget-view-action .icon-icon_clone[data-v-36bb8492] {
|
|
4009
4041
|
background: red;
|
|
4010
4042
|
}
|
|
4011
|
-
.widget-form-list .widget-view .widget-view-action .icon-trash[data-v-
|
|
4043
|
+
.widget-form-list .widget-view .widget-view-action .icon-trash[data-v-36bb8492] {
|
|
4012
4044
|
margin-left: 20px;
|
|
4013
4045
|
}
|
|
4014
|
-
.widget-form-list .widget-view .widget-view-drag[data-v-
|
|
4046
|
+
.widget-form-list .widget-view .widget-view-drag[data-v-36bb8492] {
|
|
4015
4047
|
position: absolute;
|
|
4016
4048
|
left: -2px;
|
|
4017
4049
|
top: -2px;
|
|
@@ -4021,30 +4053,30 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
4021
4053
|
background: #409eff;
|
|
4022
4054
|
z-index: 9;
|
|
4023
4055
|
}
|
|
4024
|
-
.widget-form-list .widget-view .widget-view-drag i[data-v-
|
|
4056
|
+
.widget-form-list .widget-view .widget-view-drag i[data-v-36bb8492] {
|
|
4025
4057
|
font-size: 14px;
|
|
4026
4058
|
color: #fff;
|
|
4027
4059
|
margin: 0 5px;
|
|
4028
4060
|
cursor: move;
|
|
4029
4061
|
}
|
|
4030
4062
|
/*****无border *****/
|
|
4031
|
-
.no-border .widget-form-list[data-v-
|
|
4063
|
+
.no-border .widget-form-list[data-v-36bb8492] {
|
|
4032
4064
|
border: none;
|
|
4033
4065
|
}
|
|
4034
|
-
.no-border .widget-form-list .row-item[data-v-
|
|
4066
|
+
.no-border .widget-form-list .row-item[data-v-36bb8492]:not(:last-child) {
|
|
4035
4067
|
border: none;
|
|
4036
4068
|
}
|
|
4037
|
-
.no-border .widget-form-list[data-v-
|
|
4069
|
+
.no-border .widget-form-list[data-v-36bb8492] .ant-form-item .ant-form-item-label {
|
|
4038
4070
|
border: 0;
|
|
4039
4071
|
}
|
|
4040
4072
|
/*****无border *****/
|
|
4041
4073
|
/***label对齐方式 */
|
|
4042
|
-
[data-v-
|
|
4074
|
+
[data-v-36bb8492] .custom_form_item .break {
|
|
4043
4075
|
white-space: normal;
|
|
4044
4076
|
word-break: break-all;
|
|
4045
4077
|
word-wrap: break-word;
|
|
4046
4078
|
}
|
|
4047
|
-
[data-v-
|
|
4079
|
+
[data-v-36bb8492] .custom_form_item .align-between {
|
|
4048
4080
|
white-space: normal;
|
|
4049
4081
|
word-break: break-all;
|
|
4050
4082
|
word-wrap: break-word;
|
|
@@ -4053,28 +4085,28 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
4053
4085
|
text-align-last: justify;
|
|
4054
4086
|
width: 80%;
|
|
4055
4087
|
}
|
|
4056
|
-
[data-v-
|
|
4088
|
+
[data-v-36bb8492] .custom_form_item .align-middle {
|
|
4057
4089
|
white-space: normal;
|
|
4058
4090
|
word-break: break-all;
|
|
4059
4091
|
word-wrap: break-word;
|
|
4060
4092
|
text-align: center;
|
|
4061
4093
|
width: 80%;
|
|
4062
4094
|
}
|
|
4063
|
-
[data-v-
|
|
4095
|
+
[data-v-36bb8492] .custom_form_item .align-left {
|
|
4064
4096
|
white-space: normal;
|
|
4065
4097
|
word-break: break-all;
|
|
4066
4098
|
word-wrap: break-word;
|
|
4067
4099
|
text-align: left;
|
|
4068
4100
|
width: 80%;
|
|
4069
4101
|
}
|
|
4070
|
-
[data-v-
|
|
4102
|
+
[data-v-36bb8492] .custom_form_item .align-right {
|
|
4071
4103
|
white-space: normal;
|
|
4072
4104
|
word-break: break-all;
|
|
4073
4105
|
word-wrap: break-word;
|
|
4074
4106
|
text-align: right;
|
|
4075
4107
|
width: 80%;
|
|
4076
4108
|
}
|
|
4077
|
-
[data-v-
|
|
4109
|
+
[data-v-36bb8492] .custom_form_item .align-center {
|
|
4078
4110
|
white-space: normal;
|
|
4079
4111
|
word-break: break-all;
|
|
4080
4112
|
word-wrap: break-word;
|
|
@@ -321,7 +321,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
321
321
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
322
322
|
|
|
323
323
|
"use strict";
|
|
324
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/mixins/JeecgListMixin */ \"./src/mixins/JeecgListMixin.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n mixins: [_mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__.JeecgListMixin],\n data() {\n return {\n queryParam: {},\n columns: [{\n title: \"序号\",\n dataIndex: \"index\",\n key: \"index\",\n align: \"center\",\n width: 70,\n // 换页后显示总的序号\n customRender: (text, record, index) => {\n return index + 1 + (this.ipagination.current - 1) * this.ipagination.pageSize;\n }\n }, {\n title: \"数据集名称\",\n align: \"left\",\n dataIndex: \"setName\",\n ellipsis: true\n }, {\n title: \"所属分类\",\n align: \"left\",\n dataIndex: \"setTypeName\",\n ellipsis: true\n }, {\n title: \"数据获取形式\",\n align: \"left\",\n dataIndex: \"sourceType\",\n customRender: function (text) {\n if (text == 1) {\n return \"SQL语句\";\n } else if (text == 2) {\n return \"API\";\n }\n }\n }, {\n title: \"数据返回格式\",\n align: \"left\",\n dataIndex: \"dataType\",\n customRender: function (text) {\n if (text == 0) {\n return \"字符串\";\n } else if (text == 1) {\n return \"对象\";\n } else if (text == 2) {\n return \"数组\";\n }\n }\n }, {\n title: \"描述\",\n align: \"left\",\n dataIndex: \"description\",\n ellipsis: true\n }],\n url: {\n list: \"/dataset/list\"\n },\n loadingModal: false,\n classificationList: {\n parent: {\n title: '数据集',\n isDown: true\n },\n children: []\n },\n classificationActived: '',\n isFilter: true,\n needSearch: true,\n dictId: 'a510d2b515d669e27fa112f940d0fe77',\n options: {\n defaultValue: \"\",\n defaultSQL: {\n querySql: \"\",\n typeCode: ''\n }\n },\n visible: false,\n selectedRowKeys: []
|
|
324
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/mixins/JeecgListMixin */ \"./src/mixins/JeecgListMixin.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n mixins: [_mixins_JeecgListMixin__WEBPACK_IMPORTED_MODULE_0__.JeecgListMixin],\n data() {\n return {\n queryParam: {},\n columns: [{\n title: \"序号\",\n dataIndex: \"index\",\n key: \"index\",\n align: \"center\",\n width: 70,\n // 换页后显示总的序号\n customRender: (text, record, index) => {\n return index + 1 + (this.ipagination.current - 1) * this.ipagination.pageSize;\n }\n }, {\n title: \"数据集名称\",\n align: \"left\",\n dataIndex: \"setName\",\n ellipsis: true\n }, {\n title: \"所属分类\",\n align: \"left\",\n dataIndex: \"setTypeName\",\n ellipsis: true\n }, {\n title: \"数据获取形式\",\n align: \"left\",\n dataIndex: \"sourceType\",\n customRender: function (text) {\n if (text == 1) {\n return \"SQL语句\";\n } else if (text == 2) {\n return \"API\";\n }\n }\n }, {\n title: \"数据返回格式\",\n align: \"left\",\n dataIndex: \"dataType\",\n customRender: function (text) {\n if (text == 0) {\n return \"字符串\";\n } else if (text == 1) {\n return \"对象\";\n } else if (text == 2) {\n return \"数组\";\n }\n }\n }, {\n title: \"描述\",\n align: \"left\",\n dataIndex: \"description\",\n ellipsis: true\n }],\n url: {\n list: \"/dataset/list\"\n },\n loadingModal: false,\n classificationList: {\n parent: {\n title: '数据集',\n isDown: true\n },\n children: []\n },\n classificationActived: '',\n isFilter: true,\n needSearch: true,\n dictId: 'a510d2b515d669e27fa112f940d0fe77',\n options: {\n defaultValue: \"\",\n defaultSQL: {\n querySql: \"\",\n typeCode: ''\n }\n },\n visible: false,\n selectedRowKeys: [],\n isNeedDataType: false //是否需要默认筛选\n };\n },\n\n methods: {\n onSelectChange(key, value) {\n console.log(key, value);\n this.selectedRowKeys = key;\n },\n // 确认选择\n handleOk() {\n this.$emit(\"setDateOk\", {\n querySql: this.selectedRowKeys[0],\n typeCode: this.classificationActived\n });\n this.handleCancel();\n },\n // 关闭弹框\n handleCancel() {\n this.visible = false;\n },\n // 初始化数据\n init(options, isNeedDataType) {\n this.options = options;\n this.visible = true;\n if (options.defaultSQL && options.defaultSQL.querySql) {\n this.selectedRowKeys = [options.defaultSQL.querySql];\n }\n this.isNeedDataType = isNeedDataType;\n this.getClassification(options.defaultSQL && options.defaultSQL.typeCode);\n },\n // 删除数据集\n handleDeleteTree(typeCode) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)('/dataset/deleteByType', {\n typeCode\n }).then(res => {\n if (res.success) {\n this.$message.success(res.message);\n this.getClassification();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 修改数据集\n editTreeList(record) {\n this.$refs.addTreeList.edit(record);\n this.$refs.addTreeList.title = \"编辑\";\n },\n // 新增数据集\n addTreeList() {\n this.$refs.addTreeList.add(this.dictId);\n this.$refs.addTreeList.title = \"新增\";\n },\n clickFn(item) {\n if (this.loading) return;\n this.classificationActived = item.itemValue;\n this.userSearch.setType = item.itemValue;\n if (this.userSearch.sjjName) delete this.userSearch.sjjName;\n this.loadData(1);\n },\n // 获取树形结构的数据\n getClassification(code) {\n debugger;\n this.loadingModal = true;\n let params = {};\n params.field = 'id,itemText,itemValue,action';\n params.dictId = this.dictId;\n params.pageNo = 1;\n params.pageSize = 1000;\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.getAction)('sys/dictItem/list', params).then(res => {\n if (res.success) {\n this.classificationList.children = res.result.records ? res.result.records : [];\n this.classificationActived = this.userSearch.setType = code ? code : res.result.records && res.result.records.length > 0 ? res.result.records[0].itemValue : '';\n if (!this.isNeedDataType) this.userSearch.dataType = '2';\n this.loadData();\n }\n }).finally(() => {\n this.loadingModal = false;\n });\n },\n // 是否发布/撤回\n handlePush(id, num) {\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.postAction)(\"/datasetup/editPublicStatus\", {\n id,\n publicStatus: num ? 0 : 1\n }).then(res => {\n if (res.success) {\n num ? this.$message.success(\"撤回成功!\") : this.$message.success(\"发布成功!\");\n this.loadData();\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n // 新增列表数据\n handleAdd() {\n this.$refs.CompModal.add(this.classificationActived);\n },\n handleEdit(record) {\n console.log(record);\n this.$refs.CompModal.edit(record);\n },\n handleok() {\n this.loadData();\n },\n handleDelete(ids) {\n // 删除单页最后一个数据判断,返回上一页\n let idx = 0;\n if (this.dataSource.length === 1) {\n idx = this.ipagination.current === 1 ? 1 : this.ipagination.current - 1;\n } else {\n idx = this.ipagination.current;\n }\n let params = {\n ids\n };\n (0,_api_manage__WEBPACK_IMPORTED_MODULE_1__.deleteAction)(\"/dataset/delete\", params).then(res => {\n console.log(res);\n if (res.success) {\n this.$message.success(res.message);\n this.loadData(idx);\n } else {\n this.$message.warning(res.message);\n }\n });\n },\n reset() {\n this.userSearch = {\n setType: this.userSearch.setType,\n dataType: '2'\n };\n if (this.isNeedDataType) delete this.userSearch.dataType;\n this.queryParam = {};\n this.loadData(1);\n }\n }\n // activated() {\n // this.getClassification()\n // },\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/common/Modals/datasetManagement.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
325
325
|
|
|
326
326
|
/***/ }),
|
|
327
327
|
|
|
@@ -1036,7 +1036,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1036
1036
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1037
1037
|
|
|
1038
1038
|
"use strict";
|
|
1039
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal.vue */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var
|
|
1039
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal.vue */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/api/manage */ \"./src/api/manage.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n computed: {},\n created() {},\n mounted() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n input(val) {\n this.widget.options.defaultValue = val;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/widgetSetup.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
1040
1040
|
|
|
1041
1041
|
/***/ }),
|
|
1042
1042
|
|
|
@@ -1146,7 +1146,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
1146
1146
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1147
1147
|
|
|
1148
1148
|
"use strict";
|
|
1149
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var
|
|
1149
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../common/JDictSelectTag */ \"./src/form/modules/common/JDictSelectTag.vue\");\n/* harmony import */ var _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/Modals/formDataBindModal */ \"./src/form/modules/common/Modals/formDataBindModal.vue\");\n/* harmony import */ var _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/Modals/relateSubModal */ \"./src/form/modules/common/Modals/relateSubModal.vue\");\n/* harmony import */ var _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/Modals/defaultValueWithSql */ \"./src/form/modules/common/Modals/defaultValueWithSql.vue\");\n/* harmony import */ var _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/Modals/datasetManagement.vue */ \"./src/form/modules/common/Modals/datasetManagement.vue\");\n/* harmony import */ var _util_Bus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/Bus */ \"./src/form/util/Bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n name: \"widgetSetup\",\n data() {\n return {\n rules: {},\n source: \"1\"\n };\n },\n props: {\n widget: {\n type: Object,\n default: function () {\n return {};\n }\n },\n datalist: {\n type: Array,\n default: () => {\n return [];\n }\n }\n },\n components: {\n JDictSelectTag: _common_JDictSelectTag__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n formDataBindModal: _common_Modals_formDataBindModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n relateSubModal: _common_Modals_relateSubModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n defaultValueWithSql: _common_Modals_defaultValueWithSql__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n datasetManagement: _common_Modals_datasetManagement_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n computed: {},\n created() {},\n methods: {\n setDateOk(val) {\n this.widget.options.defaultValue = \"defaultQuerySQL\";\n this.widget.options.defaultSQL = val;\n // this.getColumsList(val.querySql)\n },\n\n openDefaultValueWithSql() {\n this.$refs.datasetManagement.init(this.widget.options, true);\n },\n setDefalutValue(values) {\n this.widget.options.defaultValue = 'defaultQuerySQL';\n this.widget.options.defaultSQL = values;\n },\n showModal() {\n _util_Bus__WEBPACK_IMPORTED_MODULE_5__[\"default\"].$emit(\"getWidgetFormList\");\n this.$refs.relateSubModal.init();\n },\n input(val) {\n this.widget.options.defaultValue = val;\n },\n okSubStr(val) {\n this.widget.options.defaultValue = val;\n },\n openformDataBindModal() {\n this.$refs.formDataBindModal.init(\"input\", this.widget);\n }\n }\n});\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/widgetSetup.vue?./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options");
|
|
1150
1150
|
|
|
1151
1151
|
/***/ }),
|
|
1152
1152
|
|
|
@@ -14299,7 +14299,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
14299
14299
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14300
14300
|
|
|
14301
14301
|
"use strict";
|
|
14302
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"
|
|
14302
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Hidden/widgetSetup.vue?./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");
|
|
14303
14303
|
|
|
14304
14304
|
/***/ }),
|
|
14305
14305
|
|
|
@@ -14409,7 +14409,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
14409
14409
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14410
14410
|
|
|
14411
14411
|
"use strict";
|
|
14412
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"
|
|
14412
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"render\": () => (/* binding */ render),\n/* harmony export */ \"staticRenderFns\": () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"control\" }, [\n _c(\n \"div\",\n { staticClass: \"form_wrap\" },\n [\n _c(\n \"div\",\n { staticClass: \"form\" },\n [\n _c(\n \"a-form-model\",\n [\n _c(\n \"a-form-model-item\",\n { ref: \"title\", attrs: { label: \"默认值\", prop: \"title\" } },\n [\n _c(\n \"a-radio-group\",\n {\n attrs: { \"button-style\": \"solid\", size: \"small\" },\n model: {\n value: _vm.source,\n callback: function ($$v) {\n _vm.source = $$v\n },\n expression: \"source\",\n },\n },\n [\n _c(\"a-radio-button\", { attrs: { value: \"1\" } }, [\n _vm._v(\"输入数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"2\" } }, [\n _vm._v(\"默认数据\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"3\" } }, [\n _vm._v(\"表单绑定\"),\n ]),\n _c(\"a-radio-button\", { attrs: { value: \"4\" } }, [\n _vm._v(\"数据集\"),\n ]),\n ],\n 1\n ),\n _vm.source == \"1\"\n ? _c(\"a-input\", {\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm.source == 2\n ? _c(\"j-dict-select-tag\", {\n attrs: {\n triggerChange: true,\n dictCode: \"BDMRZ\",\n placeholder: \"请选择默认值\",\n },\n on: { change: _vm.input },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"3\"\n ? _c(\"a-input\", {\n attrs: { placeholder: \"请点击选择绑定表单字段\" },\n on: { click: _vm.openformDataBindModal },\n model: {\n value: _vm.widget.options.defaultValue,\n callback: function ($$v) {\n _vm.$set(_vm.widget.options, \"defaultValue\", $$v)\n },\n expression: \"widget.options.defaultValue\",\n },\n })\n : _vm._e(),\n _vm.source == \"4\"\n ? _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.openDefaultValueWithSql },\n },\n [_vm._v(\"关联数据集\")]\n )\n : _vm._e(),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"事项内容\" } },\n [\n _c(\"a-switch\", {\n model: {\n value: _vm.widget.options.matterContentEnable,\n callback: function ($$v) {\n _vm.$set(\n _vm.widget.options,\n \"matterContentEnable\",\n $$v\n )\n },\n expression: \"widget.options.matterContentEnable\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"a-form-model-item\",\n { attrs: { label: \"字段联动\" } },\n [\n _c(\n \"a-button\",\n {\n attrs: { type: \"primary\" },\n on: { click: _vm.showModal },\n },\n [_vm._v(\"联动配置\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"form-data-bind-modal\", {\n ref: \"formDataBindModal\",\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"relate-sub-modal\", {\n ref: \"relateSubModal\",\n attrs: { datalist: _vm.datalist, widget: _vm.widget },\n on: { okSubStr: _vm.okSubStr },\n }),\n _c(\"default-value-with-sql\", {\n ref: \"defaultValueWithSql\",\n on: { setDefalutOk: _vm.setDefalutValue },\n }),\n _c(\"datasetManagement\", {\n ref: \"datasetManagement\",\n on: { setDateOk: _vm.setDateOk },\n }),\n ],\n 1\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://form-component/./src/form/modules/components/Input/widgetSetup.vue?./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");
|
|
14413
14413
|
|
|
14414
14414
|
/***/ }),
|
|
14415
14415
|
|
|
@@ -18086,7 +18086,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
18086
18086
|
/***/ ((module) => {
|
|
18087
18087
|
|
|
18088
18088
|
"use strict";
|
|
18089
|
-
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.
|
|
18089
|
+
eval("module.exports = JSON.parse('{\"name\":\"@zscreate/form-component\",\"version\":\"1.1.221-test.4\",\"private\":false,\"description\":\"\",\"main\":\"dist/form-component.umd.js\",\"unpkg\":\"dist/form-component.umd.js\",\"scripts\":{\"version\":\"npm run build\",\"postversion\":\"git push && git push --tags\",\"build\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd \",\"build:common\":\"vue-cli-service build --target lib --name form-component src/main.js --formats commonjs \",\"build:watch\":\"vue-cli-service build --target lib --name form-component src/main.js --formats umd --watch\"},\"publishConfig\":{\"access\":\"public\",\"registry\":\"https://registry.npmjs.org/\"},\"files\":[\"/dist/**\",\"/dist/*\"],\"exclude\":[\"node_modules\"],\"keywords\":[],\"author\":\"\",\"license\":\"ISC\",\"dependencies\":{\"@uppy/core\":\"^3.1.2\",\"@uppy/dashboard\":\"^3.3.2\",\"@uppy/drag-drop\":\"^3.0.1\",\"@uppy/progress-bar\":\"^3.0.1\",\"@uppy/tus\":\"^3.0.6\",\"@uppy/vue\":\"^1.0.1\",\"@wangeditor/editor\":\"5.1.10\",\"@wangeditor/editor-for-vue\":\"1.0.2\",\"core-js\":\"^3.8.3\",\"moment\":\"^2.29.1\",\"pubsub-js\":\"^1.9.3\",\"vue\":\"2.6.14\",\"vue-draggable-resizable\":\"2.2.0\",\"vue-draggable-resizable-gorkys\":\"2.0.0\",\"vue-grid-layout\":\"^2.3.12\",\"vue-signature-pad\":\"^2.0.2\",\"vue2-editor\":\"^2.10.3\",\"vuedraggable\":\"^2.24.3\",\"wangeditor\":\"^4.7.15\"},\"devDependencies\":{\"@vue/cli-plugin-babel\":\"~5.0.0\",\"@vue/cli-service\":\"~5.0.0\",\"axios\":\"^1.6.2\",\"clipboard\":\"2.0.4\",\"codemirror\":\"^5.46.0\",\"less\":\"^3.0.4\",\"less-loader\":\"^5.0.0\",\"node-sass\":\"^4.11.0\",\"sass-loader\":\"^7.0.1\",\"vue-codemirror\":\"^4.0.6\",\"vue-template-compiler\":\"2.6.14\",\"vue-virtual-scroll-list\":\"^2.3.5\"}}');\n\n//# sourceURL=webpack://form-component/./package.json?");
|
|
18090
18090
|
|
|
18091
18091
|
/***/ })
|
|
18092
18092
|
|