cloud-web-corejs 1.0.54-dev.28 → 1.0.54-dev.281
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 +6 -3
- 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/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +24 -8
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/excelExport/button.vue +54 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +48 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +937 -2
- 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/formOplog/mixins.js +77 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/onlineTalk/mixins.js +1 -838
- package/src/components/statusTag/mixins.js +66 -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 +6 -6
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/content.vue +108 -27
- 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 +3 -2
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- 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/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- 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/copy_button-widget.vue +89 -0
- 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/date-widget.vue +21 -2
- 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 +23 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +632 -379
- 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 +2 -2
- 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 +21 -5
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
- 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 +22 -17
- 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/tableexportbuttonwidget.vue +99 -0
- 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 +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +834 -154
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +71 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- 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/colorClass-editor.vue +28 -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 +1077 -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 +1183 -500
- 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-detail-pane/detail-pane-editor.vue +3 -3
- 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/copyButton-editor.vue +36 -0
- 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/clickBindEvent-editor.vue +35 -20
- 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/select-export-button-editor.vue +56 -0
- 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 +46 -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/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- 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 +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- 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 +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +24 -10
- 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 +3 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1404 -865
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
- package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
- package/src/components/xform/form-render/container-item/data-table-mixin.js +21 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- 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/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +9 -25
- package/src/components/xform/lang/zh-CN.js +16 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +174 -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 +1 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/index.js +2 -2
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +37 -12
- 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 +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +61 -8
- 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/tagsView.js +191 -5
- 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 +351 -357
- 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 +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +51 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +422 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +5 -5
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +688 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -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/authDialog.js +1 -1
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +279 -0
- package/src/views/bd/setting/request_async_setting/list.vue +297 -0
- package/src/views/bd/setting/request_setting/edit.vue +258 -0
- package/src/views/bd/setting/request_setting/list.vue +248 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +439 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- 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/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- 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/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +52 -14
- 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 +1024 -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 +36 -5
- 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 +28 -23
- package/src/views/user/position/edit.vue +55 -54
- package/src/views/user/position/list.vue +4 -4
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- 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 +46 -23
- package/src/views/user/user/edit.vue +35 -15
- package/src/views/user/user/form_dialog.vue +158 -0
- 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 -20
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +30 -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/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +115 -10
- 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: "",
|
@@ -11,39 +12,44 @@ export const containers = [
|
|
11
12
|
// isFullscreen: false,
|
12
13
|
gutter: 6,
|
13
14
|
// colHeight: null,
|
14
|
-
width:
|
15
|
-
containerClass:
|
16
|
-
customClass: ""
|
17
|
-
|
15
|
+
width: "",
|
16
|
+
containerClass: "",
|
17
|
+
customClass: "",
|
18
|
+
...defaultWfConfig,
|
19
|
+
},
|
18
20
|
},
|
19
21
|
{
|
20
22
|
type: "table",
|
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
|
-
styleTableClass:
|
30
|
-
fullWidth: false
|
31
|
-
|
32
|
+
styleTableClass: "",
|
33
|
+
fullWidth: false,
|
34
|
+
...defaultWfConfig,
|
35
|
+
},
|
32
36
|
},
|
33
37
|
{
|
34
38
|
type: "tab",
|
35
39
|
category: "container",
|
36
40
|
icon: "tab",
|
37
41
|
commonFlag: !0,
|
42
|
+
columnFlag: true,
|
38
43
|
tabs: [],
|
39
44
|
options: {
|
40
45
|
name: "",
|
41
46
|
hidden: !1,
|
42
|
-
height:
|
47
|
+
height: "",
|
43
48
|
// isFullscreen: false,
|
44
|
-
tabClass:
|
45
|
-
customClass: ""
|
46
|
-
|
49
|
+
tabClass: "tab-boxCard tabCard-sty1",
|
50
|
+
customClass: "",
|
51
|
+
...defaultWfConfig,
|
52
|
+
},
|
47
53
|
},
|
48
54
|
/* {
|
49
55
|
type: "sub-form",
|
@@ -99,9 +105,9 @@ export const containers = [
|
|
99
105
|
md: 12,
|
100
106
|
sm: 12,
|
101
107
|
xs: 12,
|
102
|
-
alignType:
|
108
|
+
alignType: "",
|
103
109
|
customClass: "",
|
104
|
-
}
|
110
|
+
},
|
105
111
|
},
|
106
112
|
{
|
107
113
|
type: "table-cell",
|
@@ -116,8 +122,8 @@ export const containers = [
|
|
116
122
|
cellHeight: "",
|
117
123
|
colspan: 1,
|
118
124
|
rowspan: 1,
|
119
|
-
customClass: ""
|
120
|
-
}
|
125
|
+
customClass: "",
|
126
|
+
},
|
121
127
|
},
|
122
128
|
{
|
123
129
|
type: "tab-pane",
|
@@ -131,8 +137,8 @@ export const containers = [
|
|
131
137
|
hidden: !1,
|
132
138
|
active: !1,
|
133
139
|
disabled: !1,
|
134
|
-
customClass: ""
|
135
|
-
}
|
140
|
+
customClass: "",
|
141
|
+
},
|
136
142
|
},
|
137
143
|
{
|
138
144
|
type: "data-table",
|
@@ -181,30 +187,41 @@ export const containers = [
|
|
181
187
|
size: "small",
|
182
188
|
round: !1,
|
183
189
|
hidden: !0,
|
184
|
-
disabled: !1
|
185
|
-
},
|
190
|
+
disabled: !1,
|
191
|
+
},
|
192
|
+
{
|
186
193
|
name: "edit",
|
187
194
|
label: "编辑",
|
188
195
|
type: "text",
|
189
196
|
size: "small",
|
190
197
|
round: !1,
|
191
198
|
hidden: !1,
|
192
|
-
disabled: !1
|
193
|
-
},
|
199
|
+
disabled: !1,
|
200
|
+
},
|
201
|
+
{
|
194
202
|
name: "delete",
|
195
203
|
label: "删除",
|
196
204
|
type: "text",
|
197
205
|
size: "small",
|
198
206
|
round: !1,
|
199
207
|
hidden: !1,
|
200
|
-
disabled: !1
|
201
|
-
}
|
208
|
+
disabled: !1,
|
209
|
+
},
|
210
|
+
],
|
202
211
|
pagination: {
|
203
212
|
currentPage: 1,
|
204
213
|
pageSizes: [10, 15, 20, 30, 50, 100, 200],
|
205
214
|
pageSize: 20,
|
206
|
-
total: 366
|
215
|
+
total: 366,
|
207
216
|
},
|
217
|
+
gridPageSize: 100,
|
218
|
+
gridPageSizeList: [
|
219
|
+
{ value: 50 },
|
220
|
+
{ value: 100 },
|
221
|
+
{ value: 200 },
|
222
|
+
{ value: 500 },
|
223
|
+
],
|
224
|
+
|
208
225
|
dsEnabled: !1,
|
209
226
|
dsName: "",
|
210
227
|
tableData: [
|
@@ -256,10 +273,10 @@ export const containers = [
|
|
256
273
|
scriptEnabled: false,
|
257
274
|
accessParam: null,
|
258
275
|
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
276
|
+
accessFormCode: null,
|
277
|
+
|
278
|
+
...httpConfig,
|
279
|
+
|
263
280
|
/*isLoadDataByAccess: false,
|
264
281
|
scriptEnabled: false,
|
265
282
|
scriptName: null,
|
@@ -277,10 +294,12 @@ export const containers = [
|
|
277
294
|
sortScriptCode: null,
|
278
295
|
importTemplateFile: null,
|
279
296
|
|
297
|
+
...defaultWfConfig,
|
280
298
|
showRuleFlag: 1,
|
281
299
|
showRuleEnabled: 1,
|
282
300
|
showRules: [],
|
283
|
-
|
301
|
+
hideGridCheckBox: false,
|
302
|
+
},
|
284
303
|
},
|
285
304
|
/*{
|
286
305
|
type: "table-column",
|
@@ -323,8 +342,8 @@ export const containers = [
|
|
323
342
|
onOkButtonClick: "",
|
324
343
|
onCancelButtonClick: "",
|
325
344
|
onDialogOpened: "",
|
326
|
-
onDialogBeforeClose: ""
|
327
|
-
}
|
345
|
+
onDialogBeforeClose: "",
|
346
|
+
},
|
328
347
|
},
|
329
348
|
/*{
|
330
349
|
type: "vf-drawer",
|
@@ -409,7 +428,7 @@ export const containers = [
|
|
409
428
|
wfEnabled: false,
|
410
429
|
onCreated: "",
|
411
430
|
onMounted: "",
|
412
|
-
}
|
431
|
+
},
|
413
432
|
},
|
414
433
|
{
|
415
434
|
type: "detail-pane",
|
@@ -425,9 +444,10 @@ export const containers = [
|
|
425
444
|
customClass: "",
|
426
445
|
tableRef: "",
|
427
446
|
detailPaneContainer: true,
|
428
|
-
|
429
|
-
|
430
|
-
|
447
|
+
defaultCollapse: false,
|
448
|
+
/*onCreated: "",
|
449
|
+
onMounted: "",*/
|
450
|
+
},
|
431
451
|
},
|
432
452
|
{
|
433
453
|
type: "detail-h5",
|
@@ -447,7 +467,7 @@ export const containers = [
|
|
447
467
|
wfEnabled: false,
|
448
468
|
onCreated: "",
|
449
469
|
onMounted: "",
|
450
|
-
}
|
470
|
+
},
|
451
471
|
},
|
452
472
|
{
|
453
473
|
type: "list-h5",
|
@@ -470,73 +490,75 @@ export const containers = [
|
|
470
490
|
accessUrl: null,
|
471
491
|
tableColumns: [
|
472
492
|
{
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
493
|
+
columnId: 1,
|
494
|
+
prop: "nick_name",
|
495
|
+
label: "姓名",
|
496
|
+
width: "150",
|
497
|
+
show: true,
|
498
|
+
align: "left",
|
499
|
+
fixed: "left",
|
500
|
+
sortable: true,
|
501
|
+
required: false,
|
502
|
+
showForRow: true,
|
503
|
+
formatS: "editInput",
|
504
|
+
columnOption: {},
|
485
505
|
},
|
486
506
|
{
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
507
|
+
columnId: 1662195943228,
|
508
|
+
label: "登录账号",
|
509
|
+
prop: "login_account",
|
510
|
+
show: true,
|
511
|
+
sortable: true,
|
512
|
+
align: "left",
|
513
|
+
width: "150",
|
514
|
+
required: false,
|
515
|
+
showForRow: true,
|
516
|
+
formatS: "editInput",
|
517
|
+
columnOption: {},
|
498
518
|
},
|
499
519
|
{
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
520
|
+
columnId: 1662195943423,
|
521
|
+
label: "是否启用",
|
522
|
+
prop: "enabled",
|
523
|
+
show: true,
|
524
|
+
sortable: true,
|
525
|
+
align: "left",
|
526
|
+
width: "150",
|
527
|
+
formatS: "render",
|
528
|
+
render:
|
529
|
+
"if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
|
530
|
+
required: false,
|
531
|
+
showForRow: true,
|
532
|
+
columnOption: {},
|
512
533
|
},
|
513
534
|
{
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
535
|
+
columnId: 1662196087046,
|
536
|
+
label: "性别",
|
537
|
+
prop: "gender",
|
538
|
+
width: "150",
|
539
|
+
show: true,
|
540
|
+
sortable: true,
|
541
|
+
align: "left",
|
542
|
+
formatS: "render",
|
543
|
+
render:
|
544
|
+
"if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
|
545
|
+
required: false,
|
546
|
+
showForRow: true,
|
547
|
+
columnOption: {},
|
526
548
|
},
|
527
549
|
{
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
}
|
550
|
+
columnId: 1662196135287,
|
551
|
+
label: "创建时间",
|
552
|
+
prop: "create_time",
|
553
|
+
width: "150",
|
554
|
+
show: true,
|
555
|
+
sortable: true,
|
556
|
+
align: "left",
|
557
|
+
required: false,
|
558
|
+
showForRow: true,
|
559
|
+
formatS: "editDate",
|
560
|
+
columnOption: {},
|
561
|
+
},
|
540
562
|
],
|
541
563
|
tableData: [
|
542
564
|
/*{
|
@@ -574,7 +596,7 @@ export const containers = [
|
|
574
596
|
],
|
575
597
|
onCreated: "",
|
576
598
|
onMounted: "",
|
577
|
-
}
|
599
|
+
},
|
578
600
|
},
|
579
601
|
{
|
580
602
|
type: "tree-pane",
|
@@ -591,8 +613,8 @@ export const containers = [
|
|
591
613
|
treePane: true,
|
592
614
|
onCreated: "",
|
593
615
|
onMounted: "",
|
594
|
-
onTreeLabelClick: ""
|
595
|
-
}
|
616
|
+
onTreeLabelClick: "",
|
617
|
+
},
|
596
618
|
},
|
597
619
|
{
|
598
620
|
type: "h5-card",
|
@@ -604,10 +626,10 @@ export const containers = [
|
|
604
626
|
options: {
|
605
627
|
name: "",
|
606
628
|
hidden: !1,
|
607
|
-
height:
|
629
|
+
height: "",
|
608
630
|
customClass: "",
|
609
|
-
h5Card: true
|
610
|
-
}
|
631
|
+
h5Card: true,
|
632
|
+
},
|
611
633
|
},
|
612
634
|
{
|
613
635
|
type: "h5-card-pane",
|
@@ -622,8 +644,8 @@ export const containers = [
|
|
622
644
|
hidden: !1,
|
623
645
|
active: !1,
|
624
646
|
disabled: !1,
|
625
|
-
customClass: ""
|
626
|
-
}
|
647
|
+
customClass: "",
|
648
|
+
},
|
627
649
|
},
|
628
650
|
{
|
629
651
|
type: "h5-table",
|
@@ -636,8 +658,8 @@ export const containers = [
|
|
636
658
|
name: "",
|
637
659
|
hidden: !1,
|
638
660
|
customClass: "",
|
639
|
-
fullWidth: false
|
640
|
-
}
|
661
|
+
fullWidth: false,
|
662
|
+
},
|
641
663
|
},
|
642
664
|
{
|
643
665
|
type: "h5-table-cell",
|
@@ -652,8 +674,8 @@ export const containers = [
|
|
652
674
|
cellHeight: "",
|
653
675
|
colspan: 1,
|
654
676
|
rowspan: 1,
|
655
|
-
customClass: ""
|
656
|
-
}
|
677
|
+
customClass: "",
|
678
|
+
},
|
657
679
|
},
|
658
680
|
{
|
659
681
|
type: "tree",
|
@@ -691,63 +713,60 @@ export const containers = [
|
|
691
713
|
onLoadNode: "",
|
692
714
|
treeData: [
|
693
715
|
{
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
716
|
+
id: 1,
|
717
|
+
label: "一级 1",
|
718
|
+
leaf: false,
|
719
|
+
children: [
|
698
720
|
{
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
}
|
706
|
-
]
|
721
|
+
id: 2,
|
722
|
+
label: "二级 1-1",
|
723
|
+
leaf: false,
|
724
|
+
children: [{ id: 3, label: "三级 1-1-1", leaf: true }],
|
725
|
+
},
|
726
|
+
],
|
707
727
|
},
|
708
728
|
{
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
729
|
+
id: 4,
|
730
|
+
label: "一级 2",
|
731
|
+
leaf: false,
|
732
|
+
children: [
|
713
733
|
{
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
734
|
+
id: 5,
|
735
|
+
label: "二级 2-1",
|
736
|
+
leaf: false,
|
737
|
+
children: [{ id: 6, label: "三级 2-1-1", leaf: true }],
|
718
738
|
},
|
719
739
|
{
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
}
|
725
|
-
]
|
740
|
+
id: 7,
|
741
|
+
label: "二级 2-2",
|
742
|
+
leaf: false,
|
743
|
+
children: [{ id: 8, label: "三级 2-2-1", leaf: true }],
|
744
|
+
},
|
745
|
+
],
|
726
746
|
},
|
727
747
|
{
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
748
|
+
id: 9,
|
749
|
+
label: "一级 3",
|
750
|
+
leaf: false,
|
751
|
+
children: [
|
732
752
|
{
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
753
|
+
id: 10,
|
754
|
+
label: "二级 3-1",
|
755
|
+
leaf: false,
|
756
|
+
children: [{ id: 11, label: "三级 3-1-1", leaf: true }],
|
737
757
|
},
|
738
758
|
{
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
}
|
744
|
-
]
|
745
|
-
}
|
746
|
-
]
|
747
|
-
}
|
748
|
-
}
|
749
|
-
]
|
750
|
-
|
759
|
+
id: 12,
|
760
|
+
label: "二级 3-2",
|
761
|
+
leaf: false,
|
762
|
+
children: [{ id: 13, label: "三级 3-2-1", leaf: true }],
|
763
|
+
},
|
764
|
+
],
|
765
|
+
},
|
766
|
+
],
|
767
|
+
},
|
768
|
+
},
|
769
|
+
];
|
751
770
|
|
752
771
|
export const defaultSearchDialogConfig = {
|
753
772
|
formCode: null,
|
@@ -757,20 +776,166 @@ export const defaultSearchDialogConfig = {
|
|
757
776
|
tableRef: null,
|
758
777
|
tableUniqueKey: null,
|
759
778
|
tableData: [],
|
760
|
-
multipleChoices: true
|
761
|
-
|
779
|
+
multipleChoices: true,
|
780
|
+
confirmCallback: null,
|
781
|
+
dialogQueryParam: null,
|
782
|
+
};
|
783
|
+
|
784
|
+
export const defaultWfConfig = {
|
785
|
+
wfFlag: 1,
|
786
|
+
wfEdit: false,
|
787
|
+
enabledByWf: false,
|
788
|
+
hiddenByWf: false,
|
789
|
+
wfConfigData: [],
|
790
|
+
wfModifyDataEnabled: false,
|
791
|
+
wfModifyDataConfig: [],
|
792
|
+
};
|
793
|
+
|
794
|
+
export const defaultTextFlagConfig = {
|
795
|
+
widgetTextFlag: null,
|
796
|
+
textFlag: 1,
|
797
|
+
showTextEnabled: false,
|
798
|
+
showEncryptTextEnabled: false,
|
799
|
+
userTextRuleEnabled: false,
|
800
|
+
userTextRuleConfig: [],
|
801
|
+
textRule1: true,
|
802
|
+
textRule2: false,
|
803
|
+
textRule2Number: null,
|
804
|
+
textRule3: false,
|
805
|
+
textRule3Number: null,
|
806
|
+
widgetTextLinkConfig: null,
|
807
|
+
};
|
808
|
+
|
809
|
+
export const defaultWidgetShowRuleConfig = {
|
810
|
+
widgetShowRuleFlag: 1,
|
811
|
+
widgetShowRuleEnabled: false,
|
812
|
+
widgetShowRuleConfig: [],
|
813
|
+
};
|
814
|
+
|
815
|
+
const vabsearchConfig = {
|
816
|
+
name: "",
|
817
|
+
keyNameEnabled: !1,
|
818
|
+
keyName: "",
|
819
|
+
vabSearchName: "",
|
820
|
+
userDefaultVabSearch: false,
|
821
|
+
saleOrgDefaultVabSearch: false,
|
822
|
+
label: "",
|
823
|
+
labelColor: "",
|
824
|
+
submitFlag: true,
|
825
|
+
disabled: !1,
|
826
|
+
hidden: !1,
|
827
|
+
required: !1,
|
828
|
+
labelWidth: null,
|
829
|
+
labelHidden: !1,
|
830
|
+
readonly: true,
|
831
|
+
/*formCode: null,
|
832
|
+
formName: null,
|
833
|
+
formVersion: null,
|
834
|
+
showFormField: null,*/
|
835
|
+
/* gridConfig: {
|
836
|
+
tableColumns: [],
|
837
|
+
searchFields: [],
|
838
|
+
searchParams: ""
|
839
|
+
},*/
|
840
|
+
// vabSearchField: null,
|
841
|
+
vabsearchFlag: 1,
|
842
|
+
onSearchClear: "",
|
843
|
+
dialogModel: "1",
|
844
|
+
systemDialogUrl: null,
|
845
|
+
accessType: "1",
|
846
|
+
onCreated: "",
|
847
|
+
onMounted: "",
|
848
|
+
onChange: "",
|
849
|
+
onAppendButtonClick: "",
|
850
|
+
clickBindEvent: "1",
|
851
|
+
onBeforeClickButton: null,
|
852
|
+
searchDialogConfig: {
|
853
|
+
...defaultSearchDialogConfig,
|
854
|
+
multipleChoices: false,
|
855
|
+
},
|
856
|
+
...defaultWfConfig,
|
857
|
+
valueField: null,
|
858
|
+
multipleChoices: false,
|
859
|
+
|
860
|
+
showRuleFlag: 1,
|
861
|
+
showRuleEnabled: 1,
|
862
|
+
showRules: [],
|
863
|
+
};
|
864
|
+
|
865
|
+
const projectTagConfig = {
|
866
|
+
name: "",
|
867
|
+
keyNameEnabled: !1,
|
868
|
+
keyName: "",
|
869
|
+
// keyNameSuffix: "",
|
870
|
+
label: "",
|
871
|
+
labelColor: "",
|
872
|
+
submitFlag: true,
|
873
|
+
disabled: !1,
|
874
|
+
readonly: false,
|
875
|
+
hidden: !1,
|
876
|
+
required: !1,
|
877
|
+
labelWidth: null,
|
878
|
+
labelHidden: !1,
|
879
|
+
onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
|
880
|
+
onMounted: "",
|
881
|
+
onClick: "",
|
882
|
+
// vabUpload: 1,
|
883
|
+
|
884
|
+
...httpConfig,
|
885
|
+
formScriptCode: "getList",
|
886
|
+
|
887
|
+
...defaultWfConfig,
|
888
|
+
|
889
|
+
showRuleFlag: 1,
|
890
|
+
showRuleEnabled: 1,
|
891
|
+
showRules: [],
|
892
|
+
|
893
|
+
tagFormCode: null,
|
894
|
+
tagFormParam: null,
|
895
|
+
tagLabelField: null,
|
896
|
+
tagUniqueField: null,
|
897
|
+
tagFormLabelField: null,
|
898
|
+
tagFormUniqueField: null,
|
899
|
+
tagFillConfig: [],
|
900
|
+
tagConfirmCallback: null,
|
901
|
+
tagDeleteCallback: null,
|
902
|
+
tabDeleteEnabled: true,
|
903
|
+
};
|
904
|
+
|
905
|
+
const httpConfig = {
|
906
|
+
httpFormCode: null,
|
907
|
+
formScriptEnabled: true,
|
908
|
+
formScriptCode: null,
|
909
|
+
formScriptParam: null,
|
910
|
+
formScriptSuccess: null,
|
911
|
+
formScriptCallback: null,
|
912
|
+
};
|
913
|
+
|
914
|
+
export const hiddenWidgetTypesOfWf = [
|
915
|
+
"button",
|
916
|
+
"search_button",
|
917
|
+
"table-export-button",
|
918
|
+
"add_button",
|
919
|
+
"import-button",
|
920
|
+
"import2-button",
|
921
|
+
"print-button",
|
922
|
+
];
|
923
|
+
export const freeWidgetTypesOfWf = ["reset_button","copy_button", "a-link", "a-text"];
|
762
924
|
|
763
925
|
export const basicFields = [
|
764
926
|
{
|
765
927
|
type: "input",
|
766
928
|
icon: "text-field",
|
929
|
+
commonFlag: !0,
|
767
930
|
formItemFlag: !0,
|
931
|
+
columnFlag: true,
|
768
932
|
tableField: null,
|
769
933
|
options: {
|
770
934
|
name: "",
|
771
935
|
keyNameEnabled: !1,
|
772
936
|
keyName: "",
|
773
937
|
label: "",
|
938
|
+
labelColor: "",
|
774
939
|
submitFlag: true,
|
775
940
|
/**showText: false,*/
|
776
941
|
formField: "",
|
@@ -800,9 +965,9 @@ export const basicFields = [
|
|
800
965
|
showWordLimit: !1,
|
801
966
|
prefixIcon: "",
|
802
967
|
suffixIcon: "",
|
803
|
-
appendButton: !1,
|
968
|
+
/*appendButton: !1,
|
804
969
|
appendButtonDisabled: !1,
|
805
|
-
buttonIcon: "el-icon-search"
|
970
|
+
buttonIcon: "el-icon-search",*/
|
806
971
|
onCreated: "",
|
807
972
|
onMounted: "",
|
808
973
|
onInput: "",
|
@@ -813,33 +978,28 @@ export const basicFields = [
|
|
813
978
|
onAppendButtonClick: "",
|
814
979
|
widgetWidth: "",
|
815
980
|
accessType: "1",
|
816
|
-
|
817
|
-
wfEdit: false,
|
818
|
-
enabledByWf: false,
|
819
|
-
hiddenByWf: false,
|
820
|
-
wfConfigData: [],
|
981
|
+
...defaultWfConfig,
|
821
982
|
|
822
983
|
showRuleFlag: 1,
|
823
984
|
showRuleEnabled: 1,
|
824
985
|
showRules: [],
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
textRule3: false,
|
829
|
-
textRule2Number: null,
|
830
|
-
textRule3Number: null
|
831
|
-
}
|
986
|
+
|
987
|
+
...defaultTextFlagConfig,
|
988
|
+
},
|
832
989
|
},
|
833
990
|
{
|
834
991
|
type: "input-batch",
|
835
992
|
icon: "input-batch",
|
993
|
+
commonFlag: !0,
|
836
994
|
formItemFlag: !0,
|
995
|
+
columnFlag: true,
|
837
996
|
tableField: null,
|
838
997
|
options: {
|
839
998
|
name: "",
|
840
999
|
keyNameEnabled: !1,
|
841
1000
|
keyName: "",
|
842
1001
|
label: "",
|
1002
|
+
labelColor: "",
|
843
1003
|
submitFlag: true,
|
844
1004
|
formField: "",
|
845
1005
|
labelAlign: "",
|
@@ -860,7 +1020,7 @@ export const basicFields = [
|
|
860
1020
|
validation: "",
|
861
1021
|
validationHint: "",
|
862
1022
|
customClass: "",
|
863
|
-
labelIconClass: null,
|
1023
|
+
/*labelIconClass: null,
|
864
1024
|
labelIconPosition: "rear",
|
865
1025
|
labelTooltip: null,
|
866
1026
|
minLength: null,
|
@@ -870,7 +1030,7 @@ export const basicFields = [
|
|
870
1030
|
suffixIcon: "",
|
871
1031
|
appendButton: !1,
|
872
1032
|
appendButtonDisabled: !1,
|
873
|
-
buttonIcon: "el-icon-search"
|
1033
|
+
buttonIcon: "el-icon-search",*/
|
874
1034
|
onCreated: "",
|
875
1035
|
onMounted: "",
|
876
1036
|
onInput: "",
|
@@ -878,37 +1038,29 @@ export const basicFields = [
|
|
878
1038
|
onFocus: "",
|
879
1039
|
onBlur: "",
|
880
1040
|
onValidate: "",
|
881
|
-
onAppendButtonClick: "",
|
1041
|
+
// onAppendButtonClick: "",
|
882
1042
|
widgetWidth: "",
|
883
1043
|
accessType: "1",
|
884
|
-
|
885
|
-
wfEdit: false,
|
886
|
-
enabledByWf: false,
|
887
|
-
hiddenByWf: false,
|
888
|
-
wfConfigData: [],
|
1044
|
+
...defaultWfConfig,
|
889
1045
|
|
890
1046
|
showRuleFlag: 1,
|
891
1047
|
showRuleEnabled: 1,
|
892
1048
|
showRules: [],
|
893
|
-
|
894
|
-
textRule1: false,
|
895
|
-
textRule2: false,
|
896
|
-
textRule3: false,
|
897
|
-
textRule2Number: null,
|
898
|
-
textRule3Number: null
|
899
|
-
|
900
|
-
}
|
1049
|
+
},
|
901
1050
|
},
|
902
1051
|
{
|
903
1052
|
type: "textarea",
|
904
1053
|
icon: "textarea-field",
|
1054
|
+
commonFlag: !0,
|
905
1055
|
formItemFlag: !0,
|
1056
|
+
columnFlag: true,
|
906
1057
|
tableField: null,
|
907
1058
|
options: {
|
908
1059
|
name: "",
|
909
1060
|
keyNameEnabled: !1,
|
910
1061
|
keyName: "",
|
911
1062
|
label: "",
|
1063
|
+
labelColor: "",
|
912
1064
|
submitFlag: true,
|
913
1065
|
/**showText: false,*/
|
914
1066
|
labelAlign: "",
|
@@ -941,33 +1093,28 @@ export const basicFields = [
|
|
941
1093
|
onBlur: "",
|
942
1094
|
onValidate: "",
|
943
1095
|
accessType: "1",
|
944
|
-
|
945
|
-
wfEdit: false,
|
946
|
-
enabledByWf: false,
|
947
|
-
hiddenByWf: false,
|
948
|
-
wfConfigData: [],
|
1096
|
+
...defaultWfConfig,
|
949
1097
|
|
950
1098
|
showRuleFlag: 1,
|
951
1099
|
showRuleEnabled: 1,
|
952
1100
|
showRules: [],
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
textRule3: false,
|
957
|
-
textRule2Number: null,
|
958
|
-
textRule3Number: null
|
959
|
-
}
|
1101
|
+
|
1102
|
+
...defaultTextFlagConfig,
|
1103
|
+
},
|
960
1104
|
},
|
961
1105
|
{
|
962
1106
|
type: "number",
|
963
1107
|
icon: "number-field",
|
1108
|
+
commonFlag: !0,
|
964
1109
|
formItemFlag: !0,
|
1110
|
+
columnFlag: true,
|
965
1111
|
tableField: null,
|
966
1112
|
options: {
|
967
1113
|
name: "",
|
968
1114
|
keyNameEnabled: !1,
|
969
1115
|
keyName: "",
|
970
1116
|
label: "",
|
1117
|
+
labelColor: "",
|
971
1118
|
submitFlag: true,
|
972
1119
|
/**showText: false,*/
|
973
1120
|
formField: "",
|
@@ -984,8 +1131,8 @@ export const basicFields = [
|
|
984
1131
|
requiredHint: "",
|
985
1132
|
validation: "",
|
986
1133
|
validationHint: "",
|
987
|
-
|
988
|
-
|
1134
|
+
formulaEnabled: !1,
|
1135
|
+
formula: "",
|
989
1136
|
customClass: "",
|
990
1137
|
labelIconClass: null,
|
991
1138
|
labelIconPosition: "rear",
|
@@ -1002,34 +1149,28 @@ export const basicFields = [
|
|
1002
1149
|
onBlur: "",
|
1003
1150
|
onValidate: "",
|
1004
1151
|
accessType: "1",
|
1005
|
-
|
1006
|
-
wfEdit: false,
|
1007
|
-
enabledByWf: false,
|
1008
|
-
hiddenByWf: false,
|
1009
|
-
wfConfigData: [],
|
1152
|
+
...defaultWfConfig,
|
1010
1153
|
|
1011
1154
|
showRuleFlag: 1,
|
1012
1155
|
showRuleEnabled: 1,
|
1013
1156
|
showRules: [],
|
1014
|
-
textFlag: 1,
|
1015
|
-
textRule1: false,
|
1016
|
-
textRule2: false,
|
1017
|
-
textRule3: false,
|
1018
|
-
textRule2Number: null,
|
1019
|
-
textRule3Number: null
|
1020
1157
|
|
1021
|
-
|
1158
|
+
...defaultTextFlagConfig,
|
1159
|
+
},
|
1022
1160
|
},
|
1023
1161
|
{
|
1024
1162
|
type: "radio",
|
1025
1163
|
icon: "radio-field",
|
1164
|
+
commonFlag: !0,
|
1026
1165
|
formItemFlag: !0,
|
1166
|
+
columnFlag: true,
|
1027
1167
|
tableField: null,
|
1028
1168
|
options: {
|
1029
1169
|
name: "",
|
1030
1170
|
keyNameEnabled: !1,
|
1031
1171
|
keyName: "",
|
1032
1172
|
label: "",
|
1173
|
+
labelColor: "",
|
1033
1174
|
submitFlag: true,
|
1034
1175
|
/**showText: false,*/
|
1035
1176
|
labelAlign: "",
|
@@ -1051,12 +1192,12 @@ export const basicFields = [
|
|
1051
1192
|
optionItems: [
|
1052
1193
|
{
|
1053
1194
|
label: "radio 1",
|
1054
|
-
value: "1"
|
1195
|
+
value: "1",
|
1055
1196
|
},
|
1056
1197
|
{
|
1057
1198
|
label: "radio 2",
|
1058
|
-
value: "2"
|
1059
|
-
}
|
1199
|
+
value: "2",
|
1200
|
+
},
|
1060
1201
|
],
|
1061
1202
|
required: !1,
|
1062
1203
|
requiredHint: "",
|
@@ -1073,36 +1214,33 @@ export const basicFields = [
|
|
1073
1214
|
onValidate: "",
|
1074
1215
|
accessType: "1",
|
1075
1216
|
|
1217
|
+
...httpConfig,
|
1076
1218
|
formScriptEnabled: false,
|
1077
1219
|
formScriptCode: "getList",
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
wfConfigData: [],
|
1220
|
+
|
1221
|
+
...defaultWfConfig,
|
1222
|
+
|
1223
|
+
commonAttributeEnabled: false,
|
1224
|
+
commonAttributeCode: "",
|
1084
1225
|
|
1085
1226
|
showRuleFlag: 1,
|
1086
1227
|
showRuleEnabled: 1,
|
1087
1228
|
showRules: [],
|
1088
|
-
|
1089
|
-
textRule1: false,
|
1090
|
-
textRule2: false,
|
1091
|
-
textRule3: false,
|
1092
|
-
textRule2Number: null,
|
1093
|
-
textRule3Number: null
|
1094
|
-
}
|
1229
|
+
},
|
1095
1230
|
},
|
1096
1231
|
{
|
1097
1232
|
type: "checkbox",
|
1098
1233
|
icon: "checkbox-field",
|
1234
|
+
commonFlag: !0,
|
1099
1235
|
formItemFlag: !0,
|
1236
|
+
columnFlag: true,
|
1100
1237
|
tableField: null,
|
1101
1238
|
options: {
|
1102
1239
|
name: "",
|
1103
1240
|
keyNameEnabled: !1,
|
1104
1241
|
keyName: "",
|
1105
1242
|
label: "",
|
1243
|
+
labelColor: "",
|
1106
1244
|
submitFlag: true,
|
1107
1245
|
/**showText: false,*/
|
1108
1246
|
labelAlign: "",
|
@@ -1124,12 +1262,12 @@ export const basicFields = [
|
|
1124
1262
|
optionItems: [
|
1125
1263
|
{
|
1126
1264
|
label: "check 1",
|
1127
|
-
value: "1"
|
1265
|
+
value: "1",
|
1128
1266
|
},
|
1129
1267
|
{
|
1130
1268
|
label: "check 2",
|
1131
|
-
value: "2"
|
1132
|
-
}
|
1269
|
+
value: "2",
|
1270
|
+
},
|
1133
1271
|
],
|
1134
1272
|
required: !1,
|
1135
1273
|
requiredHint: "",
|
@@ -1146,37 +1284,33 @@ export const basicFields = [
|
|
1146
1284
|
onValidate: "",
|
1147
1285
|
accessType: "1",
|
1148
1286
|
|
1287
|
+
...httpConfig,
|
1149
1288
|
formScriptEnabled: false,
|
1150
1289
|
formScriptCode: "getList",
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
wfConfigData: [],
|
1290
|
+
|
1291
|
+
...defaultWfConfig,
|
1292
|
+
|
1293
|
+
commonAttributeEnabled: false,
|
1294
|
+
commonAttributeCode: "",
|
1157
1295
|
|
1158
1296
|
showRuleFlag: 1,
|
1159
1297
|
showRuleEnabled: 1,
|
1160
1298
|
showRules: [],
|
1161
|
-
|
1162
|
-
textRule1: false,
|
1163
|
-
textRule2: false,
|
1164
|
-
textRule3: false,
|
1165
|
-
textRule2Number: null,
|
1166
|
-
textRule3Number: null
|
1167
|
-
|
1168
|
-
}
|
1299
|
+
},
|
1169
1300
|
},
|
1170
1301
|
{
|
1171
1302
|
type: "select",
|
1172
1303
|
icon: "select-field",
|
1304
|
+
commonFlag: !0,
|
1173
1305
|
formItemFlag: !0,
|
1306
|
+
columnFlag: true,
|
1174
1307
|
tableField: null,
|
1175
1308
|
options: {
|
1176
1309
|
name: "",
|
1177
1310
|
keyNameEnabled: !1,
|
1178
1311
|
keyName: "",
|
1179
1312
|
label: "",
|
1313
|
+
labelColor: "",
|
1180
1314
|
submitFlag: true,
|
1181
1315
|
/**showText: false,*/
|
1182
1316
|
formField: "",
|
@@ -1202,16 +1336,20 @@ export const basicFields = [
|
|
1202
1336
|
dsName: "",
|
1203
1337
|
labelKey: "label",
|
1204
1338
|
valueKey: "value",
|
1205
|
-
optionItems: [
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1339
|
+
optionItems: [
|
1340
|
+
{
|
1341
|
+
label: "select 1",
|
1342
|
+
value: "1",
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
label: "select 2",
|
1346
|
+
value: "2",
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
label: "select 3",
|
1350
|
+
value: "3",
|
1351
|
+
},
|
1352
|
+
],
|
1215
1353
|
required: !1,
|
1216
1354
|
requiredHint: "",
|
1217
1355
|
validation: "",
|
@@ -1230,36 +1368,36 @@ export const basicFields = [
|
|
1230
1368
|
onValidate: "",
|
1231
1369
|
widgetWidth: "",
|
1232
1370
|
accessType: "1",
|
1371
|
+
|
1372
|
+
...httpConfig,
|
1233
1373
|
formScriptEnabled: false,
|
1234
1374
|
formScriptCode: "getList",
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1375
|
+
|
1376
|
+
...defaultWfConfig,
|
1377
|
+
|
1378
|
+
commonAttributeEnabled: false,
|
1379
|
+
commonAttributeCode: "",
|
1380
|
+
|
1381
|
+
showCollapseTags: false,
|
1241
1382
|
|
1242
1383
|
showRuleFlag: 1,
|
1243
1384
|
showRuleEnabled: 1,
|
1244
1385
|
showRules: [],
|
1245
|
-
|
1246
|
-
textRule1: false,
|
1247
|
-
textRule2: false,
|
1248
|
-
textRule3: false,
|
1249
|
-
textRule2Number: null,
|
1250
|
-
textRule3Number: null
|
1251
|
-
}
|
1386
|
+
},
|
1252
1387
|
},
|
1253
1388
|
{
|
1254
1389
|
type: "time",
|
1255
1390
|
icon: "time-field",
|
1391
|
+
commonFlag: !0,
|
1256
1392
|
formItemFlag: !0,
|
1393
|
+
columnFlag: true,
|
1257
1394
|
tableField: null,
|
1258
1395
|
options: {
|
1259
1396
|
name: "",
|
1260
1397
|
keyNameEnabled: !1,
|
1261
1398
|
keyName: "",
|
1262
1399
|
label: "",
|
1400
|
+
labelColor: "",
|
1263
1401
|
submitFlag: true,
|
1264
1402
|
/**showText: false,*/
|
1265
1403
|
formField: "",
|
@@ -1291,34 +1429,28 @@ export const basicFields = [
|
|
1291
1429
|
onBlur: "",
|
1292
1430
|
onValidate: "",
|
1293
1431
|
accessType: "1",
|
1294
|
-
|
1295
|
-
wfEdit: false,
|
1296
|
-
enabledByWf: false,
|
1297
|
-
hiddenByWf: false,
|
1298
|
-
wfConfigData: [],
|
1432
|
+
...defaultWfConfig,
|
1299
1433
|
|
1300
1434
|
showRuleFlag: 1,
|
1301
1435
|
showRuleEnabled: 1,
|
1302
1436
|
showRules: [],
|
1303
|
-
textFlag: 1,
|
1304
|
-
textRule1: false,
|
1305
|
-
textRule2: false,
|
1306
|
-
textRule3: false,
|
1307
|
-
textRule2Number: null,
|
1308
|
-
textRule3Number: null
|
1309
1437
|
|
1310
|
-
|
1438
|
+
...defaultTextFlagConfig,
|
1439
|
+
},
|
1311
1440
|
},
|
1312
1441
|
{
|
1313
1442
|
type: "time-range",
|
1314
1443
|
icon: "time-range-field",
|
1444
|
+
commonFlag: !0,
|
1315
1445
|
formItemFlag: !0,
|
1446
|
+
columnFlag: true,
|
1316
1447
|
tableField: null,
|
1317
1448
|
options: {
|
1318
1449
|
name: "",
|
1319
1450
|
keyNameEnabled: !1,
|
1320
1451
|
keyName: "",
|
1321
1452
|
label: "",
|
1453
|
+
labelColor: "",
|
1322
1454
|
submitFlag: true,
|
1323
1455
|
formField: "",
|
1324
1456
|
labelAlign: "",
|
@@ -1350,34 +1482,26 @@ export const basicFields = [
|
|
1350
1482
|
onBlur: "",
|
1351
1483
|
onValidate: "",
|
1352
1484
|
accessType: "1",
|
1353
|
-
|
1354
|
-
wfEdit: false,
|
1355
|
-
enabledByWf: false,
|
1356
|
-
hiddenByWf: false,
|
1357
|
-
wfConfigData: [],
|
1485
|
+
...defaultWfConfig,
|
1358
1486
|
|
1359
1487
|
showRuleFlag: 1,
|
1360
1488
|
showRuleEnabled: 1,
|
1361
1489
|
showRules: [],
|
1362
|
-
|
1363
|
-
textRule1: false,
|
1364
|
-
textRule2: false,
|
1365
|
-
textRule3: false,
|
1366
|
-
textRule2Number: null,
|
1367
|
-
textRule3Number: null
|
1368
|
-
|
1369
|
-
}
|
1490
|
+
},
|
1370
1491
|
},
|
1371
1492
|
{
|
1372
1493
|
type: "date",
|
1373
1494
|
icon: "date-field",
|
1495
|
+
commonFlag: !0,
|
1374
1496
|
formItemFlag: !0,
|
1497
|
+
columnFlag: true,
|
1375
1498
|
tableField: null,
|
1376
1499
|
options: {
|
1377
1500
|
name: "",
|
1378
1501
|
keyNameEnabled: !1,
|
1379
1502
|
keyName: "",
|
1380
1503
|
label: "",
|
1504
|
+
labelColor: "",
|
1381
1505
|
submitFlag: true,
|
1382
1506
|
/**showText: false,*/
|
1383
1507
|
formField: "",
|
@@ -1411,34 +1535,28 @@ export const basicFields = [
|
|
1411
1535
|
onBlur: "",
|
1412
1536
|
onValidate: "",
|
1413
1537
|
accessType: "1",
|
1414
|
-
|
1415
|
-
wfEdit: false,
|
1416
|
-
enabledByWf: false,
|
1417
|
-
hiddenByWf: false,
|
1418
|
-
wfConfigData: [],
|
1538
|
+
...defaultWfConfig,
|
1419
1539
|
|
1420
1540
|
showRuleFlag: 1,
|
1421
1541
|
showRuleEnabled: 1,
|
1422
1542
|
showRules: [],
|
1423
|
-
textFlag: 1,
|
1424
|
-
textRule1: false,
|
1425
|
-
textRule2: false,
|
1426
|
-
textRule3: false,
|
1427
|
-
textRule2Number: null,
|
1428
|
-
textRule3Number: null
|
1429
1543
|
|
1430
|
-
|
1544
|
+
...defaultTextFlagConfig,
|
1545
|
+
},
|
1431
1546
|
},
|
1432
1547
|
{
|
1433
1548
|
type: "date-range",
|
1434
1549
|
icon: "date-range-field",
|
1550
|
+
commonFlag: !0,
|
1435
1551
|
formItemFlag: !0,
|
1552
|
+
columnFlag: true,
|
1436
1553
|
tableField: null,
|
1437
1554
|
options: {
|
1438
1555
|
name: "",
|
1439
1556
|
keyNameEnabled: !1,
|
1440
1557
|
keyName: "",
|
1441
1558
|
label: "",
|
1559
|
+
labelColor: "",
|
1442
1560
|
submitFlag: true,
|
1443
1561
|
formField: "",
|
1444
1562
|
labelAlign: "",
|
@@ -1457,6 +1575,7 @@ export const basicFields = [
|
|
1457
1575
|
editable: !1,
|
1458
1576
|
format: "yyyy-MM-dd",
|
1459
1577
|
valueFormat: "yyyy-MM-dd",
|
1578
|
+
defaultTime: ["00:00:00", "23:59:59"],
|
1460
1579
|
required: !1,
|
1461
1580
|
requiredHint: "",
|
1462
1581
|
validation: "",
|
@@ -1472,23 +1591,12 @@ export const basicFields = [
|
|
1472
1591
|
onBlur: "",
|
1473
1592
|
onValidate: "",
|
1474
1593
|
accessType: "1",
|
1475
|
-
|
1476
|
-
wfEdit: false,
|
1477
|
-
enabledByWf: false,
|
1478
|
-
hiddenByWf: false,
|
1479
|
-
wfConfigData: [],
|
1594
|
+
...defaultWfConfig,
|
1480
1595
|
|
1481
1596
|
showRuleFlag: 1,
|
1482
1597
|
showRuleEnabled: 1,
|
1483
1598
|
showRules: [],
|
1484
|
-
|
1485
|
-
textRule1: false,
|
1486
|
-
textRule2: false,
|
1487
|
-
textRule3: false,
|
1488
|
-
textRule2Number: null,
|
1489
|
-
textRule3Number: null
|
1490
|
-
|
1491
|
-
}
|
1599
|
+
},
|
1492
1600
|
},
|
1493
1601
|
/* {
|
1494
1602
|
type: "switch",
|
@@ -1617,7 +1725,9 @@ export const basicFields = [
|
|
1617
1725
|
{
|
1618
1726
|
type: "static-text",
|
1619
1727
|
icon: "static-text",
|
1728
|
+
commonFlag: !0,
|
1620
1729
|
formItemFlag: !1,
|
1730
|
+
columnFlag: true,
|
1621
1731
|
options: {
|
1622
1732
|
name: "",
|
1623
1733
|
columnWidth: "200px",
|
@@ -1628,23 +1738,21 @@ export const basicFields = [
|
|
1628
1738
|
onCreated: "",
|
1629
1739
|
onMounted: "",
|
1630
1740
|
accessType: "1",
|
1741
|
+
...defaultWfConfig,
|
1631
1742
|
|
1632
1743
|
showRuleFlag: 1,
|
1633
1744
|
showRuleEnabled: 1,
|
1634
1745
|
showRules: [],
|
1635
|
-
textFlag: 1,
|
1636
|
-
textRule1: false,
|
1637
|
-
textRule2: false,
|
1638
|
-
textRule3: false,
|
1639
|
-
textRule2Number: null,
|
1640
|
-
textRule3Number: null
|
1641
1746
|
|
1642
|
-
|
1747
|
+
...defaultTextFlagConfig,
|
1748
|
+
},
|
1643
1749
|
},
|
1644
1750
|
{
|
1645
1751
|
type: "html-text",
|
1646
1752
|
icon: "html-text",
|
1753
|
+
commonFlag: !1,
|
1647
1754
|
formItemFlag: !1,
|
1755
|
+
columnFlag: false,
|
1648
1756
|
options: {
|
1649
1757
|
name: "",
|
1650
1758
|
columnWidth: "200px",
|
@@ -1654,18 +1762,12 @@ export const basicFields = [
|
|
1654
1762
|
onCreated: "",
|
1655
1763
|
onMounted: "",
|
1656
1764
|
accessType: "1",
|
1765
|
+
...defaultWfConfig,
|
1657
1766
|
|
1658
1767
|
showRuleFlag: 1,
|
1659
1768
|
showRuleEnabled: 1,
|
1660
1769
|
showRules: [],
|
1661
|
-
|
1662
|
-
textRule1: false,
|
1663
|
-
textRule2: false,
|
1664
|
-
textRule3: false,
|
1665
|
-
textRule2Number: null,
|
1666
|
-
textRule3Number: null
|
1667
|
-
|
1668
|
-
}
|
1770
|
+
},
|
1669
1771
|
},
|
1670
1772
|
/* {
|
1671
1773
|
type: 'title-head',
|
@@ -1687,10 +1789,13 @@ export const basicFields = [
|
|
1687
1789
|
{
|
1688
1790
|
type: "button",
|
1689
1791
|
icon: "button",
|
1792
|
+
commonFlag: !0,
|
1690
1793
|
formItemFlag: !1,
|
1794
|
+
columnFlag: true,
|
1691
1795
|
options: {
|
1692
1796
|
name: "",
|
1693
1797
|
label: "",
|
1798
|
+
wfHideFlag: 1,
|
1694
1799
|
columnWidth: "200px",
|
1695
1800
|
size: "",
|
1696
1801
|
displayStyle: "block",
|
@@ -1707,34 +1812,29 @@ export const basicFields = [
|
|
1707
1812
|
onClick: "",
|
1708
1813
|
accessType: "1",
|
1709
1814
|
clickBindEvent: null,
|
1815
|
+
onBeforeClickButton: null,
|
1710
1816
|
searchDialogConfig: {
|
1711
|
-
...defaultSearchDialogConfig
|
1817
|
+
...defaultSearchDialogConfig,
|
1712
1818
|
},
|
1713
1819
|
addTableDataConfig: {
|
1714
1820
|
tableRef: null,
|
1715
|
-
tableData: {}
|
1821
|
+
tableData: {},
|
1716
1822
|
},
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
hiddenByWf: false,
|
1721
|
-
wfConfigData: [],
|
1823
|
+
...defaultWfConfig,
|
1824
|
+
hiddenByWf: true,
|
1825
|
+
...defaultWidgetShowRuleConfig,
|
1722
1826
|
|
1723
1827
|
showRuleFlag: 1,
|
1724
1828
|
showRuleEnabled: 1,
|
1725
1829
|
showRules: [],
|
1726
|
-
|
1727
|
-
textRule1: false,
|
1728
|
-
textRule2: false,
|
1729
|
-
textRule3: false,
|
1730
|
-
textRule2Number: null,
|
1731
|
-
textRule3Number: null
|
1732
|
-
}
|
1830
|
+
},
|
1733
1831
|
},
|
1734
1832
|
{
|
1735
1833
|
type: "divider",
|
1736
1834
|
icon: "divider",
|
1835
|
+
commonFlag: !0,
|
1737
1836
|
formItemFlag: !1,
|
1837
|
+
columnFlag: true,
|
1738
1838
|
options: {
|
1739
1839
|
name: "",
|
1740
1840
|
label: "",
|
@@ -1743,9 +1843,10 @@ export const basicFields = [
|
|
1743
1843
|
contentPosition: "center",
|
1744
1844
|
hidden: !1,
|
1745
1845
|
customClass: "",
|
1846
|
+
...defaultWfConfig,
|
1746
1847
|
onCreated: "",
|
1747
|
-
onMounted: ""
|
1748
|
-
}
|
1848
|
+
onMounted: "",
|
1849
|
+
},
|
1749
1850
|
},
|
1750
1851
|
/*{
|
1751
1852
|
type: "descriptions",
|
@@ -1804,18 +1905,22 @@ export const basicFields = [
|
|
1804
1905
|
{
|
1805
1906
|
type: "text",
|
1806
1907
|
icon: "text",
|
1908
|
+
commonFlag: !0,
|
1807
1909
|
formItemFlag: !0,
|
1910
|
+
columnFlag: true,
|
1808
1911
|
tableField: null,
|
1809
1912
|
options: {
|
1810
1913
|
name: "",
|
1811
1914
|
keyNameEnabled: !1,
|
1812
1915
|
keyName: "",
|
1813
1916
|
label: "",
|
1917
|
+
labelColor: "",
|
1814
1918
|
submitFlag: true,
|
1815
1919
|
formField: "",
|
1816
1920
|
hidden: !1,
|
1817
1921
|
required: !1,
|
1818
1922
|
customClass: "",
|
1923
|
+
colorClass: "",
|
1819
1924
|
defaultValue: "",
|
1820
1925
|
labelAlign: "",
|
1821
1926
|
labelWidth: null,
|
@@ -1823,29 +1928,32 @@ export const basicFields = [
|
|
1823
1928
|
onCreated: "",
|
1824
1929
|
onMounted: "",
|
1825
1930
|
accessType: "1",
|
1826
|
-
|
1931
|
+
...defaultWfConfig,
|
1932
|
+
|
1933
|
+
autoValueEnabled: false,
|
1934
|
+
autoValueHanlde: null,
|
1827
1935
|
|
1828
1936
|
showRuleFlag: 1,
|
1829
1937
|
showRuleEnabled: 1,
|
1830
1938
|
showRules: [],
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
textRule3: false,
|
1835
|
-
textRule2Number: null,
|
1836
|
-
textRule3Number: null
|
1837
|
-
}
|
1939
|
+
|
1940
|
+
...defaultTextFlagConfig,
|
1941
|
+
},
|
1838
1942
|
},
|
1839
1943
|
{
|
1840
1944
|
type: "a-text",
|
1841
1945
|
icon: "text-field",
|
1946
|
+
commonFlag: !0,
|
1842
1947
|
formItemFlag: !0,
|
1948
|
+
columnFlag: true,
|
1843
1949
|
tableField: null,
|
1844
1950
|
options: {
|
1845
1951
|
name: "",
|
1846
1952
|
keyNameEnabled: !1,
|
1847
1953
|
keyName: "",
|
1848
1954
|
label: "",
|
1955
|
+
labelColor: "",
|
1956
|
+
displayStyle: "block",
|
1849
1957
|
submitFlag: true,
|
1850
1958
|
/**showText: false,*/
|
1851
1959
|
formField: "",
|
@@ -1864,7 +1972,7 @@ export const basicFields = [
|
|
1864
1972
|
aTextFlag: 1,
|
1865
1973
|
underline: false,
|
1866
1974
|
href: "",
|
1867
|
-
|
1975
|
+
colorClass: "f-red",
|
1868
1976
|
|
1869
1977
|
onCreated: "",
|
1870
1978
|
onMounted: "",
|
@@ -1872,78 +1980,95 @@ export const basicFields = [
|
|
1872
1980
|
onChange: "",
|
1873
1981
|
onClick: "",
|
1874
1982
|
accessType: "1",
|
1875
|
-
|
1876
|
-
|
1877
|
-
enabledByWf: false,
|
1878
|
-
hiddenByWf: false,
|
1879
|
-
wfConfigData: [],
|
1983
|
+
...defaultWfConfig,
|
1984
|
+
...defaultWidgetShowRuleConfig,
|
1880
1985
|
|
1881
1986
|
showRuleFlag: 1,
|
1882
1987
|
showRuleEnabled: 1,
|
1883
1988
|
showRules: [],
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
textRule3: false,
|
1888
|
-
textRule2Number: null,
|
1889
|
-
textRule3Number: null
|
1890
|
-
}
|
1989
|
+
|
1990
|
+
...defaultTextFlagConfig,
|
1991
|
+
},
|
1891
1992
|
},
|
1892
1993
|
{
|
1893
1994
|
type: "a-link",
|
1894
1995
|
icon: "button",
|
1996
|
+
commonFlag: !0,
|
1895
1997
|
formItemFlag: !1,
|
1998
|
+
columnFlag: true,
|
1896
1999
|
options: {
|
1897
2000
|
name: "",
|
1898
2001
|
keyNameEnabled: !1,
|
1899
2002
|
keyName: "",
|
1900
2003
|
label: "",
|
2004
|
+
displayStyle: "block",
|
1901
2005
|
labelHidden: !1,
|
1902
2006
|
disabled: !1,
|
1903
2007
|
hidden: !1,
|
1904
2008
|
prefixIcon: "",
|
1905
2009
|
suffixIcon: "",
|
1906
2010
|
customClass: "",
|
2011
|
+
wfHideFlag: 1,
|
1907
2012
|
aLinkFlag: 1,
|
1908
2013
|
underline: false,
|
1909
2014
|
href: "",
|
1910
|
-
|
2015
|
+
colorClass: "f-blue",
|
1911
2016
|
isFormLabel: false,
|
1912
2017
|
onCreated: "",
|
1913
2018
|
onMounted: "",
|
1914
2019
|
onClick: "",
|
1915
2020
|
clickBindEvent: null,
|
2021
|
+
onBeforeClickButton: null,
|
1916
2022
|
searchDialogConfig: {
|
1917
|
-
...defaultSearchDialogConfig
|
2023
|
+
...defaultSearchDialogConfig,
|
1918
2024
|
},
|
1919
2025
|
addTableDataConfig: {
|
1920
2026
|
tableRef: null,
|
1921
|
-
tableData: {}
|
2027
|
+
tableData: {},
|
1922
2028
|
},
|
1923
|
-
|
1924
|
-
|
1925
|
-
enabledByWf: false,
|
1926
|
-
hiddenByWf: false,
|
1927
|
-
wfConfigData: [],
|
2029
|
+
...defaultWfConfig,
|
2030
|
+
...defaultWidgetShowRuleConfig,
|
1928
2031
|
|
1929
2032
|
showRuleFlag: 1,
|
1930
2033
|
showRuleEnabled: 1,
|
1931
2034
|
showRules: [],
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
textRule3: false,
|
1936
|
-
textRule2Number: null,
|
1937
|
-
textRule3Number: null
|
1938
|
-
}
|
2035
|
+
|
2036
|
+
...defaultTextFlagConfig,
|
2037
|
+
},
|
1939
2038
|
},
|
2039
|
+
{
|
2040
|
+
type: "a-link2",
|
2041
|
+
icon: "button",
|
2042
|
+
commonFlag: !1,
|
2043
|
+
formItemFlag: !1,
|
2044
|
+
columnFlag: false,
|
2045
|
+
options: {
|
2046
|
+
prefixIcon: "",
|
2047
|
+
suffixIcon: "",
|
2048
|
+
customClass: "",
|
2049
|
+
aLinkFlag: 1,
|
2050
|
+
underline: false,
|
2051
|
+
href: "",
|
2052
|
+
colorClass: "f-blue",
|
1940
2053
|
|
1941
|
-
|
2054
|
+
onClick: "",
|
2055
|
+
clickBindEvent: null,
|
2056
|
+
onBeforeClickButton: null,
|
2057
|
+
searchDialogConfig: {
|
2058
|
+
...defaultSearchDialogConfig,
|
2059
|
+
},
|
2060
|
+
addTableDataConfig: {
|
2061
|
+
tableRef: null,
|
2062
|
+
tableData: {},
|
2063
|
+
},
|
2064
|
+
},
|
2065
|
+
},
|
2066
|
+
];
|
1942
2067
|
|
1943
2068
|
export const advancedFields = [
|
1944
2069
|
{
|
1945
|
-
type:
|
1946
|
-
icon:
|
2070
|
+
type: "echart-pie",
|
2071
|
+
icon: "echart-pie",
|
1947
2072
|
commonFlag: !0,
|
1948
2073
|
formItemFlag: false,
|
1949
2074
|
options: {
|
@@ -1952,89 +2077,102 @@ export const advancedFields = [
|
|
1952
2077
|
hidden: !1,
|
1953
2078
|
echarPieOption: {
|
1954
2079
|
backgroundColor: "#fff",
|
1955
|
-
color: [
|
2080
|
+
color: [
|
2081
|
+
"#5BC1D7",
|
2082
|
+
"#FF8A3D",
|
2083
|
+
"#56C271",
|
2084
|
+
"#694ED6",
|
2085
|
+
"#C033A1",
|
2086
|
+
"#FFCC10",
|
2087
|
+
],
|
1956
2088
|
title: {
|
1957
2089
|
show: true,
|
1958
|
-
top:
|
1959
|
-
text:
|
2090
|
+
top: "5px",
|
2091
|
+
text: "这是饼图标题",
|
1960
2092
|
},
|
1961
2093
|
grid: {
|
1962
|
-
top:
|
1963
|
-
left:
|
1964
|
-
right:
|
1965
|
-
bottom:
|
1966
|
-
containLabel: true
|
2094
|
+
top: "80px",
|
2095
|
+
left: "3%",
|
2096
|
+
right: "6%",
|
2097
|
+
bottom: "3%",
|
2098
|
+
containLabel: true,
|
1967
2099
|
},
|
1968
2100
|
legend: {
|
1969
2101
|
show: false,
|
1970
|
-
right:
|
2102
|
+
right: "12px",
|
1971
2103
|
itemGap: 20,
|
1972
2104
|
itemWidth: 10,
|
1973
2105
|
itemHeight: 10,
|
1974
|
-
orient:
|
2106
|
+
orient: "horizontal",
|
1975
2107
|
},
|
1976
2108
|
tooltip: {
|
1977
|
-
trigger:
|
2109
|
+
trigger: "axis",
|
1978
2110
|
axisPointer: {
|
1979
|
-
type:
|
2111
|
+
type: "shadow",
|
1980
2112
|
label: {
|
1981
|
-
backgroundColor:
|
1982
|
-
}
|
1983
|
-
}
|
1984
|
-
},
|
1985
|
-
series: [{
|
1986
|
-
// name: 'Access From',
|
1987
|
-
type: 'pie',
|
1988
|
-
radius: '60%',
|
1989
|
-
center: ['50%', '48%'],
|
1990
|
-
itemStyle: {
|
1991
|
-
borderRadius: 10,
|
1992
|
-
borderColor: '#FFF',
|
1993
|
-
borderWidth: 2
|
1994
|
-
},
|
1995
|
-
label: {
|
1996
|
-
show: true,
|
1997
|
-
fontSize: 12,
|
1998
|
-
color: "",
|
1999
|
-
fontWeight: "normal"
|
2000
|
-
},
|
2001
|
-
data: [{
|
2002
|
-
value: 1048,
|
2003
|
-
name: 'Search Engine'
|
2004
|
-
},
|
2005
|
-
{
|
2006
|
-
value: 735,
|
2007
|
-
name: 'Direct'
|
2113
|
+
backgroundColor: "#fff",
|
2008
2114
|
},
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2115
|
+
},
|
2116
|
+
},
|
2117
|
+
series: [
|
2118
|
+
{
|
2119
|
+
// name: 'Access From',
|
2120
|
+
type: "pie",
|
2121
|
+
radius: "60%",
|
2122
|
+
center: ["50%", "48%"],
|
2123
|
+
itemStyle: {
|
2124
|
+
borderRadius: 10,
|
2125
|
+
borderColor: "#FFF",
|
2126
|
+
borderWidth: 2,
|
2012
2127
|
},
|
2013
|
-
{
|
2014
|
-
|
2015
|
-
|
2128
|
+
label: {
|
2129
|
+
show: true,
|
2130
|
+
fontSize: 12,
|
2131
|
+
color: "",
|
2132
|
+
fontWeight: "normal",
|
2016
2133
|
},
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2134
|
+
data: [
|
2135
|
+
{
|
2136
|
+
value: 1048,
|
2137
|
+
name: "Search Engine",
|
2138
|
+
},
|
2139
|
+
{
|
2140
|
+
value: 735,
|
2141
|
+
name: "Direct",
|
2142
|
+
},
|
2143
|
+
{
|
2144
|
+
value: 580,
|
2145
|
+
name: "Email",
|
2146
|
+
},
|
2147
|
+
{
|
2148
|
+
value: 484,
|
2149
|
+
name: "Union Ads",
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
value: 300,
|
2153
|
+
name: "Video Ads",
|
2154
|
+
},
|
2155
|
+
],
|
2156
|
+
},
|
2157
|
+
],
|
2023
2158
|
},
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2159
|
+
echartConfig: "",
|
2160
|
+
|
2161
|
+
...httpConfig,
|
2162
|
+
|
2163
|
+
onClick: "",
|
2027
2164
|
onCreated: "",
|
2028
2165
|
onMounted: "this.loadDataDefaultHandle()",
|
2029
2166
|
|
2167
|
+
...defaultWfConfig,
|
2030
2168
|
showRuleFlag: 1,
|
2031
2169
|
showRuleEnabled: 1,
|
2032
|
-
showRules: []
|
2033
|
-
}
|
2170
|
+
showRules: [],
|
2171
|
+
},
|
2034
2172
|
},
|
2035
2173
|
{
|
2036
|
-
type:
|
2037
|
-
icon:
|
2174
|
+
type: "echart-bar",
|
2175
|
+
icon: "echart",
|
2038
2176
|
commonFlag: !0,
|
2039
2177
|
formItemFlag: false,
|
2040
2178
|
options: {
|
@@ -2043,44 +2181,52 @@ export const advancedFields = [
|
|
2043
2181
|
hidden: !1,
|
2044
2182
|
echarBarOption: {
|
2045
2183
|
backgroundColor: "#fff",
|
2046
|
-
color: [
|
2184
|
+
color: [
|
2185
|
+
"#5BC1D7",
|
2186
|
+
"#FF8A3D",
|
2187
|
+
"#56C271",
|
2188
|
+
"#694ED6",
|
2189
|
+
"#C033A1",
|
2190
|
+
"#FFCC10",
|
2191
|
+
],
|
2192
|
+
colors: [],
|
2047
2193
|
title: {
|
2048
2194
|
show: true,
|
2049
|
-
top:
|
2050
|
-
text:
|
2195
|
+
top: "5px",
|
2196
|
+
text: "这是柱形图标题",
|
2051
2197
|
},
|
2052
2198
|
grid: {
|
2053
|
-
top:
|
2054
|
-
left:
|
2055
|
-
right:
|
2056
|
-
bottom:
|
2057
|
-
containLabel: true
|
2199
|
+
top: "80px",
|
2200
|
+
left: "3%",
|
2201
|
+
right: "80",
|
2202
|
+
bottom: "3%",
|
2203
|
+
containLabel: true,
|
2058
2204
|
},
|
2059
2205
|
legend: {
|
2060
|
-
right:
|
2061
|
-
top:
|
2062
|
-
icon:
|
2206
|
+
right: "12px",
|
2207
|
+
top: "8px",
|
2208
|
+
icon: "circle",
|
2063
2209
|
itemWidth: 12,
|
2064
2210
|
|
2065
2211
|
itemGap: 24,
|
2066
2212
|
},
|
2067
2213
|
tooltip: {
|
2068
|
-
trigger:
|
2214
|
+
trigger: "axis",
|
2069
2215
|
axisPointer: {
|
2070
|
-
type:
|
2216
|
+
type: "shadow",
|
2071
2217
|
label: {
|
2072
|
-
backgroundColor:
|
2073
|
-
}
|
2074
|
-
}
|
2218
|
+
backgroundColor: "#fff",
|
2219
|
+
},
|
2220
|
+
},
|
2075
2221
|
},
|
2076
2222
|
xAxis: {
|
2077
|
-
type:
|
2078
|
-
data: [
|
2223
|
+
type: "category",
|
2224
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
2079
2225
|
show: true,
|
2080
2226
|
name: "X轴",
|
2081
2227
|
nameTextStyle: {
|
2082
2228
|
color: "#606266",
|
2083
|
-
fontSize: 12
|
2229
|
+
fontSize: 12,
|
2084
2230
|
},
|
2085
2231
|
axisLabel: {
|
2086
2232
|
color: "#606266",
|
@@ -2090,20 +2236,20 @@ export const advancedFields = [
|
|
2090
2236
|
inverse: false,
|
2091
2237
|
axisLine: {
|
2092
2238
|
lineStyle: {
|
2093
|
-
color: "#E6EBF5"
|
2094
|
-
}
|
2239
|
+
color: "#E6EBF5",
|
2240
|
+
},
|
2095
2241
|
},
|
2096
2242
|
splitLine: {
|
2097
2243
|
show: false,
|
2098
|
-
}
|
2244
|
+
},
|
2099
2245
|
},
|
2100
2246
|
yAxis: {
|
2101
|
-
type:
|
2247
|
+
type: "value",
|
2102
2248
|
show: true,
|
2103
2249
|
name: "Y轴",
|
2104
2250
|
nameTextStyle: {
|
2105
2251
|
color: "#606266",
|
2106
|
-
fontSize: 12
|
2252
|
+
fontSize: 12,
|
2107
2253
|
},
|
2108
2254
|
axisLabel: {
|
2109
2255
|
color: "#606266",
|
@@ -2114,96 +2260,109 @@ export const advancedFields = [
|
|
2114
2260
|
axisLine: {
|
2115
2261
|
show: false,
|
2116
2262
|
lineStyle: {
|
2117
|
-
color: ""
|
2118
|
-
}
|
2263
|
+
color: "",
|
2264
|
+
},
|
2119
2265
|
},
|
2120
2266
|
splitLine: {
|
2121
2267
|
show: true,
|
2122
2268
|
lineStyle: {
|
2123
|
-
color: "#E6EBF5"
|
2124
|
-
}
|
2125
|
-
}
|
2126
|
-
},
|
2127
|
-
series: [{
|
2128
|
-
data: [120, 200, 150, 80, 70, 110, 130],
|
2129
|
-
type: 'bar',
|
2130
|
-
name: 'Video Ad',
|
2131
|
-
label: {
|
2132
|
-
show: false,
|
2133
|
-
fontSize: 12,
|
2134
|
-
color: "#FFF",
|
2135
|
-
fontWeight: "normal",
|
2136
|
-
position: 'insideTop',
|
2137
|
-
},
|
2138
|
-
backgroundStyle: {
|
2139
|
-
color: 'rgba(180, 180, 180, 0.2)'
|
2269
|
+
color: "#E6EBF5",
|
2270
|
+
},
|
2140
2271
|
},
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2272
|
+
},
|
2273
|
+
series: [
|
2274
|
+
{
|
2275
|
+
data: [120, 200, 150, 80, 70, 110, 130],
|
2276
|
+
type: "bar",
|
2277
|
+
name: "Video Ad",
|
2278
|
+
label: {
|
2279
|
+
show: false,
|
2280
|
+
fontSize: 12,
|
2281
|
+
color: "#FFF",
|
2282
|
+
fontWeight: "normal",
|
2283
|
+
position: "insideTop",
|
2284
|
+
},
|
2285
|
+
backgroundStyle: {
|
2286
|
+
color: "rgba(180, 180, 180, 0.2)",
|
2287
|
+
},
|
2288
|
+
barMaxWidth: 28,
|
2289
|
+
barMinHeight: 0,
|
2290
|
+
barGap: "15%",
|
2291
|
+
itemStyle: {
|
2292
|
+
color: {
|
2293
|
+
type: "linear",
|
2294
|
+
x: 0.5,
|
2295
|
+
y: 0.9,
|
2296
|
+
r: 0.2,
|
2297
|
+
colorStops: [
|
2298
|
+
{
|
2299
|
+
offset: 1,
|
2300
|
+
color: "#08C084", // 0% 处的颜色
|
2301
|
+
},
|
2302
|
+
{
|
2303
|
+
offset: 0,
|
2304
|
+
color: "#97EACE", // 100% 处的颜色
|
2305
|
+
},
|
2306
|
+
],
|
2307
|
+
},
|
2308
|
+
borderRadius: [20, 20, 0, 0],
|
2155
2309
|
},
|
2156
|
-
borderRadius: [20, 20, 0, 0]
|
2157
2310
|
},
|
2311
|
+
{
|
2312
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
2313
|
+
type: "bar",
|
2314
|
+
name: "Video Ad1",
|
2158
2315
|
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2316
|
+
label: {
|
2317
|
+
show: false,
|
2318
|
+
fontSize: 12,
|
2319
|
+
color: "#FFF",
|
2320
|
+
fontWeight: "normal",
|
2321
|
+
position: "insideTop",
|
2322
|
+
},
|
2323
|
+
backgroundStyle: {
|
2324
|
+
color: "rgba(180, 180, 180, 0.2)",
|
2325
|
+
},
|
2326
|
+
barMaxWidth: "28%",
|
2327
|
+
barMinHeight: 0,
|
2328
|
+
itemStyle: {
|
2329
|
+
color: {
|
2330
|
+
type: "linear",
|
2331
|
+
x: 0.5,
|
2332
|
+
y: 0.9,
|
2333
|
+
r: 0.2,
|
2334
|
+
colorStops: [
|
2335
|
+
{
|
2336
|
+
offset: 1,
|
2337
|
+
color: "#29ABE3", // 0% 处的颜色
|
2338
|
+
},
|
2339
|
+
{
|
2340
|
+
offset: 0,
|
2341
|
+
color: "#AADEF4", // 100% 处的颜色
|
2342
|
+
},
|
2343
|
+
],
|
2344
|
+
},
|
2345
|
+
borderRadius: [20, 20, 0, 0],
|
2187
2346
|
},
|
2188
|
-
borderRadius: [20, 20, 0, 0]
|
2189
2347
|
},
|
2190
|
-
|
2191
|
-
}]
|
2348
|
+
],
|
2192
2349
|
},
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2350
|
+
echartConfig: "",
|
2351
|
+
|
2352
|
+
...httpConfig,
|
2353
|
+
|
2354
|
+
onClick: "",
|
2196
2355
|
onCreated: "",
|
2197
2356
|
onMounted: "this.loadDataDefaultHandle()",
|
2198
|
-
|
2357
|
+
...defaultWfConfig,
|
2199
2358
|
showRuleFlag: 1,
|
2200
2359
|
showRuleEnabled: 1,
|
2201
|
-
showRules: []
|
2202
|
-
}
|
2360
|
+
showRules: [],
|
2361
|
+
},
|
2203
2362
|
},
|
2204
2363
|
{
|
2205
|
-
type:
|
2206
|
-
icon:
|
2364
|
+
type: "echart-category",
|
2365
|
+
icon: "echart-category",
|
2207
2366
|
commonFlag: !0,
|
2208
2367
|
formItemFlag: false,
|
2209
2368
|
options: {
|
@@ -2213,42 +2372,50 @@ export const advancedFields = [
|
|
2213
2372
|
reqSources: [],
|
2214
2373
|
echarCategoryOption: {
|
2215
2374
|
backgroundColor: "#fff",
|
2216
|
-
color: [
|
2375
|
+
color: [
|
2376
|
+
"#5BC1D7",
|
2377
|
+
"#FF8A3D",
|
2378
|
+
"#56C271",
|
2379
|
+
"#694ED6",
|
2380
|
+
"#C033A1",
|
2381
|
+
"#FFCC10",
|
2382
|
+
],
|
2383
|
+
colors: [],
|
2217
2384
|
title: {
|
2218
2385
|
show: true,
|
2219
|
-
top:
|
2220
|
-
text:
|
2386
|
+
top: "5px",
|
2387
|
+
text: "这是折线图标题",
|
2221
2388
|
},
|
2222
2389
|
grid: {
|
2223
|
-
top:
|
2224
|
-
left:
|
2225
|
-
right:
|
2226
|
-
bottom:
|
2227
|
-
containLabel: true
|
2390
|
+
top: "80px",
|
2391
|
+
left: "3%",
|
2392
|
+
right: "80",
|
2393
|
+
bottom: "3%",
|
2394
|
+
containLabel: true,
|
2228
2395
|
},
|
2229
2396
|
legend: {
|
2230
|
-
right:
|
2231
|
-
top:
|
2397
|
+
right: "12px",
|
2398
|
+
top: "8px",
|
2232
2399
|
itemGap: 24,
|
2233
2400
|
},
|
2234
2401
|
tooltip: {
|
2235
|
-
trigger:
|
2402
|
+
trigger: "axis",
|
2236
2403
|
axisPointer: {
|
2237
|
-
type:
|
2404
|
+
type: "shadow",
|
2238
2405
|
label: {
|
2239
|
-
backgroundColor:
|
2240
|
-
}
|
2241
|
-
}
|
2406
|
+
backgroundColor: "#fff",
|
2407
|
+
},
|
2408
|
+
},
|
2242
2409
|
},
|
2243
2410
|
xAxis: {
|
2244
|
-
type:
|
2245
|
-
data: [
|
2411
|
+
type: "category",
|
2412
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
2246
2413
|
show: true,
|
2247
2414
|
name: "X轴",
|
2248
2415
|
boundaryGap: false,
|
2249
2416
|
nameTextStyle: {
|
2250
2417
|
color: "#606266",
|
2251
|
-
fontSize: 12
|
2418
|
+
fontSize: 12,
|
2252
2419
|
},
|
2253
2420
|
axisLabel: {
|
2254
2421
|
color: "#606266",
|
@@ -2258,24 +2425,24 @@ export const advancedFields = [
|
|
2258
2425
|
inverse: false,
|
2259
2426
|
axisLine: {
|
2260
2427
|
lineStyle: {
|
2261
|
-
color: "#E6EBF5"
|
2262
|
-
}
|
2428
|
+
color: "#E6EBF5",
|
2429
|
+
},
|
2263
2430
|
},
|
2264
2431
|
splitLine: {
|
2265
2432
|
show: true,
|
2266
2433
|
lineStyle: {
|
2267
|
-
type:
|
2268
|
-
color: "#E6EBF595"
|
2269
|
-
}
|
2270
|
-
}
|
2434
|
+
type: "dashed",
|
2435
|
+
color: "#E6EBF595",
|
2436
|
+
},
|
2437
|
+
},
|
2271
2438
|
},
|
2272
2439
|
yAxis: {
|
2273
|
-
type:
|
2440
|
+
type: "value",
|
2274
2441
|
show: true,
|
2275
2442
|
name: "Y轴",
|
2276
2443
|
nameTextStyle: {
|
2277
2444
|
color: "#606266",
|
2278
|
-
fontSize: 12
|
2445
|
+
fontSize: 12,
|
2279
2446
|
},
|
2280
2447
|
axisLabel: {
|
2281
2448
|
color: "#606266",
|
@@ -2286,110 +2453,167 @@ export const advancedFields = [
|
|
2286
2453
|
axisLine: {
|
2287
2454
|
show: false,
|
2288
2455
|
lineStyle: {
|
2289
|
-
color: ""
|
2290
|
-
}
|
2456
|
+
color: "",
|
2457
|
+
},
|
2291
2458
|
},
|
2292
2459
|
splitLine: {
|
2293
2460
|
show: true,
|
2294
2461
|
lineStyle: {
|
2295
|
-
color: "#E6EBF5"
|
2296
|
-
}
|
2297
|
-
}
|
2298
|
-
},
|
2299
|
-
series: [{
|
2300
|
-
name: "R1",
|
2301
|
-
data: [220, 282, 111, 234, 220, 340, 310],
|
2302
|
-
type: 'line',
|
2303
|
-
stack: 'Total',
|
2304
|
-
label: {
|
2305
|
-
show: true,
|
2306
|
-
fontSize: 12,
|
2307
|
-
color: "#212121",
|
2308
|
-
fontWeight: "normal"
|
2309
|
-
},
|
2310
|
-
lineStyle: {
|
2311
|
-
color: {
|
2312
|
-
type: 'linear',
|
2313
|
-
x: 0.5,
|
2314
|
-
y: 0.5,
|
2315
|
-
r: 0.5,
|
2316
|
-
colorStops: [{
|
2317
|
-
offset: 0, color: '#08C084' // 0% 处的颜色
|
2318
|
-
}, {
|
2319
|
-
offset: 1, color: '#97EACE' // 100% 处的颜色
|
2320
|
-
}],
|
2462
|
+
color: "#E6EBF5",
|
2321
2463
|
},
|
2322
|
-
cap: 'round',
|
2323
|
-
shadowColor: '#08C08450',
|
2324
|
-
shadowBlur: 4,
|
2325
|
-
shadowOffsetY: 6
|
2326
|
-
},
|
2327
|
-
emphasis: {
|
2328
|
-
scale: 1,
|
2329
|
-
focus: 'series'
|
2330
|
-
},
|
2331
|
-
showSymbol: false,
|
2332
|
-
smooth: true,
|
2333
|
-
}, {
|
2334
|
-
name: "R2",
|
2335
|
-
data: [140, 232, 101, 264, 90, 340, 250],
|
2336
|
-
type: 'line',
|
2337
|
-
stack: 'Total',
|
2338
|
-
label: {
|
2339
|
-
show: true,
|
2340
|
-
fontSize: 12,
|
2341
|
-
color: "#212121",
|
2342
|
-
fontWeight: "normal"
|
2343
2464
|
},
|
2344
|
-
|
2345
|
-
|
2346
|
-
|
2347
|
-
|
2348
|
-
|
2349
|
-
|
2350
|
-
|
2351
|
-
|
2352
|
-
|
2353
|
-
|
2354
|
-
|
2465
|
+
},
|
2466
|
+
series: [
|
2467
|
+
{
|
2468
|
+
name: "R1",
|
2469
|
+
data: [220, 282, 111, 234, 220, 340, 310],
|
2470
|
+
type: "line",
|
2471
|
+
stack: "Total",
|
2472
|
+
label: {
|
2473
|
+
show: true,
|
2474
|
+
fontSize: 12,
|
2475
|
+
color: "#212121",
|
2476
|
+
fontWeight: "normal",
|
2477
|
+
},
|
2478
|
+
lineStyle: {
|
2479
|
+
color: {
|
2480
|
+
type: "linear",
|
2481
|
+
x: 0.5,
|
2482
|
+
y: 0.5,
|
2483
|
+
r: 0.5,
|
2484
|
+
colorStops: [
|
2485
|
+
{
|
2486
|
+
offset: 0,
|
2487
|
+
color: "#08C084", // 0% 处的颜色
|
2488
|
+
},
|
2489
|
+
{
|
2490
|
+
offset: 1,
|
2491
|
+
color: "#97EACE", // 100% 处的颜色
|
2492
|
+
},
|
2493
|
+
],
|
2494
|
+
},
|
2495
|
+
cap: "round",
|
2496
|
+
shadowColor: "#08C08450",
|
2497
|
+
shadowBlur: 4,
|
2498
|
+
shadowOffsetY: 6,
|
2499
|
+
},
|
2500
|
+
itemStyle: {
|
2501
|
+
color: {
|
2502
|
+
type: "linear",
|
2503
|
+
x: 0.5,
|
2504
|
+
y: 0.5,
|
2505
|
+
r: 0.5,
|
2506
|
+
colorStops: [
|
2507
|
+
{
|
2508
|
+
offset: 0,
|
2509
|
+
color: "#08C084", // 0% 处的颜色
|
2510
|
+
},
|
2511
|
+
{
|
2512
|
+
offset: 1,
|
2513
|
+
color: "#97EACE", // 100% 处的颜色
|
2514
|
+
},
|
2515
|
+
],
|
2516
|
+
},
|
2517
|
+
cap: "round",
|
2518
|
+
shadowColor: "#08C08450",
|
2519
|
+
shadowBlur: 4,
|
2520
|
+
shadowOffsetY: 6,
|
2355
2521
|
},
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
|
2522
|
+
emphasis: {
|
2523
|
+
scale: 1,
|
2524
|
+
focus: "series",
|
2525
|
+
},
|
2526
|
+
showSymbol: false,
|
2527
|
+
smooth: true,
|
2360
2528
|
},
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2529
|
+
{
|
2530
|
+
name: "R2",
|
2531
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
2532
|
+
type: "line",
|
2533
|
+
stack: "Total",
|
2534
|
+
label: {
|
2535
|
+
show: true,
|
2536
|
+
fontSize: 12,
|
2537
|
+
color: "#212121",
|
2538
|
+
fontWeight: "normal",
|
2539
|
+
},
|
2540
|
+
lineStyle: {
|
2541
|
+
color: {
|
2542
|
+
type: "linear",
|
2543
|
+
x: 0.5,
|
2544
|
+
y: 0.5,
|
2545
|
+
r: 0.5,
|
2546
|
+
colorStops: [
|
2547
|
+
{
|
2548
|
+
offset: 0,
|
2549
|
+
color: "#FF6116", // 0% 处的颜色
|
2550
|
+
},
|
2551
|
+
{
|
2552
|
+
offset: 1,
|
2553
|
+
color: "#F9A980", // 100% 处的颜色
|
2554
|
+
},
|
2555
|
+
],
|
2556
|
+
},
|
2557
|
+
cap: "round",
|
2558
|
+
shadowColor: "#FF611650",
|
2559
|
+
shadowBlur: 4,
|
2560
|
+
shadowOffsetY: 6,
|
2561
|
+
},
|
2562
|
+
itemStyle: {
|
2563
|
+
color: {
|
2564
|
+
type: "linear",
|
2565
|
+
x: 0.5,
|
2566
|
+
y: 0.5,
|
2567
|
+
r: 0.5,
|
2568
|
+
colorStops: [
|
2569
|
+
{
|
2570
|
+
offset: 0,
|
2571
|
+
color: "#FF6116", // 0% 处的颜色
|
2572
|
+
},
|
2573
|
+
{
|
2574
|
+
offset: 1,
|
2575
|
+
color: "#F9A980", // 100% 处的颜色
|
2576
|
+
},
|
2577
|
+
],
|
2578
|
+
},
|
2579
|
+
cap: "round",
|
2580
|
+
shadowColor: "#FF611650",
|
2581
|
+
shadowBlur: 4,
|
2582
|
+
shadowOffsetY: 6,
|
2583
|
+
},
|
2584
|
+
emphasis: {
|
2585
|
+
scale: 1,
|
2586
|
+
focus: "series",
|
2587
|
+
},
|
2588
|
+
showSymbol: false,
|
2589
|
+
smooth: true,
|
2364
2590
|
},
|
2365
|
-
|
2366
|
-
smooth: true,
|
2367
|
-
}]
|
2368
|
-
|
2591
|
+
],
|
2369
2592
|
},
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2593
|
+
echartConfig: "",
|
2594
|
+
|
2595
|
+
...httpConfig,
|
2596
|
+
|
2597
|
+
onClick: "",
|
2373
2598
|
onCreated: "",
|
2374
2599
|
onMounted: "this.loadDataDefaultHandle()",
|
2375
|
-
|
2600
|
+
...defaultWfConfig,
|
2376
2601
|
showRuleFlag: 1,
|
2377
2602
|
showRuleEnabled: 1,
|
2378
|
-
showRules: []
|
2379
|
-
}
|
2603
|
+
showRules: [],
|
2604
|
+
},
|
2380
2605
|
},
|
2381
2606
|
{
|
2382
|
-
type:
|
2383
|
-
icon:
|
2607
|
+
type: "echart",
|
2608
|
+
icon: "echart",
|
2384
2609
|
formItemFlag: false,
|
2385
2610
|
options: {
|
2386
2611
|
name: "",
|
2387
|
-
echartHeight:
|
2612
|
+
echartHeight: "200",
|
2388
2613
|
hidden: !1,
|
2389
|
-
echarPieOption: {}
|
2390
|
-
}
|
2391
|
-
}
|
2392
|
-
,
|
2614
|
+
echarPieOption: {},
|
2615
|
+
},
|
2616
|
+
},
|
2393
2617
|
/*{
|
2394
2618
|
type: 'news-list',
|
2395
2619
|
icon: 'news-list',
|
@@ -2495,6 +2719,7 @@ export const advancedFields = [
|
|
2495
2719
|
keyName: "",
|
2496
2720
|
keyNameSuffix: "",
|
2497
2721
|
label: "",
|
2722
|
+
labelColor: "",
|
2498
2723
|
submitFlag: true,
|
2499
2724
|
disabled: !1,
|
2500
2725
|
hidden: !1,
|
@@ -2507,81 +2732,64 @@ export const advancedFields = [
|
|
2507
2732
|
entityTableDesc: null,
|
2508
2733
|
onCreated: "this.loadDataDefaultHandle();",
|
2509
2734
|
onMounted: "",
|
2735
|
+
onAfterConfirmFile: "",
|
2510
2736
|
vabUpload: 1,
|
2511
|
-
|
2737
|
+
|
2738
|
+
...httpConfig,
|
2512
2739
|
formScriptCode: "getList",
|
2513
|
-
|
2514
|
-
|
2515
|
-
wfEdit: false,
|
2516
|
-
enabledByWf: false,
|
2517
|
-
hiddenByWf: false,
|
2518
|
-
wfConfigData: [],
|
2740
|
+
|
2741
|
+
...defaultWfConfig,
|
2519
2742
|
|
2520
2743
|
showRuleFlag: 1,
|
2521
2744
|
showRuleEnabled: 1,
|
2522
|
-
showRules: []
|
2523
|
-
|
2745
|
+
showRules: [],
|
2746
|
+
|
2747
|
+
hiddenFileInfo: false,
|
2748
|
+
hiddenFileName: false,
|
2749
|
+
showFileSize: false,
|
2750
|
+
showFileCreateBy: false,
|
2751
|
+
showFileCreateDate: false,
|
2752
|
+
widgetSize: 2,
|
2753
|
+
},
|
2524
2754
|
},
|
2525
2755
|
{
|
2526
2756
|
type: "vabsearch",
|
2527
2757
|
icon: "searchbox",
|
2528
2758
|
commonFlag: !0,
|
2759
|
+
columnFlag: true,
|
2529
2760
|
formItemFlag: !0,
|
2530
2761
|
tableField: null,
|
2531
2762
|
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
|
-
|
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
|
-
|
2579
|
-
}
|
2763
|
+
...vabsearchConfig,
|
2764
|
+
},
|
2765
|
+
},
|
2766
|
+
{
|
2767
|
+
type: "singerSearch",
|
2768
|
+
icon: "searchbox",
|
2769
|
+
// commonFlag: !0,
|
2770
|
+
// columnFlag: true,
|
2771
|
+
formItemFlag: !0,
|
2772
|
+
tableField: null,
|
2773
|
+
options: {
|
2774
|
+
...vabsearchConfig,
|
2775
|
+
},
|
2776
|
+
},
|
2777
|
+
{
|
2778
|
+
type: "multiSearch",
|
2779
|
+
icon: "searchbox",
|
2780
|
+
// commonFlag: !0,
|
2781
|
+
// columnFlag: true,
|
2782
|
+
formItemFlag: !0,
|
2783
|
+
tableField: null,
|
2784
|
+
options: {
|
2785
|
+
...vabsearchConfig,
|
2786
|
+
},
|
2580
2787
|
},
|
2581
2788
|
{
|
2582
2789
|
type: "search_button",
|
2583
2790
|
icon: "button",
|
2584
2791
|
commonFlag: !0,
|
2792
|
+
columnFlag: true,
|
2585
2793
|
formItemFlag: !1,
|
2586
2794
|
options: {
|
2587
2795
|
name: "",
|
@@ -2602,33 +2810,31 @@ export const advancedFields = [
|
|
2602
2810
|
},*/
|
2603
2811
|
// vabSearchField: null,
|
2604
2812
|
// onSearchConfirm: "",
|
2605
|
-
dialogModel:
|
2813
|
+
dialogModel: "1",
|
2606
2814
|
systemDialogUrl: null,
|
2607
2815
|
accessType: "1",
|
2608
2816
|
onClick: "",
|
2609
2817
|
onCreated: "",
|
2610
2818
|
onMounted: "",
|
2611
|
-
clickBindEvent:
|
2819
|
+
clickBindEvent: "1",
|
2820
|
+
onBeforeClickButton: null,
|
2612
2821
|
searchDialogConfig: {
|
2613
2822
|
...defaultSearchDialogConfig,
|
2614
|
-
tableEnabled: true
|
2823
|
+
tableEnabled: true,
|
2615
2824
|
},
|
2616
|
-
|
2617
|
-
|
2618
|
-
enabledByWf: false,
|
2619
|
-
hiddenByWf: false,
|
2620
|
-
wfConfigData: [],
|
2621
|
-
|
2825
|
+
...defaultWfConfig,
|
2826
|
+
...defaultWidgetShowRuleConfig,
|
2622
2827
|
showRuleFlag: 1,
|
2623
2828
|
showRuleEnabled: 1,
|
2624
|
-
showRules: []
|
2625
|
-
}
|
2829
|
+
showRules: [],
|
2830
|
+
},
|
2626
2831
|
},
|
2627
2832
|
{
|
2628
2833
|
type: "save_button",
|
2629
2834
|
targetType: "button",
|
2630
2835
|
icon: "button",
|
2631
2836
|
commonFlag: !0,
|
2837
|
+
columnFlag: true,
|
2632
2838
|
formItemFlag: !1,
|
2633
2839
|
options: {
|
2634
2840
|
name: "",
|
@@ -2651,19 +2857,17 @@ export const advancedFields = [
|
|
2651
2857
|
accessType: "1",
|
2652
2858
|
saveButton: true,
|
2653
2859
|
clickBindEvent: null,
|
2860
|
+
onBeforeClickButton: null,
|
2654
2861
|
searchDialogConfig: {
|
2655
|
-
...defaultSearchDialogConfig
|
2862
|
+
...defaultSearchDialogConfig,
|
2656
2863
|
},
|
2657
|
-
|
2658
|
-
|
2659
|
-
enabledByWf: false,
|
2864
|
+
...defaultWfConfig,
|
2865
|
+
...defaultWidgetShowRuleConfig,
|
2660
2866
|
hiddenByWf: true,
|
2661
|
-
wfConfigData: [],
|
2662
2867
|
|
2663
2868
|
showRuleFlag: 1,
|
2664
2869
|
showRuleEnabled: 1,
|
2665
|
-
showRules: []
|
2666
|
-
|
2870
|
+
showRules: [],
|
2667
2871
|
},
|
2668
2872
|
},
|
2669
2873
|
{
|
@@ -2671,6 +2875,7 @@ export const advancedFields = [
|
|
2671
2875
|
targetType: "button",
|
2672
2876
|
icon: "button",
|
2673
2877
|
commonFlag: !0,
|
2878
|
+
columnFlag: true,
|
2674
2879
|
formItemFlag: !1,
|
2675
2880
|
options: {
|
2676
2881
|
name: "",
|
@@ -2691,18 +2896,15 @@ export const advancedFields = [
|
|
2691
2896
|
onClick: "this.getFormRef().$baseReload()",
|
2692
2897
|
accessType: "1",
|
2693
2898
|
clickBindEvent: null,
|
2899
|
+
onBeforeClickButton: null,
|
2694
2900
|
searchDialogConfig: {
|
2695
|
-
...defaultSearchDialogConfig
|
2901
|
+
...defaultSearchDialogConfig,
|
2696
2902
|
},
|
2697
|
-
|
2698
|
-
|
2699
|
-
enabledByWf: true,
|
2700
|
-
hiddenByWf: false,
|
2701
|
-
wfConfigData: [],
|
2702
|
-
|
2903
|
+
...defaultWfConfig,
|
2904
|
+
...defaultWidgetShowRuleConfig,
|
2703
2905
|
showRuleFlag: 1,
|
2704
2906
|
showRuleEnabled: 1,
|
2705
|
-
showRules: []
|
2907
|
+
showRules: [],
|
2706
2908
|
},
|
2707
2909
|
},
|
2708
2910
|
{
|
@@ -2710,6 +2912,7 @@ export const advancedFields = [
|
|
2710
2912
|
icon: "list-export",
|
2711
2913
|
formItemFlag: !1,
|
2712
2914
|
commonFlag: !0,
|
2915
|
+
columnFlag: true,
|
2713
2916
|
tableField: null,
|
2714
2917
|
options: {
|
2715
2918
|
name: "",
|
@@ -2717,28 +2920,57 @@ export const advancedFields = [
|
|
2717
2920
|
keyName: "",
|
2718
2921
|
hidden: !1,
|
2719
2922
|
customClass: "",
|
2720
|
-
exportFileName:
|
2721
|
-
tableRef:
|
2923
|
+
exportFileName: "导出",
|
2924
|
+
tableRef: "",
|
2722
2925
|
tableExportParam: "",
|
2926
|
+
showImageAtTable: false,
|
2927
|
+
tableExportFlag: 1,
|
2928
|
+
|
2723
2929
|
onCreated: "",
|
2724
2930
|
onMounted: "",
|
2725
|
-
|
2726
|
-
|
2727
|
-
enabledByWf: false,
|
2728
|
-
hiddenByWf: false,
|
2729
|
-
wfConfigData: [],
|
2730
|
-
|
2931
|
+
...defaultWfConfig,
|
2932
|
+
...defaultWidgetShowRuleConfig,
|
2731
2933
|
showRuleFlag: 1,
|
2732
2934
|
showRuleEnabled: 1,
|
2733
|
-
showRules: []
|
2935
|
+
showRules: [],
|
2936
|
+
},
|
2937
|
+
},
|
2938
|
+
{
|
2939
|
+
type: "select-export-button",
|
2940
|
+
icon: "list-export",
|
2941
|
+
formItemFlag: !1,
|
2942
|
+
commonFlag: !0,
|
2943
|
+
columnFlag: true,
|
2944
|
+
options: {
|
2945
|
+
name: "",
|
2946
|
+
keyNameEnabled: !1,
|
2947
|
+
keyName: "",
|
2948
|
+
hidden: !1,
|
2949
|
+
label: "明细导出",
|
2950
|
+
customClass: "",
|
2951
|
+
buttonTypeFlag: 1,
|
2952
|
+
type: "",
|
2953
|
+
exportFileName: "明细导出",
|
2954
|
+
tableRef: "",
|
2955
|
+
tableExportParam: "",
|
2956
|
+
showImageAtTable: false,
|
2957
|
+
selectExportFlag: 1,
|
2734
2958
|
|
2735
|
-
|
2959
|
+
onCreated: "",
|
2960
|
+
onMounted: "",
|
2961
|
+
...defaultWfConfig,
|
2962
|
+
...defaultWidgetShowRuleConfig,
|
2963
|
+
showRuleFlag: 1,
|
2964
|
+
showRuleEnabled: 1,
|
2965
|
+
showRules: [],
|
2966
|
+
},
|
2736
2967
|
},
|
2737
2968
|
{
|
2738
2969
|
type: "add_button",
|
2739
2970
|
targetType: "button",
|
2740
2971
|
icon: "button",
|
2741
2972
|
commonFlag: !0,
|
2973
|
+
columnFlag: true,
|
2742
2974
|
formItemFlag: !1,
|
2743
2975
|
options: {
|
2744
2976
|
name: "",
|
@@ -2758,76 +2990,82 @@ export const advancedFields = [
|
|
2758
2990
|
onMounted: "",
|
2759
2991
|
onClick: "",
|
2760
2992
|
clickBindEvent: null,
|
2993
|
+
onBeforeClickButton: null,
|
2761
2994
|
searchDialogConfig: {
|
2762
|
-
...defaultSearchDialogConfig
|
2995
|
+
...defaultSearchDialogConfig,
|
2763
2996
|
},
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
hiddenByWf: false,
|
2768
|
-
wfConfigData: [],
|
2769
|
-
|
2997
|
+
...defaultWfConfig,
|
2998
|
+
hiddenByWf: true,
|
2999
|
+
...defaultWidgetShowRuleConfig,
|
2770
3000
|
showRuleFlag: 1,
|
2771
3001
|
showRuleEnabled: 1,
|
2772
|
-
showRules: []
|
3002
|
+
showRules: [],
|
2773
3003
|
},
|
2774
3004
|
},
|
2775
3005
|
{
|
2776
|
-
type: "
|
2777
|
-
targetType: "button",
|
3006
|
+
type: "import-button",
|
2778
3007
|
icon: "button",
|
2779
3008
|
commonFlag: !0,
|
3009
|
+
columnFlag: true,
|
2780
3010
|
formItemFlag: !1,
|
2781
3011
|
options: {
|
2782
3012
|
name: "",
|
2783
|
-
label: "
|
3013
|
+
label: "导入",
|
2784
3014
|
columnWidth: "200px",
|
2785
3015
|
size: "",
|
2786
|
-
|
3016
|
+
|
3017
|
+
// displayStyle: "block",
|
2787
3018
|
disabled: !1,
|
2788
3019
|
hidden: !1,
|
3020
|
+
buttonTypeFlag: 1,
|
2789
3021
|
type: "primary",
|
2790
|
-
plain: !1,
|
3022
|
+
/*plain: !1,
|
2791
3023
|
round: !1,
|
2792
3024
|
circle: !1,
|
2793
|
-
icon: "el-icon-
|
3025
|
+
icon: "el-icon-download",*/
|
2794
3026
|
customClass: "",
|
2795
3027
|
onCreated: "",
|
2796
3028
|
onMounted: "",
|
2797
|
-
//
|
2798
|
-
|
2799
|
-
accessType: "1",
|
2800
|
-
saveButton: true,
|
2801
|
-
clickBindEvent: null,
|
3029
|
+
// clickBindEvent: null,
|
3030
|
+
onBeforeClickButton: null,
|
2802
3031
|
searchDialogConfig: {
|
2803
|
-
...defaultSearchDialogConfig
|
3032
|
+
...defaultSearchDialogConfig,
|
2804
3033
|
},
|
2805
|
-
|
2806
|
-
wfEdit: false,
|
2807
|
-
enabledByWf: false,
|
3034
|
+
...defaultWfConfig,
|
2808
3035
|
hiddenByWf: true,
|
2809
|
-
|
3036
|
+
...defaultWidgetShowRuleConfig,
|
3037
|
+
importFileLimitSize: 200,
|
3038
|
+
importEntity: "",
|
3039
|
+
importAttachCode: "",
|
3040
|
+
importAttachName: "",
|
3041
|
+
importScriptCode: "",
|
3042
|
+
onBeforeImport: "",
|
3043
|
+
enabledImportPreHandle: false,
|
3044
|
+
tableRef: "",
|
3045
|
+
onSuccessImport: "",
|
2810
3046
|
|
2811
3047
|
showRuleFlag: 1,
|
2812
3048
|
showRuleEnabled: 1,
|
2813
|
-
showRules: []
|
2814
|
-
|
3049
|
+
showRules: [],
|
2815
3050
|
},
|
2816
3051
|
},
|
2817
3052
|
{
|
2818
|
-
type: "
|
3053
|
+
type: "import2-button",
|
2819
3054
|
icon: "button",
|
2820
3055
|
commonFlag: !0,
|
3056
|
+
columnFlag: true,
|
2821
3057
|
formItemFlag: !1,
|
2822
3058
|
options: {
|
2823
3059
|
name: "",
|
2824
|
-
label: "
|
3060
|
+
label: "明细导入",
|
2825
3061
|
columnWidth: "200px",
|
2826
3062
|
size: "",
|
3063
|
+
|
2827
3064
|
// displayStyle: "block",
|
2828
3065
|
disabled: !1,
|
2829
3066
|
hidden: !1,
|
2830
|
-
|
3067
|
+
buttonTypeFlag: 1,
|
3068
|
+
type: "",
|
2831
3069
|
/*plain: !1,
|
2832
3070
|
round: !1,
|
2833
3071
|
circle: !1,
|
@@ -2836,29 +3074,32 @@ export const advancedFields = [
|
|
2836
3074
|
onCreated: "",
|
2837
3075
|
onMounted: "",
|
2838
3076
|
// clickBindEvent: null,
|
3077
|
+
onBeforeClickButton: null,
|
2839
3078
|
searchDialogConfig: {
|
2840
|
-
...defaultSearchDialogConfig
|
3079
|
+
...defaultSearchDialogConfig,
|
2841
3080
|
},
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
3081
|
+
...defaultWfConfig,
|
3082
|
+
hiddenByWf: true,
|
3083
|
+
...defaultWidgetShowRuleConfig,
|
3084
|
+
frontImportFlag: 1,
|
3085
|
+
importFileLimitSize: 200,
|
3086
|
+
importAttachCode: "",
|
3087
|
+
importAttachName: "",
|
3088
|
+
tableRef: "",
|
3089
|
+
onConfirmImportEnabled: false,
|
3090
|
+
onConfirmImport: "",
|
3091
|
+
onSuccessImport: "",
|
2852
3092
|
|
2853
3093
|
showRuleFlag: 1,
|
2854
3094
|
showRuleEnabled: 1,
|
2855
|
-
showRules: []
|
3095
|
+
showRules: [],
|
2856
3096
|
},
|
2857
3097
|
},
|
2858
3098
|
{
|
2859
3099
|
type: "print-button",
|
2860
3100
|
icon: "button",
|
2861
3101
|
commonFlag: !0,
|
3102
|
+
columnFlag: true,
|
2862
3103
|
formItemFlag: !1,
|
2863
3104
|
options: {
|
2864
3105
|
name: "",
|
@@ -2877,25 +3118,24 @@ export const advancedFields = [
|
|
2877
3118
|
onCreated: "",
|
2878
3119
|
onMounted: "",
|
2879
3120
|
// clickBindEvent: null,
|
3121
|
+
onBeforeClickButton: null,
|
2880
3122
|
searchDialogConfig: {
|
2881
|
-
...defaultSearchDialogConfig
|
3123
|
+
...defaultSearchDialogConfig,
|
2882
3124
|
},
|
2883
|
-
|
2884
|
-
|
2885
|
-
enabledByWf: false,
|
2886
|
-
hiddenByWf: false,
|
2887
|
-
wfConfigData: [],
|
3125
|
+
...defaultWfConfig,
|
3126
|
+
...defaultWidgetShowRuleConfig,
|
2888
3127
|
printTableRef: "",
|
2889
3128
|
printItems: [],
|
2890
3129
|
|
2891
3130
|
showRuleFlag: 1,
|
2892
3131
|
showRuleEnabled: 1,
|
2893
|
-
showRules: []
|
3132
|
+
showRules: [],
|
2894
3133
|
},
|
2895
3134
|
},
|
2896
3135
|
{
|
2897
3136
|
type: "baseAttachment",
|
2898
3137
|
icon: "file-upload-field",
|
3138
|
+
columnFlag: true,
|
2899
3139
|
formItemFlag: !0,
|
2900
3140
|
tableField: null,
|
2901
3141
|
options: {
|
@@ -2904,6 +3144,7 @@ export const advancedFields = [
|
|
2904
3144
|
keyName: "",
|
2905
3145
|
keyNameSuffix: "",
|
2906
3146
|
label: "",
|
3147
|
+
labelColor: "",
|
2907
3148
|
submitFlag: true,
|
2908
3149
|
disabled: !1,
|
2909
3150
|
hidden: !1,
|
@@ -2916,21 +3157,19 @@ export const advancedFields = [
|
|
2916
3157
|
entityTableDesc: null,
|
2917
3158
|
onCreated: "",
|
2918
3159
|
onMounted: "",
|
2919
|
-
|
2920
|
-
|
2921
|
-
enabledByWf: false,
|
2922
|
-
hiddenByWf: false,
|
2923
|
-
wfConfigData: [],
|
3160
|
+
onAfterConfirmFile: "",
|
3161
|
+
...defaultWfConfig,
|
2924
3162
|
|
2925
3163
|
showRuleFlag: 1,
|
2926
3164
|
showRuleEnabled: 1,
|
2927
|
-
showRules: []
|
2928
|
-
}
|
3165
|
+
showRules: [],
|
3166
|
+
},
|
2929
3167
|
},
|
2930
3168
|
{
|
2931
3169
|
type: "status",
|
2932
3170
|
icon: "status",
|
2933
3171
|
commonFlag: !0,
|
3172
|
+
columnFlag: true,
|
2934
3173
|
formItemFlag: !0,
|
2935
3174
|
tableField: null,
|
2936
3175
|
options: {
|
@@ -2938,6 +3177,7 @@ export const advancedFields = [
|
|
2938
3177
|
keyNameEnabled: !1,
|
2939
3178
|
keyName: "",
|
2940
3179
|
label: "",
|
3180
|
+
labelColor: "",
|
2941
3181
|
submitFlag: true,
|
2942
3182
|
disabled: !1,
|
2943
3183
|
hidden: !1,
|
@@ -2949,144 +3189,443 @@ export const advancedFields = [
|
|
2949
3189
|
statusParam: [],
|
2950
3190
|
onCreated: "",
|
2951
3191
|
onMounted: "",
|
3192
|
+
...defaultWfConfig,
|
2952
3193
|
|
2953
3194
|
showRuleFlag: 1,
|
2954
3195
|
showRuleEnabled: 1,
|
2955
|
-
showRules: []
|
2956
|
-
}
|
3196
|
+
showRules: [],
|
3197
|
+
},
|
2957
3198
|
},
|
2958
3199
|
{
|
2959
|
-
type:
|
2960
|
-
icon:
|
3200
|
+
type: "census",
|
3201
|
+
icon: "census",
|
2961
3202
|
commonFlag: !0,
|
2962
3203
|
formItemFlag: false,
|
2963
3204
|
options: {
|
2964
|
-
name:
|
3205
|
+
name: "",
|
2965
3206
|
keyNameEnabled: !1,
|
2966
3207
|
keyName: "",
|
2967
|
-
columnWidth:
|
3208
|
+
columnWidth: "200px",
|
2968
3209
|
hidden: false,
|
2969
|
-
customClass:
|
2970
|
-
space:
|
2971
|
-
censusClass:
|
3210
|
+
customClass: "", //自定义css类名
|
3211
|
+
space: "5",
|
3212
|
+
censusClass: "form-count",
|
2972
3213
|
censusItems: [
|
2973
3214
|
{
|
2974
3215
|
number: "1002",
|
2975
|
-
txt:
|
2976
|
-
detailItems: [
|
2977
|
-
|
2978
|
-
|
2979
|
-
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
3216
|
+
txt: "总数量",
|
3217
|
+
detailItems: [
|
3218
|
+
{
|
3219
|
+
txt: "跟进商机",
|
3220
|
+
number: "26",
|
3221
|
+
},
|
3222
|
+
{
|
3223
|
+
txt: "累计商机",
|
3224
|
+
number: "26",
|
3225
|
+
},
|
3226
|
+
],
|
2983
3227
|
},
|
2984
3228
|
{
|
2985
3229
|
number: "603",
|
2986
|
-
txt:
|
3230
|
+
txt: "总人数",
|
2987
3231
|
detailItems: [],
|
2988
3232
|
},
|
2989
3233
|
{
|
2990
3234
|
number: "5004",
|
2991
|
-
txt:
|
2992
|
-
detailItems: []
|
2993
|
-
}
|
3235
|
+
txt: "总订单",
|
3236
|
+
detailItems: [],
|
3237
|
+
},
|
2994
3238
|
],
|
2995
|
-
|
2996
|
-
|
2997
|
-
|
3239
|
+
|
3240
|
+
...httpConfig,
|
3241
|
+
|
2998
3242
|
onCreated: "",
|
2999
3243
|
onMounted: "",
|
3000
|
-
|
3244
|
+
...defaultWfConfig,
|
3001
3245
|
showRuleFlag: 1,
|
3002
3246
|
showRuleEnabled: 1,
|
3003
|
-
showRules: []
|
3004
|
-
}
|
3247
|
+
showRules: [],
|
3248
|
+
},
|
3005
3249
|
},
|
3250
|
+
|
3006
3251
|
{
|
3007
3252
|
type: "project-tag",
|
3008
3253
|
icon: "uploadbox",
|
3009
|
-
|
3254
|
+
commonFlag: !0,
|
3255
|
+
columnFlag: true,
|
3010
3256
|
formItemFlag: !0,
|
3011
3257
|
tableField: null,
|
3258
|
+
options: {
|
3259
|
+
...projectTagConfig,
|
3260
|
+
},
|
3261
|
+
},
|
3262
|
+
{
|
3263
|
+
type: "table2",
|
3264
|
+
category: "container",
|
3265
|
+
icon: "table",
|
3266
|
+
commonFlag: !0,
|
3267
|
+
formItemFlag: !0,
|
3268
|
+
rows: [],
|
3012
3269
|
options: {
|
3013
3270
|
name: "",
|
3014
|
-
keyNameEnabled: !
|
3271
|
+
keyNameEnabled: !0,
|
3015
3272
|
keyName: "",
|
3016
|
-
|
3017
|
-
|
3273
|
+
hidden: !1,
|
3274
|
+
customClass: "",
|
3275
|
+
styleTableClass: "",
|
3276
|
+
// fullWidth: false,
|
3018
3277
|
submitFlag: true,
|
3278
|
+
|
3279
|
+
...httpConfig,
|
3280
|
+
|
3281
|
+
onCreated: "this.loadDataDefaultHandle()",
|
3282
|
+
onMounted: "",
|
3283
|
+
...defaultWfConfig,
|
3284
|
+
showRuleFlag: 1,
|
3285
|
+
showRuleEnabled: 1,
|
3286
|
+
showRules: [],
|
3287
|
+
},
|
3288
|
+
},
|
3289
|
+
{
|
3290
|
+
type: "dropdown-menu",
|
3291
|
+
icon: "tab",
|
3292
|
+
// commonFlag: !0,
|
3293
|
+
// columnFlag: true,
|
3294
|
+
widgetList: [],
|
3295
|
+
options: {
|
3296
|
+
name: "",
|
3297
|
+
label: "",
|
3298
|
+
hidden: !1,
|
3299
|
+
disabled: !1,
|
3300
|
+
height: "",
|
3301
|
+
// isFullscreen: false,
|
3302
|
+
tabClass: "tab-boxCard tabCard-sty1",
|
3303
|
+
customClass: "",
|
3304
|
+
dropdownMenuFlag: 1,
|
3305
|
+
...defaultWfConfig,
|
3306
|
+
onCreated: "",
|
3307
|
+
onMounted: "",
|
3308
|
+
},
|
3309
|
+
},
|
3310
|
+
{
|
3311
|
+
type: "dropdown-item",
|
3312
|
+
icon: "tab-pane",
|
3313
|
+
internal: !0,
|
3314
|
+
options: {
|
3315
|
+
name: "",
|
3316
|
+
label: "",
|
3317
|
+
hidden: !1,
|
3318
|
+
active: !1,
|
3019
3319
|
disabled: !1,
|
3020
|
-
|
3320
|
+
customClass: "",
|
3321
|
+
dropdownItemFlag: 1,
|
3322
|
+
|
3323
|
+
onClick: "",
|
3324
|
+
clickBindEvent: null,
|
3325
|
+
onBeforeClickButton: null,
|
3326
|
+
searchDialogConfig: {
|
3327
|
+
...defaultSearchDialogConfig,
|
3328
|
+
},
|
3329
|
+
addTableDataConfig: {
|
3330
|
+
tableRef: null,
|
3331
|
+
tableData: {},
|
3332
|
+
},
|
3333
|
+
},
|
3334
|
+
}
|
3335
|
+
];
|
3336
|
+
|
3337
|
+
export const businessFields = [
|
3338
|
+
{
|
3339
|
+
type: "create_by-text",
|
3340
|
+
targetType: "text",
|
3341
|
+
icon: "text",
|
3342
|
+
commonFlag: !0,
|
3343
|
+
formItemFlag: !0,
|
3344
|
+
columnFlag: true,
|
3345
|
+
tableField: null,
|
3346
|
+
options: {
|
3347
|
+
name: "",
|
3348
|
+
keyNameEnabled: !0,
|
3349
|
+
keyName: "_createBy",
|
3350
|
+
label: "创建人",
|
3351
|
+
submitFlag: true,
|
3352
|
+
formField: "",
|
3021
3353
|
hidden: !1,
|
3022
3354
|
required: !1,
|
3355
|
+
customClass: "",
|
3356
|
+
defaultValue: "",
|
3357
|
+
labelAlign: "",
|
3023
3358
|
labelWidth: null,
|
3024
3359
|
labelHidden: !1,
|
3025
|
-
onCreated: "
|
3360
|
+
onCreated: "",
|
3026
3361
|
onMounted: "",
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
enabledByWf: false,
|
3034
|
-
hiddenByWf: false,
|
3035
|
-
wfConfigData: [],
|
3362
|
+
accessType: "1",
|
3363
|
+
labelColor: "",
|
3364
|
+
...defaultWfConfig,
|
3365
|
+
|
3366
|
+
autoValueEnabled: false,
|
3367
|
+
autoValueHanlde: null,
|
3036
3368
|
|
3037
3369
|
showRuleFlag: 1,
|
3038
3370
|
showRuleEnabled: 1,
|
3039
|
-
showRules: []
|
3040
|
-
|
3371
|
+
showRules: [],
|
3372
|
+
|
3373
|
+
...defaultTextFlagConfig,
|
3374
|
+
},
|
3041
3375
|
},
|
3042
3376
|
{
|
3043
|
-
type: "
|
3044
|
-
|
3045
|
-
icon: "
|
3377
|
+
type: "modify_by-text",
|
3378
|
+
targetType: "text",
|
3379
|
+
icon: "text",
|
3046
3380
|
commonFlag: !0,
|
3047
3381
|
formItemFlag: !0,
|
3048
|
-
|
3382
|
+
columnFlag: true,
|
3383
|
+
tableField: null,
|
3049
3384
|
options: {
|
3050
3385
|
name: "",
|
3051
3386
|
keyNameEnabled: !0,
|
3052
|
-
keyName: "",
|
3387
|
+
keyName: "_modifyBy",
|
3388
|
+
label: "更新人",
|
3389
|
+
submitFlag: true,
|
3390
|
+
formField: "",
|
3053
3391
|
hidden: !1,
|
3392
|
+
required: !1,
|
3054
3393
|
customClass: "",
|
3055
|
-
|
3056
|
-
|
3394
|
+
defaultValue: "",
|
3395
|
+
labelAlign: "",
|
3396
|
+
labelWidth: null,
|
3397
|
+
labelHidden: !1,
|
3398
|
+
onCreated: "",
|
3399
|
+
onMounted: "",
|
3400
|
+
accessType: "1",
|
3401
|
+
labelColor: "",
|
3402
|
+
...defaultWfConfig,
|
3403
|
+
|
3404
|
+
autoValueEnabled: false,
|
3405
|
+
autoValueHanlde: null,
|
3406
|
+
|
3407
|
+
showRuleFlag: 1,
|
3408
|
+
showRuleEnabled: 1,
|
3409
|
+
showRules: [],
|
3410
|
+
|
3411
|
+
...defaultTextFlagConfig,
|
3412
|
+
},
|
3413
|
+
},
|
3414
|
+
{
|
3415
|
+
type: "create_date-text",
|
3416
|
+
targetType: "text",
|
3417
|
+
icon: "text",
|
3418
|
+
commonFlag: !0,
|
3419
|
+
formItemFlag: !0,
|
3420
|
+
columnFlag: true,
|
3421
|
+
tableField: null,
|
3422
|
+
options: {
|
3423
|
+
name: "",
|
3424
|
+
keyNameEnabled: !0,
|
3425
|
+
keyName: "create_date",
|
3426
|
+
label: "创建时间",
|
3057
3427
|
submitFlag: true,
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3428
|
+
formField: "",
|
3429
|
+
hidden: !1,
|
3430
|
+
required: !1,
|
3431
|
+
customClass: "",
|
3432
|
+
defaultValue: "",
|
3433
|
+
labelAlign: "",
|
3434
|
+
labelWidth: null,
|
3435
|
+
labelHidden: !1,
|
3436
|
+
onCreated: "",
|
3062
3437
|
onMounted: "",
|
3438
|
+
accessType: "1",
|
3439
|
+
labelColor: "",
|
3440
|
+
...defaultWfConfig,
|
3441
|
+
|
3442
|
+
autoValueEnabled: false,
|
3443
|
+
autoValueHanlde: null,
|
3063
3444
|
|
3064
3445
|
showRuleFlag: 1,
|
3065
3446
|
showRuleEnabled: 1,
|
3066
|
-
showRules: []
|
3067
|
-
|
3447
|
+
showRules: [],
|
3448
|
+
|
3449
|
+
...defaultTextFlagConfig,
|
3450
|
+
},
|
3451
|
+
},
|
3452
|
+
{
|
3453
|
+
type: "modify_date-text",
|
3454
|
+
targetType: "text",
|
3455
|
+
icon: "text",
|
3456
|
+
commonFlag: !0,
|
3457
|
+
formItemFlag: !0,
|
3458
|
+
columnFlag: true,
|
3459
|
+
tableField: null,
|
3460
|
+
options: {
|
3461
|
+
name: "",
|
3462
|
+
keyNameEnabled: !0,
|
3463
|
+
keyName: "modify_date",
|
3464
|
+
label: "更新时间",
|
3465
|
+
submitFlag: true,
|
3466
|
+
formField: "",
|
3467
|
+
hidden: !1,
|
3468
|
+
required: !1,
|
3469
|
+
customClass: "",
|
3470
|
+
defaultValue: "",
|
3471
|
+
labelAlign: "",
|
3472
|
+
labelWidth: null,
|
3473
|
+
labelHidden: !1,
|
3474
|
+
onCreated: "",
|
3475
|
+
onMounted: "",
|
3476
|
+
accessType: "1",
|
3477
|
+
labelColor: "",
|
3478
|
+
...defaultWfConfig,
|
3479
|
+
|
3480
|
+
autoValueEnabled: false,
|
3481
|
+
autoValueHanlde: null,
|
3482
|
+
|
3483
|
+
showRuleFlag: 1,
|
3484
|
+
showRuleEnabled: 1,
|
3485
|
+
showRules: [],
|
3486
|
+
|
3487
|
+
...defaultTextFlagConfig,
|
3488
|
+
},
|
3068
3489
|
},
|
3069
|
-
|
3490
|
+
|
3491
|
+
{
|
3492
|
+
type: "user-vabsearch",
|
3493
|
+
targetType: "singerSearch",
|
3494
|
+
icon: "searchbox",
|
3495
|
+
commonFlag: !0,
|
3496
|
+
columnFlag: true,
|
3497
|
+
formItemFlag: !0,
|
3498
|
+
tableField: null,
|
3499
|
+
options: {
|
3500
|
+
...vabsearchConfig,
|
3501
|
+
vabSearchName: "nick_name",
|
3502
|
+
userDefaultVabSearch: true,
|
3503
|
+
label: "用户",
|
3504
|
+
labelColor: "",
|
3505
|
+
searchDialogConfig: {
|
3506
|
+
...defaultSearchDialogConfig,
|
3507
|
+
multipleChoices: false,
|
3508
|
+
formCode: "user_dialog",
|
3509
|
+
valueSourceField: "id",
|
3510
|
+
labelSourceField: "nick_name",
|
3511
|
+
},
|
3512
|
+
},
|
3513
|
+
},
|
3514
|
+
{
|
3515
|
+
type: "saleOrg-vabsearch",
|
3516
|
+
targetType: "singerSearch",
|
3517
|
+
icon: "searchbox",
|
3518
|
+
commonFlag: !0,
|
3519
|
+
columnFlag: true,
|
3520
|
+
formItemFlag: !0,
|
3521
|
+
tableField: null,
|
3522
|
+
options: {
|
3523
|
+
...vabsearchConfig,
|
3524
|
+
vabSearchName: "sale_org_name",
|
3525
|
+
saleOrgDefaultVabSearch: true,
|
3526
|
+
label: "机构",
|
3527
|
+
labelColor: "",
|
3528
|
+
searchDialogConfig: {
|
3529
|
+
...defaultSearchDialogConfig,
|
3530
|
+
multipleChoices: false,
|
3531
|
+
formCode: "sale_org_dialog",
|
3532
|
+
valueSourceField: "id",
|
3533
|
+
labelSourceField: "name",
|
3534
|
+
},
|
3535
|
+
},
|
3536
|
+
},
|
3537
|
+
|
3538
|
+
{
|
3539
|
+
type: "user-project-tag",
|
3540
|
+
targetType: "project-tag",
|
3541
|
+
icon: "uploadbox",
|
3542
|
+
commonFlag: !0,
|
3543
|
+
columnFlag: true,
|
3544
|
+
formItemFlag: !0,
|
3545
|
+
tableField: null,
|
3546
|
+
options: {
|
3547
|
+
...projectTagConfig,
|
3548
|
+
label: "用户",
|
3549
|
+
labelColor: "",
|
3550
|
+
tagFormCode: "user_dialog",
|
3551
|
+
tagLabelField: "nick_name",
|
3552
|
+
tagUniqueField: "id",
|
3553
|
+
tagFormLabelField: "nick_name",
|
3554
|
+
tagFormUniqueField: "id",
|
3555
|
+
tabDeleteEnabled: true,
|
3556
|
+
},
|
3557
|
+
},
|
3558
|
+
{
|
3559
|
+
type: "saleOrg-project-tag",
|
3560
|
+
targetType: "project-tag",
|
3561
|
+
icon: "uploadbox",
|
3562
|
+
commonFlag: !0,
|
3563
|
+
columnFlag: true,
|
3564
|
+
formItemFlag: !0,
|
3565
|
+
tableField: null,
|
3566
|
+
options: {
|
3567
|
+
...projectTagConfig,
|
3568
|
+
label: "机构",
|
3569
|
+
labelColor: "",
|
3570
|
+
tagFormCode: "sale_org_dialog",
|
3571
|
+
tagLabelField: "name",
|
3572
|
+
tagUniqueField: "id",
|
3573
|
+
tagFormLabelField: "name",
|
3574
|
+
tagFormUniqueField: "id",
|
3575
|
+
tabDeleteEnabled: true,
|
3576
|
+
},
|
3577
|
+
},
|
3578
|
+
{
|
3579
|
+
type: "copy_button",
|
3580
|
+
icon: "button",
|
3581
|
+
commonFlag: !0,
|
3582
|
+
columnFlag: true,
|
3583
|
+
formItemFlag: !1,
|
3584
|
+
options: {
|
3585
|
+
name: "",
|
3586
|
+
label: "复制",
|
3587
|
+
columnWidth: "200px",
|
3588
|
+
size: "",
|
3589
|
+
// displayStyle: "block",
|
3590
|
+
disabled: !1,
|
3591
|
+
hidden: !1,
|
3592
|
+
type: "primary",
|
3593
|
+
|
3594
|
+
customClass: "",
|
3595
|
+
onCreated: "",
|
3596
|
+
onMounted: "",
|
3597
|
+
copyButton: true,
|
3598
|
+
copyDataHandle: "",
|
3599
|
+
...defaultWfConfig,
|
3600
|
+
...defaultWidgetShowRuleConfig,
|
3601
|
+
hiddenByWf: true,
|
3602
|
+
|
3603
|
+
showRuleFlag: 1,
|
3604
|
+
showRuleEnabled: 1,
|
3605
|
+
showRules: [],
|
3606
|
+
},
|
3607
|
+
},
|
3608
|
+
];
|
3070
3609
|
|
3071
3610
|
export const keyNamePrefixMap = {
|
3072
3611
|
vabUpload: "attachments_",
|
3073
|
-
baseAttachment: "attachments_"
|
3074
|
-
}
|
3612
|
+
baseAttachment: "attachments_",
|
3613
|
+
};
|
3075
3614
|
|
3076
|
-
export const customFields = []
|
3615
|
+
export const customFields = [];
|
3077
3616
|
|
3078
3617
|
export function addContainerWidgetSchema(containerSchema) {
|
3079
|
-
containers.push(containerSchema)
|
3618
|
+
containers.push(containerSchema);
|
3080
3619
|
}
|
3081
3620
|
|
3082
3621
|
export function addBasicFieldSchema(fieldSchema) {
|
3083
|
-
basicFields.push(fieldSchema)
|
3622
|
+
basicFields.push(fieldSchema);
|
3084
3623
|
}
|
3085
3624
|
|
3086
3625
|
export function addAdvancedFieldSchema(fieldSchema) {
|
3087
|
-
advancedFields.push(fieldSchema)
|
3626
|
+
advancedFields.push(fieldSchema);
|
3088
3627
|
}
|
3089
3628
|
|
3090
3629
|
export function addCustomWidgetSchema(widgetSchema) {
|
3091
|
-
customFields.push(widgetSchema)
|
3630
|
+
customFields.push(widgetSchema);
|
3092
3631
|
}
|