cloud-web-corejs 1.0.54-dev.21 → 1.0.54-dev.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/package.json +13 -4
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/VabUpload/index.vue +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/view.vue +22 -6
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +22 -13
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +2 -1
- package/src/components/excelExport/index.vue +8 -6
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +7 -1
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +23 -24
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +337 -207
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +77 -27
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/jsonImport/index.js +171 -1
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/onlineTalk/index.vue +327 -5
- package/src/components/onlineTalk/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/content.vue +2 -0
- package/src/components/wf/setCandidateDialog.vue +1 -0
- package/src/components/wf/wf.js +3 -1
- package/src/components/wf/wfStartDialog.vue +1 -1
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1536 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +245 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1396 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +200 -6
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +13 -5
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +13 -3
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
- package/src/components/xform/form-designer/indexMixin.js +872 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +312 -56
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +324 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +8 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1046 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +920 -464
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +48 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +216 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +216 -29
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +220 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +11 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +292 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +714 -334
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
- package/src/components/xform/form-render/container-item/data-table-item.vue +40 -15
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2360 -18
- package/src/components/xform/form-render/container-item/data-table-mixin2.js +2169 -0
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/indexMixin.js +2405 -3
- package/src/components/xform/lang/zh-CN.js +14 -3
- package/src/components/xform/mixins/defaultHandle.js +120 -1
- package/src/components/xform/mixins/scriptHttp.js +164 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +669 -0
- package/src/components/xform/utils/util.js +1436 -1
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +0 -1
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +192 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/mixins/selectDialog/index.js +241 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +15 -0
- package/src/store/config/index.js +1 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/user.js +1 -1
- package/src/utils/index.js +4 -2
- package/src/utils/pddLog.js +103 -0
- package/src/utils/request.js +28 -28
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +219 -1
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +205 -0
- package/src/views/bd/setting/form_script/edit1.vue +10 -3
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +283 -1
- package/src/views/bd/setting/form_script/mixins/list.js +192 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +361 -14
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +9 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +625 -22
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
- package/src/views/bd/setting/form_template/wf_list.vue +127 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/table_model/edit.vue +834 -426
- package/src/views/bd/setting/table_model/mixins/dialog.js +72 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1117 -13
- package/src/views/bd/setting/table_model/mixins/list.js +379 -14
- package/src/views/user/area/dialog.vue +21 -9
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/file_type/edit.vue +30 -1
- package/src/views/user/file_type/list.vue +28 -0
- package/src/views/user/form/vform/designer.vue +775 -749
- package/src/views/user/form/view/list.vue +27 -9
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/default.vue +1022 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/login/default.vue +35 -4
- package/src/views/user/login/indexMixin.js +117 -3
- package/src/views/user/notify_message/dialog.vue +1 -1
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +39 -12
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/outLink/view.vue +39 -13
- package/src/views/user/position/list.vue +4 -4
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/user/dialog.vue +1 -1
- package/src/views/user/user/edit.vue +39 -19
- package/src/views/user/user/form_edit.vue +63 -2
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +4 -11
- package/src/views/user/wf/wf_manage/list.vue +1 -1
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/list.vue +94 -8
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -4,6 +4,7 @@ export const containers = [
|
|
4
4
|
category: "container",
|
5
5
|
icon: "grid",
|
6
6
|
commonFlag: !0,
|
7
|
+
columnFlag: true,
|
7
8
|
cols: [],
|
8
9
|
options: {
|
9
10
|
name: "",
|
@@ -13,7 +14,8 @@ export const containers = [
|
|
13
14
|
// colHeight: null,
|
14
15
|
width: '',
|
15
16
|
containerClass: '',
|
16
|
-
customClass: ""
|
17
|
+
customClass: "",
|
18
|
+
...defaultWfConfig,
|
17
19
|
}
|
18
20
|
},
|
19
21
|
{
|
@@ -21,13 +23,15 @@ export const containers = [
|
|
21
23
|
category: "container",
|
22
24
|
icon: "table",
|
23
25
|
commonFlag: !0,
|
26
|
+
columnFlag: true,
|
24
27
|
rows: [],
|
25
28
|
options: {
|
26
29
|
name: "",
|
27
30
|
hidden: !1,
|
28
31
|
customClass: "",
|
29
32
|
styleTableClass: '',
|
30
|
-
fullWidth: false
|
33
|
+
fullWidth: false,
|
34
|
+
...defaultWfConfig,
|
31
35
|
}
|
32
36
|
},
|
33
37
|
{
|
@@ -35,6 +39,7 @@ export const containers = [
|
|
35
39
|
category: "container",
|
36
40
|
icon: "tab",
|
37
41
|
commonFlag: !0,
|
42
|
+
columnFlag: true,
|
38
43
|
tabs: [],
|
39
44
|
options: {
|
40
45
|
name: "",
|
@@ -42,7 +47,8 @@ export const containers = [
|
|
42
47
|
height: '',
|
43
48
|
// isFullscreen: false,
|
44
49
|
tabClass: 'tab-boxCard tabCard-sty1',
|
45
|
-
customClass: ""
|
50
|
+
customClass: "",
|
51
|
+
...defaultWfConfig,
|
46
52
|
}
|
47
53
|
},
|
48
54
|
/* {
|
@@ -259,6 +265,7 @@ export const containers = [
|
|
259
265
|
formScriptEnabled: true,
|
260
266
|
formScriptCode: null,
|
261
267
|
formScriptParam: null,
|
268
|
+
formScriptSuccess: null,
|
262
269
|
formScriptCallback: null,
|
263
270
|
/*isLoadDataByAccess: false,
|
264
271
|
scriptEnabled: false,
|
@@ -277,9 +284,11 @@ export const containers = [
|
|
277
284
|
sortScriptCode: null,
|
278
285
|
importTemplateFile: null,
|
279
286
|
|
287
|
+
...defaultWfConfig,
|
280
288
|
showRuleFlag: 1,
|
281
289
|
showRuleEnabled: 1,
|
282
290
|
showRules: [],
|
291
|
+
hideGridCheckBox: false
|
283
292
|
}
|
284
293
|
},
|
285
294
|
/*{
|
@@ -748,7 +757,6 @@ export const containers = [
|
|
748
757
|
}
|
749
758
|
]
|
750
759
|
|
751
|
-
|
752
760
|
export const defaultSearchDialogConfig = {
|
753
761
|
formCode: null,
|
754
762
|
tableEnabled: false,
|
@@ -757,14 +765,140 @@ export const defaultSearchDialogConfig = {
|
|
757
765
|
tableRef: null,
|
758
766
|
tableUniqueKey: null,
|
759
767
|
tableData: [],
|
760
|
-
multipleChoices: true
|
768
|
+
multipleChoices: true,
|
769
|
+
confirmCallback: null,
|
770
|
+
dialogQueryParam: null
|
771
|
+
}
|
772
|
+
|
773
|
+
export const defaultWfConfig = {
|
774
|
+
wfFlag: 1,
|
775
|
+
wfEdit: false,
|
776
|
+
enabledByWf: false,
|
777
|
+
hiddenByWf: false,
|
778
|
+
wfConfigData: [],
|
779
|
+
wfModifyDataEnabled: false,
|
780
|
+
wfModifyDataConfig: [],
|
781
|
+
}
|
782
|
+
|
783
|
+
export const defaultTextFlagConfig = {
|
784
|
+
widgetTextFlag: null,
|
785
|
+
textFlag: 1,
|
786
|
+
showTextEnabled: false,
|
787
|
+
showEncryptTextEnabled: false,
|
788
|
+
userTextRuleEnabled: false,
|
789
|
+
userTextRuleConfig: [],
|
790
|
+
textRule1: true,
|
791
|
+
textRule2: false,
|
792
|
+
textRule2Number: null,
|
793
|
+
textRule3: false,
|
794
|
+
textRule3Number: null,
|
795
|
+
widgetTextLinkConfig: null
|
796
|
+
}
|
797
|
+
|
798
|
+
export const defaultWidgetShowRuleConfig = {
|
799
|
+
widgetShowRuleFlag: 1,
|
800
|
+
widgetShowRuleEnabled: false,
|
801
|
+
widgetShowRuleConfig: [],
|
802
|
+
}
|
803
|
+
|
804
|
+
const vabsearchConfig = {
|
805
|
+
name: "",
|
806
|
+
keyNameEnabled: !1,
|
807
|
+
keyName: "",
|
808
|
+
vabSearchName: "",
|
809
|
+
userDefaultVabSearch: false,
|
810
|
+
saleOrgDefaultVabSearch: false,
|
811
|
+
label: "",
|
812
|
+
submitFlag: true,
|
813
|
+
disabled: !1,
|
814
|
+
hidden: !1,
|
815
|
+
required: !1,
|
816
|
+
labelWidth: null,
|
817
|
+
labelHidden: !1,
|
818
|
+
readonly: true,
|
819
|
+
/*formCode: null,
|
820
|
+
formName: null,
|
821
|
+
formVersion: null,
|
822
|
+
showFormField: null,*/
|
823
|
+
/* gridConfig: {
|
824
|
+
tableColumns: [],
|
825
|
+
searchFields: [],
|
826
|
+
searchParams: ""
|
827
|
+
},*/
|
828
|
+
// vabSearchField: null,
|
829
|
+
vabsearchFlag: 1,
|
830
|
+
onSearchClear: "",
|
831
|
+
dialogModel: '1',
|
832
|
+
systemDialogUrl: null,
|
833
|
+
accessType: "1",
|
834
|
+
onCreated: "",
|
835
|
+
onMounted: "",
|
836
|
+
onChange: "",
|
837
|
+
onAppendButtonClick: "",
|
838
|
+
clickBindEvent: '1',
|
839
|
+
searchDialogConfig: {
|
840
|
+
...defaultSearchDialogConfig,
|
841
|
+
multipleChoices: false
|
842
|
+
},
|
843
|
+
...defaultWfConfig,
|
844
|
+
valueField: null,
|
845
|
+
multipleChoices: false,
|
846
|
+
|
847
|
+
showRuleFlag: 1,
|
848
|
+
showRuleEnabled: 1,
|
849
|
+
showRules: []
|
761
850
|
}
|
762
851
|
|
852
|
+
const projectTagConfig = {
|
853
|
+
name: "",
|
854
|
+
keyNameEnabled: !1,
|
855
|
+
keyName: "",
|
856
|
+
// keyNameSuffix: "",
|
857
|
+
label: "",
|
858
|
+
submitFlag: true,
|
859
|
+
disabled: !1,
|
860
|
+
readonly: false,
|
861
|
+
hidden: !1,
|
862
|
+
required: !1,
|
863
|
+
labelWidth: null,
|
864
|
+
labelHidden: !1,
|
865
|
+
onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
|
866
|
+
onMounted: "",
|
867
|
+
onClick: "",
|
868
|
+
// vabUpload: 1,
|
869
|
+
formScriptEnabled: true,
|
870
|
+
formScriptCode: "getList",
|
871
|
+
formScriptParam: null,
|
872
|
+
formScriptSuccess: null,
|
873
|
+
...defaultWfConfig,
|
874
|
+
|
875
|
+
showRuleFlag: 1,
|
876
|
+
showRuleEnabled: 1,
|
877
|
+
showRules: [],
|
878
|
+
|
879
|
+
tagFormCode: null,
|
880
|
+
tagFormParam: null,
|
881
|
+
tagLabelField: null,
|
882
|
+
tagUniqueField: null,
|
883
|
+
tagFormLabelField: null,
|
884
|
+
tagFormUniqueField: null,
|
885
|
+
tagFillConfig: [],
|
886
|
+
tagConfirmCallback: null,
|
887
|
+
tagDeleteCallback: null,
|
888
|
+
tabDeleteEnabled: true,
|
889
|
+
|
890
|
+
}
|
891
|
+
|
892
|
+
export const hiddenWidgetTypesOfWf = ["button"];
|
893
|
+
export const freeWidgetTypesOfWf = ["reset_button"];
|
894
|
+
|
763
895
|
export const basicFields = [
|
764
896
|
{
|
765
897
|
type: "input",
|
766
898
|
icon: "text-field",
|
899
|
+
commonFlag: !0,
|
767
900
|
formItemFlag: !0,
|
901
|
+
columnFlag: true,
|
768
902
|
tableField: null,
|
769
903
|
options: {
|
770
904
|
name: "",
|
@@ -813,27 +947,21 @@ export const basicFields = [
|
|
813
947
|
onAppendButtonClick: "",
|
814
948
|
widgetWidth: "",
|
815
949
|
accessType: "1",
|
816
|
-
|
817
|
-
wfEdit: false,
|
818
|
-
enabledByWf: false,
|
819
|
-
hiddenByWf: false,
|
820
|
-
wfConfigData: [],
|
950
|
+
...defaultWfConfig,
|
821
951
|
|
822
952
|
showRuleFlag: 1,
|
823
953
|
showRuleEnabled: 1,
|
824
954
|
showRules: [],
|
825
|
-
|
826
|
-
|
827
|
-
textRule2: false,
|
828
|
-
textRule3: false,
|
829
|
-
textRule2Number: null,
|
830
|
-
textRule3Number: null
|
955
|
+
|
956
|
+
...defaultTextFlagConfig
|
831
957
|
}
|
832
958
|
},
|
833
959
|
{
|
834
960
|
type: "input-batch",
|
835
961
|
icon: "input-batch",
|
962
|
+
commonFlag: !0,
|
836
963
|
formItemFlag: !0,
|
964
|
+
columnFlag: true,
|
837
965
|
tableField: null,
|
838
966
|
options: {
|
839
967
|
name: "",
|
@@ -881,28 +1009,21 @@ export const basicFields = [
|
|
881
1009
|
onAppendButtonClick: "",
|
882
1010
|
widgetWidth: "",
|
883
1011
|
accessType: "1",
|
884
|
-
|
885
|
-
wfEdit: false,
|
886
|
-
enabledByWf: false,
|
887
|
-
hiddenByWf: false,
|
888
|
-
wfConfigData: [],
|
1012
|
+
...defaultWfConfig,
|
889
1013
|
|
890
1014
|
showRuleFlag: 1,
|
891
1015
|
showRuleEnabled: 1,
|
892
1016
|
showRules: [],
|
893
|
-
|
894
|
-
textRule1: false,
|
895
|
-
textRule2: false,
|
896
|
-
textRule3: false,
|
897
|
-
textRule2Number: null,
|
898
|
-
textRule3Number: null
|
1017
|
+
|
899
1018
|
|
900
1019
|
}
|
901
1020
|
},
|
902
1021
|
{
|
903
1022
|
type: "textarea",
|
904
1023
|
icon: "textarea-field",
|
1024
|
+
commonFlag: !0,
|
905
1025
|
formItemFlag: !0,
|
1026
|
+
columnFlag: true,
|
906
1027
|
tableField: null,
|
907
1028
|
options: {
|
908
1029
|
name: "",
|
@@ -941,27 +1062,21 @@ export const basicFields = [
|
|
941
1062
|
onBlur: "",
|
942
1063
|
onValidate: "",
|
943
1064
|
accessType: "1",
|
944
|
-
|
945
|
-
wfEdit: false,
|
946
|
-
enabledByWf: false,
|
947
|
-
hiddenByWf: false,
|
948
|
-
wfConfigData: [],
|
1065
|
+
...defaultWfConfig,
|
949
1066
|
|
950
1067
|
showRuleFlag: 1,
|
951
1068
|
showRuleEnabled: 1,
|
952
1069
|
showRules: [],
|
953
|
-
|
954
|
-
|
955
|
-
textRule2: false,
|
956
|
-
textRule3: false,
|
957
|
-
textRule2Number: null,
|
958
|
-
textRule3Number: null
|
1070
|
+
|
1071
|
+
...defaultTextFlagConfig
|
959
1072
|
}
|
960
1073
|
},
|
961
1074
|
{
|
962
1075
|
type: "number",
|
963
1076
|
icon: "number-field",
|
1077
|
+
commonFlag: !0,
|
964
1078
|
formItemFlag: !0,
|
1079
|
+
columnFlag: true,
|
965
1080
|
tableField: null,
|
966
1081
|
options: {
|
967
1082
|
name: "",
|
@@ -984,8 +1099,8 @@ export const basicFields = [
|
|
984
1099
|
requiredHint: "",
|
985
1100
|
validation: "",
|
986
1101
|
validationHint: "",
|
987
|
-
|
988
|
-
|
1102
|
+
formulaEnabled: !1,
|
1103
|
+
formula: "",
|
989
1104
|
customClass: "",
|
990
1105
|
labelIconClass: null,
|
991
1106
|
labelIconPosition: "rear",
|
@@ -1002,28 +1117,22 @@ export const basicFields = [
|
|
1002
1117
|
onBlur: "",
|
1003
1118
|
onValidate: "",
|
1004
1119
|
accessType: "1",
|
1005
|
-
|
1006
|
-
wfEdit: false,
|
1007
|
-
enabledByWf: false,
|
1008
|
-
hiddenByWf: false,
|
1009
|
-
wfConfigData: [],
|
1120
|
+
...defaultWfConfig,
|
1010
1121
|
|
1011
1122
|
showRuleFlag: 1,
|
1012
1123
|
showRuleEnabled: 1,
|
1013
1124
|
showRules: [],
|
1014
|
-
|
1015
|
-
|
1016
|
-
textRule2: false,
|
1017
|
-
textRule3: false,
|
1018
|
-
textRule2Number: null,
|
1019
|
-
textRule3Number: null
|
1125
|
+
|
1126
|
+
...defaultTextFlagConfig
|
1020
1127
|
|
1021
1128
|
}
|
1022
1129
|
},
|
1023
1130
|
{
|
1024
1131
|
type: "radio",
|
1025
1132
|
icon: "radio-field",
|
1133
|
+
commonFlag: !0,
|
1026
1134
|
formItemFlag: !0,
|
1135
|
+
columnFlag: true,
|
1027
1136
|
tableField: null,
|
1028
1137
|
options: {
|
1029
1138
|
name: "",
|
@@ -1076,27 +1185,24 @@ export const basicFields = [
|
|
1076
1185
|
formScriptEnabled: false,
|
1077
1186
|
formScriptCode: "getList",
|
1078
1187
|
formScriptParam: null,
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1188
|
+
formScriptSuccess: null,
|
1189
|
+
...defaultWfConfig,
|
1190
|
+
|
1191
|
+
commonAttributeEnabled: false,
|
1192
|
+
commonAttributeCode: "",
|
1084
1193
|
|
1085
1194
|
showRuleFlag: 1,
|
1086
1195
|
showRuleEnabled: 1,
|
1087
1196
|
showRules: [],
|
1088
|
-
|
1089
|
-
textRule1: false,
|
1090
|
-
textRule2: false,
|
1091
|
-
textRule3: false,
|
1092
|
-
textRule2Number: null,
|
1093
|
-
textRule3Number: null
|
1197
|
+
|
1094
1198
|
}
|
1095
1199
|
},
|
1096
1200
|
{
|
1097
1201
|
type: "checkbox",
|
1098
1202
|
icon: "checkbox-field",
|
1203
|
+
commonFlag: !0,
|
1099
1204
|
formItemFlag: !0,
|
1205
|
+
columnFlag: true,
|
1100
1206
|
tableField: null,
|
1101
1207
|
options: {
|
1102
1208
|
name: "",
|
@@ -1149,28 +1255,25 @@ export const basicFields = [
|
|
1149
1255
|
formScriptEnabled: false,
|
1150
1256
|
formScriptCode: "getList",
|
1151
1257
|
formScriptParam: null,
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1258
|
+
formScriptSuccess: null,
|
1259
|
+
...defaultWfConfig,
|
1260
|
+
|
1261
|
+
commonAttributeEnabled: false,
|
1262
|
+
commonAttributeCode: "",
|
1157
1263
|
|
1158
1264
|
showRuleFlag: 1,
|
1159
1265
|
showRuleEnabled: 1,
|
1160
1266
|
showRules: [],
|
1161
|
-
|
1162
|
-
textRule1: false,
|
1163
|
-
textRule2: false,
|
1164
|
-
textRule3: false,
|
1165
|
-
textRule2Number: null,
|
1166
|
-
textRule3Number: null
|
1267
|
+
|
1167
1268
|
|
1168
1269
|
}
|
1169
1270
|
},
|
1170
1271
|
{
|
1171
1272
|
type: "select",
|
1172
1273
|
icon: "select-field",
|
1274
|
+
commonFlag: !0,
|
1173
1275
|
formItemFlag: !0,
|
1276
|
+
columnFlag: true,
|
1174
1277
|
tableField: null,
|
1175
1278
|
options: {
|
1176
1279
|
name: "",
|
@@ -1233,27 +1336,25 @@ export const basicFields = [
|
|
1233
1336
|
formScriptEnabled: false,
|
1234
1337
|
formScriptCode: "getList",
|
1235
1338
|
formScriptParam: null,
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1339
|
+
formScriptSuccess: null,
|
1340
|
+
...defaultWfConfig,
|
1341
|
+
|
1342
|
+
commonAttributeEnabled: false,
|
1343
|
+
commonAttributeCode: "",
|
1344
|
+
|
1345
|
+
showCollapseTags:false,
|
1241
1346
|
|
1242
1347
|
showRuleFlag: 1,
|
1243
1348
|
showRuleEnabled: 1,
|
1244
1349
|
showRules: [],
|
1245
|
-
textFlag: 1,
|
1246
|
-
textRule1: false,
|
1247
|
-
textRule2: false,
|
1248
|
-
textRule3: false,
|
1249
|
-
textRule2Number: null,
|
1250
|
-
textRule3Number: null
|
1251
1350
|
}
|
1252
1351
|
},
|
1253
1352
|
{
|
1254
1353
|
type: "time",
|
1255
1354
|
icon: "time-field",
|
1355
|
+
commonFlag: !0,
|
1256
1356
|
formItemFlag: !0,
|
1357
|
+
columnFlag: true,
|
1257
1358
|
tableField: null,
|
1258
1359
|
options: {
|
1259
1360
|
name: "",
|
@@ -1291,28 +1392,22 @@ export const basicFields = [
|
|
1291
1392
|
onBlur: "",
|
1292
1393
|
onValidate: "",
|
1293
1394
|
accessType: "1",
|
1294
|
-
|
1295
|
-
wfEdit: false,
|
1296
|
-
enabledByWf: false,
|
1297
|
-
hiddenByWf: false,
|
1298
|
-
wfConfigData: [],
|
1395
|
+
...defaultWfConfig,
|
1299
1396
|
|
1300
1397
|
showRuleFlag: 1,
|
1301
1398
|
showRuleEnabled: 1,
|
1302
1399
|
showRules: [],
|
1303
|
-
|
1304
|
-
|
1305
|
-
textRule2: false,
|
1306
|
-
textRule3: false,
|
1307
|
-
textRule2Number: null,
|
1308
|
-
textRule3Number: null
|
1400
|
+
|
1401
|
+
...defaultTextFlagConfig
|
1309
1402
|
|
1310
1403
|
}
|
1311
1404
|
},
|
1312
1405
|
{
|
1313
1406
|
type: "time-range",
|
1314
1407
|
icon: "time-range-field",
|
1408
|
+
commonFlag: !0,
|
1315
1409
|
formItemFlag: !0,
|
1410
|
+
columnFlag: true,
|
1316
1411
|
tableField: null,
|
1317
1412
|
options: {
|
1318
1413
|
name: "",
|
@@ -1350,28 +1445,21 @@ export const basicFields = [
|
|
1350
1445
|
onBlur: "",
|
1351
1446
|
onValidate: "",
|
1352
1447
|
accessType: "1",
|
1353
|
-
|
1354
|
-
wfEdit: false,
|
1355
|
-
enabledByWf: false,
|
1356
|
-
hiddenByWf: false,
|
1357
|
-
wfConfigData: [],
|
1448
|
+
...defaultWfConfig,
|
1358
1449
|
|
1359
1450
|
showRuleFlag: 1,
|
1360
1451
|
showRuleEnabled: 1,
|
1361
1452
|
showRules: [],
|
1362
|
-
|
1363
|
-
textRule1: false,
|
1364
|
-
textRule2: false,
|
1365
|
-
textRule3: false,
|
1366
|
-
textRule2Number: null,
|
1367
|
-
textRule3Number: null
|
1453
|
+
|
1368
1454
|
|
1369
1455
|
}
|
1370
1456
|
},
|
1371
1457
|
{
|
1372
1458
|
type: "date",
|
1373
1459
|
icon: "date-field",
|
1460
|
+
commonFlag: !0,
|
1374
1461
|
formItemFlag: !0,
|
1462
|
+
columnFlag: true,
|
1375
1463
|
tableField: null,
|
1376
1464
|
options: {
|
1377
1465
|
name: "",
|
@@ -1411,28 +1499,22 @@ export const basicFields = [
|
|
1411
1499
|
onBlur: "",
|
1412
1500
|
onValidate: "",
|
1413
1501
|
accessType: "1",
|
1414
|
-
|
1415
|
-
wfEdit: false,
|
1416
|
-
enabledByWf: false,
|
1417
|
-
hiddenByWf: false,
|
1418
|
-
wfConfigData: [],
|
1502
|
+
...defaultWfConfig,
|
1419
1503
|
|
1420
1504
|
showRuleFlag: 1,
|
1421
1505
|
showRuleEnabled: 1,
|
1422
1506
|
showRules: [],
|
1423
|
-
|
1424
|
-
|
1425
|
-
textRule2: false,
|
1426
|
-
textRule3: false,
|
1427
|
-
textRule2Number: null,
|
1428
|
-
textRule3Number: null
|
1507
|
+
|
1508
|
+
...defaultTextFlagConfig
|
1429
1509
|
|
1430
1510
|
}
|
1431
1511
|
},
|
1432
1512
|
{
|
1433
1513
|
type: "date-range",
|
1434
1514
|
icon: "date-range-field",
|
1515
|
+
commonFlag: !0,
|
1435
1516
|
formItemFlag: !0,
|
1517
|
+
columnFlag: true,
|
1436
1518
|
tableField: null,
|
1437
1519
|
options: {
|
1438
1520
|
name: "",
|
@@ -1457,6 +1539,7 @@ export const basicFields = [
|
|
1457
1539
|
editable: !1,
|
1458
1540
|
format: "yyyy-MM-dd",
|
1459
1541
|
valueFormat: "yyyy-MM-dd",
|
1542
|
+
defaultTime: ['00:00:00', '23:59:59'],
|
1460
1543
|
required: !1,
|
1461
1544
|
requiredHint: "",
|
1462
1545
|
validation: "",
|
@@ -1472,21 +1555,11 @@ export const basicFields = [
|
|
1472
1555
|
onBlur: "",
|
1473
1556
|
onValidate: "",
|
1474
1557
|
accessType: "1",
|
1475
|
-
|
1476
|
-
wfEdit: false,
|
1477
|
-
enabledByWf: false,
|
1478
|
-
hiddenByWf: false,
|
1479
|
-
wfConfigData: [],
|
1558
|
+
...defaultWfConfig,
|
1480
1559
|
|
1481
1560
|
showRuleFlag: 1,
|
1482
1561
|
showRuleEnabled: 1,
|
1483
1562
|
showRules: [],
|
1484
|
-
textFlag: 1,
|
1485
|
-
textRule1: false,
|
1486
|
-
textRule2: false,
|
1487
|
-
textRule3: false,
|
1488
|
-
textRule2Number: null,
|
1489
|
-
textRule3Number: null
|
1490
1563
|
|
1491
1564
|
}
|
1492
1565
|
},
|
@@ -1617,7 +1690,9 @@ export const basicFields = [
|
|
1617
1690
|
{
|
1618
1691
|
type: "static-text",
|
1619
1692
|
icon: "static-text",
|
1693
|
+
commonFlag: !0,
|
1620
1694
|
formItemFlag: !1,
|
1695
|
+
columnFlag: true,
|
1621
1696
|
options: {
|
1622
1697
|
name: "",
|
1623
1698
|
columnWidth: "200px",
|
@@ -1628,23 +1703,22 @@ export const basicFields = [
|
|
1628
1703
|
onCreated: "",
|
1629
1704
|
onMounted: "",
|
1630
1705
|
accessType: "1",
|
1706
|
+
...defaultWfConfig,
|
1631
1707
|
|
1632
1708
|
showRuleFlag: 1,
|
1633
1709
|
showRuleEnabled: 1,
|
1634
1710
|
showRules: [],
|
1635
|
-
|
1636
|
-
|
1637
|
-
textRule2: false,
|
1638
|
-
textRule3: false,
|
1639
|
-
textRule2Number: null,
|
1640
|
-
textRule3Number: null
|
1711
|
+
|
1712
|
+
...defaultTextFlagConfig
|
1641
1713
|
|
1642
1714
|
}
|
1643
1715
|
},
|
1644
1716
|
{
|
1645
1717
|
type: "html-text",
|
1646
1718
|
icon: "html-text",
|
1719
|
+
commonFlag: !0,
|
1647
1720
|
formItemFlag: !1,
|
1721
|
+
columnFlag: true,
|
1648
1722
|
options: {
|
1649
1723
|
name: "",
|
1650
1724
|
columnWidth: "200px",
|
@@ -1654,16 +1728,11 @@ export const basicFields = [
|
|
1654
1728
|
onCreated: "",
|
1655
1729
|
onMounted: "",
|
1656
1730
|
accessType: "1",
|
1731
|
+
...defaultWfConfig,
|
1657
1732
|
|
1658
1733
|
showRuleFlag: 1,
|
1659
1734
|
showRuleEnabled: 1,
|
1660
1735
|
showRules: [],
|
1661
|
-
textFlag: 1,
|
1662
|
-
textRule1: false,
|
1663
|
-
textRule2: false,
|
1664
|
-
textRule3: false,
|
1665
|
-
textRule2Number: null,
|
1666
|
-
textRule3Number: null
|
1667
1736
|
|
1668
1737
|
}
|
1669
1738
|
},
|
@@ -1687,10 +1756,13 @@ export const basicFields = [
|
|
1687
1756
|
{
|
1688
1757
|
type: "button",
|
1689
1758
|
icon: "button",
|
1759
|
+
commonFlag: !0,
|
1690
1760
|
formItemFlag: !1,
|
1761
|
+
columnFlag: true,
|
1691
1762
|
options: {
|
1692
1763
|
name: "",
|
1693
1764
|
label: "",
|
1765
|
+
wfHideFlag:1,
|
1694
1766
|
columnWidth: "200px",
|
1695
1767
|
size: "",
|
1696
1768
|
displayStyle: "block",
|
@@ -1714,27 +1786,22 @@ export const basicFields = [
|
|
1714
1786
|
tableRef: null,
|
1715
1787
|
tableData: {}
|
1716
1788
|
},
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
hiddenByWf: false,
|
1721
|
-
wfConfigData: [],
|
1789
|
+
...defaultWfConfig,
|
1790
|
+
hiddenByWf: true,
|
1791
|
+
...defaultWidgetShowRuleConfig,
|
1722
1792
|
|
1723
1793
|
showRuleFlag: 1,
|
1724
1794
|
showRuleEnabled: 1,
|
1725
1795
|
showRules: [],
|
1726
|
-
|
1727
|
-
textRule1: false,
|
1728
|
-
textRule2: false,
|
1729
|
-
textRule3: false,
|
1730
|
-
textRule2Number: null,
|
1731
|
-
textRule3Number: null
|
1796
|
+
|
1732
1797
|
}
|
1733
1798
|
},
|
1734
1799
|
{
|
1735
1800
|
type: "divider",
|
1736
1801
|
icon: "divider",
|
1802
|
+
commonFlag: !0,
|
1737
1803
|
formItemFlag: !1,
|
1804
|
+
columnFlag: true,
|
1738
1805
|
options: {
|
1739
1806
|
name: "",
|
1740
1807
|
label: "",
|
@@ -1743,6 +1810,7 @@ export const basicFields = [
|
|
1743
1810
|
contentPosition: "center",
|
1744
1811
|
hidden: !1,
|
1745
1812
|
customClass: "",
|
1813
|
+
...defaultWfConfig,
|
1746
1814
|
onCreated: "",
|
1747
1815
|
onMounted: ""
|
1748
1816
|
}
|
@@ -1804,7 +1872,9 @@ export const basicFields = [
|
|
1804
1872
|
{
|
1805
1873
|
type: "text",
|
1806
1874
|
icon: "text",
|
1875
|
+
commonFlag: !0,
|
1807
1876
|
formItemFlag: !0,
|
1877
|
+
columnFlag: true,
|
1808
1878
|
tableField: null,
|
1809
1879
|
options: {
|
1810
1880
|
name: "",
|
@@ -1824,28 +1894,31 @@ export const basicFields = [
|
|
1824
1894
|
onMounted: "",
|
1825
1895
|
accessType: "1",
|
1826
1896
|
labelColor: '#555555',
|
1897
|
+
...defaultWfConfig,
|
1898
|
+
|
1899
|
+
autoValueEnabled: false,
|
1900
|
+
autoValueHanlde: null,
|
1827
1901
|
|
1828
1902
|
showRuleFlag: 1,
|
1829
1903
|
showRuleEnabled: 1,
|
1830
1904
|
showRules: [],
|
1831
|
-
|
1832
|
-
|
1833
|
-
textRule2: false,
|
1834
|
-
textRule3: false,
|
1835
|
-
textRule2Number: null,
|
1836
|
-
textRule3Number: null
|
1905
|
+
|
1906
|
+
...defaultTextFlagConfig
|
1837
1907
|
}
|
1838
1908
|
},
|
1839
1909
|
{
|
1840
1910
|
type: "a-text",
|
1841
1911
|
icon: "text-field",
|
1912
|
+
commonFlag: !0,
|
1842
1913
|
formItemFlag: !0,
|
1914
|
+
columnFlag: true,
|
1843
1915
|
tableField: null,
|
1844
1916
|
options: {
|
1845
1917
|
name: "",
|
1846
1918
|
keyNameEnabled: !1,
|
1847
1919
|
keyName: "",
|
1848
1920
|
label: "",
|
1921
|
+
displayStyle: "block",
|
1849
1922
|
submitFlag: true,
|
1850
1923
|
/**showText: false,*/
|
1851
1924
|
formField: "",
|
@@ -1872,42 +1945,39 @@ export const basicFields = [
|
|
1872
1945
|
onChange: "",
|
1873
1946
|
onClick: "",
|
1874
1947
|
accessType: "1",
|
1875
|
-
|
1876
|
-
|
1877
|
-
enabledByWf: false,
|
1878
|
-
hiddenByWf: false,
|
1879
|
-
wfConfigData: [],
|
1948
|
+
...defaultWfConfig,
|
1949
|
+
...defaultWidgetShowRuleConfig,
|
1880
1950
|
|
1881
1951
|
showRuleFlag: 1,
|
1882
1952
|
showRuleEnabled: 1,
|
1883
1953
|
showRules: [],
|
1884
|
-
|
1885
|
-
|
1886
|
-
textRule2: false,
|
1887
|
-
textRule3: false,
|
1888
|
-
textRule2Number: null,
|
1889
|
-
textRule3Number: null
|
1954
|
+
|
1955
|
+
...defaultTextFlagConfig
|
1890
1956
|
}
|
1891
1957
|
},
|
1892
1958
|
{
|
1893
1959
|
type: "a-link",
|
1894
1960
|
icon: "button",
|
1961
|
+
commonFlag: !0,
|
1895
1962
|
formItemFlag: !1,
|
1963
|
+
columnFlag: true,
|
1896
1964
|
options: {
|
1897
1965
|
name: "",
|
1898
1966
|
keyNameEnabled: !1,
|
1899
1967
|
keyName: "",
|
1900
1968
|
label: "",
|
1969
|
+
displayStyle: "block",
|
1901
1970
|
labelHidden: !1,
|
1902
1971
|
disabled: !1,
|
1903
1972
|
hidden: !1,
|
1904
1973
|
prefixIcon: "",
|
1905
1974
|
suffixIcon: "",
|
1906
1975
|
customClass: "",
|
1976
|
+
wfHideFlag:1,
|
1907
1977
|
aLinkFlag: 1,
|
1908
1978
|
underline: false,
|
1909
1979
|
href: "",
|
1910
|
-
coloClass: "f-
|
1980
|
+
coloClass: "f-blue",
|
1911
1981
|
isFormLabel: false,
|
1912
1982
|
onCreated: "",
|
1913
1983
|
onMounted: "",
|
@@ -1920,21 +1990,40 @@ export const basicFields = [
|
|
1920
1990
|
tableRef: null,
|
1921
1991
|
tableData: {}
|
1922
1992
|
},
|
1923
|
-
|
1924
|
-
|
1925
|
-
enabledByWf: false,
|
1926
|
-
hiddenByWf: false,
|
1927
|
-
wfConfigData: [],
|
1993
|
+
...defaultWfConfig,
|
1994
|
+
...defaultWidgetShowRuleConfig,
|
1928
1995
|
|
1929
1996
|
showRuleFlag: 1,
|
1930
1997
|
showRuleEnabled: 1,
|
1931
1998
|
showRules: [],
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1999
|
+
|
2000
|
+
...defaultTextFlagConfig
|
2001
|
+
}
|
2002
|
+
},
|
2003
|
+
{
|
2004
|
+
type: "a-link2",
|
2005
|
+
icon: "button",
|
2006
|
+
commonFlag: !1,
|
2007
|
+
formItemFlag: !1,
|
2008
|
+
columnFlag: false,
|
2009
|
+
options: {
|
2010
|
+
prefixIcon: "",
|
2011
|
+
suffixIcon: "",
|
2012
|
+
customClass: "",
|
2013
|
+
aLinkFlag: 1,
|
2014
|
+
underline: false,
|
2015
|
+
href: "",
|
2016
|
+
coloClass: "f-blue",
|
2017
|
+
|
2018
|
+
onClick: "",
|
2019
|
+
clickBindEvent: null,
|
2020
|
+
searchDialogConfig: {
|
2021
|
+
...defaultSearchDialogConfig
|
2022
|
+
},
|
2023
|
+
addTableDataConfig: {
|
2024
|
+
tableRef: null,
|
2025
|
+
tableData: {}
|
2026
|
+
},
|
1938
2027
|
}
|
1939
2028
|
},
|
1940
2029
|
|
@@ -1998,10 +2087,11 @@ export const advancedFields = [
|
|
1998
2087
|
color: "",
|
1999
2088
|
fontWeight: "normal"
|
2000
2089
|
},
|
2001
|
-
data: [
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2090
|
+
data: [
|
2091
|
+
{
|
2092
|
+
value: 1048,
|
2093
|
+
name: 'Search Engine'
|
2094
|
+
},
|
2005
2095
|
{
|
2006
2096
|
value: 735,
|
2007
2097
|
name: 'Direct'
|
@@ -2021,12 +2111,16 @@ export const advancedFields = [
|
|
2021
2111
|
],
|
2022
2112
|
}]
|
2023
2113
|
},
|
2114
|
+
echartConfig: '',
|
2024
2115
|
formScriptEnabled: true,
|
2025
2116
|
formScriptCode: "",
|
2026
2117
|
formScriptParam: null,
|
2118
|
+
formScriptSuccess: null,
|
2119
|
+
onClick: "",
|
2027
2120
|
onCreated: "",
|
2028
2121
|
onMounted: "this.loadDataDefaultHandle()",
|
2029
2122
|
|
2123
|
+
...defaultWfConfig,
|
2030
2124
|
showRuleFlag: 1,
|
2031
2125
|
showRuleEnabled: 1,
|
2032
2126
|
showRules: []
|
@@ -2044,6 +2138,7 @@ export const advancedFields = [
|
|
2044
2138
|
echarBarOption: {
|
2045
2139
|
backgroundColor: "#fff",
|
2046
2140
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2141
|
+
colors: [],
|
2047
2142
|
title: {
|
2048
2143
|
show: true,
|
2049
2144
|
top: '5px',
|
@@ -2190,12 +2285,15 @@ export const advancedFields = [
|
|
2190
2285
|
|
2191
2286
|
}]
|
2192
2287
|
},
|
2288
|
+
echartConfig: '',
|
2193
2289
|
formScriptEnabled: true,
|
2194
2290
|
formScriptCode: "",
|
2195
2291
|
formScriptParam: null,
|
2292
|
+
formScriptSuccess: null,
|
2293
|
+
onClick: "",
|
2196
2294
|
onCreated: "",
|
2197
2295
|
onMounted: "this.loadDataDefaultHandle()",
|
2198
|
-
|
2296
|
+
...defaultWfConfig,
|
2199
2297
|
showRuleFlag: 1,
|
2200
2298
|
showRuleEnabled: 1,
|
2201
2299
|
showRules: []
|
@@ -2214,6 +2312,7 @@ export const advancedFields = [
|
|
2214
2312
|
echarCategoryOption: {
|
2215
2313
|
backgroundColor: "#fff",
|
2216
2314
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2315
|
+
colors: [],
|
2217
2316
|
title: {
|
2218
2317
|
show: true,
|
2219
2318
|
top: '5px',
|
@@ -2324,6 +2423,23 @@ export const advancedFields = [
|
|
2324
2423
|
shadowBlur: 4,
|
2325
2424
|
shadowOffsetY: 6
|
2326
2425
|
},
|
2426
|
+
itemStyle: {
|
2427
|
+
color: {
|
2428
|
+
type: 'linear',
|
2429
|
+
x: 0.5,
|
2430
|
+
y: 0.5,
|
2431
|
+
r: 0.5,
|
2432
|
+
colorStops: [{
|
2433
|
+
offset: 0, color: '#08C084' // 0% 处的颜色
|
2434
|
+
}, {
|
2435
|
+
offset: 1, color: '#97EACE' // 100% 处的颜色
|
2436
|
+
}],
|
2437
|
+
},
|
2438
|
+
cap: 'round',
|
2439
|
+
shadowColor: '#08C08450',
|
2440
|
+
shadowBlur: 4,
|
2441
|
+
shadowOffsetY: 6
|
2442
|
+
},
|
2327
2443
|
emphasis: {
|
2328
2444
|
scale: 1,
|
2329
2445
|
focus: 'series'
|
@@ -2358,6 +2474,23 @@ export const advancedFields = [
|
|
2358
2474
|
shadowBlur: 4,
|
2359
2475
|
shadowOffsetY: 6
|
2360
2476
|
},
|
2477
|
+
itemStyle: {
|
2478
|
+
color: {
|
2479
|
+
type: 'linear',
|
2480
|
+
x: 0.5,
|
2481
|
+
y: 0.5,
|
2482
|
+
r: 0.5,
|
2483
|
+
colorStops: [{
|
2484
|
+
offset: 0, color: '#FF6116' // 0% 处的颜色
|
2485
|
+
}, {
|
2486
|
+
offset: 1, color: '#F9A980' // 100% 处的颜色
|
2487
|
+
}],
|
2488
|
+
},
|
2489
|
+
cap: 'round',
|
2490
|
+
shadowColor: '#FF611650',
|
2491
|
+
shadowBlur: 4,
|
2492
|
+
shadowOffsetY: 6
|
2493
|
+
},
|
2361
2494
|
emphasis: {
|
2362
2495
|
scale: 1,
|
2363
2496
|
focus: 'series'
|
@@ -2367,12 +2500,15 @@ export const advancedFields = [
|
|
2367
2500
|
}]
|
2368
2501
|
|
2369
2502
|
},
|
2503
|
+
echartConfig: '',
|
2370
2504
|
formScriptEnabled: true,
|
2371
2505
|
formScriptCode: "",
|
2372
2506
|
formScriptParam: null,
|
2507
|
+
formScriptSuccess: null,
|
2508
|
+
onClick: "",
|
2373
2509
|
onCreated: "",
|
2374
2510
|
onMounted: "this.loadDataDefaultHandle()",
|
2375
|
-
|
2511
|
+
...defaultWfConfig,
|
2376
2512
|
showRuleFlag: 1,
|
2377
2513
|
showRuleEnabled: 1,
|
2378
2514
|
showRules: []
|
@@ -2507,81 +2643,64 @@ export const advancedFields = [
|
|
2507
2643
|
entityTableDesc: null,
|
2508
2644
|
onCreated: "this.loadDataDefaultHandle();",
|
2509
2645
|
onMounted: "",
|
2646
|
+
onAfterConfirmFile: "",
|
2510
2647
|
vabUpload: 1,
|
2511
2648
|
formScriptEnabled: true,
|
2512
2649
|
formScriptCode: "getList",
|
2513
2650
|
formScriptParam: null,
|
2514
|
-
|
2515
|
-
|
2516
|
-
enabledByWf: false,
|
2517
|
-
hiddenByWf: false,
|
2518
|
-
wfConfigData: [],
|
2651
|
+
formScriptSuccess: null,
|
2652
|
+
...defaultWfConfig,
|
2519
2653
|
|
2520
2654
|
showRuleFlag: 1,
|
2521
2655
|
showRuleEnabled: 1,
|
2522
|
-
showRules: []
|
2656
|
+
showRules: [],
|
2657
|
+
|
2658
|
+
hiddenFileInfo: false,
|
2659
|
+
hiddenFileName: false,
|
2660
|
+
showFileSize: false,
|
2661
|
+
showFileCreateBy: false,
|
2662
|
+
showFileCreateDate: false,
|
2663
|
+
widgetSize: 2
|
2523
2664
|
}
|
2524
2665
|
},
|
2525
2666
|
{
|
2526
2667
|
type: "vabsearch",
|
2527
2668
|
icon: "searchbox",
|
2528
2669
|
commonFlag: !0,
|
2670
|
+
columnFlag: true,
|
2529
2671
|
formItemFlag: !0,
|
2530
2672
|
tableField: null,
|
2531
2673
|
options: {
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
dialogModel: '1',
|
2556
|
-
systemDialogUrl: null,
|
2557
|
-
accessType: "1",
|
2558
|
-
onCreated: "",
|
2559
|
-
onMounted: "",
|
2560
|
-
onChange: "",
|
2561
|
-
onAppendButtonClick: "",
|
2562
|
-
clickBindEvent: '1',
|
2563
|
-
searchDialogConfig: {
|
2564
|
-
...defaultSearchDialogConfig,
|
2565
|
-
multipleChoices: false
|
2566
|
-
},
|
2567
|
-
wfFlag: 1,
|
2568
|
-
wfEdit: false,
|
2569
|
-
enabledByWf: false,
|
2570
|
-
hiddenByWf: false,
|
2571
|
-
wfConfigData: [],
|
2572
|
-
valueField: null,
|
2573
|
-
multipleChoices: false,
|
2574
|
-
|
2575
|
-
showRuleFlag: 1,
|
2576
|
-
showRuleEnabled: 1,
|
2577
|
-
showRules: []
|
2578
|
-
|
2674
|
+
...vabsearchConfig
|
2675
|
+
}
|
2676
|
+
},
|
2677
|
+
{
|
2678
|
+
type: "singerSearch",
|
2679
|
+
icon: "searchbox",
|
2680
|
+
// commonFlag: !0,
|
2681
|
+
// columnFlag: true,
|
2682
|
+
formItemFlag: !0,
|
2683
|
+
tableField: null,
|
2684
|
+
options: {
|
2685
|
+
...vabsearchConfig
|
2686
|
+
}
|
2687
|
+
},
|
2688
|
+
{
|
2689
|
+
type: "multiSearch",
|
2690
|
+
icon: "searchbox",
|
2691
|
+
// commonFlag: !0,
|
2692
|
+
// columnFlag: true,
|
2693
|
+
formItemFlag: !0,
|
2694
|
+
tableField: null,
|
2695
|
+
options: {
|
2696
|
+
...vabsearchConfig
|
2579
2697
|
}
|
2580
2698
|
},
|
2581
2699
|
{
|
2582
2700
|
type: "search_button",
|
2583
2701
|
icon: "button",
|
2584
2702
|
commonFlag: !0,
|
2703
|
+
columnFlag: true,
|
2585
2704
|
formItemFlag: !1,
|
2586
2705
|
options: {
|
2587
2706
|
name: "",
|
@@ -2613,12 +2732,8 @@ export const advancedFields = [
|
|
2613
2732
|
...defaultSearchDialogConfig,
|
2614
2733
|
tableEnabled: true
|
2615
2734
|
},
|
2616
|
-
|
2617
|
-
|
2618
|
-
enabledByWf: false,
|
2619
|
-
hiddenByWf: false,
|
2620
|
-
wfConfigData: [],
|
2621
|
-
|
2735
|
+
...defaultWfConfig,
|
2736
|
+
...defaultWidgetShowRuleConfig,
|
2622
2737
|
showRuleFlag: 1,
|
2623
2738
|
showRuleEnabled: 1,
|
2624
2739
|
showRules: []
|
@@ -2629,6 +2744,7 @@ export const advancedFields = [
|
|
2629
2744
|
targetType: "button",
|
2630
2745
|
icon: "button",
|
2631
2746
|
commonFlag: !0,
|
2747
|
+
columnFlag: true,
|
2632
2748
|
formItemFlag: !1,
|
2633
2749
|
options: {
|
2634
2750
|
name: "",
|
@@ -2654,11 +2770,9 @@ export const advancedFields = [
|
|
2654
2770
|
searchDialogConfig: {
|
2655
2771
|
...defaultSearchDialogConfig
|
2656
2772
|
},
|
2657
|
-
|
2658
|
-
|
2659
|
-
enabledByWf: false,
|
2773
|
+
...defaultWfConfig,
|
2774
|
+
...defaultWidgetShowRuleConfig,
|
2660
2775
|
hiddenByWf: true,
|
2661
|
-
wfConfigData: [],
|
2662
2776
|
|
2663
2777
|
showRuleFlag: 1,
|
2664
2778
|
showRuleEnabled: 1,
|
@@ -2671,6 +2785,7 @@ export const advancedFields = [
|
|
2671
2785
|
targetType: "button",
|
2672
2786
|
icon: "button",
|
2673
2787
|
commonFlag: !0,
|
2788
|
+
columnFlag: true,
|
2674
2789
|
formItemFlag: !1,
|
2675
2790
|
options: {
|
2676
2791
|
name: "",
|
@@ -2694,12 +2809,8 @@ export const advancedFields = [
|
|
2694
2809
|
searchDialogConfig: {
|
2695
2810
|
...defaultSearchDialogConfig
|
2696
2811
|
},
|
2697
|
-
|
2698
|
-
|
2699
|
-
enabledByWf: true,
|
2700
|
-
hiddenByWf: false,
|
2701
|
-
wfConfigData: [],
|
2702
|
-
|
2812
|
+
...defaultWfConfig,
|
2813
|
+
...defaultWidgetShowRuleConfig,
|
2703
2814
|
showRuleFlag: 1,
|
2704
2815
|
showRuleEnabled: 1,
|
2705
2816
|
showRules: []
|
@@ -2710,6 +2821,7 @@ export const advancedFields = [
|
|
2710
2821
|
icon: "list-export",
|
2711
2822
|
formItemFlag: !1,
|
2712
2823
|
commonFlag: !0,
|
2824
|
+
columnFlag: true,
|
2713
2825
|
tableField: null,
|
2714
2826
|
options: {
|
2715
2827
|
name: "",
|
@@ -2720,14 +2832,12 @@ export const advancedFields = [
|
|
2720
2832
|
exportFileName: '导出',
|
2721
2833
|
tableRef: '',
|
2722
2834
|
tableExportParam: "",
|
2835
|
+
showImageAtTable: false,
|
2836
|
+
|
2723
2837
|
onCreated: "",
|
2724
2838
|
onMounted: "",
|
2725
|
-
|
2726
|
-
|
2727
|
-
enabledByWf: false,
|
2728
|
-
hiddenByWf: false,
|
2729
|
-
wfConfigData: [],
|
2730
|
-
|
2839
|
+
...defaultWfConfig,
|
2840
|
+
...defaultWidgetShowRuleConfig,
|
2731
2841
|
showRuleFlag: 1,
|
2732
2842
|
showRuleEnabled: 1,
|
2733
2843
|
showRules: []
|
@@ -2739,6 +2849,7 @@ export const advancedFields = [
|
|
2739
2849
|
targetType: "button",
|
2740
2850
|
icon: "button",
|
2741
2851
|
commonFlag: !0,
|
2852
|
+
columnFlag: true,
|
2742
2853
|
formItemFlag: !1,
|
2743
2854
|
options: {
|
2744
2855
|
name: "",
|
@@ -2761,73 +2872,77 @@ export const advancedFields = [
|
|
2761
2872
|
searchDialogConfig: {
|
2762
2873
|
...defaultSearchDialogConfig
|
2763
2874
|
},
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
hiddenByWf: false,
|
2768
|
-
wfConfigData: [],
|
2769
|
-
|
2875
|
+
...defaultWfConfig,
|
2876
|
+
hiddenByWf: true,
|
2877
|
+
...defaultWidgetShowRuleConfig,
|
2770
2878
|
showRuleFlag: 1,
|
2771
2879
|
showRuleEnabled: 1,
|
2772
2880
|
showRules: []
|
2773
2881
|
},
|
2774
2882
|
},
|
2775
2883
|
{
|
2776
|
-
type: "
|
2777
|
-
targetType: "button",
|
2884
|
+
type: "import-button",
|
2778
2885
|
icon: "button",
|
2779
2886
|
commonFlag: !0,
|
2887
|
+
columnFlag: true,
|
2780
2888
|
formItemFlag: !1,
|
2781
2889
|
options: {
|
2782
2890
|
name: "",
|
2783
|
-
label: "
|
2891
|
+
label: "导入",
|
2784
2892
|
columnWidth: "200px",
|
2785
2893
|
size: "",
|
2786
|
-
|
2894
|
+
|
2895
|
+
// displayStyle: "block",
|
2787
2896
|
disabled: !1,
|
2788
2897
|
hidden: !1,
|
2898
|
+
buttonTypeFlag: 1,
|
2789
2899
|
type: "primary",
|
2790
|
-
plain: !1,
|
2900
|
+
/*plain: !1,
|
2791
2901
|
round: !1,
|
2792
2902
|
circle: !1,
|
2793
|
-
icon: "el-icon-
|
2903
|
+
icon: "el-icon-download",*/
|
2794
2904
|
customClass: "",
|
2795
2905
|
onCreated: "",
|
2796
2906
|
onMounted: "",
|
2797
|
-
//
|
2798
|
-
onClick: "this.saveDefaultHandle();",
|
2799
|
-
accessType: "1",
|
2800
|
-
saveButton: true,
|
2801
|
-
clickBindEvent: null,
|
2907
|
+
// clickBindEvent: null,
|
2802
2908
|
searchDialogConfig: {
|
2803
2909
|
...defaultSearchDialogConfig
|
2804
2910
|
},
|
2805
|
-
|
2806
|
-
wfEdit: false,
|
2807
|
-
enabledByWf: false,
|
2911
|
+
...defaultWfConfig,
|
2808
2912
|
hiddenByWf: true,
|
2809
|
-
|
2913
|
+
...defaultWidgetShowRuleConfig,
|
2914
|
+
importFileLimitSize: 200,
|
2915
|
+
importEntity: '',
|
2916
|
+
importAttachCode: '',
|
2917
|
+
importAttachName: '',
|
2918
|
+
importScriptCode: '',
|
2919
|
+
onBeforeImport: '',
|
2920
|
+
enabledImportPreHandle: false,
|
2921
|
+
tableRef: '',
|
2922
|
+
onSuccessImport: '',
|
2810
2923
|
|
2811
2924
|
showRuleFlag: 1,
|
2812
2925
|
showRuleEnabled: 1,
|
2813
2926
|
showRules: []
|
2814
|
-
|
2815
2927
|
},
|
2816
2928
|
},
|
2817
2929
|
{
|
2818
|
-
type: "
|
2930
|
+
type: "import2-button",
|
2819
2931
|
icon: "button",
|
2820
2932
|
commonFlag: !0,
|
2933
|
+
columnFlag: true,
|
2821
2934
|
formItemFlag: !1,
|
2822
2935
|
options: {
|
2823
2936
|
name: "",
|
2824
|
-
label: "
|
2937
|
+
label: "明细导入",
|
2825
2938
|
columnWidth: "200px",
|
2826
2939
|
size: "",
|
2940
|
+
|
2827
2941
|
// displayStyle: "block",
|
2828
2942
|
disabled: !1,
|
2829
2943
|
hidden: !1,
|
2830
|
-
|
2944
|
+
buttonTypeFlag: 1,
|
2945
|
+
type: "",
|
2831
2946
|
/*plain: !1,
|
2832
2947
|
round: !1,
|
2833
2948
|
circle: !1,
|
@@ -2839,16 +2954,17 @@ export const advancedFields = [
|
|
2839
2954
|
searchDialogConfig: {
|
2840
2955
|
...defaultSearchDialogConfig
|
2841
2956
|
},
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
importEntity: '',
|
2957
|
+
...defaultWfConfig,
|
2958
|
+
hiddenByWf: true,
|
2959
|
+
...defaultWidgetShowRuleConfig,
|
2960
|
+
frontImportFlag: 1,
|
2961
|
+
importFileLimitSize: 200,
|
2848
2962
|
importAttachCode: '',
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2963
|
+
importAttachName: '',
|
2964
|
+
tableRef: '',
|
2965
|
+
onConfirmImportEnabled: false,
|
2966
|
+
onConfirmImport: '',
|
2967
|
+
onSuccessImport: '',
|
2852
2968
|
|
2853
2969
|
showRuleFlag: 1,
|
2854
2970
|
showRuleEnabled: 1,
|
@@ -2859,6 +2975,7 @@ export const advancedFields = [
|
|
2859
2975
|
type: "print-button",
|
2860
2976
|
icon: "button",
|
2861
2977
|
commonFlag: !0,
|
2978
|
+
columnFlag: true,
|
2862
2979
|
formItemFlag: !1,
|
2863
2980
|
options: {
|
2864
2981
|
name: "",
|
@@ -2880,11 +2997,8 @@ export const advancedFields = [
|
|
2880
2997
|
searchDialogConfig: {
|
2881
2998
|
...defaultSearchDialogConfig
|
2882
2999
|
},
|
2883
|
-
|
2884
|
-
|
2885
|
-
enabledByWf: false,
|
2886
|
-
hiddenByWf: false,
|
2887
|
-
wfConfigData: [],
|
3000
|
+
...defaultWfConfig,
|
3001
|
+
...defaultWidgetShowRuleConfig,
|
2888
3002
|
printTableRef: "",
|
2889
3003
|
printItems: [],
|
2890
3004
|
|
@@ -2896,6 +3010,7 @@ export const advancedFields = [
|
|
2896
3010
|
{
|
2897
3011
|
type: "baseAttachment",
|
2898
3012
|
icon: "file-upload-field",
|
3013
|
+
columnFlag: true,
|
2899
3014
|
formItemFlag: !0,
|
2900
3015
|
tableField: null,
|
2901
3016
|
options: {
|
@@ -2916,11 +3031,8 @@ export const advancedFields = [
|
|
2916
3031
|
entityTableDesc: null,
|
2917
3032
|
onCreated: "",
|
2918
3033
|
onMounted: "",
|
2919
|
-
|
2920
|
-
|
2921
|
-
enabledByWf: false,
|
2922
|
-
hiddenByWf: false,
|
2923
|
-
wfConfigData: [],
|
3034
|
+
onAfterConfirmFile: "",
|
3035
|
+
...defaultWfConfig,
|
2924
3036
|
|
2925
3037
|
showRuleFlag: 1,
|
2926
3038
|
showRuleEnabled: 1,
|
@@ -2931,6 +3043,7 @@ export const advancedFields = [
|
|
2931
3043
|
type: "status",
|
2932
3044
|
icon: "status",
|
2933
3045
|
commonFlag: !0,
|
3046
|
+
columnFlag: true,
|
2934
3047
|
formItemFlag: !0,
|
2935
3048
|
tableField: null,
|
2936
3049
|
options: {
|
@@ -2949,6 +3062,7 @@ export const advancedFields = [
|
|
2949
3062
|
statusParam: [],
|
2950
3063
|
onCreated: "",
|
2951
3064
|
onMounted: "",
|
3065
|
+
...defaultWfConfig,
|
2952
3066
|
|
2953
3067
|
showRuleFlag: 1,
|
2954
3068
|
showRuleEnabled: 1,
|
@@ -2995,77 +3109,343 @@ export const advancedFields = [
|
|
2995
3109
|
formScriptEnabled: true,
|
2996
3110
|
formScriptCode: "",
|
2997
3111
|
formScriptParam: null,
|
3112
|
+
formScriptSuccess: null,
|
2998
3113
|
onCreated: "",
|
2999
3114
|
onMounted: "",
|
3000
|
-
|
3115
|
+
...defaultWfConfig,
|
3001
3116
|
showRuleFlag: 1,
|
3002
3117
|
showRuleEnabled: 1,
|
3003
3118
|
showRules: []
|
3004
3119
|
}
|
3005
3120
|
},
|
3121
|
+
|
3006
3122
|
{
|
3007
3123
|
type: "project-tag",
|
3008
3124
|
icon: "uploadbox",
|
3009
|
-
|
3125
|
+
commonFlag: !0,
|
3126
|
+
columnFlag: true,
|
3010
3127
|
formItemFlag: !0,
|
3011
3128
|
tableField: null,
|
3129
|
+
options: {
|
3130
|
+
...projectTagConfig
|
3131
|
+
}
|
3132
|
+
},
|
3133
|
+
{
|
3134
|
+
type: "table2",
|
3135
|
+
category: "container",
|
3136
|
+
icon: "table",
|
3137
|
+
commonFlag: !0,
|
3138
|
+
formItemFlag: !0,
|
3139
|
+
rows: [],
|
3012
3140
|
options: {
|
3013
3141
|
name: "",
|
3014
|
-
keyNameEnabled: !
|
3142
|
+
keyNameEnabled: !0,
|
3015
3143
|
keyName: "",
|
3016
|
-
|
3017
|
-
|
3144
|
+
hidden: !1,
|
3145
|
+
customClass: "",
|
3146
|
+
styleTableClass: '',
|
3147
|
+
// fullWidth: false,
|
3018
3148
|
submitFlag: true,
|
3149
|
+
formScriptEnabled: true,
|
3150
|
+
formScriptCode: "",
|
3151
|
+
formScriptParam: null,
|
3152
|
+
formScriptSuccess: null,
|
3153
|
+
onCreated: "this.loadDataDefaultHandle()",
|
3154
|
+
onMounted: "",
|
3155
|
+
...defaultWfConfig,
|
3156
|
+
showRuleFlag: 1,
|
3157
|
+
showRuleEnabled: 1,
|
3158
|
+
showRules: []
|
3159
|
+
}
|
3160
|
+
},
|
3161
|
+
{
|
3162
|
+
type: "dropdown-menu",
|
3163
|
+
icon: "tab",
|
3164
|
+
// commonFlag: !0,
|
3165
|
+
// columnFlag: true,
|
3166
|
+
widgetList: [],
|
3167
|
+
options: {
|
3168
|
+
name: "",
|
3169
|
+
label: "",
|
3170
|
+
hidden: !1,
|
3019
3171
|
disabled: !1,
|
3020
|
-
|
3172
|
+
height: '',
|
3173
|
+
// isFullscreen: false,
|
3174
|
+
tabClass: 'tab-boxCard tabCard-sty1',
|
3175
|
+
customClass: "",
|
3176
|
+
dropdownMenuFlag: 1,
|
3177
|
+
...defaultWfConfig,
|
3178
|
+
onCreated: "",
|
3179
|
+
onMounted: "",
|
3180
|
+
}
|
3181
|
+
},
|
3182
|
+
{
|
3183
|
+
type: "dropdown-item",
|
3184
|
+
icon: "tab-pane",
|
3185
|
+
internal: !0,
|
3186
|
+
options: {
|
3187
|
+
name: "",
|
3188
|
+
label: "",
|
3189
|
+
hidden: !1,
|
3190
|
+
active: !1,
|
3191
|
+
disabled: !1,
|
3192
|
+
customClass: "",
|
3193
|
+
dropdownItemFlag: 1,
|
3194
|
+
|
3195
|
+
onClick: "",
|
3196
|
+
clickBindEvent: null,
|
3197
|
+
searchDialogConfig: {
|
3198
|
+
...defaultSearchDialogConfig
|
3199
|
+
},
|
3200
|
+
addTableDataConfig: {
|
3201
|
+
tableRef: null,
|
3202
|
+
tableData: {}
|
3203
|
+
},
|
3204
|
+
}
|
3205
|
+
},
|
3206
|
+
]
|
3207
|
+
|
3208
|
+
|
3209
|
+
export const businessFields = [
|
3210
|
+
{
|
3211
|
+
type: "create_by-text",
|
3212
|
+
targetType: "text",
|
3213
|
+
icon: "text",
|
3214
|
+
commonFlag: !0,
|
3215
|
+
formItemFlag: !0,
|
3216
|
+
columnFlag: true,
|
3217
|
+
tableField: null,
|
3218
|
+
options: {
|
3219
|
+
name: "",
|
3220
|
+
keyNameEnabled: !0,
|
3221
|
+
keyName: "_createBy",
|
3222
|
+
label: "创建人",
|
3223
|
+
submitFlag: true,
|
3224
|
+
formField: "",
|
3021
3225
|
hidden: !1,
|
3022
3226
|
required: !1,
|
3227
|
+
customClass: "",
|
3228
|
+
defaultValue: "",
|
3229
|
+
labelAlign: "",
|
3023
3230
|
labelWidth: null,
|
3024
3231
|
labelHidden: !1,
|
3025
|
-
onCreated: "
|
3232
|
+
onCreated: "",
|
3026
3233
|
onMounted: "",
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
enabledByWf: false,
|
3034
|
-
hiddenByWf: false,
|
3035
|
-
wfConfigData: [],
|
3234
|
+
accessType: "1",
|
3235
|
+
labelColor: '#555555',
|
3236
|
+
...defaultWfConfig,
|
3237
|
+
|
3238
|
+
autoValueEnabled: false,
|
3239
|
+
autoValueHanlde: null,
|
3036
3240
|
|
3037
3241
|
showRuleFlag: 1,
|
3038
3242
|
showRuleEnabled: 1,
|
3039
|
-
showRules: []
|
3243
|
+
showRules: [],
|
3244
|
+
|
3245
|
+
...defaultTextFlagConfig
|
3040
3246
|
}
|
3041
3247
|
},
|
3042
3248
|
{
|
3043
|
-
type: "
|
3044
|
-
|
3045
|
-
icon: "
|
3249
|
+
type: "modify_by-text",
|
3250
|
+
targetType: "text",
|
3251
|
+
icon: "text",
|
3046
3252
|
commonFlag: !0,
|
3047
3253
|
formItemFlag: !0,
|
3048
|
-
|
3254
|
+
columnFlag: true,
|
3255
|
+
tableField: null,
|
3049
3256
|
options: {
|
3050
3257
|
name: "",
|
3051
3258
|
keyNameEnabled: !0,
|
3052
|
-
keyName: "",
|
3259
|
+
keyName: "_modifyBy",
|
3260
|
+
label: "更新人",
|
3261
|
+
submitFlag: true,
|
3262
|
+
formField: "",
|
3053
3263
|
hidden: !1,
|
3264
|
+
required: !1,
|
3054
3265
|
customClass: "",
|
3055
|
-
|
3056
|
-
|
3266
|
+
defaultValue: "",
|
3267
|
+
labelAlign: "",
|
3268
|
+
labelWidth: null,
|
3269
|
+
labelHidden: !1,
|
3270
|
+
onCreated: "",
|
3271
|
+
onMounted: "",
|
3272
|
+
accessType: "1",
|
3273
|
+
labelColor: '#555555',
|
3274
|
+
...defaultWfConfig,
|
3275
|
+
|
3276
|
+
autoValueEnabled: false,
|
3277
|
+
autoValueHanlde: null,
|
3278
|
+
|
3279
|
+
showRuleFlag: 1,
|
3280
|
+
showRuleEnabled: 1,
|
3281
|
+
showRules: [],
|
3282
|
+
|
3283
|
+
...defaultTextFlagConfig
|
3284
|
+
}
|
3285
|
+
},
|
3286
|
+
{
|
3287
|
+
type: "create_date-text",
|
3288
|
+
targetType: "text",
|
3289
|
+
icon: "text",
|
3290
|
+
commonFlag: !0,
|
3291
|
+
formItemFlag: !0,
|
3292
|
+
columnFlag: true,
|
3293
|
+
tableField: null,
|
3294
|
+
options: {
|
3295
|
+
name: "",
|
3296
|
+
keyNameEnabled: !0,
|
3297
|
+
keyName: "create_date",
|
3298
|
+
label: "创建时间",
|
3057
3299
|
submitFlag: true,
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3300
|
+
formField: "",
|
3301
|
+
hidden: !1,
|
3302
|
+
required: !1,
|
3303
|
+
customClass: "",
|
3304
|
+
defaultValue: "",
|
3305
|
+
labelAlign: "",
|
3306
|
+
labelWidth: null,
|
3307
|
+
labelHidden: !1,
|
3308
|
+
onCreated: "",
|
3062
3309
|
onMounted: "",
|
3310
|
+
accessType: "1",
|
3311
|
+
labelColor: '#555555',
|
3312
|
+
...defaultWfConfig,
|
3313
|
+
|
3314
|
+
autoValueEnabled: false,
|
3315
|
+
autoValueHanlde: null,
|
3063
3316
|
|
3064
3317
|
showRuleFlag: 1,
|
3065
3318
|
showRuleEnabled: 1,
|
3066
|
-
showRules: []
|
3319
|
+
showRules: [],
|
3320
|
+
|
3321
|
+
...defaultTextFlagConfig
|
3322
|
+
}
|
3323
|
+
},
|
3324
|
+
{
|
3325
|
+
type: "modify_date-text",
|
3326
|
+
targetType: "text",
|
3327
|
+
icon: "text",
|
3328
|
+
commonFlag: !0,
|
3329
|
+
formItemFlag: !0,
|
3330
|
+
columnFlag: true,
|
3331
|
+
tableField: null,
|
3332
|
+
options: {
|
3333
|
+
name: "",
|
3334
|
+
keyNameEnabled: !0,
|
3335
|
+
keyName: "modify_date",
|
3336
|
+
label: "更新时间",
|
3337
|
+
submitFlag: true,
|
3338
|
+
formField: "",
|
3339
|
+
hidden: !1,
|
3340
|
+
required: !1,
|
3341
|
+
customClass: "",
|
3342
|
+
defaultValue: "",
|
3343
|
+
labelAlign: "",
|
3344
|
+
labelWidth: null,
|
3345
|
+
labelHidden: !1,
|
3346
|
+
onCreated: "",
|
3347
|
+
onMounted: "",
|
3348
|
+
accessType: "1",
|
3349
|
+
labelColor: '#555555',
|
3350
|
+
...defaultWfConfig,
|
3351
|
+
|
3352
|
+
autoValueEnabled: false,
|
3353
|
+
autoValueHanlde: null,
|
3354
|
+
|
3355
|
+
showRuleFlag: 1,
|
3356
|
+
showRuleEnabled: 1,
|
3357
|
+
showRules: [],
|
3358
|
+
|
3359
|
+
...defaultTextFlagConfig
|
3360
|
+
}
|
3361
|
+
},
|
3362
|
+
|
3363
|
+
{
|
3364
|
+
type: "user-vabsearch",
|
3365
|
+
targetType: "singerSearch",
|
3366
|
+
icon: "searchbox",
|
3367
|
+
commonFlag: !0,
|
3368
|
+
columnFlag: true,
|
3369
|
+
formItemFlag: !0,
|
3370
|
+
tableField: null,
|
3371
|
+
options: {
|
3372
|
+
...vabsearchConfig,
|
3373
|
+
vabSearchName: "nick_name",
|
3374
|
+
userDefaultVabSearch: true,
|
3375
|
+
label: "用户",
|
3376
|
+
searchDialogConfig: {
|
3377
|
+
...defaultSearchDialogConfig,
|
3378
|
+
multipleChoices: false,
|
3379
|
+
formCode: "user_dialog",
|
3380
|
+
valueSourceField: "id",
|
3381
|
+
labelSourceField: "nick_name",
|
3382
|
+
},
|
3067
3383
|
}
|
3068
3384
|
},
|
3385
|
+
{
|
3386
|
+
type: "saleOrg-vabsearch",
|
3387
|
+
targetType: "singerSearch",
|
3388
|
+
icon: "searchbox",
|
3389
|
+
commonFlag: !0,
|
3390
|
+
columnFlag: true,
|
3391
|
+
formItemFlag: !0,
|
3392
|
+
tableField: null,
|
3393
|
+
options: {
|
3394
|
+
...vabsearchConfig,
|
3395
|
+
vabSearchName: "sale_org_name",
|
3396
|
+
saleOrgDefaultVabSearch: true,
|
3397
|
+
label: "机构",
|
3398
|
+
searchDialogConfig: {
|
3399
|
+
...defaultSearchDialogConfig,
|
3400
|
+
multipleChoices: false,
|
3401
|
+
formCode: "sale_org_dialog",
|
3402
|
+
valueSourceField: "id",
|
3403
|
+
labelSourceField: "name"
|
3404
|
+
},
|
3405
|
+
}
|
3406
|
+
},
|
3407
|
+
|
3408
|
+
{
|
3409
|
+
type: "user-project-tag",
|
3410
|
+
targetType: "project-tag",
|
3411
|
+
icon: "uploadbox",
|
3412
|
+
commonFlag: !0,
|
3413
|
+
columnFlag: true,
|
3414
|
+
formItemFlag: !0,
|
3415
|
+
tableField: null,
|
3416
|
+
options: {
|
3417
|
+
...projectTagConfig,
|
3418
|
+
label: "用户",
|
3419
|
+
tagFormCode: "user_dialog",
|
3420
|
+
tagLabelField: "nick_name",
|
3421
|
+
tagUniqueField: "id",
|
3422
|
+
tagFormLabelField: "nick_name",
|
3423
|
+
tagFormUniqueField: "id",
|
3424
|
+
tabDeleteEnabled: true,
|
3425
|
+
}
|
3426
|
+
},
|
3427
|
+
{
|
3428
|
+
type: "saleOrg-project-tag",
|
3429
|
+
targetType: "project-tag",
|
3430
|
+
icon: "uploadbox",
|
3431
|
+
commonFlag: !0,
|
3432
|
+
columnFlag: true,
|
3433
|
+
formItemFlag: !0,
|
3434
|
+
tableField: null,
|
3435
|
+
options: {
|
3436
|
+
...projectTagConfig,
|
3437
|
+
label: "机构",
|
3438
|
+
tagFormCode: "sale_org_dialog",
|
3439
|
+
tagLabelField: "name",
|
3440
|
+
tagUniqueField: "id",
|
3441
|
+
tagFormLabelField: "name",
|
3442
|
+
tagFormUniqueField: "id",
|
3443
|
+
tabDeleteEnabled: true,
|
3444
|
+
|
3445
|
+
}
|
3446
|
+
},
|
3447
|
+
|
3448
|
+
|
3069
3449
|
]
|
3070
3450
|
|
3071
3451
|
export const keyNamePrefixMap = {
|