cloud-web-corejs 1.1.0-dev.6 → 1.1.0-dev.61
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/README.md +38 -0
- package/bin/core-resources.js +16 -0
- package/bin/create-child-app.js +34 -0
- package/docs/child-app/README.md +95 -0
- package/docs/child-app/activiti-resources.md +63 -0
- package/docs/child-app/generate-prompt.md +55 -0
- package/docs/child-app/luckysheet-resources.md +80 -0
- package/docs/child-app/public-resources-plan.md +288 -0
- package/docs/child-app/resources-implementation.md +101 -0
- package/docs/child-app/tinymce-resources.md +88 -0
- package/docs/child-app/validation.md +34 -0
- package/docs/qiankun/346/216/245/345/205/245/345/215/217/350/256/256.md +298 -0
- package/docs/qiankun/350/257/246/346/203/205/346/211/277/350/275/275/345/255/220/345/272/224/347/224/250/345/257/271/346/216/245/346/270/205/345/215/225.md +111 -0
- package/package.json +29 -4
- package/resource-tools/index.js +126 -0
- package/src/app-bootstrap.js +531 -0
- package/src/app-bootstrap.sync.js +502 -0
- package/src/boot-assets.legacy.js +13 -0
- package/src/boot-assets.next.js +7 -0
- package/src/components/Qrcode/fileParse.vue +11 -0
- package/src/components/Tinymce/dynamicLoadScript.js +51 -59
- package/src/components/Tinymce/index.vue +382 -336
- package/src/components/Tinymce/mce-chrome.scss +150 -0
- package/src/components/VabUpload/image-viewer.vue +18 -10
- package/src/components/VabUpload/index.js +11 -4
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +2 -0
- package/src/components/VabUpload/mixins.js +72 -40
- package/src/components/VabUpload/partUploadConfig.js +95 -0
- package/src/components/VabUpload/privateProfileDialogMixins.js +2 -0
- package/src/components/VabUpload/style.scss +282 -0
- package/src/components/VabUpload/view.vue +19 -18
- package/src/components/baseArea/index.vue +2 -2
- package/src/components/baseInputExport/mixins.js +1 -6
- package/src/components/bizTab/BizTabListPage.vue +66 -33
- package/src/components/bizTab/README.md +3 -1
- package/src/components/bizTab/bizBillDetailMixin.js +2 -0
- package/src/components/code-editor/ace-chrome.scss +17 -0
- package/src/components/code-editor/index.vue +361 -340
- package/src/components/errorMsg/index.vue +142 -13
- package/src/components/errorMsg/mixins.js +53 -0
- package/src/components/excelExport/conditionExportConfig.js +112 -0
- package/src/components/excelExport/exportColumnMemory.js +118 -0
- package/src/components/excelExport/exportFieldDialog.vue +50 -38
- package/src/components/excelExport/exportType.js +8 -0
- package/src/components/excelExport/index.js +30 -13
- package/src/components/excelExport/index.vue +7 -1
- package/src/components/excelExport/mixins.js +782 -293
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/excelImport/mixins.js +888 -834
- package/src/components/fileLibrary/mixins/indexMixins.js +2 -0
- package/src/components/fileLibrary/style.scss +579 -0
- package/src/components/formDialog/index.vue +11 -8
- package/src/components/hiprint/style.scss +188 -0
- package/src/components/hiprint/view/json-view.vue +4 -4
- package/src/components/jdPrint/mixins.js +2 -0
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/jsonImport/mixins.js +6 -10
- package/src/components/langImport/index.vue +1 -1
- package/src/components/langImport/mixins.js +6 -10
- package/src/components/luckysheet/loadResources.js +64 -0
- package/src/components/luckysheet/view.vue +239 -210
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/mobile/wf/addTaskUserdialog.vue +100 -80
- package/src/components/mobile/wf/content.vue +1734 -1662
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +73 -54
- package/src/components/mobile/wf/selectUserDialog.vue +118 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +69 -48
- package/src/components/mobile/wf/urgingDialog.vue +75 -52
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/obsUpload/index.js +4 -1
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/obsUpload/mixins.js +45 -15
- package/src/components/onlineTalk/index.vue +4 -4
- package/src/components/onlineTalk/mixins.js +21 -7
- package/src/components/table/index.js +96 -81
- package/src/components/table/plugins/cell-area/index.js +10 -3
- package/src/components/table/style.scss +1399 -0
- package/src/components/table/vxeFilter/mixin.js +28 -18
- package/src/components/wf/content.vue +3 -2
- package/src/components/wf/content2.vue +1 -1
- package/src/components/wf/style.scss +265 -0
- package/src/components/wf/wf.js +7 -0
- package/src/components/wf/wfActionItems.js +3 -0
- package/src/components/wf/wfStartDialog.vue +1 -0
- package/src/components/wf/wfTransferEnabled.js +54 -0
- package/src/components/wf/wfUtil.js +47 -29
- package/src/components/wf/wfVisibility.js +6 -0
- package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +64 -57
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +1 -1
- package/src/components/xform/docs/2026-09 /345/212/250/346/200/201/345/255/227/346/256/265/350/247/204/345/210/231/344/270/216/346/265/201/347/250/213/346/216/247/345/210/266/346/211/247/350/241/214/351/241/272/345/272/217/350/220/275/345/234/260/346/226/271/346/241/210.md" +409 -0
- package/src/components/xform/docs/2026-09 /346/235/241/344/273/266/345/257/274/345/207/272/345/244/247/346/225/260/346/215/256/351/207/217/345/264/251/346/272/203/346/216/222/346/237/245.md" +389 -0
- package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/344/273/243/347/240/201/350/257/204/345/256/241.md" +255 -0
- package/src/components/xform/docs/2026-09 /346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206P0/346/265/213/350/257/225/351/252/214/350/257/201/345/256/236/346/226/275/346/226/207/346/241/243.md" +595 -0
- package/src/components/xform/docs/2026-09 /347/274/226/350/276/221/350/241/250/350/241/214/345/206/205/344/277/235/345/255/230/346/240/241/351/252/214/350/214/203/345/233/264/344/270/216/345/210/227/345/277/205/345/241/253/350/247/243/346/236/220/344/277/256/345/244/215.md" +233 -0
- package/src/components/xform/docs/2026-09 /350/241/250/345/215/225/345/257/274/345/205/245/351/200/232/351/201/223/346/242/263/347/220/206/344/270/216/350/220/275/345/234/260/346/226/271/346/241/210.md" +745 -0
- package/src/components/xform/docs//346/265/217/350/247/210/345/231/250/345/264/251/346/272/203/346/262/273/347/220/206/344/270/216/344/277/256/345/244/215/350/220/275/345/234/260/346/226/271/346/241/210.md +324 -0
- package/src/components/xform/form-designer/designer.js +2133 -2100
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +7 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-h5-widget.vue +243 -227
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-pane-widget.vue +228 -207
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-widget.vue +165 -136
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +30 -4
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +190 -185
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2657 -1774
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +27 -4
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- 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 +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +35 -4
- 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 +64 -10
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +14 -4
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +19 -6
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/index.js +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +29 -3
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +64 -0
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -145
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +25 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
- package/src/components/xform/form-designer/indexMixin.js +27 -0
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +687 -602
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +269 -36
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +335 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +23 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +846 -860
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tab-lazyRender-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onTabChange-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onTabClick-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +62 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +142 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/empty-number-input.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +27 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +33 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +2 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/suffixIconClickable-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +18 -4
- package/src/components/xform/form-designer/toolbar-panel/index.vue +884 -874
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +13 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +15 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +152 -9
- package/src/components/xform/form-render/container-item/containerItemMixin.js +93 -8
- package/src/components/xform/form-render/container-item/data-table-item.vue +352 -347
- package/src/components/xform/form-render/container-item/data-table-mixin.js +7261 -5985
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +48 -19
- package/src/components/xform/form-render/container-item/detail-item.vue +350 -446
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +55 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +261 -178
- package/src/components/xform/form-render/container-item/panel-item.vue +1 -1
- package/src/components/xform/form-render/container-item/tab-item.vue +177 -129
- package/src/components/xform/form-render/fieldControlEngine.js +218 -0
- package/src/components/xform/form-render/fieldControlMixin.js +536 -0
- package/src/components/xform/form-render/index.vue +164 -153
- package/src/components/xform/form-render/indexMixin.js +5443 -5311
- package/src/components/xform/form-render/pageDialogScope.js +54 -0
- package/src/components/xform/icon-picker/index.vue +1 -1
- package/src/components/xform/lang/en-US.js +8 -0
- package/src/components/xform/lang/zh-CN.js +9 -0
- package/src/components/xform/mixins/businessLock.js +59 -0
- package/src/components/xform/mixins/defaultHandle.js +713 -707
- package/src/components/xform/mixins/scriptHttp.js +42 -21
- package/src/components/xform/mixins/wfStart.js +105 -0
- package/src/components/xform/mixins/wfVisibility.js +33 -0
- package/src/components/xform/styles/census.scss +288 -0
- package/src/components/xform/styles/containers.scss +215 -0
- package/src/components/xform/styles/designer.scss +904 -0
- package/src/components/xform/styles/detail-temp.scss +71 -0
- package/src/components/xform/styles/h5-designer.scss +191 -0
- package/src/components/xform/styles/h5-runtime.scss +520 -0
- package/src/components/xform/styles/h5.scss +836 -516
- package/src/components/xform/styles/skins.scss +398 -0
- package/src/components/xform/styles/table-layout.scss +91 -0
- package/src/components/xform/styles/titles.scss +255 -0
- package/src/components/xform/utils/dynamicSchemaUtil.js +385 -361
- package/src/components/xform/utils/fixedQueryUtil.js +29 -4
- package/src/components/xform/utils/serviceNameCache.js +69 -0
- package/src/components/xform/utils/tableColumnHelper.js +46 -4
- package/src/components/xform/utils/util.js +1776 -1708
- package/src/core-resources/css/h5.scss +548 -0
- package/src/core-resources/css/iconfont.css +1447 -0
- package/src/core-resources/font/iconfont.ttf +0 -0
- package/src/core-resources/font/iconfont.woff +0 -0
- package/src/core-resources/font/iconfont.woff2 +0 -0
- package/src/core-resources/images/default-header.png +0 -0
- package/src/core-resources/images/ico-default_wenjian.svg +1 -0
- package/src/core-resources/images/ico-excel.svg +1 -0
- package/src/core-resources/images/ico-ftl.svg +7 -0
- package/src/core-resources/images/ico-html.svg +1 -0
- package/src/core-resources/images/ico-java.svg +1 -0
- package/src/core-resources/images/ico-music.svg +1 -0
- package/src/core-resources/images/ico-pdf.svg +1 -0
- package/src/core-resources/images/ico-photo.svg +1 -0
- package/src/core-resources/images/ico-ppt.svg +1 -0
- package/src/core-resources/images/ico-psd.svg +1 -0
- package/src/core-resources/images/ico-service.png +0 -0
- package/src/core-resources/images/ico-txt.svg +1 -0
- package/src/core-resources/images/ico-video.svg +1 -0
- package/src/core-resources/images/ico-vue.svg +8 -0
- package/src/core-resources/images/ico-wenjianjia.svg +1 -0
- package/src/core-resources/images/ico-wrod.svg +1 -0
- package/src/core-resources/images/ico-xml.svg +1 -0
- package/src/core-resources/images/ico-yasuobao.svg +1 -0
- package/src/core-resources/images/icon-error.png +0 -0
- package/src/core-resources/images/icon-tips.png +0 -0
- package/src/core-resources/images/nodata.png +0 -0
- package/src/core-resources/images/nodata2.png +0 -0
- package/src/directive/append-to-body/index.js +48 -0
- package/src/directive/el-dialog-center/index.js +3 -2
- package/src/directive/el-drag-dialog/drag.js +33 -4
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.js +2 -510
- package/src/index.next.js +5 -0
- package/src/index.sync.js +5 -0
- package/src/layout/components/Sidebar/default.vue +1656 -1655
- package/src/layout/components/TagsView/index.vue +330 -323
- package/src/layout/components/TagsView/style.scss +92 -0
- package/src/layout/components/watermark/index.vue +1 -1
- package/src/layout/defaultLayout.vue +2 -2
- package/src/router/index.js +43 -48
- package/src/router/modules/customer.js +12 -0
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +241 -217
- package/src/store/modules/user.js +16 -12
- package/src/styles/btn.scss +315 -0
- package/src/styles/dialog.scss +1710 -0
- package/src/styles/element-ui.scss +1076 -0
- package/src/styles/element-variables.scss +31 -0
- package/src/styles/global.scss +115 -0
- package/src/styles/index.scss +245 -0
- package/src/styles/layout-skins.scss +840 -0
- package/src/styles/legacy-base.scss +19 -0
- package/src/styles/menu-icons.scss +75 -0
- package/src/styles/mixin.scss +80 -0
- package/src/styles/nprogress.scss +14 -0
- package/src/styles/page-shell.scss +723 -0
- package/src/styles/sidebar.scss +296 -0
- package/src/styles/split-handle.scss +52 -0
- package/src/styles/theme-variables.scss +7 -0
- package/src/styles/transition.scss +48 -0
- package/src/styles/utilities.scss +253 -0
- package/src/styles/variables.scss +72 -0
- package/src/utils/baseDictsCache.js +197 -0
- package/src/utils/chunkLoadError.js +24 -0
- package/src/utils/featureResources.js +57 -0
- package/src/utils/importLimit.js +72 -0
- package/src/utils/pdfUtil.js +6 -1
- package/src/utils/request.js +149 -9
- package/src/utils/resolveViewComponent.js +45 -90
- package/src/utils/runtimeRecovery.js +105 -0
- package/src/utils/swiperLoader.js +20 -0
- package/src/utils/vab.js +1334 -1283
- package/src/utils/xlsxLoader.js +29 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +749 -721
- package/src/views/bd/setting/form_template/mixins/list2.js +412 -411
- package/src/views/bd/setting/form_template/mixins/wf_list.js +431 -430
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/bill_setting/mixins/wf.js +8 -0
- package/src/views/user/bill_setting/render.vue +1 -1
- package/src/views/user/commMenu/index.vue +3 -1
- package/src/views/user/commMenu/style.scss +123 -0
- package/src/views/user/common_attribute/edit.vue +2 -0
- package/src/views/user/common_attribute/itemEdit.vue +2 -0
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/form_template/list.vue +527 -506
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/form/view/list.vue +24 -1
- package/src/views/user/home/default.vue +1124 -1117
- package/src/views/user/home/default2.vue +12 -8
- package/src/views/user/home/index.vue +102 -102
- package/src/views/user/home/wjl/content.vue +1581 -1569
- package/src/views/user/intf_permission/edit.vue +230 -0
- package/src/views/user/intf_permission/list.vue +196 -0
- package/src/views/user/menuFallback/index.vue +23 -0
- package/src/views/user/notify_message/dialog.vue +139 -139
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/role/edit.vue +4 -0
- package/src/views/user/role/role-box.scss +83 -0
- package/src/views/user/role/voc_edit.vue +4 -0
- package/src/views/user/user/list.vue +28 -6
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list2.vue +871 -871
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +177 -126
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +134 -133
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/list.vue +747 -746
- package/src/views/user/wf/wf_obj_config/list_form.vue +374 -373
- package/templates/child-app/.env +3 -0
- package/templates/child-app/README.md +49 -0
- package/templates/child-app/app.config.js +6 -0
- package/templates/child-app/babel.config.js +1 -0
- package/templates/child-app/core-resources.config.js +15 -0
- package/templates/child-app/gitignore +7 -0
- package/templates/child-app/package.json +34 -0
- package/templates/child-app/public/index.html +12 -0
- package/templates/child-app/src/assets/401_images/401.gif +0 -0
- package/templates/child-app/src/assets/404_images/404.png +0 -0
- package/templates/child-app/src/assets/404_images/404_cloud.png +0 -0
- package/templates/child-app/src/assets/logo.png +0 -0
- package/templates/child-app/src/corejsConfig.js +2 -0
- package/templates/child-app/src/icons/index.js +2 -0
- package/templates/child-app/src/icons/svg/child-demo.svg +1 -0
- package/templates/child-app/src/layout/index.vue +4 -0
- package/templates/child-app/src/main.js +5 -0
- package/templates/child-app/src/prefixConfig.js +13 -0
- package/templates/child-app/src/resources/css/login.scss +29 -0
- package/templates/child-app/src/resources/images/bg-login5.jpg +0 -0
- package/templates/child-app/src/resources/images/home-img.png +0 -0
- package/templates/child-app/src/router/modules/customer.js +3 -0
- package/templates/child-app/src/settings.js +25 -0
- package/templates/child-app/src/styles/app.scss +2 -0
- package/templates/child-app/src/views/demo/detail.vue +19 -0
- package/templates/child-app/src/views/demo/list.vue +38 -0
- package/templates/child-app/src/views/user/login/index.vue +18 -0
- package/templates/child-app/vue.config.js +107 -0
- package/src/components/xform/form-render/container-item/dynamicFieldEngine.js +0 -285
- package/src/components/xform/form-render/formDynamicFieldMixin.js +0 -131
- package/src/views/demo/bizTab/bill/billConfig.js +0 -41
- package/src/views/demo/bizTab/bill/detail.vue +0 -436
- package/src/views/demo/bizTab/bill/list.vue +0 -288
- package/src/views/demo/bizTab/bill/productDialog.vue +0 -176
- package/src/views/demo/bizTab/simple/billApi.js +0 -123
- package/src/views/demo/bizTab/simple/detail.vue +0 -407
- package/src/views/demo/bizTab/simple/list.vue +0 -217
- package/src/views/demo/bizTab/standalone/index.vue +0 -121
- package/src/views/demo/bizTab/wf/billConfig.js +0 -44
- package/src/views/demo/bizTab/wf/detail.vue +0 -661
- package/src/views/demo/bizTab/wf/list.vue +0 -242
- package/src/views/user/outLink/cc_form_view.vue +0 -188
- /package/src/{resources → core-resources}/js/base/common.js +0 -0
|
@@ -36,6 +36,7 @@ modules = {
|
|
|
36
36
|
},
|
|
37
37
|
inject: [
|
|
38
38
|
"getDesignerConfig",
|
|
39
|
+
"getLayoutTypeLocked",
|
|
39
40
|
"saveReportTemplate",
|
|
40
41
|
"getReportTemplate",
|
|
41
42
|
"getFormTemplateTableDTOs",
|
|
@@ -105,6 +106,15 @@ modules = {
|
|
|
105
106
|
layoutType() {
|
|
106
107
|
return this.designer.getLayoutType();
|
|
107
108
|
},
|
|
109
|
+
|
|
110
|
+
/* 布局模式由入口(表单模板类型)锁定时,PC/移动端按钮只回显不可切换 */
|
|
111
|
+
layoutTypeLocked() {
|
|
112
|
+
return !!this.getLayoutTypeLocked();
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
layoutTypeLockedTip() {
|
|
116
|
+
return this.$t1("模板类型由表单模板维护,设计器内不可切换");
|
|
117
|
+
},
|
|
108
118
|
},
|
|
109
119
|
watch: {
|
|
110
120
|
"designer.widgetList": {
|
|
@@ -281,6 +291,9 @@ modules = {
|
|
|
281
291
|
},
|
|
282
292
|
|
|
283
293
|
changeLayoutType(newType) {
|
|
294
|
+
if (this.layoutTypeLocked) {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
284
297
|
this.designer.changeLayoutType(newType);
|
|
285
298
|
this.$emit("loadWidgets");
|
|
286
299
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<el-tab-pane v-if="showComponentLib" name="componentLib">
|
|
7
7
|
<span slot="label"><i class="el-icon-set-up"></i> {{ i18nt('designer.componentLib') }}</span>
|
|
8
8
|
|
|
9
|
-
<el-collapse v-model="activeNames" class="widget-collapse">
|
|
9
|
+
<el-collapse v-model="activeNames" class="widget-collapse" :key="currentLayoutType">
|
|
10
10
|
<el-collapse-item name="1" :title="i18nt('designer.containerTitle')">
|
|
11
11
|
<draggable tag="ul" :list="containers" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
12
12
|
:clone="handleContainerWidgetClone" ghost-class="ghost" :sort="false"
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
</draggable>
|
|
35
35
|
</el-collapse-item>
|
|
36
36
|
|
|
37
|
+
<template v-if="advancedFields.length">
|
|
37
38
|
<el-collapse-item name="3" :title="i18nt('designer.advancedFieldTitle')">
|
|
38
39
|
<draggable tag="ul" :list="advancedFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
39
40
|
:move="checkFieldMove"
|
|
@@ -47,8 +48,9 @@
|
|
|
47
48
|
</li>
|
|
48
49
|
</draggable>
|
|
49
50
|
</el-collapse-item>
|
|
51
|
+
</template>
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
<template v-if="customFields.length">
|
|
52
54
|
<el-collapse-item name="4" :title="i18nt('designer.customFieldTitle')">
|
|
53
55
|
<draggable tag="ul" :list="customFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
54
56
|
:move="checkFieldMove"
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
</li>
|
|
63
65
|
</draggable>
|
|
64
66
|
</el-collapse-item>
|
|
65
|
-
|
|
67
|
+
</template>
|
|
66
68
|
|
|
67
69
|
|
|
68
70
|
</el-collapse>
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
<el-tab-pane v-if="showMetadataLib" name="metadataLib">
|
|
72
74
|
<span slot="label"><i class="el-icon-set-up"></i> {{ i18nt('designer.metadataLib') }}</span>
|
|
73
75
|
|
|
74
|
-
<el-collapse v-model="metadataActiveNames" class="widget-collapse">
|
|
76
|
+
<el-collapse v-model="metadataActiveNames" class="widget-collapse" :key="currentLayoutType">
|
|
75
77
|
<el-collapse-item name="0" :title="i18nt('designer.containerTitle')">
|
|
76
78
|
<draggable tag="ul" :list="commonContainers" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
77
79
|
:clone="handleContainerWidgetClone" ghost-class="ghost" :sort="false"
|
|
@@ -97,6 +99,7 @@
|
|
|
97
99
|
</li>
|
|
98
100
|
</draggable>
|
|
99
101
|
</el-collapse-item>
|
|
102
|
+
<template v-if="commonAdvancedFields.length">
|
|
100
103
|
<el-collapse-item name="3" :title="i18nt('designer.advancedFieldTitle')">
|
|
101
104
|
<draggable tag="ul" :list="commonAdvancedFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
102
105
|
:move="checkFieldMove"
|
|
@@ -110,6 +113,7 @@
|
|
|
110
113
|
</li>
|
|
111
114
|
</draggable>
|
|
112
115
|
</el-collapse-item>
|
|
116
|
+
</template>
|
|
113
117
|
|
|
114
118
|
|
|
115
119
|
|
|
@@ -160,7 +164,7 @@
|
|
|
160
164
|
</li>
|
|
161
165
|
</draggable>
|
|
162
166
|
</el-collapse-item>
|
|
163
|
-
<el-collapse-item name="compare" :title="i18nt('对比组件')">
|
|
167
|
+
<el-collapse-item v-if="currentLayoutType !== 'H5'" name="compare" :title="i18nt('对比组件')">
|
|
164
168
|
<draggable tag="ul" :list="compareFields" :group="{name: 'dragGroup', pull: 'clone', put: false}"
|
|
165
169
|
:move="checkFieldMove"
|
|
166
170
|
:clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
|
|
@@ -311,8 +315,8 @@ export default {
|
|
|
311
315
|
background: #f1f2f3;
|
|
312
316
|
font-size: 12px;
|
|
313
317
|
padding-left: 12px;
|
|
314
|
-
> span{
|
|
315
|
-
display: flex;align-items: center;white-space: normal;line-height: 1.2;height: 35px;
|
|
318
|
+
> span{
|
|
319
|
+
display: flex;align-items: center;white-space: normal;line-height: 1.2;height: 35px;
|
|
316
320
|
}
|
|
317
321
|
svg {
|
|
318
322
|
display: inline-block;
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
advancedFields,
|
|
7
7
|
customFields,
|
|
8
8
|
businessFields,
|
|
9
|
-
widgetPanelOrder
|
|
9
|
+
widgetPanelOrder,
|
|
10
|
+
h5PanelAllowTypes
|
|
10
11
|
} from "./widgetsConfig"
|
|
11
12
|
import {
|
|
12
13
|
formTemplates
|
|
@@ -207,7 +208,7 @@ modules = {
|
|
|
207
208
|
displayName: this.i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
208
209
|
};
|
|
209
210
|
}).filter(fld => {
|
|
210
|
-
return !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
211
|
+
return !fld.internal && !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
211
212
|
});
|
|
212
213
|
|
|
213
214
|
/* 面板分组归一:表单数据字段(搜索框/自动完成/级联/凭证/状态等)展示在基础字段分组 */
|
|
@@ -268,6 +269,14 @@ modules = {
|
|
|
268
269
|
return !this.isBanned(fld.type) && this.getIsShow(fld);
|
|
269
270
|
});
|
|
270
271
|
|
|
272
|
+
/* 空分组不渲染(见 index.vue 的 v-if),展开项按当前版式重算:
|
|
273
|
+
不能只做减法,否则从 H5 切回 PC 时分组回来了却是收起状态 */
|
|
274
|
+
this.activeNames = ["1", "2"]
|
|
275
|
+
.concat(this.advancedFields.length ? ["3"] : [])
|
|
276
|
+
.concat(this.customFields.length ? ["4"] : []);
|
|
277
|
+
this.metadataActiveNames = ["0", "1", "2", "4"]
|
|
278
|
+
.concat(this.commonAdvancedFields.length ? ["3"] : []);
|
|
279
|
+
|
|
271
280
|
},
|
|
272
281
|
|
|
273
282
|
/* 按 widgetPanelOrder 排序面板展示列表;未列出的类型(含扩展组件)排在末尾,保持原有相对顺序 */
|
|
@@ -354,6 +363,10 @@ modules = {
|
|
|
354
363
|
let flag = !ftd.layoutType || ftd.layoutType === layoutType;
|
|
355
364
|
let flag2 = this.checkColumnFlag(ftd)
|
|
356
365
|
let flag3 = !!ftd.commonFlag
|
|
366
|
+
/* H5 面板按白名单收口,PC 不受影响 */
|
|
367
|
+
if (layoutType === "H5") {
|
|
368
|
+
flag = flag && h5PanelAllowTypes.indexOf(ftd.type) > -1;
|
|
369
|
+
}
|
|
357
370
|
return flag && flag2 && flag3;
|
|
358
371
|
}
|
|
359
372
|
}
|
|
@@ -51,6 +51,7 @@ export const containers = [
|
|
|
51
51
|
category: "container",
|
|
52
52
|
icon: "table",
|
|
53
53
|
commonFlag: !0,
|
|
54
|
+
layoutType: "PC",
|
|
54
55
|
columnFlag: true,
|
|
55
56
|
rows: [],
|
|
56
57
|
options: {
|
|
@@ -97,6 +98,15 @@ export const containers = [
|
|
|
97
98
|
height: "",
|
|
98
99
|
// isFullscreen: false,
|
|
99
100
|
tabClass: "tab-boxCard tabCard-sty1",
|
|
101
|
+
// 懒渲染:页签内容首次激活才挂载(element lazy)。默认关闭——开启前需确认表单
|
|
102
|
+
// 无跨页签 getWidgetRef 脚本、未访问页签字段无需参与提交校验(详情类模板适用)。
|
|
103
|
+
lazyRender: !1,
|
|
104
|
+
// 页签事件脚本:点击/切换页签时的联动入口(懒渲染后"切到页签再刷新数据"的挂钩)
|
|
105
|
+
onTabClick: "",
|
|
106
|
+
onTabChange: "",
|
|
107
|
+
// 容器生命周期脚本(与 detail 等容器同口径,由 containerItemMixin 的 handleOnCreated/Mounted 执行)
|
|
108
|
+
onCreated: "",
|
|
109
|
+
onMounted: "",
|
|
100
110
|
customClass: "",
|
|
101
111
|
...defaultWfConfig,
|
|
102
112
|
},
|
|
@@ -122,7 +132,7 @@ export const containers = [
|
|
|
122
132
|
}, {
|
|
123
133
|
type: "grid-sub-form",
|
|
124
134
|
category: "container",
|
|
125
|
-
icon: "
|
|
135
|
+
icon: "sub-form",
|
|
126
136
|
widgetList: [],
|
|
127
137
|
options: {
|
|
128
138
|
name: "",
|
|
@@ -140,7 +150,7 @@ export const containers = [
|
|
|
140
150
|
{
|
|
141
151
|
type: "grid-col",
|
|
142
152
|
category: "container",
|
|
143
|
-
icon: "grid
|
|
153
|
+
icon: "grid",
|
|
144
154
|
internal: !0,
|
|
145
155
|
widgetList: [],
|
|
146
156
|
options: {
|
|
@@ -162,7 +172,7 @@ export const containers = [
|
|
|
162
172
|
{
|
|
163
173
|
type: "table-cell",
|
|
164
174
|
category: "container",
|
|
165
|
-
icon: "table
|
|
175
|
+
icon: "table",
|
|
166
176
|
internal: !0,
|
|
167
177
|
widgetList: [],
|
|
168
178
|
merged: !1,
|
|
@@ -178,7 +188,7 @@ export const containers = [
|
|
|
178
188
|
{
|
|
179
189
|
type: "tab-pane",
|
|
180
190
|
category: "container",
|
|
181
|
-
icon: "tab
|
|
191
|
+
icon: "tab",
|
|
182
192
|
internal: !0,
|
|
183
193
|
widgetList: [],
|
|
184
194
|
options: {
|
|
@@ -319,6 +329,53 @@ export const containers = [
|
|
|
319
329
|
tableConfig: null,
|
|
320
330
|
isEditTable: false,
|
|
321
331
|
isTreeTable: false,
|
|
332
|
+
mergeRowEnabled: false,
|
|
333
|
+
mergeRowKey: null,
|
|
334
|
+
showGridFooter: false,
|
|
335
|
+
editDefaultRow: null,
|
|
336
|
+
rowEditableScript: null,
|
|
337
|
+
rowAddableScript: null,
|
|
338
|
+
rowDeletableScript: null,
|
|
339
|
+
rowSaveScriptCode: null,
|
|
340
|
+
beforeRowSave: null,
|
|
341
|
+
afterRowSave: null,
|
|
342
|
+
onRowSaveError: null,
|
|
343
|
+
clipboardEnabled: false,
|
|
344
|
+
clipboardRowIncrementEnabled: false,
|
|
345
|
+
clipboardAttachmentEnabled: false,
|
|
346
|
+
clipboardExcludeFields: [],
|
|
347
|
+
clipboardInvalidValueStrategy: "ignore",
|
|
348
|
+
clipboardAutoSaveEnabled: false,
|
|
349
|
+
autoSaveEnabled: false,
|
|
350
|
+
autoSaveTrigger: ["blur", "change", "paste"],
|
|
351
|
+
autoSaveDelay: 200,
|
|
352
|
+
treeConfig: {
|
|
353
|
+
rowField: "id",
|
|
354
|
+
parentField: "f_parent",
|
|
355
|
+
children: "f_children",
|
|
356
|
+
mapChildren: "_X_ROW_CHILD",
|
|
357
|
+
hasChild: "f_has_child",
|
|
358
|
+
lazy: false,
|
|
359
|
+
expandAll: true,
|
|
360
|
+
reserve: true,
|
|
361
|
+
},
|
|
362
|
+
treeIdentityConfig: {
|
|
363
|
+
physicalIdField: "id",
|
|
364
|
+
rootParentValue: 0,
|
|
365
|
+
serverGeneratesRowField: true,
|
|
366
|
+
persistedRowFieldChangeStrategy: "reject",
|
|
367
|
+
},
|
|
368
|
+
treeCopyConfig: {
|
|
369
|
+
rowFieldStrategy: "regenerate",
|
|
370
|
+
orphanParentStrategy: "detach",
|
|
371
|
+
lazyStrategy: "reject",
|
|
372
|
+
},
|
|
373
|
+
treeSubmitConfig: {
|
|
374
|
+
orphanParentStrategy: "preserve",
|
|
375
|
+
unloadedChildrenStrategy: "reject",
|
|
376
|
+
successReconcileStrategy: "reload",
|
|
377
|
+
},
|
|
378
|
+
treePasteInsertMode: "root",
|
|
322
379
|
wbsEnabled: false,
|
|
323
380
|
sortScriptCode: null,
|
|
324
381
|
importTemplateFile: null,
|
|
@@ -329,6 +386,7 @@ export const containers = [
|
|
|
329
386
|
showRules: [],
|
|
330
387
|
hideGridCheckBox: false,
|
|
331
388
|
isNotQueryAllPage: false,
|
|
389
|
+
isNotReadQueryAllPage: false,
|
|
332
390
|
isNotShowQueryButton: false,
|
|
333
391
|
|
|
334
392
|
exportItemColumns: [],
|
|
@@ -341,6 +399,7 @@ export const containers = [
|
|
|
341
399
|
category: "container",
|
|
342
400
|
icon: "text-field",
|
|
343
401
|
commonFlag: !0,
|
|
402
|
+
layoutType: "PC",
|
|
344
403
|
formItemFlag: !0,
|
|
345
404
|
widgetList: [],
|
|
346
405
|
options: {
|
|
@@ -459,6 +518,8 @@ export const containers = [
|
|
|
459
518
|
label: "模板模块",
|
|
460
519
|
detailTempContainer: true,
|
|
461
520
|
styleTempClass: 'd-temp-1',
|
|
521
|
+
// 默认栅格行列数:1=一行一列 2=一行两列 3=一行三列
|
|
522
|
+
rowColCount: 3,
|
|
462
523
|
customClass: "",
|
|
463
524
|
wfEnabled: false,
|
|
464
525
|
onCreated: "",
|
|
@@ -538,7 +599,7 @@ export const containers = [
|
|
|
538
599
|
* 直接拖进 tab-pane(见 docs/详情模块标签承载方案.md) */
|
|
539
600
|
type: "detail-pane",
|
|
540
601
|
category: "container",
|
|
541
|
-
icon: "grid
|
|
602
|
+
icon: "grid",
|
|
542
603
|
buttonWidgetList: [],
|
|
543
604
|
widgetList: [],
|
|
544
605
|
options: {
|
|
@@ -716,6 +777,7 @@ export const containers = [
|
|
|
716
777
|
category: "container",
|
|
717
778
|
icon: "tree-pane",
|
|
718
779
|
commonFlag: !0,
|
|
780
|
+
layoutType: "PC",
|
|
719
781
|
leftWidgetList: [],
|
|
720
782
|
widgetList: [],
|
|
721
783
|
options: {
|
|
@@ -747,7 +809,7 @@ export const containers = [
|
|
|
747
809
|
{
|
|
748
810
|
type: "h5-card-pane",
|
|
749
811
|
category: "container",
|
|
750
|
-
icon: "tab
|
|
812
|
+
icon: "tab",
|
|
751
813
|
internal: !0,
|
|
752
814
|
buttonWidgetList: [],
|
|
753
815
|
widgetList: [],
|
|
@@ -771,13 +833,13 @@ export const containers = [
|
|
|
771
833
|
name: "",
|
|
772
834
|
hidden: !1,
|
|
773
835
|
customClass: "",
|
|
774
|
-
fullWidth:
|
|
836
|
+
fullWidth: true,
|
|
775
837
|
},
|
|
776
838
|
},
|
|
777
839
|
{
|
|
778
840
|
type: "h5-table-cell",
|
|
779
841
|
category: "container",
|
|
780
|
-
icon: "table
|
|
842
|
+
icon: "table",
|
|
781
843
|
internal: !0,
|
|
782
844
|
widgetList: [],
|
|
783
845
|
merged: !1,
|
|
@@ -795,6 +857,7 @@ export const containers = [
|
|
|
795
857
|
icon: "tree",
|
|
796
858
|
category: "container",
|
|
797
859
|
commonFlag: !0,
|
|
860
|
+
layoutType: "PC",
|
|
798
861
|
widgetList: [],
|
|
799
862
|
options: {
|
|
800
863
|
name: "tree",
|
|
@@ -1148,6 +1211,7 @@ export const basicFields = [
|
|
|
1148
1211
|
showWordLimit: !1,
|
|
1149
1212
|
prefixIcon: "",
|
|
1150
1213
|
suffixIcon: "",
|
|
1214
|
+
suffixIconClickable: !1,
|
|
1151
1215
|
/*appendButton: !1,
|
|
1152
1216
|
appendButtonDisabled: !1,
|
|
1153
1217
|
buttonIcon: "el-icon-search",*/
|
|
@@ -1174,6 +1238,7 @@ export const basicFields = [
|
|
|
1174
1238
|
type: "input-batch",
|
|
1175
1239
|
icon: "input-batch",
|
|
1176
1240
|
commonFlag: !0,
|
|
1241
|
+
layoutType: "PC",
|
|
1177
1242
|
formItemFlag: !0,
|
|
1178
1243
|
columnFlag: true,
|
|
1179
1244
|
tableField: null,
|
|
@@ -2071,6 +2136,7 @@ export const basicFields = [
|
|
|
2071
2136
|
type: "html-text",
|
|
2072
2137
|
icon: "html-text",
|
|
2073
2138
|
commonFlag: !0,
|
|
2139
|
+
layoutType: "PC",
|
|
2074
2140
|
formItemFlag: !1,
|
|
2075
2141
|
columnFlag: false,
|
|
2076
2142
|
options: {
|
|
@@ -2397,6 +2463,7 @@ export const advancedFields = [
|
|
|
2397
2463
|
type: "echart-pie",
|
|
2398
2464
|
icon: "echart-pie",
|
|
2399
2465
|
commonFlag: !0,
|
|
2466
|
+
layoutType: "PC",
|
|
2400
2467
|
formItemFlag: false,
|
|
2401
2468
|
options: {
|
|
2402
2469
|
name: "",
|
|
@@ -2501,6 +2568,7 @@ export const advancedFields = [
|
|
|
2501
2568
|
type: "echart-bar",
|
|
2502
2569
|
icon: "echart",
|
|
2503
2570
|
commonFlag: !0,
|
|
2571
|
+
layoutType: "PC",
|
|
2504
2572
|
formItemFlag: false,
|
|
2505
2573
|
options: {
|
|
2506
2574
|
name: "",
|
|
@@ -2691,6 +2759,7 @@ export const advancedFields = [
|
|
|
2691
2759
|
type: "echart-category",
|
|
2692
2760
|
icon: "echart-category",
|
|
2693
2761
|
commonFlag: !0,
|
|
2762
|
+
layoutType: "PC",
|
|
2694
2763
|
formItemFlag: false,
|
|
2695
2764
|
options: {
|
|
2696
2765
|
name: "",
|
|
@@ -3264,6 +3333,7 @@ export const advancedFields = [
|
|
|
3264
3333
|
icon: "el-icon-upload",
|
|
3265
3334
|
formItemFlag: !1,
|
|
3266
3335
|
commonFlag: !0,
|
|
3336
|
+
layoutType: "PC",
|
|
3267
3337
|
columnFlag: true,
|
|
3268
3338
|
tableField: null,
|
|
3269
3339
|
options: {
|
|
@@ -3277,6 +3347,9 @@ export const advancedFields = [
|
|
|
3277
3347
|
tableRef: "",
|
|
3278
3348
|
tableExportParam: "",
|
|
3279
3349
|
showImageAtTable: false,
|
|
3350
|
+
exportPageSize: null,
|
|
3351
|
+
maxQueryTotal: null,
|
|
3352
|
+
limitFileSize: null,
|
|
3280
3353
|
tableExportFlag: 1,
|
|
3281
3354
|
|
|
3282
3355
|
onCreated: "",
|
|
@@ -3293,6 +3366,7 @@ export const advancedFields = [
|
|
|
3293
3366
|
icon: "el-icon-upload",
|
|
3294
3367
|
formItemFlag: !1,
|
|
3295
3368
|
commonFlag: !0,
|
|
3369
|
+
layoutType: "PC",
|
|
3296
3370
|
columnFlag: true,
|
|
3297
3371
|
options: {
|
|
3298
3372
|
name: "",
|
|
@@ -3324,6 +3398,7 @@ export const advancedFields = [
|
|
|
3324
3398
|
icon: "el-icon-upload",
|
|
3325
3399
|
formItemFlag: !1,
|
|
3326
3400
|
commonFlag: !0,
|
|
3401
|
+
layoutType: "PC",
|
|
3327
3402
|
columnFlag: true,
|
|
3328
3403
|
options: {
|
|
3329
3404
|
name: "",
|
|
@@ -3339,6 +3414,9 @@ export const advancedFields = [
|
|
|
3339
3414
|
tableRef: "",
|
|
3340
3415
|
tableExportParam: "",
|
|
3341
3416
|
showImageAtTable: false,
|
|
3417
|
+
exportPageSize: null,
|
|
3418
|
+
maxQueryTotal: null,
|
|
3419
|
+
limitFileSize: null,
|
|
3342
3420
|
selectExportItemFlag: 1,
|
|
3343
3421
|
exportItemConditionEnabled: !1,
|
|
3344
3422
|
// 按钮级明细导出配置:三项各自独立,留空的那项沿用数据表格属性上维护的
|
|
@@ -3396,6 +3474,7 @@ export const advancedFields = [
|
|
|
3396
3474
|
type: "import-button",
|
|
3397
3475
|
icon: "el-icon-download",
|
|
3398
3476
|
commonFlag: !0,
|
|
3477
|
+
layoutType: "PC",
|
|
3399
3478
|
columnFlag: true,
|
|
3400
3479
|
formItemFlag: !1,
|
|
3401
3480
|
options: {
|
|
@@ -3426,12 +3505,19 @@ export const advancedFields = [
|
|
|
3426
3505
|
...defaultWidgetShowRuleConfig,
|
|
3427
3506
|
importMultiple: false,
|
|
3428
3507
|
importMultiSize: 1,
|
|
3508
|
+
// 批量导入时给每行补一层实体信封以承载附件列;默认关=仍发裸行数组
|
|
3509
|
+
importMultiAttachEnvelope: false,
|
|
3429
3510
|
importFileLimitSize: 200,
|
|
3430
3511
|
importEntity: "",
|
|
3431
3512
|
importAttachCode: "",
|
|
3432
3513
|
importAttachName: "",
|
|
3433
3514
|
importScriptCode: "",
|
|
3434
3515
|
onBeforeImport: "",
|
|
3516
|
+
// 逐行补默认值脚本:返回对象,Object.assign 到该行后再发包
|
|
3517
|
+
importDefaultValue: "",
|
|
3518
|
+
onValidateRow: "",
|
|
3519
|
+
// 必填校验方式:"" 默认(逐行标记失败)/ "strict" 解析期整批硬拦 / "off" 不校验
|
|
3520
|
+
requiredCheckMode: "",
|
|
3435
3521
|
enabledImportPreHandle: false,
|
|
3436
3522
|
tableRef: "",
|
|
3437
3523
|
onSuccessImport: "",
|
|
@@ -3448,6 +3534,7 @@ export const advancedFields = [
|
|
|
3448
3534
|
type: "import2-button",
|
|
3449
3535
|
icon: "el-icon-download",
|
|
3450
3536
|
commonFlag: !0,
|
|
3537
|
+
layoutType: "PC",
|
|
3451
3538
|
columnFlag: true,
|
|
3452
3539
|
formItemFlag: !1,
|
|
3453
3540
|
options: {
|
|
@@ -3481,6 +3568,24 @@ export const advancedFields = [
|
|
|
3481
3568
|
importAttachCode: "",
|
|
3482
3569
|
importAttachName: "",
|
|
3483
3570
|
tableRef: "",
|
|
3571
|
+
// 进度框形态:逐行校验 + 成功/失败计数 + 结果表。
|
|
3572
|
+
// 默认关闭 —— 关闭时是"全屏 loading + 整批入表"的老链路,存量表单无感知。
|
|
3573
|
+
showProgressDialog: false,
|
|
3574
|
+
// 进度框形态下每行怎么处理:"table" 塞入关联表格;"script" 交给 onImportRow 逐行脚本
|
|
3575
|
+
importMode: "table",
|
|
3576
|
+
// 前台校验通过后,整批一次送给后台校验并补字段;默认关=不发请求
|
|
3577
|
+
backendValidateEnabled: false,
|
|
3578
|
+
importScriptCode: "",
|
|
3579
|
+
onImportParams: "",
|
|
3580
|
+
// 内嵌图片三段式:把 Excel 里贴的图取回来填进 attachments_ 列。
|
|
3581
|
+
// 依赖进度框,仅在 showProgressDialog 打开时生效
|
|
3582
|
+
enabledImportPreHandle: false,
|
|
3583
|
+
onImportRow: "",
|
|
3584
|
+
onValidateRow: "",
|
|
3585
|
+
// 入表前按该字段去重,空则不去重
|
|
3586
|
+
dedupField: "",
|
|
3587
|
+
// 必填校验方式:"" 默认(有逐行通道就逐行标记,否则整批拦)/ "strict" 整批硬拦 / "off" 不校验
|
|
3588
|
+
requiredCheckMode: "",
|
|
3484
3589
|
onConfirmImportEnabled: false,
|
|
3485
3590
|
onConfirmImport: "",
|
|
3486
3591
|
onSuccessImport: "",
|
|
@@ -3496,6 +3601,7 @@ export const advancedFields = [
|
|
|
3496
3601
|
type: "print-button",
|
|
3497
3602
|
icon: "el-icon-printer",
|
|
3498
3603
|
commonFlag: !0,
|
|
3604
|
+
layoutType: "PC",
|
|
3499
3605
|
columnFlag: true,
|
|
3500
3606
|
formItemFlag: !1,
|
|
3501
3607
|
options: {
|
|
@@ -3537,6 +3643,7 @@ export const advancedFields = [
|
|
|
3537
3643
|
type: "print-detail-button",
|
|
3538
3644
|
icon: "el-icon-printer",
|
|
3539
3645
|
commonFlag: !0,
|
|
3646
|
+
layoutType: "PC",
|
|
3540
3647
|
columnFlag: false,
|
|
3541
3648
|
formItemFlag: !1,
|
|
3542
3649
|
options: {
|
|
@@ -3654,6 +3761,7 @@ export const advancedFields = [
|
|
|
3654
3761
|
type: "census",
|
|
3655
3762
|
icon: "census",
|
|
3656
3763
|
commonFlag: !0,
|
|
3764
|
+
layoutType: "PC",
|
|
3657
3765
|
formItemFlag: false,
|
|
3658
3766
|
options: {
|
|
3659
3767
|
name: "",
|
|
@@ -3720,6 +3828,7 @@ export const advancedFields = [
|
|
|
3720
3828
|
category: "container",
|
|
3721
3829
|
icon: "tree-table",
|
|
3722
3830
|
commonFlag: !0,
|
|
3831
|
+
layoutType: "PC",
|
|
3723
3832
|
formItemFlag: !0,
|
|
3724
3833
|
rows: [],
|
|
3725
3834
|
options: {
|
|
@@ -3764,7 +3873,7 @@ export const advancedFields = [
|
|
|
3764
3873
|
},
|
|
3765
3874
|
{
|
|
3766
3875
|
type: "dropdown-item",
|
|
3767
|
-
icon: "tab
|
|
3876
|
+
icon: "tab",
|
|
3768
3877
|
internal: !0,
|
|
3769
3878
|
options: {
|
|
3770
3879
|
name: "",
|
|
@@ -3796,6 +3905,7 @@ export const advancedFields = [
|
|
|
3796
3905
|
type: "gantt",
|
|
3797
3906
|
icon: "chart",
|
|
3798
3907
|
commonFlag: !0,
|
|
3908
|
+
layoutType: "PC",
|
|
3799
3909
|
formItemFlag: !1,
|
|
3800
3910
|
options: {
|
|
3801
3911
|
name: "",
|
|
@@ -3818,6 +3928,7 @@ export const advancedFields = [
|
|
|
3818
3928
|
type: "download-button",
|
|
3819
3929
|
icon: "el-icon-download",
|
|
3820
3930
|
commonFlag: !0,
|
|
3931
|
+
layoutType: "PC",
|
|
3821
3932
|
columnFlag: true,
|
|
3822
3933
|
formItemFlag: !1,
|
|
3823
3934
|
options: {
|
|
@@ -3856,6 +3967,7 @@ export const advancedFields = [
|
|
|
3856
3967
|
type: "vue-page",
|
|
3857
3968
|
icon: "vue-sfc",
|
|
3858
3969
|
commonFlag: !0,
|
|
3970
|
+
layoutType: "PC",
|
|
3859
3971
|
formItemFlag: !1,
|
|
3860
3972
|
columnFlag: false,
|
|
3861
3973
|
options: {
|
|
@@ -4104,6 +4216,8 @@ export const businessFields = [
|
|
|
4104
4216
|
commonFlag: !0,
|
|
4105
4217
|
columnFlag: true,
|
|
4106
4218
|
formItemFlag: !0,
|
|
4219
|
+
/* H5 业务组件只保留创建人/更新人/创建时间/更新时间 */
|
|
4220
|
+
layoutType: "PC",
|
|
4107
4221
|
tableField: null,
|
|
4108
4222
|
options: {
|
|
4109
4223
|
...vabsearchConfig,
|
|
@@ -4127,6 +4241,7 @@ export const businessFields = [
|
|
|
4127
4241
|
commonFlag: !0,
|
|
4128
4242
|
columnFlag: true,
|
|
4129
4243
|
formItemFlag: !0,
|
|
4244
|
+
layoutType: "PC",
|
|
4130
4245
|
tableField: null,
|
|
4131
4246
|
options: {
|
|
4132
4247
|
...vabsearchConfig,
|
|
@@ -4151,6 +4266,7 @@ export const businessFields = [
|
|
|
4151
4266
|
commonFlag: !0,
|
|
4152
4267
|
columnFlag: true,
|
|
4153
4268
|
formItemFlag: !0,
|
|
4269
|
+
layoutType: "PC",
|
|
4154
4270
|
tableField: null,
|
|
4155
4271
|
options: {
|
|
4156
4272
|
...projectTagConfig,
|
|
@@ -4172,6 +4288,7 @@ export const businessFields = [
|
|
|
4172
4288
|
commonFlag: !0,
|
|
4173
4289
|
columnFlag: true,
|
|
4174
4290
|
formItemFlag: !0,
|
|
4291
|
+
layoutType: "PC",
|
|
4175
4292
|
tableField: null,
|
|
4176
4293
|
options: {
|
|
4177
4294
|
...projectTagConfig,
|
|
@@ -4234,6 +4351,7 @@ export const businessFields = [
|
|
|
4234
4351
|
commonFlag: !0,
|
|
4235
4352
|
columnFlag: true,
|
|
4236
4353
|
formItemFlag: !1,
|
|
4354
|
+
layoutType: "PC",
|
|
4237
4355
|
options: {
|
|
4238
4356
|
name: "",
|
|
4239
4357
|
label: "复制",
|
|
@@ -4264,6 +4382,7 @@ export const businessFields = [
|
|
|
4264
4382
|
commonFlag: !0,
|
|
4265
4383
|
columnFlag: true,
|
|
4266
4384
|
formItemFlag: !1,
|
|
4385
|
+
layoutType: "PC",
|
|
4267
4386
|
options: {
|
|
4268
4387
|
name: "",
|
|
4269
4388
|
// label: "暂存",
|
|
@@ -4286,6 +4405,7 @@ export const businessFields = [
|
|
|
4286
4405
|
type: "oplog",
|
|
4287
4406
|
icon: "list",
|
|
4288
4407
|
commonFlag: !0,
|
|
4408
|
+
layoutType: "PC",
|
|
4289
4409
|
formItemFlag: !1,
|
|
4290
4410
|
options: {
|
|
4291
4411
|
name: "",
|
|
@@ -4308,6 +4428,7 @@ export const businessFields = [
|
|
|
4308
4428
|
icon: "file-upload-field",
|
|
4309
4429
|
commonFlag: !0,
|
|
4310
4430
|
formItemFlag: !0,
|
|
4431
|
+
layoutType: "PC",
|
|
4311
4432
|
tableField: null,
|
|
4312
4433
|
options: {
|
|
4313
4434
|
name: "",
|
|
@@ -4653,6 +4774,28 @@ export const widgetPanelOrder = {
|
|
|
4653
4774
|
],
|
|
4654
4775
|
};
|
|
4655
4776
|
|
|
4777
|
+
/**
|
|
4778
|
+
* H5 版式左侧组件面板白名单(仅影响面板展示,不影响已有模板渲染与按 type 查找)。
|
|
4779
|
+
* 容器:H5详情 / H5列表 / H5卡片 / h5表格
|
|
4780
|
+
* 基础字段:文本、状态、凭证、下拉选项
|
|
4781
|
+
* (status / vabUpload 定义在 advancedFields,面板会归入基础字段)
|
|
4782
|
+
* 业务组件:创建人、更新人、创建时间、更新时间
|
|
4783
|
+
*/
|
|
4784
|
+
export const h5PanelAllowTypes = [
|
|
4785
|
+
"detail-h5",
|
|
4786
|
+
"list-h5",
|
|
4787
|
+
"h5-card",
|
|
4788
|
+
"h5-table",
|
|
4789
|
+
"text",
|
|
4790
|
+
"status",
|
|
4791
|
+
"vabUpload",
|
|
4792
|
+
"select",
|
|
4793
|
+
"create_by-text",
|
|
4794
|
+
"modify_by-text",
|
|
4795
|
+
"create_date-text",
|
|
4796
|
+
"modify_date-text",
|
|
4797
|
+
];
|
|
4798
|
+
|
|
4656
4799
|
/**
|
|
4657
4800
|
* H5 版式:所有表单字段统一具备 h5Span(整宽/半宽)。
|
|
4658
4801
|
*
|