cloud-web-corejs 1.0.54-dev.52 → 1.0.54-dev.520
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 +14 -3
- 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 +2 -1
- package/src/components/VabUpload/mixins.js +2 -2
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +209 -120
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/base-textarea/index.vue +104 -0
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +6 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/index.js +6 -6
- package/src/components/excelExport/index.vue +56 -2
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +454 -0
- package/src/components/fileLibrary/index.vue +594 -254
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +339 -211
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +220 -101
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
- package/src/components/fileLibrary/propertiesDialog.vue +113 -74
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +2 -1
- package/src/components/langImport/mixins.js +17 -16
- package/src/components/obsUpload/index.js +1 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +8 -0
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -11
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +76 -55
- package/src/components/tempStorage/tempStorageDialog.vue +179 -54
- package/src/components/vb-tabs/x-tabs.vue +56 -30
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +2156 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +66 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +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 +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +82 -49
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +133 -72
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +705 -379
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +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 +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +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 +260 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/indexMixin.js +3 -772
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +977 -169
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/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 +33 -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 +1657 -869
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/index.vue +77 -20
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +3517 -12
- package/src/components/xform/lang/zh-CN.js +27 -4
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +3 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +35 -34
- package/src/components/xform/utils/formula-util.js +966 -0
- package/src/components/xform/utils/util.js +1 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- 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 +5 -1
- package/src/layout/components/Sidebar/default.vue +1421 -1222
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/table/index.js +151 -0
- package/src/mixins/tableTree/index.js +1 -1
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +89 -8
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +3 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -29
- package/src/utils/index.js +1 -7
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +83 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +326 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -10
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -423
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
- package/src/views/bd/setting/form_template/wf_list.vue +1 -1
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +139 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +190 -128
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -117
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +5 -2
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -163
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -0
- package/src/views/user/extend_datasource/edit.vue +5 -1
- package/src/views/user/extend_datasource/list.vue +5 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +776 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +59 -37
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +261 -49
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +165 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +38 -22
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +67 -11
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/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 +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +618 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
- package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
|
@@ -1,23 +1,49 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-show="title!='' && title!=null" style="overflow: hidden
|
|
2
|
+
<div v-show="title != '' && title != null" style="overflow: hidden">
|
|
3
3
|
<div class="tree-box tree-annex fl">
|
|
4
|
-
<div class="tit"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
<div class="tit">
|
|
5
|
+
<b>{{ title }}</b>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="tree-form" v-if="option.showCategoryFilterArea !== false">
|
|
8
|
+
<el-input
|
|
9
|
+
:placeholder="
|
|
10
|
+
$t2('请输入文件夹名称', 'components.fileLibrary.categoryPlaceholder')
|
|
11
|
+
"
|
|
12
|
+
v-model="filterText"
|
|
13
|
+
class="txt"
|
|
14
|
+
>
|
|
8
15
|
<el-button slot="append" icon="el-icon-search"></el-button>
|
|
9
16
|
</el-input>
|
|
10
17
|
</div>
|
|
11
18
|
<div class="tree-btns" v-if="isCategoryEdit">
|
|
12
|
-
<el-button
|
|
13
|
-
|
|
19
|
+
<el-button
|
|
20
|
+
type="primary"
|
|
21
|
+
plain
|
|
22
|
+
icon="el-icon-circle-plus-outline"
|
|
23
|
+
class="btn"
|
|
24
|
+
@click="addFileCategory()"
|
|
25
|
+
v-if="fileObjAuth.addAuth"
|
|
26
|
+
>{{ $t2("新增", "components.fileLibrary.addCategory") }}
|
|
14
27
|
</el-button>
|
|
15
|
-
<el-button
|
|
16
|
-
|
|
17
|
-
|
|
28
|
+
<el-button
|
|
29
|
+
type="primary"
|
|
30
|
+
plain
|
|
31
|
+
icon="el-icon-edit-outline"
|
|
32
|
+
class="btn"
|
|
33
|
+
@click="editFileCategory()"
|
|
34
|
+
:disabled="currentFileCategory == null || !currentFileCategory.id"
|
|
35
|
+
v-if="fileObjAuth.editAuth"
|
|
36
|
+
>
|
|
37
|
+
{{ $t2("编辑", "components.fileLibrary.editCategory") }}
|
|
18
38
|
</el-button>
|
|
19
|
-
<el-button
|
|
20
|
-
|
|
39
|
+
<el-button
|
|
40
|
+
type="primary"
|
|
41
|
+
plain
|
|
42
|
+
class="btn"
|
|
43
|
+
icon="el-icon-edit"
|
|
44
|
+
@click="showFileObjAuthDialog = true"
|
|
45
|
+
v-if="isEdit && fileObjAuth.authAuth"
|
|
46
|
+
>{{ $t2("权限", "components.fileLibrary.authAuth") }}
|
|
21
47
|
</el-button>
|
|
22
48
|
</div>
|
|
23
49
|
<el-tree
|
|
@@ -32,6 +58,9 @@
|
|
|
32
58
|
@node-click="handleNodeClick"
|
|
33
59
|
class="tree-list"
|
|
34
60
|
icon-class="el-icon-arrow-down"
|
|
61
|
+
:style="
|
|
62
|
+
option.showCategoryFilterArea === false ? 'height: calc(100vh - 113px)' : ''
|
|
63
|
+
"
|
|
35
64
|
>
|
|
36
65
|
<span class="el-tree-node__label" slot-scope="{ node }" v-if="!node.data.moreBtn">
|
|
37
66
|
<i class="ico-wenjian"></i>
|
|
@@ -48,88 +77,184 @@
|
|
|
48
77
|
<i class="el-icon-more"></i>
|
|
49
78
|
</div>
|
|
50
79
|
</label>
|
|
51
|
-
<div class="main-right file-library fr" style="overflow: hidden
|
|
80
|
+
<div class="main-right file-library fr" style="overflow: hidden">
|
|
52
81
|
<div class="pop-annex-filter" v-if="popAnnexFilter">
|
|
53
|
-
<div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
82
|
+
<div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
|
|
83
|
+
<span>{{ getBillLabel(checkBillData) }}</span
|
|
84
|
+
><i class="el-icon-close" @click="deleteBillData(index)"></i>
|
|
85
|
+
</div>
|
|
57
86
|
</div>
|
|
58
87
|
<div class="annex-filter" v-if="isBillEnabled">
|
|
59
|
-
<el-button
|
|
60
|
-
|
|
61
|
-
|
|
88
|
+
<el-button
|
|
89
|
+
slot="append"
|
|
90
|
+
icon="el-icon-search"
|
|
91
|
+
@click="openBillDialog"
|
|
92
|
+
size="mini"
|
|
93
|
+
class="an-btn-search"
|
|
94
|
+
type="success"
|
|
95
|
+
>
|
|
96
|
+
{{
|
|
97
|
+
$t2("选择" + billConfig.name, "components.fileLibrary.selectBill", {
|
|
98
|
+
billName: billConfig.name,
|
|
99
|
+
})
|
|
100
|
+
}}
|
|
62
101
|
</el-button>
|
|
63
102
|
<div class="abox">
|
|
64
|
-
<div class="item" v-for="(checkBillData,index) in checkBillDatas" :key="index"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
103
|
+
<div class="item" v-for="(checkBillData, index) in checkBillDatas" :key="index">
|
|
104
|
+
<span>{{ getBillLabel(checkBillData) }}</span
|
|
105
|
+
><i class="el-icon-close" @click="deleteBillData(index)"></i>
|
|
106
|
+
</div>
|
|
68
107
|
</div>
|
|
69
108
|
|
|
70
|
-
<el-button
|
|
71
|
-
|
|
109
|
+
<el-button
|
|
110
|
+
slot="append"
|
|
111
|
+
icon="iconfont icon-gengduo1"
|
|
112
|
+
size="mini"
|
|
113
|
+
class="an-btn-more"
|
|
114
|
+
type="primary"
|
|
115
|
+
@click="popAnnexFilter = false"
|
|
116
|
+
v-if="popAnnexFilter"
|
|
117
|
+
>
|
|
72
118
|
</el-button>
|
|
73
|
-
<el-button
|
|
74
|
-
|
|
119
|
+
<el-button
|
|
120
|
+
slot="append"
|
|
121
|
+
icon="iconfont icon-gengduo1"
|
|
122
|
+
size="mini"
|
|
123
|
+
class="an-btn-more"
|
|
124
|
+
@click="popAnnexFilter = true"
|
|
125
|
+
v-else
|
|
126
|
+
>
|
|
75
127
|
</el-button>
|
|
76
|
-
<el-button
|
|
77
|
-
|
|
128
|
+
<el-button
|
|
129
|
+
slot="append"
|
|
130
|
+
icon="el-icon-delete"
|
|
131
|
+
size="mini"
|
|
132
|
+
class="an-btn-del"
|
|
133
|
+
@click="clearBill"
|
|
134
|
+
>
|
|
135
|
+
{{ $t2("取消选择", "components.fileLibrary.cancelSelect") }}
|
|
78
136
|
</el-button>
|
|
79
137
|
</div>
|
|
80
138
|
|
|
81
|
-
<div class="annex-screen"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
139
|
+
<div class="annex-screen">
|
|
140
|
+
<el-button
|
|
141
|
+
type="warning"
|
|
142
|
+
class="button-sty"
|
|
143
|
+
icon="el-icon-plus"
|
|
144
|
+
@click="addFile"
|
|
145
|
+
v-if="isEdit && fileObjAuth.uploadAuth"
|
|
146
|
+
>{{ $t2("上传", "components.fileLibrary.upload") }}
|
|
147
|
+
</el-button>
|
|
148
|
+
<el-button
|
|
149
|
+
type="primary"
|
|
150
|
+
class="button-sty"
|
|
151
|
+
icon="el-icon-download"
|
|
152
|
+
@click.native="mulDownload2"
|
|
153
|
+
v-if="fileObjAuth.downloadAuth"
|
|
154
|
+
>{{ $t2("下载", "components.fileLibrary.download") }}
|
|
85
155
|
</el-button>
|
|
86
|
-
<el-button
|
|
87
|
-
|
|
156
|
+
<el-button
|
|
157
|
+
type="danger"
|
|
158
|
+
class="button-sty"
|
|
159
|
+
icon="el-icon-takeaway-box"
|
|
160
|
+
@click="showRecycleBinDialog = true"
|
|
161
|
+
v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
|
|
162
|
+
>
|
|
163
|
+
{{ $t2("回收站", "components.fileLibrary.recycleBin") }}
|
|
88
164
|
</el-button>
|
|
89
|
-
<el-button
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
165
|
+
<el-button
|
|
166
|
+
type="primary"
|
|
167
|
+
plain
|
|
168
|
+
class="button-sty"
|
|
169
|
+
icon="el-icon-rank"
|
|
170
|
+
@click.native="openCategoryMoveDialog(1)"
|
|
171
|
+
v-if="isEdit && fileObjAuth.moveAuth"
|
|
172
|
+
>
|
|
173
|
+
{{ $t2("移动到", "components.fileLibrary.moveTo") }}
|
|
93
174
|
</el-button>
|
|
94
|
-
<el-button
|
|
95
|
-
|
|
96
|
-
|
|
175
|
+
<el-button
|
|
176
|
+
type="primary"
|
|
177
|
+
plain
|
|
178
|
+
class="button-sty"
|
|
179
|
+
icon="el-icon-copy-document"
|
|
180
|
+
@click.native="openCategoryMoveDialog(2)"
|
|
181
|
+
v-if="isEdit && fileObjAuth.copyAuth"
|
|
182
|
+
>
|
|
183
|
+
{{ $t2("复制到", "components.fileLibrary.copyTo") }}
|
|
97
184
|
</el-button>
|
|
98
|
-
<el-button
|
|
99
|
-
|
|
100
|
-
|
|
185
|
+
<el-button
|
|
186
|
+
type="primary"
|
|
187
|
+
plain
|
|
188
|
+
class="button-sty"
|
|
189
|
+
icon="el-icon-refresh"
|
|
190
|
+
@click.native="batchReplace"
|
|
191
|
+
v-if="isEdit && fileObjAuth.replaceAuth"
|
|
192
|
+
>
|
|
193
|
+
{{ $t2("替换", "components.fileLibrary.replace") }}
|
|
101
194
|
</el-button>
|
|
102
|
-
<el-button
|
|
103
|
-
|
|
104
|
-
|
|
195
|
+
<el-button
|
|
196
|
+
type="primary"
|
|
197
|
+
plain
|
|
198
|
+
class="button-sty"
|
|
199
|
+
icon="el-icon-delete"
|
|
200
|
+
@click.native="deleteAttach()"
|
|
201
|
+
v-if="isEdit && (fileObjAuth.deleteAuth || fileObjAuth.deleteDirAuth)"
|
|
202
|
+
>
|
|
203
|
+
{{ $t2("删除", "components.fileLibrary.delete") }}
|
|
105
204
|
</el-button>
|
|
106
|
-
<el-button
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
205
|
+
<el-button
|
|
206
|
+
icon="iconfont icon-shaixuan"
|
|
207
|
+
class="button-sty"
|
|
208
|
+
@click="showFilterDialog = true"
|
|
209
|
+
>
|
|
210
|
+
{{ $t1("搜索") }}
|
|
110
211
|
</el-button>
|
|
111
212
|
|
|
112
|
-
<template v-for="(fileButton,customToobarButtonIndex) in customToobarButtons">
|
|
213
|
+
<template v-for="(fileButton, customToobarButtonIndex) in customToobarButtons">
|
|
113
214
|
<template
|
|
114
|
-
v-if="
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
215
|
+
v-if="
|
|
216
|
+
fileButton.dirs === null ||
|
|
217
|
+
fileButton.dirs === undefined ||
|
|
218
|
+
attachment.dirs === fileButton.dirs
|
|
219
|
+
"
|
|
220
|
+
>
|
|
221
|
+
<template v-if="customFileButtonVisable(fileButton, attachment)">
|
|
222
|
+
<el-button
|
|
223
|
+
type="primary"
|
|
224
|
+
plain
|
|
225
|
+
class="button-sty"
|
|
226
|
+
:icon="fileButton.icon"
|
|
227
|
+
:key="customToobarButtonIndex"
|
|
228
|
+
@click="customToobarButtonEvent(fileButton)"
|
|
229
|
+
>{{ fileButton.label }}
|
|
118
230
|
</el-button>
|
|
119
231
|
</template>
|
|
120
232
|
</template>
|
|
121
233
|
</template>
|
|
122
|
-
|
|
123
234
|
</div>
|
|
124
|
-
<div
|
|
125
|
-
|
|
235
|
+
<div
|
|
236
|
+
class="line"
|
|
237
|
+
v-if="
|
|
238
|
+
fileObjAuth.uploadAuth ||
|
|
239
|
+
fileObjAuth.downloadAuth ||
|
|
240
|
+
fileObjAuth.deleteAuth ||
|
|
241
|
+
fileObjAuth.moveAuth ||
|
|
242
|
+
fileObjAuth.copyAuth ||
|
|
243
|
+
fileObjAuth.replaceAuth ||
|
|
244
|
+
fileObjAuth.deleteDirAuth
|
|
245
|
+
"
|
|
246
|
+
></div>
|
|
126
247
|
<div class="annex-crumbs">
|
|
127
248
|
<span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
|
|
128
|
-
<span class="tit" style="padding-right: 0
|
|
249
|
+
<span class="tit" style="padding-right: 0"
|
|
250
|
+
>{{ $t2("指定路径", "components.fileLibrary.assignPath") }}:</span
|
|
251
|
+
>
|
|
129
252
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
130
|
-
<el-breadcrumb-item
|
|
131
|
-
|
|
132
|
-
|
|
253
|
+
<el-breadcrumb-item
|
|
254
|
+
v-for="treeNode in treeNodeArr"
|
|
255
|
+
:key="treeNode.id"
|
|
256
|
+
@click.native="doNav(treeNode)"
|
|
257
|
+
>{{ treeNode.label }}
|
|
133
258
|
</el-breadcrumb-item>
|
|
134
259
|
</el-breadcrumb>
|
|
135
260
|
</div>
|
|
@@ -137,56 +262,102 @@
|
|
|
137
262
|
<div class="annex-searchBox">
|
|
138
263
|
<div class="fl">
|
|
139
264
|
<div class="oper">
|
|
140
|
-
<el-checkbox
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
265
|
+
<el-checkbox
|
|
266
|
+
v-model="checkAll"
|
|
267
|
+
@change="changeCheckAll"
|
|
268
|
+
:disabled="checkAllDisabled"
|
|
269
|
+
:indeterminate="checkAllIndeterminate"
|
|
270
|
+
>已选中 {{ checkList.length }} 项{{
|
|
271
|
+
$t2("", "components.fileLibrary.aa")
|
|
272
|
+
}}
|
|
144
273
|
</el-checkbox>
|
|
145
274
|
</div>
|
|
146
275
|
<div class="search-box">
|
|
147
276
|
<template v-if="currentFileCategory && currentFileCategory.id">
|
|
148
|
-
<el-input
|
|
149
|
-
|
|
150
|
-
|
|
277
|
+
<el-input
|
|
278
|
+
:placeholder="
|
|
279
|
+
$t2('请输入文件名', 'components.fileLibrary.filePlaceholder')
|
|
280
|
+
"
|
|
281
|
+
v-model="formData.fileName"
|
|
282
|
+
clearable
|
|
283
|
+
>
|
|
284
|
+
<el-button
|
|
285
|
+
slot="append"
|
|
286
|
+
icon="el-icon-search"
|
|
287
|
+
@click="searchEvent"
|
|
288
|
+
></el-button>
|
|
151
289
|
</el-input>
|
|
152
|
-
<el-button
|
|
153
|
-
|
|
290
|
+
<el-button
|
|
291
|
+
icon="iconfont icon-shaixuan"
|
|
292
|
+
class="button-sty"
|
|
293
|
+
@click="showAdvancedSearch = true"
|
|
294
|
+
>
|
|
295
|
+
{{ $t2("筛选", "components.fileLibrary.screen") }}
|
|
154
296
|
</el-button>
|
|
155
297
|
</template>
|
|
156
298
|
</div>
|
|
157
|
-
|
|
158
299
|
</div>
|
|
159
300
|
<div class="fr">
|
|
160
|
-
<el-button
|
|
161
|
-
|
|
301
|
+
<el-button
|
|
302
|
+
type="primary"
|
|
303
|
+
icon="iconfont icon-icmenu2"
|
|
304
|
+
@click="changeShowType()"
|
|
305
|
+
class="button-sty icon-btn"
|
|
306
|
+
v-show="showType == 1"
|
|
307
|
+
>{{ $t2("列表", "components.fileLibrary.tableList") }}
|
|
162
308
|
</el-button>
|
|
163
|
-
<el-button
|
|
164
|
-
|
|
165
|
-
|
|
309
|
+
<el-button
|
|
310
|
+
type="primary"
|
|
311
|
+
style="margin-left: 0"
|
|
312
|
+
icon="el-icon-menu"
|
|
313
|
+
@click="changeShowType()"
|
|
314
|
+
class="button-sty icon-btn"
|
|
315
|
+
v-show="showType == 2"
|
|
316
|
+
>{{ $t2("图示", "components.fileLibrary.imageList") }}
|
|
166
317
|
</el-button>
|
|
167
318
|
</div>
|
|
168
319
|
</div>
|
|
169
|
-
<div class="mask" v-show="is_show_mask">
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
320
|
+
<div class="mask" v-show="is_show_mask"></div>
|
|
321
|
+
<div
|
|
322
|
+
class="containter1"
|
|
323
|
+
ref="containter1"
|
|
324
|
+
v-show="showType == 1"
|
|
325
|
+
style="overflow: auto"
|
|
326
|
+
>
|
|
173
327
|
<div class="annex-piclist">
|
|
174
328
|
<div class="clearfix">
|
|
175
|
-
<el-checkbox-group
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
329
|
+
<el-checkbox-group
|
|
330
|
+
v-model="checkList"
|
|
331
|
+
@change="checkChange"
|
|
332
|
+
class="f-group"
|
|
333
|
+
>
|
|
334
|
+
<template v-for="(attachment, index) in page.records">
|
|
335
|
+
<li
|
|
336
|
+
:key="index"
|
|
337
|
+
class="item"
|
|
338
|
+
:class="checkList.includes(attachment.id) ? 'on' : ''"
|
|
339
|
+
>
|
|
179
340
|
<el-checkbox :label="attachment.id"><span></span></el-checkbox>
|
|
180
341
|
<div class="oper">
|
|
181
|
-
<el-tooltip
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
342
|
+
<el-tooltip
|
|
343
|
+
effect="dark"
|
|
344
|
+
content="详情"
|
|
345
|
+
placement="top"
|
|
346
|
+
v-if="!attachment.dirs && isEdit && fileObjAuth.editAuth"
|
|
347
|
+
><i
|
|
348
|
+
class="el-tooltip iconfont icon-shuxing ico"
|
|
349
|
+
@click="openPropertiesDialog(attachment)"
|
|
350
|
+
></i>
|
|
185
351
|
</el-tooltip>
|
|
186
|
-
<el-tooltip
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
352
|
+
<el-tooltip
|
|
353
|
+
effect="dark"
|
|
354
|
+
content="详情"
|
|
355
|
+
placement="top"
|
|
356
|
+
v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"
|
|
357
|
+
><i
|
|
358
|
+
class="el-tooltip iconfont icon-shuxing ico"
|
|
359
|
+
@click="editFileCategory(attachment)"
|
|
360
|
+
></i>
|
|
190
361
|
</el-tooltip>
|
|
191
362
|
<a
|
|
192
363
|
href="javascript:void(0);"
|
|
@@ -194,45 +365,81 @@
|
|
|
194
365
|
v-if="!attachment.dirs && fileObjAuth.downloadAuth"
|
|
195
366
|
@click="downloadSingerFile(attachment)"
|
|
196
367
|
>
|
|
197
|
-
<el-tooltip
|
|
198
|
-
|
|
199
|
-
|
|
368
|
+
<el-tooltip
|
|
369
|
+
effect="dark"
|
|
370
|
+
content="下载"
|
|
371
|
+
placement="top"
|
|
372
|
+
popper-class="tooltip-skin"
|
|
373
|
+
>
|
|
374
|
+
<i class="el-icon-download" />
|
|
200
375
|
</el-tooltip>
|
|
201
376
|
</a>
|
|
202
377
|
<el-dropdown trigger="click" v-if="isEdit">
|
|
203
|
-
|
|
204
|
-
</span>
|
|
378
|
+
<span class="ico"><i class="el-icon-more"></i> </span>
|
|
205
379
|
<el-dropdown-menu slot="dropdown">
|
|
206
|
-
<el-dropdown-item
|
|
207
|
-
|
|
208
|
-
|
|
380
|
+
<el-dropdown-item
|
|
381
|
+
@click.native="openShareDialog(attachment)"
|
|
382
|
+
v-if="!attachment.dirs && fileObjAuth.shareAuth"
|
|
383
|
+
><i class="el-icon-share"></i>分享
|
|
209
384
|
</el-dropdown-item>
|
|
210
|
-
<el-dropdown-item
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
385
|
+
<el-dropdown-item
|
|
386
|
+
@click.native="replaceFile(attachment, index, page.records)"
|
|
387
|
+
v-if="
|
|
388
|
+
!attachment.dirs &&
|
|
389
|
+
isEdit &&
|
|
390
|
+
attachment.status != 1 &&
|
|
391
|
+
fileObjAuth.replaceAuth
|
|
392
|
+
"
|
|
393
|
+
>
|
|
394
|
+
<i class="el-icon-refresh"></i>替换
|
|
214
395
|
</el-dropdown-item>
|
|
215
|
-
<el-dropdown-item
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
396
|
+
<el-dropdown-item
|
|
397
|
+
@click.native="openFileHistoryDialog(attachment)"
|
|
398
|
+
v-if="
|
|
399
|
+
!attachment.dirs &&
|
|
400
|
+
isEdit &&
|
|
401
|
+
attachment.status != 1 &&
|
|
402
|
+
fileObjAuth.historyAuth
|
|
403
|
+
"
|
|
404
|
+
>
|
|
405
|
+
<i class="el-icon-s-order"></i>历史
|
|
219
406
|
</el-dropdown-item>
|
|
220
|
-
<el-dropdown-item
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
407
|
+
<el-dropdown-item
|
|
408
|
+
@click.native="deleteAttach(attachment)"
|
|
409
|
+
v-if="
|
|
410
|
+
!attachment.dirs &&
|
|
411
|
+
isEdit &&
|
|
412
|
+
attachment.status != 1 &&
|
|
413
|
+
fileObjAuth.deleteAuth
|
|
414
|
+
"
|
|
415
|
+
>
|
|
416
|
+
<i class="el-icon-delete"></i>删除
|
|
224
417
|
</el-dropdown-item>
|
|
225
|
-
<el-dropdown-item
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
418
|
+
<el-dropdown-item
|
|
419
|
+
@click.native="deleteCategory(attachment)"
|
|
420
|
+
v-if="attachment.dirs && isEdit && fileObjAuth.deleteDirAuth"
|
|
421
|
+
>
|
|
422
|
+
<i class="el-icon-delete"></i>删除
|
|
229
423
|
</el-dropdown-item>
|
|
230
|
-
<template
|
|
424
|
+
<template
|
|
425
|
+
v-for="(fileButton, fileButtonIndex) in customFileButtons"
|
|
426
|
+
>
|
|
231
427
|
<template
|
|
232
|
-
v-if="
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
428
|
+
v-if="
|
|
429
|
+
fileButton.dirs === null ||
|
|
430
|
+
fileButton.dirs === undefined ||
|
|
431
|
+
attachment.dirs === fileButton.dirs
|
|
432
|
+
"
|
|
433
|
+
>
|
|
434
|
+
<template
|
|
435
|
+
v-if="customFileButtonVisable(fileButton, attachment)"
|
|
436
|
+
>
|
|
437
|
+
<el-dropdown-item
|
|
438
|
+
@click.native="
|
|
439
|
+
customFileButtonEvent(fileButton, attachment)
|
|
440
|
+
"
|
|
441
|
+
:key="fileButtonIndex"
|
|
442
|
+
>
|
|
236
443
|
<i :class="fileButton.icon"></i>{{ fileButton.label }}
|
|
237
444
|
</el-dropdown-item>
|
|
238
445
|
</template>
|
|
@@ -242,34 +449,55 @@
|
|
|
242
449
|
</el-dropdown>
|
|
243
450
|
</div>
|
|
244
451
|
<div class="custom-slot">
|
|
245
|
-
<slot name="custom" v-bind="{row:attachment}"></slot>
|
|
452
|
+
<slot name="custom" v-bind="{ row: attachment }"></slot>
|
|
246
453
|
</div>
|
|
247
454
|
<!-- <div class="status s-1" v-if="!attachment.dirs && attachment.status==1">
|
|
248
455
|
<el-tooltip effect="dark" content="已归档" placement="top" popper-class="tooltip-skin"><i
|
|
249
456
|
class="iconfont icon-file"></i>
|
|
250
457
|
</el-tooltip>
|
|
251
458
|
</div> -->
|
|
252
|
-
<div
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
459
|
+
<div
|
|
460
|
+
class="status s-1"
|
|
461
|
+
v-if="!attachment.dirs && attachment.status == 1"
|
|
462
|
+
></div>
|
|
463
|
+
<div
|
|
464
|
+
class="img"
|
|
465
|
+
@click="openPreview(attachment)"
|
|
466
|
+
v-if="!attachment.dirs"
|
|
467
|
+
>
|
|
468
|
+
<div class="show-video" v-if="hasPreview(attachment)">
|
|
469
|
+
<i class="icon-chakan"></i>
|
|
470
|
+
</div>
|
|
471
|
+
<div class="show-video" v-if="false">
|
|
472
|
+
<i class="el-icon-video-play"></i>
|
|
473
|
+
</div>
|
|
474
|
+
<p><img :src="getShowUrl(attachment)" /></p>
|
|
257
475
|
</div>
|
|
258
|
-
<div
|
|
259
|
-
|
|
476
|
+
<div
|
|
477
|
+
class="img"
|
|
478
|
+
@click="changeCategory(attachment)"
|
|
479
|
+
v-if="attachment.dirs"
|
|
480
|
+
>
|
|
481
|
+
<svg-icon icon-class="ico-wenjianjia" />
|
|
260
482
|
</div>
|
|
261
|
-
<el-tooltip
|
|
483
|
+
<el-tooltip
|
|
484
|
+
:enterable="false"
|
|
485
|
+
effect="dark"
|
|
486
|
+
:content="attachment.fileName"
|
|
487
|
+
placement="top"
|
|
488
|
+
>
|
|
262
489
|
<div class="txt-box">
|
|
263
490
|
<div class="tb-left"></div>
|
|
264
491
|
<div class="tb-mid">
|
|
265
492
|
<div class="txt">
|
|
266
|
-
<span class="name">{{ getFileName(attachment) }}</span
|
|
267
|
-
v-if="attachment.extension"
|
|
493
|
+
<span class="name">{{ getFileName(attachment) }}</span
|
|
494
|
+
><span v-if="attachment.extension"
|
|
495
|
+
>.{{ attachment.extension }}</span
|
|
496
|
+
>
|
|
268
497
|
</div>
|
|
269
498
|
</div>
|
|
270
499
|
<div class="format">... .{{ attachment.extension }}</div>
|
|
271
500
|
</div>
|
|
272
|
-
|
|
273
501
|
</el-tooltip>
|
|
274
502
|
</li>
|
|
275
503
|
</template>
|
|
@@ -306,10 +534,16 @@
|
|
|
306
534
|
</div>
|
|
307
535
|
</div>
|
|
308
536
|
<div class="annex-grid-height">
|
|
309
|
-
<vxe-grid
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
537
|
+
<vxe-grid
|
|
538
|
+
v-show="showType == 2"
|
|
539
|
+
ref="table-m1"
|
|
540
|
+
v-bind="vxeOption"
|
|
541
|
+
:data="page.records"
|
|
542
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
543
|
+
@custom="$vxeTableUtil.customHandle"
|
|
544
|
+
@checkbox-change="tableCheckChange"
|
|
545
|
+
@checkbox-all="tableCheckAll"
|
|
546
|
+
>
|
|
313
547
|
<!-- <template #bottom v-if="page.total>page.records.length">
|
|
314
548
|
<div class="vxe-annex-more" @click="changePage(page.current+1, pageSize)">
|
|
315
549
|
<span>更多</span>
|
|
@@ -326,16 +560,16 @@
|
|
|
326
560
|
@page-change="changePageNew"
|
|
327
561
|
>
|
|
328
562
|
<template #right>
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
563
|
+
<span>
|
|
564
|
+
<span>{{ $t2("当前记录", "components.table.pageInfo") }}</span>
|
|
565
|
+
<span class="f-red"> {{ page.records.length }} </span>
|
|
566
|
+
<span>/</span>
|
|
567
|
+
<span class="f-red"> {{ page.total }}</span>
|
|
568
|
+
</span>
|
|
335
569
|
</template>
|
|
336
570
|
</vxe-pager>
|
|
337
571
|
</template>
|
|
338
|
-
<template #operate="{row,rowIndex,items}">
|
|
572
|
+
<template #operate="{ row, rowIndex, items }">
|
|
339
573
|
<template v-if="!row.dirs">
|
|
340
574
|
<a
|
|
341
575
|
href="javascript:void(0);"
|
|
@@ -343,10 +577,14 @@
|
|
|
343
577
|
v-if="isEdit && fileObjAuth.editAuth == 1"
|
|
344
578
|
@click="openPropertiesDialog(row)"
|
|
345
579
|
>
|
|
346
|
-
<el-tooltip
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
580
|
+
<el-tooltip
|
|
581
|
+
:enterable="false"
|
|
582
|
+
effect="dark"
|
|
583
|
+
:content="$t2('详情', 'components.fileLibrary.detail')"
|
|
584
|
+
placement="top"
|
|
585
|
+
popper-class="tooltip-skin"
|
|
586
|
+
>
|
|
587
|
+
<i class="iconfont icon-shuxing" />
|
|
350
588
|
</el-tooltip>
|
|
351
589
|
</a>
|
|
352
590
|
<a
|
|
@@ -355,10 +593,14 @@
|
|
|
355
593
|
v-if="fileObjAuth.downloadAuth == 1"
|
|
356
594
|
@click="downloadSingerFile(row)"
|
|
357
595
|
>
|
|
358
|
-
<el-tooltip
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
596
|
+
<el-tooltip
|
|
597
|
+
:enterable="false"
|
|
598
|
+
effect="dark"
|
|
599
|
+
:content="$t2('下载', 'components.fileLibrary.download')"
|
|
600
|
+
placement="top"
|
|
601
|
+
popper-class="tooltip-skin"
|
|
602
|
+
>
|
|
603
|
+
<i class="el-icon-download" />
|
|
362
604
|
</el-tooltip>
|
|
363
605
|
</a>
|
|
364
606
|
<a
|
|
@@ -367,10 +609,14 @@
|
|
|
367
609
|
v-if="fileObjAuth.shareAuth == 1"
|
|
368
610
|
@click="openShareDialog(row)"
|
|
369
611
|
>
|
|
370
|
-
<el-tooltip
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
612
|
+
<el-tooltip
|
|
613
|
+
:enterable="false"
|
|
614
|
+
effect="dark"
|
|
615
|
+
:content="$t2('分享', 'components.fileLibrary.share')"
|
|
616
|
+
placement="top"
|
|
617
|
+
popper-class="tooltip-skin"
|
|
618
|
+
>
|
|
619
|
+
<i class="el-icon-share" />
|
|
374
620
|
</el-tooltip>
|
|
375
621
|
</a>
|
|
376
622
|
<a
|
|
@@ -379,10 +625,14 @@
|
|
|
379
625
|
v-if="isEdit && row.status != 1 && fileObjAuth.replaceAuth == 1"
|
|
380
626
|
@click="replaceFile(row, rowIndex, items)"
|
|
381
627
|
>
|
|
382
|
-
<el-tooltip
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
628
|
+
<el-tooltip
|
|
629
|
+
:enterable="false"
|
|
630
|
+
effect="dark"
|
|
631
|
+
:content="$t2('替换', 'components.fileLibrary.replace')"
|
|
632
|
+
placement="top"
|
|
633
|
+
popper-class="tooltip-skin"
|
|
634
|
+
>
|
|
635
|
+
<i class="el-icon-refresh" />
|
|
386
636
|
</el-tooltip>
|
|
387
637
|
</a>
|
|
388
638
|
<a
|
|
@@ -391,10 +641,14 @@
|
|
|
391
641
|
v-if="isEdit && row.status != 1 && fileObjAuth.historyAuth == 1"
|
|
392
642
|
@click="openFileHistoryDialog(row)"
|
|
393
643
|
>
|
|
394
|
-
<el-tooltip
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
644
|
+
<el-tooltip
|
|
645
|
+
:enterable="false"
|
|
646
|
+
effect="dark"
|
|
647
|
+
:content="$t2('历史', 'components.fileLibrary.history')"
|
|
648
|
+
placement="top"
|
|
649
|
+
popper-class="tooltip-skin"
|
|
650
|
+
>
|
|
651
|
+
<i class="el-icon-s-order" />
|
|
398
652
|
</el-tooltip>
|
|
399
653
|
</a>
|
|
400
654
|
<a
|
|
@@ -403,10 +657,14 @@
|
|
|
403
657
|
v-if="isEdit && row.status != 1 && fileObjAuth.deleteAuth == 1"
|
|
404
658
|
@click="deleteAttach(row)"
|
|
405
659
|
>
|
|
406
|
-
<el-tooltip
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
660
|
+
<el-tooltip
|
|
661
|
+
:enterable="false"
|
|
662
|
+
effect="dark"
|
|
663
|
+
:content="$t2('删除', 'components.fileLibrary.delete')"
|
|
664
|
+
placement="top"
|
|
665
|
+
popper-class="tooltip-skin"
|
|
666
|
+
>
|
|
667
|
+
<i class="el-icon-delete" />
|
|
410
668
|
</el-tooltip>
|
|
411
669
|
</a>
|
|
412
670
|
</template>
|
|
@@ -417,10 +675,14 @@
|
|
|
417
675
|
v-if="isEdit && isCategoryEdit && fileObjAuth.editAuth == 1"
|
|
418
676
|
@click="editFileCategory(row)"
|
|
419
677
|
>
|
|
420
|
-
<el-tooltip
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
678
|
+
<el-tooltip
|
|
679
|
+
:enterable="false"
|
|
680
|
+
effect="dark"
|
|
681
|
+
:content="$t2('详情', 'components.fileLibrary.detail')"
|
|
682
|
+
placement="top"
|
|
683
|
+
popper-class="tooltip-skin"
|
|
684
|
+
>
|
|
685
|
+
<i class="iconfont icon-shuxing" />
|
|
424
686
|
</el-tooltip>
|
|
425
687
|
</a>
|
|
426
688
|
<a
|
|
@@ -429,16 +691,25 @@
|
|
|
429
691
|
v-if="isEdit && isCategoryEdit && fileObjAuth.deleteDirAuth == 1"
|
|
430
692
|
@click="deleteAttach(row)"
|
|
431
693
|
>
|
|
432
|
-
<el-tooltip
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
694
|
+
<el-tooltip
|
|
695
|
+
:enterable="false"
|
|
696
|
+
effect="dark"
|
|
697
|
+
:content="$t2('删除', 'components.fileLibrary.delete')"
|
|
698
|
+
placement="top"
|
|
699
|
+
popper-class="tooltip-skin"
|
|
700
|
+
>
|
|
701
|
+
<i class="el-icon-delete" />
|
|
436
702
|
</el-tooltip>
|
|
437
703
|
</a>
|
|
438
704
|
</template>
|
|
439
|
-
<template v-for="(fileButton,index) in customFileButtons">
|
|
705
|
+
<template v-for="(fileButton, index) in customFileButtons">
|
|
440
706
|
<template
|
|
441
|
-
v-if="
|
|
707
|
+
v-if="
|
|
708
|
+
fileButton.dirs === null ||
|
|
709
|
+
fileButton.dirs === undefined ||
|
|
710
|
+
row.dirs === fileButton.dirs
|
|
711
|
+
"
|
|
712
|
+
>
|
|
442
713
|
<a
|
|
443
714
|
:key="index"
|
|
444
715
|
href="javascript:void(0);"
|
|
@@ -446,21 +717,28 @@
|
|
|
446
717
|
v-if="customFileButtonVisable(fileButton, row)"
|
|
447
718
|
@click="customFileButtonEvent(fileButton, row)"
|
|
448
719
|
>
|
|
449
|
-
<el-tooltip
|
|
450
|
-
|
|
451
|
-
|
|
720
|
+
<el-tooltip
|
|
721
|
+
:enterable="false"
|
|
722
|
+
effect="dark"
|
|
723
|
+
:content="fileButton.label"
|
|
724
|
+
placement="top"
|
|
725
|
+
popper-class="tooltip-skin"
|
|
726
|
+
>
|
|
727
|
+
<i :class="fileButton.icon" />
|
|
452
728
|
</el-tooltip>
|
|
453
729
|
</a>
|
|
454
730
|
</template>
|
|
455
731
|
</template>
|
|
456
|
-
|
|
457
732
|
</template>
|
|
458
733
|
</vxe-grid>
|
|
459
734
|
</div>
|
|
460
|
-
|
|
461
735
|
</div>
|
|
462
736
|
<el-dialog
|
|
463
|
-
:title="
|
|
737
|
+
:title="
|
|
738
|
+
editCategory.id
|
|
739
|
+
? $t2('编辑文件夹', 'components.fileLibrary.editCategoryTitle')
|
|
740
|
+
: $t2('新增文件夹', 'components.fileLibrary.addCategoryTitle')
|
|
741
|
+
"
|
|
464
742
|
:append-to-body="true"
|
|
465
743
|
:modal-append-to-body="true"
|
|
466
744
|
:close-on-click-modal="false"
|
|
@@ -473,65 +751,119 @@
|
|
|
473
751
|
v-el-dialog-center
|
|
474
752
|
>
|
|
475
753
|
<div class="cont">
|
|
476
|
-
<el-form
|
|
477
|
-
|
|
754
|
+
<el-form
|
|
755
|
+
ref="editCategoryForm"
|
|
756
|
+
:model="editCategory"
|
|
757
|
+
label-width="102px"
|
|
758
|
+
class="adSearchForm"
|
|
759
|
+
>
|
|
760
|
+
<el-form-item
|
|
761
|
+
:label="$t2('文件夹路径', 'components.fileLibrary.fileCategoryPath')"
|
|
762
|
+
>
|
|
478
763
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
479
|
-
<el-breadcrumb-item v-for="(treeNode,index) in treeNodeArr" :key="index"
|
|
480
|
-
|
|
481
|
-
}}
|
|
764
|
+
<el-breadcrumb-item v-for="(treeNode, index) in treeNodeArr" :key="index"
|
|
765
|
+
>{{ treeNode.label }}
|
|
482
766
|
</el-breadcrumb-item>
|
|
483
767
|
</el-breadcrumb>
|
|
484
768
|
</el-form-item>
|
|
485
|
-
<el-form-item
|
|
486
|
-
|
|
769
|
+
<el-form-item
|
|
770
|
+
:label="$t2('文件夹编码', 'components.fileLibrary.fileCategorySn')"
|
|
771
|
+
>
|
|
772
|
+
<span>{{ editCategory.fileSn }}</span>
|
|
487
773
|
</el-form-item>
|
|
488
|
-
<el-form-item
|
|
489
|
-
|
|
774
|
+
<el-form-item
|
|
775
|
+
:label="$t2('文件夹名称', 'components.fileLibrary.fileCategoryName')"
|
|
776
|
+
>
|
|
777
|
+
<el-input v-model="editCategory.fileName" clearable class="all-width" />
|
|
490
778
|
</el-form-item>
|
|
491
779
|
</el-form>
|
|
492
780
|
</div>
|
|
493
781
|
<span slot="footer" class="dialog-footer">
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
782
|
+
<el-button
|
|
783
|
+
type="primary"
|
|
784
|
+
plain
|
|
785
|
+
class="button-sty"
|
|
786
|
+
@click="showEditCategoryDialog = false"
|
|
787
|
+
>
|
|
788
|
+
<i class="el-icon-close el-icon"></i>
|
|
789
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
|
790
|
+
</el-button>
|
|
791
|
+
<el-button type="primary" @click="confirmEditCategoryDialog" class="button-sty">
|
|
792
|
+
<i class="el-icon-check el-icon"></i>
|
|
793
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
|
794
|
+
</el-button>
|
|
795
|
+
</span>
|
|
503
796
|
</el-dialog>
|
|
504
797
|
</div>
|
|
505
|
-
<propertiesDialog
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
<
|
|
514
|
-
|
|
798
|
+
<propertiesDialog
|
|
799
|
+
v-if="showPropertiesDialog"
|
|
800
|
+
:visiable.sync="showPropertiesDialog"
|
|
801
|
+
:editAttachment.sync="editAttachment"
|
|
802
|
+
:isEdit="isEdit"
|
|
803
|
+
:treeNodeArr.sync="treeNodeArr"
|
|
804
|
+
:option="option"
|
|
805
|
+
></propertiesDialog>
|
|
806
|
+
<el-image-viewer
|
|
807
|
+
v-if="showViewer"
|
|
808
|
+
:on-close="
|
|
809
|
+
() => {
|
|
810
|
+
showViewer = false;
|
|
811
|
+
}
|
|
812
|
+
"
|
|
813
|
+
:initial-index.sync="chooseIndex"
|
|
814
|
+
:url-list="imageDTOs"
|
|
815
|
+
/>
|
|
816
|
+
<categoryMoveDialog
|
|
817
|
+
:checkRows.sync="checkRows"
|
|
818
|
+
v-if="showCategoryMoveDialog"
|
|
819
|
+
:visiable.sync="showCategoryMoveDialog"
|
|
820
|
+
@confirm="confirmMoveDialog"
|
|
821
|
+
:handleType.sync="handleType"
|
|
822
|
+
></categoryMoveDialog>
|
|
823
|
+
<fileHistoryDialog
|
|
824
|
+
v-if="showFileHistoryDialog"
|
|
825
|
+
:visiable.sync="showFileHistoryDialog"
|
|
826
|
+
:currentFile.sync="operateFileHistory"
|
|
827
|
+
@confirm="confirmFileHistoryDialog"
|
|
828
|
+
:multi="false"
|
|
829
|
+
/>
|
|
515
830
|
|
|
516
|
-
<shareDialog
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
<
|
|
522
|
-
|
|
831
|
+
<shareDialog
|
|
832
|
+
v-if="showShareDialog"
|
|
833
|
+
:visiable.sync="showShareDialog"
|
|
834
|
+
:attachment.sync="shareAttachment"
|
|
835
|
+
></shareDialog>
|
|
836
|
+
<recycleBinDialog
|
|
837
|
+
v-if="showRecycleBinDialog"
|
|
838
|
+
:visiable.sync="showRecycleBinDialog"
|
|
839
|
+
:option.sync="option"
|
|
840
|
+
:treeNodeArr="treeNodeArr"
|
|
841
|
+
:currentFileCategory="currentFileCategory"
|
|
842
|
+
@confirm="confirmRecycleBinDialog"
|
|
843
|
+
></recycleBinDialog>
|
|
844
|
+
<advancedSearchDialog
|
|
845
|
+
v-if="showAdvancedSearch"
|
|
846
|
+
:visiable.sync="showAdvancedSearch"
|
|
847
|
+
:formData.sync="advancedFormData"
|
|
848
|
+
@confirm="searchEvent"
|
|
849
|
+
>
|
|
523
850
|
<template #form>
|
|
524
|
-
<vxe-form
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
<vxe-form-item title="
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
851
|
+
<vxe-form
|
|
852
|
+
:model="advancedFormData"
|
|
853
|
+
title-width="102px"
|
|
854
|
+
:inline="true"
|
|
855
|
+
class="adSearchForm"
|
|
856
|
+
>
|
|
857
|
+
<!-- <vxe-form-item title="属性名称:">
|
|
858
|
+
<template v-slot>
|
|
859
|
+
<el-input v-model="advancedFormData.attributeName" clearable/>
|
|
860
|
+
</template>
|
|
861
|
+
</vxe-form-item>
|
|
862
|
+
<vxe-form-item title="属性值:">
|
|
863
|
+
<template v-slot>
|
|
864
|
+
<el-input v-model="advancedFormData.attributeValue" clearable/>
|
|
865
|
+
</template>
|
|
866
|
+
</vxe-form-item>-->
|
|
535
867
|
<!-- <vxe-form-item title="状态:">
|
|
536
868
|
<template v-slot>
|
|
537
869
|
<el-select v-model="advancedFormData.status" clearable>
|
|
@@ -542,7 +874,7 @@
|
|
|
542
874
|
</vxe-form-item>-->
|
|
543
875
|
<vxe-form-item title="所属对象描述:" class-name="block">
|
|
544
876
|
<template v-slot>
|
|
545
|
-
<el-input v-model="advancedFormData.note" clearable/>
|
|
877
|
+
<el-input v-model="advancedFormData.note" clearable />
|
|
546
878
|
</template>
|
|
547
879
|
</vxe-form-item>
|
|
548
880
|
<vxe-form-item title="创建时间:">
|
|
@@ -578,29 +910,35 @@
|
|
|
578
910
|
v-bind="billDialogParam"
|
|
579
911
|
@confirm="confirmBillDialog"
|
|
580
912
|
></component>
|
|
581
|
-
<videoDialog
|
|
582
|
-
|
|
583
|
-
|
|
913
|
+
<videoDialog
|
|
914
|
+
v-if="showVideoDialog"
|
|
915
|
+
:visiable.sync="showVideoDialog"
|
|
916
|
+
:option="videoOption"
|
|
917
|
+
></videoDialog>
|
|
918
|
+
<fileObjAuthDialog
|
|
919
|
+
v-if="showFileObjAuthDialog"
|
|
920
|
+
:visiable.sync="showFileObjAuthDialog"
|
|
921
|
+
:fileObjId="currentFileCategory ? currentFileCategory.id : 0"
|
|
922
|
+
:treeNodeArr="treeNodeArr"
|
|
923
|
+
/>
|
|
924
|
+
|
|
925
|
+
<filterDialog
|
|
926
|
+
v-if="showFilterDialog"
|
|
927
|
+
:visiable.sync="showFilterDialog"
|
|
928
|
+
queryType="pcp"
|
|
929
|
+
:treeNodeArr="treeNodeArr"
|
|
930
|
+
:currentFileCategory="currentFileCategory"
|
|
931
|
+
@openFileDirs="openFileDirs"
|
|
932
|
+
></filterDialog>
|
|
584
933
|
</div>
|
|
585
934
|
</template>
|
|
586
935
|
|
|
587
936
|
<script>
|
|
588
|
-
|
|
589
|
-
import mixins from './mixins/indexMixins';
|
|
590
|
-
import fileObjAuthDialog from "../../components/fileLibrary/fileObjAuthDialog";
|
|
591
|
-
|
|
937
|
+
import mixins from "./mixins/indexMixins";
|
|
592
938
|
export default {
|
|
593
|
-
name:
|
|
939
|
+
name: "ledgerLibrary",
|
|
594
940
|
mixins: [mixins],
|
|
595
|
-
|
|
596
|
-
data() {
|
|
597
|
-
return {
|
|
598
|
-
showFileObjAuthDialog: false,
|
|
599
|
-
fileObjAuth: {},
|
|
600
|
-
popAnnexFilter: false
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
941
|
+
};
|
|
604
942
|
</script>
|
|
605
943
|
<style lang="scss" scoped>
|
|
606
944
|
#labBtn {
|
|
@@ -623,7 +961,6 @@ export default {
|
|
|
623
961
|
display: inline-block;
|
|
624
962
|
}
|
|
625
963
|
|
|
626
|
-
|
|
627
964
|
.vxe-grid .vxe-gird-block {
|
|
628
965
|
height: calc(100vh - 161px);
|
|
629
966
|
}
|
|
@@ -683,5 +1020,8 @@ export default {
|
|
|
683
1020
|
height: calc(100vh - 215px);
|
|
684
1021
|
}
|
|
685
1022
|
}
|
|
686
|
-
|
|
1023
|
+
|
|
1024
|
+
#labBtn {
|
|
1025
|
+
height: calc(100vh - 34px);
|
|
1026
|
+
}
|
|
687
1027
|
</style>
|