cloud-web-corejs 1.0.54-dev.7 → 1.0.54-dev.700
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 +23 -8
- package/src/App.vue +30 -34
- package/src/api/user.js +85 -40
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/fileLibraryDialog.vue +296 -0
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +69 -1
- package/src/components/VabUpload/index.vue +11 -2
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +1112 -0
- package/src/components/VabUpload/mixins.js +1881 -2
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +209 -119
- package/src/components/advancedSearchDialog/mixins.js +28 -1
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/index.js +44 -1
- package/src/components/baseAlert/index.vue +24 -20
- package/src/components/baseAlert/mixins.js +61 -1
- package/src/components/baseArea/index.vue +1543 -0
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/install.js +21 -5
- package/src/components/baseAttachment/mixins.js +310 -1
- package/src/components/baseInputBatch/mixins.js +58 -1
- package/src/components/baseInputExport/index.vue +21 -14
- package/src/components/baseInputExport/mixins.js +391 -1
- package/src/components/baseTabs/index.vue +16 -8
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/cnPrint/index.js +44 -1
- package/src/components/cnPrint/mixins.js +189 -1
- package/src/components/code-editor/index.vue +131 -62
- package/src/components/confirmDialog/index.js +41 -1
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +31 -1
- package/src/components/errorMsg/index.js +1 -1
- package/src/components/errorMsg/index.vue +78 -70
- package/src/components/errorMsg/mixins.js +6 -5
- package/src/components/excelExport/button.vue +86 -24
- package/src/components/excelExport/exportFieldDialog.vue +305 -33
- package/src/components/excelExport/index.js +2 -1
- package/src/components/excelExport/index.vue +112 -27
- package/src/components/excelExport/mixins.js +4 -1
- package/src/components/excelImport/index.js +13 -13
- package/src/components/excelImport/index.vue +2 -1
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +262 -150
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
- package/src/components/fileLibrary/filterDialog.vue +454 -0
- package/src/components/fileLibrary/index.vue +692 -269
- 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 +341 -207
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +245 -112
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
- package/src/components/fileLibrary/propertiesDialog.vue +113 -74
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +85 -4
- package/src/components/hiprint/css/bootstrap.min.css +6 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/components/hiprint/hiprint.bundle.js +15 -3
- package/src/components/hiprint/view/design/index.vue +140 -47
- package/src/components/hiprint/view/design/mixins.js +611 -1
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/jdPrint/index.js +44 -1
- package/src/components/jdPrint/mixins.js +208 -1
- package/src/components/jsonImport/exportUtil.js +190 -0
- package/src/components/jsonImport/index.js +219 -17
- package/src/components/jsonImport/mixins.js +333 -1
- package/src/components/langImport/index.js +80 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/langTag/mixins/addButton.js +51 -5
- package/src/components/langTag/mixins/deleteButton.js +55 -5
- package/src/components/langTag/mixins/view.js +47 -5
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +72 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- package/src/components/obsUpload/index.js +34 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +1476 -0
- package/src/components/onlineTalk/index.vue +328 -6
- package/src/components/onlineTalk/mixins.js +852 -1
- package/src/components/onlineTalk/talkUserDialog.vue +280 -0
- package/src/components/oplogTable/mixins.js +83 -4
- package/src/components/pddPrint/index.js +44 -1
- package/src/components/pddPrint/mixins.js +252 -1
- package/src/components/projectTag/mixins/addButton.js +52 -1
- package/src/components/projectTag/mixins/deleteButton.js +52 -1
- package/src/components/projectTag/mixins/view.js +43 -1
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptDescription/mixins.js +30 -1
- package/src/components/scriptTest/mixins.js +90 -1
- package/src/components/statusTag/mixins.js +66 -1
- package/src/components/table/CellSlot.vue +12 -9
- package/src/components/table/config.js +1 -1
- package/src/components/table/index.js +1191 -10
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +339 -0
- package/src/components/table/vxeFilter/index.js +2 -1
- package/src/components/table/vxeFilter/mixin.js +8 -6
- package/src/components/tempStorage/index.vue +76 -55
- package/src/components/tempStorage/tempStorageDialog.vue +179 -54
- package/src/components/vb-tabs/x-tabs.vue +56 -30
- package/src/components/vipPrint/index.js +44 -1
- package/src/components/vipPrint/mixins.js +268 -1
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +53 -0
- package/src/components/wf/mixins/setCandidateButton.js +161 -0
- package/src/components/wf/mixins/setCandidateDialog.js +213 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +69 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +2159 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +66 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +280 -1
- package/src/components/xform/docs//345/220/216/345/217/260/345/255/227/346/256/265/357/274/210/345/212/250/346/200/201/347/224/237/346/210/220/357/274/211JSON /350/257/264/346/230/216.md" +1261 -0
- package/src/components/xform/docs//346/225/260/346/215/256/350/241/250/346/240/274/345/212/250/346/200/201/345/210/227 JSON /350/257/264/346/230/216.md" +657 -0
- package/src/components/xform/form-designer/designer.js +2002 -9
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +14 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- 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 +86 -48
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1763 -8
- package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +223 -75
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +67 -54
- 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/area-select-widget.vue +260 -0
- 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/cascader-widget.vue +160 -90
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +95 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +15 -3
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +48 -5
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -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 +1880 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +810 -379
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +964 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +157 -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/utc-transform-mixin.js +75 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -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 +117 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +55 -28
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +112 -0
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +146 -0
- 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-export-item-button-widget.vue +92 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- 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 +16 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +82 -49
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +42 -37
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +111 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +4 -3
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +231 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
- package/src/components/xform/form-designer/indexMixin.js +838 -13
- package/src/components/xform/form-designer/refMixinDesign.js +1 -28
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +601 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +989 -168
- package/src/components/xform/form-designer/setting-panel/index.vue +41 -32
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +585 -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/buttonIcon-editor.vue +14 -15
- 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 +125 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1154 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
- 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 +1573 -579
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- 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 +34 -46
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +352 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- 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/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -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 +22 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +20 -0
- 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/icon-editor.vue +14 -15
- 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-cascader/checkStrictly-editor.vue +11 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/showAllLevels-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
- 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-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -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-script-input/script-input-editor.vue +55 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-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/select-export-item-button-editor.vue +71 -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 +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +100 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- 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 +17 -16
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +25 -25
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +11 -13
- 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/name-editor.vue +127 -50
- 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/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/prefixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -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/suffixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +304 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +19 -0
- 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 +372 -50
- 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 +230 -185
- package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +186 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +267 -103
- 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 +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2019 -938
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1237 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +206 -202
- package/src/components/xform/form-render/container-item/data-table-mixin.js +4032 -18
- package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +285 -0
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +336 -0
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1182 -419
- package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
- 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 +7 -7
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +182 -91
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/dynamicDialogRender.js +1 -1
- package/src/components/xform/form-render/formDynamicFieldMixin.js +131 -0
- package/src/components/xform/form-render/index.vue +79 -21
- package/src/components/xform/form-render/indexMixin.js +3965 -13
- package/src/components/xform/form-render/refMixin.js +3 -3
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/components/xform/lang/en-US.js +10 -0
- package/src/components/xform/lang/zh-CN.js +112 -90
- package/src/components/xform/mixins/defaultHandle.js +441 -2
- package/src/components/xform/mixins/scriptHttp.js +176 -3
- package/src/components/xform/utils/dynamicSchemaUtil.js +312 -0
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/formHttp.js +162 -0
- package/src/components/xform/utils/format.js +41 -34
- package/src/components/xform/utils/formula-util.js +969 -0
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/tableCellValidateUtil.js +148 -0
- package/src/components/xform/utils/tableColumnHelper.js +132 -0
- package/src/components/xform/utils/util.js +1550 -1
- package/src/components/xform/utils/validators.js +2 -5
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/components/xhsPrint/index.js +44 -1
- package/src/components/xhsPrint/mixins.js +269 -1
- package/src/directive/LimitNumber/index.js +125 -1
- package/src/directive/el-dialog-center/index.js +34 -1
- package/src/directive/el-drag-dialog/drag.js +86 -1
- package/src/directive/el-readonly/index.js +15 -1
- package/src/directive/permission/hasPermi.js +34 -1
- package/src/index.js +230 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +27 -0
- package/src/lang/locale/zh/login.js +26 -0
- package/src/layout/components/AppMain.vue +8 -1
- package/src/layout/components/Sidebar/default.vue +1653 -1222
- package/src/layout/components/Sidebar/index.vue +6 -1
- package/src/layout/components/TagsView/index.vue +43 -12
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +103 -0
- package/src/layout/components/extractedCode/viewDialog.vue +207 -0
- package/src/layout/components/langTool.vue +33 -30
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +17 -9
- package/src/mixins/selectDialog/index.js +266 -1
- package/src/mixins/tableTree/index.js +199 -4
- package/src/mixins/wf/index.js +33 -1
- package/src/permission.js +135 -18
- package/src/resources/js/base/common.js +109 -109
- package/src/router/index.js +4 -7
- package/src/router/modules/customer.js +13 -4
- package/src/router/modules/system.js +4 -0
- package/src/store/config/index.js +667 -1
- package/src/store/getters.js +4 -1
- package/src/store/modules/permission.js +46 -41
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +5 -8
- package/src/store/modules/user.js +367 -16
- package/src/utils/aes.js +2 -1
- package/src/utils/auth.js +1 -1
- package/src/utils/global.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/keepAlive.js +1 -1
- package/src/utils/pddLog.js +92 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +28 -28
- package/src/utils/vab.js +1268 -27
- package/src/utils/validate.js +1 -1
- package/src/utils/wf.js +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +84 -1
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +116 -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 +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +83 -0
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +125 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +539 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +65 -0
- package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
- package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
- package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
- package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +415 -0
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
- package/src/views/bd/setting/formVersion/tableDetailDiff.js +99 -0
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +514 -0
- package/src/views/bd/setting/formVersion/textDiff.js +102 -0
- package/src/views/bd/setting/form_import_log/edit.vue +130 -0
- package/src/views/bd/setting/form_import_log/list.vue +211 -0
- package/src/views/bd/setting/form_script/edit.vue +196 -74
- package/src/views/bd/setting/form_script/edit1.vue +410 -187
- package/src/views/bd/setting/form_script/form_list.vue +118 -37
- package/src/views/bd/setting/form_script/list.vue +95 -21
- package/src/views/bd/setting/form_script/list1.vue +205 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +265 -7
- package/src/views/bd/setting/form_script/mixins/edit1.js +259 -9
- package/src/views/bd/setting/form_script/mixins/form_list.js +322 -14
- package/src/views/bd/setting/form_script/mixins/list.js +307 -4
- package/src/views/bd/setting/form_script/mixins/list1.js +512 -14
- package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
- 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 +355 -184
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
- package/src/views/bd/setting/form_template/list.vue +301 -212
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +277 -9
- package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
- package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
- package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
- package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
- package/src/views/bd/setting/form_template/mixins/list.js +721 -22
- package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
- package/src/views/bd/setting/form_template/mixins/wf_list.js +430 -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 +161 -0
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +139 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +376 -0
- package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -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 +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +301 -0
- package/src/views/bd/setting/table_model/edit.vue +1079 -426
- package/src/views/bd/setting/table_model/list.vue +218 -126
- package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1309 -13
- package/src/views/bd/setting/table_model/mixins/list.js +475 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -3
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/utils/index.js +75 -1
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +235 -116
- package/src/views/user/area/list.vue +318 -0
- 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 +5 -2
- 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 +195 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -0
- package/src/views/user/extend_datasource/edit.vue +5 -1
- package/src/views/user/extend_datasource/list.vue +5 -1
- package/src/views/user/fieldTranslation/editDialog.vue +8 -8
- package/src/views/user/fieldTranslation/list.vue +33 -33
- package/src/views/user/file_type/edit.vue +30 -1
- package/src/views/user/file_type/list.vue +28 -0
- package/src/views/user/form/vform/designer.vue +792 -749
- package/src/views/user/form/vform/formFieldMapping.js +2 -3
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +67 -37
- package/src/views/user/form/view/edit.vue +56 -37
- package/src/views/user/form/view/list.vue +311 -52
- 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 +1117 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +18 -7
- package/src/views/user/login/default.vue +167 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +329 -118
- package/src/views/user/menu/list.vue +27 -1
- package/src/views/user/notify_message/dialog.vue +44 -22
- 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 +67 -11
- package/src/views/user/outLink/view.vue +39 -13
- package/src/views/user/position/list.vue +112 -72
- 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/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +609 -429
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/system_notice/infoDialog.vue +2 -1
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1391 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_edit.vue +117 -49
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/info.vue +253 -140
- package/src/views/user/user/list.vue +652 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +619 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +379 -250
- package/src/views/user/wf/wf_manage/list2.vue +854 -0
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
- 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 +138 -5
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
- package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
- package/src/views/user/workbench_menu/list.vue +555 -0
- package/src/components/excelExport/export-panel.js +0 -458
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +0 -1347
|
@@ -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,62 @@ 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
|
+
// 后台字段定义模式:字段本身由后台查询下发(适用于字段不固定、无法在设计器预配的场景)
|
|
35
|
+
dynamicSchemaEnabled: false,
|
|
36
|
+
// 后台脚本编码(支持 "formCode/scriptCode"),返回标准字段定义数组
|
|
37
|
+
dynamicSchemaScriptCode: null,
|
|
38
|
+
// 额外请求参数(JSON 字符串)
|
|
39
|
+
dynamicSchemaScriptParam: null,
|
|
40
|
+
// 转换脚本:将后台响应转成标准字段定义数组(可选,入参 res)
|
|
41
|
+
dynamicSchemaConvert: null,
|
|
42
|
+
// 自动布局每行列数
|
|
43
|
+
dynamicSchemaColumns: 4,
|
|
44
|
+
// 生成模式:append=追加到已配行之后,replace=替换全部行,anchor=按设计期占位行定位插入
|
|
45
|
+
dynamicSchemaMode: "append",
|
|
46
|
+
// anchor 模式:占位锚点行的 id(设计期某一行)
|
|
47
|
+
dynamicSchemaAnchorRowId: null,
|
|
48
|
+
// anchor 模式:插入位置 replace=替换占位行 / before=占位行之前 / after=占位行之后
|
|
49
|
+
dynamicSchemaAnchorPosition: "replace",
|
|
50
|
+
// anchor 模式:是否继承占位行的列布局(单元格数量/宽度/跨列),否则按 dynamicSchemaColumns 平铺
|
|
51
|
+
dynamicSchemaInheritLayout: false,
|
|
52
|
+
...defaultWfConfig,
|
|
53
|
+
},
|
|
32
54
|
},
|
|
33
55
|
{
|
|
34
56
|
type: "tab",
|
|
35
57
|
category: "container",
|
|
36
58
|
icon: "tab",
|
|
37
59
|
commonFlag: !0,
|
|
60
|
+
columnFlag: true,
|
|
38
61
|
tabs: [],
|
|
39
62
|
options: {
|
|
40
63
|
name: "",
|
|
41
64
|
hidden: !1,
|
|
42
|
-
height:
|
|
65
|
+
height: "",
|
|
43
66
|
// isFullscreen: false,
|
|
44
|
-
tabClass:
|
|
45
|
-
customClass: ""
|
|
46
|
-
|
|
67
|
+
tabClass: "tab-boxCard tabCard-sty1",
|
|
68
|
+
customClass: "",
|
|
69
|
+
...defaultWfConfig,
|
|
70
|
+
},
|
|
47
71
|
},
|
|
48
72
|
/* {
|
|
49
73
|
type: "sub-form",
|
|
@@ -99,9 +123,9 @@ export const containers = [
|
|
|
99
123
|
md: 12,
|
|
100
124
|
sm: 12,
|
|
101
125
|
xs: 12,
|
|
102
|
-
alignType:
|
|
126
|
+
alignType: "",
|
|
103
127
|
customClass: "",
|
|
104
|
-
}
|
|
128
|
+
},
|
|
105
129
|
},
|
|
106
130
|
{
|
|
107
131
|
type: "table-cell",
|
|
@@ -116,8 +140,8 @@ export const containers = [
|
|
|
116
140
|
cellHeight: "",
|
|
117
141
|
colspan: 1,
|
|
118
142
|
rowspan: 1,
|
|
119
|
-
customClass: ""
|
|
120
|
-
}
|
|
143
|
+
customClass: "",
|
|
144
|
+
},
|
|
121
145
|
},
|
|
122
146
|
{
|
|
123
147
|
type: "tab-pane",
|
|
@@ -131,8 +155,8 @@ export const containers = [
|
|
|
131
155
|
hidden: !1,
|
|
132
156
|
active: !1,
|
|
133
157
|
disabled: !1,
|
|
134
|
-
customClass: ""
|
|
135
|
-
}
|
|
158
|
+
customClass: "",
|
|
159
|
+
},
|
|
136
160
|
},
|
|
137
161
|
{
|
|
138
162
|
type: "data-table",
|
|
@@ -152,10 +176,13 @@ export const containers = [
|
|
|
152
176
|
label: "data-table",
|
|
153
177
|
submitFlag: true,
|
|
154
178
|
formField: "",
|
|
179
|
+
required: !1,
|
|
180
|
+
requiredHint: "",
|
|
155
181
|
hidden: !1,
|
|
156
182
|
rowSpacing: 8,
|
|
157
183
|
tableHeight: "",
|
|
158
184
|
tableWidth: "100%",
|
|
185
|
+
tableRowHeight: null,
|
|
159
186
|
customClass: "",
|
|
160
187
|
stripe: !0,
|
|
161
188
|
showIndex: !1,
|
|
@@ -181,66 +208,44 @@ export const containers = [
|
|
|
181
208
|
size: "small",
|
|
182
209
|
round: !1,
|
|
183
210
|
hidden: !0,
|
|
184
|
-
disabled: !1
|
|
185
|
-
},
|
|
211
|
+
disabled: !1,
|
|
212
|
+
},
|
|
213
|
+
{
|
|
186
214
|
name: "edit",
|
|
187
215
|
label: "编辑",
|
|
188
216
|
type: "text",
|
|
189
217
|
size: "small",
|
|
190
218
|
round: !1,
|
|
191
219
|
hidden: !1,
|
|
192
|
-
disabled: !1
|
|
193
|
-
},
|
|
220
|
+
disabled: !1,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
194
223
|
name: "delete",
|
|
195
224
|
label: "删除",
|
|
196
225
|
type: "text",
|
|
197
226
|
size: "small",
|
|
198
227
|
round: !1,
|
|
199
228
|
hidden: !1,
|
|
200
|
-
disabled: !1
|
|
201
|
-
}
|
|
229
|
+
disabled: !1,
|
|
230
|
+
},
|
|
231
|
+
],
|
|
202
232
|
pagination: {
|
|
203
233
|
currentPage: 1,
|
|
204
234
|
pageSizes: [10, 15, 20, 30, 50, 100, 200],
|
|
205
235
|
pageSize: 20,
|
|
206
|
-
total: 366
|
|
236
|
+
total: 366,
|
|
207
237
|
},
|
|
238
|
+
gridPageSize: 100,
|
|
239
|
+
gridPageSizeList: [
|
|
240
|
+
{ value: 50 },
|
|
241
|
+
{ value: 100 },
|
|
242
|
+
{ value: 200 },
|
|
243
|
+
{ value: 500 },
|
|
244
|
+
],
|
|
245
|
+
|
|
208
246
|
dsEnabled: !1,
|
|
209
247
|
dsName: "",
|
|
210
|
-
tableData: [
|
|
211
|
-
/*{
|
|
212
|
-
"flag": 1,
|
|
213
|
-
"gender": 1,
|
|
214
|
-
"mobile": "18900000000",
|
|
215
|
-
"modify_by": "admin",
|
|
216
|
-
"login_account": "admin",
|
|
217
|
-
"enabled": true,
|
|
218
|
-
"create_by": "admin",
|
|
219
|
-
"password": "$2a$10$pYkIeHldXBDIdKShgYjayuWM.NvmuYmewZ1D4qIFF3GL2g5bFzmdS",
|
|
220
|
-
"user_type": 0,
|
|
221
|
-
"nick_name": "admin",
|
|
222
|
-
"company_code": "mk_group",
|
|
223
|
-
"id": 1,
|
|
224
|
-
"create_date": "2021-12-05 23:12:20",
|
|
225
|
-
"modify_date": "2022-05-16 22:21:44",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"flag": 1,
|
|
229
|
-
"gender": 1,
|
|
230
|
-
"mobile": "18900000000",
|
|
231
|
-
"modify_by": "admin",
|
|
232
|
-
"login_account": "admin2",
|
|
233
|
-
"enabled": true,
|
|
234
|
-
"create_by": "admin",
|
|
235
|
-
"password": "$2a$10$pYkIeHldXBDIdKShgYjayuWM.NvmuYmewZ1D4qIFF3GL2g5bFzmdS",
|
|
236
|
-
"user_type": 0,
|
|
237
|
-
"nick_name": "admin2",
|
|
238
|
-
"company_code": "mk_group",
|
|
239
|
-
"id": 2,
|
|
240
|
-
"create_date": "2021-12-05 23:12:20",
|
|
241
|
-
"modify_date": "2022-05-16 22:21:44",
|
|
242
|
-
}*/
|
|
243
|
-
],
|
|
248
|
+
tableData: [],
|
|
244
249
|
tableCondition: "",
|
|
245
250
|
onCreated: "",
|
|
246
251
|
onMounted: "",
|
|
@@ -249,6 +254,13 @@ export const containers = [
|
|
|
249
254
|
onCellDblclick: "",
|
|
250
255
|
onSearchTable: "",
|
|
251
256
|
onResetTable: "",
|
|
257
|
+
dynamicColumnsScript: null,
|
|
258
|
+
dynamicColumnSourceType: "none",
|
|
259
|
+
dynamicColumnMode: "append",
|
|
260
|
+
dynamicColumnScriptCode: null,
|
|
261
|
+
dynamicColumnScriptParam: null,
|
|
262
|
+
dynamicSchemaConvert: null,
|
|
263
|
+
dynamicColumnLoadScript: null,
|
|
252
264
|
accessType: "1",
|
|
253
265
|
accessUrl: null,
|
|
254
266
|
accessReturnType: "1",
|
|
@@ -256,10 +268,10 @@ export const containers = [
|
|
|
256
268
|
scriptEnabled: false,
|
|
257
269
|
accessParam: null,
|
|
258
270
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
271
|
+
accessFormCode: null,
|
|
272
|
+
|
|
273
|
+
...httpConfig,
|
|
274
|
+
|
|
263
275
|
/*isLoadDataByAccess: false,
|
|
264
276
|
scriptEnabled: false,
|
|
265
277
|
scriptName: null,
|
|
@@ -267,6 +279,7 @@ export const containers = [
|
|
|
267
279
|
accessParam: null,
|
|
268
280
|
accessCallback: null,*/
|
|
269
281
|
isQueryTable: false,
|
|
282
|
+
searchOnSwitchTab: false,
|
|
270
283
|
entityTableCode: null,
|
|
271
284
|
entityTableDesc: null,
|
|
272
285
|
|
|
@@ -277,10 +290,18 @@ export const containers = [
|
|
|
277
290
|
sortScriptCode: null,
|
|
278
291
|
importTemplateFile: null,
|
|
279
292
|
|
|
293
|
+
...defaultWfConfig,
|
|
280
294
|
showRuleFlag: 1,
|
|
281
295
|
showRuleEnabled: 1,
|
|
282
296
|
showRules: [],
|
|
283
|
-
|
|
297
|
+
hideGridCheckBox: false,
|
|
298
|
+
isNotQueryAllPage: false,
|
|
299
|
+
isNotShowQueryButton: false,
|
|
300
|
+
|
|
301
|
+
exportItemColumns: [],
|
|
302
|
+
exportItemScriptCode: null,
|
|
303
|
+
exportItemParam: null,
|
|
304
|
+
},
|
|
284
305
|
},
|
|
285
306
|
/*{
|
|
286
307
|
type: "table-column",
|
|
@@ -323,8 +344,8 @@ export const containers = [
|
|
|
323
344
|
onOkButtonClick: "",
|
|
324
345
|
onCancelButtonClick: "",
|
|
325
346
|
onDialogOpened: "",
|
|
326
|
-
onDialogBeforeClose: ""
|
|
327
|
-
}
|
|
347
|
+
onDialogBeforeClose: "",
|
|
348
|
+
},
|
|
328
349
|
},
|
|
329
350
|
/*{
|
|
330
351
|
type: "vf-drawer",
|
|
@@ -404,12 +425,13 @@ export const containers = [
|
|
|
404
425
|
hidden: !1,
|
|
405
426
|
label: "单据详情",
|
|
406
427
|
detailContainer: true,
|
|
428
|
+
hideNav: false,
|
|
407
429
|
// colHeight: null,
|
|
408
430
|
customClass: "",
|
|
409
431
|
wfEnabled: false,
|
|
410
432
|
onCreated: "",
|
|
411
433
|
onMounted: "",
|
|
412
|
-
}
|
|
434
|
+
},
|
|
413
435
|
},
|
|
414
436
|
{
|
|
415
437
|
type: "detail-pane",
|
|
@@ -425,9 +447,10 @@ export const containers = [
|
|
|
425
447
|
customClass: "",
|
|
426
448
|
tableRef: "",
|
|
427
449
|
detailPaneContainer: true,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
450
|
+
defaultCollapse: false,
|
|
451
|
+
/*onCreated: "",
|
|
452
|
+
onMounted: "",*/
|
|
453
|
+
},
|
|
431
454
|
},
|
|
432
455
|
{
|
|
433
456
|
type: "detail-h5",
|
|
@@ -447,13 +470,14 @@ export const containers = [
|
|
|
447
470
|
wfEnabled: false,
|
|
448
471
|
onCreated: "",
|
|
449
472
|
onMounted: "",
|
|
450
|
-
}
|
|
473
|
+
},
|
|
451
474
|
},
|
|
452
475
|
{
|
|
453
476
|
type: "list-h5",
|
|
454
477
|
category: "container",
|
|
455
478
|
icon: "grid",
|
|
456
479
|
commonFlag: !0,
|
|
480
|
+
formItemFlag: !0,
|
|
457
481
|
layoutType: "H5",
|
|
458
482
|
lineButtons: [],
|
|
459
483
|
buttons: [],
|
|
@@ -461,82 +485,89 @@ export const containers = [
|
|
|
461
485
|
tableField: null,
|
|
462
486
|
options: {
|
|
463
487
|
name: "",
|
|
488
|
+
keyNameEnabled: !0,
|
|
489
|
+
keyName: "",
|
|
464
490
|
hidden: !1,
|
|
465
491
|
label: "",
|
|
466
492
|
listH5: true,
|
|
467
493
|
// colHeight: null,
|
|
468
494
|
customClass: "",
|
|
469
495
|
isQueryTable: false,
|
|
496
|
+
|
|
470
497
|
accessUrl: null,
|
|
498
|
+
...httpConfig,
|
|
499
|
+
formScriptEnabled: false,
|
|
471
500
|
tableColumns: [
|
|
472
501
|
{
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
502
|
+
columnId: 1,
|
|
503
|
+
prop: "nick_name",
|
|
504
|
+
label: "姓名",
|
|
505
|
+
width: "150",
|
|
506
|
+
show: true,
|
|
507
|
+
align: "left",
|
|
508
|
+
fixed: "left",
|
|
509
|
+
sortable: true,
|
|
510
|
+
required: false,
|
|
511
|
+
showForRow: true,
|
|
512
|
+
formatS: "editInput",
|
|
513
|
+
columnOption: {},
|
|
485
514
|
},
|
|
486
515
|
{
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
516
|
+
columnId: 1662195943228,
|
|
517
|
+
label: "登录账号",
|
|
518
|
+
prop: "login_account",
|
|
519
|
+
show: true,
|
|
520
|
+
sortable: true,
|
|
521
|
+
align: "left",
|
|
522
|
+
width: "150",
|
|
523
|
+
required: false,
|
|
524
|
+
showForRow: true,
|
|
525
|
+
formatS: "editInput",
|
|
526
|
+
columnOption: {},
|
|
498
527
|
},
|
|
499
528
|
{
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
529
|
+
columnId: 1662195943423,
|
|
530
|
+
label: "是否启用",
|
|
531
|
+
prop: "enabled",
|
|
532
|
+
show: true,
|
|
533
|
+
sortable: true,
|
|
534
|
+
align: "left",
|
|
535
|
+
width: "150",
|
|
536
|
+
formatS: "render",
|
|
537
|
+
render:
|
|
538
|
+
"if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
|
|
539
|
+
required: false,
|
|
540
|
+
showForRow: true,
|
|
541
|
+
columnOption: {},
|
|
512
542
|
},
|
|
513
543
|
{
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
544
|
+
columnId: 1662196087046,
|
|
545
|
+
label: "性别",
|
|
546
|
+
prop: "gender",
|
|
547
|
+
width: "150",
|
|
548
|
+
show: true,
|
|
549
|
+
sortable: true,
|
|
550
|
+
align: "left",
|
|
551
|
+
formatS: "render",
|
|
552
|
+
render:
|
|
553
|
+
"if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
|
|
554
|
+
required: false,
|
|
555
|
+
showForRow: true,
|
|
556
|
+
columnOption: {},
|
|
526
557
|
},
|
|
527
558
|
{
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
}
|
|
559
|
+
columnId: 1662196135287,
|
|
560
|
+
label: "创建时间",
|
|
561
|
+
prop: "create_time",
|
|
562
|
+
width: "150",
|
|
563
|
+
show: true,
|
|
564
|
+
sortable: true,
|
|
565
|
+
align: "left",
|
|
566
|
+
required: false,
|
|
567
|
+
showForRow: true,
|
|
568
|
+
formatS: "editDate",
|
|
569
|
+
columnOption: {},
|
|
570
|
+
},
|
|
540
571
|
],
|
|
541
572
|
tableData: [
|
|
542
573
|
/*{
|
|
@@ -574,7 +605,7 @@ export const containers = [
|
|
|
574
605
|
],
|
|
575
606
|
onCreated: "",
|
|
576
607
|
onMounted: "",
|
|
577
|
-
}
|
|
608
|
+
},
|
|
578
609
|
},
|
|
579
610
|
{
|
|
580
611
|
type: "tree-pane",
|
|
@@ -591,8 +622,8 @@ export const containers = [
|
|
|
591
622
|
treePane: true,
|
|
592
623
|
onCreated: "",
|
|
593
624
|
onMounted: "",
|
|
594
|
-
onTreeLabelClick: ""
|
|
595
|
-
}
|
|
625
|
+
onTreeLabelClick: "",
|
|
626
|
+
},
|
|
596
627
|
},
|
|
597
628
|
{
|
|
598
629
|
type: "h5-card",
|
|
@@ -604,10 +635,10 @@ export const containers = [
|
|
|
604
635
|
options: {
|
|
605
636
|
name: "",
|
|
606
637
|
hidden: !1,
|
|
607
|
-
height:
|
|
638
|
+
height: "",
|
|
608
639
|
customClass: "",
|
|
609
|
-
h5Card: true
|
|
610
|
-
}
|
|
640
|
+
h5Card: true,
|
|
641
|
+
},
|
|
611
642
|
},
|
|
612
643
|
{
|
|
613
644
|
type: "h5-card-pane",
|
|
@@ -622,8 +653,8 @@ export const containers = [
|
|
|
622
653
|
hidden: !1,
|
|
623
654
|
active: !1,
|
|
624
655
|
disabled: !1,
|
|
625
|
-
customClass: ""
|
|
626
|
-
}
|
|
656
|
+
customClass: "",
|
|
657
|
+
},
|
|
627
658
|
},
|
|
628
659
|
{
|
|
629
660
|
type: "h5-table",
|
|
@@ -636,8 +667,8 @@ export const containers = [
|
|
|
636
667
|
name: "",
|
|
637
668
|
hidden: !1,
|
|
638
669
|
customClass: "",
|
|
639
|
-
fullWidth: false
|
|
640
|
-
}
|
|
670
|
+
fullWidth: false,
|
|
671
|
+
},
|
|
641
672
|
},
|
|
642
673
|
{
|
|
643
674
|
type: "h5-table-cell",
|
|
@@ -652,8 +683,8 @@ export const containers = [
|
|
|
652
683
|
cellHeight: "",
|
|
653
684
|
colspan: 1,
|
|
654
685
|
rowspan: 1,
|
|
655
|
-
customClass: ""
|
|
656
|
-
}
|
|
686
|
+
customClass: "",
|
|
687
|
+
},
|
|
657
688
|
},
|
|
658
689
|
{
|
|
659
690
|
type: "tree",
|
|
@@ -691,63 +722,64 @@ export const containers = [
|
|
|
691
722
|
onLoadNode: "",
|
|
692
723
|
treeData: [
|
|
693
724
|
{
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
725
|
+
id: 1,
|
|
726
|
+
label: "一级 1",
|
|
727
|
+
leaf: false,
|
|
728
|
+
children: [
|
|
698
729
|
{
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
706
|
-
]
|
|
730
|
+
id: 2,
|
|
731
|
+
label: "二级 1-1",
|
|
732
|
+
leaf: false,
|
|
733
|
+
children: [{ id: 3, label: "三级 1-1-1", leaf: true }],
|
|
734
|
+
},
|
|
735
|
+
],
|
|
707
736
|
},
|
|
708
737
|
{
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
738
|
+
id: 4,
|
|
739
|
+
label: "一级 2",
|
|
740
|
+
leaf: false,
|
|
741
|
+
children: [
|
|
713
742
|
{
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
743
|
+
id: 5,
|
|
744
|
+
label: "二级 2-1",
|
|
745
|
+
leaf: false,
|
|
746
|
+
children: [{ id: 6, label: "三级 2-1-1", leaf: true }],
|
|
718
747
|
},
|
|
719
748
|
{
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
|
-
]
|
|
749
|
+
id: 7,
|
|
750
|
+
label: "二级 2-2",
|
|
751
|
+
leaf: false,
|
|
752
|
+
children: [{ id: 8, label: "三级 2-2-1", leaf: true }],
|
|
753
|
+
},
|
|
754
|
+
],
|
|
726
755
|
},
|
|
727
756
|
{
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
757
|
+
id: 9,
|
|
758
|
+
label: "一级 3",
|
|
759
|
+
leaf: false,
|
|
760
|
+
children: [
|
|
732
761
|
{
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
762
|
+
id: 10,
|
|
763
|
+
label: "二级 3-1",
|
|
764
|
+
leaf: false,
|
|
765
|
+
children: [{ id: 11, label: "三级 3-1-1", leaf: true }],
|
|
737
766
|
},
|
|
738
767
|
{
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
}
|
|
744
|
-
]
|
|
745
|
-
}
|
|
746
|
-
]
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
768
|
+
id: 12,
|
|
769
|
+
label: "二级 3-2",
|
|
770
|
+
leaf: false,
|
|
771
|
+
children: [{ id: 13, label: "三级 3-2-1", leaf: true }],
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
},
|
|
775
|
+
],
|
|
776
|
+
disLocalFilter: false,
|
|
777
|
+
treeFilterType: 0,
|
|
778
|
+
onFilterIconClick: null,
|
|
779
|
+
onFilterTextChange: null,
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
];
|
|
751
783
|
|
|
752
784
|
export const defaultSearchDialogConfig = {
|
|
753
785
|
formCode: null,
|
|
@@ -757,20 +789,184 @@ export const defaultSearchDialogConfig = {
|
|
|
757
789
|
tableRef: null,
|
|
758
790
|
tableUniqueKey: null,
|
|
759
791
|
tableData: [],
|
|
760
|
-
multipleChoices: true
|
|
761
|
-
|
|
792
|
+
multipleChoices: true,
|
|
793
|
+
confirmCallback: null,
|
|
794
|
+
dialogQueryParam: null,
|
|
795
|
+
dialogCustomParam: null,
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
export const defaultWfConfig = {
|
|
799
|
+
wfFlag: 1,
|
|
800
|
+
wfEdit: false,
|
|
801
|
+
enabledByWf: false,
|
|
802
|
+
hiddenByWf: false,
|
|
803
|
+
wfConfigData: [],
|
|
804
|
+
wfModifyDataEnabled: false,
|
|
805
|
+
wfModifyDataConfig: [],
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
export const defaultTextFlagConfig = {
|
|
809
|
+
widgetTextFlag: null,
|
|
810
|
+
textFlag: 1,
|
|
811
|
+
showTextEnabled: false,
|
|
812
|
+
showEncryptTextEnabled: false,
|
|
813
|
+
userTextRuleEnabled: false,
|
|
814
|
+
userTextRuleConfig: [],
|
|
815
|
+
textRule1: true,
|
|
816
|
+
textRule2: false,
|
|
817
|
+
textRule2Number: null,
|
|
818
|
+
textRule3: false,
|
|
819
|
+
textRule3Number: null,
|
|
820
|
+
widgetTextLinkConfig: null,
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
export const defaultWidgetShowRuleConfig = {
|
|
824
|
+
widgetShowRuleFlag: 1,
|
|
825
|
+
widgetShowRuleEnabled: false,
|
|
826
|
+
widgetShowRuleConfig: [],
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
export const defaultLabelIconConfig = {
|
|
830
|
+
labelIconClass: null,
|
|
831
|
+
labelIconPosition: "rear",
|
|
832
|
+
labelTooltip: null,
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
const vabsearchConfig = {
|
|
836
|
+
name: "",
|
|
837
|
+
keyNameEnabled: !1,
|
|
838
|
+
keyName: "",
|
|
839
|
+
vabSearchName: "",
|
|
840
|
+
userDefaultVabSearch: false,
|
|
841
|
+
saleOrgDefaultVabSearch: false,
|
|
842
|
+
label: "",
|
|
843
|
+
labelColor: "",
|
|
844
|
+
submitFlag: true,
|
|
845
|
+
disabled: !1,
|
|
846
|
+
hidden: !1,
|
|
847
|
+
required: !1,
|
|
848
|
+
labelWidth: null,
|
|
849
|
+
labelHidden: !1,
|
|
850
|
+
...defaultLabelIconConfig,
|
|
851
|
+
readonly: true,
|
|
852
|
+
/*formCode: null,
|
|
853
|
+
formName: null,
|
|
854
|
+
formVersion: null,
|
|
855
|
+
showFormField: null,*/
|
|
856
|
+
/* gridConfig: {
|
|
857
|
+
tableColumns: [],
|
|
858
|
+
searchFields: [],
|
|
859
|
+
searchParams: ""
|
|
860
|
+
},*/
|
|
861
|
+
// vabSearchField: null,
|
|
862
|
+
vabsearchFlag: 1,
|
|
863
|
+
onSearchClear: "",
|
|
864
|
+
dialogModel: "1",
|
|
865
|
+
systemDialogUrl: null,
|
|
866
|
+
accessType: "1",
|
|
867
|
+
onCreated: "",
|
|
868
|
+
onMounted: "",
|
|
869
|
+
onChange: "",
|
|
870
|
+
onAppendButtonClick: "",
|
|
871
|
+
clickBindEvent: "1",
|
|
872
|
+
onBeforeClickButton: null,
|
|
873
|
+
searchDialogConfig: {
|
|
874
|
+
...defaultSearchDialogConfig,
|
|
875
|
+
multipleChoices: false,
|
|
876
|
+
},
|
|
877
|
+
...defaultWfConfig,
|
|
878
|
+
valueField: null,
|
|
879
|
+
multipleChoices: false,
|
|
880
|
+
|
|
881
|
+
showRuleFlag: 1,
|
|
882
|
+
showRuleEnabled: 1,
|
|
883
|
+
showRules: [],
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
const projectTagConfig = {
|
|
887
|
+
name: "",
|
|
888
|
+
keyNameEnabled: !1,
|
|
889
|
+
keyName: "",
|
|
890
|
+
// keyNameSuffix: "",
|
|
891
|
+
label: "",
|
|
892
|
+
labelColor: "",
|
|
893
|
+
submitFlag: true,
|
|
894
|
+
disabled: !1,
|
|
895
|
+
readonly: false,
|
|
896
|
+
hidden: !1,
|
|
897
|
+
required: !1,
|
|
898
|
+
labelWidth: null,
|
|
899
|
+
labelHidden: !1,
|
|
900
|
+
...defaultLabelIconConfig,
|
|
901
|
+
onCreated: "if(dataId)this.loadDataDefaultHandle();",
|
|
902
|
+
onMounted: "",
|
|
903
|
+
onClick: "",
|
|
904
|
+
// vabUpload: 1,
|
|
905
|
+
|
|
906
|
+
...httpConfig,
|
|
907
|
+
formScriptCode: "getList",
|
|
908
|
+
|
|
909
|
+
...defaultWfConfig,
|
|
910
|
+
|
|
911
|
+
showRuleFlag: 1,
|
|
912
|
+
showRuleEnabled: 1,
|
|
913
|
+
showRules: [],
|
|
914
|
+
|
|
915
|
+
tagFormCode: null,
|
|
916
|
+
tagFormParam: null,
|
|
917
|
+
tagLabelField: null,
|
|
918
|
+
tagUniqueField: null,
|
|
919
|
+
tagFormLabelField: null,
|
|
920
|
+
tagFormUniqueField: null,
|
|
921
|
+
tagFillConfig: [],
|
|
922
|
+
tagConfirmCallback: null,
|
|
923
|
+
tagDeleteCallback: null,
|
|
924
|
+
tabDeleteEnabled: true,
|
|
925
|
+
tagWidth: "",
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
const httpConfig = {
|
|
929
|
+
httpFormCode: null,
|
|
930
|
+
formScriptEnabled: true,
|
|
931
|
+
commonAttributeEnabled: false,
|
|
932
|
+
formScriptCode: null,
|
|
933
|
+
formScriptParam: null,
|
|
934
|
+
formScriptSuccess: null,
|
|
935
|
+
formScriptCallback: null,
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
export const hiddenWidgetTypesOfWf = [
|
|
939
|
+
"button",
|
|
940
|
+
"search_button",
|
|
941
|
+
"table-export-button",
|
|
942
|
+
"add_button",
|
|
943
|
+
"import-button",
|
|
944
|
+
"import2-button",
|
|
945
|
+
"print-button",
|
|
946
|
+
"dropdown-item",
|
|
947
|
+
];
|
|
948
|
+
export const freeWidgetTypesOfWf = [
|
|
949
|
+
"reset_button",
|
|
950
|
+
"copy_button",
|
|
951
|
+
"a-link",
|
|
952
|
+
"a-text",
|
|
953
|
+
"dropdown",
|
|
954
|
+
];
|
|
762
955
|
|
|
763
956
|
export const basicFields = [
|
|
764
957
|
{
|
|
765
958
|
type: "input",
|
|
766
959
|
icon: "text-field",
|
|
960
|
+
commonFlag: !0,
|
|
767
961
|
formItemFlag: !0,
|
|
962
|
+
columnFlag: true,
|
|
768
963
|
tableField: null,
|
|
769
964
|
options: {
|
|
770
965
|
name: "",
|
|
771
966
|
keyNameEnabled: !1,
|
|
772
967
|
keyName: "",
|
|
773
968
|
label: "",
|
|
969
|
+
labelColor: "",
|
|
774
970
|
submitFlag: true,
|
|
775
971
|
/**showText: false,*/
|
|
776
972
|
formField: "",
|
|
@@ -800,9 +996,9 @@ export const basicFields = [
|
|
|
800
996
|
showWordLimit: !1,
|
|
801
997
|
prefixIcon: "",
|
|
802
998
|
suffixIcon: "",
|
|
803
|
-
appendButton: !1,
|
|
999
|
+
/*appendButton: !1,
|
|
804
1000
|
appendButtonDisabled: !1,
|
|
805
|
-
buttonIcon: "el-icon-search"
|
|
1001
|
+
buttonIcon: "el-icon-search",*/
|
|
806
1002
|
onCreated: "",
|
|
807
1003
|
onMounted: "",
|
|
808
1004
|
onInput: "",
|
|
@@ -813,33 +1009,28 @@ export const basicFields = [
|
|
|
813
1009
|
onAppendButtonClick: "",
|
|
814
1010
|
widgetWidth: "",
|
|
815
1011
|
accessType: "1",
|
|
816
|
-
|
|
817
|
-
wfEdit: false,
|
|
818
|
-
enabledByWf: false,
|
|
819
|
-
hiddenByWf: false,
|
|
820
|
-
wfConfigData: [],
|
|
1012
|
+
...defaultWfConfig,
|
|
821
1013
|
|
|
822
1014
|
showRuleFlag: 1,
|
|
823
1015
|
showRuleEnabled: 1,
|
|
824
1016
|
showRules: [],
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
textRule3: false,
|
|
829
|
-
textRule2Number: null,
|
|
830
|
-
textRule3Number: null
|
|
831
|
-
}
|
|
1017
|
+
|
|
1018
|
+
...defaultTextFlagConfig,
|
|
1019
|
+
},
|
|
832
1020
|
},
|
|
833
1021
|
{
|
|
834
1022
|
type: "input-batch",
|
|
835
1023
|
icon: "input-batch",
|
|
1024
|
+
commonFlag: !0,
|
|
836
1025
|
formItemFlag: !0,
|
|
1026
|
+
columnFlag: true,
|
|
837
1027
|
tableField: null,
|
|
838
1028
|
options: {
|
|
839
1029
|
name: "",
|
|
840
1030
|
keyNameEnabled: !1,
|
|
841
1031
|
keyName: "",
|
|
842
1032
|
label: "",
|
|
1033
|
+
labelColor: "",
|
|
843
1034
|
submitFlag: true,
|
|
844
1035
|
formField: "",
|
|
845
1036
|
labelAlign: "",
|
|
@@ -860,17 +1051,7 @@ export const basicFields = [
|
|
|
860
1051
|
validation: "",
|
|
861
1052
|
validationHint: "",
|
|
862
1053
|
customClass: "",
|
|
863
|
-
|
|
864
|
-
labelIconPosition: "rear",
|
|
865
|
-
labelTooltip: null,
|
|
866
|
-
minLength: null,
|
|
867
|
-
maxLength: null,
|
|
868
|
-
showWordLimit: !1,
|
|
869
|
-
prefixIcon: "",
|
|
870
|
-
suffixIcon: "",
|
|
871
|
-
appendButton: !1,
|
|
872
|
-
appendButtonDisabled: !1,
|
|
873
|
-
buttonIcon: "el-icon-search",
|
|
1054
|
+
...defaultLabelIconConfig,
|
|
874
1055
|
onCreated: "",
|
|
875
1056
|
onMounted: "",
|
|
876
1057
|
onInput: "",
|
|
@@ -878,37 +1059,29 @@ export const basicFields = [
|
|
|
878
1059
|
onFocus: "",
|
|
879
1060
|
onBlur: "",
|
|
880
1061
|
onValidate: "",
|
|
881
|
-
onAppendButtonClick: "",
|
|
1062
|
+
// onAppendButtonClick: "",
|
|
882
1063
|
widgetWidth: "",
|
|
883
1064
|
accessType: "1",
|
|
884
|
-
|
|
885
|
-
wfEdit: false,
|
|
886
|
-
enabledByWf: false,
|
|
887
|
-
hiddenByWf: false,
|
|
888
|
-
wfConfigData: [],
|
|
1065
|
+
...defaultWfConfig,
|
|
889
1066
|
|
|
890
1067
|
showRuleFlag: 1,
|
|
891
1068
|
showRuleEnabled: 1,
|
|
892
1069
|
showRules: [],
|
|
893
|
-
|
|
894
|
-
textRule1: false,
|
|
895
|
-
textRule2: false,
|
|
896
|
-
textRule3: false,
|
|
897
|
-
textRule2Number: null,
|
|
898
|
-
textRule3Number: null
|
|
899
|
-
|
|
900
|
-
}
|
|
1070
|
+
},
|
|
901
1071
|
},
|
|
902
1072
|
{
|
|
903
1073
|
type: "textarea",
|
|
904
1074
|
icon: "textarea-field",
|
|
1075
|
+
commonFlag: !0,
|
|
905
1076
|
formItemFlag: !0,
|
|
1077
|
+
columnFlag: true,
|
|
906
1078
|
tableField: null,
|
|
907
1079
|
options: {
|
|
908
1080
|
name: "",
|
|
909
1081
|
keyNameEnabled: !1,
|
|
910
1082
|
keyName: "",
|
|
911
1083
|
label: "",
|
|
1084
|
+
labelColor: "",
|
|
912
1085
|
submitFlag: true,
|
|
913
1086
|
/**showText: false,*/
|
|
914
1087
|
labelAlign: "",
|
|
@@ -941,33 +1114,81 @@ export const basicFields = [
|
|
|
941
1114
|
onBlur: "",
|
|
942
1115
|
onValidate: "",
|
|
943
1116
|
accessType: "1",
|
|
944
|
-
|
|
945
|
-
wfEdit: false,
|
|
946
|
-
enabledByWf: false,
|
|
947
|
-
hiddenByWf: false,
|
|
948
|
-
wfConfigData: [],
|
|
1117
|
+
...defaultWfConfig,
|
|
949
1118
|
|
|
950
1119
|
showRuleFlag: 1,
|
|
951
1120
|
showRuleEnabled: 1,
|
|
952
1121
|
showRules: [],
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1122
|
+
|
|
1123
|
+
...defaultTextFlagConfig,
|
|
1124
|
+
},
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
type: "script-input",
|
|
1128
|
+
icon: "textarea-field",
|
|
1129
|
+
commonFlag: !0,
|
|
1130
|
+
formItemFlag: !0,
|
|
1131
|
+
columnFlag: true,
|
|
1132
|
+
tableField: null,
|
|
1133
|
+
options: {
|
|
1134
|
+
name: "",
|
|
1135
|
+
keyNameEnabled: !1,
|
|
1136
|
+
keyName: "",
|
|
1137
|
+
label: "",
|
|
1138
|
+
labelColor: "",
|
|
1139
|
+
submitFlag: true,
|
|
1140
|
+
labelAlign: "",
|
|
1141
|
+
defaultValue: "",
|
|
1142
|
+
placeholder: "",
|
|
1143
|
+
columnWidth: "200px",
|
|
1144
|
+
size: "",
|
|
1145
|
+
labelWidth: null,
|
|
1146
|
+
labelHidden: !1,
|
|
1147
|
+
readonly: !1,
|
|
1148
|
+
disabled: !1,
|
|
1149
|
+
hidden: !1,
|
|
1150
|
+
required: !1,
|
|
1151
|
+
requiredHint: "",
|
|
1152
|
+
validation: "",
|
|
1153
|
+
validationHint: "",
|
|
1154
|
+
customClass: "",
|
|
1155
|
+
labelIconClass: null,
|
|
1156
|
+
labelIconPosition: "rear",
|
|
1157
|
+
labelTooltip: null,
|
|
1158
|
+
scriptInputFlag: 1,
|
|
1159
|
+
editorMode: "java",
|
|
1160
|
+
editorHeight: "200px",
|
|
1161
|
+
editorMinLines: 8,
|
|
1162
|
+
editorMaxLines: 30,
|
|
1163
|
+
userWorker: !1,
|
|
1164
|
+
onCreated: "",
|
|
1165
|
+
onMounted: "",
|
|
1166
|
+
onInput: "",
|
|
1167
|
+
onChange: "",
|
|
1168
|
+
onFocus: "",
|
|
1169
|
+
onBlur: "",
|
|
1170
|
+
onValidate: "",
|
|
1171
|
+
accessType: "1",
|
|
1172
|
+
...defaultWfConfig,
|
|
1173
|
+
showRuleFlag: 1,
|
|
1174
|
+
showRuleEnabled: 1,
|
|
1175
|
+
showRules: [],
|
|
1176
|
+
...defaultTextFlagConfig,
|
|
1177
|
+
},
|
|
960
1178
|
},
|
|
961
1179
|
{
|
|
962
1180
|
type: "number",
|
|
963
1181
|
icon: "number-field",
|
|
1182
|
+
commonFlag: !0,
|
|
964
1183
|
formItemFlag: !0,
|
|
1184
|
+
columnFlag: true,
|
|
965
1185
|
tableField: null,
|
|
966
1186
|
options: {
|
|
967
1187
|
name: "",
|
|
968
1188
|
keyNameEnabled: !1,
|
|
969
1189
|
keyName: "",
|
|
970
1190
|
label: "",
|
|
1191
|
+
labelColor: "",
|
|
971
1192
|
submitFlag: true,
|
|
972
1193
|
/**showText: false,*/
|
|
973
1194
|
formField: "",
|
|
@@ -984,8 +1205,8 @@ export const basicFields = [
|
|
|
984
1205
|
requiredHint: "",
|
|
985
1206
|
validation: "",
|
|
986
1207
|
validationHint: "",
|
|
987
|
-
|
|
988
|
-
|
|
1208
|
+
formulaEnabled: !1,
|
|
1209
|
+
formula: "",
|
|
989
1210
|
customClass: "",
|
|
990
1211
|
labelIconClass: null,
|
|
991
1212
|
labelIconPosition: "rear",
|
|
@@ -1002,34 +1223,28 @@ export const basicFields = [
|
|
|
1002
1223
|
onBlur: "",
|
|
1003
1224
|
onValidate: "",
|
|
1004
1225
|
accessType: "1",
|
|
1005
|
-
|
|
1006
|
-
wfEdit: false,
|
|
1007
|
-
enabledByWf: false,
|
|
1008
|
-
hiddenByWf: false,
|
|
1009
|
-
wfConfigData: [],
|
|
1226
|
+
...defaultWfConfig,
|
|
1010
1227
|
|
|
1011
1228
|
showRuleFlag: 1,
|
|
1012
1229
|
showRuleEnabled: 1,
|
|
1013
1230
|
showRules: [],
|
|
1014
|
-
textFlag: 1,
|
|
1015
|
-
textRule1: false,
|
|
1016
|
-
textRule2: false,
|
|
1017
|
-
textRule3: false,
|
|
1018
|
-
textRule2Number: null,
|
|
1019
|
-
textRule3Number: null
|
|
1020
1231
|
|
|
1021
|
-
|
|
1232
|
+
...defaultTextFlagConfig,
|
|
1233
|
+
},
|
|
1022
1234
|
},
|
|
1023
1235
|
{
|
|
1024
1236
|
type: "radio",
|
|
1025
1237
|
icon: "radio-field",
|
|
1238
|
+
commonFlag: !0,
|
|
1026
1239
|
formItemFlag: !0,
|
|
1240
|
+
columnFlag: true,
|
|
1027
1241
|
tableField: null,
|
|
1028
1242
|
options: {
|
|
1029
1243
|
name: "",
|
|
1030
1244
|
keyNameEnabled: !1,
|
|
1031
1245
|
keyName: "",
|
|
1032
1246
|
label: "",
|
|
1247
|
+
labelColor: "",
|
|
1033
1248
|
submitFlag: true,
|
|
1034
1249
|
/**showText: false,*/
|
|
1035
1250
|
labelAlign: "",
|
|
@@ -1051,12 +1266,14 @@ export const basicFields = [
|
|
|
1051
1266
|
optionItems: [
|
|
1052
1267
|
{
|
|
1053
1268
|
label: "radio 1",
|
|
1054
|
-
value: "1"
|
|
1269
|
+
value: "1",
|
|
1270
|
+
disabled: false,
|
|
1055
1271
|
},
|
|
1056
1272
|
{
|
|
1057
1273
|
label: "radio 2",
|
|
1058
|
-
value: "2"
|
|
1059
|
-
|
|
1274
|
+
value: "2",
|
|
1275
|
+
disabled: false,
|
|
1276
|
+
},
|
|
1060
1277
|
],
|
|
1061
1278
|
required: !1,
|
|
1062
1279
|
requiredHint: "",
|
|
@@ -1073,36 +1290,33 @@ export const basicFields = [
|
|
|
1073
1290
|
onValidate: "",
|
|
1074
1291
|
accessType: "1",
|
|
1075
1292
|
|
|
1293
|
+
...httpConfig,
|
|
1076
1294
|
formScriptEnabled: false,
|
|
1077
1295
|
formScriptCode: "getList",
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
wfConfigData: [],
|
|
1296
|
+
|
|
1297
|
+
...defaultWfConfig,
|
|
1298
|
+
|
|
1299
|
+
commonAttributeEnabled: false,
|
|
1300
|
+
commonAttributeCode: "",
|
|
1084
1301
|
|
|
1085
1302
|
showRuleFlag: 1,
|
|
1086
1303
|
showRuleEnabled: 1,
|
|
1087
1304
|
showRules: [],
|
|
1088
|
-
|
|
1089
|
-
textRule1: false,
|
|
1090
|
-
textRule2: false,
|
|
1091
|
-
textRule3: false,
|
|
1092
|
-
textRule2Number: null,
|
|
1093
|
-
textRule3Number: null
|
|
1094
|
-
}
|
|
1305
|
+
},
|
|
1095
1306
|
},
|
|
1096
1307
|
{
|
|
1097
1308
|
type: "checkbox",
|
|
1098
1309
|
icon: "checkbox-field",
|
|
1310
|
+
commonFlag: !0,
|
|
1099
1311
|
formItemFlag: !0,
|
|
1312
|
+
columnFlag: true,
|
|
1100
1313
|
tableField: null,
|
|
1101
1314
|
options: {
|
|
1102
1315
|
name: "",
|
|
1103
1316
|
keyNameEnabled: !1,
|
|
1104
1317
|
keyName: "",
|
|
1105
1318
|
label: "",
|
|
1319
|
+
labelColor: "",
|
|
1106
1320
|
submitFlag: true,
|
|
1107
1321
|
/**showText: false,*/
|
|
1108
1322
|
labelAlign: "",
|
|
@@ -1124,12 +1338,14 @@ export const basicFields = [
|
|
|
1124
1338
|
optionItems: [
|
|
1125
1339
|
{
|
|
1126
1340
|
label: "check 1",
|
|
1127
|
-
value: "1"
|
|
1341
|
+
value: "1",
|
|
1342
|
+
disabled: false,
|
|
1128
1343
|
},
|
|
1129
1344
|
{
|
|
1130
1345
|
label: "check 2",
|
|
1131
|
-
value: "2"
|
|
1132
|
-
|
|
1346
|
+
value: "2",
|
|
1347
|
+
disabled: false,
|
|
1348
|
+
},
|
|
1133
1349
|
],
|
|
1134
1350
|
required: !1,
|
|
1135
1351
|
requiredHint: "",
|
|
@@ -1146,37 +1362,33 @@ export const basicFields = [
|
|
|
1146
1362
|
onValidate: "",
|
|
1147
1363
|
accessType: "1",
|
|
1148
1364
|
|
|
1365
|
+
...httpConfig,
|
|
1149
1366
|
formScriptEnabled: false,
|
|
1150
1367
|
formScriptCode: "getList",
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
wfConfigData: [],
|
|
1368
|
+
|
|
1369
|
+
...defaultWfConfig,
|
|
1370
|
+
|
|
1371
|
+
commonAttributeEnabled: false,
|
|
1372
|
+
commonAttributeCode: "",
|
|
1157
1373
|
|
|
1158
1374
|
showRuleFlag: 1,
|
|
1159
1375
|
showRuleEnabled: 1,
|
|
1160
1376
|
showRules: [],
|
|
1161
|
-
|
|
1162
|
-
textRule1: false,
|
|
1163
|
-
textRule2: false,
|
|
1164
|
-
textRule3: false,
|
|
1165
|
-
textRule2Number: null,
|
|
1166
|
-
textRule3Number: null
|
|
1167
|
-
|
|
1168
|
-
}
|
|
1377
|
+
},
|
|
1169
1378
|
},
|
|
1170
1379
|
{
|
|
1171
1380
|
type: "select",
|
|
1172
1381
|
icon: "select-field",
|
|
1382
|
+
commonFlag: !0,
|
|
1173
1383
|
formItemFlag: !0,
|
|
1384
|
+
columnFlag: true,
|
|
1174
1385
|
tableField: null,
|
|
1175
1386
|
options: {
|
|
1176
1387
|
name: "",
|
|
1177
1388
|
keyNameEnabled: !1,
|
|
1178
1389
|
keyName: "",
|
|
1179
1390
|
label: "",
|
|
1391
|
+
labelColor: "",
|
|
1180
1392
|
submitFlag: true,
|
|
1181
1393
|
/**showText: false,*/
|
|
1182
1394
|
formField: "",
|
|
@@ -1202,16 +1414,23 @@ export const basicFields = [
|
|
|
1202
1414
|
dsName: "",
|
|
1203
1415
|
labelKey: "label",
|
|
1204
1416
|
valueKey: "value",
|
|
1205
|
-
optionItems: [
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1417
|
+
optionItems: [
|
|
1418
|
+
{
|
|
1419
|
+
label: "select 1",
|
|
1420
|
+
value: "1",
|
|
1421
|
+
disabled: false,
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
label: "select 2",
|
|
1425
|
+
value: "2",
|
|
1426
|
+
disabled: false,
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
label: "select 3",
|
|
1430
|
+
value: "3",
|
|
1431
|
+
disabled: false,
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1215
1434
|
required: !1,
|
|
1216
1435
|
requiredHint: "",
|
|
1217
1436
|
validation: "",
|
|
@@ -1230,43 +1449,43 @@ export const basicFields = [
|
|
|
1230
1449
|
onValidate: "",
|
|
1231
1450
|
widgetWidth: "",
|
|
1232
1451
|
accessType: "1",
|
|
1452
|
+
|
|
1453
|
+
...httpConfig,
|
|
1233
1454
|
formScriptEnabled: false,
|
|
1234
1455
|
formScriptCode: "getList",
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1456
|
+
|
|
1457
|
+
...defaultWfConfig,
|
|
1458
|
+
|
|
1459
|
+
commonAttributeEnabled: false,
|
|
1460
|
+
commonAttributeCode: "",
|
|
1461
|
+
|
|
1462
|
+
showCollapseTags: false,
|
|
1241
1463
|
|
|
1242
1464
|
showRuleFlag: 1,
|
|
1243
1465
|
showRuleEnabled: 1,
|
|
1244
1466
|
showRules: [],
|
|
1245
|
-
|
|
1246
|
-
textRule1: false,
|
|
1247
|
-
textRule2: false,
|
|
1248
|
-
textRule3: false,
|
|
1249
|
-
textRule2Number: null,
|
|
1250
|
-
textRule3Number: null
|
|
1251
|
-
}
|
|
1467
|
+
},
|
|
1252
1468
|
},
|
|
1253
1469
|
{
|
|
1254
|
-
type: "
|
|
1255
|
-
icon: "
|
|
1470
|
+
type: "area-select",
|
|
1471
|
+
icon: "select-field",
|
|
1472
|
+
commonFlag: !0,
|
|
1256
1473
|
formItemFlag: !0,
|
|
1474
|
+
columnFlag: true,
|
|
1257
1475
|
tableField: null,
|
|
1258
1476
|
options: {
|
|
1259
1477
|
name: "",
|
|
1260
1478
|
keyNameEnabled: !1,
|
|
1261
1479
|
keyName: "",
|
|
1262
1480
|
label: "",
|
|
1481
|
+
labelColor: "",
|
|
1263
1482
|
submitFlag: true,
|
|
1264
|
-
/**showText: false,*/
|
|
1265
1483
|
formField: "",
|
|
1266
1484
|
labelAlign: "",
|
|
1267
1485
|
defaultValue: null,
|
|
1268
1486
|
placeholder: "",
|
|
1269
1487
|
columnWidth: "200px",
|
|
1488
|
+
widgetWidth: null,
|
|
1270
1489
|
size: "",
|
|
1271
1490
|
labelWidth: null,
|
|
1272
1491
|
labelHidden: !1,
|
|
@@ -1274,8 +1493,6 @@ export const basicFields = [
|
|
|
1274
1493
|
disabled: !1,
|
|
1275
1494
|
hidden: !1,
|
|
1276
1495
|
clearable: !0,
|
|
1277
|
-
editable: !1,
|
|
1278
|
-
format: "HH:mm:ss",
|
|
1279
1496
|
required: !1,
|
|
1280
1497
|
requiredHint: "",
|
|
1281
1498
|
validation: "",
|
|
@@ -1284,6 +1501,9 @@ export const basicFields = [
|
|
|
1284
1501
|
labelIconClass: null,
|
|
1285
1502
|
labelIconPosition: "rear",
|
|
1286
1503
|
labelTooltip: null,
|
|
1504
|
+
areaName: "",
|
|
1505
|
+
areaDataType: 3,
|
|
1506
|
+
locale: null,
|
|
1287
1507
|
onCreated: "",
|
|
1288
1508
|
onMounted: "",
|
|
1289
1509
|
onChange: "",
|
|
@@ -1291,34 +1511,80 @@ export const basicFields = [
|
|
|
1291
1511
|
onBlur: "",
|
|
1292
1512
|
onValidate: "",
|
|
1293
1513
|
accessType: "1",
|
|
1294
|
-
|
|
1295
|
-
wfEdit: false,
|
|
1296
|
-
enabledByWf: false,
|
|
1297
|
-
hiddenByWf: false,
|
|
1298
|
-
wfConfigData: [],
|
|
1299
|
-
|
|
1514
|
+
...defaultWfConfig,
|
|
1300
1515
|
showRuleFlag: 1,
|
|
1301
1516
|
showRuleEnabled: 1,
|
|
1302
1517
|
showRules: [],
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
textRule2: false,
|
|
1306
|
-
textRule3: false,
|
|
1307
|
-
textRule2Number: null,
|
|
1308
|
-
textRule3Number: null
|
|
1309
|
-
|
|
1310
|
-
}
|
|
1518
|
+
...defaultTextFlagConfig,
|
|
1519
|
+
},
|
|
1311
1520
|
},
|
|
1312
1521
|
{
|
|
1313
|
-
type: "time
|
|
1314
|
-
icon: "time-
|
|
1522
|
+
type: "time",
|
|
1523
|
+
icon: "time-field",
|
|
1524
|
+
commonFlag: !0,
|
|
1315
1525
|
formItemFlag: !0,
|
|
1526
|
+
columnFlag: true,
|
|
1316
1527
|
tableField: null,
|
|
1317
1528
|
options: {
|
|
1318
1529
|
name: "",
|
|
1319
1530
|
keyNameEnabled: !1,
|
|
1320
1531
|
keyName: "",
|
|
1321
1532
|
label: "",
|
|
1533
|
+
labelColor: "",
|
|
1534
|
+
submitFlag: true,
|
|
1535
|
+
/**showText: false,*/
|
|
1536
|
+
formField: "",
|
|
1537
|
+
labelAlign: "",
|
|
1538
|
+
defaultValue: null,
|
|
1539
|
+
placeholder: "",
|
|
1540
|
+
columnWidth: "200px",
|
|
1541
|
+
size: "",
|
|
1542
|
+
labelWidth: null,
|
|
1543
|
+
labelHidden: !1,
|
|
1544
|
+
readonly: !1,
|
|
1545
|
+
disabled: !1,
|
|
1546
|
+
hidden: !1,
|
|
1547
|
+
clearable: !0,
|
|
1548
|
+
editable: !1,
|
|
1549
|
+
format: "HH:mm:ss",
|
|
1550
|
+
utcTransformEnabled: !1,
|
|
1551
|
+
required: !1,
|
|
1552
|
+
requiredHint: "",
|
|
1553
|
+
validation: "",
|
|
1554
|
+
validationHint: "",
|
|
1555
|
+
customClass: "",
|
|
1556
|
+
labelIconClass: null,
|
|
1557
|
+
labelIconPosition: "rear",
|
|
1558
|
+
labelTooltip: null,
|
|
1559
|
+
onCreated: "",
|
|
1560
|
+
onMounted: "",
|
|
1561
|
+
onChange: "",
|
|
1562
|
+
onFocus: "",
|
|
1563
|
+
onBlur: "",
|
|
1564
|
+
onValidate: "",
|
|
1565
|
+
accessType: "1",
|
|
1566
|
+
...defaultWfConfig,
|
|
1567
|
+
|
|
1568
|
+
showRuleFlag: 1,
|
|
1569
|
+
showRuleEnabled: 1,
|
|
1570
|
+
showRules: [],
|
|
1571
|
+
|
|
1572
|
+
...defaultTextFlagConfig,
|
|
1573
|
+
},
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
type: "time-range",
|
|
1577
|
+
icon: "time-range-field",
|
|
1578
|
+
commonFlag: !0,
|
|
1579
|
+
formItemFlag: !0,
|
|
1580
|
+
columnFlag: true,
|
|
1581
|
+
tableField: null,
|
|
1582
|
+
options: {
|
|
1583
|
+
name: "",
|
|
1584
|
+
keyNameEnabled: !1,
|
|
1585
|
+
keyName: "",
|
|
1586
|
+
label: "",
|
|
1587
|
+
labelColor: "",
|
|
1322
1588
|
submitFlag: true,
|
|
1323
1589
|
formField: "",
|
|
1324
1590
|
labelAlign: "",
|
|
@@ -1335,6 +1601,7 @@ export const basicFields = [
|
|
|
1335
1601
|
clearable: !0,
|
|
1336
1602
|
editable: !1,
|
|
1337
1603
|
format: "HH:mm:ss",
|
|
1604
|
+
utcTransformEnabled: !1,
|
|
1338
1605
|
required: !1,
|
|
1339
1606
|
requiredHint: "",
|
|
1340
1607
|
validation: "",
|
|
@@ -1350,34 +1617,26 @@ export const basicFields = [
|
|
|
1350
1617
|
onBlur: "",
|
|
1351
1618
|
onValidate: "",
|
|
1352
1619
|
accessType: "1",
|
|
1353
|
-
|
|
1354
|
-
wfEdit: false,
|
|
1355
|
-
enabledByWf: false,
|
|
1356
|
-
hiddenByWf: false,
|
|
1357
|
-
wfConfigData: [],
|
|
1620
|
+
...defaultWfConfig,
|
|
1358
1621
|
|
|
1359
1622
|
showRuleFlag: 1,
|
|
1360
1623
|
showRuleEnabled: 1,
|
|
1361
1624
|
showRules: [],
|
|
1362
|
-
|
|
1363
|
-
textRule1: false,
|
|
1364
|
-
textRule2: false,
|
|
1365
|
-
textRule3: false,
|
|
1366
|
-
textRule2Number: null,
|
|
1367
|
-
textRule3Number: null
|
|
1368
|
-
|
|
1369
|
-
}
|
|
1625
|
+
},
|
|
1370
1626
|
},
|
|
1371
1627
|
{
|
|
1372
1628
|
type: "date",
|
|
1373
1629
|
icon: "date-field",
|
|
1630
|
+
commonFlag: !0,
|
|
1374
1631
|
formItemFlag: !0,
|
|
1632
|
+
columnFlag: true,
|
|
1375
1633
|
tableField: null,
|
|
1376
1634
|
options: {
|
|
1377
1635
|
name: "",
|
|
1378
1636
|
keyNameEnabled: !1,
|
|
1379
1637
|
keyName: "",
|
|
1380
1638
|
label: "",
|
|
1639
|
+
labelColor: "",
|
|
1381
1640
|
submitFlag: true,
|
|
1382
1641
|
/**showText: false,*/
|
|
1383
1642
|
formField: "",
|
|
@@ -1396,6 +1655,12 @@ export const basicFields = [
|
|
|
1396
1655
|
editable: !1,
|
|
1397
1656
|
format: "yyyy-MM-dd",
|
|
1398
1657
|
valueFormat: "yyyy-MM-dd",
|
|
1658
|
+
dateLimit: null,
|
|
1659
|
+
limitStartField: null,
|
|
1660
|
+
limitEndField: null,
|
|
1661
|
+
minDate: null,
|
|
1662
|
+
maxDate: null,
|
|
1663
|
+
utcTransformEnabled: !1,
|
|
1399
1664
|
required: !1,
|
|
1400
1665
|
requiredHint: "",
|
|
1401
1666
|
validation: "",
|
|
@@ -1411,34 +1676,28 @@ export const basicFields = [
|
|
|
1411
1676
|
onBlur: "",
|
|
1412
1677
|
onValidate: "",
|
|
1413
1678
|
accessType: "1",
|
|
1414
|
-
|
|
1415
|
-
wfEdit: false,
|
|
1416
|
-
enabledByWf: false,
|
|
1417
|
-
hiddenByWf: false,
|
|
1418
|
-
wfConfigData: [],
|
|
1679
|
+
...defaultWfConfig,
|
|
1419
1680
|
|
|
1420
1681
|
showRuleFlag: 1,
|
|
1421
1682
|
showRuleEnabled: 1,
|
|
1422
1683
|
showRules: [],
|
|
1423
|
-
textFlag: 1,
|
|
1424
|
-
textRule1: false,
|
|
1425
|
-
textRule2: false,
|
|
1426
|
-
textRule3: false,
|
|
1427
|
-
textRule2Number: null,
|
|
1428
|
-
textRule3Number: null
|
|
1429
1684
|
|
|
1430
|
-
|
|
1685
|
+
...defaultTextFlagConfig,
|
|
1686
|
+
},
|
|
1431
1687
|
},
|
|
1432
1688
|
{
|
|
1433
1689
|
type: "date-range",
|
|
1434
1690
|
icon: "date-range-field",
|
|
1691
|
+
commonFlag: !0,
|
|
1435
1692
|
formItemFlag: !0,
|
|
1693
|
+
columnFlag: true,
|
|
1436
1694
|
tableField: null,
|
|
1437
1695
|
options: {
|
|
1438
1696
|
name: "",
|
|
1439
1697
|
keyNameEnabled: !1,
|
|
1440
1698
|
keyName: "",
|
|
1441
1699
|
label: "",
|
|
1700
|
+
labelColor: "",
|
|
1442
1701
|
submitFlag: true,
|
|
1443
1702
|
formField: "",
|
|
1444
1703
|
labelAlign: "",
|
|
@@ -1457,6 +1716,8 @@ export const basicFields = [
|
|
|
1457
1716
|
editable: !1,
|
|
1458
1717
|
format: "yyyy-MM-dd",
|
|
1459
1718
|
valueFormat: "yyyy-MM-dd",
|
|
1719
|
+
defaultTime: ["00:00:00", "23:59:59"],
|
|
1720
|
+
utcTransformEnabled: !1,
|
|
1460
1721
|
required: !1,
|
|
1461
1722
|
requiredHint: "",
|
|
1462
1723
|
validation: "",
|
|
@@ -1472,23 +1733,12 @@ export const basicFields = [
|
|
|
1472
1733
|
onBlur: "",
|
|
1473
1734
|
onValidate: "",
|
|
1474
1735
|
accessType: "1",
|
|
1475
|
-
|
|
1476
|
-
wfEdit: false,
|
|
1477
|
-
enabledByWf: false,
|
|
1478
|
-
hiddenByWf: false,
|
|
1479
|
-
wfConfigData: [],
|
|
1736
|
+
...defaultWfConfig,
|
|
1480
1737
|
|
|
1481
1738
|
showRuleFlag: 1,
|
|
1482
1739
|
showRuleEnabled: 1,
|
|
1483
1740
|
showRules: [],
|
|
1484
|
-
|
|
1485
|
-
textRule1: false,
|
|
1486
|
-
textRule2: false,
|
|
1487
|
-
textRule3: false,
|
|
1488
|
-
textRule2Number: null,
|
|
1489
|
-
textRule3Number: null
|
|
1490
|
-
|
|
1491
|
-
}
|
|
1741
|
+
},
|
|
1492
1742
|
},
|
|
1493
1743
|
/* {
|
|
1494
1744
|
type: "switch",
|
|
@@ -1617,34 +1867,36 @@ export const basicFields = [
|
|
|
1617
1867
|
{
|
|
1618
1868
|
type: "static-text",
|
|
1619
1869
|
icon: "static-text",
|
|
1870
|
+
commonFlag: !0,
|
|
1620
1871
|
formItemFlag: !1,
|
|
1872
|
+
columnFlag: true,
|
|
1621
1873
|
options: {
|
|
1622
1874
|
name: "",
|
|
1623
1875
|
columnWidth: "200px",
|
|
1624
1876
|
hidden: !1,
|
|
1625
1877
|
textContent: "static text",
|
|
1626
1878
|
fontSize: "13px",
|
|
1879
|
+
preWrap: true, //是否自动换行
|
|
1880
|
+
colorClass: "", //字体颜色
|
|
1627
1881
|
customClass: "",
|
|
1628
1882
|
onCreated: "",
|
|
1629
1883
|
onMounted: "",
|
|
1630
1884
|
accessType: "1",
|
|
1885
|
+
...defaultWfConfig,
|
|
1631
1886
|
|
|
1632
1887
|
showRuleFlag: 1,
|
|
1633
1888
|
showRuleEnabled: 1,
|
|
1634
1889
|
showRules: [],
|
|
1635
|
-
textFlag: 1,
|
|
1636
|
-
textRule1: false,
|
|
1637
|
-
textRule2: false,
|
|
1638
|
-
textRule3: false,
|
|
1639
|
-
textRule2Number: null,
|
|
1640
|
-
textRule3Number: null
|
|
1641
1890
|
|
|
1642
|
-
|
|
1891
|
+
...defaultTextFlagConfig,
|
|
1892
|
+
},
|
|
1643
1893
|
},
|
|
1644
1894
|
{
|
|
1645
1895
|
type: "html-text",
|
|
1646
1896
|
icon: "html-text",
|
|
1897
|
+
commonFlag: !0,
|
|
1647
1898
|
formItemFlag: !1,
|
|
1899
|
+
columnFlag: false,
|
|
1648
1900
|
options: {
|
|
1649
1901
|
name: "",
|
|
1650
1902
|
columnWidth: "200px",
|
|
@@ -1654,18 +1906,12 @@ export const basicFields = [
|
|
|
1654
1906
|
onCreated: "",
|
|
1655
1907
|
onMounted: "",
|
|
1656
1908
|
accessType: "1",
|
|
1909
|
+
...defaultWfConfig,
|
|
1657
1910
|
|
|
1658
1911
|
showRuleFlag: 1,
|
|
1659
1912
|
showRuleEnabled: 1,
|
|
1660
1913
|
showRules: [],
|
|
1661
|
-
|
|
1662
|
-
textRule1: false,
|
|
1663
|
-
textRule2: false,
|
|
1664
|
-
textRule3: false,
|
|
1665
|
-
textRule2Number: null,
|
|
1666
|
-
textRule3Number: null
|
|
1667
|
-
|
|
1668
|
-
}
|
|
1914
|
+
},
|
|
1669
1915
|
},
|
|
1670
1916
|
/* {
|
|
1671
1917
|
type: 'title-head',
|
|
@@ -1687,10 +1933,13 @@ export const basicFields = [
|
|
|
1687
1933
|
{
|
|
1688
1934
|
type: "button",
|
|
1689
1935
|
icon: "button",
|
|
1936
|
+
commonFlag: !0,
|
|
1690
1937
|
formItemFlag: !1,
|
|
1938
|
+
columnFlag: true,
|
|
1691
1939
|
options: {
|
|
1692
1940
|
name: "",
|
|
1693
1941
|
label: "",
|
|
1942
|
+
wfHideFlag: 1,
|
|
1694
1943
|
columnWidth: "200px",
|
|
1695
1944
|
size: "",
|
|
1696
1945
|
displayStyle: "block",
|
|
@@ -1707,34 +1956,29 @@ export const basicFields = [
|
|
|
1707
1956
|
onClick: "",
|
|
1708
1957
|
accessType: "1",
|
|
1709
1958
|
clickBindEvent: null,
|
|
1959
|
+
onBeforeClickButton: null,
|
|
1710
1960
|
searchDialogConfig: {
|
|
1711
|
-
...defaultSearchDialogConfig
|
|
1961
|
+
...defaultSearchDialogConfig,
|
|
1712
1962
|
},
|
|
1713
1963
|
addTableDataConfig: {
|
|
1714
1964
|
tableRef: null,
|
|
1715
|
-
tableData: {}
|
|
1965
|
+
tableData: {},
|
|
1716
1966
|
},
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
hiddenByWf: false,
|
|
1721
|
-
wfConfigData: [],
|
|
1967
|
+
...defaultWfConfig,
|
|
1968
|
+
hiddenByWf: true,
|
|
1969
|
+
...defaultWidgetShowRuleConfig,
|
|
1722
1970
|
|
|
1723
1971
|
showRuleFlag: 1,
|
|
1724
1972
|
showRuleEnabled: 1,
|
|
1725
1973
|
showRules: [],
|
|
1726
|
-
|
|
1727
|
-
textRule1: false,
|
|
1728
|
-
textRule2: false,
|
|
1729
|
-
textRule3: false,
|
|
1730
|
-
textRule2Number: null,
|
|
1731
|
-
textRule3Number: null
|
|
1732
|
-
}
|
|
1974
|
+
},
|
|
1733
1975
|
},
|
|
1734
1976
|
{
|
|
1735
1977
|
type: "divider",
|
|
1736
1978
|
icon: "divider",
|
|
1979
|
+
commonFlag: !0,
|
|
1737
1980
|
formItemFlag: !1,
|
|
1981
|
+
columnFlag: true,
|
|
1738
1982
|
options: {
|
|
1739
1983
|
name: "",
|
|
1740
1984
|
label: "",
|
|
@@ -1743,9 +1987,10 @@ export const basicFields = [
|
|
|
1743
1987
|
contentPosition: "center",
|
|
1744
1988
|
hidden: !1,
|
|
1745
1989
|
customClass: "",
|
|
1990
|
+
...defaultWfConfig,
|
|
1746
1991
|
onCreated: "",
|
|
1747
|
-
onMounted: ""
|
|
1748
|
-
}
|
|
1992
|
+
onMounted: "",
|
|
1993
|
+
},
|
|
1749
1994
|
},
|
|
1750
1995
|
/*{
|
|
1751
1996
|
type: "descriptions",
|
|
@@ -1804,48 +2049,59 @@ export const basicFields = [
|
|
|
1804
2049
|
{
|
|
1805
2050
|
type: "text",
|
|
1806
2051
|
icon: "text",
|
|
2052
|
+
commonFlag: !0,
|
|
1807
2053
|
formItemFlag: !0,
|
|
2054
|
+
columnFlag: true,
|
|
1808
2055
|
tableField: null,
|
|
1809
2056
|
options: {
|
|
1810
2057
|
name: "",
|
|
1811
2058
|
keyNameEnabled: !1,
|
|
1812
2059
|
keyName: "",
|
|
1813
2060
|
label: "",
|
|
2061
|
+
labelColor: "",
|
|
1814
2062
|
submitFlag: true,
|
|
1815
2063
|
formField: "",
|
|
1816
2064
|
hidden: !1,
|
|
1817
2065
|
required: !1,
|
|
1818
2066
|
customClass: "",
|
|
2067
|
+
colorClass: "",
|
|
1819
2068
|
defaultValue: "",
|
|
1820
2069
|
labelAlign: "",
|
|
1821
2070
|
labelWidth: null,
|
|
1822
2071
|
labelHidden: !1,
|
|
2072
|
+
...defaultLabelIconConfig,
|
|
1823
2073
|
onCreated: "",
|
|
1824
2074
|
onMounted: "",
|
|
1825
2075
|
accessType: "1",
|
|
1826
|
-
|
|
2076
|
+
...defaultWfConfig,
|
|
2077
|
+
|
|
2078
|
+
autoValueEnabled: false,
|
|
2079
|
+
autoValueHanlde: null,
|
|
2080
|
+
formatType: null,
|
|
2081
|
+
renderHandle: null,
|
|
2082
|
+
utcTransformEnabled: !1,
|
|
1827
2083
|
|
|
1828
2084
|
showRuleFlag: 1,
|
|
1829
2085
|
showRuleEnabled: 1,
|
|
1830
2086
|
showRules: [],
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
textRule3: false,
|
|
1835
|
-
textRule2Number: null,
|
|
1836
|
-
textRule3Number: null
|
|
1837
|
-
}
|
|
2087
|
+
|
|
2088
|
+
...defaultTextFlagConfig,
|
|
2089
|
+
},
|
|
1838
2090
|
},
|
|
1839
2091
|
{
|
|
1840
2092
|
type: "a-text",
|
|
1841
2093
|
icon: "text-field",
|
|
2094
|
+
commonFlag: !0,
|
|
1842
2095
|
formItemFlag: !0,
|
|
2096
|
+
columnFlag: true,
|
|
1843
2097
|
tableField: null,
|
|
1844
2098
|
options: {
|
|
1845
2099
|
name: "",
|
|
1846
2100
|
keyNameEnabled: !1,
|
|
1847
2101
|
keyName: "",
|
|
1848
2102
|
label: "",
|
|
2103
|
+
labelColor: "",
|
|
2104
|
+
displayStyle: "block",
|
|
1849
2105
|
submitFlag: true,
|
|
1850
2106
|
/**showText: false,*/
|
|
1851
2107
|
formField: "",
|
|
@@ -1857,6 +2113,7 @@ export const basicFields = [
|
|
|
1857
2113
|
hidden: !1,
|
|
1858
2114
|
|
|
1859
2115
|
customClass: "",
|
|
2116
|
+
...defaultLabelIconConfig,
|
|
1860
2117
|
|
|
1861
2118
|
prefixIcon: "",
|
|
1862
2119
|
suffixIcon: "",
|
|
@@ -1864,7 +2121,9 @@ export const basicFields = [
|
|
|
1864
2121
|
aTextFlag: 1,
|
|
1865
2122
|
underline: false,
|
|
1866
2123
|
href: "",
|
|
1867
|
-
|
|
2124
|
+
colorClass: "f-red",
|
|
2125
|
+
formatType: null,
|
|
2126
|
+
renderHandle: null,
|
|
1868
2127
|
|
|
1869
2128
|
onCreated: "",
|
|
1870
2129
|
onMounted: "",
|
|
@@ -1872,78 +2131,95 @@ export const basicFields = [
|
|
|
1872
2131
|
onChange: "",
|
|
1873
2132
|
onClick: "",
|
|
1874
2133
|
accessType: "1",
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
enabledByWf: false,
|
|
1878
|
-
hiddenByWf: false,
|
|
1879
|
-
wfConfigData: [],
|
|
2134
|
+
...defaultWfConfig,
|
|
2135
|
+
...defaultWidgetShowRuleConfig,
|
|
1880
2136
|
|
|
1881
2137
|
showRuleFlag: 1,
|
|
1882
2138
|
showRuleEnabled: 1,
|
|
1883
2139
|
showRules: [],
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
textRule3: false,
|
|
1888
|
-
textRule2Number: null,
|
|
1889
|
-
textRule3Number: null
|
|
1890
|
-
}
|
|
2140
|
+
|
|
2141
|
+
...defaultTextFlagConfig,
|
|
2142
|
+
},
|
|
1891
2143
|
},
|
|
1892
2144
|
{
|
|
1893
2145
|
type: "a-link",
|
|
1894
2146
|
icon: "button",
|
|
2147
|
+
commonFlag: !0,
|
|
1895
2148
|
formItemFlag: !1,
|
|
2149
|
+
columnFlag: true,
|
|
1896
2150
|
options: {
|
|
1897
2151
|
name: "",
|
|
1898
2152
|
keyNameEnabled: !1,
|
|
1899
2153
|
keyName: "",
|
|
1900
2154
|
label: "",
|
|
2155
|
+
displayStyle: "block",
|
|
1901
2156
|
labelHidden: !1,
|
|
1902
2157
|
disabled: !1,
|
|
1903
2158
|
hidden: !1,
|
|
1904
2159
|
prefixIcon: "",
|
|
1905
2160
|
suffixIcon: "",
|
|
1906
2161
|
customClass: "",
|
|
2162
|
+
wfHideFlag: 1,
|
|
1907
2163
|
aLinkFlag: 1,
|
|
1908
2164
|
underline: false,
|
|
1909
2165
|
href: "",
|
|
1910
|
-
|
|
2166
|
+
colorClass: "f-blue",
|
|
1911
2167
|
isFormLabel: false,
|
|
1912
2168
|
onCreated: "",
|
|
1913
2169
|
onMounted: "",
|
|
1914
2170
|
onClick: "",
|
|
1915
2171
|
clickBindEvent: null,
|
|
2172
|
+
onBeforeClickButton: null,
|
|
1916
2173
|
searchDialogConfig: {
|
|
1917
|
-
...defaultSearchDialogConfig
|
|
2174
|
+
...defaultSearchDialogConfig,
|
|
1918
2175
|
},
|
|
1919
2176
|
addTableDataConfig: {
|
|
1920
2177
|
tableRef: null,
|
|
1921
|
-
tableData: {}
|
|
2178
|
+
tableData: {},
|
|
1922
2179
|
},
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
enabledByWf: false,
|
|
1926
|
-
hiddenByWf: false,
|
|
1927
|
-
wfConfigData: [],
|
|
2180
|
+
...defaultWfConfig,
|
|
2181
|
+
...defaultWidgetShowRuleConfig,
|
|
1928
2182
|
|
|
1929
2183
|
showRuleFlag: 1,
|
|
1930
2184
|
showRuleEnabled: 1,
|
|
1931
2185
|
showRules: [],
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
textRule3: false,
|
|
1936
|
-
textRule2Number: null,
|
|
1937
|
-
textRule3Number: null
|
|
1938
|
-
}
|
|
2186
|
+
|
|
2187
|
+
...defaultTextFlagConfig,
|
|
2188
|
+
},
|
|
1939
2189
|
},
|
|
2190
|
+
{
|
|
2191
|
+
type: "a-link2",
|
|
2192
|
+
icon: "button",
|
|
2193
|
+
commonFlag: !1,
|
|
2194
|
+
formItemFlag: !1,
|
|
2195
|
+
columnFlag: false,
|
|
2196
|
+
options: {
|
|
2197
|
+
prefixIcon: "",
|
|
2198
|
+
suffixIcon: "",
|
|
2199
|
+
customClass: "",
|
|
2200
|
+
aLinkFlag: 1,
|
|
2201
|
+
underline: false,
|
|
2202
|
+
href: "",
|
|
2203
|
+
colorClass: "f-blue",
|
|
1940
2204
|
|
|
1941
|
-
|
|
2205
|
+
onClick: "",
|
|
2206
|
+
clickBindEvent: null,
|
|
2207
|
+
onBeforeClickButton: null,
|
|
2208
|
+
searchDialogConfig: {
|
|
2209
|
+
...defaultSearchDialogConfig,
|
|
2210
|
+
},
|
|
2211
|
+
addTableDataConfig: {
|
|
2212
|
+
tableRef: null,
|
|
2213
|
+
tableData: {},
|
|
2214
|
+
},
|
|
2215
|
+
},
|
|
2216
|
+
},
|
|
2217
|
+
];
|
|
1942
2218
|
|
|
1943
2219
|
export const advancedFields = [
|
|
1944
2220
|
{
|
|
1945
|
-
type:
|
|
1946
|
-
icon:
|
|
2221
|
+
type: "echart-pie",
|
|
2222
|
+
icon: "echart-pie",
|
|
1947
2223
|
commonFlag: !0,
|
|
1948
2224
|
formItemFlag: false,
|
|
1949
2225
|
options: {
|
|
@@ -1952,89 +2228,102 @@ export const advancedFields = [
|
|
|
1952
2228
|
hidden: !1,
|
|
1953
2229
|
echarPieOption: {
|
|
1954
2230
|
backgroundColor: "#fff",
|
|
1955
|
-
color: [
|
|
2231
|
+
color: [
|
|
2232
|
+
"#5BC1D7",
|
|
2233
|
+
"#FF8A3D",
|
|
2234
|
+
"#56C271",
|
|
2235
|
+
"#694ED6",
|
|
2236
|
+
"#C033A1",
|
|
2237
|
+
"#FFCC10",
|
|
2238
|
+
],
|
|
1956
2239
|
title: {
|
|
1957
2240
|
show: true,
|
|
1958
|
-
top:
|
|
1959
|
-
text:
|
|
2241
|
+
top: "5px",
|
|
2242
|
+
text: "这是饼图标题",
|
|
1960
2243
|
},
|
|
1961
2244
|
grid: {
|
|
1962
|
-
top:
|
|
1963
|
-
left:
|
|
1964
|
-
right:
|
|
1965
|
-
bottom:
|
|
1966
|
-
containLabel: true
|
|
2245
|
+
top: "80px",
|
|
2246
|
+
left: "3%",
|
|
2247
|
+
right: "6%",
|
|
2248
|
+
bottom: "3%",
|
|
2249
|
+
containLabel: true,
|
|
1967
2250
|
},
|
|
1968
2251
|
legend: {
|
|
1969
2252
|
show: false,
|
|
1970
|
-
right:
|
|
2253
|
+
right: "12px",
|
|
1971
2254
|
itemGap: 20,
|
|
1972
2255
|
itemWidth: 10,
|
|
1973
2256
|
itemHeight: 10,
|
|
1974
|
-
orient:
|
|
2257
|
+
orient: "horizontal",
|
|
1975
2258
|
},
|
|
1976
2259
|
tooltip: {
|
|
1977
|
-
trigger:
|
|
2260
|
+
trigger: "axis",
|
|
1978
2261
|
axisPointer: {
|
|
1979
|
-
type:
|
|
2262
|
+
type: "shadow",
|
|
1980
2263
|
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'
|
|
2264
|
+
backgroundColor: "#fff",
|
|
2008
2265
|
},
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2266
|
+
},
|
|
2267
|
+
},
|
|
2268
|
+
series: [
|
|
2269
|
+
{
|
|
2270
|
+
// name: 'Access From',
|
|
2271
|
+
type: "pie",
|
|
2272
|
+
radius: "60%",
|
|
2273
|
+
center: ["50%", "48%"],
|
|
2274
|
+
itemStyle: {
|
|
2275
|
+
borderRadius: 10,
|
|
2276
|
+
borderColor: "#FFF",
|
|
2277
|
+
borderWidth: 2,
|
|
2012
2278
|
},
|
|
2013
|
-
{
|
|
2014
|
-
|
|
2015
|
-
|
|
2279
|
+
label: {
|
|
2280
|
+
show: true,
|
|
2281
|
+
fontSize: 12,
|
|
2282
|
+
color: "",
|
|
2283
|
+
fontWeight: "normal",
|
|
2016
2284
|
},
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2285
|
+
data: [
|
|
2286
|
+
{
|
|
2287
|
+
value: 1048,
|
|
2288
|
+
name: "Search Engine",
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
value: 735,
|
|
2292
|
+
name: "Direct",
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
value: 580,
|
|
2296
|
+
name: "Email",
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
value: 484,
|
|
2300
|
+
name: "Union Ads",
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
value: 300,
|
|
2304
|
+
name: "Video Ads",
|
|
2305
|
+
},
|
|
2306
|
+
],
|
|
2307
|
+
},
|
|
2308
|
+
],
|
|
2023
2309
|
},
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2310
|
+
echartConfig: "",
|
|
2311
|
+
|
|
2312
|
+
...httpConfig,
|
|
2313
|
+
|
|
2314
|
+
onClick: "",
|
|
2027
2315
|
onCreated: "",
|
|
2028
2316
|
onMounted: "this.loadDataDefaultHandle()",
|
|
2029
2317
|
|
|
2318
|
+
...defaultWfConfig,
|
|
2030
2319
|
showRuleFlag: 1,
|
|
2031
2320
|
showRuleEnabled: 1,
|
|
2032
|
-
showRules: []
|
|
2033
|
-
}
|
|
2321
|
+
showRules: [],
|
|
2322
|
+
},
|
|
2034
2323
|
},
|
|
2035
2324
|
{
|
|
2036
|
-
type:
|
|
2037
|
-
icon:
|
|
2325
|
+
type: "echart-bar",
|
|
2326
|
+
icon: "echart",
|
|
2038
2327
|
commonFlag: !0,
|
|
2039
2328
|
formItemFlag: false,
|
|
2040
2329
|
options: {
|
|
@@ -2043,44 +2332,52 @@ export const advancedFields = [
|
|
|
2043
2332
|
hidden: !1,
|
|
2044
2333
|
echarBarOption: {
|
|
2045
2334
|
backgroundColor: "#fff",
|
|
2046
|
-
color: [
|
|
2335
|
+
color: [
|
|
2336
|
+
"#5BC1D7",
|
|
2337
|
+
"#FF8A3D",
|
|
2338
|
+
"#56C271",
|
|
2339
|
+
"#694ED6",
|
|
2340
|
+
"#C033A1",
|
|
2341
|
+
"#FFCC10",
|
|
2342
|
+
],
|
|
2343
|
+
colors: [],
|
|
2047
2344
|
title: {
|
|
2048
2345
|
show: true,
|
|
2049
|
-
top:
|
|
2050
|
-
text:
|
|
2346
|
+
top: "5px",
|
|
2347
|
+
text: "这是柱形图标题",
|
|
2051
2348
|
},
|
|
2052
2349
|
grid: {
|
|
2053
|
-
top:
|
|
2054
|
-
left:
|
|
2055
|
-
right:
|
|
2056
|
-
bottom:
|
|
2057
|
-
containLabel: true
|
|
2350
|
+
top: "80px",
|
|
2351
|
+
left: "3%",
|
|
2352
|
+
right: "80",
|
|
2353
|
+
bottom: "3%",
|
|
2354
|
+
containLabel: true,
|
|
2058
2355
|
},
|
|
2059
2356
|
legend: {
|
|
2060
|
-
right:
|
|
2061
|
-
top:
|
|
2062
|
-
icon:
|
|
2357
|
+
right: "12px",
|
|
2358
|
+
top: "8px",
|
|
2359
|
+
icon: "circle",
|
|
2063
2360
|
itemWidth: 12,
|
|
2064
2361
|
|
|
2065
2362
|
itemGap: 24,
|
|
2066
2363
|
},
|
|
2067
2364
|
tooltip: {
|
|
2068
|
-
trigger:
|
|
2365
|
+
trigger: "axis",
|
|
2069
2366
|
axisPointer: {
|
|
2070
|
-
type:
|
|
2367
|
+
type: "shadow",
|
|
2071
2368
|
label: {
|
|
2072
|
-
backgroundColor:
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2369
|
+
backgroundColor: "#fff",
|
|
2370
|
+
},
|
|
2371
|
+
},
|
|
2075
2372
|
},
|
|
2076
2373
|
xAxis: {
|
|
2077
|
-
type:
|
|
2078
|
-
data: [
|
|
2374
|
+
type: "category",
|
|
2375
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
|
2079
2376
|
show: true,
|
|
2080
2377
|
name: "X轴",
|
|
2081
2378
|
nameTextStyle: {
|
|
2082
2379
|
color: "#606266",
|
|
2083
|
-
fontSize: 12
|
|
2380
|
+
fontSize: 12,
|
|
2084
2381
|
},
|
|
2085
2382
|
axisLabel: {
|
|
2086
2383
|
color: "#606266",
|
|
@@ -2090,20 +2387,20 @@ export const advancedFields = [
|
|
|
2090
2387
|
inverse: false,
|
|
2091
2388
|
axisLine: {
|
|
2092
2389
|
lineStyle: {
|
|
2093
|
-
color: "#E6EBF5"
|
|
2094
|
-
}
|
|
2390
|
+
color: "#E6EBF5",
|
|
2391
|
+
},
|
|
2095
2392
|
},
|
|
2096
2393
|
splitLine: {
|
|
2097
2394
|
show: false,
|
|
2098
|
-
}
|
|
2395
|
+
},
|
|
2099
2396
|
},
|
|
2100
2397
|
yAxis: {
|
|
2101
|
-
type:
|
|
2398
|
+
type: "value",
|
|
2102
2399
|
show: true,
|
|
2103
2400
|
name: "Y轴",
|
|
2104
2401
|
nameTextStyle: {
|
|
2105
2402
|
color: "#606266",
|
|
2106
|
-
fontSize: 12
|
|
2403
|
+
fontSize: 12,
|
|
2107
2404
|
},
|
|
2108
2405
|
axisLabel: {
|
|
2109
2406
|
color: "#606266",
|
|
@@ -2114,96 +2411,109 @@ export const advancedFields = [
|
|
|
2114
2411
|
axisLine: {
|
|
2115
2412
|
show: false,
|
|
2116
2413
|
lineStyle: {
|
|
2117
|
-
color: ""
|
|
2118
|
-
}
|
|
2414
|
+
color: "",
|
|
2415
|
+
},
|
|
2119
2416
|
},
|
|
2120
2417
|
splitLine: {
|
|
2121
2418
|
show: true,
|
|
2122
2419
|
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)'
|
|
2420
|
+
color: "#E6EBF5",
|
|
2421
|
+
},
|
|
2140
2422
|
},
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2423
|
+
},
|
|
2424
|
+
series: [
|
|
2425
|
+
{
|
|
2426
|
+
data: [120, 200, 150, 80, 70, 110, 130],
|
|
2427
|
+
type: "bar",
|
|
2428
|
+
name: "Video Ad",
|
|
2429
|
+
label: {
|
|
2430
|
+
show: false,
|
|
2431
|
+
fontSize: 12,
|
|
2432
|
+
color: "#FFF",
|
|
2433
|
+
fontWeight: "normal",
|
|
2434
|
+
position: "insideTop",
|
|
2435
|
+
},
|
|
2436
|
+
backgroundStyle: {
|
|
2437
|
+
color: "rgba(180, 180, 180, 0.2)",
|
|
2438
|
+
},
|
|
2439
|
+
barMaxWidth: 28,
|
|
2440
|
+
barMinHeight: 0,
|
|
2441
|
+
barGap: "15%",
|
|
2442
|
+
itemStyle: {
|
|
2443
|
+
color: {
|
|
2444
|
+
type: "linear",
|
|
2445
|
+
x: 0.5,
|
|
2446
|
+
y: 0.9,
|
|
2447
|
+
r: 0.2,
|
|
2448
|
+
colorStops: [
|
|
2449
|
+
{
|
|
2450
|
+
offset: 1,
|
|
2451
|
+
color: "#08C084", // 0% 处的颜色
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
offset: 0,
|
|
2455
|
+
color: "#97EACE", // 100% 处的颜色
|
|
2456
|
+
},
|
|
2457
|
+
],
|
|
2458
|
+
},
|
|
2459
|
+
borderRadius: [20, 20, 0, 0],
|
|
2155
2460
|
},
|
|
2156
|
-
borderRadius: [20, 20, 0, 0]
|
|
2157
2461
|
},
|
|
2462
|
+
{
|
|
2463
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
|
2464
|
+
type: "bar",
|
|
2465
|
+
name: "Video Ad1",
|
|
2158
2466
|
|
|
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
|
-
|
|
2467
|
+
label: {
|
|
2468
|
+
show: false,
|
|
2469
|
+
fontSize: 12,
|
|
2470
|
+
color: "#FFF",
|
|
2471
|
+
fontWeight: "normal",
|
|
2472
|
+
position: "insideTop",
|
|
2473
|
+
},
|
|
2474
|
+
backgroundStyle: {
|
|
2475
|
+
color: "rgba(180, 180, 180, 0.2)",
|
|
2476
|
+
},
|
|
2477
|
+
barMaxWidth: "28%",
|
|
2478
|
+
barMinHeight: 0,
|
|
2479
|
+
itemStyle: {
|
|
2480
|
+
color: {
|
|
2481
|
+
type: "linear",
|
|
2482
|
+
x: 0.5,
|
|
2483
|
+
y: 0.9,
|
|
2484
|
+
r: 0.2,
|
|
2485
|
+
colorStops: [
|
|
2486
|
+
{
|
|
2487
|
+
offset: 1,
|
|
2488
|
+
color: "#29ABE3", // 0% 处的颜色
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
offset: 0,
|
|
2492
|
+
color: "#AADEF4", // 100% 处的颜色
|
|
2493
|
+
},
|
|
2494
|
+
],
|
|
2495
|
+
},
|
|
2496
|
+
borderRadius: [20, 20, 0, 0],
|
|
2187
2497
|
},
|
|
2188
|
-
borderRadius: [20, 20, 0, 0]
|
|
2189
2498
|
},
|
|
2190
|
-
|
|
2191
|
-
}]
|
|
2499
|
+
],
|
|
2192
2500
|
},
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2501
|
+
echartConfig: "",
|
|
2502
|
+
|
|
2503
|
+
...httpConfig,
|
|
2504
|
+
|
|
2505
|
+
onClick: "",
|
|
2196
2506
|
onCreated: "",
|
|
2197
2507
|
onMounted: "this.loadDataDefaultHandle()",
|
|
2198
|
-
|
|
2508
|
+
...defaultWfConfig,
|
|
2199
2509
|
showRuleFlag: 1,
|
|
2200
2510
|
showRuleEnabled: 1,
|
|
2201
|
-
showRules: []
|
|
2202
|
-
}
|
|
2511
|
+
showRules: [],
|
|
2512
|
+
},
|
|
2203
2513
|
},
|
|
2204
2514
|
{
|
|
2205
|
-
type:
|
|
2206
|
-
icon:
|
|
2515
|
+
type: "echart-category",
|
|
2516
|
+
icon: "echart-category",
|
|
2207
2517
|
commonFlag: !0,
|
|
2208
2518
|
formItemFlag: false,
|
|
2209
2519
|
options: {
|
|
@@ -2213,42 +2523,50 @@ export const advancedFields = [
|
|
|
2213
2523
|
reqSources: [],
|
|
2214
2524
|
echarCategoryOption: {
|
|
2215
2525
|
backgroundColor: "#fff",
|
|
2216
|
-
color: [
|
|
2526
|
+
color: [
|
|
2527
|
+
"#5BC1D7",
|
|
2528
|
+
"#FF8A3D",
|
|
2529
|
+
"#56C271",
|
|
2530
|
+
"#694ED6",
|
|
2531
|
+
"#C033A1",
|
|
2532
|
+
"#FFCC10",
|
|
2533
|
+
],
|
|
2534
|
+
colors: [],
|
|
2217
2535
|
title: {
|
|
2218
2536
|
show: true,
|
|
2219
|
-
top:
|
|
2220
|
-
text:
|
|
2537
|
+
top: "5px",
|
|
2538
|
+
text: "这是折线图标题",
|
|
2221
2539
|
},
|
|
2222
2540
|
grid: {
|
|
2223
|
-
top:
|
|
2224
|
-
left:
|
|
2225
|
-
right:
|
|
2226
|
-
bottom:
|
|
2227
|
-
containLabel: true
|
|
2541
|
+
top: "80px",
|
|
2542
|
+
left: "3%",
|
|
2543
|
+
right: "80",
|
|
2544
|
+
bottom: "3%",
|
|
2545
|
+
containLabel: true,
|
|
2228
2546
|
},
|
|
2229
2547
|
legend: {
|
|
2230
|
-
right:
|
|
2231
|
-
top:
|
|
2548
|
+
right: "12px",
|
|
2549
|
+
top: "8px",
|
|
2232
2550
|
itemGap: 24,
|
|
2233
2551
|
},
|
|
2234
2552
|
tooltip: {
|
|
2235
|
-
trigger:
|
|
2553
|
+
trigger: "axis",
|
|
2236
2554
|
axisPointer: {
|
|
2237
|
-
type:
|
|
2555
|
+
type: "shadow",
|
|
2238
2556
|
label: {
|
|
2239
|
-
backgroundColor:
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2557
|
+
backgroundColor: "#fff",
|
|
2558
|
+
},
|
|
2559
|
+
},
|
|
2242
2560
|
},
|
|
2243
2561
|
xAxis: {
|
|
2244
|
-
type:
|
|
2245
|
-
data: [
|
|
2562
|
+
type: "category",
|
|
2563
|
+
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
|
2246
2564
|
show: true,
|
|
2247
2565
|
name: "X轴",
|
|
2248
2566
|
boundaryGap: false,
|
|
2249
2567
|
nameTextStyle: {
|
|
2250
2568
|
color: "#606266",
|
|
2251
|
-
fontSize: 12
|
|
2569
|
+
fontSize: 12,
|
|
2252
2570
|
},
|
|
2253
2571
|
axisLabel: {
|
|
2254
2572
|
color: "#606266",
|
|
@@ -2258,24 +2576,24 @@ export const advancedFields = [
|
|
|
2258
2576
|
inverse: false,
|
|
2259
2577
|
axisLine: {
|
|
2260
2578
|
lineStyle: {
|
|
2261
|
-
color: "#E6EBF5"
|
|
2262
|
-
}
|
|
2579
|
+
color: "#E6EBF5",
|
|
2580
|
+
},
|
|
2263
2581
|
},
|
|
2264
2582
|
splitLine: {
|
|
2265
2583
|
show: true,
|
|
2266
2584
|
lineStyle: {
|
|
2267
|
-
type:
|
|
2268
|
-
color: "#E6EBF595"
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2585
|
+
type: "dashed",
|
|
2586
|
+
color: "#E6EBF595",
|
|
2587
|
+
},
|
|
2588
|
+
},
|
|
2271
2589
|
},
|
|
2272
2590
|
yAxis: {
|
|
2273
|
-
type:
|
|
2591
|
+
type: "value",
|
|
2274
2592
|
show: true,
|
|
2275
2593
|
name: "Y轴",
|
|
2276
2594
|
nameTextStyle: {
|
|
2277
2595
|
color: "#606266",
|
|
2278
|
-
fontSize: 12
|
|
2596
|
+
fontSize: 12,
|
|
2279
2597
|
},
|
|
2280
2598
|
axisLabel: {
|
|
2281
2599
|
color: "#606266",
|
|
@@ -2286,110 +2604,167 @@ export const advancedFields = [
|
|
|
2286
2604
|
axisLine: {
|
|
2287
2605
|
show: false,
|
|
2288
2606
|
lineStyle: {
|
|
2289
|
-
color: ""
|
|
2290
|
-
}
|
|
2607
|
+
color: "",
|
|
2608
|
+
},
|
|
2291
2609
|
},
|
|
2292
2610
|
splitLine: {
|
|
2293
2611
|
show: true,
|
|
2294
2612
|
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
|
-
}],
|
|
2613
|
+
color: "#E6EBF5",
|
|
2321
2614
|
},
|
|
2322
|
-
cap: 'round',
|
|
2323
|
-
shadowColor: '#08C08450',
|
|
2324
|
-
shadowBlur: 4,
|
|
2325
|
-
shadowOffsetY: 6
|
|
2326
|
-
},
|
|
2327
|
-
emphasis: {
|
|
2328
|
-
scale: 1,
|
|
2329
|
-
focus: 'series'
|
|
2330
|
-
},
|
|
2331
|
-
showSymbol: false,
|
|
2332
|
-
smooth: true,
|
|
2333
|
-
}, {
|
|
2334
|
-
name: "R2",
|
|
2335
|
-
data: [140, 232, 101, 264, 90, 340, 250],
|
|
2336
|
-
type: 'line',
|
|
2337
|
-
stack: 'Total',
|
|
2338
|
-
label: {
|
|
2339
|
-
show: true,
|
|
2340
|
-
fontSize: 12,
|
|
2341
|
-
color: "#212121",
|
|
2342
|
-
fontWeight: "normal"
|
|
2343
2615
|
},
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2616
|
+
},
|
|
2617
|
+
series: [
|
|
2618
|
+
{
|
|
2619
|
+
name: "R1",
|
|
2620
|
+
data: [220, 282, 111, 234, 220, 340, 310],
|
|
2621
|
+
type: "line",
|
|
2622
|
+
stack: "Total",
|
|
2623
|
+
label: {
|
|
2624
|
+
show: true,
|
|
2625
|
+
fontSize: 12,
|
|
2626
|
+
color: "#212121",
|
|
2627
|
+
fontWeight: "normal",
|
|
2355
2628
|
},
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2629
|
+
lineStyle: {
|
|
2630
|
+
color: {
|
|
2631
|
+
type: "linear",
|
|
2632
|
+
x: 0.5,
|
|
2633
|
+
y: 0.5,
|
|
2634
|
+
r: 0.5,
|
|
2635
|
+
colorStops: [
|
|
2636
|
+
{
|
|
2637
|
+
offset: 0,
|
|
2638
|
+
color: "#08C084", // 0% 处的颜色
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
offset: 1,
|
|
2642
|
+
color: "#97EACE", // 100% 处的颜色
|
|
2643
|
+
},
|
|
2644
|
+
],
|
|
2645
|
+
},
|
|
2646
|
+
cap: "round",
|
|
2647
|
+
shadowColor: "#08C08450",
|
|
2648
|
+
shadowBlur: 4,
|
|
2649
|
+
shadowOffsetY: 6,
|
|
2650
|
+
},
|
|
2651
|
+
itemStyle: {
|
|
2652
|
+
color: {
|
|
2653
|
+
type: "linear",
|
|
2654
|
+
x: 0.5,
|
|
2655
|
+
y: 0.5,
|
|
2656
|
+
r: 0.5,
|
|
2657
|
+
colorStops: [
|
|
2658
|
+
{
|
|
2659
|
+
offset: 0,
|
|
2660
|
+
color: "#08C084", // 0% 处的颜色
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
offset: 1,
|
|
2664
|
+
color: "#97EACE", // 100% 处的颜色
|
|
2665
|
+
},
|
|
2666
|
+
],
|
|
2667
|
+
},
|
|
2668
|
+
cap: "round",
|
|
2669
|
+
shadowColor: "#08C08450",
|
|
2670
|
+
shadowBlur: 4,
|
|
2671
|
+
shadowOffsetY: 6,
|
|
2672
|
+
},
|
|
2673
|
+
emphasis: {
|
|
2674
|
+
scale: 1,
|
|
2675
|
+
focus: "series",
|
|
2676
|
+
},
|
|
2677
|
+
showSymbol: false,
|
|
2678
|
+
smooth: true,
|
|
2360
2679
|
},
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2680
|
+
{
|
|
2681
|
+
name: "R2",
|
|
2682
|
+
data: [140, 232, 101, 264, 90, 340, 250],
|
|
2683
|
+
type: "line",
|
|
2684
|
+
stack: "Total",
|
|
2685
|
+
label: {
|
|
2686
|
+
show: true,
|
|
2687
|
+
fontSize: 12,
|
|
2688
|
+
color: "#212121",
|
|
2689
|
+
fontWeight: "normal",
|
|
2690
|
+
},
|
|
2691
|
+
lineStyle: {
|
|
2692
|
+
color: {
|
|
2693
|
+
type: "linear",
|
|
2694
|
+
x: 0.5,
|
|
2695
|
+
y: 0.5,
|
|
2696
|
+
r: 0.5,
|
|
2697
|
+
colorStops: [
|
|
2698
|
+
{
|
|
2699
|
+
offset: 0,
|
|
2700
|
+
color: "#FF6116", // 0% 处的颜色
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
offset: 1,
|
|
2704
|
+
color: "#F9A980", // 100% 处的颜色
|
|
2705
|
+
},
|
|
2706
|
+
],
|
|
2707
|
+
},
|
|
2708
|
+
cap: "round",
|
|
2709
|
+
shadowColor: "#FF611650",
|
|
2710
|
+
shadowBlur: 4,
|
|
2711
|
+
shadowOffsetY: 6,
|
|
2712
|
+
},
|
|
2713
|
+
itemStyle: {
|
|
2714
|
+
color: {
|
|
2715
|
+
type: "linear",
|
|
2716
|
+
x: 0.5,
|
|
2717
|
+
y: 0.5,
|
|
2718
|
+
r: 0.5,
|
|
2719
|
+
colorStops: [
|
|
2720
|
+
{
|
|
2721
|
+
offset: 0,
|
|
2722
|
+
color: "#FF6116", // 0% 处的颜色
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
offset: 1,
|
|
2726
|
+
color: "#F9A980", // 100% 处的颜色
|
|
2727
|
+
},
|
|
2728
|
+
],
|
|
2729
|
+
},
|
|
2730
|
+
cap: "round",
|
|
2731
|
+
shadowColor: "#FF611650",
|
|
2732
|
+
shadowBlur: 4,
|
|
2733
|
+
shadowOffsetY: 6,
|
|
2734
|
+
},
|
|
2735
|
+
emphasis: {
|
|
2736
|
+
scale: 1,
|
|
2737
|
+
focus: "series",
|
|
2738
|
+
},
|
|
2739
|
+
showSymbol: false,
|
|
2740
|
+
smooth: true,
|
|
2364
2741
|
},
|
|
2365
|
-
|
|
2366
|
-
smooth: true,
|
|
2367
|
-
}]
|
|
2368
|
-
|
|
2742
|
+
],
|
|
2369
2743
|
},
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2744
|
+
echartConfig: "",
|
|
2745
|
+
|
|
2746
|
+
...httpConfig,
|
|
2747
|
+
|
|
2748
|
+
onClick: "",
|
|
2373
2749
|
onCreated: "",
|
|
2374
2750
|
onMounted: "this.loadDataDefaultHandle()",
|
|
2375
|
-
|
|
2751
|
+
...defaultWfConfig,
|
|
2376
2752
|
showRuleFlag: 1,
|
|
2377
2753
|
showRuleEnabled: 1,
|
|
2378
|
-
showRules: []
|
|
2379
|
-
}
|
|
2754
|
+
showRules: [],
|
|
2755
|
+
},
|
|
2380
2756
|
},
|
|
2381
2757
|
{
|
|
2382
|
-
type:
|
|
2383
|
-
icon:
|
|
2758
|
+
type: "echart",
|
|
2759
|
+
icon: "echart",
|
|
2384
2760
|
formItemFlag: false,
|
|
2385
2761
|
options: {
|
|
2386
2762
|
name: "",
|
|
2387
|
-
echartHeight:
|
|
2763
|
+
echartHeight: "200",
|
|
2388
2764
|
hidden: !1,
|
|
2389
|
-
echarPieOption: {}
|
|
2390
|
-
}
|
|
2391
|
-
}
|
|
2392
|
-
,
|
|
2765
|
+
echarPieOption: {},
|
|
2766
|
+
},
|
|
2767
|
+
},
|
|
2393
2768
|
/*{
|
|
2394
2769
|
type: 'news-list',
|
|
2395
2770
|
icon: 'news-list',
|
|
@@ -2495,6 +2870,7 @@ export const advancedFields = [
|
|
|
2495
2870
|
keyName: "",
|
|
2496
2871
|
keyNameSuffix: "",
|
|
2497
2872
|
label: "",
|
|
2873
|
+
labelColor: "",
|
|
2498
2874
|
submitFlag: true,
|
|
2499
2875
|
disabled: !1,
|
|
2500
2876
|
hidden: !1,
|
|
@@ -2502,133 +2878,120 @@ export const advancedFields = [
|
|
|
2502
2878
|
labelWidth: null,
|
|
2503
2879
|
labelHidden: !0,
|
|
2504
2880
|
limit: null,
|
|
2881
|
+
hideRemoveButton: false,
|
|
2505
2882
|
accessType: "1",
|
|
2506
2883
|
entityTableCode: null,
|
|
2507
2884
|
entityTableDesc: null,
|
|
2508
2885
|
onCreated: "this.loadDataDefaultHandle();",
|
|
2509
2886
|
onMounted: "",
|
|
2887
|
+
onAfterConfirmFile: "",
|
|
2510
2888
|
vabUpload: 1,
|
|
2511
|
-
|
|
2889
|
+
...defaultLabelIconConfig,
|
|
2890
|
+
...httpConfig,
|
|
2512
2891
|
formScriptCode: "getList",
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
wfEdit: false,
|
|
2516
|
-
enabledByWf: false,
|
|
2517
|
-
hiddenByWf: false,
|
|
2518
|
-
wfConfigData: [],
|
|
2892
|
+
|
|
2893
|
+
...defaultWfConfig,
|
|
2519
2894
|
|
|
2520
2895
|
showRuleFlag: 1,
|
|
2521
2896
|
showRuleEnabled: 1,
|
|
2522
|
-
showRules: []
|
|
2523
|
-
|
|
2897
|
+
showRules: [],
|
|
2898
|
+
|
|
2899
|
+
hiddenFileInfo: false,
|
|
2900
|
+
hiddenFileName: false,
|
|
2901
|
+
showFileSize: false,
|
|
2902
|
+
showFileCreateBy: false,
|
|
2903
|
+
showFileCreateDate: false,
|
|
2904
|
+
widgetSize: 2,
|
|
2905
|
+
|
|
2906
|
+
customUploadEnabled: false,
|
|
2907
|
+
uploadUrl: null,
|
|
2908
|
+
uploadHeaders: {},
|
|
2909
|
+
uploadRresponseAdapter: {},
|
|
2910
|
+
},
|
|
2524
2911
|
},
|
|
2525
2912
|
{
|
|
2526
2913
|
type: "vabsearch",
|
|
2527
2914
|
icon: "searchbox",
|
|
2528
2915
|
commonFlag: !0,
|
|
2916
|
+
columnFlag: true,
|
|
2917
|
+
formItemFlag: !0,
|
|
2918
|
+
tableField: null,
|
|
2919
|
+
options: {
|
|
2920
|
+
...vabsearchConfig,
|
|
2921
|
+
},
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
type: "singerSearch",
|
|
2925
|
+
icon: "searchbox",
|
|
2926
|
+
// commonFlag: !0,
|
|
2927
|
+
// columnFlag: true,
|
|
2928
|
+
formItemFlag: !0,
|
|
2929
|
+
tableField: null,
|
|
2930
|
+
options: {
|
|
2931
|
+
...vabsearchConfig,
|
|
2932
|
+
},
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
type: "multiSearch",
|
|
2936
|
+
icon: "searchbox",
|
|
2937
|
+
// commonFlag: !0,
|
|
2938
|
+
// columnFlag: true,
|
|
2529
2939
|
formItemFlag: !0,
|
|
2530
2940
|
tableField: null,
|
|
2941
|
+
options: {
|
|
2942
|
+
...vabsearchConfig,
|
|
2943
|
+
},
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
type: "search_button",
|
|
2947
|
+
icon: "button",
|
|
2948
|
+
commonFlag: !0,
|
|
2949
|
+
columnFlag: true,
|
|
2950
|
+
formItemFlag: !1,
|
|
2531
2951
|
options: {
|
|
2532
2952
|
name: "",
|
|
2533
|
-
keyNameEnabled: !1,
|
|
2534
|
-
keyName: "",
|
|
2535
|
-
vabSearchName: "",
|
|
2536
2953
|
label: "",
|
|
2537
|
-
submitFlag: true,
|
|
2538
2954
|
disabled: !1,
|
|
2539
2955
|
hidden: !1,
|
|
2540
2956
|
required: !1,
|
|
2541
2957
|
labelWidth: null,
|
|
2542
2958
|
labelHidden: !1,
|
|
2543
|
-
readonly: true,
|
|
2544
2959
|
/*formCode: null,
|
|
2545
2960
|
formName: null,
|
|
2546
2961
|
formVersion: null,
|
|
2547
2962
|
showFormField: null,*/
|
|
2548
|
-
/*
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2963
|
+
/*gridConfig: {
|
|
2964
|
+
tableColumns: [],
|
|
2965
|
+
searchFields: [],
|
|
2966
|
+
searchParams: ""
|
|
2967
|
+
},*/
|
|
2553
2968
|
// vabSearchField: null,
|
|
2554
|
-
|
|
2555
|
-
dialogModel:
|
|
2969
|
+
// onSearchConfirm: "",
|
|
2970
|
+
dialogModel: "1",
|
|
2556
2971
|
systemDialogUrl: null,
|
|
2557
2972
|
accessType: "1",
|
|
2973
|
+
onClick: "",
|
|
2558
2974
|
onCreated: "",
|
|
2559
2975
|
onMounted: "",
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
clickBindEvent: '1',
|
|
2976
|
+
clickBindEvent: "1",
|
|
2977
|
+
onBeforeClickButton: null,
|
|
2563
2978
|
searchDialogConfig: {
|
|
2564
2979
|
...defaultSearchDialogConfig,
|
|
2565
|
-
|
|
2980
|
+
tableEnabled: true,
|
|
2566
2981
|
},
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
enabledByWf: false,
|
|
2570
|
-
hiddenByWf: false,
|
|
2571
|
-
wfConfigData: [],
|
|
2572
|
-
valueField: null,
|
|
2573
|
-
multipleChoices: false,
|
|
2574
|
-
|
|
2982
|
+
...defaultWfConfig,
|
|
2983
|
+
...defaultWidgetShowRuleConfig,
|
|
2575
2984
|
showRuleFlag: 1,
|
|
2576
2985
|
showRuleEnabled: 1,
|
|
2577
|
-
showRules: []
|
|
2578
|
-
|
|
2579
|
-
}
|
|
2580
|
-
},
|
|
2581
|
-
{
|
|
2582
|
-
type: "search_button",
|
|
2583
|
-
icon: "button",
|
|
2584
|
-
commonFlag: !0,
|
|
2585
|
-
formItemFlag: !1,
|
|
2586
|
-
options: {
|
|
2587
|
-
name: "",
|
|
2588
|
-
label: "",
|
|
2589
|
-
disabled: !1,
|
|
2590
|
-
hidden: !1,
|
|
2591
|
-
required: !1,
|
|
2592
|
-
labelWidth: null,
|
|
2593
|
-
labelHidden: !1,
|
|
2594
|
-
/*formCode: null,
|
|
2595
|
-
formName: null,
|
|
2596
|
-
formVersion: null,
|
|
2597
|
-
showFormField: null,*/
|
|
2598
|
-
/*gridConfig: {
|
|
2599
|
-
tableColumns: [],
|
|
2600
|
-
searchFields: [],
|
|
2601
|
-
searchParams: ""
|
|
2602
|
-
},*/
|
|
2603
|
-
// vabSearchField: null,
|
|
2604
|
-
// onSearchConfirm: "",
|
|
2605
|
-
dialogModel: '1',
|
|
2606
|
-
systemDialogUrl: null,
|
|
2607
|
-
accessType: "1",
|
|
2608
|
-
onClick: "",
|
|
2609
|
-
onCreated: "",
|
|
2610
|
-
onMounted: "",
|
|
2611
|
-
clickBindEvent: '1',
|
|
2612
|
-
searchDialogConfig: {
|
|
2613
|
-
...defaultSearchDialogConfig,
|
|
2614
|
-
tableEnabled: true
|
|
2615
|
-
},
|
|
2616
|
-
wfFlag: 1,
|
|
2617
|
-
wfEdit: false,
|
|
2618
|
-
enabledByWf: false,
|
|
2619
|
-
hiddenByWf: false,
|
|
2620
|
-
wfConfigData: [],
|
|
2621
|
-
|
|
2622
|
-
showRuleFlag: 1,
|
|
2623
|
-
showRuleEnabled: 1,
|
|
2624
|
-
showRules: []
|
|
2625
|
-
}
|
|
2986
|
+
showRules: [],
|
|
2987
|
+
},
|
|
2626
2988
|
},
|
|
2627
2989
|
{
|
|
2628
2990
|
type: "save_button",
|
|
2629
2991
|
targetType: "button",
|
|
2630
2992
|
icon: "button",
|
|
2631
2993
|
commonFlag: !0,
|
|
2994
|
+
columnFlag: true,
|
|
2632
2995
|
formItemFlag: !1,
|
|
2633
2996
|
options: {
|
|
2634
2997
|
name: "",
|
|
@@ -2651,19 +3014,17 @@ export const advancedFields = [
|
|
|
2651
3014
|
accessType: "1",
|
|
2652
3015
|
saveButton: true,
|
|
2653
3016
|
clickBindEvent: null,
|
|
3017
|
+
onBeforeClickButton: null,
|
|
2654
3018
|
searchDialogConfig: {
|
|
2655
|
-
...defaultSearchDialogConfig
|
|
3019
|
+
...defaultSearchDialogConfig,
|
|
2656
3020
|
},
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
enabledByWf: false,
|
|
3021
|
+
...defaultWfConfig,
|
|
3022
|
+
...defaultWidgetShowRuleConfig,
|
|
2660
3023
|
hiddenByWf: true,
|
|
2661
|
-
wfConfigData: [],
|
|
2662
3024
|
|
|
2663
3025
|
showRuleFlag: 1,
|
|
2664
3026
|
showRuleEnabled: 1,
|
|
2665
|
-
showRules: []
|
|
2666
|
-
|
|
3027
|
+
showRules: [],
|
|
2667
3028
|
},
|
|
2668
3029
|
},
|
|
2669
3030
|
{
|
|
@@ -2671,10 +3032,11 @@ export const advancedFields = [
|
|
|
2671
3032
|
targetType: "button",
|
|
2672
3033
|
icon: "button",
|
|
2673
3034
|
commonFlag: !0,
|
|
3035
|
+
columnFlag: true,
|
|
2674
3036
|
formItemFlag: !1,
|
|
2675
3037
|
options: {
|
|
2676
3038
|
name: "",
|
|
2677
|
-
label: "
|
|
3039
|
+
label: "刷新",
|
|
2678
3040
|
columnWidth: "200px",
|
|
2679
3041
|
size: "",
|
|
2680
3042
|
displayStyle: "block",
|
|
@@ -2691,18 +3053,15 @@ export const advancedFields = [
|
|
|
2691
3053
|
onClick: "this.getFormRef().$baseReload()",
|
|
2692
3054
|
accessType: "1",
|
|
2693
3055
|
clickBindEvent: null,
|
|
3056
|
+
onBeforeClickButton: null,
|
|
2694
3057
|
searchDialogConfig: {
|
|
2695
|
-
...defaultSearchDialogConfig
|
|
3058
|
+
...defaultSearchDialogConfig,
|
|
2696
3059
|
},
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
enabledByWf: true,
|
|
2700
|
-
hiddenByWf: false,
|
|
2701
|
-
wfConfigData: [],
|
|
2702
|
-
|
|
3060
|
+
...defaultWfConfig,
|
|
3061
|
+
...defaultWidgetShowRuleConfig,
|
|
2703
3062
|
showRuleFlag: 1,
|
|
2704
3063
|
showRuleEnabled: 1,
|
|
2705
|
-
showRules: []
|
|
3064
|
+
showRules: [],
|
|
2706
3065
|
},
|
|
2707
3066
|
},
|
|
2708
3067
|
{
|
|
@@ -2710,35 +3069,98 @@ export const advancedFields = [
|
|
|
2710
3069
|
icon: "list-export",
|
|
2711
3070
|
formItemFlag: !1,
|
|
2712
3071
|
commonFlag: !0,
|
|
3072
|
+
columnFlag: true,
|
|
2713
3073
|
tableField: null,
|
|
2714
3074
|
options: {
|
|
2715
3075
|
name: "",
|
|
2716
3076
|
keyNameEnabled: !1,
|
|
2717
3077
|
keyName: "",
|
|
3078
|
+
disabled: !1,
|
|
2718
3079
|
hidden: !1,
|
|
2719
3080
|
customClass: "",
|
|
2720
|
-
exportFileName:
|
|
2721
|
-
tableRef:
|
|
3081
|
+
exportFileName: "导出",
|
|
3082
|
+
tableRef: "",
|
|
2722
3083
|
tableExportParam: "",
|
|
3084
|
+
showImageAtTable: false,
|
|
3085
|
+
tableExportFlag: 1,
|
|
3086
|
+
|
|
2723
3087
|
onCreated: "",
|
|
2724
3088
|
onMounted: "",
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
3089
|
+
...defaultWfConfig,
|
|
3090
|
+
...defaultWidgetShowRuleConfig,
|
|
3091
|
+
showRuleFlag: 1,
|
|
3092
|
+
showRuleEnabled: 1,
|
|
3093
|
+
showRules: [],
|
|
3094
|
+
},
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
type: "select-export-button",
|
|
3098
|
+
icon: "list-export",
|
|
3099
|
+
formItemFlag: !1,
|
|
3100
|
+
commonFlag: !0,
|
|
3101
|
+
columnFlag: true,
|
|
3102
|
+
options: {
|
|
3103
|
+
name: "",
|
|
3104
|
+
keyNameEnabled: !1,
|
|
3105
|
+
keyName: "",
|
|
3106
|
+
disabled: !1,
|
|
3107
|
+
hidden: !1,
|
|
3108
|
+
label: "明细导出",
|
|
3109
|
+
customClass: "",
|
|
3110
|
+
buttonTypeFlag: 1,
|
|
3111
|
+
type: "",
|
|
3112
|
+
exportFileName: "明细导出",
|
|
3113
|
+
tableRef: "",
|
|
3114
|
+
tableExportParam: "",
|
|
3115
|
+
showImageAtTable: false,
|
|
3116
|
+
selectExportFlag: 1,
|
|
2730
3117
|
|
|
3118
|
+
onCreated: "",
|
|
3119
|
+
onMounted: "",
|
|
3120
|
+
...defaultWfConfig,
|
|
3121
|
+
...defaultWidgetShowRuleConfig,
|
|
2731
3122
|
showRuleFlag: 1,
|
|
2732
3123
|
showRuleEnabled: 1,
|
|
2733
|
-
showRules: []
|
|
3124
|
+
showRules: [],
|
|
3125
|
+
},
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
type: "select-export-item-button",
|
|
3129
|
+
icon: "list-export",
|
|
3130
|
+
formItemFlag: !1,
|
|
3131
|
+
commonFlag: !0,
|
|
3132
|
+
columnFlag: true,
|
|
3133
|
+
options: {
|
|
3134
|
+
name: "",
|
|
3135
|
+
keyNameEnabled: !1,
|
|
3136
|
+
keyName: "",
|
|
3137
|
+
disabled: !1,
|
|
3138
|
+
hidden: !1,
|
|
3139
|
+
label: "列表导出(明细)",
|
|
3140
|
+
customClass: "",
|
|
3141
|
+
buttonTypeFlag: 1,
|
|
3142
|
+
type: "primary",
|
|
3143
|
+
exportFileName: "明细导出",
|
|
3144
|
+
tableRef: "",
|
|
3145
|
+
tableExportParam: "",
|
|
3146
|
+
showImageAtTable: false,
|
|
3147
|
+
selectExportItemFlag: 1,
|
|
2734
3148
|
|
|
2735
|
-
|
|
3149
|
+
onCreated: "",
|
|
3150
|
+
onMounted: "",
|
|
3151
|
+
...defaultWfConfig,
|
|
3152
|
+
...defaultWidgetShowRuleConfig,
|
|
3153
|
+
showRuleFlag: 1,
|
|
3154
|
+
showRuleEnabled: 1,
|
|
3155
|
+
showRules: [],
|
|
3156
|
+
},
|
|
2736
3157
|
},
|
|
2737
3158
|
{
|
|
2738
3159
|
type: "add_button",
|
|
2739
3160
|
targetType: "button",
|
|
2740
3161
|
icon: "button",
|
|
2741
3162
|
commonFlag: !0,
|
|
3163
|
+
columnFlag: true,
|
|
2742
3164
|
formItemFlag: !1,
|
|
2743
3165
|
options: {
|
|
2744
3166
|
name: "",
|
|
@@ -2758,76 +3180,87 @@ export const advancedFields = [
|
|
|
2758
3180
|
onMounted: "",
|
|
2759
3181
|
onClick: "",
|
|
2760
3182
|
clickBindEvent: null,
|
|
3183
|
+
onBeforeClickButton: null,
|
|
2761
3184
|
searchDialogConfig: {
|
|
2762
|
-
...defaultSearchDialogConfig
|
|
3185
|
+
...defaultSearchDialogConfig,
|
|
2763
3186
|
},
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
hiddenByWf: false,
|
|
2768
|
-
wfConfigData: [],
|
|
2769
|
-
|
|
3187
|
+
...defaultWfConfig,
|
|
3188
|
+
hiddenByWf: true,
|
|
3189
|
+
...defaultWidgetShowRuleConfig,
|
|
2770
3190
|
showRuleFlag: 1,
|
|
2771
3191
|
showRuleEnabled: 1,
|
|
2772
|
-
showRules: []
|
|
3192
|
+
showRules: [],
|
|
2773
3193
|
},
|
|
2774
3194
|
},
|
|
2775
3195
|
{
|
|
2776
|
-
type: "
|
|
2777
|
-
targetType: "button",
|
|
3196
|
+
type: "import-button",
|
|
2778
3197
|
icon: "button",
|
|
2779
3198
|
commonFlag: !0,
|
|
3199
|
+
columnFlag: true,
|
|
2780
3200
|
formItemFlag: !1,
|
|
2781
3201
|
options: {
|
|
2782
3202
|
name: "",
|
|
2783
|
-
label: "
|
|
3203
|
+
label: "导入",
|
|
2784
3204
|
columnWidth: "200px",
|
|
2785
3205
|
size: "",
|
|
2786
|
-
|
|
3206
|
+
|
|
3207
|
+
// displayStyle: "block",
|
|
2787
3208
|
disabled: !1,
|
|
2788
3209
|
hidden: !1,
|
|
3210
|
+
buttonTypeFlag: 1,
|
|
2789
3211
|
type: "primary",
|
|
2790
|
-
plain: !1,
|
|
3212
|
+
/*plain: !1,
|
|
2791
3213
|
round: !1,
|
|
2792
3214
|
circle: !1,
|
|
2793
|
-
icon: "el-icon-
|
|
3215
|
+
icon: "el-icon-download",*/
|
|
2794
3216
|
customClass: "",
|
|
2795
3217
|
onCreated: "",
|
|
2796
3218
|
onMounted: "",
|
|
2797
|
-
//
|
|
2798
|
-
|
|
2799
|
-
accessType: "1",
|
|
2800
|
-
saveButton: true,
|
|
2801
|
-
clickBindEvent: null,
|
|
3219
|
+
// clickBindEvent: null,
|
|
3220
|
+
onBeforeClickButton: null,
|
|
2802
3221
|
searchDialogConfig: {
|
|
2803
|
-
...defaultSearchDialogConfig
|
|
3222
|
+
...defaultSearchDialogConfig,
|
|
2804
3223
|
},
|
|
2805
|
-
|
|
2806
|
-
wfEdit: false,
|
|
2807
|
-
enabledByWf: false,
|
|
3224
|
+
...defaultWfConfig,
|
|
2808
3225
|
hiddenByWf: true,
|
|
2809
|
-
|
|
3226
|
+
...defaultWidgetShowRuleConfig,
|
|
3227
|
+
importMultiple: false,
|
|
3228
|
+
importMultiSize: 1,
|
|
3229
|
+
importFileLimitSize: 200,
|
|
3230
|
+
importEntity: "",
|
|
3231
|
+
importAttachCode: "",
|
|
3232
|
+
importAttachName: "",
|
|
3233
|
+
importScriptCode: "",
|
|
3234
|
+
onBeforeImport: "",
|
|
3235
|
+
enabledImportPreHandle: false,
|
|
3236
|
+
tableRef: "",
|
|
3237
|
+
onSuccessImport: "",
|
|
3238
|
+
hideCancelButton: false,
|
|
3239
|
+
multipleSheet: false,
|
|
3240
|
+
onBeforeClickButton: null,
|
|
2810
3241
|
|
|
2811
3242
|
showRuleFlag: 1,
|
|
2812
3243
|
showRuleEnabled: 1,
|
|
2813
|
-
showRules: []
|
|
2814
|
-
|
|
3244
|
+
showRules: [],
|
|
2815
3245
|
},
|
|
2816
3246
|
},
|
|
2817
3247
|
{
|
|
2818
|
-
type: "
|
|
3248
|
+
type: "import2-button",
|
|
2819
3249
|
icon: "button",
|
|
2820
3250
|
commonFlag: !0,
|
|
3251
|
+
columnFlag: true,
|
|
2821
3252
|
formItemFlag: !1,
|
|
2822
3253
|
options: {
|
|
2823
3254
|
name: "",
|
|
2824
|
-
label: "
|
|
3255
|
+
label: "明细导入",
|
|
2825
3256
|
columnWidth: "200px",
|
|
2826
3257
|
size: "",
|
|
3258
|
+
|
|
2827
3259
|
// displayStyle: "block",
|
|
2828
3260
|
disabled: !1,
|
|
2829
3261
|
hidden: !1,
|
|
2830
|
-
|
|
3262
|
+
buttonTypeFlag: 1,
|
|
3263
|
+
type: "",
|
|
2831
3264
|
/*plain: !1,
|
|
2832
3265
|
round: !1,
|
|
2833
3266
|
circle: !1,
|
|
@@ -2836,29 +3269,34 @@ export const advancedFields = [
|
|
|
2836
3269
|
onCreated: "",
|
|
2837
3270
|
onMounted: "",
|
|
2838
3271
|
// clickBindEvent: null,
|
|
3272
|
+
onBeforeClickButton: null,
|
|
2839
3273
|
searchDialogConfig: {
|
|
2840
|
-
...defaultSearchDialogConfig
|
|
3274
|
+
...defaultSearchDialogConfig,
|
|
2841
3275
|
},
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
3276
|
+
...defaultWfConfig,
|
|
3277
|
+
hiddenByWf: true,
|
|
3278
|
+
...defaultWidgetShowRuleConfig,
|
|
3279
|
+
frontImportFlag: 1,
|
|
3280
|
+
importFileLimitSize: 200,
|
|
3281
|
+
importAttachCode: "",
|
|
3282
|
+
importAttachName: "",
|
|
3283
|
+
tableRef: "",
|
|
3284
|
+
onConfirmImportEnabled: false,
|
|
3285
|
+
onConfirmImport: "",
|
|
3286
|
+
onSuccessImport: "",
|
|
3287
|
+
hideCancelButton: false,
|
|
3288
|
+
onBeforeClickButton: null,
|
|
2852
3289
|
|
|
2853
3290
|
showRuleFlag: 1,
|
|
2854
3291
|
showRuleEnabled: 1,
|
|
2855
|
-
showRules: []
|
|
3292
|
+
showRules: [],
|
|
2856
3293
|
},
|
|
2857
3294
|
},
|
|
2858
3295
|
{
|
|
2859
3296
|
type: "print-button",
|
|
2860
3297
|
icon: "button",
|
|
2861
3298
|
commonFlag: !0,
|
|
3299
|
+
columnFlag: true,
|
|
2862
3300
|
formItemFlag: !1,
|
|
2863
3301
|
options: {
|
|
2864
3302
|
name: "",
|
|
@@ -2877,25 +3315,68 @@ export const advancedFields = [
|
|
|
2877
3315
|
onCreated: "",
|
|
2878
3316
|
onMounted: "",
|
|
2879
3317
|
// clickBindEvent: null,
|
|
3318
|
+
onBeforeClickButton: null,
|
|
2880
3319
|
searchDialogConfig: {
|
|
2881
|
-
...defaultSearchDialogConfig
|
|
3320
|
+
...defaultSearchDialogConfig,
|
|
2882
3321
|
},
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
3322
|
+
...defaultWfConfig,
|
|
3323
|
+
...defaultWidgetShowRuleConfig,
|
|
3324
|
+
|
|
3325
|
+
// customLabelEnabled: false,
|
|
3326
|
+
printButtonFlag: 1,
|
|
2888
3327
|
printTableRef: "",
|
|
2889
3328
|
printItems: [],
|
|
3329
|
+
// printCustomCondition: "",
|
|
3330
|
+
|
|
3331
|
+
showRuleFlag: 1,
|
|
3332
|
+
showRuleEnabled: 1,
|
|
3333
|
+
showRules: [],
|
|
3334
|
+
},
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
type: "print-detail-button",
|
|
3338
|
+
icon: "button",
|
|
3339
|
+
commonFlag: !0,
|
|
3340
|
+
columnFlag: false,
|
|
3341
|
+
formItemFlag: !1,
|
|
3342
|
+
options: {
|
|
3343
|
+
name: "",
|
|
3344
|
+
label: "导出/打印",
|
|
3345
|
+
columnWidth: "200px",
|
|
3346
|
+
size: "",
|
|
3347
|
+
// displayStyle: "block",
|
|
3348
|
+
disabled: !1,
|
|
3349
|
+
hidden: !1,
|
|
3350
|
+
type: "primary",
|
|
3351
|
+
/*plain: !1,
|
|
3352
|
+
round: !1,
|
|
3353
|
+
circle: !1,
|
|
3354
|
+
icon: "el-icon-download",*/
|
|
3355
|
+
customClass: "",
|
|
3356
|
+
onCreated: "",
|
|
3357
|
+
onMounted: "",
|
|
3358
|
+
// clickBindEvent: null,
|
|
3359
|
+
onBeforeClickButton: null,
|
|
3360
|
+
searchDialogConfig: {
|
|
3361
|
+
...defaultSearchDialogConfig,
|
|
3362
|
+
},
|
|
3363
|
+
...defaultWfConfig,
|
|
3364
|
+
...defaultWidgetShowRuleConfig,
|
|
3365
|
+
|
|
3366
|
+
printDetailButtonFlag: 1,
|
|
3367
|
+
// customLabelEnabled: false,
|
|
3368
|
+
printItems: [],
|
|
3369
|
+
printCustomCondition: "return {\n id:[dataId]\n}",
|
|
2890
3370
|
|
|
2891
3371
|
showRuleFlag: 1,
|
|
2892
3372
|
showRuleEnabled: 1,
|
|
2893
|
-
showRules: []
|
|
3373
|
+
showRules: [],
|
|
2894
3374
|
},
|
|
2895
3375
|
},
|
|
2896
3376
|
{
|
|
2897
3377
|
type: "baseAttachment",
|
|
2898
3378
|
icon: "file-upload-field",
|
|
3379
|
+
columnFlag: true,
|
|
2899
3380
|
formItemFlag: !0,
|
|
2900
3381
|
tableField: null,
|
|
2901
3382
|
options: {
|
|
@@ -2904,6 +3385,7 @@ export const advancedFields = [
|
|
|
2904
3385
|
keyName: "",
|
|
2905
3386
|
keyNameSuffix: "",
|
|
2906
3387
|
label: "",
|
|
3388
|
+
labelColor: "",
|
|
2907
3389
|
submitFlag: true,
|
|
2908
3390
|
disabled: !1,
|
|
2909
3391
|
hidden: !1,
|
|
@@ -2916,21 +3398,19 @@ export const advancedFields = [
|
|
|
2916
3398
|
entityTableDesc: null,
|
|
2917
3399
|
onCreated: "",
|
|
2918
3400
|
onMounted: "",
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
enabledByWf: false,
|
|
2922
|
-
hiddenByWf: false,
|
|
2923
|
-
wfConfigData: [],
|
|
3401
|
+
onAfterConfirmFile: "",
|
|
3402
|
+
...defaultWfConfig,
|
|
2924
3403
|
|
|
2925
3404
|
showRuleFlag: 1,
|
|
2926
3405
|
showRuleEnabled: 1,
|
|
2927
|
-
showRules: []
|
|
2928
|
-
}
|
|
3406
|
+
showRules: [],
|
|
3407
|
+
},
|
|
2929
3408
|
},
|
|
2930
3409
|
{
|
|
2931
3410
|
type: "status",
|
|
2932
3411
|
icon: "status",
|
|
2933
3412
|
commonFlag: !0,
|
|
3413
|
+
columnFlag: true,
|
|
2934
3414
|
formItemFlag: !0,
|
|
2935
3415
|
tableField: null,
|
|
2936
3416
|
options: {
|
|
@@ -2938,6 +3418,7 @@ export const advancedFields = [
|
|
|
2938
3418
|
keyNameEnabled: !1,
|
|
2939
3419
|
keyName: "",
|
|
2940
3420
|
label: "",
|
|
3421
|
+
labelColor: "",
|
|
2941
3422
|
submitFlag: true,
|
|
2942
3423
|
disabled: !1,
|
|
2943
3424
|
hidden: !1,
|
|
@@ -2945,99 +3426,86 @@ export const advancedFields = [
|
|
|
2945
3426
|
labelWidth: null,
|
|
2946
3427
|
labelHidden: !1,
|
|
2947
3428
|
optionItemValueType: 0,
|
|
3429
|
+
...defaultLabelIconConfig,
|
|
2948
3430
|
statusType: "common",
|
|
2949
3431
|
statusParam: [],
|
|
3432
|
+
|
|
3433
|
+
...httpConfig,
|
|
3434
|
+
formScriptEnabled: false,
|
|
3435
|
+
|
|
2950
3436
|
onCreated: "",
|
|
2951
3437
|
onMounted: "",
|
|
3438
|
+
...defaultWfConfig,
|
|
2952
3439
|
|
|
2953
3440
|
showRuleFlag: 1,
|
|
2954
3441
|
showRuleEnabled: 1,
|
|
2955
|
-
showRules: []
|
|
2956
|
-
}
|
|
3442
|
+
showRules: [],
|
|
3443
|
+
},
|
|
2957
3444
|
},
|
|
2958
3445
|
{
|
|
2959
|
-
type:
|
|
2960
|
-
icon:
|
|
3446
|
+
type: "census",
|
|
3447
|
+
icon: "census",
|
|
2961
3448
|
commonFlag: !0,
|
|
2962
3449
|
formItemFlag: false,
|
|
2963
3450
|
options: {
|
|
2964
|
-
name:
|
|
3451
|
+
name: "",
|
|
2965
3452
|
keyNameEnabled: !1,
|
|
2966
3453
|
keyName: "",
|
|
2967
|
-
columnWidth:
|
|
3454
|
+
columnWidth: "200px",
|
|
2968
3455
|
hidden: false,
|
|
2969
|
-
customClass:
|
|
2970
|
-
space:
|
|
2971
|
-
censusClass:
|
|
3456
|
+
customClass: "", //自定义css类名
|
|
3457
|
+
space: "5",
|
|
3458
|
+
censusClass: "form-count",
|
|
2972
3459
|
censusItems: [
|
|
2973
3460
|
{
|
|
2974
3461
|
number: "1002",
|
|
2975
|
-
txt:
|
|
2976
|
-
detailItems: [
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
3462
|
+
txt: "总数量",
|
|
3463
|
+
detailItems: [
|
|
3464
|
+
{
|
|
3465
|
+
txt: "跟进商机",
|
|
3466
|
+
number: "26",
|
|
3467
|
+
},
|
|
3468
|
+
{
|
|
3469
|
+
txt: "累计商机",
|
|
3470
|
+
number: "26",
|
|
3471
|
+
},
|
|
3472
|
+
],
|
|
2983
3473
|
},
|
|
2984
3474
|
{
|
|
2985
3475
|
number: "603",
|
|
2986
|
-
txt:
|
|
3476
|
+
txt: "总人数",
|
|
2987
3477
|
detailItems: [],
|
|
2988
3478
|
},
|
|
2989
3479
|
{
|
|
2990
3480
|
number: "5004",
|
|
2991
|
-
txt:
|
|
2992
|
-
detailItems: []
|
|
2993
|
-
}
|
|
3481
|
+
txt: "总订单",
|
|
3482
|
+
detailItems: [],
|
|
3483
|
+
},
|
|
2994
3484
|
],
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3485
|
+
|
|
3486
|
+
...httpConfig,
|
|
3487
|
+
|
|
2998
3488
|
onCreated: "",
|
|
2999
3489
|
onMounted: "",
|
|
3000
|
-
|
|
3490
|
+
onClick: "",
|
|
3491
|
+
...defaultWfConfig,
|
|
3001
3492
|
showRuleFlag: 1,
|
|
3002
3493
|
showRuleEnabled: 1,
|
|
3003
|
-
showRules: []
|
|
3004
|
-
}
|
|
3494
|
+
showRules: [],
|
|
3495
|
+
},
|
|
3005
3496
|
},
|
|
3497
|
+
|
|
3006
3498
|
{
|
|
3007
3499
|
type: "project-tag",
|
|
3008
3500
|
icon: "uploadbox",
|
|
3009
|
-
|
|
3501
|
+
commonFlag: !0,
|
|
3502
|
+
columnFlag: true,
|
|
3010
3503
|
formItemFlag: !0,
|
|
3011
3504
|
tableField: null,
|
|
3012
3505
|
options: {
|
|
3013
|
-
|
|
3014
|
-
keyNameEnabled: !1,
|
|
3015
|
-
keyName: "",
|
|
3016
|
-
keyNameSuffix: "",
|
|
3017
|
-
label: "",
|
|
3018
|
-
submitFlag: true,
|
|
3019
|
-
disabled: !1,
|
|
3020
|
-
readonly: false,
|
|
3021
|
-
hidden: !1,
|
|
3022
|
-
required: !1,
|
|
3023
|
-
labelWidth: null,
|
|
3024
|
-
labelHidden: !1,
|
|
3025
|
-
onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
|
|
3026
|
-
onMounted: "",
|
|
3027
|
-
vabUpload: 1,
|
|
3506
|
+
...projectTagConfig,
|
|
3028
3507
|
formScriptEnabled: true,
|
|
3029
|
-
|
|
3030
|
-
formScriptParam: null,
|
|
3031
|
-
wfFlag: 1,
|
|
3032
|
-
wfEdit: false,
|
|
3033
|
-
enabledByWf: false,
|
|
3034
|
-
hiddenByWf: false,
|
|
3035
|
-
wfConfigData: [],
|
|
3036
|
-
|
|
3037
|
-
showRuleFlag: 1,
|
|
3038
|
-
showRuleEnabled: 1,
|
|
3039
|
-
showRules: []
|
|
3040
|
-
}
|
|
3508
|
+
},
|
|
3041
3509
|
},
|
|
3042
3510
|
{
|
|
3043
3511
|
type: "table2",
|
|
@@ -3052,41 +3520,654 @@ export const advancedFields = [
|
|
|
3052
3520
|
keyName: "",
|
|
3053
3521
|
hidden: !1,
|
|
3054
3522
|
customClass: "",
|
|
3055
|
-
styleTableClass:
|
|
3523
|
+
styleTableClass: "",
|
|
3056
3524
|
// fullWidth: false,
|
|
3057
3525
|
submitFlag: true,
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3526
|
+
|
|
3527
|
+
...httpConfig,
|
|
3528
|
+
|
|
3061
3529
|
onCreated: "this.loadDataDefaultHandle()",
|
|
3062
3530
|
onMounted: "",
|
|
3063
|
-
|
|
3531
|
+
...defaultWfConfig,
|
|
3064
3532
|
showRuleFlag: 1,
|
|
3065
3533
|
showRuleEnabled: 1,
|
|
3066
|
-
showRules: []
|
|
3067
|
-
}
|
|
3534
|
+
showRules: [],
|
|
3535
|
+
},
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
type: "dropdown",
|
|
3539
|
+
icon: "tab",
|
|
3540
|
+
commonFlag: !0,
|
|
3541
|
+
// columnFlag: true,
|
|
3542
|
+
widgetList: [],
|
|
3543
|
+
options: {
|
|
3544
|
+
name: "",
|
|
3545
|
+
label: "",
|
|
3546
|
+
hidden: !1,
|
|
3547
|
+
disabled: !1,
|
|
3548
|
+
customClass: "",
|
|
3549
|
+
dropdownFlag: 1,
|
|
3550
|
+
dropdownType: "button",
|
|
3551
|
+
dropdownTrigger: "hover",
|
|
3552
|
+
// ...defaultWfConfig,
|
|
3553
|
+
onCreated: "",
|
|
3554
|
+
onMounted: "",
|
|
3555
|
+
},
|
|
3068
3556
|
},
|
|
3069
|
-
|
|
3557
|
+
{
|
|
3558
|
+
type: "dropdown-item",
|
|
3559
|
+
icon: "tab-pane",
|
|
3560
|
+
internal: !0,
|
|
3561
|
+
options: {
|
|
3562
|
+
name: "",
|
|
3563
|
+
label: "",
|
|
3564
|
+
hidden: !1,
|
|
3565
|
+
disabled: !1,
|
|
3566
|
+
customClass: "",
|
|
3567
|
+
dropdownItemFlag: 1,
|
|
3070
3568
|
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3569
|
+
onClick: "",
|
|
3570
|
+
onCreated: "",
|
|
3571
|
+
onMounted: "",
|
|
3572
|
+
|
|
3573
|
+
clickBindEvent: null,
|
|
3574
|
+
onBeforeClickButton: null,
|
|
3575
|
+
searchDialogConfig: {
|
|
3576
|
+
...defaultSearchDialogConfig,
|
|
3577
|
+
},
|
|
3578
|
+
addTableDataConfig: {
|
|
3579
|
+
tableRef: null,
|
|
3580
|
+
tableData: {},
|
|
3581
|
+
},
|
|
3582
|
+
|
|
3583
|
+
...defaultWfConfig,
|
|
3584
|
+
...defaultWidgetShowRuleConfig,
|
|
3585
|
+
},
|
|
3586
|
+
},
|
|
3587
|
+
{
|
|
3588
|
+
type: "gantt",
|
|
3589
|
+
icon: "uploadbox",
|
|
3590
|
+
commonFlag: !0,
|
|
3591
|
+
formItemFlag: !1,
|
|
3592
|
+
options: {
|
|
3593
|
+
name: "",
|
|
3594
|
+
// label: "操作日志",
|
|
3595
|
+
// disabled: !1,
|
|
3596
|
+
hidden: !1,
|
|
3597
|
+
|
|
3598
|
+
...httpConfig,
|
|
3599
|
+
formScriptEnabled: true,
|
|
3600
|
+
formScriptCode: null,
|
|
3601
|
+
ganttConfig: "",
|
|
3602
|
+
|
|
3603
|
+
customClass: "",
|
|
3604
|
+
onCreated: "",
|
|
3605
|
+
onMounted: "",
|
|
3606
|
+
},
|
|
3607
|
+
},
|
|
3608
|
+
|
|
3609
|
+
{
|
|
3610
|
+
type: "download-button",
|
|
3611
|
+
icon: "button",
|
|
3612
|
+
commonFlag: !0,
|
|
3613
|
+
columnFlag: true,
|
|
3614
|
+
formItemFlag: !1,
|
|
3615
|
+
options: {
|
|
3616
|
+
name: "",
|
|
3617
|
+
label: "附件下载",
|
|
3618
|
+
columnWidth: "200px",
|
|
3619
|
+
size: "",
|
|
3620
|
+
|
|
3621
|
+
// displayStyle: "block",
|
|
3622
|
+
disabled: !1,
|
|
3623
|
+
hidden: !1,
|
|
3624
|
+
buttonTypeFlag: 1,
|
|
3625
|
+
type: "",
|
|
3626
|
+
/*plain: !1,
|
|
3627
|
+
round: !1,
|
|
3628
|
+
circle: !1,
|
|
3629
|
+
icon: "el-icon-download",*/
|
|
3630
|
+
customClass: "",
|
|
3631
|
+
...httpConfig,
|
|
3632
|
+
|
|
3633
|
+
downloadButtonFlag: 1,
|
|
3634
|
+
dataTableName: null,
|
|
3635
|
+
attachmentType: null,
|
|
3636
|
+
fileName: null,
|
|
3637
|
+
|
|
3638
|
+
onCreated: "",
|
|
3639
|
+
onMounted: "",
|
|
3640
|
+
...defaultWfConfig,
|
|
3641
|
+
showRuleFlag: 1,
|
|
3642
|
+
showRuleEnabled: 1,
|
|
3643
|
+
showRules: [],
|
|
3644
|
+
},
|
|
3645
|
+
},
|
|
3646
|
+
|
|
3647
|
+
{
|
|
3648
|
+
type: "vue-page",
|
|
3649
|
+
icon: "html-text",
|
|
3650
|
+
commonFlag: !0,
|
|
3651
|
+
formItemFlag: !1,
|
|
3652
|
+
columnFlag: false,
|
|
3653
|
+
options: {
|
|
3654
|
+
name: "",
|
|
3655
|
+
hidden: !1,
|
|
3656
|
+
customClass: "",
|
|
3657
|
+
onCreated: "this.loadPage();",
|
|
3658
|
+
onMounted: "",
|
|
3659
|
+
vuePageFlag: 1,
|
|
3660
|
+
componentPath: "",
|
|
3661
|
+
componentHeight: "",
|
|
3662
|
+
componentConfig: "",
|
|
3663
|
+
accessType: "1",
|
|
3664
|
+
showRuleFlag: 1,
|
|
3665
|
+
showRuleEnabled: 1,
|
|
3666
|
+
showRules: [],
|
|
3667
|
+
},
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
type: "cascader",
|
|
3671
|
+
icon: "cascader-field",
|
|
3672
|
+
commonFlag: !0,
|
|
3673
|
+
formItemFlag: true,
|
|
3674
|
+
options: {
|
|
3675
|
+
name: "",
|
|
3676
|
+
keyNameEnabled: false,
|
|
3677
|
+
keyName: "", //数据键值名称
|
|
3678
|
+
label: "",
|
|
3679
|
+
labelAlign: "",
|
|
3680
|
+
defaultValue: "",
|
|
3681
|
+
placeholder: "",
|
|
3682
|
+
size: "",
|
|
3683
|
+
labelWidth: null,
|
|
3684
|
+
labelHidden: false,
|
|
3685
|
+
columnWidth: "200px",
|
|
3686
|
+
disabled: false,
|
|
3687
|
+
hidden: false,
|
|
3688
|
+
clearable: true,
|
|
3689
|
+
filterable: false,
|
|
3690
|
+
multiple: false,
|
|
3691
|
+
checkStrictly: false, //可选择任意一级选项,默认不开启
|
|
3692
|
+
showAllLevels: true, //显示完整路径
|
|
3693
|
+
dsEnabled: false, // 是否使用数据源数据
|
|
3694
|
+
dsName: "", // 数据源名称
|
|
3695
|
+
dataSetName: "", //数据集名称
|
|
3696
|
+
labelKey: "label",
|
|
3697
|
+
valueKey: "value",
|
|
3698
|
+
childrenKey: "children",
|
|
3699
|
+
optionItems: [
|
|
3700
|
+
{
|
|
3701
|
+
label: "select 1",
|
|
3702
|
+
value: 1,
|
|
3703
|
+
children: [{ label: "child 1", value: 11 }],
|
|
3704
|
+
},
|
|
3705
|
+
{ label: "select 2", value: 2 },
|
|
3706
|
+
{ label: "select 3", value: 3 },
|
|
3707
|
+
],
|
|
3708
|
+
required: false,
|
|
3709
|
+
requiredHint: "",
|
|
3710
|
+
customRule: "",
|
|
3711
|
+
customRuleHint: "",
|
|
3712
|
+
//-------------------
|
|
3713
|
+
customClass: "", //自定义css类名
|
|
3714
|
+
labelIconClass: null,
|
|
3715
|
+
labelIconPosition: "rear",
|
|
3716
|
+
labelTooltip: null,
|
|
3717
|
+
|
|
3718
|
+
...httpConfig,
|
|
3719
|
+
...defaultWfConfig,
|
|
3720
|
+
formScriptEnabled: false,
|
|
3721
|
+
//-------------------
|
|
3722
|
+
onCreated: "",
|
|
3723
|
+
onMounted: "",
|
|
3724
|
+
onChange: "",
|
|
3725
|
+
onFocus: "",
|
|
3726
|
+
onBlur: "",
|
|
3727
|
+
onValidate: "",
|
|
3728
|
+
},
|
|
3729
|
+
},
|
|
3730
|
+
];
|
|
3731
|
+
|
|
3732
|
+
export const businessFields = [
|
|
3733
|
+
{
|
|
3734
|
+
type: "create_by-text",
|
|
3735
|
+
targetType: "text",
|
|
3736
|
+
icon: "text",
|
|
3737
|
+
commonFlag: !0,
|
|
3738
|
+
formItemFlag: !0,
|
|
3739
|
+
columnFlag: true,
|
|
3740
|
+
tableField: null,
|
|
3741
|
+
options: {
|
|
3742
|
+
name: "",
|
|
3743
|
+
keyNameEnabled: !0,
|
|
3744
|
+
keyName: "_createBy",
|
|
3745
|
+
label: "创建人",
|
|
3746
|
+
submitFlag: true,
|
|
3747
|
+
formField: "",
|
|
3748
|
+
hidden: !1,
|
|
3749
|
+
required: !1,
|
|
3750
|
+
customClass: "",
|
|
3751
|
+
defaultValue: "",
|
|
3752
|
+
labelAlign: "",
|
|
3753
|
+
labelWidth: null,
|
|
3754
|
+
labelHidden: !1,
|
|
3755
|
+
...defaultLabelIconConfig,
|
|
3756
|
+
onCreated: "",
|
|
3757
|
+
onMounted: "",
|
|
3758
|
+
accessType: "1",
|
|
3759
|
+
labelColor: "",
|
|
3760
|
+
...defaultWfConfig,
|
|
3761
|
+
|
|
3762
|
+
autoValueEnabled: false,
|
|
3763
|
+
autoValueHanlde: null,
|
|
3764
|
+
|
|
3765
|
+
showRuleFlag: 1,
|
|
3766
|
+
showRuleEnabled: 1,
|
|
3767
|
+
showRules: [],
|
|
3768
|
+
|
|
3769
|
+
...defaultTextFlagConfig,
|
|
3770
|
+
},
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
type: "modify_by-text",
|
|
3774
|
+
targetType: "text",
|
|
3775
|
+
icon: "text",
|
|
3776
|
+
commonFlag: !0,
|
|
3777
|
+
formItemFlag: !0,
|
|
3778
|
+
columnFlag: true,
|
|
3779
|
+
tableField: null,
|
|
3780
|
+
options: {
|
|
3781
|
+
name: "",
|
|
3782
|
+
keyNameEnabled: !0,
|
|
3783
|
+
keyName: "_modifyBy",
|
|
3784
|
+
label: "更新人",
|
|
3785
|
+
submitFlag: true,
|
|
3786
|
+
formField: "",
|
|
3787
|
+
hidden: !1,
|
|
3788
|
+
required: !1,
|
|
3789
|
+
customClass: "",
|
|
3790
|
+
defaultValue: "",
|
|
3791
|
+
labelAlign: "",
|
|
3792
|
+
labelWidth: null,
|
|
3793
|
+
labelHidden: !1,
|
|
3794
|
+
...defaultLabelIconConfig,
|
|
3795
|
+
onCreated: "",
|
|
3796
|
+
onMounted: "",
|
|
3797
|
+
accessType: "1",
|
|
3798
|
+
labelColor: "",
|
|
3799
|
+
...defaultWfConfig,
|
|
3800
|
+
|
|
3801
|
+
autoValueEnabled: false,
|
|
3802
|
+
autoValueHanlde: null,
|
|
3803
|
+
|
|
3804
|
+
showRuleFlag: 1,
|
|
3805
|
+
showRuleEnabled: 1,
|
|
3806
|
+
showRules: [],
|
|
3807
|
+
|
|
3808
|
+
...defaultTextFlagConfig,
|
|
3809
|
+
},
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
type: "create_date-text",
|
|
3813
|
+
targetType: "text",
|
|
3814
|
+
icon: "text",
|
|
3815
|
+
commonFlag: !0,
|
|
3816
|
+
formItemFlag: !0,
|
|
3817
|
+
columnFlag: true,
|
|
3818
|
+
tableField: null,
|
|
3819
|
+
options: {
|
|
3820
|
+
name: "",
|
|
3821
|
+
keyNameEnabled: !0,
|
|
3822
|
+
keyName: "create_date",
|
|
3823
|
+
label: "创建时间",
|
|
3824
|
+
submitFlag: true,
|
|
3825
|
+
formField: "",
|
|
3826
|
+
hidden: !1,
|
|
3827
|
+
required: !1,
|
|
3828
|
+
customClass: "",
|
|
3829
|
+
defaultValue: "",
|
|
3830
|
+
labelAlign: "",
|
|
3831
|
+
labelWidth: null,
|
|
3832
|
+
labelHidden: !1,
|
|
3833
|
+
...defaultLabelIconConfig,
|
|
3834
|
+
onCreated: "",
|
|
3835
|
+
onMounted: "",
|
|
3836
|
+
accessType: "1",
|
|
3837
|
+
labelColor: "",
|
|
3838
|
+
...defaultWfConfig,
|
|
3839
|
+
|
|
3840
|
+
autoValueEnabled: false,
|
|
3841
|
+
autoValueHanlde: null,
|
|
3842
|
+
|
|
3843
|
+
showRuleFlag: 1,
|
|
3844
|
+
showRuleEnabled: 1,
|
|
3845
|
+
showRules: [],
|
|
3846
|
+
|
|
3847
|
+
...defaultTextFlagConfig,
|
|
3848
|
+
},
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
type: "modify_date-text",
|
|
3852
|
+
targetType: "text",
|
|
3853
|
+
icon: "text",
|
|
3854
|
+
commonFlag: !0,
|
|
3855
|
+
formItemFlag: !0,
|
|
3856
|
+
columnFlag: true,
|
|
3857
|
+
tableField: null,
|
|
3858
|
+
options: {
|
|
3859
|
+
name: "",
|
|
3860
|
+
keyNameEnabled: !0,
|
|
3861
|
+
keyName: "modify_date",
|
|
3862
|
+
label: "更新时间",
|
|
3863
|
+
submitFlag: true,
|
|
3864
|
+
formField: "",
|
|
3865
|
+
hidden: !1,
|
|
3866
|
+
required: !1,
|
|
3867
|
+
customClass: "",
|
|
3868
|
+
defaultValue: "",
|
|
3869
|
+
labelAlign: "",
|
|
3870
|
+
labelWidth: null,
|
|
3871
|
+
labelHidden: !1,
|
|
3872
|
+
...defaultLabelIconConfig,
|
|
3873
|
+
onCreated: "",
|
|
3874
|
+
onMounted: "",
|
|
3875
|
+
accessType: "1",
|
|
3876
|
+
labelColor: "",
|
|
3877
|
+
...defaultWfConfig,
|
|
3878
|
+
|
|
3879
|
+
autoValueEnabled: false,
|
|
3880
|
+
autoValueHanlde: null,
|
|
3881
|
+
|
|
3882
|
+
showRuleFlag: 1,
|
|
3883
|
+
showRuleEnabled: 1,
|
|
3884
|
+
showRules: [],
|
|
3885
|
+
|
|
3886
|
+
...defaultTextFlagConfig,
|
|
3887
|
+
},
|
|
3888
|
+
},
|
|
3889
|
+
|
|
3890
|
+
{
|
|
3891
|
+
type: "user-vabsearch",
|
|
3892
|
+
targetType: "singerSearch",
|
|
3893
|
+
icon: "searchbox",
|
|
3894
|
+
commonFlag: !0,
|
|
3895
|
+
columnFlag: true,
|
|
3896
|
+
formItemFlag: !0,
|
|
3897
|
+
tableField: null,
|
|
3898
|
+
options: {
|
|
3899
|
+
...vabsearchConfig,
|
|
3900
|
+
vabSearchName: "nick_name",
|
|
3901
|
+
userDefaultVabSearch: true,
|
|
3902
|
+
label: "用户",
|
|
3903
|
+
labelColor: "",
|
|
3904
|
+
searchDialogConfig: {
|
|
3905
|
+
...defaultSearchDialogConfig,
|
|
3906
|
+
multipleChoices: false,
|
|
3907
|
+
formCode: "user_dialog",
|
|
3908
|
+
valueSourceField: "id",
|
|
3909
|
+
labelSourceField: "nick_name",
|
|
3910
|
+
},
|
|
3911
|
+
},
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
type: "saleOrg-vabsearch",
|
|
3915
|
+
targetType: "singerSearch",
|
|
3916
|
+
icon: "searchbox",
|
|
3917
|
+
commonFlag: !0,
|
|
3918
|
+
columnFlag: true,
|
|
3919
|
+
formItemFlag: !0,
|
|
3920
|
+
tableField: null,
|
|
3921
|
+
options: {
|
|
3922
|
+
...vabsearchConfig,
|
|
3923
|
+
vabSearchName: "sale_org_name",
|
|
3924
|
+
saleOrgDefaultVabSearch: true,
|
|
3925
|
+
label: "机构",
|
|
3926
|
+
labelColor: "",
|
|
3927
|
+
searchDialogConfig: {
|
|
3928
|
+
...defaultSearchDialogConfig,
|
|
3929
|
+
multipleChoices: false,
|
|
3930
|
+
formCode: "sale_org_dialog",
|
|
3931
|
+
valueSourceField: "id",
|
|
3932
|
+
labelSourceField: "name",
|
|
3933
|
+
},
|
|
3934
|
+
},
|
|
3935
|
+
},
|
|
3936
|
+
|
|
3937
|
+
{
|
|
3938
|
+
type: "user-project-tag",
|
|
3939
|
+
targetType: "project-tag",
|
|
3940
|
+
icon: "uploadbox",
|
|
3941
|
+
commonFlag: !0,
|
|
3942
|
+
columnFlag: true,
|
|
3943
|
+
formItemFlag: !0,
|
|
3944
|
+
tableField: null,
|
|
3945
|
+
options: {
|
|
3946
|
+
...projectTagConfig,
|
|
3947
|
+
formScriptEnabled: true,
|
|
3948
|
+
label: "用户",
|
|
3949
|
+
labelColor: "",
|
|
3950
|
+
tagFormCode: "user_dialog",
|
|
3951
|
+
tagLabelField: "nick_name",
|
|
3952
|
+
tagUniqueField: "id",
|
|
3953
|
+
tagFormLabelField: "nick_name",
|
|
3954
|
+
tagFormUniqueField: "id",
|
|
3955
|
+
tabDeleteEnabled: true,
|
|
3956
|
+
},
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
type: "saleOrg-project-tag",
|
|
3960
|
+
targetType: "project-tag",
|
|
3961
|
+
icon: "uploadbox",
|
|
3962
|
+
commonFlag: !0,
|
|
3963
|
+
columnFlag: true,
|
|
3964
|
+
formItemFlag: !0,
|
|
3965
|
+
tableField: null,
|
|
3966
|
+
options: {
|
|
3967
|
+
...projectTagConfig,
|
|
3968
|
+
formScriptEnabled: true,
|
|
3969
|
+
label: "机构",
|
|
3970
|
+
labelColor: "",
|
|
3971
|
+
tagFormCode: "sale_org_dialog",
|
|
3972
|
+
tagLabelField: "name",
|
|
3973
|
+
tagUniqueField: "id",
|
|
3974
|
+
tagFormLabelField: "name",
|
|
3975
|
+
tagFormUniqueField: "id",
|
|
3976
|
+
tabDeleteEnabled: true,
|
|
3977
|
+
},
|
|
3978
|
+
},
|
|
3979
|
+
{
|
|
3980
|
+
type: "save_submit_wf_button",
|
|
3981
|
+
targetType: "button",
|
|
3982
|
+
icon: "button",
|
|
3983
|
+
commonFlag: !0,
|
|
3984
|
+
columnFlag: true,
|
|
3985
|
+
formItemFlag: !1,
|
|
3986
|
+
options: {
|
|
3987
|
+
name: "",
|
|
3988
|
+
label: "保存并提交流程",
|
|
3989
|
+
columnWidth: "200px",
|
|
3990
|
+
size: "",
|
|
3991
|
+
displayStyle: "block",
|
|
3992
|
+
disabled: !1,
|
|
3993
|
+
hidden: !1,
|
|
3994
|
+
type: "success",
|
|
3995
|
+
plain: !1,
|
|
3996
|
+
round: !1,
|
|
3997
|
+
circle: !1,
|
|
3998
|
+
icon: "el-icon-video-play",
|
|
3999
|
+
customClass: "",
|
|
4000
|
+
onCreated: "",
|
|
4001
|
+
onMounted: "",
|
|
4002
|
+
onClick: "this.saveAndSubmitWfHandle();",
|
|
4003
|
+
accessType: "1",
|
|
4004
|
+
saveSubmitWfButton: true,
|
|
4005
|
+
clickBindEvent: null,
|
|
4006
|
+
onBeforeClickButton: null,
|
|
4007
|
+
searchDialogConfig: {
|
|
4008
|
+
...defaultSearchDialogConfig,
|
|
4009
|
+
},
|
|
4010
|
+
...defaultWfConfig,
|
|
4011
|
+
...defaultWidgetShowRuleConfig,
|
|
4012
|
+
hiddenByWf: true,
|
|
4013
|
+
showRuleFlag: 1,
|
|
4014
|
+
showRuleEnabled: 1,
|
|
4015
|
+
showRules: [],
|
|
4016
|
+
},
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
type: "copy_button",
|
|
4020
|
+
icon: "button",
|
|
4021
|
+
commonFlag: !0,
|
|
4022
|
+
columnFlag: true,
|
|
4023
|
+
formItemFlag: !1,
|
|
4024
|
+
options: {
|
|
4025
|
+
name: "",
|
|
4026
|
+
label: "复制",
|
|
4027
|
+
columnWidth: "200px",
|
|
4028
|
+
size: "",
|
|
4029
|
+
// displayStyle: "block",
|
|
4030
|
+
disabled: !1,
|
|
4031
|
+
hidden: !1,
|
|
4032
|
+
type: "primary",
|
|
4033
|
+
|
|
4034
|
+
customClass: "",
|
|
4035
|
+
onCreated: "",
|
|
4036
|
+
onMounted: "",
|
|
4037
|
+
copyButton: true,
|
|
4038
|
+
copyDataHandle: "",
|
|
4039
|
+
...defaultWfConfig,
|
|
4040
|
+
...defaultWidgetShowRuleConfig,
|
|
4041
|
+
hiddenByWf: true,
|
|
4042
|
+
|
|
4043
|
+
showRuleFlag: 1,
|
|
4044
|
+
showRuleEnabled: 1,
|
|
4045
|
+
showRules: [],
|
|
4046
|
+
},
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
type: "tempStorage",
|
|
4050
|
+
icon: "uploadbox",
|
|
4051
|
+
commonFlag: !0,
|
|
4052
|
+
columnFlag: true,
|
|
4053
|
+
formItemFlag: !1,
|
|
4054
|
+
options: {
|
|
4055
|
+
name: "",
|
|
4056
|
+
// label: "暂存",
|
|
4057
|
+
columnWidth: "200px",
|
|
4058
|
+
disabled: !1,
|
|
4059
|
+
hidden: !1,
|
|
4060
|
+
|
|
4061
|
+
tempStorageFlag: 1,
|
|
4062
|
+
tempStorageCode: null,
|
|
4063
|
+
tempStorageConfirm: null,
|
|
4064
|
+
|
|
4065
|
+
customClass: "",
|
|
4066
|
+
onCreated: "",
|
|
4067
|
+
onMounted: "",
|
|
4068
|
+
|
|
4069
|
+
...defaultWidgetShowRuleConfig,
|
|
4070
|
+
},
|
|
4071
|
+
},
|
|
4072
|
+
{
|
|
4073
|
+
type: "oplog",
|
|
4074
|
+
icon: "uploadbox",
|
|
4075
|
+
commonFlag: !0,
|
|
4076
|
+
formItemFlag: !1,
|
|
4077
|
+
options: {
|
|
4078
|
+
name: "",
|
|
4079
|
+
// label: "操作日志",
|
|
4080
|
+
// disabled: !1,
|
|
4081
|
+
hidden: !1,
|
|
4082
|
+
|
|
4083
|
+
oplogFlag: 1,
|
|
4084
|
+
formScriptCode: "listUserLog",
|
|
4085
|
+
oplogTypeCode: null,
|
|
4086
|
+
oplogBusinessKey: null,
|
|
4087
|
+
|
|
4088
|
+
customClass: "",
|
|
4089
|
+
onCreated: "",
|
|
4090
|
+
onMounted: "",
|
|
4091
|
+
},
|
|
4092
|
+
},
|
|
4093
|
+
{
|
|
4094
|
+
type: "vabUpload2",
|
|
4095
|
+
icon: "uploadbox",
|
|
4096
|
+
commonFlag: !0,
|
|
4097
|
+
formItemFlag: !0,
|
|
4098
|
+
tableField: null,
|
|
4099
|
+
options: {
|
|
4100
|
+
name: "",
|
|
4101
|
+
keyNameEnabled: !1,
|
|
4102
|
+
keyName: "",
|
|
4103
|
+
label: "",
|
|
4104
|
+
labelColor: "",
|
|
4105
|
+
submitFlag: true,
|
|
4106
|
+
disabled: !1,
|
|
4107
|
+
hidden: !1,
|
|
4108
|
+
required: !1,
|
|
4109
|
+
labelWidth: null,
|
|
4110
|
+
labelHidden: !0,
|
|
4111
|
+
limit: null,
|
|
4112
|
+
hideRemoveButton: false,
|
|
4113
|
+
accessType: "1",
|
|
4114
|
+
entityTableCode: null,
|
|
4115
|
+
entityTableDesc: null,
|
|
4116
|
+
onCreated: "",
|
|
4117
|
+
onMounted: "",
|
|
4118
|
+
onAfterConfirmFile: "",
|
|
4119
|
+
vabUpload2Flag: 1,
|
|
4120
|
+
|
|
4121
|
+
vabupload2_scriptCode: "/intf/getHxFileUploadConfig",
|
|
4122
|
+
vabupload2_uploadParam:
|
|
4123
|
+
'return {\n entityName: "msdyn_workorder",\n entityId: dataId,\n backendwriteback: "10",\n fileCategory: "工单",\n}',
|
|
4124
|
+
vabupload2_deleteParam:
|
|
4125
|
+
'return {\r\n entityName: "msdyn_workorder",\r\n entityId: dataId,\r\n backendwriteback: "10",\r\n}',
|
|
4126
|
+
// vabupload2_getFileParam:"",
|
|
4127
|
+
|
|
4128
|
+
// ...httpConfig,
|
|
4129
|
+
// formScriptCode: "getList",
|
|
4130
|
+
...defaultLabelIconConfig,
|
|
4131
|
+
...defaultWfConfig,
|
|
4132
|
+
|
|
4133
|
+
showRuleFlag: 1,
|
|
4134
|
+
showRuleEnabled: 1,
|
|
4135
|
+
showRules: [],
|
|
4136
|
+
|
|
4137
|
+
hiddenFileInfo: false,
|
|
4138
|
+
hiddenFileName: false,
|
|
4139
|
+
showFileSize: false,
|
|
4140
|
+
showFileCreateBy: false,
|
|
4141
|
+
showFileCreateDate: false,
|
|
4142
|
+
widgetSize: 2,
|
|
4143
|
+
|
|
4144
|
+
customUploadEnabled: false,
|
|
4145
|
+
uploadUrl: null,
|
|
4146
|
+
uploadHeaders: {},
|
|
4147
|
+
uploadRresponseAdapter: {},
|
|
4148
|
+
},
|
|
4149
|
+
},
|
|
4150
|
+
];
|
|
4151
|
+
|
|
4152
|
+
export const keyNamePrefixMap = {
|
|
4153
|
+
vabUpload: "attachments_",
|
|
4154
|
+
baseAttachment: "attachments_",
|
|
4155
|
+
};
|
|
3075
4156
|
|
|
3076
|
-
export const customFields = []
|
|
4157
|
+
export const customFields = [];
|
|
3077
4158
|
|
|
3078
4159
|
export function addContainerWidgetSchema(containerSchema) {
|
|
3079
|
-
containers.push(containerSchema)
|
|
4160
|
+
containers.push(containerSchema);
|
|
3080
4161
|
}
|
|
3081
4162
|
|
|
3082
4163
|
export function addBasicFieldSchema(fieldSchema) {
|
|
3083
|
-
basicFields.push(fieldSchema)
|
|
4164
|
+
basicFields.push(fieldSchema);
|
|
3084
4165
|
}
|
|
3085
4166
|
|
|
3086
4167
|
export function addAdvancedFieldSchema(fieldSchema) {
|
|
3087
|
-
advancedFields.push(fieldSchema)
|
|
4168
|
+
advancedFields.push(fieldSchema);
|
|
3088
4169
|
}
|
|
3089
4170
|
|
|
3090
4171
|
export function addCustomWidgetSchema(widgetSchema) {
|
|
3091
|
-
customFields.push(widgetSchema)
|
|
4172
|
+
customFields.push(widgetSchema);
|
|
3092
4173
|
}
|