cloud-web-corejs 1.0.54-dev.31 → 1.0.54-dev.311
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 +8 -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 +135 -119
- 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/errorMsg/mixins.js +7 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +7 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +4 -4
- 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 +335 -212
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +69 -26
- 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 +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/content.vue +125 -28
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +320 -0
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +131 -0
- 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/static-content-wrapper.vue +2 -1
- 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/tempStorage-widget.vue +127 -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 +926 -158
- 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 +64 -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/tempStorage-editor.vue +23 -0
- 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 +25 -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 +1435 -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 +11 -25
- package/src/components/xform/lang/zh-CN.js +17 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +3 -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 +1451 -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 +1 -14
- package/src/store/modules/user.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +324 -1
- 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/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 +68 -15
- 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 +32 -3
- 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 +1059 -1021
- 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 +22 -3
- 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 +114 -9
- 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,167 @@ 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
|
+
dialogCustomParam:null
|
783
|
+
};
|
784
|
+
|
785
|
+
export const defaultWfConfig = {
|
786
|
+
wfFlag: 1,
|
787
|
+
wfEdit: false,
|
788
|
+
enabledByWf: false,
|
789
|
+
hiddenByWf: false,
|
790
|
+
wfConfigData: [],
|
791
|
+
wfModifyDataEnabled: false,
|
792
|
+
wfModifyDataConfig: [],
|
793
|
+
};
|
794
|
+
|
795
|
+
export const defaultTextFlagConfig = {
|
796
|
+
widgetTextFlag: null,
|
797
|
+
textFlag: 1,
|
798
|
+
showTextEnabled: false,
|
799
|
+
showEncryptTextEnabled: false,
|
800
|
+
userTextRuleEnabled: false,
|
801
|
+
userTextRuleConfig: [],
|
802
|
+
textRule1: true,
|
803
|
+
textRule2: false,
|
804
|
+
textRule2Number: null,
|
805
|
+
textRule3: false,
|
806
|
+
textRule3Number: null,
|
807
|
+
widgetTextLinkConfig: null,
|
808
|
+
};
|
809
|
+
|
810
|
+
export const defaultWidgetShowRuleConfig = {
|
811
|
+
widgetShowRuleFlag: 1,
|
812
|
+
widgetShowRuleEnabled: false,
|
813
|
+
widgetShowRuleConfig: [],
|
814
|
+
};
|
815
|
+
|
816
|
+
const vabsearchConfig = {
|
817
|
+
name: "",
|
818
|
+
keyNameEnabled: !1,
|
819
|
+
keyName: "",
|
820
|
+
vabSearchName: "",
|
821
|
+
userDefaultVabSearch: false,
|
822
|
+
saleOrgDefaultVabSearch: false,
|
823
|
+
label: "",
|
824
|
+
labelColor: "",
|
825
|
+
submitFlag: true,
|
826
|
+
disabled: !1,
|
827
|
+
hidden: !1,
|
828
|
+
required: !1,
|
829
|
+
labelWidth: null,
|
830
|
+
labelHidden: !1,
|
831
|
+
readonly: true,
|
832
|
+
/*formCode: null,
|
833
|
+
formName: null,
|
834
|
+
formVersion: null,
|
835
|
+
showFormField: null,*/
|
836
|
+
/* gridConfig: {
|
837
|
+
tableColumns: [],
|
838
|
+
searchFields: [],
|
839
|
+
searchParams: ""
|
840
|
+
},*/
|
841
|
+
// vabSearchField: null,
|
842
|
+
vabsearchFlag: 1,
|
843
|
+
onSearchClear: "",
|
844
|
+
dialogModel: "1",
|
845
|
+
systemDialogUrl: null,
|
846
|
+
accessType: "1",
|
847
|
+
onCreated: "",
|
848
|
+
onMounted: "",
|
849
|
+
onChange: "",
|
850
|
+
onAppendButtonClick: "",
|
851
|
+
clickBindEvent: "1",
|
852
|
+
onBeforeClickButton: null,
|
853
|
+
searchDialogConfig: {
|
854
|
+
...defaultSearchDialogConfig,
|
855
|
+
multipleChoices: false,
|
856
|
+
},
|
857
|
+
...defaultWfConfig,
|
858
|
+
valueField: null,
|
859
|
+
multipleChoices: false,
|
860
|
+
|
861
|
+
showRuleFlag: 1,
|
862
|
+
showRuleEnabled: 1,
|
863
|
+
showRules: [],
|
864
|
+
};
|
865
|
+
|
866
|
+
const projectTagConfig = {
|
867
|
+
name: "",
|
868
|
+
keyNameEnabled: !1,
|
869
|
+
keyName: "",
|
870
|
+
// keyNameSuffix: "",
|
871
|
+
label: "",
|
872
|
+
labelColor: "",
|
873
|
+
submitFlag: true,
|
874
|
+
disabled: !1,
|
875
|
+
readonly: false,
|
876
|
+
hidden: !1,
|
877
|
+
required: !1,
|
878
|
+
labelWidth: null,
|
879
|
+
labelHidden: !1,
|
880
|
+
onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
|
881
|
+
onMounted: "",
|
882
|
+
onClick: "",
|
883
|
+
// vabUpload: 1,
|
884
|
+
|
885
|
+
...httpConfig,
|
886
|
+
formScriptCode: "getList",
|
887
|
+
|
888
|
+
...defaultWfConfig,
|
889
|
+
|
890
|
+
showRuleFlag: 1,
|
891
|
+
showRuleEnabled: 1,
|
892
|
+
showRules: [],
|
893
|
+
|
894
|
+
tagFormCode: null,
|
895
|
+
tagFormParam: null,
|
896
|
+
tagLabelField: null,
|
897
|
+
tagUniqueField: null,
|
898
|
+
tagFormLabelField: null,
|
899
|
+
tagFormUniqueField: null,
|
900
|
+
tagFillConfig: [],
|
901
|
+
tagConfirmCallback: null,
|
902
|
+
tagDeleteCallback: null,
|
903
|
+
tabDeleteEnabled: true,
|
904
|
+
};
|
905
|
+
|
906
|
+
const httpConfig = {
|
907
|
+
httpFormCode: null,
|
908
|
+
formScriptEnabled: true,
|
909
|
+
formScriptCode: null,
|
910
|
+
formScriptParam: null,
|
911
|
+
formScriptSuccess: null,
|
912
|
+
formScriptCallback: null,
|
913
|
+
};
|
914
|
+
|
915
|
+
export const hiddenWidgetTypesOfWf = [
|
916
|
+
"button",
|
917
|
+
"search_button",
|
918
|
+
"table-export-button",
|
919
|
+
"add_button",
|
920
|
+
"import-button",
|
921
|
+
"import2-button",
|
922
|
+
"print-button",
|
923
|
+
];
|
924
|
+
export const freeWidgetTypesOfWf = ["reset_button","copy_button", "a-link", "a-text"];
|
762
925
|
|
763
926
|
export const basicFields = [
|
764
927
|
{
|
765
928
|
type: "input",
|
766
929
|
icon: "text-field",
|
930
|
+
commonFlag: !0,
|
767
931
|
formItemFlag: !0,
|
932
|
+
columnFlag: true,
|
768
933
|
tableField: null,
|
769
934
|
options: {
|
770
935
|
name: "",
|
771
936
|
keyNameEnabled: !1,
|
772
937
|
keyName: "",
|
773
938
|
label: "",
|
939
|
+
labelColor: "",
|
774
940
|
submitFlag: true,
|
775
941
|
/**showText: false,*/
|
776
942
|
formField: "",
|
@@ -800,9 +966,9 @@ export const basicFields = [
|
|
800
966
|
showWordLimit: !1,
|
801
967
|
prefixIcon: "",
|
802
968
|
suffixIcon: "",
|
803
|
-
appendButton: !1,
|
969
|
+
/*appendButton: !1,
|
804
970
|
appendButtonDisabled: !1,
|
805
|
-
buttonIcon: "el-icon-search"
|
971
|
+
buttonIcon: "el-icon-search",*/
|
806
972
|
onCreated: "",
|
807
973
|
onMounted: "",
|
808
974
|
onInput: "",
|
@@ -813,33 +979,28 @@ export const basicFields = [
|
|
813
979
|
onAppendButtonClick: "",
|
814
980
|
widgetWidth: "",
|
815
981
|
accessType: "1",
|
816
|
-
|
817
|
-
wfEdit: false,
|
818
|
-
enabledByWf: false,
|
819
|
-
hiddenByWf: false,
|
820
|
-
wfConfigData: [],
|
982
|
+
...defaultWfConfig,
|
821
983
|
|
822
984
|
showRuleFlag: 1,
|
823
985
|
showRuleEnabled: 1,
|
824
986
|
showRules: [],
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
textRule3: false,
|
829
|
-
textRule2Number: null,
|
830
|
-
textRule3Number: null
|
831
|
-
}
|
987
|
+
|
988
|
+
...defaultTextFlagConfig,
|
989
|
+
},
|
832
990
|
},
|
833
991
|
{
|
834
992
|
type: "input-batch",
|
835
993
|
icon: "input-batch",
|
994
|
+
commonFlag: !0,
|
836
995
|
formItemFlag: !0,
|
996
|
+
columnFlag: true,
|
837
997
|
tableField: null,
|
838
998
|
options: {
|
839
999
|
name: "",
|
840
1000
|
keyNameEnabled: !1,
|
841
1001
|
keyName: "",
|
842
1002
|
label: "",
|
1003
|
+
labelColor: "",
|
843
1004
|
submitFlag: true,
|
844
1005
|
formField: "",
|
845
1006
|
labelAlign: "",
|
@@ -860,7 +1021,7 @@ export const basicFields = [
|
|
860
1021
|
validation: "",
|
861
1022
|
validationHint: "",
|
862
1023
|
customClass: "",
|
863
|
-
labelIconClass: null,
|
1024
|
+
/*labelIconClass: null,
|
864
1025
|
labelIconPosition: "rear",
|
865
1026
|
labelTooltip: null,
|
866
1027
|
minLength: null,
|
@@ -870,7 +1031,7 @@ export const basicFields = [
|
|
870
1031
|
suffixIcon: "",
|
871
1032
|
appendButton: !1,
|
872
1033
|
appendButtonDisabled: !1,
|
873
|
-
buttonIcon: "el-icon-search"
|
1034
|
+
buttonIcon: "el-icon-search",*/
|
874
1035
|
onCreated: "",
|
875
1036
|
onMounted: "",
|
876
1037
|
onInput: "",
|
@@ -878,37 +1039,29 @@ export const basicFields = [
|
|
878
1039
|
onFocus: "",
|
879
1040
|
onBlur: "",
|
880
1041
|
onValidate: "",
|
881
|
-
onAppendButtonClick: "",
|
1042
|
+
// onAppendButtonClick: "",
|
882
1043
|
widgetWidth: "",
|
883
1044
|
accessType: "1",
|
884
|
-
|
885
|
-
wfEdit: false,
|
886
|
-
enabledByWf: false,
|
887
|
-
hiddenByWf: false,
|
888
|
-
wfConfigData: [],
|
1045
|
+
...defaultWfConfig,
|
889
1046
|
|
890
1047
|
showRuleFlag: 1,
|
891
1048
|
showRuleEnabled: 1,
|
892
1049
|
showRules: [],
|
893
|
-
|
894
|
-
textRule1: false,
|
895
|
-
textRule2: false,
|
896
|
-
textRule3: false,
|
897
|
-
textRule2Number: null,
|
898
|
-
textRule3Number: null
|
899
|
-
|
900
|
-
}
|
1050
|
+
},
|
901
1051
|
},
|
902
1052
|
{
|
903
1053
|
type: "textarea",
|
904
1054
|
icon: "textarea-field",
|
1055
|
+
commonFlag: !0,
|
905
1056
|
formItemFlag: !0,
|
1057
|
+
columnFlag: true,
|
906
1058
|
tableField: null,
|
907
1059
|
options: {
|
908
1060
|
name: "",
|
909
1061
|
keyNameEnabled: !1,
|
910
1062
|
keyName: "",
|
911
1063
|
label: "",
|
1064
|
+
labelColor: "",
|
912
1065
|
submitFlag: true,
|
913
1066
|
/**showText: false,*/
|
914
1067
|
labelAlign: "",
|
@@ -941,33 +1094,28 @@ export const basicFields = [
|
|
941
1094
|
onBlur: "",
|
942
1095
|
onValidate: "",
|
943
1096
|
accessType: "1",
|
944
|
-
|
945
|
-
wfEdit: false,
|
946
|
-
enabledByWf: false,
|
947
|
-
hiddenByWf: false,
|
948
|
-
wfConfigData: [],
|
1097
|
+
...defaultWfConfig,
|
949
1098
|
|
950
1099
|
showRuleFlag: 1,
|
951
1100
|
showRuleEnabled: 1,
|
952
1101
|
showRules: [],
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
textRule3: false,
|
957
|
-
textRule2Number: null,
|
958
|
-
textRule3Number: null
|
959
|
-
}
|
1102
|
+
|
1103
|
+
...defaultTextFlagConfig,
|
1104
|
+
},
|
960
1105
|
},
|
961
1106
|
{
|
962
1107
|
type: "number",
|
963
1108
|
icon: "number-field",
|
1109
|
+
commonFlag: !0,
|
964
1110
|
formItemFlag: !0,
|
1111
|
+
columnFlag: true,
|
965
1112
|
tableField: null,
|
966
1113
|
options: {
|
967
1114
|
name: "",
|
968
1115
|
keyNameEnabled: !1,
|
969
1116
|
keyName: "",
|
970
1117
|
label: "",
|
1118
|
+
labelColor: "",
|
971
1119
|
submitFlag: true,
|
972
1120
|
/**showText: false,*/
|
973
1121
|
formField: "",
|
@@ -984,8 +1132,8 @@ export const basicFields = [
|
|
984
1132
|
requiredHint: "",
|
985
1133
|
validation: "",
|
986
1134
|
validationHint: "",
|
987
|
-
|
988
|
-
|
1135
|
+
formulaEnabled: !1,
|
1136
|
+
formula: "",
|
989
1137
|
customClass: "",
|
990
1138
|
labelIconClass: null,
|
991
1139
|
labelIconPosition: "rear",
|
@@ -1002,34 +1150,28 @@ export const basicFields = [
|
|
1002
1150
|
onBlur: "",
|
1003
1151
|
onValidate: "",
|
1004
1152
|
accessType: "1",
|
1005
|
-
|
1006
|
-
wfEdit: false,
|
1007
|
-
enabledByWf: false,
|
1008
|
-
hiddenByWf: false,
|
1009
|
-
wfConfigData: [],
|
1153
|
+
...defaultWfConfig,
|
1010
1154
|
|
1011
1155
|
showRuleFlag: 1,
|
1012
1156
|
showRuleEnabled: 1,
|
1013
1157
|
showRules: [],
|
1014
|
-
textFlag: 1,
|
1015
|
-
textRule1: false,
|
1016
|
-
textRule2: false,
|
1017
|
-
textRule3: false,
|
1018
|
-
textRule2Number: null,
|
1019
|
-
textRule3Number: null
|
1020
1158
|
|
1021
|
-
|
1159
|
+
...defaultTextFlagConfig,
|
1160
|
+
},
|
1022
1161
|
},
|
1023
1162
|
{
|
1024
1163
|
type: "radio",
|
1025
1164
|
icon: "radio-field",
|
1165
|
+
commonFlag: !0,
|
1026
1166
|
formItemFlag: !0,
|
1167
|
+
columnFlag: true,
|
1027
1168
|
tableField: null,
|
1028
1169
|
options: {
|
1029
1170
|
name: "",
|
1030
1171
|
keyNameEnabled: !1,
|
1031
1172
|
keyName: "",
|
1032
1173
|
label: "",
|
1174
|
+
labelColor: "",
|
1033
1175
|
submitFlag: true,
|
1034
1176
|
/**showText: false,*/
|
1035
1177
|
labelAlign: "",
|
@@ -1051,12 +1193,14 @@ export const basicFields = [
|
|
1051
1193
|
optionItems: [
|
1052
1194
|
{
|
1053
1195
|
label: "radio 1",
|
1054
|
-
value: "1"
|
1196
|
+
value: "1",
|
1197
|
+
disabled: false
|
1055
1198
|
},
|
1056
1199
|
{
|
1057
1200
|
label: "radio 2",
|
1058
|
-
value: "2"
|
1059
|
-
|
1201
|
+
value: "2",
|
1202
|
+
disabled: false
|
1203
|
+
},
|
1060
1204
|
],
|
1061
1205
|
required: !1,
|
1062
1206
|
requiredHint: "",
|
@@ -1073,36 +1217,33 @@ export const basicFields = [
|
|
1073
1217
|
onValidate: "",
|
1074
1218
|
accessType: "1",
|
1075
1219
|
|
1220
|
+
...httpConfig,
|
1076
1221
|
formScriptEnabled: false,
|
1077
1222
|
formScriptCode: "getList",
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
wfConfigData: [],
|
1223
|
+
|
1224
|
+
...defaultWfConfig,
|
1225
|
+
|
1226
|
+
commonAttributeEnabled: false,
|
1227
|
+
commonAttributeCode: "",
|
1084
1228
|
|
1085
1229
|
showRuleFlag: 1,
|
1086
1230
|
showRuleEnabled: 1,
|
1087
1231
|
showRules: [],
|
1088
|
-
|
1089
|
-
textRule1: false,
|
1090
|
-
textRule2: false,
|
1091
|
-
textRule3: false,
|
1092
|
-
textRule2Number: null,
|
1093
|
-
textRule3Number: null
|
1094
|
-
}
|
1232
|
+
},
|
1095
1233
|
},
|
1096
1234
|
{
|
1097
1235
|
type: "checkbox",
|
1098
1236
|
icon: "checkbox-field",
|
1237
|
+
commonFlag: !0,
|
1099
1238
|
formItemFlag: !0,
|
1239
|
+
columnFlag: true,
|
1100
1240
|
tableField: null,
|
1101
1241
|
options: {
|
1102
1242
|
name: "",
|
1103
1243
|
keyNameEnabled: !1,
|
1104
1244
|
keyName: "",
|
1105
1245
|
label: "",
|
1246
|
+
labelColor: "",
|
1106
1247
|
submitFlag: true,
|
1107
1248
|
/**showText: false,*/
|
1108
1249
|
labelAlign: "",
|
@@ -1124,12 +1265,14 @@ export const basicFields = [
|
|
1124
1265
|
optionItems: [
|
1125
1266
|
{
|
1126
1267
|
label: "check 1",
|
1127
|
-
value: "1"
|
1268
|
+
value: "1",
|
1269
|
+
disabled: false
|
1128
1270
|
},
|
1129
1271
|
{
|
1130
1272
|
label: "check 2",
|
1131
|
-
value: "2"
|
1132
|
-
|
1273
|
+
value: "2",
|
1274
|
+
disabled: false
|
1275
|
+
},
|
1133
1276
|
],
|
1134
1277
|
required: !1,
|
1135
1278
|
requiredHint: "",
|
@@ -1146,37 +1289,33 @@ export const basicFields = [
|
|
1146
1289
|
onValidate: "",
|
1147
1290
|
accessType: "1",
|
1148
1291
|
|
1292
|
+
...httpConfig,
|
1149
1293
|
formScriptEnabled: false,
|
1150
1294
|
formScriptCode: "getList",
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
wfConfigData: [],
|
1295
|
+
|
1296
|
+
...defaultWfConfig,
|
1297
|
+
|
1298
|
+
commonAttributeEnabled: false,
|
1299
|
+
commonAttributeCode: "",
|
1157
1300
|
|
1158
1301
|
showRuleFlag: 1,
|
1159
1302
|
showRuleEnabled: 1,
|
1160
1303
|
showRules: [],
|
1161
|
-
|
1162
|
-
textRule1: false,
|
1163
|
-
textRule2: false,
|
1164
|
-
textRule3: false,
|
1165
|
-
textRule2Number: null,
|
1166
|
-
textRule3Number: null
|
1167
|
-
|
1168
|
-
}
|
1304
|
+
},
|
1169
1305
|
},
|
1170
1306
|
{
|
1171
1307
|
type: "select",
|
1172
1308
|
icon: "select-field",
|
1309
|
+
commonFlag: !0,
|
1173
1310
|
formItemFlag: !0,
|
1311
|
+
columnFlag: true,
|
1174
1312
|
tableField: null,
|
1175
1313
|
options: {
|
1176
1314
|
name: "",
|
1177
1315
|
keyNameEnabled: !1,
|
1178
1316
|
keyName: "",
|
1179
1317
|
label: "",
|
1318
|
+
labelColor: "",
|
1180
1319
|
submitFlag: true,
|
1181
1320
|
/**showText: false,*/
|
1182
1321
|
formField: "",
|
@@ -1202,16 +1341,23 @@ export const basicFields = [
|
|
1202
1341
|
dsName: "",
|
1203
1342
|
labelKey: "label",
|
1204
1343
|
valueKey: "value",
|
1205
|
-
optionItems: [
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1344
|
+
optionItems: [
|
1345
|
+
{
|
1346
|
+
label: "select 1",
|
1347
|
+
value: "1",
|
1348
|
+
disabled: false
|
1349
|
+
},
|
1350
|
+
{
|
1351
|
+
label: "select 2",
|
1352
|
+
value: "2",
|
1353
|
+
disabled: false
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
label: "select 3",
|
1357
|
+
value: "3",
|
1358
|
+
disabled: false
|
1359
|
+
},
|
1360
|
+
],
|
1215
1361
|
required: !1,
|
1216
1362
|
requiredHint: "",
|
1217
1363
|
validation: "",
|
@@ -1230,36 +1376,36 @@ export const basicFields = [
|
|
1230
1376
|
onValidate: "",
|
1231
1377
|
widgetWidth: "",
|
1232
1378
|
accessType: "1",
|
1379
|
+
|
1380
|
+
...httpConfig,
|
1233
1381
|
formScriptEnabled: false,
|
1234
1382
|
formScriptCode: "getList",
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1383
|
+
|
1384
|
+
...defaultWfConfig,
|
1385
|
+
|
1386
|
+
commonAttributeEnabled: false,
|
1387
|
+
commonAttributeCode: "",
|
1388
|
+
|
1389
|
+
showCollapseTags: false,
|
1241
1390
|
|
1242
1391
|
showRuleFlag: 1,
|
1243
1392
|
showRuleEnabled: 1,
|
1244
1393
|
showRules: [],
|
1245
|
-
|
1246
|
-
textRule1: false,
|
1247
|
-
textRule2: false,
|
1248
|
-
textRule3: false,
|
1249
|
-
textRule2Number: null,
|
1250
|
-
textRule3Number: null
|
1251
|
-
}
|
1394
|
+
},
|
1252
1395
|
},
|
1253
1396
|
{
|
1254
1397
|
type: "time",
|
1255
1398
|
icon: "time-field",
|
1399
|
+
commonFlag: !0,
|
1256
1400
|
formItemFlag: !0,
|
1401
|
+
columnFlag: true,
|
1257
1402
|
tableField: null,
|
1258
1403
|
options: {
|
1259
1404
|
name: "",
|
1260
1405
|
keyNameEnabled: !1,
|
1261
1406
|
keyName: "",
|
1262
1407
|
label: "",
|
1408
|
+
labelColor: "",
|
1263
1409
|
submitFlag: true,
|
1264
1410
|
/**showText: false,*/
|
1265
1411
|
formField: "",
|
@@ -1291,34 +1437,28 @@ export const basicFields = [
|
|
1291
1437
|
onBlur: "",
|
1292
1438
|
onValidate: "",
|
1293
1439
|
accessType: "1",
|
1294
|
-
|
1295
|
-
wfEdit: false,
|
1296
|
-
enabledByWf: false,
|
1297
|
-
hiddenByWf: false,
|
1298
|
-
wfConfigData: [],
|
1440
|
+
...defaultWfConfig,
|
1299
1441
|
|
1300
1442
|
showRuleFlag: 1,
|
1301
1443
|
showRuleEnabled: 1,
|
1302
1444
|
showRules: [],
|
1303
|
-
textFlag: 1,
|
1304
|
-
textRule1: false,
|
1305
|
-
textRule2: false,
|
1306
|
-
textRule3: false,
|
1307
|
-
textRule2Number: null,
|
1308
|
-
textRule3Number: null
|
1309
1445
|
|
1310
|
-
|
1446
|
+
...defaultTextFlagConfig,
|
1447
|
+
},
|
1311
1448
|
},
|
1312
1449
|
{
|
1313
1450
|
type: "time-range",
|
1314
1451
|
icon: "time-range-field",
|
1452
|
+
commonFlag: !0,
|
1315
1453
|
formItemFlag: !0,
|
1454
|
+
columnFlag: true,
|
1316
1455
|
tableField: null,
|
1317
1456
|
options: {
|
1318
1457
|
name: "",
|
1319
1458
|
keyNameEnabled: !1,
|
1320
1459
|
keyName: "",
|
1321
1460
|
label: "",
|
1461
|
+
labelColor: "",
|
1322
1462
|
submitFlag: true,
|
1323
1463
|
formField: "",
|
1324
1464
|
labelAlign: "",
|
@@ -1350,34 +1490,26 @@ export const basicFields = [
|
|
1350
1490
|
onBlur: "",
|
1351
1491
|
onValidate: "",
|
1352
1492
|
accessType: "1",
|
1353
|
-
|
1354
|
-
wfEdit: false,
|
1355
|
-
enabledByWf: false,
|
1356
|
-
hiddenByWf: false,
|
1357
|
-
wfConfigData: [],
|
1493
|
+
...defaultWfConfig,
|
1358
1494
|
|
1359
1495
|
showRuleFlag: 1,
|
1360
1496
|
showRuleEnabled: 1,
|
1361
1497
|
showRules: [],
|
1362
|
-
|
1363
|
-
textRule1: false,
|
1364
|
-
textRule2: false,
|
1365
|
-
textRule3: false,
|
1366
|
-
textRule2Number: null,
|
1367
|
-
textRule3Number: null
|
1368
|
-
|
1369
|
-
}
|
1498
|
+
},
|
1370
1499
|
},
|
1371
1500
|
{
|
1372
1501
|
type: "date",
|
1373
1502
|
icon: "date-field",
|
1503
|
+
commonFlag: !0,
|
1374
1504
|
formItemFlag: !0,
|
1505
|
+
columnFlag: true,
|
1375
1506
|
tableField: null,
|
1376
1507
|
options: {
|
1377
1508
|
name: "",
|
1378
1509
|
keyNameEnabled: !1,
|
1379
1510
|
keyName: "",
|
1380
1511
|
label: "",
|
1512
|
+
labelColor: "",
|
1381
1513
|
submitFlag: true,
|
1382
1514
|
/**showText: false,*/
|
1383
1515
|
formField: "",
|
@@ -1411,34 +1543,28 @@ export const basicFields = [
|
|
1411
1543
|
onBlur: "",
|
1412
1544
|
onValidate: "",
|
1413
1545
|
accessType: "1",
|
1414
|
-
|
1415
|
-
wfEdit: false,
|
1416
|
-
enabledByWf: false,
|
1417
|
-
hiddenByWf: false,
|
1418
|
-
wfConfigData: [],
|
1546
|
+
...defaultWfConfig,
|
1419
1547
|
|
1420
1548
|
showRuleFlag: 1,
|
1421
1549
|
showRuleEnabled: 1,
|
1422
1550
|
showRules: [],
|
1423
|
-
textFlag: 1,
|
1424
|
-
textRule1: false,
|
1425
|
-
textRule2: false,
|
1426
|
-
textRule3: false,
|
1427
|
-
textRule2Number: null,
|
1428
|
-
textRule3Number: null
|
1429
1551
|
|
1430
|
-
|
1552
|
+
...defaultTextFlagConfig,
|
1553
|
+
},
|
1431
1554
|
},
|
1432
1555
|
{
|
1433
1556
|
type: "date-range",
|
1434
1557
|
icon: "date-range-field",
|
1558
|
+
commonFlag: !0,
|
1435
1559
|
formItemFlag: !0,
|
1560
|
+
columnFlag: true,
|
1436
1561
|
tableField: null,
|
1437
1562
|
options: {
|
1438
1563
|
name: "",
|
1439
1564
|
keyNameEnabled: !1,
|
1440
1565
|
keyName: "",
|
1441
1566
|
label: "",
|
1567
|
+
labelColor: "",
|
1442
1568
|
submitFlag: true,
|
1443
1569
|
formField: "",
|
1444
1570
|
labelAlign: "",
|
@@ -1457,6 +1583,7 @@ export const basicFields = [
|
|
1457
1583
|
editable: !1,
|
1458
1584
|
format: "yyyy-MM-dd",
|
1459
1585
|
valueFormat: "yyyy-MM-dd",
|
1586
|
+
defaultTime: ["00:00:00", "23:59:59"],
|
1460
1587
|
required: !1,
|
1461
1588
|
requiredHint: "",
|
1462
1589
|
validation: "",
|
@@ -1472,23 +1599,12 @@ export const basicFields = [
|
|
1472
1599
|
onBlur: "",
|
1473
1600
|
onValidate: "",
|
1474
1601
|
accessType: "1",
|
1475
|
-
|
1476
|
-
wfEdit: false,
|
1477
|
-
enabledByWf: false,
|
1478
|
-
hiddenByWf: false,
|
1479
|
-
wfConfigData: [],
|
1602
|
+
...defaultWfConfig,
|
1480
1603
|
|
1481
1604
|
showRuleFlag: 1,
|
1482
1605
|
showRuleEnabled: 1,
|
1483
1606
|
showRules: [],
|
1484
|
-
|
1485
|
-
textRule1: false,
|
1486
|
-
textRule2: false,
|
1487
|
-
textRule3: false,
|
1488
|
-
textRule2Number: null,
|
1489
|
-
textRule3Number: null
|
1490
|
-
|
1491
|
-
}
|
1607
|
+
},
|
1492
1608
|
},
|
1493
1609
|
/* {
|
1494
1610
|
type: "switch",
|
@@ -1617,7 +1733,9 @@ export const basicFields = [
|
|
1617
1733
|
{
|
1618
1734
|
type: "static-text",
|
1619
1735
|
icon: "static-text",
|
1736
|
+
commonFlag: !0,
|
1620
1737
|
formItemFlag: !1,
|
1738
|
+
columnFlag: true,
|
1621
1739
|
options: {
|
1622
1740
|
name: "",
|
1623
1741
|
columnWidth: "200px",
|
@@ -1628,23 +1746,21 @@ export const basicFields = [
|
|
1628
1746
|
onCreated: "",
|
1629
1747
|
onMounted: "",
|
1630
1748
|
accessType: "1",
|
1749
|
+
...defaultWfConfig,
|
1631
1750
|
|
1632
1751
|
showRuleFlag: 1,
|
1633
1752
|
showRuleEnabled: 1,
|
1634
1753
|
showRules: [],
|
1635
|
-
textFlag: 1,
|
1636
|
-
textRule1: false,
|
1637
|
-
textRule2: false,
|
1638
|
-
textRule3: false,
|
1639
|
-
textRule2Number: null,
|
1640
|
-
textRule3Number: null
|
1641
1754
|
|
1642
|
-
|
1755
|
+
...defaultTextFlagConfig,
|
1756
|
+
},
|
1643
1757
|
},
|
1644
1758
|
{
|
1645
1759
|
type: "html-text",
|
1646
1760
|
icon: "html-text",
|
1761
|
+
commonFlag: !1,
|
1647
1762
|
formItemFlag: !1,
|
1763
|
+
columnFlag: false,
|
1648
1764
|
options: {
|
1649
1765
|
name: "",
|
1650
1766
|
columnWidth: "200px",
|
@@ -1654,18 +1770,12 @@ export const basicFields = [
|
|
1654
1770
|
onCreated: "",
|
1655
1771
|
onMounted: "",
|
1656
1772
|
accessType: "1",
|
1773
|
+
...defaultWfConfig,
|
1657
1774
|
|
1658
1775
|
showRuleFlag: 1,
|
1659
1776
|
showRuleEnabled: 1,
|
1660
1777
|
showRules: [],
|
1661
|
-
|
1662
|
-
textRule1: false,
|
1663
|
-
textRule2: false,
|
1664
|
-
textRule3: false,
|
1665
|
-
textRule2Number: null,
|
1666
|
-
textRule3Number: null
|
1667
|
-
|
1668
|
-
}
|
1778
|
+
},
|
1669
1779
|
},
|
1670
1780
|
/* {
|
1671
1781
|
type: 'title-head',
|
@@ -1687,10 +1797,13 @@ export const basicFields = [
|
|
1687
1797
|
{
|
1688
1798
|
type: "button",
|
1689
1799
|
icon: "button",
|
1800
|
+
commonFlag: !0,
|
1690
1801
|
formItemFlag: !1,
|
1802
|
+
columnFlag: true,
|
1691
1803
|
options: {
|
1692
1804
|
name: "",
|
1693
1805
|
label: "",
|
1806
|
+
wfHideFlag: 1,
|
1694
1807
|
columnWidth: "200px",
|
1695
1808
|
size: "",
|
1696
1809
|
displayStyle: "block",
|
@@ -1707,34 +1820,29 @@ export const basicFields = [
|
|
1707
1820
|
onClick: "",
|
1708
1821
|
accessType: "1",
|
1709
1822
|
clickBindEvent: null,
|
1823
|
+
onBeforeClickButton: null,
|
1710
1824
|
searchDialogConfig: {
|
1711
|
-
...defaultSearchDialogConfig
|
1825
|
+
...defaultSearchDialogConfig,
|
1712
1826
|
},
|
1713
1827
|
addTableDataConfig: {
|
1714
1828
|
tableRef: null,
|
1715
|
-
tableData: {}
|
1829
|
+
tableData: {},
|
1716
1830
|
},
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
hiddenByWf: false,
|
1721
|
-
wfConfigData: [],
|
1831
|
+
...defaultWfConfig,
|
1832
|
+
hiddenByWf: true,
|
1833
|
+
...defaultWidgetShowRuleConfig,
|
1722
1834
|
|
1723
1835
|
showRuleFlag: 1,
|
1724
1836
|
showRuleEnabled: 1,
|
1725
1837
|
showRules: [],
|
1726
|
-
|
1727
|
-
textRule1: false,
|
1728
|
-
textRule2: false,
|
1729
|
-
textRule3: false,
|
1730
|
-
textRule2Number: null,
|
1731
|
-
textRule3Number: null
|
1732
|
-
}
|
1838
|
+
},
|
1733
1839
|
},
|
1734
1840
|
{
|
1735
1841
|
type: "divider",
|
1736
1842
|
icon: "divider",
|
1843
|
+
commonFlag: !0,
|
1737
1844
|
formItemFlag: !1,
|
1845
|
+
columnFlag: true,
|
1738
1846
|
options: {
|
1739
1847
|
name: "",
|
1740
1848
|
label: "",
|
@@ -1743,9 +1851,10 @@ export const basicFields = [
|
|
1743
1851
|
contentPosition: "center",
|
1744
1852
|
hidden: !1,
|
1745
1853
|
customClass: "",
|
1854
|
+
...defaultWfConfig,
|
1746
1855
|
onCreated: "",
|
1747
|
-
onMounted: ""
|
1748
|
-
}
|
1856
|
+
onMounted: "",
|
1857
|
+
},
|
1749
1858
|
},
|
1750
1859
|
/*{
|
1751
1860
|
type: "descriptions",
|
@@ -1804,18 +1913,22 @@ export const basicFields = [
|
|
1804
1913
|
{
|
1805
1914
|
type: "text",
|
1806
1915
|
icon: "text",
|
1916
|
+
commonFlag: !0,
|
1807
1917
|
formItemFlag: !0,
|
1918
|
+
columnFlag: true,
|
1808
1919
|
tableField: null,
|
1809
1920
|
options: {
|
1810
1921
|
name: "",
|
1811
1922
|
keyNameEnabled: !1,
|
1812
1923
|
keyName: "",
|
1813
1924
|
label: "",
|
1925
|
+
labelColor: "",
|
1814
1926
|
submitFlag: true,
|
1815
1927
|
formField: "",
|
1816
1928
|
hidden: !1,
|
1817
1929
|
required: !1,
|
1818
1930
|
customClass: "",
|
1931
|
+
colorClass: "",
|
1819
1932
|
defaultValue: "",
|
1820
1933
|
labelAlign: "",
|
1821
1934
|
labelWidth: null,
|
@@ -1823,29 +1936,32 @@ export const basicFields = [
|
|
1823
1936
|
onCreated: "",
|
1824
1937
|
onMounted: "",
|
1825
1938
|
accessType: "1",
|
1826
|
-
|
1939
|
+
...defaultWfConfig,
|
1940
|
+
|
1941
|
+
autoValueEnabled: false,
|
1942
|
+
autoValueHanlde: null,
|
1827
1943
|
|
1828
1944
|
showRuleFlag: 1,
|
1829
1945
|
showRuleEnabled: 1,
|
1830
1946
|
showRules: [],
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
textRule3: false,
|
1835
|
-
textRule2Number: null,
|
1836
|
-
textRule3Number: null
|
1837
|
-
}
|
1947
|
+
|
1948
|
+
...defaultTextFlagConfig,
|
1949
|
+
},
|
1838
1950
|
},
|
1839
1951
|
{
|
1840
1952
|
type: "a-text",
|
1841
1953
|
icon: "text-field",
|
1954
|
+
commonFlag: !0,
|
1842
1955
|
formItemFlag: !0,
|
1956
|
+
columnFlag: true,
|
1843
1957
|
tableField: null,
|
1844
1958
|
options: {
|
1845
1959
|
name: "",
|
1846
1960
|
keyNameEnabled: !1,
|
1847
1961
|
keyName: "",
|
1848
1962
|
label: "",
|
1963
|
+
labelColor: "",
|
1964
|
+
displayStyle: "block",
|
1849
1965
|
submitFlag: true,
|
1850
1966
|
/**showText: false,*/
|
1851
1967
|
formField: "",
|
@@ -1864,7 +1980,7 @@ export const basicFields = [
|
|
1864
1980
|
aTextFlag: 1,
|
1865
1981
|
underline: false,
|
1866
1982
|
href: "",
|
1867
|
-
|
1983
|
+
colorClass: "f-red",
|
1868
1984
|
|
1869
1985
|
onCreated: "",
|
1870
1986
|
onMounted: "",
|
@@ -1872,78 +1988,95 @@ export const basicFields = [
|
|
1872
1988
|
onChange: "",
|
1873
1989
|
onClick: "",
|
1874
1990
|
accessType: "1",
|
1875
|
-
|
1876
|
-
|
1877
|
-
enabledByWf: false,
|
1878
|
-
hiddenByWf: false,
|
1879
|
-
wfConfigData: [],
|
1991
|
+
...defaultWfConfig,
|
1992
|
+
...defaultWidgetShowRuleConfig,
|
1880
1993
|
|
1881
1994
|
showRuleFlag: 1,
|
1882
1995
|
showRuleEnabled: 1,
|
1883
1996
|
showRules: [],
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
textRule3: false,
|
1888
|
-
textRule2Number: null,
|
1889
|
-
textRule3Number: null
|
1890
|
-
}
|
1997
|
+
|
1998
|
+
...defaultTextFlagConfig,
|
1999
|
+
},
|
1891
2000
|
},
|
1892
2001
|
{
|
1893
2002
|
type: "a-link",
|
1894
2003
|
icon: "button",
|
2004
|
+
commonFlag: !0,
|
1895
2005
|
formItemFlag: !1,
|
2006
|
+
columnFlag: true,
|
1896
2007
|
options: {
|
1897
2008
|
name: "",
|
1898
2009
|
keyNameEnabled: !1,
|
1899
2010
|
keyName: "",
|
1900
2011
|
label: "",
|
2012
|
+
displayStyle: "block",
|
1901
2013
|
labelHidden: !1,
|
1902
2014
|
disabled: !1,
|
1903
2015
|
hidden: !1,
|
1904
2016
|
prefixIcon: "",
|
1905
2017
|
suffixIcon: "",
|
1906
2018
|
customClass: "",
|
2019
|
+
wfHideFlag: 1,
|
1907
2020
|
aLinkFlag: 1,
|
1908
2021
|
underline: false,
|
1909
2022
|
href: "",
|
1910
|
-
|
2023
|
+
colorClass: "f-blue",
|
1911
2024
|
isFormLabel: false,
|
1912
2025
|
onCreated: "",
|
1913
2026
|
onMounted: "",
|
1914
2027
|
onClick: "",
|
1915
2028
|
clickBindEvent: null,
|
2029
|
+
onBeforeClickButton: null,
|
1916
2030
|
searchDialogConfig: {
|
1917
|
-
...defaultSearchDialogConfig
|
2031
|
+
...defaultSearchDialogConfig,
|
1918
2032
|
},
|
1919
2033
|
addTableDataConfig: {
|
1920
2034
|
tableRef: null,
|
1921
|
-
tableData: {}
|
2035
|
+
tableData: {},
|
1922
2036
|
},
|
1923
|
-
|
1924
|
-
|
1925
|
-
enabledByWf: false,
|
1926
|
-
hiddenByWf: false,
|
1927
|
-
wfConfigData: [],
|
2037
|
+
...defaultWfConfig,
|
2038
|
+
...defaultWidgetShowRuleConfig,
|
1928
2039
|
|
1929
2040
|
showRuleFlag: 1,
|
1930
2041
|
showRuleEnabled: 1,
|
1931
2042
|
showRules: [],
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
textRule3: false,
|
1936
|
-
textRule2Number: null,
|
1937
|
-
textRule3Number: null
|
1938
|
-
}
|
2043
|
+
|
2044
|
+
...defaultTextFlagConfig,
|
2045
|
+
},
|
1939
2046
|
},
|
2047
|
+
{
|
2048
|
+
type: "a-link2",
|
2049
|
+
icon: "button",
|
2050
|
+
commonFlag: !1,
|
2051
|
+
formItemFlag: !1,
|
2052
|
+
columnFlag: false,
|
2053
|
+
options: {
|
2054
|
+
prefixIcon: "",
|
2055
|
+
suffixIcon: "",
|
2056
|
+
customClass: "",
|
2057
|
+
aLinkFlag: 1,
|
2058
|
+
underline: false,
|
2059
|
+
href: "",
|
2060
|
+
colorClass: "f-blue",
|
1940
2061
|
|
1941
|
-
|
2062
|
+
onClick: "",
|
2063
|
+
clickBindEvent: null,
|
2064
|
+
onBeforeClickButton: null,
|
2065
|
+
searchDialogConfig: {
|
2066
|
+
...defaultSearchDialogConfig,
|
2067
|
+
},
|
2068
|
+
addTableDataConfig: {
|
2069
|
+
tableRef: null,
|
2070
|
+
tableData: {},
|
2071
|
+
},
|
2072
|
+
},
|
2073
|
+
},
|
2074
|
+
];
|
1942
2075
|
|
1943
2076
|
export const advancedFields = [
|
1944
2077
|
{
|
1945
|
-
type:
|
1946
|
-
icon:
|
2078
|
+
type: "echart-pie",
|
2079
|
+
icon: "echart-pie",
|
1947
2080
|
commonFlag: !0,
|
1948
2081
|
formItemFlag: false,
|
1949
2082
|
options: {
|
@@ -1952,89 +2085,102 @@ export const advancedFields = [
|
|
1952
2085
|
hidden: !1,
|
1953
2086
|
echarPieOption: {
|
1954
2087
|
backgroundColor: "#fff",
|
1955
|
-
color: [
|
2088
|
+
color: [
|
2089
|
+
"#5BC1D7",
|
2090
|
+
"#FF8A3D",
|
2091
|
+
"#56C271",
|
2092
|
+
"#694ED6",
|
2093
|
+
"#C033A1",
|
2094
|
+
"#FFCC10",
|
2095
|
+
],
|
1956
2096
|
title: {
|
1957
2097
|
show: true,
|
1958
|
-
top:
|
1959
|
-
text:
|
2098
|
+
top: "5px",
|
2099
|
+
text: "这是饼图标题",
|
1960
2100
|
},
|
1961
2101
|
grid: {
|
1962
|
-
top:
|
1963
|
-
left:
|
1964
|
-
right:
|
1965
|
-
bottom:
|
1966
|
-
containLabel: true
|
2102
|
+
top: "80px",
|
2103
|
+
left: "3%",
|
2104
|
+
right: "6%",
|
2105
|
+
bottom: "3%",
|
2106
|
+
containLabel: true,
|
1967
2107
|
},
|
1968
2108
|
legend: {
|
1969
2109
|
show: false,
|
1970
|
-
right:
|
2110
|
+
right: "12px",
|
1971
2111
|
itemGap: 20,
|
1972
2112
|
itemWidth: 10,
|
1973
2113
|
itemHeight: 10,
|
1974
|
-
orient:
|
2114
|
+
orient: "horizontal",
|
1975
2115
|
},
|
1976
2116
|
tooltip: {
|
1977
|
-
trigger:
|
2117
|
+
trigger: "axis",
|
1978
2118
|
axisPointer: {
|
1979
|
-
type:
|
2119
|
+
type: "shadow",
|
1980
2120
|
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'
|
2121
|
+
backgroundColor: "#fff",
|
2008
2122
|
},
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2123
|
+
},
|
2124
|
+
},
|
2125
|
+
series: [
|
2126
|
+
{
|
2127
|
+
// name: 'Access From',
|
2128
|
+
type: "pie",
|
2129
|
+
radius: "60%",
|
2130
|
+
center: ["50%", "48%"],
|
2131
|
+
itemStyle: {
|
2132
|
+
borderRadius: 10,
|
2133
|
+
borderColor: "#FFF",
|
2134
|
+
borderWidth: 2,
|
2012
2135
|
},
|
2013
|
-
{
|
2014
|
-
|
2015
|
-
|
2136
|
+
label: {
|
2137
|
+
show: true,
|
2138
|
+
fontSize: 12,
|
2139
|
+
color: "",
|
2140
|
+
fontWeight: "normal",
|
2016
2141
|
},
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2142
|
+
data: [
|
2143
|
+
{
|
2144
|
+
value: 1048,
|
2145
|
+
name: "Search Engine",
|
2146
|
+
},
|
2147
|
+
{
|
2148
|
+
value: 735,
|
2149
|
+
name: "Direct",
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
value: 580,
|
2153
|
+
name: "Email",
|
2154
|
+
},
|
2155
|
+
{
|
2156
|
+
value: 484,
|
2157
|
+
name: "Union Ads",
|
2158
|
+
},
|
2159
|
+
{
|
2160
|
+
value: 300,
|
2161
|
+
name: "Video Ads",
|
2162
|
+
},
|
2163
|
+
],
|
2164
|
+
},
|
2165
|
+
],
|
2023
2166
|
},
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2167
|
+
echartConfig: "",
|
2168
|
+
|
2169
|
+
...httpConfig,
|
2170
|
+
|
2171
|
+
onClick: "",
|
2027
2172
|
onCreated: "",
|
2028
2173
|
onMounted: "this.loadDataDefaultHandle()",
|
2029
2174
|
|
2175
|
+
...defaultWfConfig,
|
2030
2176
|
showRuleFlag: 1,
|
2031
2177
|
showRuleEnabled: 1,
|
2032
|
-
showRules: []
|
2033
|
-
}
|
2178
|
+
showRules: [],
|
2179
|
+
},
|
2034
2180
|
},
|
2035
2181
|
{
|
2036
|
-
type:
|
2037
|
-
icon:
|
2182
|
+
type: "echart-bar",
|
2183
|
+
icon: "echart",
|
2038
2184
|
commonFlag: !0,
|
2039
2185
|
formItemFlag: false,
|
2040
2186
|
options: {
|
@@ -2043,44 +2189,52 @@ export const advancedFields = [
|
|
2043
2189
|
hidden: !1,
|
2044
2190
|
echarBarOption: {
|
2045
2191
|
backgroundColor: "#fff",
|
2046
|
-
color: [
|
2192
|
+
color: [
|
2193
|
+
"#5BC1D7",
|
2194
|
+
"#FF8A3D",
|
2195
|
+
"#56C271",
|
2196
|
+
"#694ED6",
|
2197
|
+
"#C033A1",
|
2198
|
+
"#FFCC10",
|
2199
|
+
],
|
2200
|
+
colors: [],
|
2047
2201
|
title: {
|
2048
2202
|
show: true,
|
2049
|
-
top:
|
2050
|
-
text:
|
2203
|
+
top: "5px",
|
2204
|
+
text: "这是柱形图标题",
|
2051
2205
|
},
|
2052
2206
|
grid: {
|
2053
|
-
top:
|
2054
|
-
left:
|
2055
|
-
right:
|
2056
|
-
bottom:
|
2057
|
-
containLabel: true
|
2207
|
+
top: "80px",
|
2208
|
+
left: "3%",
|
2209
|
+
right: "80",
|
2210
|
+
bottom: "3%",
|
2211
|
+
containLabel: true,
|
2058
2212
|
},
|
2059
2213
|
legend: {
|
2060
|
-
right:
|
2061
|
-
top:
|
2062
|
-
icon:
|
2214
|
+
right: "12px",
|
2215
|
+
top: "8px",
|
2216
|
+
icon: "circle",
|
2063
2217
|
itemWidth: 12,
|
2064
2218
|
|
2065
2219
|
itemGap: 24,
|
2066
2220
|
},
|
2067
2221
|
tooltip: {
|
2068
|
-
trigger:
|
2222
|
+
trigger: "axis",
|
2069
2223
|
axisPointer: {
|
2070
|
-
type:
|
2224
|
+
type: "shadow",
|
2071
2225
|
label: {
|
2072
|
-
backgroundColor:
|
2073
|
-
}
|
2074
|
-
}
|
2226
|
+
backgroundColor: "#fff",
|
2227
|
+
},
|
2228
|
+
},
|
2075
2229
|
},
|
2076
2230
|
xAxis: {
|
2077
|
-
type:
|
2078
|
-
data: [
|
2231
|
+
type: "category",
|
2232
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
2079
2233
|
show: true,
|
2080
2234
|
name: "X轴",
|
2081
2235
|
nameTextStyle: {
|
2082
2236
|
color: "#606266",
|
2083
|
-
fontSize: 12
|
2237
|
+
fontSize: 12,
|
2084
2238
|
},
|
2085
2239
|
axisLabel: {
|
2086
2240
|
color: "#606266",
|
@@ -2090,20 +2244,20 @@ export const advancedFields = [
|
|
2090
2244
|
inverse: false,
|
2091
2245
|
axisLine: {
|
2092
2246
|
lineStyle: {
|
2093
|
-
color: "#E6EBF5"
|
2094
|
-
}
|
2247
|
+
color: "#E6EBF5",
|
2248
|
+
},
|
2095
2249
|
},
|
2096
2250
|
splitLine: {
|
2097
2251
|
show: false,
|
2098
|
-
}
|
2252
|
+
},
|
2099
2253
|
},
|
2100
2254
|
yAxis: {
|
2101
|
-
type:
|
2255
|
+
type: "value",
|
2102
2256
|
show: true,
|
2103
2257
|
name: "Y轴",
|
2104
2258
|
nameTextStyle: {
|
2105
2259
|
color: "#606266",
|
2106
|
-
fontSize: 12
|
2260
|
+
fontSize: 12,
|
2107
2261
|
},
|
2108
2262
|
axisLabel: {
|
2109
2263
|
color: "#606266",
|
@@ -2114,96 +2268,109 @@ export const advancedFields = [
|
|
2114
2268
|
axisLine: {
|
2115
2269
|
show: false,
|
2116
2270
|
lineStyle: {
|
2117
|
-
color: ""
|
2118
|
-
}
|
2271
|
+
color: "",
|
2272
|
+
},
|
2119
2273
|
},
|
2120
2274
|
splitLine: {
|
2121
2275
|
show: true,
|
2122
2276
|
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)'
|
2277
|
+
color: "#E6EBF5",
|
2278
|
+
},
|
2140
2279
|
},
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2280
|
+
},
|
2281
|
+
series: [
|
2282
|
+
{
|
2283
|
+
data: [120, 200, 150, 80, 70, 110, 130],
|
2284
|
+
type: "bar",
|
2285
|
+
name: "Video Ad",
|
2286
|
+
label: {
|
2287
|
+
show: false,
|
2288
|
+
fontSize: 12,
|
2289
|
+
color: "#FFF",
|
2290
|
+
fontWeight: "normal",
|
2291
|
+
position: "insideTop",
|
2292
|
+
},
|
2293
|
+
backgroundStyle: {
|
2294
|
+
color: "rgba(180, 180, 180, 0.2)",
|
2295
|
+
},
|
2296
|
+
barMaxWidth: 28,
|
2297
|
+
barMinHeight: 0,
|
2298
|
+
barGap: "15%",
|
2299
|
+
itemStyle: {
|
2300
|
+
color: {
|
2301
|
+
type: "linear",
|
2302
|
+
x: 0.5,
|
2303
|
+
y: 0.9,
|
2304
|
+
r: 0.2,
|
2305
|
+
colorStops: [
|
2306
|
+
{
|
2307
|
+
offset: 1,
|
2308
|
+
color: "#08C084", // 0% 处的颜色
|
2309
|
+
},
|
2310
|
+
{
|
2311
|
+
offset: 0,
|
2312
|
+
color: "#97EACE", // 100% 处的颜色
|
2313
|
+
},
|
2314
|
+
],
|
2315
|
+
},
|
2316
|
+
borderRadius: [20, 20, 0, 0],
|
2155
2317
|
},
|
2156
|
-
borderRadius: [20, 20, 0, 0]
|
2157
2318
|
},
|
2319
|
+
{
|
2320
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
2321
|
+
type: "bar",
|
2322
|
+
name: "Video Ad1",
|
2158
2323
|
|
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
|
-
|
2324
|
+
label: {
|
2325
|
+
show: false,
|
2326
|
+
fontSize: 12,
|
2327
|
+
color: "#FFF",
|
2328
|
+
fontWeight: "normal",
|
2329
|
+
position: "insideTop",
|
2330
|
+
},
|
2331
|
+
backgroundStyle: {
|
2332
|
+
color: "rgba(180, 180, 180, 0.2)",
|
2333
|
+
},
|
2334
|
+
barMaxWidth: "28%",
|
2335
|
+
barMinHeight: 0,
|
2336
|
+
itemStyle: {
|
2337
|
+
color: {
|
2338
|
+
type: "linear",
|
2339
|
+
x: 0.5,
|
2340
|
+
y: 0.9,
|
2341
|
+
r: 0.2,
|
2342
|
+
colorStops: [
|
2343
|
+
{
|
2344
|
+
offset: 1,
|
2345
|
+
color: "#29ABE3", // 0% 处的颜色
|
2346
|
+
},
|
2347
|
+
{
|
2348
|
+
offset: 0,
|
2349
|
+
color: "#AADEF4", // 100% 处的颜色
|
2350
|
+
},
|
2351
|
+
],
|
2352
|
+
},
|
2353
|
+
borderRadius: [20, 20, 0, 0],
|
2187
2354
|
},
|
2188
|
-
borderRadius: [20, 20, 0, 0]
|
2189
2355
|
},
|
2190
|
-
|
2191
|
-
}]
|
2356
|
+
],
|
2192
2357
|
},
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2358
|
+
echartConfig: "",
|
2359
|
+
|
2360
|
+
...httpConfig,
|
2361
|
+
|
2362
|
+
onClick: "",
|
2196
2363
|
onCreated: "",
|
2197
2364
|
onMounted: "this.loadDataDefaultHandle()",
|
2198
|
-
|
2365
|
+
...defaultWfConfig,
|
2199
2366
|
showRuleFlag: 1,
|
2200
2367
|
showRuleEnabled: 1,
|
2201
|
-
showRules: []
|
2202
|
-
}
|
2368
|
+
showRules: [],
|
2369
|
+
},
|
2203
2370
|
},
|
2204
2371
|
{
|
2205
|
-
type:
|
2206
|
-
icon:
|
2372
|
+
type: "echart-category",
|
2373
|
+
icon: "echart-category",
|
2207
2374
|
commonFlag: !0,
|
2208
2375
|
formItemFlag: false,
|
2209
2376
|
options: {
|
@@ -2213,42 +2380,50 @@ export const advancedFields = [
|
|
2213
2380
|
reqSources: [],
|
2214
2381
|
echarCategoryOption: {
|
2215
2382
|
backgroundColor: "#fff",
|
2216
|
-
color: [
|
2383
|
+
color: [
|
2384
|
+
"#5BC1D7",
|
2385
|
+
"#FF8A3D",
|
2386
|
+
"#56C271",
|
2387
|
+
"#694ED6",
|
2388
|
+
"#C033A1",
|
2389
|
+
"#FFCC10",
|
2390
|
+
],
|
2391
|
+
colors: [],
|
2217
2392
|
title: {
|
2218
2393
|
show: true,
|
2219
|
-
top:
|
2220
|
-
text:
|
2394
|
+
top: "5px",
|
2395
|
+
text: "这是折线图标题",
|
2221
2396
|
},
|
2222
2397
|
grid: {
|
2223
|
-
top:
|
2224
|
-
left:
|
2225
|
-
right:
|
2226
|
-
bottom:
|
2227
|
-
containLabel: true
|
2398
|
+
top: "80px",
|
2399
|
+
left: "3%",
|
2400
|
+
right: "80",
|
2401
|
+
bottom: "3%",
|
2402
|
+
containLabel: true,
|
2228
2403
|
},
|
2229
2404
|
legend: {
|
2230
|
-
right:
|
2231
|
-
top:
|
2405
|
+
right: "12px",
|
2406
|
+
top: "8px",
|
2232
2407
|
itemGap: 24,
|
2233
2408
|
},
|
2234
2409
|
tooltip: {
|
2235
|
-
trigger:
|
2410
|
+
trigger: "axis",
|
2236
2411
|
axisPointer: {
|
2237
|
-
type:
|
2412
|
+
type: "shadow",
|
2238
2413
|
label: {
|
2239
|
-
backgroundColor:
|
2240
|
-
}
|
2241
|
-
}
|
2414
|
+
backgroundColor: "#fff",
|
2415
|
+
},
|
2416
|
+
},
|
2242
2417
|
},
|
2243
2418
|
xAxis: {
|
2244
|
-
type:
|
2245
|
-
data: [
|
2419
|
+
type: "category",
|
2420
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
2246
2421
|
show: true,
|
2247
2422
|
name: "X轴",
|
2248
2423
|
boundaryGap: false,
|
2249
2424
|
nameTextStyle: {
|
2250
2425
|
color: "#606266",
|
2251
|
-
fontSize: 12
|
2426
|
+
fontSize: 12,
|
2252
2427
|
},
|
2253
2428
|
axisLabel: {
|
2254
2429
|
color: "#606266",
|
@@ -2258,24 +2433,24 @@ export const advancedFields = [
|
|
2258
2433
|
inverse: false,
|
2259
2434
|
axisLine: {
|
2260
2435
|
lineStyle: {
|
2261
|
-
color: "#E6EBF5"
|
2262
|
-
}
|
2436
|
+
color: "#E6EBF5",
|
2437
|
+
},
|
2263
2438
|
},
|
2264
2439
|
splitLine: {
|
2265
2440
|
show: true,
|
2266
2441
|
lineStyle: {
|
2267
|
-
type:
|
2268
|
-
color: "#E6EBF595"
|
2269
|
-
}
|
2270
|
-
}
|
2442
|
+
type: "dashed",
|
2443
|
+
color: "#E6EBF595",
|
2444
|
+
},
|
2445
|
+
},
|
2271
2446
|
},
|
2272
2447
|
yAxis: {
|
2273
|
-
type:
|
2448
|
+
type: "value",
|
2274
2449
|
show: true,
|
2275
2450
|
name: "Y轴",
|
2276
2451
|
nameTextStyle: {
|
2277
2452
|
color: "#606266",
|
2278
|
-
fontSize: 12
|
2453
|
+
fontSize: 12,
|
2279
2454
|
},
|
2280
2455
|
axisLabel: {
|
2281
2456
|
color: "#606266",
|
@@ -2286,110 +2461,167 @@ export const advancedFields = [
|
|
2286
2461
|
axisLine: {
|
2287
2462
|
show: false,
|
2288
2463
|
lineStyle: {
|
2289
|
-
color: ""
|
2290
|
-
}
|
2464
|
+
color: "",
|
2465
|
+
},
|
2291
2466
|
},
|
2292
2467
|
splitLine: {
|
2293
2468
|
show: true,
|
2294
2469
|
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
|
-
}],
|
2470
|
+
color: "#E6EBF5",
|
2321
2471
|
},
|
2322
|
-
cap: 'round',
|
2323
|
-
shadowColor: '#08C08450',
|
2324
|
-
shadowBlur: 4,
|
2325
|
-
shadowOffsetY: 6
|
2326
|
-
},
|
2327
|
-
emphasis: {
|
2328
|
-
scale: 1,
|
2329
|
-
focus: 'series'
|
2330
2472
|
},
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
},
|
2344
|
-
lineStyle: {
|
2345
|
-
color: {
|
2346
|
-
type: 'linear',
|
2347
|
-
x: 0.5,
|
2348
|
-
y: 0.5,
|
2349
|
-
r: 0.5,
|
2350
|
-
colorStops: [{
|
2351
|
-
offset: 0, color: '#FF6116' // 0% 处的颜色
|
2352
|
-
}, {
|
2353
|
-
offset: 1, color: '#F9A980' // 100% 处的颜色
|
2354
|
-
}],
|
2473
|
+
},
|
2474
|
+
series: [
|
2475
|
+
{
|
2476
|
+
name: "R1",
|
2477
|
+
data: [220, 282, 111, 234, 220, 340, 310],
|
2478
|
+
type: "line",
|
2479
|
+
stack: "Total",
|
2480
|
+
label: {
|
2481
|
+
show: true,
|
2482
|
+
fontSize: 12,
|
2483
|
+
color: "#212121",
|
2484
|
+
fontWeight: "normal",
|
2355
2485
|
},
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
|
2486
|
+
lineStyle: {
|
2487
|
+
color: {
|
2488
|
+
type: "linear",
|
2489
|
+
x: 0.5,
|
2490
|
+
y: 0.5,
|
2491
|
+
r: 0.5,
|
2492
|
+
colorStops: [
|
2493
|
+
{
|
2494
|
+
offset: 0,
|
2495
|
+
color: "#08C084", // 0% 处的颜色
|
2496
|
+
},
|
2497
|
+
{
|
2498
|
+
offset: 1,
|
2499
|
+
color: "#97EACE", // 100% 处的颜色
|
2500
|
+
},
|
2501
|
+
],
|
2502
|
+
},
|
2503
|
+
cap: "round",
|
2504
|
+
shadowColor: "#08C08450",
|
2505
|
+
shadowBlur: 4,
|
2506
|
+
shadowOffsetY: 6,
|
2507
|
+
},
|
2508
|
+
itemStyle: {
|
2509
|
+
color: {
|
2510
|
+
type: "linear",
|
2511
|
+
x: 0.5,
|
2512
|
+
y: 0.5,
|
2513
|
+
r: 0.5,
|
2514
|
+
colorStops: [
|
2515
|
+
{
|
2516
|
+
offset: 0,
|
2517
|
+
color: "#08C084", // 0% 处的颜色
|
2518
|
+
},
|
2519
|
+
{
|
2520
|
+
offset: 1,
|
2521
|
+
color: "#97EACE", // 100% 处的颜色
|
2522
|
+
},
|
2523
|
+
],
|
2524
|
+
},
|
2525
|
+
cap: "round",
|
2526
|
+
shadowColor: "#08C08450",
|
2527
|
+
shadowBlur: 4,
|
2528
|
+
shadowOffsetY: 6,
|
2529
|
+
},
|
2530
|
+
emphasis: {
|
2531
|
+
scale: 1,
|
2532
|
+
focus: "series",
|
2533
|
+
},
|
2534
|
+
showSymbol: false,
|
2535
|
+
smooth: true,
|
2360
2536
|
},
|
2361
|
-
|
2362
|
-
|
2363
|
-
|
2537
|
+
{
|
2538
|
+
name: "R2",
|
2539
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
2540
|
+
type: "line",
|
2541
|
+
stack: "Total",
|
2542
|
+
label: {
|
2543
|
+
show: true,
|
2544
|
+
fontSize: 12,
|
2545
|
+
color: "#212121",
|
2546
|
+
fontWeight: "normal",
|
2547
|
+
},
|
2548
|
+
lineStyle: {
|
2549
|
+
color: {
|
2550
|
+
type: "linear",
|
2551
|
+
x: 0.5,
|
2552
|
+
y: 0.5,
|
2553
|
+
r: 0.5,
|
2554
|
+
colorStops: [
|
2555
|
+
{
|
2556
|
+
offset: 0,
|
2557
|
+
color: "#FF6116", // 0% 处的颜色
|
2558
|
+
},
|
2559
|
+
{
|
2560
|
+
offset: 1,
|
2561
|
+
color: "#F9A980", // 100% 处的颜色
|
2562
|
+
},
|
2563
|
+
],
|
2564
|
+
},
|
2565
|
+
cap: "round",
|
2566
|
+
shadowColor: "#FF611650",
|
2567
|
+
shadowBlur: 4,
|
2568
|
+
shadowOffsetY: 6,
|
2569
|
+
},
|
2570
|
+
itemStyle: {
|
2571
|
+
color: {
|
2572
|
+
type: "linear",
|
2573
|
+
x: 0.5,
|
2574
|
+
y: 0.5,
|
2575
|
+
r: 0.5,
|
2576
|
+
colorStops: [
|
2577
|
+
{
|
2578
|
+
offset: 0,
|
2579
|
+
color: "#FF6116", // 0% 处的颜色
|
2580
|
+
},
|
2581
|
+
{
|
2582
|
+
offset: 1,
|
2583
|
+
color: "#F9A980", // 100% 处的颜色
|
2584
|
+
},
|
2585
|
+
],
|
2586
|
+
},
|
2587
|
+
cap: "round",
|
2588
|
+
shadowColor: "#FF611650",
|
2589
|
+
shadowBlur: 4,
|
2590
|
+
shadowOffsetY: 6,
|
2591
|
+
},
|
2592
|
+
emphasis: {
|
2593
|
+
scale: 1,
|
2594
|
+
focus: "series",
|
2595
|
+
},
|
2596
|
+
showSymbol: false,
|
2597
|
+
smooth: true,
|
2364
2598
|
},
|
2365
|
-
|
2366
|
-
smooth: true,
|
2367
|
-
}]
|
2368
|
-
|
2599
|
+
],
|
2369
2600
|
},
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2601
|
+
echartConfig: "",
|
2602
|
+
|
2603
|
+
...httpConfig,
|
2604
|
+
|
2605
|
+
onClick: "",
|
2373
2606
|
onCreated: "",
|
2374
2607
|
onMounted: "this.loadDataDefaultHandle()",
|
2375
|
-
|
2608
|
+
...defaultWfConfig,
|
2376
2609
|
showRuleFlag: 1,
|
2377
2610
|
showRuleEnabled: 1,
|
2378
|
-
showRules: []
|
2379
|
-
}
|
2611
|
+
showRules: [],
|
2612
|
+
},
|
2380
2613
|
},
|
2381
2614
|
{
|
2382
|
-
type:
|
2383
|
-
icon:
|
2615
|
+
type: "echart",
|
2616
|
+
icon: "echart",
|
2384
2617
|
formItemFlag: false,
|
2385
2618
|
options: {
|
2386
2619
|
name: "",
|
2387
|
-
echartHeight:
|
2620
|
+
echartHeight: "200",
|
2388
2621
|
hidden: !1,
|
2389
|
-
echarPieOption: {}
|
2390
|
-
}
|
2391
|
-
}
|
2392
|
-
,
|
2622
|
+
echarPieOption: {},
|
2623
|
+
},
|
2624
|
+
},
|
2393
2625
|
/*{
|
2394
2626
|
type: 'news-list',
|
2395
2627
|
icon: 'news-list',
|
@@ -2495,6 +2727,7 @@ export const advancedFields = [
|
|
2495
2727
|
keyName: "",
|
2496
2728
|
keyNameSuffix: "",
|
2497
2729
|
label: "",
|
2730
|
+
labelColor: "",
|
2498
2731
|
submitFlag: true,
|
2499
2732
|
disabled: !1,
|
2500
2733
|
hidden: !1,
|
@@ -2507,81 +2740,64 @@ export const advancedFields = [
|
|
2507
2740
|
entityTableDesc: null,
|
2508
2741
|
onCreated: "this.loadDataDefaultHandle();",
|
2509
2742
|
onMounted: "",
|
2743
|
+
onAfterConfirmFile: "",
|
2510
2744
|
vabUpload: 1,
|
2511
|
-
|
2745
|
+
|
2746
|
+
...httpConfig,
|
2512
2747
|
formScriptCode: "getList",
|
2513
|
-
|
2514
|
-
|
2515
|
-
wfEdit: false,
|
2516
|
-
enabledByWf: false,
|
2517
|
-
hiddenByWf: false,
|
2518
|
-
wfConfigData: [],
|
2748
|
+
|
2749
|
+
...defaultWfConfig,
|
2519
2750
|
|
2520
2751
|
showRuleFlag: 1,
|
2521
2752
|
showRuleEnabled: 1,
|
2522
|
-
showRules: []
|
2523
|
-
|
2753
|
+
showRules: [],
|
2754
|
+
|
2755
|
+
hiddenFileInfo: false,
|
2756
|
+
hiddenFileName: false,
|
2757
|
+
showFileSize: false,
|
2758
|
+
showFileCreateBy: false,
|
2759
|
+
showFileCreateDate: false,
|
2760
|
+
widgetSize: 2,
|
2761
|
+
},
|
2524
2762
|
},
|
2525
2763
|
{
|
2526
2764
|
type: "vabsearch",
|
2527
2765
|
icon: "searchbox",
|
2528
2766
|
commonFlag: !0,
|
2767
|
+
columnFlag: true,
|
2529
2768
|
formItemFlag: !0,
|
2530
2769
|
tableField: null,
|
2531
2770
|
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
|
-
}
|
2771
|
+
...vabsearchConfig,
|
2772
|
+
},
|
2773
|
+
},
|
2774
|
+
{
|
2775
|
+
type: "singerSearch",
|
2776
|
+
icon: "searchbox",
|
2777
|
+
// commonFlag: !0,
|
2778
|
+
// columnFlag: true,
|
2779
|
+
formItemFlag: !0,
|
2780
|
+
tableField: null,
|
2781
|
+
options: {
|
2782
|
+
...vabsearchConfig,
|
2783
|
+
},
|
2784
|
+
},
|
2785
|
+
{
|
2786
|
+
type: "multiSearch",
|
2787
|
+
icon: "searchbox",
|
2788
|
+
// commonFlag: !0,
|
2789
|
+
// columnFlag: true,
|
2790
|
+
formItemFlag: !0,
|
2791
|
+
tableField: null,
|
2792
|
+
options: {
|
2793
|
+
...vabsearchConfig,
|
2794
|
+
},
|
2580
2795
|
},
|
2581
2796
|
{
|
2582
2797
|
type: "search_button",
|
2583
2798
|
icon: "button",
|
2584
2799
|
commonFlag: !0,
|
2800
|
+
columnFlag: true,
|
2585
2801
|
formItemFlag: !1,
|
2586
2802
|
options: {
|
2587
2803
|
name: "",
|
@@ -2602,33 +2818,31 @@ export const advancedFields = [
|
|
2602
2818
|
},*/
|
2603
2819
|
// vabSearchField: null,
|
2604
2820
|
// onSearchConfirm: "",
|
2605
|
-
dialogModel:
|
2821
|
+
dialogModel: "1",
|
2606
2822
|
systemDialogUrl: null,
|
2607
2823
|
accessType: "1",
|
2608
2824
|
onClick: "",
|
2609
2825
|
onCreated: "",
|
2610
2826
|
onMounted: "",
|
2611
|
-
clickBindEvent:
|
2827
|
+
clickBindEvent: "1",
|
2828
|
+
onBeforeClickButton: null,
|
2612
2829
|
searchDialogConfig: {
|
2613
2830
|
...defaultSearchDialogConfig,
|
2614
|
-
tableEnabled: true
|
2831
|
+
tableEnabled: true,
|
2615
2832
|
},
|
2616
|
-
|
2617
|
-
|
2618
|
-
enabledByWf: false,
|
2619
|
-
hiddenByWf: false,
|
2620
|
-
wfConfigData: [],
|
2621
|
-
|
2833
|
+
...defaultWfConfig,
|
2834
|
+
...defaultWidgetShowRuleConfig,
|
2622
2835
|
showRuleFlag: 1,
|
2623
2836
|
showRuleEnabled: 1,
|
2624
|
-
showRules: []
|
2625
|
-
}
|
2837
|
+
showRules: [],
|
2838
|
+
},
|
2626
2839
|
},
|
2627
2840
|
{
|
2628
2841
|
type: "save_button",
|
2629
2842
|
targetType: "button",
|
2630
2843
|
icon: "button",
|
2631
2844
|
commonFlag: !0,
|
2845
|
+
columnFlag: true,
|
2632
2846
|
formItemFlag: !1,
|
2633
2847
|
options: {
|
2634
2848
|
name: "",
|
@@ -2651,19 +2865,17 @@ export const advancedFields = [
|
|
2651
2865
|
accessType: "1",
|
2652
2866
|
saveButton: true,
|
2653
2867
|
clickBindEvent: null,
|
2868
|
+
onBeforeClickButton: null,
|
2654
2869
|
searchDialogConfig: {
|
2655
|
-
...defaultSearchDialogConfig
|
2870
|
+
...defaultSearchDialogConfig,
|
2656
2871
|
},
|
2657
|
-
|
2658
|
-
|
2659
|
-
enabledByWf: false,
|
2872
|
+
...defaultWfConfig,
|
2873
|
+
...defaultWidgetShowRuleConfig,
|
2660
2874
|
hiddenByWf: true,
|
2661
|
-
wfConfigData: [],
|
2662
2875
|
|
2663
2876
|
showRuleFlag: 1,
|
2664
2877
|
showRuleEnabled: 1,
|
2665
|
-
showRules: []
|
2666
|
-
|
2878
|
+
showRules: [],
|
2667
2879
|
},
|
2668
2880
|
},
|
2669
2881
|
{
|
@@ -2671,6 +2883,7 @@ export const advancedFields = [
|
|
2671
2883
|
targetType: "button",
|
2672
2884
|
icon: "button",
|
2673
2885
|
commonFlag: !0,
|
2886
|
+
columnFlag: true,
|
2674
2887
|
formItemFlag: !1,
|
2675
2888
|
options: {
|
2676
2889
|
name: "",
|
@@ -2691,18 +2904,15 @@ export const advancedFields = [
|
|
2691
2904
|
onClick: "this.getFormRef().$baseReload()",
|
2692
2905
|
accessType: "1",
|
2693
2906
|
clickBindEvent: null,
|
2907
|
+
onBeforeClickButton: null,
|
2694
2908
|
searchDialogConfig: {
|
2695
|
-
...defaultSearchDialogConfig
|
2909
|
+
...defaultSearchDialogConfig,
|
2696
2910
|
},
|
2697
|
-
|
2698
|
-
|
2699
|
-
enabledByWf: true,
|
2700
|
-
hiddenByWf: false,
|
2701
|
-
wfConfigData: [],
|
2702
|
-
|
2911
|
+
...defaultWfConfig,
|
2912
|
+
...defaultWidgetShowRuleConfig,
|
2703
2913
|
showRuleFlag: 1,
|
2704
2914
|
showRuleEnabled: 1,
|
2705
|
-
showRules: []
|
2915
|
+
showRules: [],
|
2706
2916
|
},
|
2707
2917
|
},
|
2708
2918
|
{
|
@@ -2710,6 +2920,7 @@ export const advancedFields = [
|
|
2710
2920
|
icon: "list-export",
|
2711
2921
|
formItemFlag: !1,
|
2712
2922
|
commonFlag: !0,
|
2923
|
+
columnFlag: true,
|
2713
2924
|
tableField: null,
|
2714
2925
|
options: {
|
2715
2926
|
name: "",
|
@@ -2717,28 +2928,57 @@ export const advancedFields = [
|
|
2717
2928
|
keyName: "",
|
2718
2929
|
hidden: !1,
|
2719
2930
|
customClass: "",
|
2720
|
-
exportFileName:
|
2721
|
-
tableRef:
|
2931
|
+
exportFileName: "导出",
|
2932
|
+
tableRef: "",
|
2722
2933
|
tableExportParam: "",
|
2934
|
+
showImageAtTable: false,
|
2935
|
+
tableExportFlag: 1,
|
2936
|
+
|
2723
2937
|
onCreated: "",
|
2724
2938
|
onMounted: "",
|
2725
|
-
|
2726
|
-
|
2727
|
-
enabledByWf: false,
|
2728
|
-
hiddenByWf: false,
|
2729
|
-
wfConfigData: [],
|
2730
|
-
|
2939
|
+
...defaultWfConfig,
|
2940
|
+
...defaultWidgetShowRuleConfig,
|
2731
2941
|
showRuleFlag: 1,
|
2732
2942
|
showRuleEnabled: 1,
|
2733
|
-
showRules: []
|
2943
|
+
showRules: [],
|
2944
|
+
},
|
2945
|
+
},
|
2946
|
+
{
|
2947
|
+
type: "select-export-button",
|
2948
|
+
icon: "list-export",
|
2949
|
+
formItemFlag: !1,
|
2950
|
+
commonFlag: !0,
|
2951
|
+
columnFlag: true,
|
2952
|
+
options: {
|
2953
|
+
name: "",
|
2954
|
+
keyNameEnabled: !1,
|
2955
|
+
keyName: "",
|
2956
|
+
hidden: !1,
|
2957
|
+
label: "明细导出",
|
2958
|
+
customClass: "",
|
2959
|
+
buttonTypeFlag: 1,
|
2960
|
+
type: "",
|
2961
|
+
exportFileName: "明细导出",
|
2962
|
+
tableRef: "",
|
2963
|
+
tableExportParam: "",
|
2964
|
+
showImageAtTable: false,
|
2965
|
+
selectExportFlag: 1,
|
2734
2966
|
|
2735
|
-
|
2967
|
+
onCreated: "",
|
2968
|
+
onMounted: "",
|
2969
|
+
...defaultWfConfig,
|
2970
|
+
...defaultWidgetShowRuleConfig,
|
2971
|
+
showRuleFlag: 1,
|
2972
|
+
showRuleEnabled: 1,
|
2973
|
+
showRules: [],
|
2974
|
+
},
|
2736
2975
|
},
|
2737
2976
|
{
|
2738
2977
|
type: "add_button",
|
2739
2978
|
targetType: "button",
|
2740
2979
|
icon: "button",
|
2741
2980
|
commonFlag: !0,
|
2981
|
+
columnFlag: true,
|
2742
2982
|
formItemFlag: !1,
|
2743
2983
|
options: {
|
2744
2984
|
name: "",
|
@@ -2758,76 +2998,82 @@ export const advancedFields = [
|
|
2758
2998
|
onMounted: "",
|
2759
2999
|
onClick: "",
|
2760
3000
|
clickBindEvent: null,
|
3001
|
+
onBeforeClickButton: null,
|
2761
3002
|
searchDialogConfig: {
|
2762
|
-
...defaultSearchDialogConfig
|
3003
|
+
...defaultSearchDialogConfig,
|
2763
3004
|
},
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
hiddenByWf: false,
|
2768
|
-
wfConfigData: [],
|
2769
|
-
|
3005
|
+
...defaultWfConfig,
|
3006
|
+
hiddenByWf: true,
|
3007
|
+
...defaultWidgetShowRuleConfig,
|
2770
3008
|
showRuleFlag: 1,
|
2771
3009
|
showRuleEnabled: 1,
|
2772
|
-
showRules: []
|
3010
|
+
showRules: [],
|
2773
3011
|
},
|
2774
3012
|
},
|
2775
3013
|
{
|
2776
|
-
type: "
|
2777
|
-
targetType: "button",
|
3014
|
+
type: "import-button",
|
2778
3015
|
icon: "button",
|
2779
3016
|
commonFlag: !0,
|
3017
|
+
columnFlag: true,
|
2780
3018
|
formItemFlag: !1,
|
2781
3019
|
options: {
|
2782
3020
|
name: "",
|
2783
|
-
label: "
|
3021
|
+
label: "导入",
|
2784
3022
|
columnWidth: "200px",
|
2785
3023
|
size: "",
|
2786
|
-
|
3024
|
+
|
3025
|
+
// displayStyle: "block",
|
2787
3026
|
disabled: !1,
|
2788
3027
|
hidden: !1,
|
3028
|
+
buttonTypeFlag: 1,
|
2789
3029
|
type: "primary",
|
2790
|
-
plain: !1,
|
3030
|
+
/*plain: !1,
|
2791
3031
|
round: !1,
|
2792
3032
|
circle: !1,
|
2793
|
-
icon: "el-icon-
|
3033
|
+
icon: "el-icon-download",*/
|
2794
3034
|
customClass: "",
|
2795
3035
|
onCreated: "",
|
2796
3036
|
onMounted: "",
|
2797
|
-
//
|
2798
|
-
|
2799
|
-
accessType: "1",
|
2800
|
-
saveButton: true,
|
2801
|
-
clickBindEvent: null,
|
3037
|
+
// clickBindEvent: null,
|
3038
|
+
onBeforeClickButton: null,
|
2802
3039
|
searchDialogConfig: {
|
2803
|
-
...defaultSearchDialogConfig
|
3040
|
+
...defaultSearchDialogConfig,
|
2804
3041
|
},
|
2805
|
-
|
2806
|
-
wfEdit: false,
|
2807
|
-
enabledByWf: false,
|
3042
|
+
...defaultWfConfig,
|
2808
3043
|
hiddenByWf: true,
|
2809
|
-
|
3044
|
+
...defaultWidgetShowRuleConfig,
|
3045
|
+
importFileLimitSize: 200,
|
3046
|
+
importEntity: "",
|
3047
|
+
importAttachCode: "",
|
3048
|
+
importAttachName: "",
|
3049
|
+
importScriptCode: "",
|
3050
|
+
onBeforeImport: "",
|
3051
|
+
enabledImportPreHandle: false,
|
3052
|
+
tableRef: "",
|
3053
|
+
onSuccessImport: "",
|
2810
3054
|
|
2811
3055
|
showRuleFlag: 1,
|
2812
3056
|
showRuleEnabled: 1,
|
2813
|
-
showRules: []
|
2814
|
-
|
3057
|
+
showRules: [],
|
2815
3058
|
},
|
2816
3059
|
},
|
2817
3060
|
{
|
2818
|
-
type: "
|
3061
|
+
type: "import2-button",
|
2819
3062
|
icon: "button",
|
2820
3063
|
commonFlag: !0,
|
3064
|
+
columnFlag: true,
|
2821
3065
|
formItemFlag: !1,
|
2822
3066
|
options: {
|
2823
3067
|
name: "",
|
2824
|
-
label: "
|
3068
|
+
label: "明细导入",
|
2825
3069
|
columnWidth: "200px",
|
2826
3070
|
size: "",
|
3071
|
+
|
2827
3072
|
// displayStyle: "block",
|
2828
3073
|
disabled: !1,
|
2829
3074
|
hidden: !1,
|
2830
|
-
|
3075
|
+
buttonTypeFlag: 1,
|
3076
|
+
type: "",
|
2831
3077
|
/*plain: !1,
|
2832
3078
|
round: !1,
|
2833
3079
|
circle: !1,
|
@@ -2836,29 +3082,32 @@ export const advancedFields = [
|
|
2836
3082
|
onCreated: "",
|
2837
3083
|
onMounted: "",
|
2838
3084
|
// clickBindEvent: null,
|
3085
|
+
onBeforeClickButton: null,
|
2839
3086
|
searchDialogConfig: {
|
2840
|
-
...defaultSearchDialogConfig
|
3087
|
+
...defaultSearchDialogConfig,
|
2841
3088
|
},
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
3089
|
+
...defaultWfConfig,
|
3090
|
+
hiddenByWf: true,
|
3091
|
+
...defaultWidgetShowRuleConfig,
|
3092
|
+
frontImportFlag: 1,
|
3093
|
+
importFileLimitSize: 200,
|
3094
|
+
importAttachCode: "",
|
3095
|
+
importAttachName: "",
|
3096
|
+
tableRef: "",
|
3097
|
+
onConfirmImportEnabled: false,
|
3098
|
+
onConfirmImport: "",
|
3099
|
+
onSuccessImport: "",
|
2852
3100
|
|
2853
3101
|
showRuleFlag: 1,
|
2854
3102
|
showRuleEnabled: 1,
|
2855
|
-
showRules: []
|
3103
|
+
showRules: [],
|
2856
3104
|
},
|
2857
3105
|
},
|
2858
3106
|
{
|
2859
3107
|
type: "print-button",
|
2860
3108
|
icon: "button",
|
2861
3109
|
commonFlag: !0,
|
3110
|
+
columnFlag: true,
|
2862
3111
|
formItemFlag: !1,
|
2863
3112
|
options: {
|
2864
3113
|
name: "",
|
@@ -2877,25 +3126,24 @@ export const advancedFields = [
|
|
2877
3126
|
onCreated: "",
|
2878
3127
|
onMounted: "",
|
2879
3128
|
// clickBindEvent: null,
|
3129
|
+
onBeforeClickButton: null,
|
2880
3130
|
searchDialogConfig: {
|
2881
|
-
...defaultSearchDialogConfig
|
3131
|
+
...defaultSearchDialogConfig,
|
2882
3132
|
},
|
2883
|
-
|
2884
|
-
|
2885
|
-
enabledByWf: false,
|
2886
|
-
hiddenByWf: false,
|
2887
|
-
wfConfigData: [],
|
3133
|
+
...defaultWfConfig,
|
3134
|
+
...defaultWidgetShowRuleConfig,
|
2888
3135
|
printTableRef: "",
|
2889
3136
|
printItems: [],
|
2890
3137
|
|
2891
3138
|
showRuleFlag: 1,
|
2892
3139
|
showRuleEnabled: 1,
|
2893
|
-
showRules: []
|
3140
|
+
showRules: [],
|
2894
3141
|
},
|
2895
3142
|
},
|
2896
3143
|
{
|
2897
3144
|
type: "baseAttachment",
|
2898
3145
|
icon: "file-upload-field",
|
3146
|
+
columnFlag: true,
|
2899
3147
|
formItemFlag: !0,
|
2900
3148
|
tableField: null,
|
2901
3149
|
options: {
|
@@ -2904,6 +3152,7 @@ export const advancedFields = [
|
|
2904
3152
|
keyName: "",
|
2905
3153
|
keyNameSuffix: "",
|
2906
3154
|
label: "",
|
3155
|
+
labelColor: "",
|
2907
3156
|
submitFlag: true,
|
2908
3157
|
disabled: !1,
|
2909
3158
|
hidden: !1,
|
@@ -2916,21 +3165,19 @@ export const advancedFields = [
|
|
2916
3165
|
entityTableDesc: null,
|
2917
3166
|
onCreated: "",
|
2918
3167
|
onMounted: "",
|
2919
|
-
|
2920
|
-
|
2921
|
-
enabledByWf: false,
|
2922
|
-
hiddenByWf: false,
|
2923
|
-
wfConfigData: [],
|
3168
|
+
onAfterConfirmFile: "",
|
3169
|
+
...defaultWfConfig,
|
2924
3170
|
|
2925
3171
|
showRuleFlag: 1,
|
2926
3172
|
showRuleEnabled: 1,
|
2927
|
-
showRules: []
|
2928
|
-
}
|
3173
|
+
showRules: [],
|
3174
|
+
},
|
2929
3175
|
},
|
2930
3176
|
{
|
2931
3177
|
type: "status",
|
2932
3178
|
icon: "status",
|
2933
3179
|
commonFlag: !0,
|
3180
|
+
columnFlag: true,
|
2934
3181
|
formItemFlag: !0,
|
2935
3182
|
tableField: null,
|
2936
3183
|
options: {
|
@@ -2938,6 +3185,7 @@ export const advancedFields = [
|
|
2938
3185
|
keyNameEnabled: !1,
|
2939
3186
|
keyName: "",
|
2940
3187
|
label: "",
|
3188
|
+
labelColor: "",
|
2941
3189
|
submitFlag: true,
|
2942
3190
|
disabled: !1,
|
2943
3191
|
hidden: !1,
|
@@ -2949,144 +3197,466 @@ export const advancedFields = [
|
|
2949
3197
|
statusParam: [],
|
2950
3198
|
onCreated: "",
|
2951
3199
|
onMounted: "",
|
3200
|
+
...defaultWfConfig,
|
2952
3201
|
|
2953
3202
|
showRuleFlag: 1,
|
2954
3203
|
showRuleEnabled: 1,
|
2955
|
-
showRules: []
|
2956
|
-
}
|
3204
|
+
showRules: [],
|
3205
|
+
},
|
2957
3206
|
},
|
2958
3207
|
{
|
2959
|
-
type:
|
2960
|
-
icon:
|
3208
|
+
type: "census",
|
3209
|
+
icon: "census",
|
2961
3210
|
commonFlag: !0,
|
2962
3211
|
formItemFlag: false,
|
2963
3212
|
options: {
|
2964
|
-
name:
|
3213
|
+
name: "",
|
2965
3214
|
keyNameEnabled: !1,
|
2966
3215
|
keyName: "",
|
2967
|
-
columnWidth:
|
3216
|
+
columnWidth: "200px",
|
2968
3217
|
hidden: false,
|
2969
|
-
customClass:
|
2970
|
-
space:
|
2971
|
-
censusClass:
|
3218
|
+
customClass: "", //自定义css类名
|
3219
|
+
space: "5",
|
3220
|
+
censusClass: "form-count",
|
2972
3221
|
censusItems: [
|
2973
3222
|
{
|
2974
3223
|
number: "1002",
|
2975
|
-
txt:
|
2976
|
-
detailItems: [
|
2977
|
-
|
2978
|
-
|
2979
|
-
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
3224
|
+
txt: "总数量",
|
3225
|
+
detailItems: [
|
3226
|
+
{
|
3227
|
+
txt: "跟进商机",
|
3228
|
+
number: "26",
|
3229
|
+
},
|
3230
|
+
{
|
3231
|
+
txt: "累计商机",
|
3232
|
+
number: "26",
|
3233
|
+
},
|
3234
|
+
],
|
2983
3235
|
},
|
2984
3236
|
{
|
2985
3237
|
number: "603",
|
2986
|
-
txt:
|
3238
|
+
txt: "总人数",
|
2987
3239
|
detailItems: [],
|
2988
3240
|
},
|
2989
3241
|
{
|
2990
3242
|
number: "5004",
|
2991
|
-
txt:
|
2992
|
-
detailItems: []
|
2993
|
-
}
|
3243
|
+
txt: "总订单",
|
3244
|
+
detailItems: [],
|
3245
|
+
},
|
2994
3246
|
],
|
2995
|
-
|
2996
|
-
|
2997
|
-
|
3247
|
+
|
3248
|
+
...httpConfig,
|
3249
|
+
|
2998
3250
|
onCreated: "",
|
2999
3251
|
onMounted: "",
|
3000
|
-
|
3252
|
+
...defaultWfConfig,
|
3001
3253
|
showRuleFlag: 1,
|
3002
3254
|
showRuleEnabled: 1,
|
3003
|
-
showRules: []
|
3004
|
-
}
|
3255
|
+
showRules: [],
|
3256
|
+
},
|
3005
3257
|
},
|
3258
|
+
|
3006
3259
|
{
|
3007
3260
|
type: "project-tag",
|
3008
3261
|
icon: "uploadbox",
|
3009
|
-
|
3262
|
+
commonFlag: !0,
|
3263
|
+
columnFlag: true,
|
3010
3264
|
formItemFlag: !0,
|
3011
3265
|
tableField: null,
|
3266
|
+
options: {
|
3267
|
+
...projectTagConfig,
|
3268
|
+
},
|
3269
|
+
},
|
3270
|
+
{
|
3271
|
+
type: "table2",
|
3272
|
+
category: "container",
|
3273
|
+
icon: "table",
|
3274
|
+
commonFlag: !0,
|
3275
|
+
formItemFlag: !0,
|
3276
|
+
rows: [],
|
3012
3277
|
options: {
|
3013
3278
|
name: "",
|
3014
|
-
keyNameEnabled: !
|
3279
|
+
keyNameEnabled: !0,
|
3015
3280
|
keyName: "",
|
3016
|
-
|
3017
|
-
|
3281
|
+
hidden: !1,
|
3282
|
+
customClass: "",
|
3283
|
+
styleTableClass: "",
|
3284
|
+
// fullWidth: false,
|
3018
3285
|
submitFlag: true,
|
3286
|
+
|
3287
|
+
...httpConfig,
|
3288
|
+
|
3289
|
+
onCreated: "this.loadDataDefaultHandle()",
|
3290
|
+
onMounted: "",
|
3291
|
+
...defaultWfConfig,
|
3292
|
+
showRuleFlag: 1,
|
3293
|
+
showRuleEnabled: 1,
|
3294
|
+
showRules: [],
|
3295
|
+
},
|
3296
|
+
},
|
3297
|
+
{
|
3298
|
+
type: "dropdown-menu",
|
3299
|
+
icon: "tab",
|
3300
|
+
// commonFlag: !0,
|
3301
|
+
// columnFlag: true,
|
3302
|
+
widgetList: [],
|
3303
|
+
options: {
|
3304
|
+
name: "",
|
3305
|
+
label: "",
|
3306
|
+
hidden: !1,
|
3019
3307
|
disabled: !1,
|
3020
|
-
|
3308
|
+
height: "",
|
3309
|
+
// isFullscreen: false,
|
3310
|
+
tabClass: "tab-boxCard tabCard-sty1",
|
3311
|
+
customClass: "",
|
3312
|
+
dropdownMenuFlag: 1,
|
3313
|
+
...defaultWfConfig,
|
3314
|
+
onCreated: "",
|
3315
|
+
onMounted: "",
|
3316
|
+
},
|
3317
|
+
},
|
3318
|
+
{
|
3319
|
+
type: "dropdown-item",
|
3320
|
+
icon: "tab-pane",
|
3321
|
+
internal: !0,
|
3322
|
+
options: {
|
3323
|
+
name: "",
|
3324
|
+
label: "",
|
3325
|
+
hidden: !1,
|
3326
|
+
active: !1,
|
3327
|
+
disabled: !1,
|
3328
|
+
customClass: "",
|
3329
|
+
dropdownItemFlag: 1,
|
3330
|
+
|
3331
|
+
onClick: "",
|
3332
|
+
clickBindEvent: null,
|
3333
|
+
onBeforeClickButton: null,
|
3334
|
+
searchDialogConfig: {
|
3335
|
+
...defaultSearchDialogConfig,
|
3336
|
+
},
|
3337
|
+
addTableDataConfig: {
|
3338
|
+
tableRef: null,
|
3339
|
+
tableData: {},
|
3340
|
+
},
|
3341
|
+
},
|
3342
|
+
}
|
3343
|
+
];
|
3344
|
+
|
3345
|
+
export const businessFields = [
|
3346
|
+
{
|
3347
|
+
type: "create_by-text",
|
3348
|
+
targetType: "text",
|
3349
|
+
icon: "text",
|
3350
|
+
commonFlag: !0,
|
3351
|
+
formItemFlag: !0,
|
3352
|
+
columnFlag: true,
|
3353
|
+
tableField: null,
|
3354
|
+
options: {
|
3355
|
+
name: "",
|
3356
|
+
keyNameEnabled: !0,
|
3357
|
+
keyName: "_createBy",
|
3358
|
+
label: "创建人",
|
3359
|
+
submitFlag: true,
|
3360
|
+
formField: "",
|
3021
3361
|
hidden: !1,
|
3022
3362
|
required: !1,
|
3363
|
+
customClass: "",
|
3364
|
+
defaultValue: "",
|
3365
|
+
labelAlign: "",
|
3023
3366
|
labelWidth: null,
|
3024
3367
|
labelHidden: !1,
|
3025
|
-
onCreated: "
|
3368
|
+
onCreated: "",
|
3026
3369
|
onMounted: "",
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
enabledByWf: false,
|
3034
|
-
hiddenByWf: false,
|
3035
|
-
wfConfigData: [],
|
3370
|
+
accessType: "1",
|
3371
|
+
labelColor: "",
|
3372
|
+
...defaultWfConfig,
|
3373
|
+
|
3374
|
+
autoValueEnabled: false,
|
3375
|
+
autoValueHanlde: null,
|
3036
3376
|
|
3037
3377
|
showRuleFlag: 1,
|
3038
3378
|
showRuleEnabled: 1,
|
3039
|
-
showRules: []
|
3040
|
-
|
3379
|
+
showRules: [],
|
3380
|
+
|
3381
|
+
...defaultTextFlagConfig,
|
3382
|
+
},
|
3041
3383
|
},
|
3042
3384
|
{
|
3043
|
-
type: "
|
3044
|
-
|
3045
|
-
icon: "
|
3385
|
+
type: "modify_by-text",
|
3386
|
+
targetType: "text",
|
3387
|
+
icon: "text",
|
3046
3388
|
commonFlag: !0,
|
3047
3389
|
formItemFlag: !0,
|
3048
|
-
|
3390
|
+
columnFlag: true,
|
3391
|
+
tableField: null,
|
3049
3392
|
options: {
|
3050
3393
|
name: "",
|
3051
3394
|
keyNameEnabled: !0,
|
3052
|
-
keyName: "",
|
3395
|
+
keyName: "_modifyBy",
|
3396
|
+
label: "更新人",
|
3397
|
+
submitFlag: true,
|
3398
|
+
formField: "",
|
3053
3399
|
hidden: !1,
|
3400
|
+
required: !1,
|
3054
3401
|
customClass: "",
|
3055
|
-
|
3056
|
-
|
3402
|
+
defaultValue: "",
|
3403
|
+
labelAlign: "",
|
3404
|
+
labelWidth: null,
|
3405
|
+
labelHidden: !1,
|
3406
|
+
onCreated: "",
|
3407
|
+
onMounted: "",
|
3408
|
+
accessType: "1",
|
3409
|
+
labelColor: "",
|
3410
|
+
...defaultWfConfig,
|
3411
|
+
|
3412
|
+
autoValueEnabled: false,
|
3413
|
+
autoValueHanlde: null,
|
3414
|
+
|
3415
|
+
showRuleFlag: 1,
|
3416
|
+
showRuleEnabled: 1,
|
3417
|
+
showRules: [],
|
3418
|
+
|
3419
|
+
...defaultTextFlagConfig,
|
3420
|
+
},
|
3421
|
+
},
|
3422
|
+
{
|
3423
|
+
type: "create_date-text",
|
3424
|
+
targetType: "text",
|
3425
|
+
icon: "text",
|
3426
|
+
commonFlag: !0,
|
3427
|
+
formItemFlag: !0,
|
3428
|
+
columnFlag: true,
|
3429
|
+
tableField: null,
|
3430
|
+
options: {
|
3431
|
+
name: "",
|
3432
|
+
keyNameEnabled: !0,
|
3433
|
+
keyName: "create_date",
|
3434
|
+
label: "创建时间",
|
3057
3435
|
submitFlag: true,
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3436
|
+
formField: "",
|
3437
|
+
hidden: !1,
|
3438
|
+
required: !1,
|
3439
|
+
customClass: "",
|
3440
|
+
defaultValue: "",
|
3441
|
+
labelAlign: "",
|
3442
|
+
labelWidth: null,
|
3443
|
+
labelHidden: !1,
|
3444
|
+
onCreated: "",
|
3062
3445
|
onMounted: "",
|
3446
|
+
accessType: "1",
|
3447
|
+
labelColor: "",
|
3448
|
+
...defaultWfConfig,
|
3449
|
+
|
3450
|
+
autoValueEnabled: false,
|
3451
|
+
autoValueHanlde: null,
|
3063
3452
|
|
3064
3453
|
showRuleFlag: 1,
|
3065
3454
|
showRuleEnabled: 1,
|
3066
|
-
showRules: []
|
3067
|
-
|
3455
|
+
showRules: [],
|
3456
|
+
|
3457
|
+
...defaultTextFlagConfig,
|
3458
|
+
},
|
3459
|
+
},
|
3460
|
+
{
|
3461
|
+
type: "modify_date-text",
|
3462
|
+
targetType: "text",
|
3463
|
+
icon: "text",
|
3464
|
+
commonFlag: !0,
|
3465
|
+
formItemFlag: !0,
|
3466
|
+
columnFlag: true,
|
3467
|
+
tableField: null,
|
3468
|
+
options: {
|
3469
|
+
name: "",
|
3470
|
+
keyNameEnabled: !0,
|
3471
|
+
keyName: "modify_date",
|
3472
|
+
label: "更新时间",
|
3473
|
+
submitFlag: true,
|
3474
|
+
formField: "",
|
3475
|
+
hidden: !1,
|
3476
|
+
required: !1,
|
3477
|
+
customClass: "",
|
3478
|
+
defaultValue: "",
|
3479
|
+
labelAlign: "",
|
3480
|
+
labelWidth: null,
|
3481
|
+
labelHidden: !1,
|
3482
|
+
onCreated: "",
|
3483
|
+
onMounted: "",
|
3484
|
+
accessType: "1",
|
3485
|
+
labelColor: "",
|
3486
|
+
...defaultWfConfig,
|
3487
|
+
|
3488
|
+
autoValueEnabled: false,
|
3489
|
+
autoValueHanlde: null,
|
3490
|
+
|
3491
|
+
showRuleFlag: 1,
|
3492
|
+
showRuleEnabled: 1,
|
3493
|
+
showRules: [],
|
3494
|
+
|
3495
|
+
...defaultTextFlagConfig,
|
3496
|
+
},
|
3497
|
+
},
|
3498
|
+
|
3499
|
+
{
|
3500
|
+
type: "user-vabsearch",
|
3501
|
+
targetType: "singerSearch",
|
3502
|
+
icon: "searchbox",
|
3503
|
+
commonFlag: !0,
|
3504
|
+
columnFlag: true,
|
3505
|
+
formItemFlag: !0,
|
3506
|
+
tableField: null,
|
3507
|
+
options: {
|
3508
|
+
...vabsearchConfig,
|
3509
|
+
vabSearchName: "nick_name",
|
3510
|
+
userDefaultVabSearch: true,
|
3511
|
+
label: "用户",
|
3512
|
+
labelColor: "",
|
3513
|
+
searchDialogConfig: {
|
3514
|
+
...defaultSearchDialogConfig,
|
3515
|
+
multipleChoices: false,
|
3516
|
+
formCode: "user_dialog",
|
3517
|
+
valueSourceField: "id",
|
3518
|
+
labelSourceField: "nick_name",
|
3519
|
+
},
|
3520
|
+
},
|
3521
|
+
},
|
3522
|
+
{
|
3523
|
+
type: "saleOrg-vabsearch",
|
3524
|
+
targetType: "singerSearch",
|
3525
|
+
icon: "searchbox",
|
3526
|
+
commonFlag: !0,
|
3527
|
+
columnFlag: true,
|
3528
|
+
formItemFlag: !0,
|
3529
|
+
tableField: null,
|
3530
|
+
options: {
|
3531
|
+
...vabsearchConfig,
|
3532
|
+
vabSearchName: "sale_org_name",
|
3533
|
+
saleOrgDefaultVabSearch: true,
|
3534
|
+
label: "机构",
|
3535
|
+
labelColor: "",
|
3536
|
+
searchDialogConfig: {
|
3537
|
+
...defaultSearchDialogConfig,
|
3538
|
+
multipleChoices: false,
|
3539
|
+
formCode: "sale_org_dialog",
|
3540
|
+
valueSourceField: "id",
|
3541
|
+
labelSourceField: "name",
|
3542
|
+
},
|
3543
|
+
},
|
3544
|
+
},
|
3545
|
+
|
3546
|
+
{
|
3547
|
+
type: "user-project-tag",
|
3548
|
+
targetType: "project-tag",
|
3549
|
+
icon: "uploadbox",
|
3550
|
+
commonFlag: !0,
|
3551
|
+
columnFlag: true,
|
3552
|
+
formItemFlag: !0,
|
3553
|
+
tableField: null,
|
3554
|
+
options: {
|
3555
|
+
...projectTagConfig,
|
3556
|
+
label: "用户",
|
3557
|
+
labelColor: "",
|
3558
|
+
tagFormCode: "user_dialog",
|
3559
|
+
tagLabelField: "nick_name",
|
3560
|
+
tagUniqueField: "id",
|
3561
|
+
tagFormLabelField: "nick_name",
|
3562
|
+
tagFormUniqueField: "id",
|
3563
|
+
tabDeleteEnabled: true,
|
3564
|
+
},
|
3565
|
+
},
|
3566
|
+
{
|
3567
|
+
type: "saleOrg-project-tag",
|
3568
|
+
targetType: "project-tag",
|
3569
|
+
icon: "uploadbox",
|
3570
|
+
commonFlag: !0,
|
3571
|
+
columnFlag: true,
|
3572
|
+
formItemFlag: !0,
|
3573
|
+
tableField: null,
|
3574
|
+
options: {
|
3575
|
+
...projectTagConfig,
|
3576
|
+
label: "机构",
|
3577
|
+
labelColor: "",
|
3578
|
+
tagFormCode: "sale_org_dialog",
|
3579
|
+
tagLabelField: "name",
|
3580
|
+
tagUniqueField: "id",
|
3581
|
+
tagFormLabelField: "name",
|
3582
|
+
tagFormUniqueField: "id",
|
3583
|
+
tabDeleteEnabled: true,
|
3584
|
+
},
|
3585
|
+
},
|
3586
|
+
{
|
3587
|
+
type: "copy_button",
|
3588
|
+
icon: "button",
|
3589
|
+
commonFlag: !0,
|
3590
|
+
columnFlag: true,
|
3591
|
+
formItemFlag: !1,
|
3592
|
+
options: {
|
3593
|
+
name: "",
|
3594
|
+
label: "复制",
|
3595
|
+
columnWidth: "200px",
|
3596
|
+
size: "",
|
3597
|
+
// displayStyle: "block",
|
3598
|
+
disabled: !1,
|
3599
|
+
hidden: !1,
|
3600
|
+
type: "primary",
|
3601
|
+
|
3602
|
+
customClass: "",
|
3603
|
+
onCreated: "",
|
3604
|
+
onMounted: "",
|
3605
|
+
copyButton: true,
|
3606
|
+
copyDataHandle: "",
|
3607
|
+
...defaultWfConfig,
|
3608
|
+
...defaultWidgetShowRuleConfig,
|
3609
|
+
hiddenByWf: true,
|
3610
|
+
|
3611
|
+
showRuleFlag: 1,
|
3612
|
+
showRuleEnabled: 1,
|
3613
|
+
showRules: [],
|
3614
|
+
},
|
3068
3615
|
},
|
3069
|
-
|
3616
|
+
{
|
3617
|
+
type: "tempStorage",
|
3618
|
+
icon: "uploadbox",
|
3619
|
+
commonFlag: !0,
|
3620
|
+
columnFlag: true,
|
3621
|
+
formItemFlag: !1,
|
3622
|
+
options: {
|
3623
|
+
name: "",
|
3624
|
+
// label: "暂存",
|
3625
|
+
columnWidth: "200px",
|
3626
|
+
disabled: !1,
|
3627
|
+
hidden: !1,
|
3628
|
+
|
3629
|
+
tempStorageFlag:1,
|
3630
|
+
tempStorageCode:null,
|
3631
|
+
|
3632
|
+
customClass: "",
|
3633
|
+
onCreated: "",
|
3634
|
+
onMounted: "",
|
3635
|
+
|
3636
|
+
...defaultWidgetShowRuleConfig,
|
3637
|
+
},
|
3638
|
+
},
|
3639
|
+
];
|
3070
3640
|
|
3071
3641
|
export const keyNamePrefixMap = {
|
3072
3642
|
vabUpload: "attachments_",
|
3073
|
-
baseAttachment: "attachments_"
|
3074
|
-
}
|
3643
|
+
baseAttachment: "attachments_",
|
3644
|
+
};
|
3075
3645
|
|
3076
|
-
export const customFields = []
|
3646
|
+
export const customFields = [];
|
3077
3647
|
|
3078
3648
|
export function addContainerWidgetSchema(containerSchema) {
|
3079
|
-
containers.push(containerSchema)
|
3649
|
+
containers.push(containerSchema);
|
3080
3650
|
}
|
3081
3651
|
|
3082
3652
|
export function addBasicFieldSchema(fieldSchema) {
|
3083
|
-
basicFields.push(fieldSchema)
|
3653
|
+
basicFields.push(fieldSchema);
|
3084
3654
|
}
|
3085
3655
|
|
3086
3656
|
export function addAdvancedFieldSchema(fieldSchema) {
|
3087
|
-
advancedFields.push(fieldSchema)
|
3657
|
+
advancedFields.push(fieldSchema);
|
3088
3658
|
}
|
3089
3659
|
|
3090
3660
|
export function addCustomWidgetSchema(widgetSchema) {
|
3091
|
-
customFields.push(widgetSchema)
|
3661
|
+
customFields.push(widgetSchema);
|
3092
3662
|
}
|