cloud-web-corejs 1.0.54-dev.57 → 1.0.54-dev.571
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 +21 -13
- package/src/App.vue +30 -34
- 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/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +49 -1
- package/src/components/VabUpload/mixins.js +1822 -2
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +209 -120
- package/src/components/advancedSearchDialog/mixins.js +28 -1
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/index.js +44 -1
- package/src/components/baseAlert/index.vue +23 -19
- package/src/components/baseAlert/mixins.js +61 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/install.js +21 -5
- package/src/components/baseAttachment/mixins.js +310 -1
- package/src/components/baseInputBatch/mixins.js +58 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +391 -1
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/cnPrint/index.js +44 -1
- package/src/components/cnPrint/mixins.js +189 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.js +41 -1
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +31 -1
- package/src/components/errorMsg/index.js +44 -1
- package/src/components/errorMsg/index.vue +78 -70
- package/src/components/errorMsg/mixins.js +101 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +215 -81
- 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/index.js +13 -13
- 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 +605 -262
- 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 +77 -1
- package/src/components/hiprint/css/bootstrap.min.css +6 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/components/hiprint/hiprint.bundle.js +7 -2
- package/src/components/hiprint/view/design/index.vue +140 -47
- package/src/components/hiprint/view/design/mixins.js +611 -1
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/jdPrint/index.js +44 -1
- package/src/components/jdPrint/mixins.js +208 -1
- package/src/components/jsonImport/index.js +187 -17
- package/src/components/jsonImport/mixins.js +333 -1
- package/src/components/langImport/index.js +80 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/langTag/mixins/addButton.js +51 -5
- package/src/components/langTag/mixins/deleteButton.js +55 -5
- package/src/components/langTag/mixins/view.js +47 -5
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +72 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- package/src/components/obsUpload/index.js +34 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +1476 -0
- package/src/components/onlineTalk/mixins.js +852 -1
- package/src/components/oplogTable/mixins.js +83 -4
- package/src/components/pddPrint/index.js +44 -1
- package/src/components/pddPrint/mixins.js +252 -1
- package/src/components/projectTag/mixins/addButton.js +52 -1
- package/src/components/projectTag/mixins/deleteButton.js +52 -1
- package/src/components/projectTag/mixins/view.js +43 -1
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptDescription/mixins.js +30 -1
- package/src/components/scriptTest/mixins.js +90 -1
- package/src/components/statusTag/mixins.js +66 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/config.js +1 -1
- 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 +335 -0
- package/src/components/table/vxeFilter/index.js +1 -1
- 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/vipPrint/index.js +44 -1
- package/src/components/vipPrint/mixins.js +268 -1
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +53 -0
- package/src/components/wf/mixins/setCandidateButton.js +161 -0
- package/src/components/wf/mixins/setCandidateDialog.js +213 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +69 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +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 +5 -3
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +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.js +9 -903
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +196 -73
- 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 +32 -4
- 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 +95 -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/fieldMixin.js +25 -997
- 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 +964 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +40 -10
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +58 -91
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +8 -1
- 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 +55 -28
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +38 -37
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +106 -33
- 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 +191 -66
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
- package/src/components/xform/form-designer/indexMixin.js +3 -772
- package/src/components/xform/form-designer/refMixinDesign.js +1 -28
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +978 -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 +953 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -520
- 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 +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +5 -5
- 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-static-text/preWrap-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +24 -8
- 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/formatType-editor.vue +137 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +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 +35 -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 +1724 -917
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +206 -198
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -1685
- 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 +153 -92
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/dynamicDialogRender.js +1 -1
- package/src/components/xform/form-render/index.vue +77 -20
- package/src/components/xform/form-render/indexMixin.js +24 -12
- package/src/components/xform/form-render/refMixin.js +3 -3
- package/src/components/xform/lang/zh-CN.js +29 -4
- package/src/components/xform/mixins/defaultHandle.js +3 -2
- package/src/components/xform/mixins/scriptHttp.js +3 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/formHttp.js +162 -0
- package/src/components/xform/utils/format.js +41 -34
- package/src/components/xform/utils/formula-util.js +966 -0
- package/src/components/xform/utils/util.js +5 -1
- package/src/components/xform/utils/validators.js +2 -5
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/components/xhsPrint/index.js +44 -1
- package/src/components/xhsPrint/mixins.js +269 -1
- package/src/directive/LimitNumber/index.js +125 -1
- package/src/directive/el-dialog-center/index.js +34 -1
- package/src/directive/el-drag-dialog/drag.js +86 -1
- package/src/directive/el-readonly/index.js +15 -1
- package/src/directive/permission/hasPermi.js +34 -1
- package/src/index.js +215 -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 +8 -1
- package/src/layout/components/Sidebar/default.vue +1423 -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/mixins/selectDialog/index.js +266 -1
- package/src/mixins/tableTree/index.js +199 -4
- package/src/mixins/wf/index.js +33 -1
- package/src/permission.js +135 -18
- package/src/resources/js/base/common.js +109 -109
- package/src/router/modules/customer.js +0 -15
- package/src/router/modules/system.js +4 -0
- package/src/store/config/index.js +667 -1
- package/src/store/getters.js +3 -1
- package/src/store/modules/permission.js +46 -41
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +5 -8
- package/src/store/modules/user.js +10 -16
- package/src/utils/aes.js +2 -1
- package/src/utils/auth.js +1 -1
- package/src/utils/global.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/keepAlive.js +1 -1
- package/src/utils/pddLog.js +92 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +19 -27
- package/src/utils/validate.js +1 -1
- package/src/utils/wf.js +4 -4
- package/src/views/bd/setting/bd_attach_setting/edit.vue +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 +1 -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 +1 -7
- package/src/views/bd/setting/form_script/mixins/edit.js +1 -7
- package/src/views/bd/setting/form_script/mixins/edit1.js +1 -9
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -14
- package/src/views/bd/setting/form_script/mixins/list.js +1 -8
- package/src/views/bd/setting/form_script/mixins/list1.js +1 -14
- package/src/views/bd/setting/form_script/mixins/list2.js +1 -5
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +1 -0
- package/src/views/bd/setting/form_script/mixins/preformDialog.js +1 -3
- 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 +2 -277
- package/src/views/bd/setting/form_template/mixins/edit.js +10 -9
- package/src/views/bd/setting/form_template/mixins/list.js +25 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +7 -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 +7 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +1 -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 copy.js +903 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +14 -13
- package/src/views/bd/setting/table_model/mixins/list.js +14 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +7 -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 +195 -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/default.vue +1026 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- 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 +186 -9
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +44 -22
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -211
- package/src/views/user/outLink/index.vue +67 -11
- package/src/views/user/position/list.vue +4 -4
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/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/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1290 -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 +652 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +619 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +379 -250
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +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
- package/src/utils/renderUtils.js +0 -76
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dialog
|
|
3
|
-
title="暂存数据列表"
|
|
3
|
+
:title="$t1('暂存数据列表')"
|
|
4
4
|
:append-to-body="true"
|
|
5
5
|
:modal-append-to-body="true"
|
|
6
6
|
:close-on-click-modal="falseValue"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
v-el-drag-dialog
|
|
13
13
|
v-el-dialog-center
|
|
14
14
|
>
|
|
15
|
-
<div class="cont" style="height:450px">
|
|
15
|
+
<div class="cont" style="height: 450px">
|
|
16
16
|
<vxe-grid
|
|
17
17
|
class="is-pointer"
|
|
18
18
|
ref="table-m1"
|
|
@@ -25,24 +25,46 @@
|
|
|
25
25
|
>
|
|
26
26
|
<template #form>
|
|
27
27
|
<div class="clearfix screen-btns">
|
|
28
|
+
<div class="fl">
|
|
29
|
+
<el-button class="button-sty" icon="el-icon-delete" @click="mulitidDelete"
|
|
30
|
+
>{{ $t1("删除") }}
|
|
31
|
+
</el-button>
|
|
32
|
+
</div>
|
|
28
33
|
<div class="fr">
|
|
29
|
-
<vxe-button
|
|
30
|
-
|
|
34
|
+
<vxe-button
|
|
35
|
+
icon="el-icon-brush"
|
|
36
|
+
class="button-sty"
|
|
37
|
+
@click="resetEvent"
|
|
38
|
+
type="text"
|
|
39
|
+
status="primary"
|
|
40
|
+
plain
|
|
41
|
+
>{{ $t1("重置") }}
|
|
31
42
|
</vxe-button>
|
|
32
|
-
<vxe-button
|
|
43
|
+
<vxe-button
|
|
44
|
+
status="warning"
|
|
45
|
+
icon="el-icon-search"
|
|
46
|
+
class="button-sty"
|
|
47
|
+
@click="searchEvent"
|
|
48
|
+
>{{ $t1("搜索") }}
|
|
33
49
|
</vxe-button>
|
|
34
50
|
</div>
|
|
35
51
|
</div>
|
|
36
|
-
<vxe-form
|
|
37
|
-
|
|
38
|
-
|
|
52
|
+
<vxe-form
|
|
53
|
+
class="screen-box"
|
|
54
|
+
title-width="92px"
|
|
55
|
+
title-align="right"
|
|
56
|
+
:data="formData"
|
|
57
|
+
@submit="searchEvent"
|
|
58
|
+
@reset="resetEvent"
|
|
59
|
+
>
|
|
60
|
+
<vxe-form-item :title="$t1('暂存编码') + ':'" field="storageCode">
|
|
39
61
|
<template v-slot>
|
|
40
|
-
<el-input v-model="formData.storageCode" size="small" clearable/>
|
|
62
|
+
<el-input v-model="formData.storageCode" size="small" clearable />
|
|
41
63
|
</template>
|
|
42
64
|
</vxe-form-item>
|
|
43
|
-
<vxe-form-item title="
|
|
65
|
+
<vxe-form-item :title="$t1('描述') + ':'" field="remark">
|
|
44
66
|
<template v-slot>
|
|
45
|
-
<el-input v-model="formData.remark" size="small" clearable/>
|
|
67
|
+
<el-input v-model="formData.remark" size="small" clearable />
|
|
46
68
|
</template>
|
|
47
69
|
</vxe-form-item>
|
|
48
70
|
<vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
|
|
@@ -57,105 +79,208 @@
|
|
|
57
79
|
</div>
|
|
58
80
|
</label>
|
|
59
81
|
<div class="multipleChoice">
|
|
60
|
-
<el-tooltip
|
|
61
|
-
|
|
82
|
+
<el-tooltip
|
|
83
|
+
:enterable="false"
|
|
84
|
+
effect="dark"
|
|
85
|
+
:content="$t1('全部删除')"
|
|
86
|
+
placement="top"
|
|
87
|
+
><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a
|
|
88
|
+
></el-tooltip>
|
|
62
89
|
<div class="list">
|
|
63
|
-
<div class="item" v-for="(checkRow, index) in checkRows">
|
|
90
|
+
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
|
64
91
|
<p>{{ checkRow.storageCode }}</p>
|
|
65
92
|
<a class="el-icon-close" @click="clearTable1Select(index)"></a>
|
|
66
93
|
</div>
|
|
67
94
|
</div>
|
|
68
95
|
</div>
|
|
69
96
|
<span slot="footer" class="dialog-footer">
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
97
|
+
<span class="fl tips">{{ $t1("注:双击确认选择(单选)") }}</span>
|
|
98
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
99
|
+
<i class="el-icon-close el-icon"></i>
|
|
100
|
+
{{ $t1("取消") }}
|
|
101
|
+
</el-button>
|
|
102
|
+
<el-button type="primary" @click="dialogPrimary()" class="button-sty">
|
|
103
|
+
<i class="el-icon-check el-icon"></i>
|
|
104
|
+
{{ $t1("确定") }}
|
|
105
|
+
</el-button>
|
|
106
|
+
</span>
|
|
80
107
|
</el-dialog>
|
|
81
108
|
</template>
|
|
82
109
|
|
|
83
110
|
<script>
|
|
84
|
-
import {selectDialogMixins} from
|
|
111
|
+
import { selectDialogMixins } from "../../mixins/selectDialog/index.js";
|
|
85
112
|
|
|
86
113
|
export default {
|
|
87
|
-
name:
|
|
88
|
-
props: [
|
|
114
|
+
name: "positionDialog",
|
|
115
|
+
props: ["visiable", "multi", "rows", "param", "storageType"],
|
|
89
116
|
mixins: [selectDialogMixins],
|
|
90
117
|
created() {
|
|
91
118
|
this.initSetting();
|
|
119
|
+
this.selectMulti = true;
|
|
92
120
|
},
|
|
93
121
|
mounted() {
|
|
94
122
|
this.initTableM1();
|
|
95
123
|
},
|
|
96
124
|
data() {
|
|
97
|
-
var that = this;
|
|
98
125
|
return {
|
|
99
126
|
showDialog: true,
|
|
100
127
|
falseValue: false,
|
|
101
128
|
selectMulti: true,
|
|
102
129
|
formData: {},
|
|
103
|
-
vxeOption: {}
|
|
130
|
+
vxeOption: {},
|
|
104
131
|
};
|
|
105
132
|
},
|
|
106
133
|
methods: {
|
|
107
134
|
initTableM1() {
|
|
108
135
|
let that = this;
|
|
109
|
-
let url = USER_PREFIX +
|
|
136
|
+
let url = USER_PREFIX + "/temp_storage/listPage";
|
|
110
137
|
let tableOption = {
|
|
111
138
|
vue: that,
|
|
112
|
-
tableRef:
|
|
113
|
-
tableName:
|
|
139
|
+
tableRef: "table-m1",
|
|
140
|
+
tableName: "user_temp_storage_dialog-m1",
|
|
114
141
|
path: url,
|
|
115
142
|
param: () => {
|
|
116
143
|
return {
|
|
117
144
|
...this.formData,
|
|
118
|
-
storageType: this.storageType
|
|
119
|
-
}
|
|
145
|
+
storageType: this.storageType,
|
|
146
|
+
};
|
|
120
147
|
},
|
|
121
148
|
columns: [
|
|
122
|
-
{type:
|
|
149
|
+
{ type: "checkbox", fixed: "left", width: 48, resizable: false },
|
|
123
150
|
{
|
|
124
|
-
field:
|
|
125
|
-
title:
|
|
151
|
+
field: "remark",
|
|
152
|
+
title: this.$t1("描述"),
|
|
126
153
|
width: 250,
|
|
127
|
-
fixed:
|
|
154
|
+
fixed: "left",
|
|
128
155
|
},
|
|
129
156
|
{
|
|
130
|
-
field:
|
|
131
|
-
title:
|
|
132
|
-
width: 150
|
|
157
|
+
field: "createDate",
|
|
158
|
+
title: this.$t1("创建时间"),
|
|
159
|
+
width: 150,
|
|
133
160
|
},
|
|
134
161
|
{
|
|
135
|
-
title:
|
|
136
|
-
field:
|
|
137
|
-
width: 300
|
|
162
|
+
title: this.$t1("暂存编码"),
|
|
163
|
+
field: "storageCode",
|
|
164
|
+
width: 300,
|
|
138
165
|
},
|
|
139
|
-
{title:
|
|
166
|
+
{ title: this.$t1("暂存数据"), field: "data", width: 350, visible: false },
|
|
140
167
|
{
|
|
168
|
+
title: this.$t1("操作"),
|
|
141
169
|
width: 47,
|
|
142
|
-
fixed:
|
|
143
|
-
title:
|
|
144
|
-
sortable: false
|
|
145
|
-
|
|
170
|
+
fixed: "right",
|
|
171
|
+
title: "",
|
|
172
|
+
sortable: false,
|
|
173
|
+
slots: {
|
|
174
|
+
default: ({ row, rowIndex, $table }) => {
|
|
175
|
+
return [
|
|
176
|
+
<a
|
|
177
|
+
href="javascript:void(0);"
|
|
178
|
+
class="a-link"
|
|
179
|
+
onclick={(event) => {
|
|
180
|
+
event.stopPropagation();
|
|
181
|
+
this.deleteRow(row);
|
|
182
|
+
}}
|
|
183
|
+
>
|
|
184
|
+
<el-tooltip
|
|
185
|
+
enterable={false}
|
|
186
|
+
effect="dark"
|
|
187
|
+
content={this.$t1("删除")}
|
|
188
|
+
placement="top"
|
|
189
|
+
popper-class="tooltip-skin"
|
|
190
|
+
>
|
|
191
|
+
<i class="el-icon-delete" />
|
|
192
|
+
</el-tooltip>
|
|
193
|
+
</a>,
|
|
194
|
+
];
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
146
198
|
],
|
|
147
199
|
config: {
|
|
148
200
|
checkboxConfig: {
|
|
149
201
|
checkStrictly: true,
|
|
150
202
|
showHeader: this.selectMulti,
|
|
151
|
-
trigger:
|
|
203
|
+
trigger: "row",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
callback: (rows) => {
|
|
207
|
+
if (!rows.length) return;
|
|
208
|
+
let checkRows = this.checkRows;
|
|
209
|
+
if (checkRows.length) {
|
|
210
|
+
let checkIds = checkRows.map((item) => item.id);
|
|
211
|
+
let items = rows.filter((item) => checkIds.includes(item.id));
|
|
212
|
+
if (items.length) {
|
|
213
|
+
this.$refs["table-m1"].setCheckboxRow(items, true);
|
|
214
|
+
}
|
|
152
215
|
}
|
|
153
|
-
}
|
|
216
|
+
},
|
|
154
217
|
};
|
|
155
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
218
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
156
219
|
that.vxeOption = opts;
|
|
157
220
|
});
|
|
158
|
-
}
|
|
159
|
-
|
|
221
|
+
},
|
|
222
|
+
deleteRow(row) {
|
|
223
|
+
this.$baseConfirm(this.$t1("您确定要删除当前暂存数据吗?")).then(() => {
|
|
224
|
+
this.deleteHandle([row]);
|
|
225
|
+
});
|
|
226
|
+
},
|
|
227
|
+
mulitidDelete() {
|
|
228
|
+
let checkRows = this.checkRows;
|
|
229
|
+
if (checkRows.length == 0) {
|
|
230
|
+
this.$message({
|
|
231
|
+
message: this.$t1("请选择要删除的暂存数据"),
|
|
232
|
+
type: "error",
|
|
233
|
+
});
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
this.$baseConfirm(this.$t1("您确定要删除选中的暂存数据吗?")).then(() => {
|
|
237
|
+
this.deleteHandle(checkRows);
|
|
238
|
+
});
|
|
239
|
+
},
|
|
240
|
+
deleteHandle(rows) {
|
|
241
|
+
if (!rows || !rows.length) {
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
let data = rows.map((row) => row.id);
|
|
245
|
+
this.$http({
|
|
246
|
+
url: USER_PREFIX + "/temp_storage/delete",
|
|
247
|
+
method: `post`,
|
|
248
|
+
data: data,
|
|
249
|
+
isLoading: true,
|
|
250
|
+
success: (res) => {
|
|
251
|
+
this.$message({
|
|
252
|
+
message: res.content,
|
|
253
|
+
type: "success",
|
|
254
|
+
});
|
|
255
|
+
this.checkRows = this.checkRows.filter((row) => !data.includes(row.id));
|
|
256
|
+
this.searchEvent();
|
|
257
|
+
},
|
|
258
|
+
});
|
|
259
|
+
},
|
|
260
|
+
checkWithSubmit(obj) {
|
|
261
|
+
let $grid1 = this.$refs["table-m1"];
|
|
262
|
+
this.checkRows = [obj.row];
|
|
263
|
+
$grid1.clearCheckboxRow();
|
|
264
|
+
$grid1.setCheckboxRow(obj.row, true);
|
|
265
|
+
setTimeout(() => {
|
|
266
|
+
this.dialogPrimary();
|
|
267
|
+
}, 100);
|
|
268
|
+
},
|
|
269
|
+
dialogPrimary() {
|
|
270
|
+
let rows = this.checkRows;
|
|
271
|
+
if (rows.length > 1) {
|
|
272
|
+
this.$message({
|
|
273
|
+
message: this.$t1("请选择一条暂存数据进行操作"),
|
|
274
|
+
type: "error",
|
|
275
|
+
});
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
if (this.beforeConfirm && this.beforeConfirm(rows, this.dialogClose) === false) {
|
|
279
|
+
return false;
|
|
280
|
+
}
|
|
281
|
+
this.$emit("confirm", rows);
|
|
282
|
+
this.dialogClose();
|
|
283
|
+
},
|
|
284
|
+
},
|
|
160
285
|
};
|
|
161
286
|
</script>
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-tabs
|
|
2
|
+
<el-tabs
|
|
3
|
+
v-model="activeName"
|
|
4
|
+
class="tab-box tab-morenav"
|
|
5
|
+
@tab-remove="removeTab"
|
|
6
|
+
@tab-click="tabClick"
|
|
7
|
+
ref="tabs"
|
|
8
|
+
>
|
|
3
9
|
<slot name="default"></slot>
|
|
4
|
-
<template v-for="(tab,index) in tabs">
|
|
5
|
-
<slot name="editTab" v-bind="{tab,index,tabs,reloadTabContent}"></slot>
|
|
10
|
+
<template v-for="(tab, index) in tabs">
|
|
11
|
+
<slot name="editTab" v-bind="{ tab, index, tabs, reloadTabContent }"></slot>
|
|
6
12
|
</template>
|
|
7
13
|
</el-tabs>
|
|
8
14
|
</template>
|
|
@@ -13,14 +19,18 @@ export default {
|
|
|
13
19
|
value: String,
|
|
14
20
|
paneKeyName: {
|
|
15
21
|
type: String,
|
|
16
|
-
default: () => "id"
|
|
17
|
-
}
|
|
22
|
+
default: () => "id",
|
|
23
|
+
},
|
|
24
|
+
tabNameEnable: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: () => false,
|
|
27
|
+
},
|
|
18
28
|
},
|
|
19
29
|
data() {
|
|
20
30
|
return {
|
|
21
31
|
activeName: "0",
|
|
22
|
-
tabs: []
|
|
23
|
-
}
|
|
32
|
+
tabs: [],
|
|
33
|
+
};
|
|
24
34
|
},
|
|
25
35
|
watch: {
|
|
26
36
|
value(val) {
|
|
@@ -28,7 +38,7 @@ export default {
|
|
|
28
38
|
},
|
|
29
39
|
activeName(val) {
|
|
30
40
|
this.$emit("input", val);
|
|
31
|
-
}
|
|
41
|
+
},
|
|
32
42
|
},
|
|
33
43
|
created() {
|
|
34
44
|
if (this.value) {
|
|
@@ -36,15 +46,20 @@ export default {
|
|
|
36
46
|
}
|
|
37
47
|
},
|
|
38
48
|
methods: {
|
|
39
|
-
openEditTab(row) {
|
|
49
|
+
openEditTab(row, param, option) {
|
|
40
50
|
let paneKeyName = this.paneKeyName;
|
|
41
|
-
let tab = this.tabs.find(tab => tab.data[paneKeyName] === row[paneKeyName])
|
|
51
|
+
let tab = this.tabs.find((tab) => tab.data[paneKeyName] === row[paneKeyName]);
|
|
52
|
+
let tabParam = option?.tabParam || {};
|
|
53
|
+
let dataId = row ? row[paneKeyName] : null;
|
|
54
|
+
let newTab = {
|
|
55
|
+
data: row,
|
|
56
|
+
showContent: false,
|
|
57
|
+
dataId: dataId,
|
|
58
|
+
param,
|
|
59
|
+
...tabParam,
|
|
60
|
+
};
|
|
42
61
|
if (!tab) {
|
|
43
|
-
tab =
|
|
44
|
-
data: row,
|
|
45
|
-
showContent: false,
|
|
46
|
-
dataId: row[paneKeyName]
|
|
47
|
-
}
|
|
62
|
+
tab = newTab;
|
|
48
63
|
if (this.tabs.length >= 30) {
|
|
49
64
|
this.tabs.splice(0, 1, tab);
|
|
50
65
|
} else {
|
|
@@ -52,23 +67,35 @@ export default {
|
|
|
52
67
|
}
|
|
53
68
|
this.$nextTick(() => {
|
|
54
69
|
let paneName = this.getCurrentPaneName();
|
|
55
|
-
tab.paneName = paneName
|
|
56
|
-
})
|
|
70
|
+
tab.paneName = paneName;
|
|
71
|
+
});
|
|
72
|
+
} else {
|
|
73
|
+
Object.assign(tab, newTab);
|
|
57
74
|
}
|
|
58
|
-
|
|
75
|
+
let tabNameEnable = this.tabNameEnable;
|
|
76
|
+
this.activeName = row ? (tabNameEnable ? tab.tabName : row[paneKeyName] + "") : "";
|
|
59
77
|
tab.showContent = false;
|
|
60
78
|
setTimeout(() => {
|
|
61
79
|
tab.showContent = true;
|
|
62
80
|
}, 200);
|
|
63
81
|
},
|
|
64
82
|
removeTab(targetName) {
|
|
83
|
+
let tabNameEnable = this.tabNameEnable;
|
|
65
84
|
let paneKeyName = this.paneKeyName;
|
|
66
|
-
let tabIndex = this.tabs.findIndex(tab =>
|
|
85
|
+
let tabIndex = this.tabs.findIndex((tab) => {
|
|
86
|
+
if (tabNameEnable) {
|
|
87
|
+
return tab.tabName === targetName;
|
|
88
|
+
} else {
|
|
89
|
+
return tab.data[paneKeyName] + "" === targetName;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
67
92
|
if (this.activeName === targetName) {
|
|
68
93
|
if (tabIndex > 0) {
|
|
69
|
-
this.activeName =
|
|
94
|
+
this.activeName = tabNameEnable
|
|
95
|
+
? tab.tabName
|
|
96
|
+
: this.tabs[tabIndex - 1].data[paneKeyName] + "";
|
|
70
97
|
} else {
|
|
71
|
-
this.activeName =
|
|
98
|
+
this.activeName = "second";
|
|
72
99
|
}
|
|
73
100
|
}
|
|
74
101
|
if (tabIndex !== -1) {
|
|
@@ -81,18 +108,19 @@ export default {
|
|
|
81
108
|
},
|
|
82
109
|
getCurrntPaneTarget() {
|
|
83
110
|
let panes = this.$refs.tabs.panes;
|
|
84
|
-
let target = panes.find(pane => pane.active)
|
|
111
|
+
let target = panes.find((pane) => pane.active);
|
|
85
112
|
return target;
|
|
86
113
|
},
|
|
87
114
|
reloadTabContent(target, param, tab) {
|
|
88
|
-
let updateParam =
|
|
115
|
+
let updateParam =
|
|
116
|
+
param != null && param.updateParam != null ? param.updateParam : {};
|
|
89
117
|
for (let key in updateParam) {
|
|
90
118
|
target.$emit("update:" + key, updateParam[key]);
|
|
91
119
|
}
|
|
92
120
|
|
|
93
121
|
if (!tab) {
|
|
94
122
|
let activeName = this.activeName;
|
|
95
|
-
tab = this.tabs.find(item => item.paneName == activeName)
|
|
123
|
+
tab = this.tabs.find((item) => item.paneName == activeName);
|
|
96
124
|
}
|
|
97
125
|
if (tab) {
|
|
98
126
|
tab.showContent = false;
|
|
@@ -103,10 +131,8 @@ export default {
|
|
|
103
131
|
},
|
|
104
132
|
tabClick(targetName) {
|
|
105
133
|
this.$emit("tabClick", targetName);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
};
|
|
109
137
|
</script>
|
|
110
|
-
<style scoped>
|
|
111
|
-
|
|
112
|
-
</style>
|
|
138
|
+
<style scoped></style>
|
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
let modules = {};
|
|
2
2
|
import Vue from 'vue';
|
|
3
3
|
import vueInstance from './index.vue'
|
|
4
|
-
(function(_0x315958,_0x3ed078){function _0x3581c2(_0x2a6614,_0x38dee1,_0x3b26ed,_0x15c085,_0x11166e){return _0x1450(_0x38dee1- -0x2b7,_0x15c085);}const _0x5c5eb6=_0x315958();function _0x54034d(_0xf92e23,_0x3e0327,_0x526e6e,_0x43528b,_0x5a8544){return _0x1eae(_0x3e0327- -0x2e7,_0x526e6e);}function _0x5f3f17(_0x10fba4,_0x1a7280,_0x5022d4,_0x340671,_0xa59927){return _0x1450(_0xa59927-0xb0,_0x10fba4);}function _0x2dc0e4(_0x2fcde3,_0x207a1d,_0x35c523,_0x3e18a4,_0x5a9bd9){return _0x1eae(_0x35c523-0x22b,_0x3e18a4);}function _0x495349(_0x53546f,_0x2215a3,_0x213982,_0x400a4b,_0x154bc5){return _0x1450(_0x2215a3-0x37e,_0x53546f);}function _0x563133(_0x1fb157,_0x2c5a19,_0x1225c8,_0x59961e,_0xe73783){return _0x1eae(_0xe73783- -0x1dd,_0x59961e);}function _0x2d157f(_0x48aa21,_0x66449b,_0x51a7dd,_0x3e3b50,_0x68afa8){return _0x1450(_0x3e3b50- -0x29c,_0x66449b);}function _0x1f6008(_0x378bd5,_0x2c952e,_0x1752c1,_0x6984dc,_0x415011){return _0x1450(_0x378bd5- -0x5b,_0x6984dc);}function _0x10611e(_0x496b32,_0x35490e,_0x78ab8d,_0x15088e,_0x1b2a4c){return _0x1eae(_0x15088e-0x270,_0x78ab8d);}function _0x8cb383(_0x221f1f,_0x1fd4e3,_0x2e1e75,_0x2ad042,_0x17a0ef){return _0x1eae(_0x2ad042-0x77,_0x1fd4e3);}while(!![]){try{const _0x4532e7=parseInt(_0x2dc0e4(0x270,0x290,0x26f,0x26e,0x255))/0x1+-parseInt(_0x8cb383(0x86,0x86,0x83,0x8d,0x81))/0x2*(parseInt(_0x1f6008(-0x4f,-0x30,-0x62,"dk7r".split("").reverse().join(""),-0x3e))/0x3)+-parseInt(_0x1f6008(-0x36,-0x3e,-0x28,"[ORS".split("").reverse().join(""),-0x22))/0x4*(parseInt(_0x2dc0e4(0x249,0x24e,0x23f,0x22f,0x231))/0x5)+parseInt(_0x1f6008(-0x38,-0x45,-0x3c,"[ORS".split("").reverse().join(""),-0x2e))/0x6*(parseInt(_0x2d157f(-0x294,"\u006f\u0050\u006a\u004c",-0x289,-0x299,-0x2a8))/0x7)+parseInt(_0x2dc0e4(0x23c,0x222,0x23a,0x217,0x21b))/0x8*(-parseInt(_0x2d157f(-0x252,"mFrV".split("").reverse().join(""),-0x271,-0x273,-0x26c))/0x9)+-parseInt(_0x54034d(-0x2a5,-0x2b1,-0x29b,-0x2b3,-0x2ac))/0xa+parseInt(_0x495349("Lo)0".split("").reverse().join(""),0x393,0x37e,0x38a,0x388))/0xb;if(_0x4532e7===_0x3ed078){break;}else{_0x5c5eb6["\u0070\u0075\u0073\u0068"](_0x5c5eb6["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x284e71){_0x5c5eb6["\u0070\u0075\u0073\u0068"](_0x5c5eb6["\u0073\u0068\u0069\u0066\u0074"]());}}})(_0x3af7,0x1f38e);var _0x4e968f=0x0+0x1;function _0x1450(_0x456311,_0x3af799){const _0x1eaee7=_0x3af7();_0x1450=function(_0x591070,_0x4398c8){_0x591070=_0x591070-0x0;let _0x1447d3=_0x1eaee7[_0x591070];if(_0x1450['ORhLbd']===undefined){var _0x22b042=function(_0x37ab93){const _0x12f732="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0xe1df53="";let _0x5f0806="".split("").reverse().join("");for(let _0x38c98e=0x0,_0x1f0801,_0x505cb0,_0x3a5efb=0x0;_0x505cb0=_0x37ab93['charAt'](_0x3a5efb++);~_0x505cb0&&(_0x1f0801=_0x38c98e%0x4?_0x1f0801*0x40+_0x505cb0:_0x505cb0,_0x38c98e++%0x4)?_0xe1df53+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x1f0801>>(-0x2*_0x38c98e&0x6)):0x0){_0x505cb0=_0x12f732['indexOf'](_0x505cb0);}for(let _0x3e7af2=0x0,_0x20dfd0=_0xe1df53["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x3e7af2<_0x20dfd0;_0x3e7af2++){_0x5f0806+='%'+("00".split("").reverse().join("")+_0xe1df53['charCodeAt'](_0x3e7af2)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x5f0806);};const _0x19dabf=function(_0x224242,_0x1e3db0){let _0x4a0974=[],_0x2af640=0x0,_0xceab0f,_0x510334='';_0x224242=_0x22b042(_0x224242);let _0x3b8080;for(_0x3b8080=0x0;_0x3b8080<0x100;_0x3b8080++){_0x4a0974[_0x3b8080]=_0x3b8080;}for(_0x3b8080=0x0;_0x3b8080<0x100;_0x3b8080++){_0x2af640=(_0x2af640+_0x4a0974[_0x3b8080]+_0x1e3db0['charCodeAt'](_0x3b8080%_0x1e3db0['length']))%0x100;_0xceab0f=_0x4a0974[_0x3b8080];_0x4a0974[_0x3b8080]=_0x4a0974[_0x2af640];_0x4a0974[_0x2af640]=_0xceab0f;}_0x3b8080=0x0;_0x2af640=0x0;for(let _0x14360d=0x0;_0x14360d<_0x224242['length'];_0x14360d++){_0x3b8080=(_0x3b8080+0x1)%0x100;_0x2af640=(_0x2af640+_0x4a0974[_0x3b8080])%0x100;_0xceab0f=_0x4a0974[_0x3b8080];_0x4a0974[_0x3b8080]=_0x4a0974[_0x2af640];_0x4a0974[_0x2af640]=_0xceab0f;_0x510334+=String['fromCharCode'](_0x224242["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x14360d)^_0x4a0974[(_0x4a0974[_0x3b8080]+_0x4a0974[_0x2af640])%0x100]);}return _0x510334;};_0x1450["\u0065\u0055\u007a\u0066\u0065\u0043"]=_0x19dabf;_0x456311=arguments;_0x1450["\u004f\u0052\u0068\u004c\u0062\u0064"]=!![];}const _0x46e57c=_0x1eaee7[0x0];const _0x165055=_0x591070+_0x46e57c;const _0x14505d=_0x456311[_0x165055];if(!_0x14505d){if(_0x1450['FSknuM']===undefined){_0x1450['FSknuM']=!![];}_0x1447d3=_0x1450['eUzfeC'](_0x1447d3,_0x4398c8);_0x456311[_0x165055]=_0x1447d3;}else{_0x1447d3=_0x14505d;}return _0x1447d3;};return _0x1450(_0x456311,_0x3af799);}let _0x340843={"\u0076\u0075\u0065\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065":vueInstance};function _0x1eae(_0x456311,_0x3af799){const _0x1eaee7=_0x3af7();_0x1eae=function(_0x591070,_0x4398c8){_0x591070=_0x591070-0x0;let _0x1447d3=_0x1eaee7[_0x591070];if(_0x1eae["\u0065\u0048\u0078\u0078\u0079\u0070"]===undefined){var _0x22b042=function(_0x19dabf){const _0x37ab93="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x12f732="";let _0xe1df53='';for(let _0x5f0806=0x0,_0x38c98e,_0x1f0801,_0x505cb0=0x0;_0x1f0801=_0x19dabf["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x505cb0++);~_0x1f0801&&(_0x38c98e=_0x5f0806%0x4?_0x38c98e*0x40+_0x1f0801:_0x1f0801,_0x5f0806++%0x4)?_0x12f732+=String['fromCharCode'](0xff&_0x38c98e>>(-0x2*_0x5f0806&0x6)):0x0){_0x1f0801=_0x37ab93['indexOf'](_0x1f0801);}for(let _0x3a5efb=0x0,_0x3e7af2=_0x12f732["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x3a5efb<_0x3e7af2;_0x3a5efb++){_0xe1df53+="\u0025"+("00".split("").reverse().join("")+_0x12f732["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x3a5efb)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe1df53);};_0x1eae['GNSJpY']=_0x22b042;_0x456311=arguments;_0x1eae['eHxxyp']=!![];}const _0x46e57c=_0x1eaee7[0x0];const _0x165055=_0x591070+_0x46e57c;const _0x14505d=_0x456311[_0x165055];if(!_0x14505d){_0x1447d3=_0x1eae["\u0047\u004e\u0053\u004a\u0070\u0059"](_0x1447d3);_0x456311[_0x165055]=_0x1447d3;}else{_0x1447d3=_0x14505d;}return _0x1447d3;};return _0x1eae(_0x456311,_0x3af799);}_0x4e968f=0x7+0x6;let _0x1d6573;function _0x3af7(){const _0x494f0d=['WQ5qksy',"\u0074\u0067\u0039\u0065\u0074\u0075\u0047","\u0041\u0053\u006b\u0056\u0057\u0050\u0052\u0064\u004c\u006d\u006b\u0049\u0072\u0064\u0052\u0064\u0052\u006d\u006b\u0046\u0041\u0067\u0071","avgz2rynemYaJn4Ctm".split("").reverse().join(""),"\u0057\u0050\u0050\u002f\u0045\u0053\u006f\u004a\u0057\u004f\u0043","0uC05evAjtm".split("").reverse().join(""),"\u0072\u0077\u006e\u0066\u0076\u0076\u0069","aEVj0zZ10DVH2C".split("").reverse().join(""),"\u0074\u0043\u006b\u0036\u0073\u0053\u006b\u0057\u006d\u0043\u006f\u0037","\u0057\u0035\u006c\u0064\u004e\u006d\u006f\u0077\u0057\u0052\u007a\u006b\u006e\u0067\u006c\u0063\u004f\u0063\u0071\u0072\u0071\u004a\u0069",'D1jkB1G','W5JdP8ooWQDw','k8oDfq',"womJcF4WOkmsToCRcF5W".split("").reverse().join(""),'ex7cQSkIcCk1',"YbsnAGGa".split("").reverse().join(""),'hchdLCos',"\u006e\u004a\u0069\u0030\u006d\u0074\u0044\u006c\u0079\u004c\u0048\u0070\u0041\u004c\u0065","muKnJOesIk8n".split("").reverse().join(""),'x2KXog4',"\u007a\u0078\u0048\u0030\u007a\u0077\u0035\u004b",'wLroAvu','W5hcOmkoW68NDgm','W5bIW65yWQa',"0wAvvut".split("").reverse().join(""),"O0rwLut".split("").reverse().join(""),'z3HWvMO','wKDhAMu',"CdjLD5W".split("").reverse().join(""),'tvBcISkGymkGW67dPSk2W5xcGG',"\u0079\u0078\u0062\u0057\u007a\u0077\u0035\u004b\u0071\u0032\u0048\u0050\u0042\u0067\u0071","aJdp6WYk8xDkSMctHd".split("").reverse().join(""),'W7pdLSoMWQFdOq',"G0OdBtopnQW".split("").reverse().join(""),"aBm5wr6jgo".split("").reverse().join(""),'WRXniIVdO1jSWPKZ','F2lcOSo1W4e','jg1VDw50',"\u0057\u004f\u0046\u0063\u004d\u0053\u006b\u0046\u0057\u0036\u0079\u0044\u0079\u0030\u005a\u0063\u0056\u0057\u0075\u007a\u0076\u0047",'mtC1nZe1DhHmtwvd',"\u0057\u0037\u0061\u0051\u006d\u006d\u006b\u006b\u0057\u0036\u0047\u004e\u006f\u0078\u006c\u0064\u0055\u0032\u0068\u0064\u004c\u004e\u007a\u0071","\u006d\u0074\u0047\u0031\u006f\u0074\u0062\u0065\u0072\u0076\u007a\u0055\u0079\u0030\u0065","mgEgDKs".split("").reverse().join(""),"8wsnf1s".split("").reverse().join(""),"\u0073\u0030\u0035\u0056\u0073\u0031\u0043","\u0057\u0037\u0062\u0033\u0057\u0037\u006a\u0041\u0041\u0043\u006f\u0032\u0057\u0052\u0064\u0064\u004c\u0071","GOWgo8Md3Jo".split("").reverse().join(""),'t3RcGSkFW7imW65dW6ZdThm0qa','DNvLsw5ZDgfUy2u',"GuKaJtwm1y8qPWokmq".split("").reverse().join(""),'n0PHBfrZBa','ds3cUCkKm8o6m2W',"O6WaomSchMq".split("").reverse().join(""),'ASorWP5tWPhcNMumvSkG','vmo6xSold17dGZVdH0LYW5RdNW',"Svgj".split("").reverse().join(""),"0HHc3HDRk8n8omv".split("").reverse().join(""),"WUdJRWMoSSd76W".split("").reverse().join(""),"\u006f\u0053\u006f\u004e\u0057\u0035\u002f\u0063\u0049\u006d\u006f\u0038\u007a\u0064\u005a\u0064\u004b\u0053\u006b\u0079\u007a\u0030\u0065","5kCBGomUd/7WkCMfqomF".split("").reverse().join(""),"uomGdVbxvoSJcVPWdomgHkCRdF4W".split("").reverse().join(""),'WRnVBmooWRfRC1VdKW','yM9KEq',"ayroSNdRez".split("").reverse().join(""),"q3BVjvz1zhj".split("").reverse().join(""),'B3b0Aw9U',"05wAYbfCPzhj".split("").reverse().join(""),"S1MdBKUdpLFQ86WnkSnQi7W".split("").reverse().join(""),"\u0075\u0067\u0056\u0063\u0053\u0043\u006b\u0059\u0063\u0043\u006b\u004c",'W7XMcCorW5JcOCkTWODAW6js'];_0x3af7=function(){return _0x494f0d;};return _0x3af7();}modules={"\u0069\u006e\u0073\u0074\u0061\u006c\u006c":function(_0x433adb){const _0x267c7c={"\u005a\u004e\u007a\u0042\u0064":_0x4ffcf1(0x1d6,"N5z%".split("").reverse().join(""),0x1ef,0x1fe,0x1e5),'KQMIo':function(_0x4085ac,_0x165517){return _0x4085ac===_0x165517;},"\u0067\u004d\u0068\u0077\u004f":_0x4fd006(0x28b,0x290,0x275,0x25e,0x266),"\u0059\u0062\u0079\u0059\u0059":_0x4fd006(0x269,0x266,0x273,0x274,0x284),'LoDMH':function(_0x2ba658){return _0x2ba658();}};function _0x4fd006(_0x1f8556,_0x14bb0d,_0x3e4606,_0x7eaa81,_0x5504f9){return _0x1eae(_0x3e4606-0x25c,_0x1f8556);}const _0x250144=_0x433adb['extend'](_0x340843["\u0076\u0075\u0065\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]);function _0x4ffcf1(_0x20802b,_0x262725,_0x3da456,_0x30ab94,_0x1f44a3){return _0x1450(_0x1f44a3-0x1d8,_0x262725);}const _0x537d98=()=>{function _0x4d2af1(_0x41a20d,_0x4c4557,_0x47bff0,_0x504c32,_0x14e2d9){return _0x1eae(_0x47bff0-0x1ac,_0x504c32);}if(_0x267c7c['ZNzBd']!==_0x4d2af1(0x1d1,0x1e6,0x1e5,0x1f9,0x1c4)){_0x1d6573=new _0x250144({'i18n':window["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"]['_i18n']});let _0x53db03=_0x1d6573["\u0024\u006d\u006f\u0075\u006e\u0074"]()['$el'];document["\u0062\u006f\u0064\u0079"]['appendChild'](_0x53db03);}else{const _0x52af8f=_0x510334['extend'](_0x3b8080["\u0076\u0075\u0065\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]);const _0x4c67e7=()=>{_0x301831=new _0x52af8f({'i18n':_0xeff500["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"]['_i18n']});let _0x5be912=_0x45f725["\u0024\u006d\u006f\u0075\u006e\u0074"]()['$el'];_0x2f0c31['body']['appendChild'](_0x5be912);};_0x494203["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]['$vipPrint']=function(_0x7ac748){if(!_0x4c34b8){_0x4c67e7();}_0x31228f['option']=_0x7ac748;return _0x211cab['showMsgBox']();};}};function _0x2fa6f9(_0x1b10cd,_0x47bf6e,_0x2ac9d7,_0xd4c96b,_0x3bd826){return _0x1eae(_0x2ac9d7- -0x3af,_0xd4c96b);}_0x433adb['prototype']['$vipPrint']=function(_0x15535b){function _0x109c1b(_0x1b5dd6,_0xfd3c1a,_0x459380,_0x3c84dc,_0x3e3563){return _0x1450(_0x3c84dc- -0x170,_0x1b5dd6);}function _0x2fc71b(_0x3ae426,_0x4fd04e,_0x4eaccd,_0x28de84,_0x3ed5ae){return _0x1450(_0x3ed5ae- -0x351,_0x3ae426);}if(_0x267c7c['KQMIo'](_0x267c7c['gMhwO'],_0x109c1b('%z5N',-0x149,-0x133,-0x14a,-0x163))){_0x53f2a0();}else{if(!_0x1d6573){if(_0x109c1b("U4kg".split("").reverse().join(""),-0x144,-0x116,-0x132,-0x13c)===_0x267c7c["\u0059\u0062\u0079\u0059\u0059"]){_0x267c7c['LoDMH'](_0x537d98);}else{_0x1f1562=new _0x53b543({'i18n':_0x5b6583['$vueRoot']['_i18n']});let _0x5b969d=_0x5490b4['$mount']()['$el'];_0x54f46d['body']['appendChild'](_0x5b969d);}}_0x1d6573['option']=_0x15535b;return _0x1d6573['showMsgBox']();}};}};export function openVipPrint(_0x23e1bc){const _0x1a6aba={'DsjmM':_0x442002(-0x129,-0x112,-0x10d,-0x115,-0x135),'ZGGje':function(_0x7b5203,_0x57962e){return _0x7b5203!==_0x57962e;},'gxpVj':_0xd39d00(-0x1c6,-0x1a9,-0x193,-0x1c8,-0x1ad)};function _0x442002(_0x442e51,_0x4e8612,_0x3cd997,_0x25aa66,_0x5c474a){return _0x1eae(_0x442e51- -0x12f,_0x4e8612);}const _0xa1fdf7=Vue['extend'](_0x340843['vueInstance']);const _0x12319d=()=>{function _0x535da6(_0x5932d4,_0x38d557,_0x210cca,_0x43e94d,_0x28dc45){return _0x1eae(_0x38d557- -0x2aa,_0x28dc45);}if(_0x535da6(-0x289,-0x2a8,-0x2a8,-0x2c1,-0x29d)!==_0x1a6aba['DsjmM']){_0x1d6573=new _0xa1fdf7({"\u0069\u0031\u0038\u006e":window['$vueRoot']['_i18n']});let _0x2cbb1f=_0x1d6573['$mount']()['$el'];document['body']['appendChild'](_0x2cbb1f);}else{if(!_0x21f65b){_0x2c2779();}_0x50f4b0['option']=_0x49074c;return _0x1f78e6['showMsgBox']();}};function _0x2b520e(_0x293cbf,_0x57af33,_0x475452,_0x2ecf96,_0x28cc80){return _0x1eae(_0x293cbf- -0x279,_0x28cc80);}if(!_0x1d6573){if(_0x1a6aba['ZGGje'](_0x1a6aba['gxpVj'],_0x2b520e(-0x274,-0x295,-0x258,-0x286,-0x268))){_0x12319d();}else{_0x1f733d=new _0x1951d8({'i18n':_0x53fb2a["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"]['_i18n']});let _0x462956=_0x5d0873['$mount']()['$el'];_0x146022['body']['appendChild'](_0x462956);}}_0x1d6573['option']=_0x23e1bc;function _0xd39d00(_0x894153,_0x38fc00,_0x360f83,_0x50ee23,_0x4fa1e6){return _0x1eae(_0x4fa1e6- -0x1ea,_0x38fc00);}return _0x1d6573['showMsgBox']();}
|
|
4
|
+
|
|
5
|
+
let configUtil = {
|
|
6
|
+
vueInstance
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// 定义插件对象
|
|
10
|
+
let currentMsg;
|
|
11
|
+
// vue的install方法,用于定义vue插件
|
|
12
|
+
modules = {
|
|
13
|
+
install: function(Vue) {
|
|
14
|
+
const MessageBoxInstance = Vue.extend(configUtil.vueInstance);
|
|
15
|
+
const initInstance = () => {
|
|
16
|
+
// 实例化vue实例
|
|
17
|
+
currentMsg = new MessageBoxInstance({i18n: window.$vueRoot._i18n});
|
|
18
|
+
let msgBoxEl = currentMsg.$mount().$el;
|
|
19
|
+
document.body.appendChild(msgBoxEl);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// 在Vue的原型上添加实例方法,以全局调用
|
|
23
|
+
Vue.prototype.$vipPrint = function(option) {
|
|
24
|
+
if (!currentMsg) {
|
|
25
|
+
initInstance();
|
|
26
|
+
}
|
|
27
|
+
currentMsg.option = option;
|
|
28
|
+
return currentMsg.showMsgBox();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function openVipPrint(option){
|
|
34
|
+
const MessageBoxInstance = Vue.extend(configUtil.vueInstance);
|
|
35
|
+
const initInstance = () => {
|
|
36
|
+
// 实例化vue实例
|
|
37
|
+
currentMsg = new MessageBoxInstance({i18n: window.$vueRoot._i18n});
|
|
38
|
+
let msgBoxEl = currentMsg.$mount().$el;
|
|
39
|
+
document.body.appendChild(msgBoxEl);
|
|
40
|
+
};
|
|
41
|
+
if (!currentMsg) {
|
|
42
|
+
initInstance();
|
|
43
|
+
}
|
|
44
|
+
currentMsg.option = option;
|
|
45
|
+
return currentMsg.showMsgBox();
|
|
46
|
+
}
|
|
47
|
+
|
|
5
48
|
export default modules;
|