cloud-web-corejs 1.0.276 → 1.0.277
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 +28 -24
- package/src/App.vue +73 -71
- package/src/api/user.js +21 -0
- package/src/components/baseArea/index.vue +82 -27
- package/src/components/baseTabs/mixins.js +5 -1
- package/src/components/luckysheet/dialog.vue +1 -1
- package/src/components/micro-view-host/contract.js +66 -0
- package/src/components/micro-view-host/index.vue +148 -0
- package/src/components/table/tableForm.vue +16 -5
- package/src/components/table/tableFormMixin.js +35 -7
- package/src/components/vb-tabs/x-tabs.vue +167 -143
- package/src/components/wf/content.vue +14 -0
- package/src/components/wf/content2.vue +4 -2
- package/src/components/wf/wf.js +74 -23
- package/src/components/wf/wfActionDropdown.vue +85 -0
- package/src/components/wf/wfActionItems.js +136 -0
- package/src/components/wf/wfAutoConfirm.js +55 -0
- package/src/components/wf/wfButtonName.js +60 -0
- package/src/components/wf/wfUserRange.js +53 -0
- package/src/components/wf/wfUtil.js +373 -295
- package/src/components/xform/XFormTabContainer//346/226/260/345/242/236/351/241/265/347/255/276/346/250/241/345/274/217-/346/234/200/347/273/210/345/256/236/347/216/260.md +195 -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" +57 -0
- package/src/components/xform/docs/2026-07 /346/216/222/346/237/245/344/277/256/345/244/215/350/256/260/345/275/225.md" +73 -0
- package/src/components/xform/docs/autocomplete /350/207/252/345/212/250/345/256/214/346/210/220/347/273/204/344/273/266/350/257/264/346/230/216.md" +126 -0
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +986 -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/docs//346/240/221/350/241/250rowField/346/224/266/346/225/233-/350/220/275/345/234/260/346/226/207/346/241/243.md +1427 -0
- package/src/components/xform/form-designer/designer.js +2085 -2025
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +9 -11
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +76 -75
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +10 -4
- package/src/components/xform/form-designer/form-widget/container-widget/detail-plain-widget.vue +76 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +59 -5
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +38 -17
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +138 -13
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1774 -1772
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +2 -3
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +66 -53
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +287 -214
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +76 -66
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +208 -124
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +11 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +7 -6
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +43 -19
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +680 -372
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +879 -763
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +17 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +3 -9
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/relative-default-mixin.js +107 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/relativeDateUtil.js +321 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +13 -8
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +4 -9
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +3 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +120 -120
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +4 -0
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +11 -0
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +9 -1
- 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 +7 -3
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +4 -2
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +36 -5
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +338 -374
- package/src/components/xform/form-designer/form-widget/index.vue +6 -1
- package/src/components/xform/form-designer/form-widget/indexMixin.js +29 -25
- package/src/components/xform/form-designer/index.vue +194 -191
- package/src/components/xform/form-designer/indexMixin.js +860 -847
- package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +397 -397
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +602 -601
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +1790 -1483
- package/src/components/xform/form-designer/setting-panel/index.vue +2 -7
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +370 -335
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +585 -544
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/alignType-editor.vue +1 -1
- 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 +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -125
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1151 -957
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +96 -74
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +75 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/colHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +14 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-height-editor.vue +1 -1
- 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-grid-col/grid-col-span-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-h5-card/h5-card-editor.vue +124 -124
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +26 -31
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/height-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/width-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue +119 -119
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tabClass-editor.vue +45 -45
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +340 -342
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree-pane/tree-pane-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/cancelButtonLabel-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/okButtonLabel-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/title-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/width-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/containerClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/customClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +6 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/dsName-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/echartHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/endPlaceholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaMinLevel-editor.vue +50 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +7 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +84 -85
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/button-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindActions.js +262 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +97 -88
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/form-host-event-editor.vue +188 -0
- 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 +27 -10
- 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-common/keyName-editor.vue +74 -67
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +27 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +35 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-valueFormat-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +35 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-valueFormat-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-divider/contentPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -59
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +11 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +10 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +12 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/field-file-upload/file-upload-fileTypes-editor.vue +44 -44
- package/src/components/xform/form-designer/setting-panel/property-editor/field-html-text/htmlContent-editor.vue +29 -29
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-number/controlsPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-picture-upload/picture-upload-fileTypes-editor.vue +44 -44
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +115 -115
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -115
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/highThreshold-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/lowThreshold-editor.vue +1 -1
- 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-rate/rate-max-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/fontSize-editor.vue +1 -1
- 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 +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/activeText-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/inactiveText-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/switchWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +74 -74
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +34 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-timeLimit-editor.vue +53 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +35 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/fileMaxSize-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesSelect.vue +176 -176
- package/src/components/xform/form-designer/setting-panel/property-editor/fixedQuery-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +41 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +972 -972
- package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/label-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelAlign-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/max-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/maxLength-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/min-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/minLength-editor.vue +1 -1
- 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 +15 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +3 -3
- 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 +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/relative-default-block.vue +369 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/rows-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/space-editor-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/startPlaceholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/step-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTableClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTitClass-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 +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +2 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadTip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadURL-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/urlValueEnabled-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +374 -351
- package/src/components/xform/form-designer/toolbar-panel/index.vue +266 -103
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +655 -589
- package/src/components/xform/form-designer/widget-panel/index.vue +391 -341
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +351 -308
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4642 -4028
- package/src/components/xform/form-render/container-item/containerItemMixin.js +76 -61
- package/src/components/xform/form-render/container-item/data-table-item.vue +24 -13
- package/src/components/xform/form-render/container-item/data-table-mixin.js +5927 -3400
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +173 -173
- package/src/components/xform/form-render/container-item/detail-item.vue +446 -224
- package/src/components/xform/form-render/container-item/detail-plain-item.vue +92 -0
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1186 -411
- package/src/components/xform/form-render/container-item/tab-item.vue +129 -125
- package/src/components/xform/form-render/container-item/table-item.vue +0 -3
- package/src/components/xform/form-render/container-item/table2-item.vue +18 -10
- package/src/components/xform/form-render/dynamicDialogRender.js +140 -99
- package/src/components/xform/form-render/index.vue +8 -8
- package/src/components/xform/form-render/indexMixin.js +5299 -3766
- package/src/components/xform/form-render/refMixin.js +14 -11
- package/src/components/xform/lang/en-US.js +473 -438
- package/src/components/xform/lang/en-US_extension.js +4 -0
- package/src/components/xform/lang/zh-CN.js +646 -620
- package/src/components/xform/mixins/defaultHandle.js +363 -26
- package/src/components/xform/mixins/scriptHttp.js +54 -51
- package/src/components/xform/utils/attachmentValueUtil.js +239 -0
- package/src/components/xform/utils/fixedQueryUtil.js +93 -0
- package/src/components/xform/utils/format.js +195 -169
- package/src/components/xform/utils/queryParamUtil.js +84 -0
- package/src/components/xform/utils/tableColumnHelper.js +7 -8
- package/src/components/xform/utils/util.js +1663 -1551
- package/src/components/xform/utils/validators.js +100 -48
- package/src/index.js +403 -89
- package/src/layout/components/AppMain.vue +147 -119
- package/src/layout/components/Sidebar/default.vue +109 -59
- package/src/layout/components/TagsView/index.vue +1 -1
- package/src/layout/components/extractedCode/queryDialog.vue +33 -26
- package/src/layout/components/extractedCode/viewDialog.vue +207 -193
- package/src/layout/components/langTool.vue +128 -123
- package/src/layout/defaultLayout.vue +170 -158
- package/src/mixins/wf/index.js +40 -38
- package/src/public-path.js +38 -0
- package/src/router/modules/system.js +4 -0
- package/src/store/config/index.js +945 -669
- package/src/utils/pdfUtil.js +428 -70
- package/src/views/bd/setting/bd_company_env/dialog.vue +1 -1
- package/src/views/bd/setting/formVersion/button.vue +5 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +21 -10
- package/src/views/bd/setting/formVersion/link.vue +5 -0
- package/src/views/bd/setting/form_script/edit.vue +1 -0
- package/src/views/bd/setting/form_script/edit1.vue +1 -0
- package/src/views/bd/setting/form_script/form_list.vue +1 -0
- package/src/views/bd/setting/form_script/list.vue +1 -0
- package/src/views/bd/setting/form_script/list1.vue +2 -0
- package/src/views/bd/setting/form_template/edit.vue +1 -0
- package/src/views/bd/setting/form_template/list.vue +2 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +77 -74
- package/src/views/bd/setting/table_model/edit.vue +16 -29
- package/src/views/bd/setting/table_model/list.vue +1 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +295 -149
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +32 -0
- package/src/views/support/export_template/list.vue +1 -1
- package/src/views/user/company_info/edit.vue +149 -88
- package/src/views/user/form/form_template/dialog.vue +1 -1
- package/src/views/user/form/form_template/itemList.vue +1 -1
- package/src/views/user/form/form_template/list.vue +1 -1
- package/src/views/user/form/form_template_field/dialog.vue +1 -1
- package/src/views/user/form/form_type/dialog.vue +1 -1
- package/src/views/user/form/form_type/list.vue +1 -1
- package/src/views/user/form/report_requestaccess/dialog.vue +1 -1
- package/src/views/user/form/report_requestaccess/list.vue +1 -1
- package/src/views/user/form/vform/designer.vue +51 -22
- package/src/views/user/form/vform/render.vue +21 -23
- package/src/views/user/form/view/list.vue +134 -37
- package/src/views/user/wf/wfReport/index.vue +24 -1
- package/src/views/user/wf/wf_manage/list.vue +8 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +0 -209
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +0 -1639
- package/src/views/bd/setting/table_model/mixins/edit copy.js +0 -903
- package/src/views/user/menu/voc_list.vue +0 -686
|
@@ -1,125 +1,129 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<container-item-wrapper
|
|
3
|
-
:widget="widget"
|
|
4
|
-
:class="widget.options.isFullscreen ? 'full-height' : ''"
|
|
5
|
-
>
|
|
6
|
-
<div :key="widget.id" class="tab-container mHeight" v-show="!widget.options.hidden">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
:
|
|
12
|
-
:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
:
|
|
21
|
-
:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
:
|
|
29
|
-
:
|
|
30
|
-
:
|
|
31
|
-
:parent-
|
|
32
|
-
:
|
|
33
|
-
:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
:
|
|
46
|
-
:
|
|
47
|
-
:
|
|
48
|
-
:parent-
|
|
49
|
-
:
|
|
50
|
-
:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
this.activeTabName =
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<container-item-wrapper
|
|
3
|
+
:widget="widget"
|
|
4
|
+
:class="widget.options.isFullscreen ? 'full-height' : ''"
|
|
5
|
+
>
|
|
6
|
+
<div :key="widget.id" class="tab-container mHeight" v-show="!widget.options.hidden">
|
|
7
|
+
<!-- 高度默认 auto(跟随内容):没在属性面板配 height 就不设。
|
|
8
|
+
原来兜底成固定 300px,内容多了内部滚动、少了留白,装详情内容模块时尤其别扭 -->
|
|
9
|
+
<el-tabs
|
|
10
|
+
v-model="activeTabName"
|
|
11
|
+
:type="widget.displayType"
|
|
12
|
+
:ref="widget.id"
|
|
13
|
+
:class="[customClass, widget.options.tabClass]"
|
|
14
|
+
:style="{
|
|
15
|
+
height: widget.options.isFullscreen ? '' : widget.options.height,
|
|
16
|
+
}"
|
|
17
|
+
>
|
|
18
|
+
<el-tab-pane
|
|
19
|
+
v-for="tab in visibleTabs"
|
|
20
|
+
:key="tab.options.name"
|
|
21
|
+
:label="getI18nLabel(tab.options.label)"
|
|
22
|
+
:disabled="tab.options.disabled"
|
|
23
|
+
:name="tab.options.name"
|
|
24
|
+
>
|
|
25
|
+
<template v-for="(subWidget, swIdx) in tab.widgetList">
|
|
26
|
+
<template v-if="'container' === subWidget.category">
|
|
27
|
+
<component
|
|
28
|
+
:is="subWidget.type + '-item'"
|
|
29
|
+
:widget="subWidget"
|
|
30
|
+
:key="subWidget.id || swIdx"
|
|
31
|
+
:parent-list="tab.widgetList"
|
|
32
|
+
:index-of-parent-list="swIdx"
|
|
33
|
+
:parent-widget="widget"
|
|
34
|
+
:tableParam="tableParam"
|
|
35
|
+
:formItemProp="formItemProp"
|
|
36
|
+
>
|
|
37
|
+
<!-- 递归传递插槽!!! -->
|
|
38
|
+
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
39
|
+
<slot :name="slot" v-bind="scope" />
|
|
40
|
+
</template>
|
|
41
|
+
</component>
|
|
42
|
+
</template>
|
|
43
|
+
<template v-else>
|
|
44
|
+
<component
|
|
45
|
+
:is="subWidget.type + '-widget'"
|
|
46
|
+
:field="subWidget"
|
|
47
|
+
:key="subWidget.id || swIdx"
|
|
48
|
+
:parent-list="tab.widgetList"
|
|
49
|
+
:index-of-parent-list="swIdx"
|
|
50
|
+
:parent-widget="widget"
|
|
51
|
+
:tableParam="tableParam"
|
|
52
|
+
:formItemProp="formItemProp"
|
|
53
|
+
>
|
|
54
|
+
<!-- 递归传递插槽!!! -->
|
|
55
|
+
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
56
|
+
<slot :name="slot" v-bind="scope" />
|
|
57
|
+
</template>
|
|
58
|
+
</component>
|
|
59
|
+
</template>
|
|
60
|
+
</template>
|
|
61
|
+
</el-tab-pane>
|
|
62
|
+
</el-tabs>
|
|
63
|
+
</div>
|
|
64
|
+
</container-item-wrapper>
|
|
65
|
+
</template>
|
|
66
|
+
|
|
67
|
+
<script>
|
|
68
|
+
import emitter from "../../../../components/xform/utils/emitter";
|
|
69
|
+
import i18n from "../../../../components/xform/utils/i18n";
|
|
70
|
+
import refMixin from "../../../../components/xform/form-render/refMixin";
|
|
71
|
+
import ContainerItemWrapper from "./container-item-wrapper";
|
|
72
|
+
import containerItemMixin from "./containerItemMixin";
|
|
73
|
+
import FieldComponents from "../../../../components/xform/form-designer/form-widget/field-widget/index";
|
|
74
|
+
|
|
75
|
+
export default {
|
|
76
|
+
name: "tab-item",
|
|
77
|
+
componentName: "ContainerItem",
|
|
78
|
+
mixins: [emitter, i18n, refMixin, containerItemMixin],
|
|
79
|
+
components: {
|
|
80
|
+
ContainerItemWrapper,
|
|
81
|
+
...FieldComponents,
|
|
82
|
+
},
|
|
83
|
+
props: {
|
|
84
|
+
widget: Object,
|
|
85
|
+
},
|
|
86
|
+
inject: ["refList", "sfRefList", "globalModel"],
|
|
87
|
+
data() {
|
|
88
|
+
return {
|
|
89
|
+
activeTabName: "",
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
computed: {
|
|
93
|
+
visibleTabs() {
|
|
94
|
+
return this.widget.tabs.filter((tp) => {
|
|
95
|
+
return !tp.options.hidden;
|
|
96
|
+
});
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
created() {
|
|
100
|
+
this.initRefList();
|
|
101
|
+
},
|
|
102
|
+
mounted() {
|
|
103
|
+
this.initActiveTab();
|
|
104
|
+
},
|
|
105
|
+
beforeDestroy() {
|
|
106
|
+
this.unregisterFromRefList();
|
|
107
|
+
},
|
|
108
|
+
methods: {
|
|
109
|
+
initActiveTab() {
|
|
110
|
+
if (this.widget.type === "tab" && this.widget.tabs.length > 0) {
|
|
111
|
+
let activePanes = this.widget.tabs.filter((tp) => {
|
|
112
|
+
return tp.options.active === true;
|
|
113
|
+
});
|
|
114
|
+
if (activePanes.length > 0) {
|
|
115
|
+
this.activeTabName = activePanes[0].options.name;
|
|
116
|
+
} else {
|
|
117
|
+
this.activeTabName = this.widget.tabs[0].options.name;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
</script>
|
|
124
|
+
|
|
125
|
+
<style lang="scss" scoped>
|
|
126
|
+
/* 内容区高度跟随内容。原来写死 min-height:312px,会把上面 height:auto 的效果整个抵消掉
|
|
127
|
+
(无论内容多少都至少 312px)。这里只留一个小兜底,保证空标签页不塌成一条线。 */
|
|
128
|
+
::v-deep .mHeight .el-tabs .el-tabs__content{min-height:60px}
|
|
129
|
+
</style>
|
|
@@ -207,13 +207,26 @@ export default {
|
|
|
207
207
|
this.widget.rows.length = 0;
|
|
208
208
|
this.widget.rows.push(...widgetRows);
|
|
209
209
|
},
|
|
210
|
+
/**
|
|
211
|
+
* 构造表单脚本请求的 data 参数(通用)。
|
|
212
|
+
* 勾选"请求去掉data层"(removeDataLevel)时,内层参数平铺到外层,不再包一层 data。
|
|
213
|
+
*/
|
|
214
|
+
buildFormScriptData(reportTemplate, innerData, taBm) {
|
|
215
|
+
let base = {
|
|
216
|
+
formCode: reportTemplate.formCode,
|
|
217
|
+
formVersion: reportTemplate.formVersion,
|
|
218
|
+
taBm: taBm || this.fieldKeyName,
|
|
219
|
+
};
|
|
220
|
+
return this.widget.options.removeDataLevel
|
|
221
|
+
? { ...base, ...(innerData || {}) }
|
|
222
|
+
: { ...base, data: innerData || {} };
|
|
223
|
+
},
|
|
210
224
|
loadDataDefaultHandle(flag) {
|
|
211
225
|
// this.init();
|
|
212
226
|
// return
|
|
213
227
|
let dataId = this.formDataId;
|
|
214
228
|
if (flag !== true && !dataId) return;
|
|
215
229
|
let reportTemplate = this.getFormRef().reportTemplate;
|
|
216
|
-
let formCode = reportTemplate.formCode;
|
|
217
230
|
let formScriptEnabled = this.widget.options.formScriptEnabled || false;
|
|
218
231
|
let scriptCode = this.widget.options.formScriptCode;
|
|
219
232
|
if (!scriptCode) return;
|
|
@@ -222,15 +235,10 @@ export default {
|
|
|
222
235
|
);
|
|
223
236
|
return this.formHttp({
|
|
224
237
|
scriptCode: scriptCode,
|
|
225
|
-
data: {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
data: {
|
|
230
|
-
id: dataId,
|
|
231
|
-
...accessParam,
|
|
232
|
-
},
|
|
233
|
-
},
|
|
238
|
+
data: this.buildFormScriptData(reportTemplate, {
|
|
239
|
+
id: dataId,
|
|
240
|
+
...accessParam,
|
|
241
|
+
}),
|
|
234
242
|
success: (res) => {
|
|
235
243
|
let rows = res.objx || [];
|
|
236
244
|
this.handleCustomEvent(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import i18n from
|
|
1
|
+
import i18n from "../../../components/xform/utils/i18n";
|
|
2
2
|
|
|
3
|
-
let modules = {}
|
|
3
|
+
let modules = {};
|
|
4
4
|
const baseRefUtil = {
|
|
5
|
-
i18n
|
|
6
|
-
}
|
|
5
|
+
i18n,
|
|
6
|
+
};
|
|
7
7
|
modules = {
|
|
8
8
|
name: "dynamic-dialog",
|
|
9
9
|
mixins: [baseRefUtil.i18n],
|
|
@@ -12,64 +12,64 @@ modules = {
|
|
|
12
12
|
type: Object,
|
|
13
13
|
default: function () {
|
|
14
14
|
return {};
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
16
|
},
|
|
17
17
|
formJson: {
|
|
18
|
-
type: Object
|
|
18
|
+
type: Object,
|
|
19
19
|
},
|
|
20
20
|
formData: {
|
|
21
21
|
type: Object,
|
|
22
22
|
default: function () {
|
|
23
23
|
return {};
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
25
|
},
|
|
26
26
|
optionData: {
|
|
27
27
|
type: Object,
|
|
28
28
|
default: function () {
|
|
29
29
|
return {};
|
|
30
|
-
}
|
|
30
|
+
},
|
|
31
31
|
},
|
|
32
32
|
globalDsv: {
|
|
33
33
|
type: Object,
|
|
34
34
|
default: function () {
|
|
35
35
|
return {};
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
37
|
},
|
|
38
38
|
parentFormRef: {
|
|
39
39
|
type: Object,
|
|
40
|
-
default: null
|
|
41
|
-
}
|
|
40
|
+
default: null,
|
|
41
|
+
},
|
|
42
42
|
},
|
|
43
43
|
data: function () {
|
|
44
44
|
return {
|
|
45
|
-
dialogVisible: !1
|
|
46
|
-
}
|
|
45
|
+
dialogVisible: !1,
|
|
46
|
+
};
|
|
47
47
|
},
|
|
48
48
|
computed: {
|
|
49
49
|
cancelBtnLabel: function () {
|
|
50
|
-
return
|
|
50
|
+
return (
|
|
51
|
+
this.options.cancelButtonLabel || this.i18nt("designer.hint.cancel")
|
|
52
|
+
);
|
|
51
53
|
},
|
|
52
54
|
okBtnLabel: function () {
|
|
53
55
|
return this.options.okButtonLabel || this.i18nt("designer.hint.confirm");
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
mounted: function () {
|
|
56
|
+
},
|
|
57
57
|
},
|
|
58
|
+
mounted: function () {},
|
|
58
59
|
methods: {
|
|
59
60
|
show: function () {
|
|
60
61
|
var e = this;
|
|
61
|
-
this.dialogVisible = !0,
|
|
62
|
-
this.$nextTick(
|
|
62
|
+
(this.dialogVisible = !0),
|
|
63
|
+
this.$nextTick(function () {
|
|
63
64
|
e.options.readMode && e.$refs["dFormRef"].setReadMode(!0),
|
|
64
65
|
e.$refs["dFormRef"].setDialogOrDrawerRef(e);
|
|
65
|
-
})
|
|
66
|
+
});
|
|
66
67
|
},
|
|
67
68
|
close: function () {
|
|
68
69
|
if (this.options.onDialogBeforeClose) {
|
|
69
70
|
var e = new Function("done", this.options.onDialogBeforeClose),
|
|
70
71
|
t = e.call(this);
|
|
71
|
-
if (!1 === t)
|
|
72
|
-
return;
|
|
72
|
+
if (!1 === t) return;
|
|
73
73
|
}
|
|
74
74
|
this.$destroy();
|
|
75
75
|
},
|
|
@@ -94,8 +94,7 @@ modules = {
|
|
|
94
94
|
if (this.options.onCancelButtonClick) {
|
|
95
95
|
var e = new Function(this.options.onCancelButtonClick),
|
|
96
96
|
t = e.call(this);
|
|
97
|
-
if (!1 === t)
|
|
98
|
-
return;
|
|
97
|
+
if (!1 === t) return;
|
|
99
98
|
}
|
|
100
99
|
this.$destroy();
|
|
101
100
|
},
|
|
@@ -103,8 +102,7 @@ modules = {
|
|
|
103
102
|
if (this.options.onOkButtonClick) {
|
|
104
103
|
var e = new Function(this.options.onOkButtonClick),
|
|
105
104
|
t = e.call(this);
|
|
106
|
-
if (!1 === t)
|
|
107
|
-
return;
|
|
105
|
+
if (!1 === t) return;
|
|
108
106
|
}
|
|
109
107
|
this.$destroy();
|
|
110
108
|
},
|
|
@@ -117,83 +115,126 @@ modules = {
|
|
|
117
115
|
getWidgetRef: function (e) {
|
|
118
116
|
var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
|
|
119
117
|
return this.$refs["dFormRef"].getWidgetRef(e, t);
|
|
120
|
-
}
|
|
118
|
+
},
|
|
121
119
|
},
|
|
122
120
|
render: function (i) {
|
|
123
121
|
let e = this;
|
|
124
|
-
return i(
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"destroy-on-close": "",
|
|
134
|
-
width: e.options.width,
|
|
135
|
-
fullscreen: e.options.fullscreen,
|
|
136
|
-
modal: e.options.showModal,
|
|
137
|
-
"show-close": e.options.showClose,
|
|
138
|
-
"close-on-click-modal": e.options.closeOnClickModal,
|
|
139
|
-
"close-on-press-escape": e.options.closeOnPressEscape,
|
|
140
|
-
center: e.options.center,
|
|
141
|
-
"before-close": e.handleBeforeClose,
|
|
142
|
-
"custom-class": "dialog-style list-dialog"
|
|
143
|
-
},
|
|
144
|
-
on: {
|
|
145
|
-
"update:visible": function (t) {
|
|
146
|
-
e.dialogVisible = t
|
|
147
|
-
},
|
|
148
|
-
close: e.handleCloseEvent,
|
|
149
|
-
opened: e.handleOpenedEvent
|
|
150
|
-
}
|
|
151
|
-
}, [i("div", {
|
|
152
|
-
staticClass: 'cont',
|
|
153
|
-
}, [i("VFormRender", {
|
|
154
|
-
ref: "dFormRef",
|
|
122
|
+
return i(
|
|
123
|
+
"el-dialog",
|
|
124
|
+
{
|
|
125
|
+
directives: [
|
|
126
|
+
{
|
|
127
|
+
name: "dialog-drag",
|
|
128
|
+
rawName: "v-dialog-drag",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
155
131
|
attrs: {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
click: e.handleCancelClick
|
|
178
|
-
}
|
|
179
|
-
}, [i("i", {
|
|
180
|
-
attrs: {
|
|
181
|
-
class: "el-icon-close el-icon"
|
|
182
|
-
}
|
|
183
|
-
}), e.options.cancelButtonLabel]), e.options.okButtonHidden ? "" : i("el-button", {
|
|
184
|
-
attrs: {
|
|
185
|
-
type: "primary",
|
|
186
|
-
class: "button-sty el-button el-button--primary el-button--medium"
|
|
132
|
+
title: e.options.title,
|
|
133
|
+
visible: e.dialogVisible,
|
|
134
|
+
"append-to-body": "",
|
|
135
|
+
"destroy-on-close": "",
|
|
136
|
+
width: e.options.width,
|
|
137
|
+
fullscreen: e.options.fullscreen,
|
|
138
|
+
modal: e.options.showModal,
|
|
139
|
+
"show-close": e.options.showClose,
|
|
140
|
+
"close-on-click-modal": e.options.closeOnClickModal,
|
|
141
|
+
"close-on-press-escape": e.options.closeOnPressEscape,
|
|
142
|
+
center: e.options.center,
|
|
143
|
+
"before-close": e.handleBeforeClose,
|
|
144
|
+
"custom-class": "dialog-style list-dialog",
|
|
145
|
+
},
|
|
146
|
+
on: {
|
|
147
|
+
"update:visible": function (t) {
|
|
148
|
+
e.dialogVisible = t;
|
|
149
|
+
},
|
|
150
|
+
close: e.handleCloseEvent,
|
|
151
|
+
opened: e.handleOpenedEvent,
|
|
152
|
+
},
|
|
187
153
|
},
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
154
|
+
[
|
|
155
|
+
i(
|
|
156
|
+
"div",
|
|
157
|
+
{
|
|
158
|
+
staticClass: "cont",
|
|
159
|
+
},
|
|
160
|
+
[
|
|
161
|
+
i("VFormRender", {
|
|
162
|
+
ref: "dFormRef",
|
|
163
|
+
attrs: {
|
|
164
|
+
"form-json": e.formJson,
|
|
165
|
+
"form-data": e.formData,
|
|
166
|
+
"option-data": e.optionData,
|
|
167
|
+
"global-dsv": e.globalDsv,
|
|
168
|
+
"parent-form": e.parentFormRef,
|
|
169
|
+
"disabled-mode": e.options.disabledMode,
|
|
170
|
+
"dynamic-creation": !0,
|
|
171
|
+
},
|
|
172
|
+
}),
|
|
173
|
+
]
|
|
174
|
+
),
|
|
175
|
+
i(
|
|
176
|
+
"span",
|
|
177
|
+
{
|
|
178
|
+
staticClass: "dialog-footer",
|
|
179
|
+
attrs: {
|
|
180
|
+
slot: "footer",
|
|
181
|
+
},
|
|
182
|
+
slot: "footer",
|
|
183
|
+
},
|
|
184
|
+
[
|
|
185
|
+
e.options.cancelButtonHidden
|
|
186
|
+
? ""
|
|
187
|
+
: i(
|
|
188
|
+
"el-button",
|
|
189
|
+
{
|
|
190
|
+
attrs: {
|
|
191
|
+
class:
|
|
192
|
+
"button-sty el-button el-button--default el-button--medium is-plain",
|
|
193
|
+
plain: "",
|
|
194
|
+
},
|
|
195
|
+
on: {
|
|
196
|
+
click: e.handleCancelClick,
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
[
|
|
200
|
+
i("i", {
|
|
201
|
+
attrs: {
|
|
202
|
+
class: "el-icon-close el-icon",
|
|
203
|
+
},
|
|
204
|
+
}),
|
|
205
|
+
e.options.cancelButtonLabel,
|
|
206
|
+
]
|
|
207
|
+
),
|
|
208
|
+
e.options.okButtonHidden
|
|
209
|
+
? ""
|
|
210
|
+
: i(
|
|
211
|
+
"el-button",
|
|
212
|
+
{
|
|
213
|
+
attrs: {
|
|
214
|
+
type: "primary",
|
|
215
|
+
class:
|
|
216
|
+
"button-sty el-button el-button--primary el-button--medium",
|
|
217
|
+
},
|
|
218
|
+
on: {
|
|
219
|
+
click: e.handleOkClick,
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
[
|
|
223
|
+
i("i", {
|
|
224
|
+
attrs: {
|
|
225
|
+
class: "el-icon-check el-icon",
|
|
226
|
+
},
|
|
227
|
+
}),
|
|
228
|
+
e.options.okButtonLabel,
|
|
229
|
+
]
|
|
230
|
+
),
|
|
231
|
+
],
|
|
232
|
+
1
|
|
233
|
+
),
|
|
234
|
+
],
|
|
235
|
+
1
|
|
236
|
+
);
|
|
237
|
+
},
|
|
238
|
+
};
|
|
198
239
|
|
|
199
240
|
export default modules;
|
|
@@ -77,11 +77,6 @@
|
|
|
77
77
|
:param="importDialogOption"
|
|
78
78
|
:parentTarget="_self"
|
|
79
79
|
></importDialog>
|
|
80
|
-
<formDrawer
|
|
81
|
-
v-if="showFormDrawer"
|
|
82
|
-
:visiable.sync="showFormDrawer"
|
|
83
|
-
:option="formDrawerOption"
|
|
84
|
-
></formDrawer>
|
|
85
80
|
<fileReferenceDialog
|
|
86
81
|
v-if="showFileReferenceDialog"
|
|
87
82
|
:visiable.sync="showFileReferenceDialog"
|
|
@@ -105,6 +100,11 @@
|
|
|
105
100
|
:visiable.sync="showUniverDialog"
|
|
106
101
|
:option="univerDialogOption"
|
|
107
102
|
></univerDialog>
|
|
103
|
+
<compareDelList
|
|
104
|
+
v-if="showCompareDelList"
|
|
105
|
+
:visiable.sync="showCompareDelList"
|
|
106
|
+
:option="compareDelListOption"
|
|
107
|
+
></compareDelList>
|
|
108
108
|
</div>
|
|
109
109
|
</template>
|
|
110
110
|
|
|
@@ -129,12 +129,12 @@ export default {
|
|
|
129
129
|
import(
|
|
130
130
|
"../../../components/xform/form-designer/form-widget/dialog/importDialog.vue"
|
|
131
131
|
),
|
|
132
|
-
formDrawer: () =>
|
|
133
|
-
import("../../../components/xform/form-designer/form-widget/dialog/formDrawer.vue"),
|
|
134
132
|
fileReferenceDialog: () =>
|
|
135
133
|
import(
|
|
136
134
|
"../../../components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue"
|
|
137
|
-
)
|
|
135
|
+
),
|
|
136
|
+
compareDelList: () =>
|
|
137
|
+
import("../../../components/xform/form-render/compareDelList.vue"),
|
|
138
138
|
},
|
|
139
139
|
mixins: [indexMixin, formDynamicFieldMixin],
|
|
140
140
|
};
|