cloud-web-corejs 1.0.54-dev.173 → 1.0.54-dev.175
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/package.json +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1314
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +7 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +5 -5
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +277 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +44 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +5 -5
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2133 -1
- package/src/components/xform/form-render/indexMixin.js +1 -2134
- package/src/permission.js +0 -18
@@ -798,6 +798,7 @@ export const basicFields = [
|
|
798
798
|
{
|
799
799
|
type: "input",
|
800
800
|
icon: "text-field",
|
801
|
+
commonFlag: !0,
|
801
802
|
formItemFlag: !0,
|
802
803
|
columnFlag: true,
|
803
804
|
tableField: null,
|
@@ -860,6 +861,7 @@ export const basicFields = [
|
|
860
861
|
{
|
861
862
|
type: "input-batch",
|
862
863
|
icon: "input-batch",
|
864
|
+
commonFlag: !0,
|
863
865
|
formItemFlag: !0,
|
864
866
|
columnFlag: true,
|
865
867
|
tableField: null,
|
@@ -921,6 +923,7 @@ export const basicFields = [
|
|
921
923
|
{
|
922
924
|
type: "textarea",
|
923
925
|
icon: "textarea-field",
|
926
|
+
commonFlag: !0,
|
924
927
|
formItemFlag: !0,
|
925
928
|
columnFlag: true,
|
926
929
|
tableField: null,
|
@@ -973,6 +976,7 @@ export const basicFields = [
|
|
973
976
|
{
|
974
977
|
type: "number",
|
975
978
|
icon: "number-field",
|
979
|
+
commonFlag: !0,
|
976
980
|
formItemFlag: !0,
|
977
981
|
columnFlag: true,
|
978
982
|
tableField: null,
|
@@ -1028,6 +1032,7 @@ export const basicFields = [
|
|
1028
1032
|
{
|
1029
1033
|
type: "radio",
|
1030
1034
|
icon: "radio-field",
|
1035
|
+
commonFlag: !0,
|
1031
1036
|
formItemFlag: !0,
|
1032
1037
|
columnFlag: true,
|
1033
1038
|
tableField: null,
|
@@ -1097,6 +1102,7 @@ export const basicFields = [
|
|
1097
1102
|
{
|
1098
1103
|
type: "checkbox",
|
1099
1104
|
icon: "checkbox-field",
|
1105
|
+
commonFlag: !0,
|
1100
1106
|
formItemFlag: !0,
|
1101
1107
|
columnFlag: true,
|
1102
1108
|
tableField: null,
|
@@ -1167,6 +1173,7 @@ export const basicFields = [
|
|
1167
1173
|
{
|
1168
1174
|
type: "select",
|
1169
1175
|
icon: "select-field",
|
1176
|
+
commonFlag: !0,
|
1170
1177
|
formItemFlag: !0,
|
1171
1178
|
columnFlag: true,
|
1172
1179
|
tableField: null,
|
@@ -1245,6 +1252,7 @@ export const basicFields = [
|
|
1245
1252
|
{
|
1246
1253
|
type: "time",
|
1247
1254
|
icon: "time-field",
|
1255
|
+
commonFlag: !0,
|
1248
1256
|
formItemFlag: !0,
|
1249
1257
|
columnFlag: true,
|
1250
1258
|
tableField: null,
|
@@ -1297,6 +1305,7 @@ export const basicFields = [
|
|
1297
1305
|
{
|
1298
1306
|
type: "time-range",
|
1299
1307
|
icon: "time-range-field",
|
1308
|
+
commonFlag: !0,
|
1300
1309
|
formItemFlag: !0,
|
1301
1310
|
columnFlag: true,
|
1302
1311
|
tableField: null,
|
@@ -1348,6 +1357,7 @@ export const basicFields = [
|
|
1348
1357
|
{
|
1349
1358
|
type: "date",
|
1350
1359
|
icon: "date-field",
|
1360
|
+
commonFlag: !0,
|
1351
1361
|
formItemFlag: !0,
|
1352
1362
|
columnFlag: true,
|
1353
1363
|
tableField: null,
|
@@ -1402,6 +1412,7 @@ export const basicFields = [
|
|
1402
1412
|
{
|
1403
1413
|
type: "date-range",
|
1404
1414
|
icon: "date-range-field",
|
1415
|
+
commonFlag: !0,
|
1405
1416
|
formItemFlag: !0,
|
1406
1417
|
columnFlag: true,
|
1407
1418
|
tableField: null,
|
@@ -1579,6 +1590,7 @@ export const basicFields = [
|
|
1579
1590
|
{
|
1580
1591
|
type: "static-text",
|
1581
1592
|
icon: "static-text",
|
1593
|
+
commonFlag: !0,
|
1582
1594
|
formItemFlag: !1,
|
1583
1595
|
columnFlag: true,
|
1584
1596
|
options: {
|
@@ -1604,6 +1616,7 @@ export const basicFields = [
|
|
1604
1616
|
{
|
1605
1617
|
type: "html-text",
|
1606
1618
|
icon: "html-text",
|
1619
|
+
commonFlag: !0,
|
1607
1620
|
formItemFlag: !1,
|
1608
1621
|
columnFlag: true,
|
1609
1622
|
options: {
|
@@ -1643,6 +1656,7 @@ export const basicFields = [
|
|
1643
1656
|
{
|
1644
1657
|
type: "button",
|
1645
1658
|
icon: "button",
|
1659
|
+
commonFlag: !0,
|
1646
1660
|
formItemFlag: !1,
|
1647
1661
|
columnFlag: true,
|
1648
1662
|
options: {
|
@@ -1682,6 +1696,7 @@ export const basicFields = [
|
|
1682
1696
|
{
|
1683
1697
|
type: "divider",
|
1684
1698
|
icon: "divider",
|
1699
|
+
commonFlag: !0,
|
1685
1700
|
formItemFlag: !1,
|
1686
1701
|
columnFlag: true,
|
1687
1702
|
options: {
|
@@ -1754,6 +1769,7 @@ export const basicFields = [
|
|
1754
1769
|
{
|
1755
1770
|
type: "text",
|
1756
1771
|
icon: "text",
|
1772
|
+
commonFlag: !0,
|
1757
1773
|
formItemFlag: !0,
|
1758
1774
|
columnFlag: true,
|
1759
1775
|
tableField: null,
|
@@ -1790,6 +1806,7 @@ export const basicFields = [
|
|
1790
1806
|
{
|
1791
1807
|
type: "a-text",
|
1792
1808
|
icon: "text-field",
|
1809
|
+
commonFlag: !0,
|
1793
1810
|
formItemFlag: !0,
|
1794
1811
|
columnFlag: true,
|
1795
1812
|
tableField: null,
|
@@ -1837,6 +1854,7 @@ export const basicFields = [
|
|
1837
1854
|
{
|
1838
1855
|
type: "a-link",
|
1839
1856
|
icon: "button",
|
1857
|
+
commonFlag: !0,
|
1840
1858
|
formItemFlag: !1,
|
1841
1859
|
columnFlag: true,
|
1842
1860
|
options: {
|
@@ -1876,6 +1894,32 @@ export const basicFields = [
|
|
1876
1894
|
...defaultTextFlagConfig
|
1877
1895
|
}
|
1878
1896
|
},
|
1897
|
+
{
|
1898
|
+
type: "a-link2",
|
1899
|
+
icon: "button",
|
1900
|
+
commonFlag: !1,
|
1901
|
+
formItemFlag: !1,
|
1902
|
+
columnFlag: false,
|
1903
|
+
options: {
|
1904
|
+
prefixIcon: "",
|
1905
|
+
suffixIcon: "",
|
1906
|
+
customClass: "",
|
1907
|
+
aLinkFlag: 1,
|
1908
|
+
underline: false,
|
1909
|
+
href: "",
|
1910
|
+
coloClass: "f-blue",
|
1911
|
+
|
1912
|
+
onClick: "",
|
1913
|
+
clickBindEvent: null,
|
1914
|
+
searchDialogConfig: {
|
1915
|
+
...defaultSearchDialogConfig
|
1916
|
+
},
|
1917
|
+
addTableDataConfig: {
|
1918
|
+
tableRef: null,
|
1919
|
+
tableData: {}
|
1920
|
+
},
|
1921
|
+
}
|
1922
|
+
},
|
1879
1923
|
|
1880
1924
|
]
|
1881
1925
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
@resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
|
4
4
|
@checkbox-change="handleCheckboxChange" @checkbox-all="handleCheckboxAll"
|
5
5
|
@cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel"
|
6
|
-
|
6
|
+
>
|
7
7
|
<template #form>
|
8
8
|
<!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
|
9
9
|
<div class="fl">
|
@@ -186,7 +186,7 @@
|
|
186
186
|
<treeMoveDialog v-if="showTreeMoveDialog" :visiable.sync="showTreeMoveDialog" :rows.sync="sortRows"
|
187
187
|
:parent-target="_self" @confirm="confirmTreeMoveDialog"></treeMoveDialog>
|
188
188
|
</template>
|
189
|
-
<template v-for="fieldWidget in widgets" v-slot:[fieldWidget.id]="obj">
|
189
|
+
<!-- <template v-for="fieldWidget in widgets" v-slot:[fieldWidget.id]="obj">
|
190
190
|
<component
|
191
191
|
:is="getColumnWidgetName(fieldWidget)"
|
192
192
|
:field="fieldWidget"
|
@@ -203,7 +203,7 @@
|
|
203
203
|
<slot :name="slot" v-bind="scope"/>
|
204
204
|
</template>
|
205
205
|
</component>
|
206
|
-
</template
|
206
|
+
</template>-->
|
207
207
|
<template #widget="obj">
|
208
208
|
<component
|
209
209
|
:is="getColumnWidgetName(obj.column.params.widget)"
|
@@ -332,13 +332,13 @@ export default {
|
|
332
332
|
},
|
333
333
|
mixins: [dataTableMixin],
|
334
334
|
computed: {
|
335
|
-
heightStyle() {
|
335
|
+
/*heightStyle() {
|
336
336
|
let tableHeight = this.widget.options.tableHeight;
|
337
337
|
if (tableHeight && (tableHeight == 'auto' || tableHeight.slice(-1) == '%')) {
|
338
338
|
return 'height:100%';
|
339
339
|
}
|
340
340
|
return '';
|
341
|
-
}
|
341
|
+
}*/
|
342
342
|
}
|
343
343
|
};
|
344
344
|
</script>
|