cloud-web-corejs 1.0.54-dev.2 → 1.0.54-dev.200
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 +11 -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 +211 -0
- package/src/components/excelExport/index.js +6 -5
- package/src/components/excelExport/index.vue +8 -5
- package/src/components/excelExport/mixins.js +5 -1
- package/src/components/excelImport/index.js +13 -13
- package/src/components/excelImport/index.vue +9 -6
- package/src/components/excelImport/mixins.js +1 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +125 -103
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +25 -26
- 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 +346 -201
- 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 +85 -24
- 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/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/tempStorage/tempStorageDialog.vue +2 -2
- 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 +1 -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 +1528 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +17 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
- 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/preformDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +31 -11
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
- 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 +1390 -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/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 +870 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +67 -36
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +322 -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 +125 -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 +850 -463
- 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/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +11 -11
- 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 +178 -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 +242 -27
- 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 +707 -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 +37 -15
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2169 -18
- 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 +2206 -36
- 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/util.js +1631 -1
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +1266 -1222
- 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/notify_message/unreadDialog.vue +11 -5
- package/src/layout/components/watermark/index.vue +77 -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 +6 -6
- 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/edit.vue +2 -2
- package/src/views/bd/setting/form_script/edit1.vue +3 -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 +191 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +360 -14
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +15 -3
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +4 -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 +624 -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/authDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
- package/src/views/bd/setting/menu_kind/mixins/list.js +1 -1
- package/src/views/bd/setting/table_model/edit.vue +834 -426
- package/src/views/bd/setting/table_model/list.vue +4 -2
- 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 +378 -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 +9 -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 +772 -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 +20 -8
- 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/system_notice/infoDialog.vue +25 -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 +117 -49
- 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 +563 -563
- 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 +118 -4
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -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,137 @@ 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: []
|
850
|
+
}
|
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
|
+
|
761
890
|
}
|
762
891
|
|
763
892
|
export const basicFields = [
|
764
893
|
{
|
765
894
|
type: "input",
|
766
895
|
icon: "text-field",
|
896
|
+
commonFlag: !0,
|
767
897
|
formItemFlag: !0,
|
898
|
+
columnFlag: true,
|
768
899
|
tableField: null,
|
769
900
|
options: {
|
770
901
|
name: "",
|
@@ -813,27 +944,21 @@ export const basicFields = [
|
|
813
944
|
onAppendButtonClick: "",
|
814
945
|
widgetWidth: "",
|
815
946
|
accessType: "1",
|
816
|
-
|
817
|
-
wfEdit: false,
|
818
|
-
enabledByWf: false,
|
819
|
-
hiddenByWf: false,
|
820
|
-
wfConfigData: [],
|
947
|
+
...defaultWfConfig,
|
821
948
|
|
822
949
|
showRuleFlag: 1,
|
823
950
|
showRuleEnabled: 1,
|
824
951
|
showRules: [],
|
825
|
-
|
826
|
-
|
827
|
-
textRule2: false,
|
828
|
-
textRule3: false,
|
829
|
-
textRule2Number: null,
|
830
|
-
textRule3Number: null
|
952
|
+
|
953
|
+
...defaultTextFlagConfig
|
831
954
|
}
|
832
955
|
},
|
833
956
|
{
|
834
957
|
type: "input-batch",
|
835
958
|
icon: "input-batch",
|
959
|
+
commonFlag: !0,
|
836
960
|
formItemFlag: !0,
|
961
|
+
columnFlag: true,
|
837
962
|
tableField: null,
|
838
963
|
options: {
|
839
964
|
name: "",
|
@@ -881,28 +1006,21 @@ export const basicFields = [
|
|
881
1006
|
onAppendButtonClick: "",
|
882
1007
|
widgetWidth: "",
|
883
1008
|
accessType: "1",
|
884
|
-
|
885
|
-
wfEdit: false,
|
886
|
-
enabledByWf: false,
|
887
|
-
hiddenByWf: false,
|
888
|
-
wfConfigData: [],
|
1009
|
+
...defaultWfConfig,
|
889
1010
|
|
890
1011
|
showRuleFlag: 1,
|
891
1012
|
showRuleEnabled: 1,
|
892
1013
|
showRules: [],
|
893
|
-
|
894
|
-
textRule1: false,
|
895
|
-
textRule2: false,
|
896
|
-
textRule3: false,
|
897
|
-
textRule2Number: null,
|
898
|
-
textRule3Number: null
|
1014
|
+
|
899
1015
|
|
900
1016
|
}
|
901
1017
|
},
|
902
1018
|
{
|
903
1019
|
type: "textarea",
|
904
1020
|
icon: "textarea-field",
|
1021
|
+
commonFlag: !0,
|
905
1022
|
formItemFlag: !0,
|
1023
|
+
columnFlag: true,
|
906
1024
|
tableField: null,
|
907
1025
|
options: {
|
908
1026
|
name: "",
|
@@ -941,27 +1059,21 @@ export const basicFields = [
|
|
941
1059
|
onBlur: "",
|
942
1060
|
onValidate: "",
|
943
1061
|
accessType: "1",
|
944
|
-
|
945
|
-
wfEdit: false,
|
946
|
-
enabledByWf: false,
|
947
|
-
hiddenByWf: false,
|
948
|
-
wfConfigData: [],
|
1062
|
+
...defaultWfConfig,
|
949
1063
|
|
950
1064
|
showRuleFlag: 1,
|
951
1065
|
showRuleEnabled: 1,
|
952
1066
|
showRules: [],
|
953
|
-
|
954
|
-
|
955
|
-
textRule2: false,
|
956
|
-
textRule3: false,
|
957
|
-
textRule2Number: null,
|
958
|
-
textRule3Number: null
|
1067
|
+
|
1068
|
+
...defaultTextFlagConfig
|
959
1069
|
}
|
960
1070
|
},
|
961
1071
|
{
|
962
1072
|
type: "number",
|
963
1073
|
icon: "number-field",
|
1074
|
+
commonFlag: !0,
|
964
1075
|
formItemFlag: !0,
|
1076
|
+
columnFlag: true,
|
965
1077
|
tableField: null,
|
966
1078
|
options: {
|
967
1079
|
name: "",
|
@@ -984,8 +1096,8 @@ export const basicFields = [
|
|
984
1096
|
requiredHint: "",
|
985
1097
|
validation: "",
|
986
1098
|
validationHint: "",
|
987
|
-
|
988
|
-
|
1099
|
+
formulaEnabled: !1,
|
1100
|
+
formula: "",
|
989
1101
|
customClass: "",
|
990
1102
|
labelIconClass: null,
|
991
1103
|
labelIconPosition: "rear",
|
@@ -1002,28 +1114,22 @@ export const basicFields = [
|
|
1002
1114
|
onBlur: "",
|
1003
1115
|
onValidate: "",
|
1004
1116
|
accessType: "1",
|
1005
|
-
|
1006
|
-
wfEdit: false,
|
1007
|
-
enabledByWf: false,
|
1008
|
-
hiddenByWf: false,
|
1009
|
-
wfConfigData: [],
|
1117
|
+
...defaultWfConfig,
|
1010
1118
|
|
1011
1119
|
showRuleFlag: 1,
|
1012
1120
|
showRuleEnabled: 1,
|
1013
1121
|
showRules: [],
|
1014
|
-
|
1015
|
-
|
1016
|
-
textRule2: false,
|
1017
|
-
textRule3: false,
|
1018
|
-
textRule2Number: null,
|
1019
|
-
textRule3Number: null
|
1122
|
+
|
1123
|
+
...defaultTextFlagConfig
|
1020
1124
|
|
1021
1125
|
}
|
1022
1126
|
},
|
1023
1127
|
{
|
1024
1128
|
type: "radio",
|
1025
1129
|
icon: "radio-field",
|
1130
|
+
commonFlag: !0,
|
1026
1131
|
formItemFlag: !0,
|
1132
|
+
columnFlag: true,
|
1027
1133
|
tableField: null,
|
1028
1134
|
options: {
|
1029
1135
|
name: "",
|
@@ -1076,27 +1182,24 @@ export const basicFields = [
|
|
1076
1182
|
formScriptEnabled: false,
|
1077
1183
|
formScriptCode: "getList",
|
1078
1184
|
formScriptParam: null,
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1185
|
+
formScriptSuccess: null,
|
1186
|
+
...defaultWfConfig,
|
1187
|
+
|
1188
|
+
commonAttributeEnabled: false,
|
1189
|
+
commonAttributeCode: "",
|
1084
1190
|
|
1085
1191
|
showRuleFlag: 1,
|
1086
1192
|
showRuleEnabled: 1,
|
1087
1193
|
showRules: [],
|
1088
|
-
|
1089
|
-
textRule1: false,
|
1090
|
-
textRule2: false,
|
1091
|
-
textRule3: false,
|
1092
|
-
textRule2Number: null,
|
1093
|
-
textRule3Number: null
|
1194
|
+
|
1094
1195
|
}
|
1095
1196
|
},
|
1096
1197
|
{
|
1097
1198
|
type: "checkbox",
|
1098
1199
|
icon: "checkbox-field",
|
1200
|
+
commonFlag: !0,
|
1099
1201
|
formItemFlag: !0,
|
1202
|
+
columnFlag: true,
|
1100
1203
|
tableField: null,
|
1101
1204
|
options: {
|
1102
1205
|
name: "",
|
@@ -1149,28 +1252,25 @@ export const basicFields = [
|
|
1149
1252
|
formScriptEnabled: false,
|
1150
1253
|
formScriptCode: "getList",
|
1151
1254
|
formScriptParam: null,
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1255
|
+
formScriptSuccess: null,
|
1256
|
+
...defaultWfConfig,
|
1257
|
+
|
1258
|
+
commonAttributeEnabled: false,
|
1259
|
+
commonAttributeCode: "",
|
1157
1260
|
|
1158
1261
|
showRuleFlag: 1,
|
1159
1262
|
showRuleEnabled: 1,
|
1160
1263
|
showRules: [],
|
1161
|
-
|
1162
|
-
textRule1: false,
|
1163
|
-
textRule2: false,
|
1164
|
-
textRule3: false,
|
1165
|
-
textRule2Number: null,
|
1166
|
-
textRule3Number: null
|
1264
|
+
|
1167
1265
|
|
1168
1266
|
}
|
1169
1267
|
},
|
1170
1268
|
{
|
1171
1269
|
type: "select",
|
1172
1270
|
icon: "select-field",
|
1271
|
+
commonFlag: !0,
|
1173
1272
|
formItemFlag: !0,
|
1273
|
+
columnFlag: true,
|
1174
1274
|
tableField: null,
|
1175
1275
|
options: {
|
1176
1276
|
name: "",
|
@@ -1233,27 +1333,23 @@ export const basicFields = [
|
|
1233
1333
|
formScriptEnabled: false,
|
1234
1334
|
formScriptCode: "getList",
|
1235
1335
|
formScriptParam: null,
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1336
|
+
formScriptSuccess: null,
|
1337
|
+
...defaultWfConfig,
|
1338
|
+
|
1339
|
+
commonAttributeEnabled: false,
|
1340
|
+
commonAttributeCode: "",
|
1241
1341
|
|
1242
1342
|
showRuleFlag: 1,
|
1243
1343
|
showRuleEnabled: 1,
|
1244
1344
|
showRules: [],
|
1245
|
-
textFlag: 1,
|
1246
|
-
textRule1: false,
|
1247
|
-
textRule2: false,
|
1248
|
-
textRule3: false,
|
1249
|
-
textRule2Number: null,
|
1250
|
-
textRule3Number: null
|
1251
1345
|
}
|
1252
1346
|
},
|
1253
1347
|
{
|
1254
1348
|
type: "time",
|
1255
1349
|
icon: "time-field",
|
1350
|
+
commonFlag: !0,
|
1256
1351
|
formItemFlag: !0,
|
1352
|
+
columnFlag: true,
|
1257
1353
|
tableField: null,
|
1258
1354
|
options: {
|
1259
1355
|
name: "",
|
@@ -1291,28 +1387,22 @@ export const basicFields = [
|
|
1291
1387
|
onBlur: "",
|
1292
1388
|
onValidate: "",
|
1293
1389
|
accessType: "1",
|
1294
|
-
|
1295
|
-
wfEdit: false,
|
1296
|
-
enabledByWf: false,
|
1297
|
-
hiddenByWf: false,
|
1298
|
-
wfConfigData: [],
|
1390
|
+
...defaultWfConfig,
|
1299
1391
|
|
1300
1392
|
showRuleFlag: 1,
|
1301
1393
|
showRuleEnabled: 1,
|
1302
1394
|
showRules: [],
|
1303
|
-
|
1304
|
-
|
1305
|
-
textRule2: false,
|
1306
|
-
textRule3: false,
|
1307
|
-
textRule2Number: null,
|
1308
|
-
textRule3Number: null
|
1395
|
+
|
1396
|
+
...defaultTextFlagConfig
|
1309
1397
|
|
1310
1398
|
}
|
1311
1399
|
},
|
1312
1400
|
{
|
1313
1401
|
type: "time-range",
|
1314
1402
|
icon: "time-range-field",
|
1403
|
+
commonFlag: !0,
|
1315
1404
|
formItemFlag: !0,
|
1405
|
+
columnFlag: true,
|
1316
1406
|
tableField: null,
|
1317
1407
|
options: {
|
1318
1408
|
name: "",
|
@@ -1350,28 +1440,21 @@ export const basicFields = [
|
|
1350
1440
|
onBlur: "",
|
1351
1441
|
onValidate: "",
|
1352
1442
|
accessType: "1",
|
1353
|
-
|
1354
|
-
wfEdit: false,
|
1355
|
-
enabledByWf: false,
|
1356
|
-
hiddenByWf: false,
|
1357
|
-
wfConfigData: [],
|
1443
|
+
...defaultWfConfig,
|
1358
1444
|
|
1359
1445
|
showRuleFlag: 1,
|
1360
1446
|
showRuleEnabled: 1,
|
1361
1447
|
showRules: [],
|
1362
|
-
|
1363
|
-
textRule1: false,
|
1364
|
-
textRule2: false,
|
1365
|
-
textRule3: false,
|
1366
|
-
textRule2Number: null,
|
1367
|
-
textRule3Number: null
|
1448
|
+
|
1368
1449
|
|
1369
1450
|
}
|
1370
1451
|
},
|
1371
1452
|
{
|
1372
1453
|
type: "date",
|
1373
1454
|
icon: "date-field",
|
1455
|
+
commonFlag: !0,
|
1374
1456
|
formItemFlag: !0,
|
1457
|
+
columnFlag: true,
|
1375
1458
|
tableField: null,
|
1376
1459
|
options: {
|
1377
1460
|
name: "",
|
@@ -1411,28 +1494,22 @@ export const basicFields = [
|
|
1411
1494
|
onBlur: "",
|
1412
1495
|
onValidate: "",
|
1413
1496
|
accessType: "1",
|
1414
|
-
|
1415
|
-
wfEdit: false,
|
1416
|
-
enabledByWf: false,
|
1417
|
-
hiddenByWf: false,
|
1418
|
-
wfConfigData: [],
|
1497
|
+
...defaultWfConfig,
|
1419
1498
|
|
1420
1499
|
showRuleFlag: 1,
|
1421
1500
|
showRuleEnabled: 1,
|
1422
1501
|
showRules: [],
|
1423
|
-
|
1424
|
-
|
1425
|
-
textRule2: false,
|
1426
|
-
textRule3: false,
|
1427
|
-
textRule2Number: null,
|
1428
|
-
textRule3Number: null
|
1502
|
+
|
1503
|
+
...defaultTextFlagConfig
|
1429
1504
|
|
1430
1505
|
}
|
1431
1506
|
},
|
1432
1507
|
{
|
1433
1508
|
type: "date-range",
|
1434
1509
|
icon: "date-range-field",
|
1510
|
+
commonFlag: !0,
|
1435
1511
|
formItemFlag: !0,
|
1512
|
+
columnFlag: true,
|
1436
1513
|
tableField: null,
|
1437
1514
|
options: {
|
1438
1515
|
name: "",
|
@@ -1457,6 +1534,7 @@ export const basicFields = [
|
|
1457
1534
|
editable: !1,
|
1458
1535
|
format: "yyyy-MM-dd",
|
1459
1536
|
valueFormat: "yyyy-MM-dd",
|
1537
|
+
defaultTime: ['00:00:00', '23:59:59'],
|
1460
1538
|
required: !1,
|
1461
1539
|
requiredHint: "",
|
1462
1540
|
validation: "",
|
@@ -1472,21 +1550,11 @@ export const basicFields = [
|
|
1472
1550
|
onBlur: "",
|
1473
1551
|
onValidate: "",
|
1474
1552
|
accessType: "1",
|
1475
|
-
|
1476
|
-
wfEdit: false,
|
1477
|
-
enabledByWf: false,
|
1478
|
-
hiddenByWf: false,
|
1479
|
-
wfConfigData: [],
|
1553
|
+
...defaultWfConfig,
|
1480
1554
|
|
1481
1555
|
showRuleFlag: 1,
|
1482
1556
|
showRuleEnabled: 1,
|
1483
1557
|
showRules: [],
|
1484
|
-
textFlag: 1,
|
1485
|
-
textRule1: false,
|
1486
|
-
textRule2: false,
|
1487
|
-
textRule3: false,
|
1488
|
-
textRule2Number: null,
|
1489
|
-
textRule3Number: null
|
1490
1558
|
|
1491
1559
|
}
|
1492
1560
|
},
|
@@ -1617,7 +1685,9 @@ export const basicFields = [
|
|
1617
1685
|
{
|
1618
1686
|
type: "static-text",
|
1619
1687
|
icon: "static-text",
|
1688
|
+
commonFlag: !0,
|
1620
1689
|
formItemFlag: !1,
|
1690
|
+
columnFlag: true,
|
1621
1691
|
options: {
|
1622
1692
|
name: "",
|
1623
1693
|
columnWidth: "200px",
|
@@ -1628,23 +1698,22 @@ export const basicFields = [
|
|
1628
1698
|
onCreated: "",
|
1629
1699
|
onMounted: "",
|
1630
1700
|
accessType: "1",
|
1701
|
+
...defaultWfConfig,
|
1631
1702
|
|
1632
1703
|
showRuleFlag: 1,
|
1633
1704
|
showRuleEnabled: 1,
|
1634
1705
|
showRules: [],
|
1635
|
-
|
1636
|
-
|
1637
|
-
textRule2: false,
|
1638
|
-
textRule3: false,
|
1639
|
-
textRule2Number: null,
|
1640
|
-
textRule3Number: null
|
1706
|
+
|
1707
|
+
...defaultTextFlagConfig
|
1641
1708
|
|
1642
1709
|
}
|
1643
1710
|
},
|
1644
1711
|
{
|
1645
1712
|
type: "html-text",
|
1646
1713
|
icon: "html-text",
|
1714
|
+
commonFlag: !0,
|
1647
1715
|
formItemFlag: !1,
|
1716
|
+
columnFlag: true,
|
1648
1717
|
options: {
|
1649
1718
|
name: "",
|
1650
1719
|
columnWidth: "200px",
|
@@ -1654,16 +1723,11 @@ export const basicFields = [
|
|
1654
1723
|
onCreated: "",
|
1655
1724
|
onMounted: "",
|
1656
1725
|
accessType: "1",
|
1726
|
+
...defaultWfConfig,
|
1657
1727
|
|
1658
1728
|
showRuleFlag: 1,
|
1659
1729
|
showRuleEnabled: 1,
|
1660
1730
|
showRules: [],
|
1661
|
-
textFlag: 1,
|
1662
|
-
textRule1: false,
|
1663
|
-
textRule2: false,
|
1664
|
-
textRule3: false,
|
1665
|
-
textRule2Number: null,
|
1666
|
-
textRule3Number: null
|
1667
1731
|
|
1668
1732
|
}
|
1669
1733
|
},
|
@@ -1687,7 +1751,9 @@ export const basicFields = [
|
|
1687
1751
|
{
|
1688
1752
|
type: "button",
|
1689
1753
|
icon: "button",
|
1754
|
+
commonFlag: !0,
|
1690
1755
|
formItemFlag: !1,
|
1756
|
+
columnFlag: true,
|
1691
1757
|
options: {
|
1692
1758
|
name: "",
|
1693
1759
|
label: "",
|
@@ -1714,27 +1780,22 @@ export const basicFields = [
|
|
1714
1780
|
tableRef: null,
|
1715
1781
|
tableData: {}
|
1716
1782
|
},
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
hiddenByWf: false,
|
1721
|
-
wfConfigData: [],
|
1783
|
+
...defaultWfConfig,
|
1784
|
+
hiddenByWf: true,
|
1785
|
+
...defaultWidgetShowRuleConfig,
|
1722
1786
|
|
1723
1787
|
showRuleFlag: 1,
|
1724
1788
|
showRuleEnabled: 1,
|
1725
1789
|
showRules: [],
|
1726
|
-
|
1727
|
-
textRule1: false,
|
1728
|
-
textRule2: false,
|
1729
|
-
textRule3: false,
|
1730
|
-
textRule2Number: null,
|
1731
|
-
textRule3Number: null
|
1790
|
+
|
1732
1791
|
}
|
1733
1792
|
},
|
1734
1793
|
{
|
1735
1794
|
type: "divider",
|
1736
1795
|
icon: "divider",
|
1796
|
+
commonFlag: !0,
|
1737
1797
|
formItemFlag: !1,
|
1798
|
+
columnFlag: true,
|
1738
1799
|
options: {
|
1739
1800
|
name: "",
|
1740
1801
|
label: "",
|
@@ -1743,6 +1804,7 @@ export const basicFields = [
|
|
1743
1804
|
contentPosition: "center",
|
1744
1805
|
hidden: !1,
|
1745
1806
|
customClass: "",
|
1807
|
+
...defaultWfConfig,
|
1746
1808
|
onCreated: "",
|
1747
1809
|
onMounted: ""
|
1748
1810
|
}
|
@@ -1804,7 +1866,9 @@ export const basicFields = [
|
|
1804
1866
|
{
|
1805
1867
|
type: "text",
|
1806
1868
|
icon: "text",
|
1869
|
+
commonFlag: !0,
|
1807
1870
|
formItemFlag: !0,
|
1871
|
+
columnFlag: true,
|
1808
1872
|
tableField: null,
|
1809
1873
|
options: {
|
1810
1874
|
name: "",
|
@@ -1824,28 +1888,31 @@ export const basicFields = [
|
|
1824
1888
|
onMounted: "",
|
1825
1889
|
accessType: "1",
|
1826
1890
|
labelColor: '#555555',
|
1891
|
+
...defaultWfConfig,
|
1892
|
+
|
1893
|
+
autoValueEnabled: false,
|
1894
|
+
autoValueHanlde: null,
|
1827
1895
|
|
1828
1896
|
showRuleFlag: 1,
|
1829
1897
|
showRuleEnabled: 1,
|
1830
1898
|
showRules: [],
|
1831
|
-
|
1832
|
-
|
1833
|
-
textRule2: false,
|
1834
|
-
textRule3: false,
|
1835
|
-
textRule2Number: null,
|
1836
|
-
textRule3Number: null
|
1899
|
+
|
1900
|
+
...defaultTextFlagConfig
|
1837
1901
|
}
|
1838
1902
|
},
|
1839
1903
|
{
|
1840
1904
|
type: "a-text",
|
1841
1905
|
icon: "text-field",
|
1906
|
+
commonFlag: !0,
|
1842
1907
|
formItemFlag: !0,
|
1908
|
+
columnFlag: true,
|
1843
1909
|
tableField: null,
|
1844
1910
|
options: {
|
1845
1911
|
name: "",
|
1846
1912
|
keyNameEnabled: !1,
|
1847
1913
|
keyName: "",
|
1848
1914
|
label: "",
|
1915
|
+
displayStyle: "block",
|
1849
1916
|
submitFlag: true,
|
1850
1917
|
/**showText: false,*/
|
1851
1918
|
formField: "",
|
@@ -1872,32 +1939,28 @@ export const basicFields = [
|
|
1872
1939
|
onChange: "",
|
1873
1940
|
onClick: "",
|
1874
1941
|
accessType: "1",
|
1875
|
-
|
1876
|
-
|
1877
|
-
enabledByWf: false,
|
1878
|
-
hiddenByWf: false,
|
1879
|
-
wfConfigData: [],
|
1942
|
+
...defaultWfConfig,
|
1943
|
+
...defaultWidgetShowRuleConfig,
|
1880
1944
|
|
1881
1945
|
showRuleFlag: 1,
|
1882
1946
|
showRuleEnabled: 1,
|
1883
1947
|
showRules: [],
|
1884
|
-
|
1885
|
-
|
1886
|
-
textRule2: false,
|
1887
|
-
textRule3: false,
|
1888
|
-
textRule2Number: null,
|
1889
|
-
textRule3Number: null
|
1948
|
+
|
1949
|
+
...defaultTextFlagConfig
|
1890
1950
|
}
|
1891
1951
|
},
|
1892
1952
|
{
|
1893
1953
|
type: "a-link",
|
1894
1954
|
icon: "button",
|
1955
|
+
commonFlag: !0,
|
1895
1956
|
formItemFlag: !1,
|
1957
|
+
columnFlag: true,
|
1896
1958
|
options: {
|
1897
1959
|
name: "",
|
1898
1960
|
keyNameEnabled: !1,
|
1899
1961
|
keyName: "",
|
1900
1962
|
label: "",
|
1963
|
+
displayStyle: "block",
|
1901
1964
|
labelHidden: !1,
|
1902
1965
|
disabled: !1,
|
1903
1966
|
hidden: !1,
|
@@ -1907,7 +1970,7 @@ export const basicFields = [
|
|
1907
1970
|
aLinkFlag: 1,
|
1908
1971
|
underline: false,
|
1909
1972
|
href: "",
|
1910
|
-
coloClass: "f-
|
1973
|
+
coloClass: "f-blue",
|
1911
1974
|
isFormLabel: false,
|
1912
1975
|
onCreated: "",
|
1913
1976
|
onMounted: "",
|
@@ -1920,21 +1983,40 @@ export const basicFields = [
|
|
1920
1983
|
tableRef: null,
|
1921
1984
|
tableData: {}
|
1922
1985
|
},
|
1923
|
-
|
1924
|
-
|
1925
|
-
enabledByWf: false,
|
1926
|
-
hiddenByWf: false,
|
1927
|
-
wfConfigData: [],
|
1986
|
+
...defaultWfConfig,
|
1987
|
+
...defaultWidgetShowRuleConfig,
|
1928
1988
|
|
1929
1989
|
showRuleFlag: 1,
|
1930
1990
|
showRuleEnabled: 1,
|
1931
1991
|
showRules: [],
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1992
|
+
|
1993
|
+
...defaultTextFlagConfig
|
1994
|
+
}
|
1995
|
+
},
|
1996
|
+
{
|
1997
|
+
type: "a-link2",
|
1998
|
+
icon: "button",
|
1999
|
+
commonFlag: !1,
|
2000
|
+
formItemFlag: !1,
|
2001
|
+
columnFlag: false,
|
2002
|
+
options: {
|
2003
|
+
prefixIcon: "",
|
2004
|
+
suffixIcon: "",
|
2005
|
+
customClass: "",
|
2006
|
+
aLinkFlag: 1,
|
2007
|
+
underline: false,
|
2008
|
+
href: "",
|
2009
|
+
coloClass: "f-blue",
|
2010
|
+
|
2011
|
+
onClick: "",
|
2012
|
+
clickBindEvent: null,
|
2013
|
+
searchDialogConfig: {
|
2014
|
+
...defaultSearchDialogConfig
|
2015
|
+
},
|
2016
|
+
addTableDataConfig: {
|
2017
|
+
tableRef: null,
|
2018
|
+
tableData: {}
|
2019
|
+
},
|
1938
2020
|
}
|
1939
2021
|
},
|
1940
2022
|
|
@@ -1998,10 +2080,11 @@ export const advancedFields = [
|
|
1998
2080
|
color: "",
|
1999
2081
|
fontWeight: "normal"
|
2000
2082
|
},
|
2001
|
-
data: [
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2083
|
+
data: [
|
2084
|
+
{
|
2085
|
+
value: 1048,
|
2086
|
+
name: 'Search Engine'
|
2087
|
+
},
|
2005
2088
|
{
|
2006
2089
|
value: 735,
|
2007
2090
|
name: 'Direct'
|
@@ -2021,12 +2104,16 @@ export const advancedFields = [
|
|
2021
2104
|
],
|
2022
2105
|
}]
|
2023
2106
|
},
|
2107
|
+
echartConfig: '',
|
2024
2108
|
formScriptEnabled: true,
|
2025
2109
|
formScriptCode: "",
|
2026
2110
|
formScriptParam: null,
|
2111
|
+
formScriptSuccess: null,
|
2112
|
+
onClick: "",
|
2027
2113
|
onCreated: "",
|
2028
2114
|
onMounted: "this.loadDataDefaultHandle()",
|
2029
2115
|
|
2116
|
+
...defaultWfConfig,
|
2030
2117
|
showRuleFlag: 1,
|
2031
2118
|
showRuleEnabled: 1,
|
2032
2119
|
showRules: []
|
@@ -2044,6 +2131,7 @@ export const advancedFields = [
|
|
2044
2131
|
echarBarOption: {
|
2045
2132
|
backgroundColor: "#fff",
|
2046
2133
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2134
|
+
colors: [],
|
2047
2135
|
title: {
|
2048
2136
|
show: true,
|
2049
2137
|
top: '5px',
|
@@ -2190,12 +2278,15 @@ export const advancedFields = [
|
|
2190
2278
|
|
2191
2279
|
}]
|
2192
2280
|
},
|
2281
|
+
echartConfig: '',
|
2193
2282
|
formScriptEnabled: true,
|
2194
2283
|
formScriptCode: "",
|
2195
2284
|
formScriptParam: null,
|
2285
|
+
formScriptSuccess: null,
|
2286
|
+
onClick: "",
|
2196
2287
|
onCreated: "",
|
2197
2288
|
onMounted: "this.loadDataDefaultHandle()",
|
2198
|
-
|
2289
|
+
...defaultWfConfig,
|
2199
2290
|
showRuleFlag: 1,
|
2200
2291
|
showRuleEnabled: 1,
|
2201
2292
|
showRules: []
|
@@ -2214,6 +2305,7 @@ export const advancedFields = [
|
|
2214
2305
|
echarCategoryOption: {
|
2215
2306
|
backgroundColor: "#fff",
|
2216
2307
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2308
|
+
colors: [],
|
2217
2309
|
title: {
|
2218
2310
|
show: true,
|
2219
2311
|
top: '5px',
|
@@ -2324,6 +2416,23 @@ export const advancedFields = [
|
|
2324
2416
|
shadowBlur: 4,
|
2325
2417
|
shadowOffsetY: 6
|
2326
2418
|
},
|
2419
|
+
itemStyle: {
|
2420
|
+
color: {
|
2421
|
+
type: 'linear',
|
2422
|
+
x: 0.5,
|
2423
|
+
y: 0.5,
|
2424
|
+
r: 0.5,
|
2425
|
+
colorStops: [{
|
2426
|
+
offset: 0, color: '#08C084' // 0% 处的颜色
|
2427
|
+
}, {
|
2428
|
+
offset: 1, color: '#97EACE' // 100% 处的颜色
|
2429
|
+
}],
|
2430
|
+
},
|
2431
|
+
cap: 'round',
|
2432
|
+
shadowColor: '#08C08450',
|
2433
|
+
shadowBlur: 4,
|
2434
|
+
shadowOffsetY: 6
|
2435
|
+
},
|
2327
2436
|
emphasis: {
|
2328
2437
|
scale: 1,
|
2329
2438
|
focus: 'series'
|
@@ -2358,6 +2467,23 @@ export const advancedFields = [
|
|
2358
2467
|
shadowBlur: 4,
|
2359
2468
|
shadowOffsetY: 6
|
2360
2469
|
},
|
2470
|
+
itemStyle: {
|
2471
|
+
color: {
|
2472
|
+
type: 'linear',
|
2473
|
+
x: 0.5,
|
2474
|
+
y: 0.5,
|
2475
|
+
r: 0.5,
|
2476
|
+
colorStops: [{
|
2477
|
+
offset: 0, color: '#FF6116' // 0% 处的颜色
|
2478
|
+
}, {
|
2479
|
+
offset: 1, color: '#F9A980' // 100% 处的颜色
|
2480
|
+
}],
|
2481
|
+
},
|
2482
|
+
cap: 'round',
|
2483
|
+
shadowColor: '#FF611650',
|
2484
|
+
shadowBlur: 4,
|
2485
|
+
shadowOffsetY: 6
|
2486
|
+
},
|
2361
2487
|
emphasis: {
|
2362
2488
|
scale: 1,
|
2363
2489
|
focus: 'series'
|
@@ -2367,12 +2493,15 @@ export const advancedFields = [
|
|
2367
2493
|
}]
|
2368
2494
|
|
2369
2495
|
},
|
2496
|
+
echartConfig: '',
|
2370
2497
|
formScriptEnabled: true,
|
2371
2498
|
formScriptCode: "",
|
2372
2499
|
formScriptParam: null,
|
2500
|
+
formScriptSuccess: null,
|
2501
|
+
onClick: "",
|
2373
2502
|
onCreated: "",
|
2374
2503
|
onMounted: "this.loadDataDefaultHandle()",
|
2375
|
-
|
2504
|
+
...defaultWfConfig,
|
2376
2505
|
showRuleFlag: 1,
|
2377
2506
|
showRuleEnabled: 1,
|
2378
2507
|
showRules: []
|
@@ -2507,81 +2636,64 @@ export const advancedFields = [
|
|
2507
2636
|
entityTableDesc: null,
|
2508
2637
|
onCreated: "this.loadDataDefaultHandle();",
|
2509
2638
|
onMounted: "",
|
2639
|
+
onAfterConfirmFile: "",
|
2510
2640
|
vabUpload: 1,
|
2511
2641
|
formScriptEnabled: true,
|
2512
2642
|
formScriptCode: "getList",
|
2513
2643
|
formScriptParam: null,
|
2514
|
-
|
2515
|
-
|
2516
|
-
enabledByWf: false,
|
2517
|
-
hiddenByWf: false,
|
2518
|
-
wfConfigData: [],
|
2644
|
+
formScriptSuccess: null,
|
2645
|
+
...defaultWfConfig,
|
2519
2646
|
|
2520
2647
|
showRuleFlag: 1,
|
2521
2648
|
showRuleEnabled: 1,
|
2522
|
-
showRules: []
|
2649
|
+
showRules: [],
|
2650
|
+
|
2651
|
+
hiddenFileInfo: false,
|
2652
|
+
hiddenFileName: false,
|
2653
|
+
showFileSize: false,
|
2654
|
+
showFileCreateBy: false,
|
2655
|
+
showFileCreateDate: false,
|
2656
|
+
widgetSize: 2
|
2523
2657
|
}
|
2524
2658
|
},
|
2525
2659
|
{
|
2526
2660
|
type: "vabsearch",
|
2527
2661
|
icon: "searchbox",
|
2528
2662
|
commonFlag: !0,
|
2663
|
+
columnFlag: true,
|
2529
2664
|
formItemFlag: !0,
|
2530
2665
|
tableField: null,
|
2531
2666
|
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
|
-
|
2667
|
+
...vabsearchConfig
|
2668
|
+
}
|
2669
|
+
},
|
2670
|
+
{
|
2671
|
+
type: "singerSearch",
|
2672
|
+
icon: "searchbox",
|
2673
|
+
// commonFlag: !0,
|
2674
|
+
// columnFlag: true,
|
2675
|
+
formItemFlag: !0,
|
2676
|
+
tableField: null,
|
2677
|
+
options: {
|
2678
|
+
...vabsearchConfig
|
2679
|
+
}
|
2680
|
+
},
|
2681
|
+
{
|
2682
|
+
type: "multiSearch",
|
2683
|
+
icon: "searchbox",
|
2684
|
+
// commonFlag: !0,
|
2685
|
+
// columnFlag: true,
|
2686
|
+
formItemFlag: !0,
|
2687
|
+
tableField: null,
|
2688
|
+
options: {
|
2689
|
+
...vabsearchConfig
|
2579
2690
|
}
|
2580
2691
|
},
|
2581
2692
|
{
|
2582
2693
|
type: "search_button",
|
2583
2694
|
icon: "button",
|
2584
2695
|
commonFlag: !0,
|
2696
|
+
columnFlag: true,
|
2585
2697
|
formItemFlag: !1,
|
2586
2698
|
options: {
|
2587
2699
|
name: "",
|
@@ -2613,12 +2725,8 @@ export const advancedFields = [
|
|
2613
2725
|
...defaultSearchDialogConfig,
|
2614
2726
|
tableEnabled: true
|
2615
2727
|
},
|
2616
|
-
|
2617
|
-
|
2618
|
-
enabledByWf: false,
|
2619
|
-
hiddenByWf: false,
|
2620
|
-
wfConfigData: [],
|
2621
|
-
|
2728
|
+
...defaultWfConfig,
|
2729
|
+
...defaultWidgetShowRuleConfig,
|
2622
2730
|
showRuleFlag: 1,
|
2623
2731
|
showRuleEnabled: 1,
|
2624
2732
|
showRules: []
|
@@ -2629,6 +2737,7 @@ export const advancedFields = [
|
|
2629
2737
|
targetType: "button",
|
2630
2738
|
icon: "button",
|
2631
2739
|
commonFlag: !0,
|
2740
|
+
columnFlag: true,
|
2632
2741
|
formItemFlag: !1,
|
2633
2742
|
options: {
|
2634
2743
|
name: "",
|
@@ -2654,11 +2763,9 @@ export const advancedFields = [
|
|
2654
2763
|
searchDialogConfig: {
|
2655
2764
|
...defaultSearchDialogConfig
|
2656
2765
|
},
|
2657
|
-
|
2658
|
-
|
2659
|
-
enabledByWf: false,
|
2766
|
+
...defaultWfConfig,
|
2767
|
+
...defaultWidgetShowRuleConfig,
|
2660
2768
|
hiddenByWf: true,
|
2661
|
-
wfConfigData: [],
|
2662
2769
|
|
2663
2770
|
showRuleFlag: 1,
|
2664
2771
|
showRuleEnabled: 1,
|
@@ -2671,6 +2778,7 @@ export const advancedFields = [
|
|
2671
2778
|
targetType: "button",
|
2672
2779
|
icon: "button",
|
2673
2780
|
commonFlag: !0,
|
2781
|
+
columnFlag: true,
|
2674
2782
|
formItemFlag: !1,
|
2675
2783
|
options: {
|
2676
2784
|
name: "",
|
@@ -2694,12 +2802,8 @@ export const advancedFields = [
|
|
2694
2802
|
searchDialogConfig: {
|
2695
2803
|
...defaultSearchDialogConfig
|
2696
2804
|
},
|
2697
|
-
|
2698
|
-
|
2699
|
-
enabledByWf: true,
|
2700
|
-
hiddenByWf: false,
|
2701
|
-
wfConfigData: [],
|
2702
|
-
|
2805
|
+
...defaultWfConfig,
|
2806
|
+
...defaultWidgetShowRuleConfig,
|
2703
2807
|
showRuleFlag: 1,
|
2704
2808
|
showRuleEnabled: 1,
|
2705
2809
|
showRules: []
|
@@ -2710,6 +2814,7 @@ export const advancedFields = [
|
|
2710
2814
|
icon: "list-export",
|
2711
2815
|
formItemFlag: !1,
|
2712
2816
|
commonFlag: !0,
|
2817
|
+
columnFlag: true,
|
2713
2818
|
tableField: null,
|
2714
2819
|
options: {
|
2715
2820
|
name: "",
|
@@ -2720,14 +2825,12 @@ export const advancedFields = [
|
|
2720
2825
|
exportFileName: '导出',
|
2721
2826
|
tableRef: '',
|
2722
2827
|
tableExportParam: "",
|
2828
|
+
showImageAtTable: false,
|
2829
|
+
|
2723
2830
|
onCreated: "",
|
2724
2831
|
onMounted: "",
|
2725
|
-
|
2726
|
-
|
2727
|
-
enabledByWf: false,
|
2728
|
-
hiddenByWf: false,
|
2729
|
-
wfConfigData: [],
|
2730
|
-
|
2832
|
+
...defaultWfConfig,
|
2833
|
+
...defaultWidgetShowRuleConfig,
|
2731
2834
|
showRuleFlag: 1,
|
2732
2835
|
showRuleEnabled: 1,
|
2733
2836
|
showRules: []
|
@@ -2739,6 +2842,7 @@ export const advancedFields = [
|
|
2739
2842
|
targetType: "button",
|
2740
2843
|
icon: "button",
|
2741
2844
|
commonFlag: !0,
|
2845
|
+
columnFlag: true,
|
2742
2846
|
formItemFlag: !1,
|
2743
2847
|
options: {
|
2744
2848
|
name: "",
|
@@ -2761,73 +2865,77 @@ export const advancedFields = [
|
|
2761
2865
|
searchDialogConfig: {
|
2762
2866
|
...defaultSearchDialogConfig
|
2763
2867
|
},
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
hiddenByWf: false,
|
2768
|
-
wfConfigData: [],
|
2769
|
-
|
2868
|
+
...defaultWfConfig,
|
2869
|
+
hiddenByWf: true,
|
2870
|
+
...defaultWidgetShowRuleConfig,
|
2770
2871
|
showRuleFlag: 1,
|
2771
2872
|
showRuleEnabled: 1,
|
2772
2873
|
showRules: []
|
2773
2874
|
},
|
2774
2875
|
},
|
2775
2876
|
{
|
2776
|
-
type: "
|
2777
|
-
targetType: "button",
|
2877
|
+
type: "import-button",
|
2778
2878
|
icon: "button",
|
2779
2879
|
commonFlag: !0,
|
2880
|
+
columnFlag: true,
|
2780
2881
|
formItemFlag: !1,
|
2781
2882
|
options: {
|
2782
2883
|
name: "",
|
2783
|
-
label: "
|
2884
|
+
label: "导入",
|
2784
2885
|
columnWidth: "200px",
|
2785
2886
|
size: "",
|
2786
|
-
|
2887
|
+
|
2888
|
+
// displayStyle: "block",
|
2787
2889
|
disabled: !1,
|
2788
2890
|
hidden: !1,
|
2891
|
+
buttonTypeFlag: 1,
|
2789
2892
|
type: "primary",
|
2790
|
-
plain: !1,
|
2893
|
+
/*plain: !1,
|
2791
2894
|
round: !1,
|
2792
2895
|
circle: !1,
|
2793
|
-
icon: "el-icon-
|
2896
|
+
icon: "el-icon-download",*/
|
2794
2897
|
customClass: "",
|
2795
2898
|
onCreated: "",
|
2796
2899
|
onMounted: "",
|
2797
|
-
//
|
2798
|
-
onClick: "this.saveDefaultHandle();",
|
2799
|
-
accessType: "1",
|
2800
|
-
saveButton: true,
|
2801
|
-
clickBindEvent: null,
|
2900
|
+
// clickBindEvent: null,
|
2802
2901
|
searchDialogConfig: {
|
2803
2902
|
...defaultSearchDialogConfig
|
2804
2903
|
},
|
2805
|
-
|
2806
|
-
wfEdit: false,
|
2807
|
-
enabledByWf: false,
|
2904
|
+
...defaultWfConfig,
|
2808
2905
|
hiddenByWf: true,
|
2809
|
-
|
2906
|
+
...defaultWidgetShowRuleConfig,
|
2907
|
+
importFileLimitSize: 200,
|
2908
|
+
importEntity: '',
|
2909
|
+
importAttachCode: '',
|
2910
|
+
importAttachName: '',
|
2911
|
+
importScriptCode: '',
|
2912
|
+
onBeforeImport: '',
|
2913
|
+
enabledImportPreHandle: false,
|
2914
|
+
tableRef: '',
|
2915
|
+
onSuccessImport: '',
|
2810
2916
|
|
2811
2917
|
showRuleFlag: 1,
|
2812
2918
|
showRuleEnabled: 1,
|
2813
2919
|
showRules: []
|
2814
|
-
|
2815
2920
|
},
|
2816
2921
|
},
|
2817
2922
|
{
|
2818
|
-
type: "
|
2923
|
+
type: "import2-button",
|
2819
2924
|
icon: "button",
|
2820
2925
|
commonFlag: !0,
|
2926
|
+
columnFlag: true,
|
2821
2927
|
formItemFlag: !1,
|
2822
2928
|
options: {
|
2823
2929
|
name: "",
|
2824
|
-
label: "
|
2930
|
+
label: "明细导入",
|
2825
2931
|
columnWidth: "200px",
|
2826
2932
|
size: "",
|
2933
|
+
|
2827
2934
|
// displayStyle: "block",
|
2828
2935
|
disabled: !1,
|
2829
2936
|
hidden: !1,
|
2830
|
-
|
2937
|
+
buttonTypeFlag: 1,
|
2938
|
+
type: "",
|
2831
2939
|
/*plain: !1,
|
2832
2940
|
round: !1,
|
2833
2941
|
circle: !1,
|
@@ -2839,16 +2947,17 @@ export const advancedFields = [
|
|
2839
2947
|
searchDialogConfig: {
|
2840
2948
|
...defaultSearchDialogConfig
|
2841
2949
|
},
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
importEntity: '',
|
2950
|
+
...defaultWfConfig,
|
2951
|
+
hiddenByWf: true,
|
2952
|
+
...defaultWidgetShowRuleConfig,
|
2953
|
+
frontImportFlag: 1,
|
2954
|
+
importFileLimitSize: 200,
|
2848
2955
|
importAttachCode: '',
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2956
|
+
importAttachName: '',
|
2957
|
+
tableRef: '',
|
2958
|
+
onConfirmImportEnabled: false,
|
2959
|
+
onConfirmImport: '',
|
2960
|
+
onSuccessImport: '',
|
2852
2961
|
|
2853
2962
|
showRuleFlag: 1,
|
2854
2963
|
showRuleEnabled: 1,
|
@@ -2859,6 +2968,7 @@ export const advancedFields = [
|
|
2859
2968
|
type: "print-button",
|
2860
2969
|
icon: "button",
|
2861
2970
|
commonFlag: !0,
|
2971
|
+
columnFlag: true,
|
2862
2972
|
formItemFlag: !1,
|
2863
2973
|
options: {
|
2864
2974
|
name: "",
|
@@ -2880,11 +2990,8 @@ export const advancedFields = [
|
|
2880
2990
|
searchDialogConfig: {
|
2881
2991
|
...defaultSearchDialogConfig
|
2882
2992
|
},
|
2883
|
-
|
2884
|
-
|
2885
|
-
enabledByWf: false,
|
2886
|
-
hiddenByWf: false,
|
2887
|
-
wfConfigData: [],
|
2993
|
+
...defaultWfConfig,
|
2994
|
+
...defaultWidgetShowRuleConfig,
|
2888
2995
|
printTableRef: "",
|
2889
2996
|
printItems: [],
|
2890
2997
|
|
@@ -2896,6 +3003,7 @@ export const advancedFields = [
|
|
2896
3003
|
{
|
2897
3004
|
type: "baseAttachment",
|
2898
3005
|
icon: "file-upload-field",
|
3006
|
+
columnFlag: true,
|
2899
3007
|
formItemFlag: !0,
|
2900
3008
|
tableField: null,
|
2901
3009
|
options: {
|
@@ -2916,11 +3024,8 @@ export const advancedFields = [
|
|
2916
3024
|
entityTableDesc: null,
|
2917
3025
|
onCreated: "",
|
2918
3026
|
onMounted: "",
|
2919
|
-
|
2920
|
-
|
2921
|
-
enabledByWf: false,
|
2922
|
-
hiddenByWf: false,
|
2923
|
-
wfConfigData: [],
|
3027
|
+
onAfterConfirmFile: "",
|
3028
|
+
...defaultWfConfig,
|
2924
3029
|
|
2925
3030
|
showRuleFlag: 1,
|
2926
3031
|
showRuleEnabled: 1,
|
@@ -2931,6 +3036,7 @@ export const advancedFields = [
|
|
2931
3036
|
type: "status",
|
2932
3037
|
icon: "status",
|
2933
3038
|
commonFlag: !0,
|
3039
|
+
columnFlag: true,
|
2934
3040
|
formItemFlag: !0,
|
2935
3041
|
tableField: null,
|
2936
3042
|
options: {
|
@@ -2949,6 +3055,7 @@ export const advancedFields = [
|
|
2949
3055
|
statusParam: [],
|
2950
3056
|
onCreated: "",
|
2951
3057
|
onMounted: "",
|
3058
|
+
...defaultWfConfig,
|
2952
3059
|
|
2953
3060
|
showRuleFlag: 1,
|
2954
3061
|
showRuleEnabled: 1,
|
@@ -2995,77 +3102,343 @@ export const advancedFields = [
|
|
2995
3102
|
formScriptEnabled: true,
|
2996
3103
|
formScriptCode: "",
|
2997
3104
|
formScriptParam: null,
|
3105
|
+
formScriptSuccess: null,
|
2998
3106
|
onCreated: "",
|
2999
3107
|
onMounted: "",
|
3000
|
-
|
3108
|
+
...defaultWfConfig,
|
3001
3109
|
showRuleFlag: 1,
|
3002
3110
|
showRuleEnabled: 1,
|
3003
3111
|
showRules: []
|
3004
3112
|
}
|
3005
3113
|
},
|
3114
|
+
|
3006
3115
|
{
|
3007
3116
|
type: "project-tag",
|
3008
3117
|
icon: "uploadbox",
|
3009
|
-
|
3118
|
+
commonFlag: !0,
|
3119
|
+
columnFlag: true,
|
3010
3120
|
formItemFlag: !0,
|
3011
3121
|
tableField: null,
|
3122
|
+
options: {
|
3123
|
+
...projectTagConfig
|
3124
|
+
}
|
3125
|
+
},
|
3126
|
+
{
|
3127
|
+
type: "table2",
|
3128
|
+
category: "container",
|
3129
|
+
icon: "table",
|
3130
|
+
commonFlag: !0,
|
3131
|
+
formItemFlag: !0,
|
3132
|
+
rows: [],
|
3012
3133
|
options: {
|
3013
3134
|
name: "",
|
3014
|
-
keyNameEnabled: !
|
3135
|
+
keyNameEnabled: !0,
|
3015
3136
|
keyName: "",
|
3016
|
-
|
3017
|
-
|
3137
|
+
hidden: !1,
|
3138
|
+
customClass: "",
|
3139
|
+
styleTableClass: '',
|
3140
|
+
// fullWidth: false,
|
3018
3141
|
submitFlag: true,
|
3142
|
+
formScriptEnabled: true,
|
3143
|
+
formScriptCode: "",
|
3144
|
+
formScriptParam: null,
|
3145
|
+
formScriptSuccess: null,
|
3146
|
+
onCreated: "this.loadDataDefaultHandle()",
|
3147
|
+
onMounted: "",
|
3148
|
+
...defaultWfConfig,
|
3149
|
+
showRuleFlag: 1,
|
3150
|
+
showRuleEnabled: 1,
|
3151
|
+
showRules: []
|
3152
|
+
}
|
3153
|
+
},
|
3154
|
+
{
|
3155
|
+
type: "dropdown-menu",
|
3156
|
+
icon: "tab",
|
3157
|
+
// commonFlag: !0,
|
3158
|
+
// columnFlag: true,
|
3159
|
+
widgetList: [],
|
3160
|
+
options: {
|
3161
|
+
name: "",
|
3162
|
+
label: "",
|
3163
|
+
hidden: !1,
|
3019
3164
|
disabled: !1,
|
3020
|
-
|
3165
|
+
height: '',
|
3166
|
+
// isFullscreen: false,
|
3167
|
+
tabClass: 'tab-boxCard tabCard-sty1',
|
3168
|
+
customClass: "",
|
3169
|
+
dropdownMenuFlag: 1,
|
3170
|
+
...defaultWfConfig,
|
3171
|
+
onCreated: "",
|
3172
|
+
onMounted: "",
|
3173
|
+
}
|
3174
|
+
},
|
3175
|
+
{
|
3176
|
+
type: "dropdown-item",
|
3177
|
+
icon: "tab-pane",
|
3178
|
+
internal: !0,
|
3179
|
+
options: {
|
3180
|
+
name: "",
|
3181
|
+
label: "",
|
3182
|
+
hidden: !1,
|
3183
|
+
active: !1,
|
3184
|
+
disabled: !1,
|
3185
|
+
customClass: "",
|
3186
|
+
dropdownItemFlag: 1,
|
3187
|
+
|
3188
|
+
onClick: "",
|
3189
|
+
clickBindEvent: null,
|
3190
|
+
searchDialogConfig: {
|
3191
|
+
...defaultSearchDialogConfig
|
3192
|
+
},
|
3193
|
+
addTableDataConfig: {
|
3194
|
+
tableRef: null,
|
3195
|
+
tableData: {}
|
3196
|
+
},
|
3197
|
+
}
|
3198
|
+
},
|
3199
|
+
]
|
3200
|
+
|
3201
|
+
|
3202
|
+
export const businessFields = [
|
3203
|
+
{
|
3204
|
+
type: "create_by-text",
|
3205
|
+
targetType: "text",
|
3206
|
+
icon: "text",
|
3207
|
+
commonFlag: !0,
|
3208
|
+
formItemFlag: !0,
|
3209
|
+
columnFlag: true,
|
3210
|
+
tableField: null,
|
3211
|
+
options: {
|
3212
|
+
name: "",
|
3213
|
+
keyNameEnabled: !0,
|
3214
|
+
keyName: "_createBy",
|
3215
|
+
label: "创建人",
|
3216
|
+
submitFlag: true,
|
3217
|
+
formField: "",
|
3021
3218
|
hidden: !1,
|
3022
3219
|
required: !1,
|
3220
|
+
customClass: "",
|
3221
|
+
defaultValue: "",
|
3222
|
+
labelAlign: "",
|
3023
3223
|
labelWidth: null,
|
3024
3224
|
labelHidden: !1,
|
3025
|
-
onCreated: "
|
3225
|
+
onCreated: "",
|
3026
3226
|
onMounted: "",
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
enabledByWf: false,
|
3034
|
-
hiddenByWf: false,
|
3035
|
-
wfConfigData: [],
|
3227
|
+
accessType: "1",
|
3228
|
+
labelColor: '#555555',
|
3229
|
+
...defaultWfConfig,
|
3230
|
+
|
3231
|
+
autoValueEnabled: false,
|
3232
|
+
autoValueHanlde: null,
|
3036
3233
|
|
3037
3234
|
showRuleFlag: 1,
|
3038
3235
|
showRuleEnabled: 1,
|
3039
|
-
showRules: []
|
3236
|
+
showRules: [],
|
3237
|
+
|
3238
|
+
...defaultTextFlagConfig
|
3040
3239
|
}
|
3041
3240
|
},
|
3042
3241
|
{
|
3043
|
-
type: "
|
3044
|
-
|
3045
|
-
icon: "
|
3242
|
+
type: "modify_by-text",
|
3243
|
+
targetType: "text",
|
3244
|
+
icon: "text",
|
3046
3245
|
commonFlag: !0,
|
3047
3246
|
formItemFlag: !0,
|
3048
|
-
|
3247
|
+
columnFlag: true,
|
3248
|
+
tableField: null,
|
3049
3249
|
options: {
|
3050
3250
|
name: "",
|
3051
3251
|
keyNameEnabled: !0,
|
3052
|
-
keyName: "",
|
3252
|
+
keyName: "_modifyBy",
|
3253
|
+
label: "更新人",
|
3254
|
+
submitFlag: true,
|
3255
|
+
formField: "",
|
3053
3256
|
hidden: !1,
|
3257
|
+
required: !1,
|
3054
3258
|
customClass: "",
|
3055
|
-
|
3056
|
-
|
3259
|
+
defaultValue: "",
|
3260
|
+
labelAlign: "",
|
3261
|
+
labelWidth: null,
|
3262
|
+
labelHidden: !1,
|
3263
|
+
onCreated: "",
|
3264
|
+
onMounted: "",
|
3265
|
+
accessType: "1",
|
3266
|
+
labelColor: '#555555',
|
3267
|
+
...defaultWfConfig,
|
3268
|
+
|
3269
|
+
autoValueEnabled: false,
|
3270
|
+
autoValueHanlde: null,
|
3271
|
+
|
3272
|
+
showRuleFlag: 1,
|
3273
|
+
showRuleEnabled: 1,
|
3274
|
+
showRules: [],
|
3275
|
+
|
3276
|
+
...defaultTextFlagConfig
|
3277
|
+
}
|
3278
|
+
},
|
3279
|
+
{
|
3280
|
+
type: "create_date-text",
|
3281
|
+
targetType: "text",
|
3282
|
+
icon: "text",
|
3283
|
+
commonFlag: !0,
|
3284
|
+
formItemFlag: !0,
|
3285
|
+
columnFlag: true,
|
3286
|
+
tableField: null,
|
3287
|
+
options: {
|
3288
|
+
name: "",
|
3289
|
+
keyNameEnabled: !0,
|
3290
|
+
keyName: "create_date",
|
3291
|
+
label: "创建时间",
|
3057
3292
|
submitFlag: true,
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3293
|
+
formField: "",
|
3294
|
+
hidden: !1,
|
3295
|
+
required: !1,
|
3296
|
+
customClass: "",
|
3297
|
+
defaultValue: "",
|
3298
|
+
labelAlign: "",
|
3299
|
+
labelWidth: null,
|
3300
|
+
labelHidden: !1,
|
3301
|
+
onCreated: "",
|
3062
3302
|
onMounted: "",
|
3303
|
+
accessType: "1",
|
3304
|
+
labelColor: '#555555',
|
3305
|
+
...defaultWfConfig,
|
3306
|
+
|
3307
|
+
autoValueEnabled: false,
|
3308
|
+
autoValueHanlde: null,
|
3063
3309
|
|
3064
3310
|
showRuleFlag: 1,
|
3065
3311
|
showRuleEnabled: 1,
|
3066
|
-
showRules: []
|
3312
|
+
showRules: [],
|
3313
|
+
|
3314
|
+
...defaultTextFlagConfig
|
3067
3315
|
}
|
3068
3316
|
},
|
3317
|
+
{
|
3318
|
+
type: "modfiy_date-text",
|
3319
|
+
targetType: "text",
|
3320
|
+
icon: "text",
|
3321
|
+
commonFlag: !0,
|
3322
|
+
formItemFlag: !0,
|
3323
|
+
columnFlag: true,
|
3324
|
+
tableField: null,
|
3325
|
+
options: {
|
3326
|
+
name: "",
|
3327
|
+
keyNameEnabled: !0,
|
3328
|
+
keyName: "modfiy_date",
|
3329
|
+
label: "更新时间",
|
3330
|
+
submitFlag: true,
|
3331
|
+
formField: "",
|
3332
|
+
hidden: !1,
|
3333
|
+
required: !1,
|
3334
|
+
customClass: "",
|
3335
|
+
defaultValue: "",
|
3336
|
+
labelAlign: "",
|
3337
|
+
labelWidth: null,
|
3338
|
+
labelHidden: !1,
|
3339
|
+
onCreated: "",
|
3340
|
+
onMounted: "",
|
3341
|
+
accessType: "1",
|
3342
|
+
labelColor: '#555555',
|
3343
|
+
...defaultWfConfig,
|
3344
|
+
|
3345
|
+
autoValueEnabled: false,
|
3346
|
+
autoValueHanlde: null,
|
3347
|
+
|
3348
|
+
showRuleFlag: 1,
|
3349
|
+
showRuleEnabled: 1,
|
3350
|
+
showRules: [],
|
3351
|
+
|
3352
|
+
...defaultTextFlagConfig
|
3353
|
+
}
|
3354
|
+
},
|
3355
|
+
|
3356
|
+
{
|
3357
|
+
type: "user-vabsearch",
|
3358
|
+
targetType: "singerSearch",
|
3359
|
+
icon: "searchbox",
|
3360
|
+
commonFlag: !0,
|
3361
|
+
columnFlag: true,
|
3362
|
+
formItemFlag: !0,
|
3363
|
+
tableField: null,
|
3364
|
+
options: {
|
3365
|
+
...vabsearchConfig,
|
3366
|
+
vabSearchName: "nick_name",
|
3367
|
+
userDefaultVabSearch: true,
|
3368
|
+
label: "用户",
|
3369
|
+
searchDialogConfig: {
|
3370
|
+
...defaultSearchDialogConfig,
|
3371
|
+
multipleChoices: false,
|
3372
|
+
formCode: "user_dialog",
|
3373
|
+
valueSourceField: "id",
|
3374
|
+
labelSourceField: "nick_name",
|
3375
|
+
},
|
3376
|
+
}
|
3377
|
+
},
|
3378
|
+
{
|
3379
|
+
type: "saleOrg-vabsearch",
|
3380
|
+
targetType: "singerSearch",
|
3381
|
+
icon: "searchbox",
|
3382
|
+
commonFlag: !0,
|
3383
|
+
columnFlag: true,
|
3384
|
+
formItemFlag: !0,
|
3385
|
+
tableField: null,
|
3386
|
+
options: {
|
3387
|
+
...vabsearchConfig,
|
3388
|
+
vabSearchName: "sale_org_name",
|
3389
|
+
saleOrgDefaultVabSearch: true,
|
3390
|
+
label: "机构",
|
3391
|
+
searchDialogConfig: {
|
3392
|
+
...defaultSearchDialogConfig,
|
3393
|
+
multipleChoices: false,
|
3394
|
+
formCode: "sale_org_dialog",
|
3395
|
+
valueSourceField: "id",
|
3396
|
+
labelSourceField: "name"
|
3397
|
+
},
|
3398
|
+
}
|
3399
|
+
},
|
3400
|
+
|
3401
|
+
{
|
3402
|
+
type: "user-project-tag",
|
3403
|
+
targetType: "project-tag",
|
3404
|
+
icon: "uploadbox",
|
3405
|
+
commonFlag: !0,
|
3406
|
+
columnFlag: true,
|
3407
|
+
formItemFlag: !0,
|
3408
|
+
tableField: null,
|
3409
|
+
options: {
|
3410
|
+
...projectTagConfig,
|
3411
|
+
label: "用户",
|
3412
|
+
tagFormCode: "user_dialog",
|
3413
|
+
tagLabelField: "nick_name",
|
3414
|
+
tagUniqueField: "id",
|
3415
|
+
tagFormLabelField: "nick_name",
|
3416
|
+
tagFormUniqueField: "id",
|
3417
|
+
tabDeleteEnabled: true,
|
3418
|
+
}
|
3419
|
+
},
|
3420
|
+
{
|
3421
|
+
type: "saleOrg-project-tag",
|
3422
|
+
targetType: "project-tag",
|
3423
|
+
icon: "uploadbox",
|
3424
|
+
commonFlag: !0,
|
3425
|
+
columnFlag: true,
|
3426
|
+
formItemFlag: !0,
|
3427
|
+
tableField: null,
|
3428
|
+
options: {
|
3429
|
+
...projectTagConfig,
|
3430
|
+
label: "机构",
|
3431
|
+
tagFormCode: "sale_org_dialog",
|
3432
|
+
tagLabelField: "name",
|
3433
|
+
tagUniqueField: "id",
|
3434
|
+
tagFormLabelField: "name",
|
3435
|
+
tagFormUniqueField: "id",
|
3436
|
+
tabDeleteEnabled: true,
|
3437
|
+
|
3438
|
+
}
|
3439
|
+
},
|
3440
|
+
|
3441
|
+
|
3069
3442
|
]
|
3070
3443
|
|
3071
3444
|
export const keyNamePrefixMap = {
|