cloud-web-corejs 1.0.97 → 1.0.98
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
CHANGED
@@ -211,6 +211,14 @@ export const containers = [
|
|
211
211
|
pageSize: 20,
|
212
212
|
total: 366
|
213
213
|
},
|
214
|
+
gridPageSize: 100,
|
215
|
+
gridPageSizeList: [
|
216
|
+
{value: 50},
|
217
|
+
{value: 100},
|
218
|
+
{value: 200},
|
219
|
+
{value: 500}
|
220
|
+
],
|
221
|
+
|
214
222
|
dsEnabled: !1,
|
215
223
|
dsName: "",
|
216
224
|
tableData: [
|
@@ -262,11 +270,10 @@ export const containers = [
|
|
262
270
|
scriptEnabled: false,
|
263
271
|
accessParam: null,
|
264
272
|
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
formScriptCallback: null,
|
273
|
+
accessFormCode: null,
|
274
|
+
|
275
|
+
...httpConfig,
|
276
|
+
|
270
277
|
/*isLoadDataByAccess: false,
|
271
278
|
scriptEnabled: false,
|
272
279
|
scriptName: null,
|
@@ -866,10 +873,10 @@ const projectTagConfig = {
|
|
866
873
|
onMounted: "",
|
867
874
|
onClick: "",
|
868
875
|
// vabUpload: 1,
|
869
|
-
|
876
|
+
|
877
|
+
...httpConfig,
|
870
878
|
formScriptCode: "getList",
|
871
|
-
|
872
|
-
formScriptSuccess: null,
|
879
|
+
|
873
880
|
...defaultWfConfig,
|
874
881
|
|
875
882
|
showRuleFlag: 1,
|
@@ -889,8 +896,17 @@ const projectTagConfig = {
|
|
889
896
|
|
890
897
|
}
|
891
898
|
|
892
|
-
|
893
|
-
|
899
|
+
const httpConfig = {
|
900
|
+
httpFormCode: null,
|
901
|
+
formScriptEnabled: true,
|
902
|
+
formScriptCode: null,
|
903
|
+
formScriptParam: null,
|
904
|
+
formScriptSuccess: null,
|
905
|
+
formScriptCallback: null,
|
906
|
+
}
|
907
|
+
|
908
|
+
export const hiddenWidgetTypesOfWf = ["button", "search_button", "table-export-button", "add_button", "import-button", "import2-button", "print-button"];
|
909
|
+
export const freeWidgetTypesOfWf = ["reset_button", "a-link", "a-text"];
|
894
910
|
|
895
911
|
export const basicFields = [
|
896
912
|
{
|
@@ -1182,10 +1198,10 @@ export const basicFields = [
|
|
1182
1198
|
onValidate: "",
|
1183
1199
|
accessType: "1",
|
1184
1200
|
|
1201
|
+
...httpConfig,
|
1185
1202
|
formScriptEnabled: false,
|
1186
1203
|
formScriptCode: "getList",
|
1187
|
-
|
1188
|
-
formScriptSuccess: null,
|
1204
|
+
|
1189
1205
|
...defaultWfConfig,
|
1190
1206
|
|
1191
1207
|
commonAttributeEnabled: false,
|
@@ -1252,10 +1268,10 @@ export const basicFields = [
|
|
1252
1268
|
onValidate: "",
|
1253
1269
|
accessType: "1",
|
1254
1270
|
|
1271
|
+
...httpConfig,
|
1255
1272
|
formScriptEnabled: false,
|
1256
1273
|
formScriptCode: "getList",
|
1257
|
-
|
1258
|
-
formScriptSuccess: null,
|
1274
|
+
|
1259
1275
|
...defaultWfConfig,
|
1260
1276
|
|
1261
1277
|
commonAttributeEnabled: false,
|
@@ -1333,16 +1349,17 @@ export const basicFields = [
|
|
1333
1349
|
onValidate: "",
|
1334
1350
|
widgetWidth: "",
|
1335
1351
|
accessType: "1",
|
1352
|
+
|
1353
|
+
...httpConfig,
|
1336
1354
|
formScriptEnabled: false,
|
1337
1355
|
formScriptCode: "getList",
|
1338
|
-
|
1339
|
-
formScriptSuccess: null,
|
1356
|
+
|
1340
1357
|
...defaultWfConfig,
|
1341
1358
|
|
1342
1359
|
commonAttributeEnabled: false,
|
1343
1360
|
commonAttributeCode: "",
|
1344
1361
|
|
1345
|
-
showCollapseTags:false,
|
1362
|
+
showCollapseTags: false,
|
1346
1363
|
|
1347
1364
|
showRuleFlag: 1,
|
1348
1365
|
showRuleEnabled: 1,
|
@@ -1762,7 +1779,7 @@ export const basicFields = [
|
|
1762
1779
|
options: {
|
1763
1780
|
name: "",
|
1764
1781
|
label: "",
|
1765
|
-
wfHideFlag:1,
|
1782
|
+
wfHideFlag: 1,
|
1766
1783
|
columnWidth: "200px",
|
1767
1784
|
size: "",
|
1768
1785
|
displayStyle: "block",
|
@@ -1973,7 +1990,7 @@ export const basicFields = [
|
|
1973
1990
|
prefixIcon: "",
|
1974
1991
|
suffixIcon: "",
|
1975
1992
|
customClass: "",
|
1976
|
-
wfHideFlag:1,
|
1993
|
+
wfHideFlag: 1,
|
1977
1994
|
aLinkFlag: 1,
|
1978
1995
|
underline: false,
|
1979
1996
|
href: "",
|
@@ -2112,10 +2129,9 @@ export const advancedFields = [
|
|
2112
2129
|
}]
|
2113
2130
|
},
|
2114
2131
|
echartConfig: '',
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
formScriptSuccess: null,
|
2132
|
+
|
2133
|
+
...httpConfig,
|
2134
|
+
|
2119
2135
|
onClick: "",
|
2120
2136
|
onCreated: "",
|
2121
2137
|
onMounted: "this.loadDataDefaultHandle()",
|
@@ -2286,10 +2302,9 @@ export const advancedFields = [
|
|
2286
2302
|
}]
|
2287
2303
|
},
|
2288
2304
|
echartConfig: '',
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
formScriptSuccess: null,
|
2305
|
+
|
2306
|
+
...httpConfig,
|
2307
|
+
|
2293
2308
|
onClick: "",
|
2294
2309
|
onCreated: "",
|
2295
2310
|
onMounted: "this.loadDataDefaultHandle()",
|
@@ -2501,10 +2516,9 @@ export const advancedFields = [
|
|
2501
2516
|
|
2502
2517
|
},
|
2503
2518
|
echartConfig: '',
|
2504
|
-
|
2505
|
-
|
2506
|
-
|
2507
|
-
formScriptSuccess: null,
|
2519
|
+
|
2520
|
+
...httpConfig,
|
2521
|
+
|
2508
2522
|
onClick: "",
|
2509
2523
|
onCreated: "",
|
2510
2524
|
onMounted: "this.loadDataDefaultHandle()",
|
@@ -2645,10 +2659,10 @@ export const advancedFields = [
|
|
2645
2659
|
onMounted: "",
|
2646
2660
|
onAfterConfirmFile: "",
|
2647
2661
|
vabUpload: 1,
|
2648
|
-
|
2662
|
+
|
2663
|
+
...httpConfig,
|
2649
2664
|
formScriptCode: "getList",
|
2650
|
-
|
2651
|
-
formScriptSuccess: null,
|
2665
|
+
|
2652
2666
|
...defaultWfConfig,
|
2653
2667
|
|
2654
2668
|
showRuleFlag: 1,
|
@@ -3106,10 +3120,9 @@ export const advancedFields = [
|
|
3106
3120
|
detailItems: []
|
3107
3121
|
}
|
3108
3122
|
],
|
3109
|
-
|
3110
|
-
|
3111
|
-
|
3112
|
-
formScriptSuccess: null,
|
3123
|
+
|
3124
|
+
...httpConfig,
|
3125
|
+
|
3113
3126
|
onCreated: "",
|
3114
3127
|
onMounted: "",
|
3115
3128
|
...defaultWfConfig,
|
@@ -3146,10 +3159,9 @@ export const advancedFields = [
|
|
3146
3159
|
styleTableClass: '',
|
3147
3160
|
// fullWidth: false,
|
3148
3161
|
submitFlag: true,
|
3149
|
-
|
3150
|
-
|
3151
|
-
|
3152
|
-
formScriptSuccess: null,
|
3162
|
+
|
3163
|
+
...httpConfig,
|
3164
|
+
|
3153
3165
|
onCreated: "this.loadDataDefaultHandle()",
|
3154
3166
|
onMounted: "",
|
3155
3167
|
...defaultWfConfig,
|
@@ -206,6 +206,7 @@
|
|
206
206
|
</template>-->
|
207
207
|
<template #widget="obj">
|
208
208
|
<component
|
209
|
+
v-if="!!fieldSchemaMap[obj.row._X_ROW_KEY]"
|
209
210
|
:is="getColumnWidgetName(obj.column.params.widget)"
|
210
211
|
:field="fieldSchemaMap[obj.row._X_ROW_KEY][obj.column.params.widget.id]"
|
211
212
|
:form-model="globalModel.formModel"
|
@@ -225,28 +226,32 @@
|
|
225
226
|
</template>
|
226
227
|
<template #widgetList="obj">
|
227
228
|
<div>
|
228
|
-
<
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
<
|
244
|
-
|
245
|
-
|
229
|
+
<template v-for="(fieldWidget,index) in obj.column.params.widgetList">
|
230
|
+
<component
|
231
|
+
v-if="!!fieldSchemaMap[obj.row._X_ROW_KEY]"
|
232
|
+
:is="getColumnWidgetName(fieldWidget)"
|
233
|
+
v-bind="getRowWidgetOption(obj,fieldWidget)"
|
234
|
+
:form-model="globalModel.formModel"
|
235
|
+
:designer="null"
|
236
|
+
:key="getRowWidgetKey(obj,fieldWidget)"
|
237
|
+
:parent-widget="widget"
|
238
|
+
:columnConfig="obj.column.params.columnConfig"
|
239
|
+
:subFormRowIndex="obj.rowIndex"
|
240
|
+
:subFormRowId="obj.row._X_ROW_KEY"
|
241
|
+
formItemProp="false"
|
242
|
+
:tableParam="obj"
|
243
|
+
>
|
244
|
+
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
245
|
+
<slot :name="slot" v-bind="scope" :tableParam="obj"/>
|
246
|
+
</template>
|
247
|
+
</component>
|
248
|
+
</template>
|
249
|
+
|
246
250
|
</div>
|
247
251
|
</template>
|
248
252
|
<template #editWidget="obj">
|
249
253
|
<component
|
254
|
+
v-if="!!fieldSchemaMap[obj.row._X_ROW_KEY]"
|
250
255
|
:is="getColumnWidgetName(obj.column.params.editWidget)"
|
251
256
|
:field="fieldSchemaMap[obj.row._X_ROW_KEY][obj.column.params.editWidget.id]"
|
252
257
|
:form-model="globalModel.formModel"
|