cloud-web-corejs 1.0.54-dev.51 → 1.0.54-dev.510
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 +13 -3
- package/src/App.vue +29 -33
- package/src/api/user.js +16 -0
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/index.js +2 -1
- package/src/components/VabUpload/mixins.js +2 -2
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +204 -120
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +6 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/index.js +6 -6
- package/src/components/excelExport/index.vue +56 -2
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +454 -0
- package/src/components/fileLibrary/index.vue +594 -254
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +339 -211
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +220 -101
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
- package/src/components/fileLibrary/propertiesDialog.vue +113 -74
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +2 -1
- package/src/components/langImport/mixins.js +17 -16
- package/src/components/obsUpload/index.js +1 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +8 -0
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -11
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +76 -55
- package/src/components/tempStorage/tempStorageDialog.vue +179 -54
- package/src/components/vb-tabs/x-tabs.vue +56 -30
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +2156 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +66 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +1659 -3
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +419 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +82 -49
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1759 -8
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +133 -72
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1650 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +705 -379
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +962 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/indexMixin.js +3 -772
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +977 -169
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +32 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1653 -869
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/index.vue +69 -20
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +3465 -12
- package/src/components/xform/lang/zh-CN.js +27 -4
- package/src/components/xform/mixins/defaultHandle.js +334 -1
- package/src/components/xform/mixins/scriptHttp.js +174 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +966 -0
- package/src/components/xform/utils/util.js +1464 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/index.js +210 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +20 -0
- package/src/lang/locale/zh/login.js +20 -0
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +1389 -1222
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/table/index.js +151 -0
- package/src/mixins/tableTree/index.js +1 -1
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +79 -8
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +3 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -29
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +83 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +326 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -10
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -423
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
- package/src/views/bd/setting/form_template/wf_list.vue +1 -1
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +139 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +190 -128
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -117
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +5 -2
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -163
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -0
- package/src/views/user/extend_datasource/edit.vue +5 -1
- package/src/views/user/extend_datasource/list.vue +5 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +776 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +59 -37
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +261 -49
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +165 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +38 -22
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +67 -11
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/edit.vue +116 -83
- package/src/views/user/position/list.vue +118 -86
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +609 -429
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/system_notice/edit.vue +232 -186
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +618 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
- package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
},
|
|
12
12
|
designer: {
|
|
13
13
|
componentLib: "组件库",
|
|
14
|
-
metadataLib: "
|
|
14
|
+
metadataLib: "通用组件",
|
|
15
15
|
formLib: "表单模板",
|
|
16
16
|
containerTitle: "容器",
|
|
17
17
|
dragHandlerHint: "鼠标拖拽容器组件或字段组件并放置于表单中",
|
|
@@ -61,6 +61,7 @@ export default {
|
|
|
61
61
|
"picture-upload": "图片",
|
|
62
62
|
"file-upload": "文件",
|
|
63
63
|
"vabUpload": "凭证",
|
|
64
|
+
"vabUpload2": "凭证(海信)",
|
|
64
65
|
"vabsearch": "搜索框",
|
|
65
66
|
"search_button": "搜索按钮",
|
|
66
67
|
"save_button": "保存按钮",
|
|
@@ -69,7 +70,10 @@ export default {
|
|
|
69
70
|
"export_button": "导出按钮",
|
|
70
71
|
"import_button": "导入按钮",
|
|
71
72
|
"import-button": "导入按钮",
|
|
72
|
-
"
|
|
73
|
+
"import2-button": "明细导入按钮",
|
|
74
|
+
"print-button": "导出/打印(列表)",
|
|
75
|
+
"print-detail-button": "导出/打印(详情)",
|
|
76
|
+
"copy_button": "复制按钮",
|
|
73
77
|
"rich-editor": "富文本",
|
|
74
78
|
cascader: "级联选择",
|
|
75
79
|
slot: "插槽",
|
|
@@ -93,10 +97,25 @@ export default {
|
|
|
93
97
|
'h5-table': "h5表格",
|
|
94
98
|
tree: "树形",
|
|
95
99
|
"table-export-button": "列表导出",
|
|
100
|
+
"select-export-button": "明细导出",
|
|
96
101
|
status: "状态",
|
|
97
102
|
"a-link": "超链接按钮",
|
|
98
103
|
"a-text": "超链接文本",
|
|
99
|
-
'project-tag': '
|
|
104
|
+
'project-tag': '标签',
|
|
105
|
+
'dropdown-menu': '下拉菜单',
|
|
106
|
+
|
|
107
|
+
"create_by-text": "创建人",
|
|
108
|
+
"modify_by-text": "更新人",
|
|
109
|
+
"create_date-text": "创建时间",
|
|
110
|
+
"modify_date-text": "更新时间",
|
|
111
|
+
"user-vabsearch": "用户(单选)",
|
|
112
|
+
"saleOrg-vabsearch": "机构(单选)",
|
|
113
|
+
"user-project-tag": "用户(多选)",
|
|
114
|
+
"saleOrg-project-tag": "机构(多选)",
|
|
115
|
+
"tempStorage": "暂存按钮",
|
|
116
|
+
"oplog": "操作日志",
|
|
117
|
+
"gantt": "甘特图",
|
|
118
|
+
"download-button": "附件下载",
|
|
100
119
|
},
|
|
101
120
|
hint: {
|
|
102
121
|
formulaSetting: "公式设置",
|
|
@@ -132,6 +151,10 @@ export default {
|
|
|
132
151
|
"将数值去掉小数,举例:INT(-8.9)=-9",
|
|
133
152
|
formulaSUM:
|
|
134
153
|
"返回一组数据的和,举例:SUM(1,2,3,...)=6",
|
|
154
|
+
formulaSUMIF:
|
|
155
|
+
`根据单个条件对指定区域内的数值求和,举例:SUMIF([10, 20, 30], ">10", [80, 120, 90])=210`,
|
|
156
|
+
formulaSUMIFS:
|
|
157
|
+
`根据多个条件对指定区域内的数值求和(条件需同时满足),举例:SUMIFS([1000, 2000, 1500, 3000], [400, 600, 700, 800], '>500', [2022, 2023, 2023, 2024], 2023)=3500`,
|
|
135
158
|
formulaAVERAGE:
|
|
136
159
|
"返回一组数据的平均数,举例:AVERAGE(1,2,3,...)=2",
|
|
137
160
|
formulaMAX:
|
|
@@ -587,7 +610,7 @@ export default {
|
|
|
587
610
|
enterForQuery: "输入关键字进行过滤",
|
|
588
611
|
add: "添加",
|
|
589
612
|
delete: "删除",
|
|
590
|
-
censusClass:'统计样式'
|
|
613
|
+
censusClass: '统计样式'
|
|
591
614
|
}
|
|
592
615
|
}
|
|
593
616
|
}
|
|
@@ -1,5 +1,338 @@
|
|
|
1
1
|
import dayjs from "dayjs";
|
|
2
2
|
|
|
3
3
|
let modules = {};
|
|
4
|
-
function _0x25f2(_0x24184a,_0x42906c){const _0x15c338=_0x4290();_0x25f2=function(_0xd3324,_0x6c3fbc){_0xd3324=_0xd3324-0x0;let _0x489436=_0x15c338[_0xd3324];if(_0x25f2["\u0072\u0069\u0061\u0064\u004b\u006f"]===undefined){var _0x1b9211=function(_0x39b5a3){const _0x4cc9c7="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0xe42976='';let _0x5ce54b='';for(let _0x1df35f=0x0,_0xabae5e,_0x4fb806,_0x398103=0x0;_0x4fb806=_0x39b5a3['charAt'](_0x398103++);~_0x4fb806&&(_0xabae5e=_0x1df35f%0x4?_0xabae5e*0x40+_0x4fb806:_0x4fb806,_0x1df35f++%0x4)?_0xe42976+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0xabae5e>>(-0x2*_0x1df35f&0x6)):0x0){_0x4fb806=_0x4cc9c7["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x4fb806);}for(let _0x3801af=0x0,_0x27f844=_0xe42976["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x3801af<_0x27f844;_0x3801af++){_0x5ce54b+="\u0025"+("\u0030\u0030"+_0xe42976["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x3801af)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x5ce54b);};const _0x2828d5=function(_0x1420b1,_0x3415c3){let _0x39317c=[],_0xf47c87=0x0,_0x1fdf86,_0x1d9466='';_0x1420b1=_0x1b9211(_0x1420b1);let _0x23a8ba;for(_0x23a8ba=0x0;_0x23a8ba<0x100;_0x23a8ba++){_0x39317c[_0x23a8ba]=_0x23a8ba;}for(_0x23a8ba=0x0;_0x23a8ba<0x100;_0x23a8ba++){_0xf47c87=(_0xf47c87+_0x39317c[_0x23a8ba]+_0x3415c3["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x23a8ba%_0x3415c3["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x1fdf86=_0x39317c[_0x23a8ba];_0x39317c[_0x23a8ba]=_0x39317c[_0xf47c87];_0x39317c[_0xf47c87]=_0x1fdf86;}_0x23a8ba=0x0;_0xf47c87=0x0;for(let _0x43fde7=0x0;_0x43fde7<_0x1420b1["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x43fde7++){_0x23a8ba=(_0x23a8ba+0x1)%0x100;_0xf47c87=(_0xf47c87+_0x39317c[_0x23a8ba])%0x100;_0x1fdf86=_0x39317c[_0x23a8ba];_0x39317c[_0x23a8ba]=_0x39317c[_0xf47c87];_0x39317c[_0xf47c87]=_0x1fdf86;_0x1d9466+=String['fromCharCode'](_0x1420b1["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x43fde7)^_0x39317c[(_0x39317c[_0x23a8ba]+_0x39317c[_0xf47c87])%0x100]);}return _0x1d9466;};_0x25f2['mzPwkc']=_0x2828d5;_0x24184a=arguments;_0x25f2['riadKo']=!![];}const _0x5c6e12=_0x15c338[0x0];const _0x131af9=_0xd3324+_0x5c6e12;const _0x25f278=_0x24184a[_0x131af9];if(!_0x25f278){if(_0x25f2["\u007a\u0043\u0076\u0062\u0066\u0066"]===undefined){_0x25f2['zCvbff']=!![];}_0x489436=_0x25f2['mzPwkc'](_0x489436,_0x6c3fbc);_0x24184a[_0x131af9]=_0x489436;}else{_0x489436=_0x25f278;}return _0x489436;};return _0x25f2(_0x24184a,_0x42906c);}function bFPhYq(_0xc3081,_0x413480){if(!![]!=![])return;bFPhYq=function(_0x4e6383,_0x109a3b){_0x4e6383=_0x4e6383-(0x973c9^0x973c9);var _0x38f465=_0x5e50e6[_0x4e6383];return _0x38f465;};return bFPhYq(_0xc3081,_0x413480);}bFPhYq();(function(_0x34a4fd,_0x34983f){function _0x92a6a8(_0x3217ad,_0x377efc,_0x501d43,_0x335513,_0x1590ae){return _0x25f2(_0x377efc- -0x178,_0x501d43);}function _0x17a201(_0x4c1262,_0x482a5f,_0x3aa661,_0x3ceedb,_0xb8120e){return _0x25f2(_0x482a5f- -0x26c,_0x4c1262);}function _0x28f12a(_0x464767,_0x226665,_0x4dc9f3,_0x36ea48,_0x2155c9){return _0x15c3(_0x464767-0x27e,_0x4dc9f3);}function _0x569c6c(_0x3bcd10,_0x6b4b04,_0x419666,_0x11c9fe,_0x3150c7){return _0x25f2(_0x11c9fe- -0xee,_0x6b4b04);}function _0x2bb230(_0x5095e9,_0x52457a,_0x39eabb,_0x545a34,_0x4b24d9){return _0x15c3(_0x5095e9-0x1c5,_0x52457a);}const _0x40d1a3=_0x34a4fd();function _0x51e5ab(_0xf778c4,_0x4010a0,_0x4a7dd8,_0x101309,_0x380045){return _0x15c3(_0x4010a0- -0x359,_0x101309);}function _0x38d15d(_0x4ae0f9,_0x112d83,_0x32e238,_0x50b870,_0x592311){return _0x15c3(_0x50b870-0x27d,_0x32e238);}function _0x3fc8b7(_0x42edd0,_0x27aa6f,_0x18c4d9,_0x5668ed,_0x504b04){return _0x15c3(_0x42edd0- -0xa4,_0x504b04);}do{try{const _0x21ba5f=parseInt(_0x569c6c(-0xa2,"TF09".split("").reverse().join(""),-0x8d,-0xaf,-0xae))/0x1*(parseInt(_0x3fc8b7(-0x9d,-0x92,-0x90,-0xb4,-0x80))/0x2)+parseInt(_0x92a6a8(-0x15b,-0x135,"\u0028\u0041\u0032\u0065",-0x141,-0x115))/0x3*(parseInt(_0x28f12a(0x2b1,0x2c4,0x2c6,0x2a6,0x2d5))/0x4)+parseInt(_0x28f12a(0x2ba,0x29c,0x294,0x2cb,0x2c2))/0x5*(parseInt(_0x38d15d(0x288,0x28b,0x2b1,0x2a1,0x285))/0x6)+-parseInt(_0x38d15d(0x2ad,0x2b1,0x294,0x2bd,0x2a3))/0x7+parseInt(_0x28f12a(0x29f,0x294,0x29c,0x28e,0x28f))/0x8*(-parseInt(_0x28f12a(0x2c6,0x2d5,0x2ad,0x2ae,0x2c5))/0x9)+parseInt(_0x2bb230(0x1eb,0x212,0x1e3,0x1df,0x1dd))/0xa+-parseInt(_0x569c6c(-0xbd,"\u0072\u0051\u0050\u0029",-0xd3,-0xc3,-0xe3))/0xb;if(_0x21ba5f===_0x34983f){break;}else{_0x40d1a3['push'](_0x40d1a3['shift']());}}catch(_0x15942c){_0x40d1a3['push'](_0x40d1a3["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x4290,0x1cdac);function _0x15c3(_0x24184a,_0x42906c){const _0x15c338=_0x4290();_0x15c3=function(_0xd3324,_0x6c3fbc){_0xd3324=_0xd3324-0x0;let _0x489436=_0x15c338[_0xd3324];if(_0x15c3['CgaoUU']===undefined){var _0x1b9211=function(_0x2828d5){const _0x39b5a3="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x4cc9c7='';let _0xe42976='';for(let _0x5ce54b=0x0,_0x1df35f,_0xabae5e,_0x4fb806=0x0;_0xabae5e=_0x2828d5["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x4fb806++);~_0xabae5e&&(_0x1df35f=_0x5ce54b%0x4?_0x1df35f*0x40+_0xabae5e:_0xabae5e,_0x5ce54b++%0x4)?_0x4cc9c7+=String['fromCharCode'](0xff&_0x1df35f>>(-0x2*_0x5ce54b&0x6)):0x0){_0xabae5e=_0x39b5a3["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0xabae5e);}for(let _0x398103=0x0,_0x3801af=_0x4cc9c7['length'];_0x398103<_0x3801af;_0x398103++){_0xe42976+="\u0025"+("00".split("").reverse().join("")+_0x4cc9c7['charCodeAt'](_0x398103)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe42976);};_0x15c3['yVRgBC']=_0x1b9211;_0x24184a=arguments;_0x15c3['CgaoUU']=!![];}const _0x5c6e12=_0x15c338[0x0];const _0x131af9=_0xd3324+_0x5c6e12;const _0x25f278=_0x24184a[_0x131af9];if(!_0x25f278){_0x489436=_0x15c3["\u0079\u0056\u0052\u0067\u0042\u0043"](_0x489436);_0x24184a[_0x131af9]=_0x489436;}else{_0x489436=_0x25f278;}return _0x489436;};return _0x15c3(_0x24184a,_0x42906c);}function adNpYk(_0x27f844,_0x1420b1){if(!![]!=![])return;adNpYk=function(_0x3415c3,_0x39317c){_0x3415c3=_0x3415c3-(0x973c9^0x973c9);var _0xf47c87=_0x5e50e6[_0x3415c3];return _0xf47c87;};return adNpYk(_0x27f844,_0x1420b1);}adNpYk();function _0x45116d(_0x253a64,_0x3c5e08,_0x1d1826,_0x16515c,_0x3307ee){return _0x25f2(_0x3c5e08-0x2f4,_0x16515c);}function _0x4290(){const _0x2a9f98=["WKcRJk9CRWzkCSctRWPkmo".split("").reverse().join(""),"WNdN6WxomeRmQWoomVcpPWMbdSdRNr0k8QdR6W0o8g".split("").reverse().join(""),"\u0057\u0034\u005a\u0063\u004f\u0061\u002f\u0064\u0055\u0038\u006b\u0073\u006b\u0048\u0034\u006b\u0071\u0043\u006f\u0068\u0057\u004f\u0078\u0064\u0055\u0066\u0062\u0050","ehDtPLA".split("").reverse().join(""),"\u006c\u0075\u0066\u007a\u0057\u0034\u0042\u0063\u0055\u004c\u006c\u0063\u004a\u006d\u006f\u002f\u0057\u0052\u0044\u0067","42BPnNCLzvBY9Mz".split("").reverse().join(""),"\u0073\u0067\u007a\u004f\u0042\u0065\u0057","\u006e\u004e\u0044\u0031\u007a\u0032\u004c\u0066\u007a\u0061","\u0057\u0050\u004a\u0064\u0055\u0038\u006f\u0054\u0057\u0052\u0078\u0063\u0050\u0064\u0039\u0069\u0057\u0037\u006c\u0063\u0047\u006d\u006b\u0055","RzdVd74WWomxtkSuoPxz".split("").reverse().join(""),"Hrxye1MCVzeBHvMu0v2z".split("").reverse().join(""),"qMA1fLA".split("").reverse().join(""),"\u007a\u0067\u0066\u0030\u0079\u0075\u004c\u004b","aElj0zRLemYaZn5etm".split("").reverse().join(""),"\u0077\u0059\u0039\u0055\u0057\u0050\u0069\u0056\u0057\u0037\u0046\u0064\u0052\u0078\u006c\u0063\u0056\u0057","\u0078\u0032\u0031\u0056\u007a\u0067\u004c\u004d\u0045\u0075\u006a\u0035","\u006d\u0074\u0061\u0030\u006f\u0074\u0047\u0033\u006d\u004b\u0072\u0059\u0077\u0065\u0039\u0031\u0041\u0071","a7W4kSDNSMCzoCKdtfkCo8IdFrm".split("").reverse().join(""),"\u0074\u0053\u006b\u0051\u0057\u004f\u004f\u0031\u0067\u004d\u0057\u0072\u0057\u0034\u004a\u0064\u0052\u0038\u006f\u006b","qzcDusUfeo3iJn2atm".split("").reverse().join(""),"GKc/RWuaLraKKBmaQWukCjok8b".split("").reverse().join(""),"\u006e\u0064\u0065\u0033\u006f\u0074\u0062\u0066\u0076\u0067\u006a\u004f\u0076\u0075\u0038","\u007a\u004d\u0039\u0059\u0042\u0075\u006e\u0056\u0042\u004d\u007a\u0050\u007a\u0057","\u0057\u0050\u0044\u004f\u0072\u006d\u006b\u0077\u0057\u0036\u0071","\u0070\u0047\u0038\u004e\u0057\u0037\u004b\u0064\u0063\u006d\u006f\u0033\u0057\u0036\u0033\u0063\u0049\u0038\u006b\u0042\u006e\u004b\u0037\u0063\u0054\u0057","\u0035\u004f\u0067\u0066\u0035\u0036\u006f\u0071\u0035\u0041\u0036\u0055\u0036\u006b\u0041\u0062\u0035\u006c\u0059\u0072\u0035\u0041\u002b\u0039\u0035\u007a\u0067\u006d\u0037\u0037\u0036\u0035","\u0057\u0035\u005a\u0063\u004a\u0057\u0030\u0033\u0057\u0037\u005a\u0063\u004c\u0032\u0056\u0064\u0052\u0032\u0033\u0064\u004c\u0043\u006b\u0036\u0057\u0051\u0042\u0064\u0056\u0057","qmDzPWDkCa".split("").reverse().join(""),"ugDHrwASfMD".split("").reverse().join(""),"\u0076\u0053\u006f\u005a\u0057\u0051\u0071\u0068\u0057\u0035\u0048\u006c\u0075\u006d\u006b\u0045\u0068\u004e\u0038","G2CHr2Bmv2CHjgj".split("").reverse().join(""),"PoSGdpOWY4eDbeQWCkCC".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0042\u0077\u0066\u0030","qebk8HdtGw".split("").reverse().join(""),"\u006d\u004a\u0069\u0032\u006d\u0074\u0065\u0059\u0072\u004b\u004c\u0052\u0073\u0078\u006e\u004d","5juz0fwzYn2x".split("").reverse().join(""),"\u0079\u0032\u0058\u004c\u0079\u0078\u006a\u006a\u0042\u004e\u0072\u004c\u0043\u004e\u007a\u0048\u0042\u0061","axynjxzTLgD".split("").reverse().join(""),"\u006a\u0038\u006f\u0064\u0057\u0034\u0046\u0064\u004d\u0038\u006f\u0054\u0043\u0047","2oCHd/3lE4GCzomkl4NOcV4W".split("").reverse().join(""),"GzLjvBY9Mr0v2z".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0042\u0075\u0048\u0030\u0044\u0068\u0061","\u007a\u0065\u0078\u0063\u0052\u0038\u006f\u0069","aEZjKBgzun".split("").reverse().join(""),"\u0061\u006d\u006b\u0055\u0057\u0036\u007a\u0035\u0057\u0036\u007a\u0051\u0078\u0038\u006b\u0067\u006b\u0075\u004f","ybMcdRWskCv".split("").reverse().join(""),"\u0075\u0053\u006f\u0079\u0041\u0043\u006b\u0077\u0057\u0051\u004f\u005a\u0078\u0076\u0069\u0042","\u006d\u0074\u0065\u0058\u006d\u004a\u004b\u0034\u006e\u004e\u0062\u0031\u0074\u004c\u006e\u005a\u0076\u0047","uuqQfuy".split("").reverse().join(""),"\u0057\u0050\u0056\u0064\u0056\u0038\u006f\u0054\u0057\u0050\u0069","axXomHcVrVcFZw".split("").reverse().join(""),"\u0043\u004d\u0076\u0057\u0042\u0033\u006a\u0030\u0076\u0067\u0076\u0054\u0043\u0067\u0058\u0048\u0044\u0067\u0075","\u0072\u0053\u006b\u0046\u0057\u0051\u0046\u0063\u004d\u0061\u004c\u0079\u0057\u0052\u0042\u0063\u0051\u0057\u005a\u0063\u0056\u0049\u0068\u0063\u0050\u0053\u006f\u0066","NLMzU92y".split("").reverse().join(""),"\u0043\u0032\u0066\u0032\u007a\u0076\u0076\u0057\u007a\u0067\u0066\u0030\u007a\u0071","WDqDLvgnwo".split("").reverse().join(""),"WLd/GozoCu".split("").reverse().join(""),"\u0057\u0037\u0042\u0064\u004c\u004a\u0033\u0063\u0047\u0030\u0047","\u0068\u006d\u006b\u0061\u0065\u0053\u006f\u0033\u0045\u0073\u0065\u0033\u0057\u0050\u0078\u0064\u004b\u0057\u0042\u0063\u0053\u004d\u0075","\u0043\u004d\u0076\u0053\u0042\u0032\u0066\u004b\u0072\u004d\u0039\u0059\u0042\u0071","\u0041\u004d\u0039\u0051\u007a\u0067\u0054\u004b","\u0068\u0053\u006f\u0065\u0061\u0053\u006f\u0044\u0057\u0037\u006d\u0064\u0057\u0036\u0044\u0053\u0057\u0052\u0053\u0064\u0057\u0034\u0058\u006a\u0057\u0034\u0061","zomkd4NRcl7W".split("").reverse().join(""),"\u0073\u0066\u004c\u0036\u0074\u0031\u004b","\u0057\u0034\u0052\u0064\u004d\u006d\u006f\u0046\u0057\u0050\u0033\u0063\u0049\u0074\u0035\u0044","GkyusEcoScd4NRcl7W".split("").reverse().join(""),"\u006b\u0043\u006b\u0046\u0064\u004c\u0056\u0063\u004f\u0033\u0052\u0064\u0056\u0043\u006b\u0043","\u0057\u0037\u005a\u0063\u0049\u0038\u006b\u0073\u006b\u0043\u006b\u0053\u0075\u0038\u006f\u0047\u0072\u004e\u0056\u0064\u004b\u0043\u006b\u0069\u0063\u006d\u006f\u0069","\u006c\u0038\u006b\u0048\u0057\u0035\u006d","0oSm/TPW6DOWlkCsfvOW".split("").reverse().join(""),"KWPWboSRd/sx".split("").reverse().join(""),"\u0057\u0034\u0037\u0063\u0052\u0053\u006b\u0056\u0057\u0034\u0078\u0064\u0055\u0078\u004f\u0044\u0057\u0036\u0068\u0063\u0049\u0038\u006b\u0062\u006d\u006d\u006f\u0067\u0069\u0057","\u0066\u006d\u006f\u0052\u0057\u0035\u0056\u0064\u0055\u0043\u006f\u006c","qSdJQW/GrQdV5WYo8Qd/PW".split("").reverse().join(""),"\u0057\u0051\u0039\u006f\u0057\u0052\u0061\u0034\u0057\u0051\u0070\u0064\u004b\u0061","\u0062\u0053\u006b\u0065\u0069\u0038\u006b\u0052\u0057\u0051\u0071\u006a","MSZtdkmDLSZd".split("").reverse().join(""),"\u006d\u0074\u0047\u0032\u006f\u0066\u0066\u0074\u0079\u004b\u0050\u0073\u0075\u0057","\u007a\u0067\u0066\u0035","\u0078\u0032\u006e\u0059\u007a\u0077\u0066\u0030\u007a\u0075\u0035\u0050\u0079\u0032\u0054\u006f\u0079\u0077\u0031\u004c","CPWtkmn4kmd".split("").reverse().join(""),"\u0057\u004f\u0048\u006f\u0057\u0052\u0046\u0064\u0050\u0038\u006f\u0065\u0042\u0059\u0056\u0063\u004e\u0059\u0030\u0043","\u0079\u0033\u0052\u0063\u004d\u0043\u006b\u0069\u0057\u0036\u0037\u0064\u0047\u0053\u006b\u0074\u0064\u0061","eo8PdJZr1kSp".split("").reverse().join(""),"\u0076\u0043\u006b\u0078\u0057\u0036\u0037\u0064\u004c\u0053\u006b\u0063\u0057\u0035\u0047\u006a\u0057\u0036\u0079\u0061\u0070\u0030\u0076\u0071\u0057\u0052\u0074\u0063\u004f\u004c\u0034","ugzVnuBY9Mz".split("").reverse().join(""),"gj7WvX5W54RW1nQWyLPWkkCrukmx".split("").reverse().join("")];_0x4290=function(){return _0x2a9f98;};return _0x4290();}modules={'data'(){return{"\u0074\u0069\u006d\u0065\u0072\u004d\u0061\u0070":{},"\u0064\u0061\u0079\u006a\u0073":dayjs};},"\u0062\u0065\u0066\u006f\u0072\u0065\u0044\u0065\u0073\u0074\u0072\u006f\u0079"(){function _0x21ea80(_0x4653f8,_0x231262,_0x3ef118,_0x58919a,_0x19c46a){return _0x25f2(_0x3ef118-0x3c0,_0x19c46a);}function _0x1788d9(_0x4902fe,_0xf6617,_0x43c274,_0x16b0fd,_0x22bd96){return _0x15c3(_0x4902fe- -0xca,_0x22bd96);}const _0xa89358={'jQujd':_0x21ea80(0x3eb,0x40f,0x3f0,0x3d6,"\u0043\u0041\u0056\u005e"),'VFhKR':_0x1788d9(-0x89,-0x70,-0x68,-0x80,-0x69)};function _0x2fe6ab(_0x221a2e,_0x45e711,_0xe21a67,_0x496d1d,_0x240133){return _0x15c3(_0x221a2e- -0x24,_0xe21a67);}for(let _0x4d20c2 in this['timerMap']){if(_0x1788d9(-0x89,-0x89,-0x9c,-0x60,-0x7c)!==_0xa89358["\u0056\u0046\u0068\u004b\u0052"]){if(!_0x370325)return _0x5ed0d5;return _0x7a9cde(_0x308fdb)["\u0066\u006f\u0072\u006d\u0061\u0074"](_0xa89358["\u006a\u0051\u0075\u006a\u0064"]);}else{this["\u0063\u006c\u0065\u0061\u0072\u0049\u006e\u0074\u0065\u0072\u0076\u0061\u006c"](_0x4d20c2);}}},"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0061\u0064\u0064\u0046\u006f\u0072\u006d\u0061\u0074\u0044\u0061\u0074\u0065"(_0x3f9cdc,_0x1f3232){function _0x5e9d86(_0x110553,_0x39ef6c,_0x30e39c,_0x27e400,_0x576d42){return _0x25f2(_0x110553-0x2f5,_0x39ef6c);}function _0x44e07e(_0x8a6275,_0x1a9f82,_0x4910b7,_0x20c87f,_0x26a167){return _0x15c3(_0x8a6275- -0x8c,_0x4910b7);}if(!_0x3f9cdc)return _0x3f9cdc;return dayjs(_0x3f9cdc)['add'](_0x1f3232,_0x44e07e(-0x84,-0xac,-0xa3,-0x89,-0x7f))["\u0066\u006f\u0072\u006d\u0061\u0074"](_0x5e9d86(0x34b,"\u0028\u006a\u006b\u0069",0x348,0x36d,0x329));},'formatDate'(_0x5b810b){const _0x256bbe={'Tydkj':_0x32dd11(0xe8,"\u0031\u0065\u006f\u0057",0x105,0xd7,0xc9)};function _0x32dd11(_0x58e44b,_0x19a205,_0x9b9fdd,_0x289675,_0x372219){return _0x25f2(_0x58e44b-0xdd,_0x19a205);}if(!_0x5b810b)return _0x5b810b;return dayjs(_0x5b810b)['format'](_0x256bbe["\u0054\u0079\u0064\u006b\u006a"]);},"\u0066\u006f\u0072\u006d\u0061\u0074\u0044\u0061\u0074\u0065\u0054\u0069\u006d\u0065"(_0x1b360b,_0x25fbbc=_0x45116d(0x319,0x306,0x303,"\u0031\u0038\u006f\u0025",0x321)){if(!_0x1b360b)return _0x1b360b;return dayjs(_0x1b360b)["\u0066\u006f\u0072\u006d\u0061\u0074"](_0x25fbbc);},"\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0045\u006e\u0074\u0069\u0074\u0079\u0044\u0061\u0074\u0061"(_0x10e502){let _0x4703d8=this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]?this['getFormRef']():this;let _0x1fd7b7;let _0x2db91c=this["\u0066\u006f\u0072\u006d\u0043\u006f\u006e\u0066\u0069\u0067"];_0x1fd7b7=0x2+0x2;let _0x30ab8c;let _0x33485f=_0x2db91c["\u0065\u006e\u0074\u0069\u0074\u0079"];_0x30ab8c=0x4+0x8;if(!_0x10e502)_0x10e502=this['getReqFormData']();return _0x10e502["\u0064\u0061\u0074\u0061"][_0x33485f];},"\u0067\u0065\u0074\u0052\u0065\u0071\u0046\u006f\u0072\u006d\u0044\u0061\u0074\u0061"(){let _0xec02d3=this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]?this['getFormRef']():this;let _0xd0db59;let _0x1eab7f=this["\u0066\u006f\u0072\u006d\u0043\u006f\u006e\u0066\u0069\u0067"];_0xd0db59=0x8+0x8;let _0x140fed;let _0x26f48c=_0x1eab7f["\u0065\u006e\u0074\u0069\u0074\u0079"];_0x140fed=0x4;if(!_0x26f48c)return;let _0x387bd0=_0xec02d3?.["\u0064\u0061\u0074\u0061\u0049\u0064"];let _0x5e8f8a=_0xec02d3?.["\u0072\u0065\u0070\u006f\u0072\u0074\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"];let _0x5736e8;let _0x141a7f=_0x5e8f8a?.["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"];_0x5736e8=0x2+0x9;let _0x49d72f=this["\u0024\u0062\u0061\u0073\u0065\u004c\u006f\u0064\u0061\u0073\u0068"]['cloneDeep'](_0xec02d3["\u0067\u0065\u0074\u0052\u0065\u0061\u006c\u0046\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]());var _0x7363f0=0x1+0x7;let _0x59f81f=_0x49d72f[_0x141a7f]||{};_0x7363f0=0x4+0x8;delete _0x49d72f[_0x141a7f];_0x49d72f[_0x26f48c]=_0x59f81f;delete _0x59f81f['_createNickName'];delete _0x59f81f["\u005f\u0063\u0072\u0065\u0061\u0074\u0065\u004d\u006f\u0062\u0069\u006c\u0065"];delete _0x59f81f['_modifyNickName'];delete _0x59f81f['_modifyMobile'];delete _0x59f81f['_createBy'];delete _0x59f81f["\u005f\u006d\u006f\u0064\u0069\u0066\u0079\u0042\u0079"];let _0x47d528={'formCode':_0x141a7f,'formVersion':_0x5e8f8a['formVersion'],"\u0074\u0061\u0042\u006d":_0x26f48c,"\u0064\u0061\u0074\u0061":_0x49d72f};return _0x47d528;},"\u0073\u0061\u0076\u0065\u0044\u0065\u0066\u0061\u0075\u006c\u0074\u0048\u0061\u006e\u0064\u006c\u0065"(_0x492e8f){const _0xc2db76={"\u0048\u0066\u0068\u006c\u004c":function(_0x37f35f,_0x4ad688){return _0x37f35f!==_0x4ad688;},"\u006c\u0053\u0065\u0055\u0052":_0x17ee12(-0x386,-0x372,"\u0072\u0051\u0050\u0029",-0x388,-0x397),"\u004b\u0074\u0054\u0044\u004e":_0x319b88(0x219,0x1ec,0x223,0x214,0x213)};let _0x34452d=this['getFormRef']?this['getFormRef']():this;let _0x55e1a7=this["\u0066\u006f\u0072\u006d\u0043\u006f\u006e\u0066\u0069\u0067"];var _0xecde22=0x6+0x7;function _0x17ee12(_0x4a4b53,_0xd12bbf,_0x1be95b,_0x5e6ea3,_0x27000d){return _0x25f2(_0x4a4b53- -0x3b0,_0x1be95b);}let _0x54d7aa=_0x55e1a7['entity'];_0xecde22=0x5;if(!_0x54d7aa)return;let _0x6fec8b;let _0x589004=_0x34452d?.["dIatad".split("").reverse().join("")];_0x6fec8b=0x0;let _0x307cbc=_0x34452d?.["etalpmeTtroper".split("").reverse().join("")];let _0x3abebb=_0x307cbc?.["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"];let _0x3c4ce0=_0x55e1a7['saveScriptCode']||_0xc2db76["\u004b\u0074\u0054\u0044\u004e"];function _0x319b88(_0x5de1c7,_0xc6eddd,_0xc77d25,_0x5d7851,_0x4afe7c){return _0x15c3(_0x4afe7c-0x1cc,_0xc77d25);}let _0x7c1d86;let _0x2267c4=_0x492e8f?.["gifnoc".split("").reverse().join("")];_0x7c1d86=0x1+0x3;_0x34452d['validate'](_0x2e6f0e=>{function _0x25c0c6(_0x454020,_0x1eb7a7,_0x34ec26,_0x5c67a0,_0x8bbfd4){return _0x25f2(_0x454020-0x28c,_0x34ec26);}const _0x1fa2ab={"\u0049\u006e\u0066\u0072\u006f":function(_0x24ca40,_0x207c91){return _0xc2db76['HfhlL'](_0x24ca40,_0x207c91);},'jZStq':_0x25c0c6(0x2d6,0x2e3,"\u0063\u005d\u0048\u005a",0x2ff,0x2aa)};function _0x48466f(_0x3464fc,_0x151842,_0x76ed4a,_0x3e4e55,_0x45dfed){return _0x15c3(_0x151842-0x380,_0x76ed4a);}if(_0x2e6f0e){var _0x2a27fa=0x9+0x1;let _0x375221=this['getReqFormData']();_0x2a27fa=_0x48466f(0x3d7,0x3cd,0x3f0,0x3b9,0x3d4);this["\u0066\u006f\u0072\u006d\u0048\u0074\u0074\u0070"]({'scriptCode':_0x3c4ce0,"\u0064\u0061\u0074\u0061":_0x375221,"\u0073\u0075\u0063\u0063\u0065\u0073\u0073\u004d\u0073\u0067":!![],"\u0069\u0073\u0043\u006f\u006e\u0066\u0069\u0072\u006d":!![],'confirmText':_0xc2db76["\u006c\u0053\u0065\u0055\u0052"],'success':_0x57e58b=>{function _0x48b070(_0x5b8cbe,_0x1734b1,_0x4e0724,_0x12979b,_0x3db0e1){return _0x15c3(_0x3db0e1- -0x178,_0x12979b);}if(_0x1fa2ab['Infro'](_0x48b070(-0x10d,-0x14f,-0x103,-0x104,-0x128),_0x1fa2ab['jZStq'])){for(let _0x27cd73 in this["\u0074\u0069\u006d\u0065\u0072\u004d\u0061\u0070"]){this["\u0063\u006c\u0065\u0061\u0072\u0049\u006e\u0074\u0065\u0072\u0076\u0061\u006c"](_0x27cd73);}}else{_0x34452d["\u0072\u0065\u006c\u006f\u0061\u0064\u0046\u006f\u0072\u006d"]({'updateParam':{"\u0064\u0061\u0074\u0061\u0049\u0064":_0x57e58b["\u006f\u0062\u006a\u0078"]}});}},..._0x2267c4});}});},'setInterval'(_0x583b9b,_0x338f1d){const _0x184638={"\u0069\u0055\u0079\u0072\u004f":function(_0x400ad1,_0x179bc3,_0x100d25){return _0x400ad1(_0x179bc3,_0x100d25);}};let _0x576abc=_0x184638["\u0069\u0055\u0079\u0072\u004f"](setInterval,_0x583b9b,_0x338f1d);this["\u0074\u0069\u006d\u0065\u0072\u004d\u0061\u0070"][_0x576abc]=_0x576abc;},'clearInterval'(_0x2d0229){clearInterval(_0x2d0229);delete this['timerMap'][_0x2d0229];},"\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0050\u0061\u0072\u0061\u006d"(){let _0x13f20c=this['getFormRef']?this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]():this;return _0x13f20c["\u0070\u0061\u0072\u0061\u006d"];}}};
|
|
4
|
+
modules = {
|
|
5
|
+
data() {
|
|
6
|
+
return {
|
|
7
|
+
timerMap: {},
|
|
8
|
+
dayjs: dayjs
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
beforeDestroy() {
|
|
12
|
+
for (let timer in this.timerMap) {
|
|
13
|
+
this.clearInterval(timer)
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
methods: {
|
|
17
|
+
addFormatDate(date, num) {
|
|
18
|
+
if (!date) return date;
|
|
19
|
+
return dayjs(date).add(num, "day").format("YYYY-MM-DD");
|
|
20
|
+
},
|
|
21
|
+
formatDate(date) {
|
|
22
|
+
if (!date) return date;
|
|
23
|
+
return dayjs(date).format("YYYY-MM-DD");
|
|
24
|
+
},
|
|
25
|
+
formatDateTime(date, format = "YYYY-MM-DD HH:mm:ss") {
|
|
26
|
+
if (!date) return date
|
|
27
|
+
return dayjs(date).format(format);
|
|
28
|
+
},
|
|
29
|
+
getFormEntityData(reqFormData) {
|
|
30
|
+
let formRef = this.getFormRef ? this.getFormRef() : this;
|
|
31
|
+
let formConfig = formRef.formConfig;
|
|
32
|
+
let entity = formConfig.entity;
|
|
33
|
+
if (!reqFormData) reqFormData = this.getReqFormData();
|
|
34
|
+
return reqFormData.data[entity];
|
|
35
|
+
},
|
|
36
|
+
getReqFormData() {
|
|
37
|
+
let formRef = this.getFormRef ? this.getFormRef() : this;
|
|
38
|
+
let formConfig = formRef.formConfig;
|
|
39
|
+
let entity = formConfig.entity;
|
|
40
|
+
if (!entity) return
|
|
41
|
+
let dataId = formRef?.dataId;
|
|
42
|
+
let reportTemplate = formRef?.reportTemplate;
|
|
43
|
+
let formCode = reportTemplate?.formCode;
|
|
44
|
+
|
|
45
|
+
let formData = this.$baseLodash.cloneDeep(formRef.getRealFormData());
|
|
46
|
+
let mainData = formData[formCode] || {};
|
|
47
|
+
delete formData[formCode];
|
|
48
|
+
formData[entity] = mainData;
|
|
49
|
+
|
|
50
|
+
delete mainData._createNickName;
|
|
51
|
+
delete mainData._createMobile;
|
|
52
|
+
delete mainData._modifyNickName;
|
|
53
|
+
delete mainData._modifyMobile;
|
|
54
|
+
delete mainData._createBy;
|
|
55
|
+
delete mainData._modifyBy;
|
|
56
|
+
|
|
57
|
+
let reqData = {
|
|
58
|
+
formCode: formCode,
|
|
59
|
+
formVersion: reportTemplate.formVersion,
|
|
60
|
+
taBm: entity,
|
|
61
|
+
data: formData
|
|
62
|
+
};
|
|
63
|
+
return reqData;
|
|
64
|
+
},
|
|
65
|
+
saveDefaultHandle(option) {
|
|
66
|
+
let formRef = this.getFormRef ? this.getFormRef() : this;
|
|
67
|
+
let formConfig = formRef.formConfig;
|
|
68
|
+
let entity = formConfig.entity;
|
|
69
|
+
if (!entity) return
|
|
70
|
+
let dataId = formRef?.dataId;
|
|
71
|
+
let reportTemplate = formRef?.reportTemplate;
|
|
72
|
+
let formCode = reportTemplate?.formCode;
|
|
73
|
+
let scriptCode = formConfig.saveScriptCode || "saveUpdate"
|
|
74
|
+
let config = option?.config;
|
|
75
|
+
// formRef.clearValidate();
|
|
76
|
+
// formRef.$forceUpdate();
|
|
77
|
+
// let formDataModel = formRef.formDataModel;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
formRef.validate(valid => {
|
|
82
|
+
if (valid) {
|
|
83
|
+
let reqData = this.getReqFormData();
|
|
84
|
+
this.formHttp({
|
|
85
|
+
// url: "/" + reportTemplate.serviceName + "/form_ins/saveUpdate",
|
|
86
|
+
scriptCode: scriptCode,
|
|
87
|
+
data: reqData,
|
|
88
|
+
successMsg: true,
|
|
89
|
+
isConfirm: true,
|
|
90
|
+
confirmText: this.$t1("您确定要保存吗?"),
|
|
91
|
+
success: res => {
|
|
92
|
+
let editFormCode = formConfig.editFormCode
|
|
93
|
+
let updateParam = {
|
|
94
|
+
dataId: res.objx
|
|
95
|
+
}
|
|
96
|
+
if(editFormCode){
|
|
97
|
+
updateParam.formCode = editFormCode;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
formRef.reloadForm({
|
|
101
|
+
updateParam
|
|
102
|
+
});
|
|
103
|
+
},
|
|
104
|
+
...config
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
setInterval(callback, millis) {
|
|
110
|
+
let timer = setInterval(callback, millis);
|
|
111
|
+
this.timerMap[timer] = timer;
|
|
112
|
+
},
|
|
113
|
+
clearInterval(timer) {
|
|
114
|
+
clearInterval(timer)
|
|
115
|
+
delete this.timerMap[timer];
|
|
116
|
+
},
|
|
117
|
+
getGlobalConfig() {
|
|
118
|
+
let that = this.getFormRef ? this.getFormRef() : this;
|
|
119
|
+
return that.globalConfig;
|
|
120
|
+
},
|
|
121
|
+
getFormParam() {
|
|
122
|
+
let that = this.getFormRef ? this.getFormRef() : this;
|
|
123
|
+
return that.param;
|
|
124
|
+
},
|
|
125
|
+
setGlobalParam(key, value) {
|
|
126
|
+
let that = this.getFormRef ? this.getFormRef() : this;
|
|
127
|
+
that.globalParam[key] = value;
|
|
128
|
+
},
|
|
129
|
+
getGlobalParam(key) {
|
|
130
|
+
let that = this.getFormRef ? this.getFormRef() : this;
|
|
131
|
+
return that.globalParam[key];
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
//1个数组的行号处理 begin
|
|
135
|
+
/**
|
|
136
|
+
* 删除列表中的行并刷新序列
|
|
137
|
+
* @param {Array} list - 数据数组
|
|
138
|
+
* @param {number} deleteIndex - 要删除的索引
|
|
139
|
+
* @param {string} [seqField='seq'] - 序列字段名
|
|
140
|
+
* @returns {Array} 更新后的数组
|
|
141
|
+
*/
|
|
142
|
+
deleteNumRows(list, deleteIndex, seqField = 'seq') {
|
|
143
|
+
if (deleteIndex < 0 || deleteIndex >= list.length) {
|
|
144
|
+
return [...list]; // 返回副本
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// 创建副本避免修改原数组
|
|
148
|
+
const newList = [...list];
|
|
149
|
+
|
|
150
|
+
// 删除指定行
|
|
151
|
+
newList.splice(deleteIndex, 1);
|
|
152
|
+
|
|
153
|
+
// 重新计算序列
|
|
154
|
+
newList.forEach((item, index) => {
|
|
155
|
+
item[seqField] = index + 1;
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
return newList;
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* 在列表中插入新行并刷新序列
|
|
163
|
+
* @param {Array} list - 数据数组
|
|
164
|
+
* @param {Array|Object} newItems - 要插入的新项(单个或多个)
|
|
165
|
+
* @param {number} [insertIndex] - 插入位置(默认末尾)
|
|
166
|
+
* @param {string} [seqField='seq'] - 序列字段名
|
|
167
|
+
* @returns {Array} 更新后的数组
|
|
168
|
+
*/
|
|
169
|
+
insertNumRows(list, newItems, insertIndex = list.length, seqField = 'seq') {
|
|
170
|
+
// 参数标准化
|
|
171
|
+
const itemsArray = Array.isArray(newItems) ? newItems : [newItems];
|
|
172
|
+
|
|
173
|
+
// 边界检查
|
|
174
|
+
insertIndex = Math.max(0, Math.min(insertIndex, list.length));
|
|
175
|
+
|
|
176
|
+
// 创建副本
|
|
177
|
+
const newList = [...list];
|
|
178
|
+
|
|
179
|
+
// 准备要插入的项(移除可能的旧序列)
|
|
180
|
+
const itemsToInsert = itemsArray.map(item => {
|
|
181
|
+
const newItem = {...item};
|
|
182
|
+
if (newItem[seqField] !== undefined) {
|
|
183
|
+
delete newItem[seqField];
|
|
184
|
+
}
|
|
185
|
+
return newItem;
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
// 插入新项
|
|
189
|
+
newList.splice(insertIndex, 0, ...itemsToInsert);
|
|
190
|
+
|
|
191
|
+
// 重新计算所有序列
|
|
192
|
+
newList.forEach((item, index) => {
|
|
193
|
+
item[seqField] = index + 1;
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
return newList;
|
|
197
|
+
},
|
|
198
|
+
//1个数组的行号处理 end
|
|
199
|
+
|
|
200
|
+
//2个数组的行号处理 begin
|
|
201
|
+
/**
|
|
202
|
+
* 通用新增方法(支持单条/多条)
|
|
203
|
+
* @param {Array} list1 - 主数据数组
|
|
204
|
+
* @param {Array} list2 - 关联数据数组
|
|
205
|
+
* @param {Array|Object} newItems - 要插入的新项(单个对象或多个对象的数组)
|
|
206
|
+
* @param {Array|Array[]} subItems - 关联数据(单个数组或多个数组的数组)
|
|
207
|
+
* @param {number} [insertIndex] - 插入位置(默认末尾)
|
|
208
|
+
* @param {string} [seqField='seq'] - list1中的序列字段名
|
|
209
|
+
* @param {string} [superSeqField='super_seq'] - list2中的关联字段名
|
|
210
|
+
* @returns {Object} 包含更新后的list1和list2
|
|
211
|
+
*/
|
|
212
|
+
insertRelRows(list1, list2, newItems, subItems = [], insertIndex, seqField = 'seq', superSeqField = 'super_seq') {
|
|
213
|
+
// 参数标准化
|
|
214
|
+
const itemsArray = Array.isArray(newItems) ? newItems : [newItems];
|
|
215
|
+
const subItemsArray = Array.isArray(subItems) && subItems.length > 0 && Array.isArray(subItems[0])
|
|
216
|
+
? subItems
|
|
217
|
+
: [subItems];
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
if (insertIndex === null || insertIndex === undefined) {
|
|
221
|
+
insertIndex = list1.length
|
|
222
|
+
}
|
|
223
|
+
// 边界检查
|
|
224
|
+
insertIndex = Math.max(0, Math.min(insertIndex, list1.length));
|
|
225
|
+
|
|
226
|
+
// 创建副本
|
|
227
|
+
const newList1 = [...list1];
|
|
228
|
+
const newList2 = [...list2];
|
|
229
|
+
|
|
230
|
+
// 1. 插入新项(不设置序列)
|
|
231
|
+
const itemsToInsert = itemsArray.map(item => {
|
|
232
|
+
const newItem = {...item};
|
|
233
|
+
if (newItem[seqField] !== undefined) {
|
|
234
|
+
delete newItem[seqField]; // 确保不保留旧序列
|
|
235
|
+
}
|
|
236
|
+
return newItem;
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
newList1.splice(insertIndex, 0, ...itemsToInsert);
|
|
240
|
+
|
|
241
|
+
// 2. 重新计算序列并创建映射表
|
|
242
|
+
const seqMapping = {};
|
|
243
|
+
newList1.forEach((item, index) => {
|
|
244
|
+
const newSeq = index + 1;
|
|
245
|
+
const oldSeq = item[seqField];
|
|
246
|
+
|
|
247
|
+
// 记录旧序列到新序列的映射
|
|
248
|
+
if (oldSeq !== undefined) {
|
|
249
|
+
seqMapping[oldSeq] = newSeq;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// 更新当前项序列
|
|
253
|
+
item[seqField] = newSeq;
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
// 3. 获取新插入项的序列
|
|
257
|
+
const newSeqs = [];
|
|
258
|
+
for (let i = 0; i < itemsArray.length; i++) {
|
|
259
|
+
newSeqs.push(insertIndex + i + 1);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// 4. 更新现有关联字段
|
|
263
|
+
newList2.forEach(item => {
|
|
264
|
+
const currentSuperSeq = item[superSeqField];
|
|
265
|
+
if (seqMapping[currentSuperSeq] !== undefined) {
|
|
266
|
+
item[superSeqField] = seqMapping[currentSuperSeq];
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
|
|
270
|
+
// 5. 添加新关联数据
|
|
271
|
+
subItemsArray.forEach((subItems, idx) => {
|
|
272
|
+
const superSeq = newSeqs[idx];
|
|
273
|
+
if (Array.isArray(subItems) && subItems.length > 0) {
|
|
274
|
+
subItems.forEach(item => {
|
|
275
|
+
const newItem = {...item};
|
|
276
|
+
newItem[superSeqField] = superSeq;
|
|
277
|
+
newList2.push(newItem);
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
return {list1: newList1, list2: newList2};
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* 删除关联行(从属数据打平传参)
|
|
287
|
+
* @param {Array} masters - 主数据数组
|
|
288
|
+
* @param {Array} slaves - 从属数据数组(打平的一维数组)
|
|
289
|
+
* @param {number} rowIdx - 要删除的主数据行索引
|
|
290
|
+
* @param {string} [seqField='seq'] - 行号字段名
|
|
291
|
+
* @param {string} [refField='super_seq'] - 关联字段名
|
|
292
|
+
* @returns {Object} 包含更新后的masters和slaves
|
|
293
|
+
*/
|
|
294
|
+
deleteRelRows(masters, slaves, rowIdx, seqField = 'seq', refField = 'super_seq') {
|
|
295
|
+
// 边界检查
|
|
296
|
+
if (rowIdx < 0 || rowIdx >= masters.length) {
|
|
297
|
+
return {masters: [...masters], slaves: [...slaves]};
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// 创建副本
|
|
301
|
+
const newMasters = [...masters];
|
|
302
|
+
const newSlaves = [...slaves];
|
|
303
|
+
|
|
304
|
+
// 1. 删除主行并获取序列值
|
|
305
|
+
const [deleted] = newMasters.splice(rowIdx, 1);
|
|
306
|
+
const deletedSeq = deleted[seqField];
|
|
307
|
+
|
|
308
|
+
// 2. 删除关联的从属行
|
|
309
|
+
for (let i = newSlaves.length - 1; i >= 0; i--) {
|
|
310
|
+
if (newSlaves[i][refField] === deletedSeq) {
|
|
311
|
+
newSlaves.splice(i, 1);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// 3. 重新计算主数据序列
|
|
316
|
+
const seqMap = {};
|
|
317
|
+
newMasters.forEach((master, idx) => {
|
|
318
|
+
const oldSeq = master[seqField];
|
|
319
|
+
const newSeq = idx + 1;
|
|
320
|
+
seqMap[oldSeq] = newSeq;
|
|
321
|
+
master[seqField] = newSeq;
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
// 4. 更新从属数据引用
|
|
325
|
+
newSlaves.forEach(slave => {
|
|
326
|
+
const ref = slave[refField];
|
|
327
|
+
if (seqMap[ref] !== undefined) {
|
|
328
|
+
slave[refField] = seqMap[ref];
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
|
|
332
|
+
return {list1: newMasters, list2: newSlaves};
|
|
333
|
+
}
|
|
334
|
+
//2个数组的行号处理 end
|
|
335
|
+
|
|
336
|
+
}
|
|
337
|
+
}
|
|
5
338
|
export default modules;
|