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