cloud-web-corejs 1.0.54-dev.57 → 1.0.54-dev.572
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 +956 -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 +1725 -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 +67 -37
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +270 -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
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</tr>
|
|
50
50
|
<tr>
|
|
51
51
|
<th>{{ $t2('创建人', 'system.label.createBy') }}</th>
|
|
52
|
-
<td>{{ attachmentDTO.
|
|
52
|
+
<td>{{ attachmentDTO._createBy }}</td>
|
|
53
53
|
<th>{{ $t2('创建时间', 'system.label.createDate') }}</th>
|
|
54
54
|
<td>{{ attachmentDTO.createDate }}</td>
|
|
55
55
|
</tr>
|
|
@@ -1,120 +1,209 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div id="uploadImage" :class="
|
|
4
|
-
<div
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div id="uploadImage" :class="classList">
|
|
4
|
+
<div
|
|
5
|
+
class="upload-list"
|
|
6
|
+
model="singer"
|
|
7
|
+
v-for="(attachment, index) in attachments"
|
|
8
|
+
:key="index"
|
|
9
|
+
style="display: inline-block; vertical-align: middle; float: left"
|
|
10
|
+
>
|
|
11
|
+
<template v-if="$attrs.hideInfo !== true && $attrs.hideInfo !== 'true'">
|
|
12
|
+
<div class="upload-box">
|
|
13
|
+
<ul class="el-upload-list el-upload-list--picture">
|
|
14
|
+
<li tabindex="0" class="el-upload-list__item">
|
|
15
|
+
<div>
|
|
16
|
+
<div class="el-upload-list__item-thumbnail">
|
|
17
|
+
<div
|
|
18
|
+
class="show-video"
|
|
19
|
+
v-if="hasPreview(attachment)"
|
|
20
|
+
@click="openPreview(attachment, index)"
|
|
21
|
+
>
|
|
22
|
+
<i class="icon-chakan"></i>
|
|
23
|
+
</div>
|
|
24
|
+
<p>
|
|
25
|
+
<el-image
|
|
26
|
+
:src="getShowUrl(attachment)"
|
|
27
|
+
@click="openPreview(attachment, index)"
|
|
28
|
+
:z-index="999999"
|
|
29
|
+
/>
|
|
30
|
+
</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="el-upload-list__item-name">
|
|
33
|
+
<el-tooltip
|
|
34
|
+
:enterable="false"
|
|
35
|
+
class="item"
|
|
36
|
+
effect="dark"
|
|
37
|
+
:content="getAttachmentName(attachment)"
|
|
38
|
+
placement="top"
|
|
39
|
+
>
|
|
40
|
+
<p v-if="$attrs.hideName !== true">
|
|
41
|
+
{{ getAttachmentName(attachment) }}
|
|
42
|
+
</p>
|
|
43
|
+
</el-tooltip>
|
|
44
|
+
<p v-if="$attrs.showSize === true || $attrs.showSize === 'true'">
|
|
45
|
+
{{ formatFileSize(attachment.fileSize) }}
|
|
46
|
+
</p>
|
|
47
|
+
<!-- <p v-if="$attrs.showSortInput !== true && !dataType && $attrs.createBy !== false">
|
|
48
|
+
{{ attachment.createBy }}</p>-->
|
|
49
|
+
<p
|
|
50
|
+
v-if="
|
|
51
|
+
$attrs.showSortInput !== true &&
|
|
52
|
+
!dataType &&
|
|
53
|
+
$attrs.createDate !== false
|
|
54
|
+
"
|
|
55
|
+
>
|
|
56
|
+
{{ attachment.createDate }}
|
|
57
|
+
</p>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="el-upload-input" v-if="$attrs.showSortInput">
|
|
60
|
+
<base-input-number
|
|
61
|
+
v-model="attachment.orders"
|
|
62
|
+
class="button-sty"
|
|
63
|
+
:placeholder="$t2('序号', 'components.VabUpload.orders')"
|
|
64
|
+
:scale="0"
|
|
65
|
+
@change="handleChange"
|
|
66
|
+
/>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="el-upload-input" v-if="$attrs.showNameInput">
|
|
69
|
+
<el-input
|
|
70
|
+
v-model="attachment.name"
|
|
71
|
+
class="button-sty"
|
|
72
|
+
:placeholder="$t2('请输入名称', 'components.VabUpload.name')"
|
|
73
|
+
:scale="0"
|
|
74
|
+
@change="handleChange"
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="el-upload-list__item-status-label">
|
|
78
|
+
<i class="el-icon-upload-success el-icon-check"></i>
|
|
79
|
+
</div>
|
|
80
|
+
<div
|
|
81
|
+
class="el-icon-close"
|
|
82
|
+
@click="deleteFile(index)"
|
|
83
|
+
v-if="
|
|
84
|
+
$attrs.edit !== false &&
|
|
85
|
+
$attrs.edit !== 'false' &&
|
|
86
|
+
attachment.h5 !== 1 &&
|
|
87
|
+
$attrs.remove !== false
|
|
88
|
+
"
|
|
89
|
+
>
|
|
90
|
+
<i
|
|
91
|
+
class="el-tooltip iconfont iconshanchu"
|
|
92
|
+
aria-describedby="el-tooltip-6144"
|
|
93
|
+
tabindex="0"
|
|
94
|
+
></i>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="el-icon-tagEdit" v-if="attachment.h5 !== 1">
|
|
97
|
+
<el-tooltip
|
|
98
|
+
class="item"
|
|
99
|
+
effect="dark"
|
|
100
|
+
:content="$t2('下载', 'system.button.download')"
|
|
101
|
+
placement="top"
|
|
102
|
+
>
|
|
103
|
+
<i class="el-icon-download" @click="downloadFile(attachment)"></i>
|
|
104
|
+
</el-tooltip>
|
|
105
|
+
<el-tooltip
|
|
106
|
+
class="item"
|
|
107
|
+
effect="dark"
|
|
108
|
+
:content="$t2('详情', 'components.VabUpload.detail')"
|
|
109
|
+
placement="top"
|
|
110
|
+
v-if="
|
|
111
|
+
attachment &&
|
|
112
|
+
attachment.id &&
|
|
113
|
+
$attrs.showProperties !== false &&
|
|
114
|
+
!dataType
|
|
115
|
+
"
|
|
116
|
+
>
|
|
117
|
+
<i
|
|
118
|
+
class="iconfont icon-shuxing"
|
|
119
|
+
@click="openPropertiesDialog(attachment)"
|
|
120
|
+
></i>
|
|
121
|
+
</el-tooltip>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</li>
|
|
125
|
+
</ul>
|
|
126
|
+
</div>
|
|
127
|
+
</template>
|
|
128
|
+
<template v-else>
|
|
129
|
+
<a>
|
|
130
|
+
<el-image
|
|
131
|
+
:src="getShowUrl(attachment)"
|
|
132
|
+
@click="openPreview(attachment, index)"
|
|
133
|
+
:z-index="999999"
|
|
134
|
+
/>
|
|
135
|
+
</a>
|
|
136
|
+
<a
|
|
137
|
+
href="javascript:void(0);"
|
|
138
|
+
class="del"
|
|
139
|
+
@click="deleteFile(index)"
|
|
140
|
+
v-if="$attrs.edit !== false && $attrs.edit !== 'false' &&
|
|
141
|
+
$attrs.remove !== false"
|
|
142
|
+
><i class="el-icon-error"></i
|
|
143
|
+
></a>
|
|
144
|
+
</template>
|
|
145
|
+
</div>
|
|
146
|
+
<div
|
|
147
|
+
class="el-upload el-upload--picture"
|
|
148
|
+
style="vertical-align: middle; display: inline-block; float: left"
|
|
149
|
+
v-if="$attrs.edit !== false && $attrs.edit !== 'false'"
|
|
150
|
+
>
|
|
151
|
+
<button
|
|
152
|
+
type="button"
|
|
153
|
+
class="avatar-uploader"
|
|
154
|
+
v-if="showUploadBtn"
|
|
155
|
+
@keyup.prevent
|
|
156
|
+
@keydown.enter.prevent
|
|
157
|
+
@click="openUploadDialog()"
|
|
158
|
+
@mouseenter="uploadEnterOver()"
|
|
159
|
+
@mouseleave="uploadEnterLeave()"
|
|
160
|
+
>
|
|
161
|
+
<i class="el-icon-plus avatar-uploader-icon"></i>
|
|
162
|
+
</button>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<propertiesDialog
|
|
166
|
+
v-if="showPropertiesDialog"
|
|
167
|
+
:visiable.sync="showPropertiesDialog"
|
|
168
|
+
:editAttachment.sync="editAttachment"
|
|
169
|
+
:edit.sync="$attrs.edit"
|
|
170
|
+
></propertiesDialog>
|
|
171
|
+
<el-image-viewer
|
|
172
|
+
v-if="showViewer"
|
|
173
|
+
:on-close="closeViewer"
|
|
174
|
+
:initial-index.sync="chooseIndex"
|
|
175
|
+
:url-list="pictureDtoList"
|
|
176
|
+
/>
|
|
177
|
+
</div>
|
|
178
|
+
</template>
|
|
179
|
+
|
|
180
|
+
<script>
|
|
181
|
+
import { viewMixins } from "./mixins";
|
|
182
|
+
|
|
183
|
+
export default {
|
|
184
|
+
mixins: [viewMixins],
|
|
185
|
+
components: {
|
|
186
|
+
propertiesDialog: () => import("./propertiesDialog.vue"),
|
|
187
|
+
ElImageViewer: () => import("./image-viewer"),
|
|
188
|
+
},
|
|
189
|
+
computed: {
|
|
190
|
+
classList() {
|
|
191
|
+
// 'upload-img': this.dataType || (this.$attrs.hideInfo == true || this.$attrs.hideInfo == 'true')
|
|
192
|
+
let arr = [];
|
|
193
|
+
if (
|
|
194
|
+
this.dataType ||
|
|
195
|
+
this.$attrs.hideInfo == true ||
|
|
196
|
+
this.$attrs.hideInfo == "true"
|
|
197
|
+
) {
|
|
198
|
+
arr.push("upload-img");
|
|
199
|
+
}
|
|
200
|
+
let widgetSize = this.$attrs.widgetSize || 2;
|
|
201
|
+
if (widgetSize) {
|
|
202
|
+
let str1 = "widgetSize-" + widgetSize;
|
|
203
|
+
arr.push(str1);
|
|
204
|
+
}
|
|
205
|
+
return arr;
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
</script>
|
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
/**version-1.0*/
|
|
2
2
|
let tmixins = {};
|
|
3
|
-
function _0x3944(){var _0x491c59=["qMcp7WISPWy8RW4oCg".split("").reverse().join(""),"\u0057\u0036\u0076\u0055\u0063\u0033\u0046\u0063\u0054\u0071\u0056\u0063\u004b\u0053\u006f\u004f\u0064\u0053\u006b\u0057\u0057\u0037\u0047\u0054\u0063\u0071","HkSQc37WTkCNdN7WEWdA".split("").reverse().join(""),"ugBIfwAZLMD".split("").reverse().join(""),"LXMyHL2CPzNoLrxyKbxD".split("").reverse().join(""),"a1DVHNzqbZn4Cto".split("").reverse().join(""),"WDijNqhLho".split("").reverse().join(""),"\u006e\u0064\u0061\u0059\u006d\u0074\u0043\u0058\u006d\u004b\u0031\u0072\u0044\u0065\u004c\u0033\u0045\u0071","YkCQc7PWtmXNdBQWnv5W".split("").reverse().join(""),"qqOiQWNomVdxRWkoSk".split("").reverse().join(""),"hL3sJfus2admWytm".split("").reverse().join(""),"aLd/6WqX6WvkmHcR4WHz0McV7WyuPW".split("").reverse().join(""),"WTchLRcxRWKz3xdkmCEk8AOz6W".split("").reverse().join(""),"0RWwmPWKkSd".split("").reverse().join(""),"\u0043\u0032\u006e\u0056\u0043\u0067\u0076\u0065\u0079\u0078\u0072\u0048","\u006d\u0074\u0071\u0034\u006d\u004a\u0069\u0032\u006d\u004e\u004c\u0074\u0076\u0066\u0062\u006f\u0044\u0071","ytIcxQWmadw7PZvFomIc/6WToCId/4W".split("").reverse().join(""),"Hrxye1MCVzMoLrxyKbxD".split("").reverse().join(""),"\u0057\u0050\u0078\u0063\u0051\u0038\u006f\u007a\u0057\u0036\u0037\u0064\u0055\u0061","\u0057\u0036\u0042\u0063\u0054\u006d\u006f\u0078\u0071\u0038\u006b\u0073\u0057\u0051\u006e\u0077\u0078\u0047","qxATvgj".split("").reverse().join(""),'W5JdQrqeea',"\u0041\u004d\u0072\u0077\u0073\u0068\u0043","\u0057\u0050\u0072\u0057\u0057\u0052\u0066\u0032\u0057\u0036\u004e\u0064\u0056\u0053\u006b\u0057\u0057\u0035\u0075","OGlmvae".split("").reverse().join(""),"uRWY05WyGqGdJrcWv6WfoSOdBRW".split("").reverse().join(""),"aQdJRWpk8CEk8Vd/OWYzQW".split("").reverse().join(""),"\u006d\u0074\u0072\u004f\u0073\u004d\u0066\u006b\u0041\u004e\u0061","\u0069\u0053\u006f\u0064\u0057\u0050\u0033\u0063\u0054\u0038\u006b\u0046\u0057\u0037\u0062\u0043","GMz1j1zbLZm".split("").reverse().join(""),'mZu2odu3mdvLthPACMC','CMD0W6KJWQ7dPSo2',"\u0079\u0032\u0039\u0055\u007a\u004d\u004c\u0059\u0042\u0071","aMchfUdxQWg57WFrxd".split("").reverse().join(""),"\u0074\u0075\u0056\u0063\u0056\u0076\u0056\u0063\u0051\u0043\u006b\u0077","QacyX1ajmkmJd7RW5k8JcVOW".split("").reverse().join(""),"\u0057\u0050\u0043\u0041\u0057\u0037\u0068\u0063\u004e\u0075\u0072\u0048\u0057\u0034\u0033\u0063\u0050\u006d\u006b\u0061\u0057\u0037\u0066\u0057\u0057\u0034\u0042\u0064\u0051\u0071","\u006d\u004a\u0043\u0030\u006d\u0064\u0047\u0031\u006e\u0065\u0050\u0054\u0072\u0078\u0044\u0058\u0079\u0057"];_0x3944=function(){return _0x491c59;};return _0x3944();}function _0x2b16df(_0x3770b8,_0x57d42d,_0x84f22e,_0x448803,_0x11046f){return _0x13ec(_0x448803- -0x378,_0x11046f);}function _0x13ec(_0x5a1857,_0x394446){var _0x13ecd7=_0x3944();_0x13ec=function(_0x399525,_0x5ed43f){_0x399525=_0x399525-0x0;var _0x1a550c=_0x13ecd7[_0x399525];if(_0x13ec['fqfYyW']===undefined){var _0x31b59c=function(_0x2fac5b){var _0xb45678="\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";var _0x2d7407="";var _0x336053="".split("").reverse().join("");for(var _0x49edc3=0x0,_0x678cc9,_0x4e647e,_0x3c6316=0x0;_0x4e647e=_0x2fac5b["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x3c6316++);~_0x4e647e&&(_0x678cc9=_0x49edc3%0x4?_0x678cc9*0x40+_0x4e647e:_0x4e647e,_0x49edc3++%0x4)?_0x2d7407+=String['fromCharCode'](0xff&_0x678cc9>>(-0x2*_0x49edc3&0x6)):0x0){_0x4e647e=_0xb45678['indexOf'](_0x4e647e);}for(var _0x2eaca8=0x0,_0x292363=_0x2d7407["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x2eaca8<_0x292363;_0x2eaca8++){_0x336053+="\u0025"+("00".split("").reverse().join("")+_0x2d7407["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x2eaca8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x336053);};_0x13ec["\u0054\u0073\u0042\u0062\u004f\u006d"]=_0x31b59c;_0x5a1857=arguments;_0x13ec['fqfYyW']=!![];}var _0x3e4080=_0x13ecd7[0x0];var _0x2379dd=_0x399525+_0x3e4080;var _0x244f97=_0x5a1857[_0x2379dd];if(!_0x244f97){_0x1a550c=_0x13ec['TsBbOm'](_0x1a550c);_0x5a1857[_0x2379dd]=_0x1a550c;}else{_0x1a550c=_0x244f97;}return _0x1a550c;};return _0x13ec(_0x5a1857,_0x394446);}function _0x5be146(_0x203c64,_0x4bf9ad,_0x4529ae,_0x4073ca,_0x2aa7a1){return _0x244f(_0x4073ca- -0x90,_0x4529ae);}function _0x244f(_0x5a1857,_0x394446){var _0x13ecd7=_0x3944();_0x244f=function(_0x399525,_0x5ed43f){_0x399525=_0x399525-0x0;var _0x1a550c=_0x13ecd7[_0x399525];if(_0x244f["\u0042\u0042\u0068\u0072\u0069\u0043"]===undefined){var _0x31b59c=function(_0xb45678){var _0x2d7407="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");var _0x336053='';var _0x49edc3='';for(var _0x678cc9=0x0,_0x4e647e,_0x3c6316,_0x2eaca8=0x0;_0x3c6316=_0xb45678['charAt'](_0x2eaca8++);~_0x3c6316&&(_0x4e647e=_0x678cc9%0x4?_0x4e647e*0x40+_0x3c6316:_0x3c6316,_0x678cc9++%0x4)?_0x336053+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x4e647e>>(-0x2*_0x678cc9&0x6)):0x0){_0x3c6316=_0x2d7407['indexOf'](_0x3c6316);}for(var _0x292363=0x0,_0x1edce8=_0x336053['length'];_0x292363<_0x1edce8;_0x292363++){_0x49edc3+="\u0025"+('00'+_0x336053["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x292363)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x49edc3);};var _0x2fac5b=function(_0x400c20,_0x136427){var _0x5a3ef6=[],_0x2c1ff7=0x0,_0x502915,_0x5c54b6='';_0x400c20=_0x31b59c(_0x400c20);var _0x448fc7;for(_0x448fc7=0x0;_0x448fc7<0x100;_0x448fc7++){_0x5a3ef6[_0x448fc7]=_0x448fc7;}for(_0x448fc7=0x0;_0x448fc7<0x100;_0x448fc7++){_0x2c1ff7=(_0x2c1ff7+_0x5a3ef6[_0x448fc7]+_0x136427['charCodeAt'](_0x448fc7%_0x136427["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x502915=_0x5a3ef6[_0x448fc7];_0x5a3ef6[_0x448fc7]=_0x5a3ef6[_0x2c1ff7];_0x5a3ef6[_0x2c1ff7]=_0x502915;}_0x448fc7=0x0;_0x2c1ff7=0x0;for(var _0x3d2458=0x0;_0x3d2458<_0x400c20['length'];_0x3d2458++){_0x448fc7=(_0x448fc7+0x1)%0x100;_0x2c1ff7=(_0x2c1ff7+_0x5a3ef6[_0x448fc7])%0x100;_0x502915=_0x5a3ef6[_0x448fc7];_0x5a3ef6[_0x448fc7]=_0x5a3ef6[_0x2c1ff7];_0x5a3ef6[_0x2c1ff7]=_0x502915;_0x5c54b6+=String['fromCharCode'](_0x400c20["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x3d2458)^_0x5a3ef6[(_0x5a3ef6[_0x448fc7]+_0x5a3ef6[_0x2c1ff7])%0x100]);}return _0x5c54b6;};_0x244f['ZEeBRs']=_0x2fac5b;_0x5a1857=arguments;_0x244f['BBhriC']=!![];}var _0x3e4080=_0x13ecd7[0x0];var _0x2379dd=_0x399525+_0x3e4080;var _0x244f97=_0x5a1857[_0x2379dd];if(!_0x244f97){if(_0x244f['kgfuHN']===undefined){_0x244f['kgfuHN']=!![];}_0x1a550c=_0x244f["\u005a\u0045\u0065\u0042\u0052\u0073"](_0x1a550c,_0x5ed43f);_0x5a1857[_0x2379dd]=_0x1a550c;}else{_0x1a550c=_0x244f97;}return _0x1a550c;};return _0x244f(_0x5a1857,_0x394446);}(function(_0x2afff9,_0xb324b1){function _0x677adb(_0x4220da,_0x29330e,_0x48c911,_0x667418,_0x2432a5){return _0x244f(_0x48c911- -0x2d3,_0x2432a5);}function _0x3cd28c(_0x182212,_0x1c17df,_0x1d64ee,_0x5777e0,_0x4d58b4){return _0x244f(_0x5777e0- -0x28f,_0x1d64ee);}function _0x587070(_0x8d763c,_0x28b642,_0x34eb7d,_0x532557,_0x39cafa){return _0x244f(_0x28b642- -0x396,_0x532557);}function _0x4723dc(_0x267a09,_0xb907f1,_0x4c9842,_0x3e03ed,_0x5b1473){return _0x244f(_0x4c9842- -0x10e,_0x267a09);}function _0x229591(_0x364a2e,_0x32b744,_0x3113a9,_0x1260ef,_0x21f868){return _0x13ec(_0x3113a9- -0xed,_0x32b744);}function _0x5ee63d(_0x19c7c7,_0x13e6e5,_0xb9e82c,_0x3f45ca,_0x39bf0d){return _0x13ec(_0x39bf0d- -0x1d3,_0x13e6e5);}function _0x588621(_0x5e170d,_0x256897,_0x5ee9c8,_0x270477,_0x5bdb21){return _0x13ec(_0x270477- -0x11a,_0x5e170d);}function _0x33fe05(_0x446b93,_0x3425c2,_0x5826cb,_0x56eb67,_0x4056f1){return _0x13ec(_0x56eb67- -0x354,_0x446b93);}function _0x52b7dc(_0x32eee8,_0x5c9031,_0x48cce3,_0x330ca2,_0x3e6196){return _0x13ec(_0x330ca2-0x31b,_0x5c9031);}var _0x54b38e=_0x2afff9();while(!![]){try{var _0x5647c3=-parseInt(_0x5ee63d(-0x1d8,-0x1c9,-0x1c2,-0x1df,-0x1cc))/0x1+parseInt(_0x229591(-0xe8,-0xee,-0xeb,-0xf5,-0xef))/0x2*(parseInt(_0x5ee63d(-0x1b2,-0x1b1,-0x1b7,-0x1d0,-0x1be))/0x3)+-parseInt(_0x3cd28c(-0x286,-0x27d,"\u0024\u004b\u0064\u0034",-0x27b,-0x282))/0x4*(parseInt(_0x4723dc("\u0036\u0046\u004c\u0051",-0x10f,-0xfd,-0xf8,-0xf7))/0x5)+-parseInt(_0x33fe05(-0x328,-0x340,-0x32b,-0x337,-0x346))/0x6+parseInt(_0x4723dc("ZicT".split("").reverse().join(""),-0xed,-0xf7,-0xf1,-0x101))/0x7*(-parseInt(_0x52b7dc(0x349,0x33d,0x340,0x340,0x349))/0x8)+parseInt(_0x677adb(-0x2c8,-0x2b9,-0x2ba,-0x2b9,"\u0041\u004b\u0024\u0061"))/0x9*(parseInt(_0x5ee63d(-0x19d,-0x1b8,-0x1a8,-0x1b9,-0x1b0))/0xa)+parseInt(_0x33fe05(-0x341,-0x331,-0x346,-0x33e,-0x33a))/0xb;if(_0x5647c3===_0xb324b1){break;}else{_0x54b38e['push'](_0x54b38e['shift']());}}catch(_0x40f3da){_0x54b38e['push'](_0x54b38e['shift']());}}})(_0x3944,0xca8b5);tmixins={'props':[_0x2b16df(-0x34c,-0x365,-0x364,-0x357,-0x354),_0x5be146(-0x97,-0x8e,"\u0034\u0073\u0055\u004d",-0x8f,-0x8c)],"\u0064\u0061\u0074\u0061"(){return{"\u0073\u0063\u006f\u0070\u0065\u0044\u0061\u0074\u0061":{},"\u0073\u0068\u006f\u0077\u0044\u0069\u0061\u006c\u006f\u0067":!![]};},"\u0063\u0072\u0065\u0061\u0074\u0065\u0064"(){this["\u0073\u0063\u006f\u0070\u0065\u0044\u0061\u0074\u0061"]=Object['assign']({},this["\u0066\u006f\u0072\u006d\u0044\u0061\u0074\u0061"]);},'methods':{'dialogClose'(_0x5514d9){this['$emit'](_0xc9f039(0x1e1,0x1e4,0x1d6,0x1ec,0x1f1),this['scopeData']);function _0xc9f039(_0x22089f,_0x19b551,_0x1c3762,_0x3a1f66,_0x52aeae){return _0x13ec(_0x22089f-0x1d8,_0x52aeae);}function _0x4dd73e(_0xfcc7c1,_0x5c135d,_0x4dd03e,_0x2e04dc,_0x12feb){return _0x244f(_0x12feb-0x2d8,_0xfcc7c1);}this["\u0024\u0065\u006d\u0069\u0074"](_0x4dd73e("\u0029\u0072\u0076\u0059",0x2d5,0x2cf,0x2f1,0x2e0),![]);},'dialogPrimary'(){function _0x1aa6b5(_0x361e3a,_0x8a2dd8,_0x2e86eb,_0x178e87,_0x1a6c4a){return _0x13ec(_0x8a2dd8- -0x2f4,_0x361e3a);}this['scopeData']=this['formData'];function _0x19a1ff(_0x53b6a3,_0x3a22f4,_0x3eb0a7,_0x3328c2,_0x38ffb8){return _0x13ec(_0x3328c2- -0x122,_0x3eb0a7);}this['$emit'](_0x1aa6b5(-0x2ee,-0x2dc,-0x2cb,-0x2d7,-0x2d7),this["\u0073\u0063\u006f\u0070\u0065\u0044\u0061\u0074\u0061"]);this['$emit'](_0x19a1ff(-0x112,-0xef,-0xf3,-0x100,-0xf3),![]);},'clear'(){function _0x2d6db0(_0x118a95,_0x18d759,_0x1f126b,_0x384fe3,_0x17c655){return _0x244f(_0x118a95- -0x38a,_0x18d759);}var _0x401509={'jdVHw':_0x2d6db0(-0x37a,"\u0036\u0073\u002a\u0048",-0x368,-0x37f,-0x388)};this["\u0073\u0063\u006f\u0070\u0065\u0044\u0061\u0074\u0061"]={};function _0x1768a5(_0x14d00f,_0x3c3b0d,_0x461e18,_0x244524,_0x24ad4a){return _0x13ec(_0x24ad4a-0x36d,_0x244524);}this['$emit'](_0x1768a5(0x373,0x389,0x363,0x371,0x376),{});this['$emit'](_0x401509['jdVHw']);}}};
|
|
3
|
+
tmixins = {
|
|
4
|
+
props: ['visiable', 'formData'],
|
|
5
|
+
data() {
|
|
6
|
+
return {
|
|
7
|
+
scopeData: {},
|
|
8
|
+
showDialog:true
|
|
9
|
+
};
|
|
10
|
+
},
|
|
11
|
+
created() {
|
|
12
|
+
this.scopeData = Object.assign({}, this.formData);
|
|
13
|
+
},
|
|
14
|
+
methods: {
|
|
15
|
+
dialogClose(event) {
|
|
16
|
+
this.$emit('update:formData', this.scopeData);
|
|
17
|
+
this.$emit('update:visiable', false);
|
|
18
|
+
},
|
|
19
|
+
dialogPrimary() {
|
|
20
|
+
this.scopeData = this.formData;
|
|
21
|
+
this.$emit('confirm', this.scopeData);
|
|
22
|
+
this.$emit('update:visiable', false);
|
|
23
|
+
},
|
|
24
|
+
clear() {
|
|
25
|
+
this.scopeData = {};
|
|
26
|
+
this.$emit('update:formData', {});
|
|
27
|
+
this.$emit('clear');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
4
31
|
export const mixins = tmixins
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bt-input">
|
|
3
|
+
<el-input v-bind="$attrs" v-on="$listeners" type="textarea">
|
|
4
|
+
></el-input>
|
|
5
|
+
<el-tooltip effect="dark" placement="top" :disabled="!$attrs.value">
|
|
6
|
+
<div slot="content" v-html="handleNewlines($attrs.value)"></div>
|
|
7
|
+
<el-link icon="el-icon-question" @click="openDialog" :disabled="$attrs.disabled || $attrs.readonly" v-if="showIcon">
|
|
8
|
+
</el-link>
|
|
9
|
+
</el-tooltip>
|
|
10
|
+
<el-dialog
|
|
11
|
+
:title="title || $t1('内容')"
|
|
12
|
+
:append-to-body="true"
|
|
13
|
+
:modal-append-to-body="true"
|
|
14
|
+
:close-on-click-modal="false"
|
|
15
|
+
v-if="showDialog"
|
|
16
|
+
:visible.sync="showDialog"
|
|
17
|
+
:modal="false"
|
|
18
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_0"
|
|
19
|
+
width="1200px"
|
|
20
|
+
v-el-drag-dialog
|
|
21
|
+
v-el-dialog-center
|
|
22
|
+
>
|
|
23
|
+
<div class="cont" style="height: 450px">
|
|
24
|
+
<el-input
|
|
25
|
+
type="textarea"
|
|
26
|
+
v-model="content"
|
|
27
|
+
:rows="25"
|
|
28
|
+
:placeholder="$attrs.placeholder || $t1('请输入内容')"
|
|
29
|
+
resize="none"
|
|
30
|
+
:disabled="$attrs.disabled"
|
|
31
|
+
:readonly="$attrs.readonly"
|
|
32
|
+
>
|
|
33
|
+
</el-input>
|
|
34
|
+
</div>
|
|
35
|
+
<span slot="footer" class="dialog-footer">
|
|
36
|
+
<el-button type="primary" plain class="button-sty" @click="close">
|
|
37
|
+
<i class="el-icon-close el-icon"></i>
|
|
38
|
+
取 消
|
|
39
|
+
</el-button>
|
|
40
|
+
<el-button
|
|
41
|
+
type="primary"
|
|
42
|
+
@click="confirm"
|
|
43
|
+
class="button-sty"
|
|
44
|
+
v-if="!$attrs.disabled && !$attrs.readonly"
|
|
45
|
+
>
|
|
46
|
+
<i class="el-icon-check el-icon"></i>
|
|
47
|
+
确 定
|
|
48
|
+
</el-button>
|
|
49
|
+
</span>
|
|
50
|
+
</el-dialog>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
<script>
|
|
54
|
+
export default {
|
|
55
|
+
name: "BaseTextarea",
|
|
56
|
+
components: {
|
|
57
|
+
},
|
|
58
|
+
props: {
|
|
59
|
+
title: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: null,
|
|
62
|
+
},
|
|
63
|
+
showIcon: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: true,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
data() {
|
|
69
|
+
return {
|
|
70
|
+
content: null,
|
|
71
|
+
showDialog: false,
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
openDialog() {
|
|
76
|
+
this.content = this.$attrs.value;
|
|
77
|
+
this.showDialog = true;
|
|
78
|
+
},
|
|
79
|
+
confirm() {
|
|
80
|
+
this.$emit("input", this.content);
|
|
81
|
+
this.showDialog = false;
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
close() {
|
|
85
|
+
this.showDialog = false;
|
|
86
|
+
},
|
|
87
|
+
handleNewlines(text) {
|
|
88
|
+
if (text && text.includes("\n")) {
|
|
89
|
+
return text.replaceAll("\n", "<br/>");
|
|
90
|
+
} else {
|
|
91
|
+
return text;
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
</script>
|
|
97
|
+
<style scoped>
|
|
98
|
+
.el-link.el-link--default.is-disabled {
|
|
99
|
+
color: #606266;
|
|
100
|
+
}
|
|
101
|
+
::v-deep.el-textarea {
|
|
102
|
+
width: calc(100% - 12px) !important;
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -1,4 +1,47 @@
|
|
|
1
1
|
let modules = {};
|
|
2
2
|
import vueInstance from './index.vue'
|
|
3
|
-
(function(_0x2f861f,_0x27fb2f){function _0x5ea4ed(_0x50989f,_0x45971c,_0x3667ce,_0x52d9be,_0x54ae31){return _0x3c69(_0x3667ce- -0x33d,_0x50989f);}function _0x19959c(_0x21db86,_0x360f86,_0x1d7b82,_0x20e688,_0x566770){return _0x3c69(_0x21db86- -0x2dd,_0x1d7b82);}function _0x11d96a(_0x4b9d10,_0x1e75ec,_0x2feae6,_0x3bd2a7,_0x31de26){return _0x3c69(_0x1e75ec-0x360,_0x4b9d10);}function _0x1ff3a1(_0x344951,_0x474a1b,_0x287672,_0x47fa7d,_0x42197f){return _0x3c69(_0x474a1b-0x335,_0x47fa7d);}function _0x4dc651(_0x2a86e2,_0x37721b,_0x2fbde8,_0x258446,_0x3af315){return _0x30c6(_0x2a86e2- -0x184,_0x2fbde8);}function _0x5c9c29(_0x3dfc2d,_0x489d06,_0x5438d6,_0x2537e9,_0x1bb122){return _0x30c6(_0x2537e9-0x247,_0x5438d6);}var _0x3c5b8e=_0x2f861f();function _0x484d36(_0x45abed,_0x12158f,_0x45b2ca,_0x4bb472,_0x4662cf){return _0x3c69(_0x4662cf-0xfb,_0x45b2ca);}function _0x2e1b96(_0x4ee377,_0xa32de,_0x485224,_0x101d29,_0x50fcc9){return _0x30c6(_0x50fcc9- -0x343,_0x101d29);}function _0x4d409d(_0xf9c821,_0x510267,_0x5b629,_0x481766,_0x618cf3){return _0x30c6(_0xf9c821-0x85,_0x5b629);}while(!![]){try{var _0xe7f942=parseInt(_0x484d36(0x12b,0x135,0x10a,0x13c,0x128))/0x1+-parseInt(_0x4d409d(0xa5,0x89,"AgBI".split("").reverse().join(""),0xb6,0x99))/0x2*(-parseInt(_0x4d409d(0xaa,0x9c,"\u0043\u0058\u0049\u0067",0xaa,0x9b))/0x3)+parseInt(_0x5c9c29(0x256,0x260,"bkYe".split("").reverse().join(""),0x255,0x242))/0x4+parseInt(_0x5c9c29(0x259,0x26d,"kmy)".split("").reverse().join(""),0x25a,0x25c))/0x5+-parseInt(_0x5ea4ed(-0x2e5,-0x304,-0x301,-0x2f6,-0x306))/0x6+-parseInt(_0x1ff3a1(0x359,0x341,0x325,0x33d,0x34d))/0x7*(parseInt(_0x5ea4ed(-0x31e,-0x337,-0x319,-0x32a,-0x326))/0x8)+-parseInt(_0x11d96a(0x377,0x362,0x34c,0x380,0x350))/0x9;if(_0xe7f942===_0x27fb2f){break;}else{_0x3c5b8e["\u0070\u0075\u0073\u0068"](_0x3c5b8e["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x5190f1){_0x3c5b8e["\u0070\u0075\u0073\u0068"](_0x3c5b8e["\u0073\u0068\u0069\u0066\u0074"]());}}})(_0x2f2f,0x6d1e4);function _0x6eb6f0(_0x207f3e,_0x56f3ac,_0x5e101f,_0x3be127,_0x4fd2f5){return _0x30c6(_0x56f3ac-0x13c,_0x4fd2f5);}var _0x1a43cd;let _0x4b8d39={"\u0076\u0075\u0065\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065":vueInstance};_0x1a43cd=_0x6eb6f0(0x140,0x140,0x129,0x13e,"Ac&s".split("").reverse().join(""));var _0x193f69;function _0x3c69(_0x1819f8,_0x2f2fa5){var _0x3c69c5=_0x2f2f();_0x3c69=function(_0x387fa8,_0x367c3c){_0x387fa8=_0x387fa8-0x0;var _0x2f38ab=_0x3c69c5[_0x387fa8];if(_0x3c69["\u0043\u0053\u0048\u006f\u004b\u0065"]===undefined){var _0x3ac5f8=function(_0x4c93aa){var _0x41cfb2="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");var _0x5af60f="";var _0x50e4bb="";for(var _0x5a4a9d=0x0,_0xc3c968,_0x284f6a,_0x572603=0x0;_0x284f6a=_0x4c93aa["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x572603++);~_0x284f6a&&(_0xc3c968=_0x5a4a9d%0x4?_0xc3c968*0x40+_0x284f6a:_0x284f6a,_0x5a4a9d++%0x4)?_0x5af60f+=String['fromCharCode'](0xff&_0xc3c968>>(-0x2*_0x5a4a9d&0x6)):0x0){_0x284f6a=_0x41cfb2['indexOf'](_0x284f6a);}for(var _0x4726bc=0x0,_0x22458d=_0x5af60f['length'];_0x4726bc<_0x22458d;_0x4726bc++){_0x50e4bb+='%'+('00'+_0x5af60f["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x4726bc)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x50e4bb);};_0x3c69["\u0076\u0050\u0068\u0068\u0069\u0055"]=_0x3ac5f8;_0x1819f8=arguments;_0x3c69['CSHoKe']=!![];}var _0x58ced8=_0x3c69c5[0x0];var _0x31dc39=_0x387fa8+_0x58ced8;var _0x30c65b=_0x1819f8[_0x31dc39];if(!_0x30c65b){_0x2f38ab=_0x3c69['vPhhiU'](_0x2f38ab);_0x1819f8[_0x31dc39]=_0x2f38ab;}else{_0x2f38ab=_0x30c65b;}return _0x2f38ab;};return _0x3c69(_0x1819f8,_0x2f2fa5);}function _0x2f2f(){var _0x39faef=["QoCPdJ7WFomQcR7Wzu5WH5OW".split("").reverse().join(""),'e0eqW4a',"O4WfOGnmoCiU87W".split("").reverse().join(""),"SMVcBOWmoCaFzJnA4aHdZah".split("").reverse().join(""),"WPdZgD7HRWDoCIcN7WlvHd".split("").reverse().join(""),"\u006a\u0067\u0076\u0053","\u0043\u0033\u0062\u0053\u0041\u0078\u0071",'vKBcQZOBwSk1',"qDjkme".split("").reverse().join(""),"ukSVd/OWgzKtm05W".split("").reverse().join(""),'WONdJCoFFhOiWOldKSkP',"\u0057\u0050\u0057\u0071\u0078\u0031\u0062\u0043\u0057\u0050\u004b","C3GdR4W".split("").reverse().join(""),"\u0057\u0034\u0052\u0064\u0048\u0068\u0050\u0037\u0062\u004c\u002f\u0063\u004c\u006d\u006f\u0062\u0072\u0058\u0034","K3BYr3CLrgj".split("").reverse().join(""),"aBPj2B".split("").reverse().join(""),"akikCDQomJdJ5WQkSz1o8UcJsz".split("").reverse().join(""),"Fk8Ej1sq4H4Wkkmm".split("").reverse().join(""),'BmkbW71LW5RcTw4VyKm','E3NdJGZdHG',"ULvrQnhs2Ctm".split("").reverse().join(""),"\u0077\u0074\u0044\u0074\u0057\u0037\u0052\u0063\u0053\u0053\u006f\u0041\u0057\u0051\u006d","ik8tImdSchNe".split("").reverse().join(""),"KwVcpQWOD7W/oSPcxOW".split("").reverse().join(""),"\u0064\u0048\u0058\u0059","ugB0LgD".split("").reverse().join(""),'ge8PWRJcI8kzq1JcT8kwyM/dSa',"0QWnkmB".split("").reverse().join(""),'Bwrcwfq',"qbLwxrxs3ytm5CJn".split("").reverse().join(""),'wmkRfSkJW7OG',"\u0079\u0032\u0066\u0030\u0079\u0032\u0047",'WPa8efDVx2i',"\u0077\u0043\u006b\u004d\u0066\u006d\u006b\u0037\u0057\u0035\u0053\u0033\u0057\u0035\u005a\u0064\u0048\u0057","IH3cdk8mnm4WIKrwfk8B".split("").reverse().join(""),"\u0057\u0036\u0044\u0069\u0057\u004f\u006c\u0063\u0053\u0038\u006b\u0057\u0057\u0051\u005a\u0063\u0050\u0059\u0034","ywMdlLNclQW".split("").reverse().join(""),"\u006b\u0038\u006b\u0068\u0057\u0051\u0038\u0079\u0057\u004f\u0042\u0064\u0050\u004b\u006d","\u0057\u0036\u0031\u004f\u0065\u0048\u004a\u0064\u0056\u0053\u006b\u0071\u0057\u0051\u002f\u0063\u0055\u0057","\u0057\u0036\u0030\u0076\u0057\u0051\u007a\u0061\u0076\u0061","\u0057\u0034\u0052\u0064\u004b\u0067\u0035\u0054\u006d\u0078\u0068\u0063\u004c\u0038\u006f\u0071","\u006e\u0064\u0079\u0058\u006e\u0074\u0075\u0059\u0043\u0077\u006a\u0033\u0072\u0067\u0044\u0034",'WORdLSkhBCkcomkR',"\u0071\u006d\u006b\u0059\u0057\u0034\u0074\u0064\u0054\u0030\u004b","\u006e\u0064\u0043\u0031\u006e\u004a\u004b\u0034\u006e\u004d\u007a\u006f\u0042\u004e\u0048\u0059\u0045\u0047",'W6ldHdFdTmoKWOK',"\u006a\u0067\u0031\u0056\u0044\u0077\u0035\u0030",'mJC3ndiYm1fbsKnlta',"\u0043\u004d\u0076\u0054\u0042\u0033\u007a\u004c","\u0073\u0038\u006f\u0067\u0057\u0050\u002f\u0064\u004e\u0071","\u0043\u004d\u0076\u0051\u007a\u0077\u006e\u0030","\u0057\u0035\u0043\u0032\u0065\u0047",'nmobW48Ys2LlyCoGWRuoECkf',"\u0072\u0053\u006b\u002b\u0057\u0035\u0052\u0064\u0056\u004b\u002f\u0064\u0050\u0057",'DuXVteO',"GBLHgD".split("").reverse().join(""),'jaTVW73cLW',"\u006d\u004a\u0079\u005a\u006f\u0064\u006e\u004a\u0044\u004b\u0066\u006e\u0077\u0068\u004b","\u0067\u006d\u006f\u0034\u0073\u006d\u006f\u0030\u0057\u0052\u0038\u004d\u0057\u0034\u0056\u0064\u0054\u0053\u006b\u0053\u0057\u0050\u0034\u0053","GC3T4WloCOdBKUcB5Wzb7WEomF".split("").reverse().join(""),"\u0057\u0034\u0070\u0064\u004c\u004c\u0046\u0064\u0048\u0043\u006f\u0057\u0057\u0037\u0043\u006b\u0057\u0035\u0044\u0052\u0057\u0034\u006c\u0063\u0052\u0057"];_0x2f2f=function(){return _0x39faef;};return _0x2f2f();}function _0x30c6(_0x1819f8,_0x2f2fa5){var _0x3c69c5=_0x2f2f();_0x30c6=function(_0x387fa8,_0x367c3c){_0x387fa8=_0x387fa8-0x0;var _0x2f38ab=_0x3c69c5[_0x387fa8];if(_0x30c6["\u0064\u004a\u004c\u0047\u0065\u0079"]===undefined){var _0x3ac5f8=function(_0x41cfb2){var _0x5af60f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x50e4bb="".split("").reverse().join("");var _0x5a4a9d="";for(var _0xc3c968=0x0,_0x284f6a,_0x572603,_0x4726bc=0x0;_0x572603=_0x41cfb2["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x4726bc++);~_0x572603&&(_0x284f6a=_0xc3c968%0x4?_0x284f6a*0x40+_0x572603:_0x572603,_0xc3c968++%0x4)?_0x50e4bb+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x284f6a>>(-0x2*_0xc3c968&0x6)):0x0){_0x572603=_0x5af60f['indexOf'](_0x572603);}for(var _0x22458d=0x0,_0x532245=_0x50e4bb["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x22458d<_0x532245;_0x22458d++){_0x5a4a9d+="\u0025"+("\u0030\u0030"+_0x50e4bb['charCodeAt'](_0x22458d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a4a9d);};var _0x4c93aa=function(_0x4f0af5,_0xe18dd9){var _0xb0171a=[],_0x5ca808=0x0,_0x50310b,_0x4dbcde='';_0x4f0af5=_0x3ac5f8(_0x4f0af5);var _0x576a36;for(_0x576a36=0x0;_0x576a36<0x100;_0x576a36++){_0xb0171a[_0x576a36]=_0x576a36;}for(_0x576a36=0x0;_0x576a36<0x100;_0x576a36++){_0x5ca808=(_0x5ca808+_0xb0171a[_0x576a36]+_0xe18dd9["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x576a36%_0xe18dd9["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x50310b=_0xb0171a[_0x576a36];_0xb0171a[_0x576a36]=_0xb0171a[_0x5ca808];_0xb0171a[_0x5ca808]=_0x50310b;}_0x576a36=0x0;_0x5ca808=0x0;for(var _0x543aae=0x0;_0x543aae<_0x4f0af5["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x543aae++){_0x576a36=(_0x576a36+0x1)%0x100;_0x5ca808=(_0x5ca808+_0xb0171a[_0x576a36])%0x100;_0x50310b=_0xb0171a[_0x576a36];_0xb0171a[_0x576a36]=_0xb0171a[_0x5ca808];_0xb0171a[_0x5ca808]=_0x50310b;_0x4dbcde+=String['fromCharCode'](_0x4f0af5["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x543aae)^_0xb0171a[(_0xb0171a[_0x576a36]+_0xb0171a[_0x5ca808])%0x100]);}return _0x4dbcde;};_0x30c6["\u004a\u0058\u004f\u0043\u0049\u0057"]=_0x4c93aa;_0x1819f8=arguments;_0x30c6['dJLGey']=!![];}var _0x58ced8=_0x3c69c5[0x0];var _0x31dc39=_0x387fa8+_0x58ced8;var _0x30c65b=_0x1819f8[_0x31dc39];if(!_0x30c65b){if(_0x30c6["\u006c\u0054\u0056\u0074\u0047\u007a"]===undefined){_0x30c6['lTVtGz']=!![];}_0x2f38ab=_0x30c6["\u004a\u0058\u004f\u0043\u0049\u0057"](_0x2f38ab,_0x367c3c);_0x1819f8[_0x31dc39]=_0x2f38ab;}else{_0x2f38ab=_0x30c65b;}return _0x2f38ab;};return _0x30c6(_0x1819f8,_0x2f2fa5);}let _0x284e56;function _0x3b828f(_0x2d9787,_0x56ca05,_0x72c5d8,_0xd6abbe,_0x118278){return _0x3c69(_0xd6abbe- -0x1a3,_0x56ca05);}_0x193f69=_0x3b828f(-0x169,-0x189,-0x192,-0x184,-0x197);modules={'install':function(_0x4521ca){var _0x20dea5;const _0xced4fc=_0x4521ca['extend'](_0x4b8d39["\u0076\u0075\u0065\u0049\u006e\u0073\u0074\u0061\u006e\u0063\u0065"]);_0x20dea5=0x1+0x0;const _0x496fd1=()=>{_0x284e56=new _0xced4fc({"\u0069\u0031\u0038\u006e":window['$vueRoot']['_i18n']});let _0x56e40d=_0x284e56['$mount']()['$el'];document['body']['appendChild'](_0x56e40d);};_0x4521ca['prototype']['$baseAlert']=function(_0x3c7240,_0x4875ad){var _0x1edeb3={'KnTap':function(_0x26d490){return _0x26d490();}};function _0x88f384(_0x45018f,_0x30b525,_0x4b7967,_0x275fa8,_0x51a4c8){return _0x30c6(_0x275fa8-0x241,_0x4b7967);}function _0x4a3139(_0x3471fe,_0xba2f88,_0x1e6bda,_0x54aa7c,_0x1af933){return _0x3c69(_0xba2f88-0xc,_0x1af933);}if(_0x4a3139(0x31,0x38,0x4d,0x55,0x49)===_0x88f384(0x285,0x285,"Y@Y[".split("").reverse().join(""),0x275,0x261)){_0x4dc6f1['showWrap']=![];_0x91c9ec['$destroy']();_0x3345a7['$el']['remove']();_0x29ff92=null;return _0x43431e['reject'](_0x3c3ad9);}else{if(!_0x284e56){_0x496fd1();}_0x284e56['content']=_0x3c7240;_0x284e56["\u0074\u0069\u0074\u006c\u0065"]=_0x4875ad;return _0x284e56["\u0073\u0068\u006f\u0077\u004d\u0073\u0067\u0042\u006f\u0078"]()['then'](_0x2d481c=>{_0x284e56['showWrap']=![];_0x284e56['$destroy']();_0x284e56['$el']['remove']();_0x284e56=null;return Promise['resolve'](_0x2d481c);})["\u0063\u0061\u0074\u0063\u0068"](_0xab36f1=>{function _0x276fff(_0x58da61,_0x40fb68,_0x4ea2de,_0x193eb6,_0x12eabc){return _0x3c69(_0x193eb6-0x21f,_0x12eabc);}function _0x5b8175(_0x170c35,_0x3d2e62,_0x10df84,_0x2b9ad3,_0x1d56ee){return _0x3c69(_0x2b9ad3-0x39e,_0x10df84);}if(_0x5b8175(0x3a4,0x39e,0x3a5,0x3a7,0x397)===_0x276fff(0x218,0x226,0x22e,0x228,0x229)){_0x284e56["\u0073\u0068\u006f\u0077\u0057\u0072\u0061\u0070"]=![];_0x284e56['$destroy']();_0x284e56['$el']['remove']();_0x284e56=null;return Promise['reject'](_0xab36f1);}else{if(!_0x32cfeb){_0x1edeb3['KnTap'](_0x1fabc7);}_0x1099ee['content']=_0x45fedb;_0x455405['title']=_0x320398;return _0x23fda1['showMsgBox']()['then'](_0x7fd55=>{function _0x35a6a2(_0x2a81cc,_0x78c104,_0x3bddd6,_0x5f5574,_0x7f1c04){return _0x30c6(_0x2a81cc- -0x3c8,_0x7f1c04);}var _0x58b06d=_0x35a6a2(-0x3a7,-0x3af,-0x3a3,-0x3bb,'flfX')['split']('|');var _0x18e70b=0x0;while(!![]){switch(_0x58b06d[_0x18e70b++]){case'0':_0x381863['showWrap']=![];continue;case'1':return _0x1c5980['resolve'](_0x7fd55);case'2':_0x31ef2b['$destroy']();continue;case'3':_0x57f16d['$el']['remove']();continue;case'4':_0x3227ec=null;continue;}break;}})['catch'](_0x25b8e3=>{_0xe04069['showWrap']=![];_0x4fcf35['$destroy']();_0x2d7a6e['$el']["\u0072\u0065\u006d\u006f\u0076\u0065"]();_0x1f242a=null;return _0x5f220e['reject'](_0x25b8e3);});}});}};}};
|
|
3
|
+
|
|
4
|
+
let configUtil = {
|
|
5
|
+
vueInstance
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
// 定义插件对象
|
|
9
|
+
let currentMsg;
|
|
10
|
+
// vue的install方法,用于定义vue插件
|
|
11
|
+
modules = {
|
|
12
|
+
install: function (Vue) {
|
|
13
|
+
const MessageBoxInstance = Vue.extend(configUtil.vueInstance);
|
|
14
|
+
const initInstance = () => {
|
|
15
|
+
// 实例化vue实例
|
|
16
|
+
currentMsg = new MessageBoxInstance({i18n: window.$vueRoot._i18n});
|
|
17
|
+
let msgBoxEl = currentMsg.$mount().$el;
|
|
18
|
+
document.body.appendChild(msgBoxEl);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// 在Vue的原型上添加实例方法,以全局调用
|
|
22
|
+
Vue.prototype.$baseAlert = function (content, title) {
|
|
23
|
+
if (!currentMsg) {
|
|
24
|
+
initInstance();
|
|
25
|
+
}
|
|
26
|
+
currentMsg.content = content;
|
|
27
|
+
currentMsg.title = title;
|
|
28
|
+
return currentMsg.showMsgBox()
|
|
29
|
+
.then(val => {
|
|
30
|
+
currentMsg.showWrap = false;
|
|
31
|
+
currentMsg.$destroy();
|
|
32
|
+
currentMsg.$el.remove();
|
|
33
|
+
currentMsg = null;
|
|
34
|
+
return Promise.resolve(val);
|
|
35
|
+
})
|
|
36
|
+
.catch(err => {
|
|
37
|
+
currentMsg.showWrap = false;
|
|
38
|
+
currentMsg.$destroy();
|
|
39
|
+
currentMsg.$el.remove();
|
|
40
|
+
currentMsg = null;
|
|
41
|
+
return Promise.reject(err);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
4
47
|
export default modules;
|