cloud-web-corejs 1.0.54-dev.50 → 1.0.54-dev.501
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -3
- package/src/App.vue +29 -33
- package/src/api/user.js +16 -0
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/index.js +49 -1
- package/src/components/VabUpload/mixins.js +2 -2
- 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/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +295 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +389 -1
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/errorMsg/mixins.js +6 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/index.js +48 -6
- package/src/components/excelExport/index.vue +56 -2
- package/src/components/excelExport/mixins.js +965 -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 +57 -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 +1 -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 +419 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +82 -49
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1759 -8
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +120 -72
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1650 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +646 -379
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +962 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/indexMixin.js +3 -772
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +956 -159
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +32 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1653 -869
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/index.vue +69 -20
- package/src/components/xform/form-render/indexMixin.js +22 -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 +174 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util copy 2.js +945 -0
- package/src/components/xform/utils/formula-util copy.js +860 -0
- package/src/components/xform/utils/formula-util.js +970 -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 +210 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +20 -0
- package/src/lang/locale/zh/login.js +20 -0
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +1389 -1222
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/table/index.js +151 -0
- package/src/mixins/tableTree/index.js +1 -1
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +79 -8
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +3 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -29
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +83 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +326 -214
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -10
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -425
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
- package/src/views/bd/setting/form_template/wf_list.vue +1 -1
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +139 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +190 -128
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +223 -117
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +5 -2
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -163
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -0
- package/src/views/user/extend_datasource/edit.vue +5 -1
- package/src/views/user/extend_datasource/list.vue +5 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +776 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +59 -37
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +261 -49
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +165 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +38 -22
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +67 -11
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/edit.vue +116 -83
- package/src/views/user/position/list.vue +118 -86
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +609 -429
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/system_notice/edit.vue +232 -186
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +618 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
- package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import editView from "
|
|
2
|
-
import userDialog from "
|
|
3
|
-
import positionDialog from "
|
|
4
|
-
import saleOrgDialog from "
|
|
5
|
-
import roleDialog from "
|
|
6
|
-
import fileObjAuthEditDialog from "
|
|
7
|
-
import fileObjNotifyEdit from "
|
|
8
|
-
|
|
1
|
+
import editView from "../fileObjAuthEdit";
|
|
2
|
+
import userDialog from "@base/views/user/user/dialog";
|
|
3
|
+
import positionDialog from "@base/views/user/position/dialog";
|
|
4
|
+
import saleOrgDialog from "@base/views/user/sale_org/dialog";
|
|
5
|
+
import roleDialog from "@base/views/user/role/dialog";
|
|
6
|
+
import fileObjAuthEditDialog from "../fileObjAuthEditDialog.vue";
|
|
7
|
+
import fileObjNotifyEdit from "../fileObjNotifyEdit.vue";
|
|
9
8
|
|
|
10
9
|
let modules = {};
|
|
11
10
|
modules = {
|
|
12
11
|
name: "fileObjAuthDialog",
|
|
13
12
|
props: {
|
|
14
13
|
fileObjId: Number,
|
|
15
|
-
treeNodeArr: Array
|
|
14
|
+
treeNodeArr: Array,
|
|
16
15
|
},
|
|
17
16
|
components: {
|
|
18
|
-
editView,
|
|
17
|
+
editView,
|
|
18
|
+
userDialog,
|
|
19
|
+
positionDialog,
|
|
20
|
+
saleOrgDialog,
|
|
21
|
+
roleDialog,
|
|
22
|
+
fileObjAuthEditDialog,
|
|
23
|
+
fileObjNotifyEdit,
|
|
19
24
|
},
|
|
20
|
-
inject: [
|
|
25
|
+
inject: ["current_prefix", "getFileStoreArea"],
|
|
21
26
|
mounted() {
|
|
22
27
|
this.initTableList();
|
|
23
28
|
},
|
|
@@ -25,9 +30,9 @@ modules = {
|
|
|
25
30
|
let that = this;
|
|
26
31
|
return {
|
|
27
32
|
showDialog: true,
|
|
28
|
-
activeName:
|
|
29
|
-
value10:
|
|
30
|
-
dataId:
|
|
33
|
+
activeName: "first",
|
|
34
|
+
value10: "",
|
|
35
|
+
dataId: "",
|
|
31
36
|
showEdit: false,
|
|
32
37
|
formData: {
|
|
33
38
|
saleOrgName: null,
|
|
@@ -53,39 +58,39 @@ modules = {
|
|
|
53
58
|
showRoleAddDialog: false,
|
|
54
59
|
showDetailDialog: false,
|
|
55
60
|
currentRow: null,
|
|
56
|
-
showFileObjNotifyEdit: true
|
|
61
|
+
showFileObjNotifyEdit: true,
|
|
57
62
|
};
|
|
58
63
|
},
|
|
59
64
|
computed: {
|
|
60
65
|
fileStoreArea() {
|
|
61
66
|
return this.getFileStoreArea();
|
|
62
|
-
}
|
|
67
|
+
},
|
|
63
68
|
},
|
|
64
69
|
methods: {
|
|
65
70
|
searchEvent() {
|
|
66
|
-
this.$refs[
|
|
71
|
+
this.$refs["table-m1"].commitProxy("reload");
|
|
67
72
|
},
|
|
68
73
|
resetEvent() {
|
|
69
74
|
this.formData = {};
|
|
70
|
-
this.$refs[
|
|
75
|
+
this.$refs["table-m1"].commitProxy("reload");
|
|
71
76
|
},
|
|
72
77
|
openEditDialog(id) {
|
|
73
|
-
this.dataId = !id || typeof id ==
|
|
74
|
-
this.activeName =
|
|
78
|
+
this.dataId = !id || typeof id == "object" ? 0 : id;
|
|
79
|
+
this.activeName = "first";
|
|
75
80
|
this.showViewDialog = true;
|
|
76
|
-
this.$openEditView(
|
|
81
|
+
this.$openEditView("showEdit");
|
|
77
82
|
},
|
|
78
83
|
|
|
79
84
|
initTableList() {
|
|
80
85
|
let that = this;
|
|
81
86
|
let valMap = {
|
|
82
|
-
0: this.$t2(
|
|
83
|
-
1: this.$t2(
|
|
87
|
+
0: this.$t2("否", "components.fileLibrary.auThLaebl0"),
|
|
88
|
+
1: this.$t2("是", "components.fileLibrary.auThLaebl1"),
|
|
84
89
|
};
|
|
85
90
|
let tableOption = {
|
|
86
91
|
vue: this,
|
|
87
|
-
tableRef:
|
|
88
|
-
tableName:
|
|
92
|
+
tableRef: "table-m1",
|
|
93
|
+
tableName: "user_fileLibrary-fileAuto-list-m1",
|
|
89
94
|
/*path: this.current_prefix + '/file_obj_auth/listPage',
|
|
90
95
|
param: () => {
|
|
91
96
|
return {
|
|
@@ -95,258 +100,360 @@ modules = {
|
|
|
95
100
|
},*/
|
|
96
101
|
config: {
|
|
97
102
|
height: "auto",
|
|
98
|
-
rowStyle: ({row, rowIndex}) => {
|
|
99
|
-
return row._isParent ? "background-color: #f3f3f3;" : ""
|
|
100
|
-
|
|
101
|
-
}
|
|
103
|
+
rowStyle: ({ row, rowIndex }) => {
|
|
104
|
+
return row._isParent ? "background-color: #f3f3f3;" : "";
|
|
105
|
+
},
|
|
102
106
|
},
|
|
103
107
|
columns: [
|
|
104
|
-
{type:
|
|
108
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
|
105
109
|
{
|
|
106
|
-
title: this.$t2(
|
|
107
|
-
field:
|
|
110
|
+
title: this.$t2("机构", "components.fileLibrary.saleOrg"),
|
|
111
|
+
field: "saleOrgName",
|
|
108
112
|
width: 150,
|
|
109
113
|
slots: {
|
|
110
|
-
default: "saleOrg"
|
|
111
|
-
}
|
|
114
|
+
default: "saleOrg",
|
|
115
|
+
},
|
|
112
116
|
},
|
|
113
117
|
{
|
|
114
|
-
title: this.$t2(
|
|
115
|
-
field:
|
|
118
|
+
title: this.$t2("岗位", "components.fileLibrary.position"),
|
|
119
|
+
field: "positionName",
|
|
116
120
|
width: 150,
|
|
117
121
|
slots: {
|
|
118
|
-
default: "position"
|
|
119
|
-
}
|
|
122
|
+
default: "position",
|
|
123
|
+
},
|
|
120
124
|
},
|
|
121
125
|
{
|
|
122
|
-
title: this.$t2(
|
|
123
|
-
field:
|
|
126
|
+
title: this.$t2("用户", "components.fileLibrary.user"),
|
|
127
|
+
field: "nickName",
|
|
124
128
|
width: 150,
|
|
125
129
|
slots: {
|
|
126
|
-
default: "user"
|
|
127
|
-
}
|
|
130
|
+
default: "user",
|
|
131
|
+
},
|
|
128
132
|
},
|
|
129
133
|
{
|
|
130
|
-
title: this.$t2(
|
|
131
|
-
field:
|
|
134
|
+
title: this.$t2("角色", "components.fileLibrary.role"),
|
|
135
|
+
field: "roleName",
|
|
132
136
|
width: 150,
|
|
133
137
|
slots: {
|
|
134
|
-
default: "role"
|
|
135
|
-
}
|
|
138
|
+
default: "role",
|
|
139
|
+
},
|
|
136
140
|
},
|
|
137
141
|
{
|
|
138
|
-
title: this.$t2(
|
|
139
|
-
field:
|
|
142
|
+
title: this.$t2("新增", "components.fileLibrary.add"),
|
|
143
|
+
field: "addAuth",
|
|
140
144
|
width: 150,
|
|
141
145
|
slots: {
|
|
142
|
-
default: ({row}) => {
|
|
146
|
+
default: ({ row }) => {
|
|
143
147
|
return [
|
|
144
|
-
<el-switch
|
|
145
|
-
|
|
148
|
+
<el-switch
|
|
149
|
+
v-model={row.addAuth}
|
|
150
|
+
active-value={1}
|
|
151
|
+
inactive-value={0}
|
|
152
|
+
disabled={row._isParent}
|
|
153
|
+
></el-switch>,
|
|
146
154
|
];
|
|
147
|
-
}
|
|
148
|
-
}
|
|
155
|
+
},
|
|
156
|
+
},
|
|
149
157
|
},
|
|
150
158
|
{
|
|
151
|
-
title: this.$t2(
|
|
152
|
-
field:
|
|
159
|
+
title: this.$t2("编辑", "components.fileLibrary.edit"),
|
|
160
|
+
field: "editAuth",
|
|
153
161
|
width: 150,
|
|
154
162
|
slots: {
|
|
155
|
-
default: ({row}) => {
|
|
163
|
+
default: ({ row }) => {
|
|
156
164
|
return [
|
|
157
|
-
<el-switch
|
|
158
|
-
|
|
165
|
+
<el-switch
|
|
166
|
+
v-model={row.editAuth}
|
|
167
|
+
active-value={1}
|
|
168
|
+
inactive-value={0}
|
|
169
|
+
disabled={row._isParent}
|
|
170
|
+
></el-switch>,
|
|
159
171
|
];
|
|
160
|
-
}
|
|
161
|
-
}
|
|
172
|
+
},
|
|
173
|
+
},
|
|
162
174
|
},
|
|
163
175
|
{
|
|
164
|
-
title: this.$t2(
|
|
165
|
-
field:
|
|
176
|
+
title: this.$t2("查看", "components.fileLibrary.view"),
|
|
177
|
+
field: "viewAuth",
|
|
166
178
|
width: 150,
|
|
167
179
|
slots: {
|
|
168
|
-
default: ({row}) => {
|
|
180
|
+
default: ({ row }) => {
|
|
169
181
|
return [
|
|
170
|
-
<el-switch
|
|
171
|
-
|
|
182
|
+
<el-switch
|
|
183
|
+
v-model={row.viewAuth}
|
|
184
|
+
active-value={1}
|
|
185
|
+
inactive-value={0}
|
|
186
|
+
disabled={row._isParent}
|
|
187
|
+
></el-switch>,
|
|
172
188
|
];
|
|
173
|
-
}
|
|
174
|
-
}
|
|
189
|
+
},
|
|
190
|
+
},
|
|
175
191
|
},
|
|
176
192
|
{
|
|
177
|
-
title: this.$t2(
|
|
178
|
-
field:
|
|
193
|
+
title: this.$t2("上传", "components.fileLibrary.upload"),
|
|
194
|
+
field: "uploadAuth",
|
|
179
195
|
width: 150,
|
|
180
196
|
slots: {
|
|
181
|
-
default: ({row}) => {
|
|
197
|
+
default: ({ row }) => {
|
|
182
198
|
return [
|
|
183
|
-
<el-switch
|
|
184
|
-
|
|
199
|
+
<el-switch
|
|
200
|
+
v-model={row.uploadAuth}
|
|
201
|
+
active-value={1}
|
|
202
|
+
inactive-value={0}
|
|
203
|
+
disabled={row._isParent}
|
|
204
|
+
></el-switch>,
|
|
185
205
|
];
|
|
186
|
-
}
|
|
187
|
-
}
|
|
206
|
+
},
|
|
207
|
+
},
|
|
188
208
|
},
|
|
189
209
|
{
|
|
190
|
-
title: this.$t2(
|
|
191
|
-
field:
|
|
210
|
+
title: this.$t2("下载", "components.fileLibrary.download"),
|
|
211
|
+
field: "downloadAuth",
|
|
192
212
|
width: 150,
|
|
193
213
|
slots: {
|
|
194
|
-
default: ({row}) => {
|
|
214
|
+
default: ({ row }) => {
|
|
195
215
|
return [
|
|
196
|
-
<el-switch
|
|
197
|
-
|
|
216
|
+
<el-switch
|
|
217
|
+
v-model={row.downloadAuth}
|
|
218
|
+
active-value={1}
|
|
219
|
+
inactive-value={0}
|
|
220
|
+
disabled={row._isParent}
|
|
221
|
+
></el-switch>,
|
|
198
222
|
];
|
|
199
|
-
}
|
|
200
|
-
}
|
|
223
|
+
},
|
|
224
|
+
},
|
|
201
225
|
},
|
|
202
226
|
{
|
|
203
|
-
title: this.$t2(
|
|
204
|
-
field:
|
|
227
|
+
title: this.$t2("移动", "components.fileLibrary.move"),
|
|
228
|
+
field: "moveAuth",
|
|
205
229
|
width: 150,
|
|
206
230
|
slots: {
|
|
207
|
-
default: ({row}) => {
|
|
231
|
+
default: ({ row }) => {
|
|
208
232
|
return [
|
|
209
|
-
<el-switch
|
|
210
|
-
|
|
233
|
+
<el-switch
|
|
234
|
+
v-model={row.moveAuth}
|
|
235
|
+
active-value={1}
|
|
236
|
+
inactive-value={0}
|
|
237
|
+
disabled={row._isParent}
|
|
238
|
+
></el-switch>,
|
|
211
239
|
];
|
|
212
|
-
}
|
|
213
|
-
}
|
|
240
|
+
},
|
|
241
|
+
},
|
|
214
242
|
},
|
|
215
243
|
{
|
|
216
|
-
title: this.$t2(
|
|
217
|
-
field:
|
|
244
|
+
title: this.$t2("复制", "components.fileLibrary.copy"),
|
|
245
|
+
field: "copyAuth",
|
|
218
246
|
width: 150,
|
|
219
247
|
slots: {
|
|
220
|
-
default: ({row}) => {
|
|
248
|
+
default: ({ row }) => {
|
|
221
249
|
return [
|
|
222
|
-
<el-switch
|
|
223
|
-
|
|
250
|
+
<el-switch
|
|
251
|
+
v-model={row.copyAuth}
|
|
252
|
+
active-value={1}
|
|
253
|
+
inactive-value={0}
|
|
254
|
+
disabled={row._isParent}
|
|
255
|
+
></el-switch>,
|
|
224
256
|
];
|
|
225
|
-
}
|
|
226
|
-
}
|
|
257
|
+
},
|
|
258
|
+
},
|
|
227
259
|
},
|
|
228
260
|
{
|
|
229
|
-
title: this.$t2(
|
|
230
|
-
field:
|
|
261
|
+
title: this.$t2("替换", "components.fileLibrary.replace"),
|
|
262
|
+
field: "replaceAuth",
|
|
231
263
|
width: 150,
|
|
232
264
|
slots: {
|
|
233
|
-
default: ({row}) => {
|
|
265
|
+
default: ({ row }) => {
|
|
234
266
|
return [
|
|
235
|
-
<el-switch
|
|
236
|
-
|
|
267
|
+
<el-switch
|
|
268
|
+
v-model={row.replaceAuth}
|
|
269
|
+
active-value={1}
|
|
270
|
+
inactive-value={0}
|
|
271
|
+
disabled={row._isParent}
|
|
272
|
+
></el-switch>,
|
|
237
273
|
];
|
|
238
|
-
}
|
|
239
|
-
}
|
|
274
|
+
},
|
|
275
|
+
},
|
|
240
276
|
},
|
|
241
277
|
{
|
|
242
|
-
title: this.$t2(
|
|
243
|
-
field:
|
|
278
|
+
title: this.$t2("删除文件", "components.fileLibrary.deleteFile"),
|
|
279
|
+
field: "deleteAuth",
|
|
244
280
|
width: 150,
|
|
245
281
|
slots: {
|
|
246
|
-
default: ({row}) => {
|
|
282
|
+
default: ({ row }) => {
|
|
247
283
|
return [
|
|
248
|
-
<el-switch
|
|
249
|
-
|
|
284
|
+
<el-switch
|
|
285
|
+
v-model={row.deleteAuth}
|
|
286
|
+
active-value={1}
|
|
287
|
+
inactive-value={0}
|
|
288
|
+
disabled={row._isParent}
|
|
289
|
+
></el-switch>,
|
|
250
290
|
];
|
|
251
|
-
}
|
|
252
|
-
}
|
|
291
|
+
},
|
|
292
|
+
},
|
|
253
293
|
},
|
|
254
294
|
{
|
|
255
|
-
title: this.$t2(
|
|
256
|
-
|
|
295
|
+
title: this.$t2(
|
|
296
|
+
"删除文件夹",
|
|
297
|
+
"components.fileLibrary.deleteCategory"
|
|
298
|
+
),
|
|
299
|
+
field: "deleteDirAuth",
|
|
257
300
|
width: 150,
|
|
258
301
|
slots: {
|
|
259
|
-
default: ({row}) => {
|
|
302
|
+
default: ({ row }) => {
|
|
260
303
|
return [
|
|
261
|
-
<el-switch
|
|
262
|
-
|
|
304
|
+
<el-switch
|
|
305
|
+
v-model={row.deleteDirAuth}
|
|
306
|
+
active-value={1}
|
|
307
|
+
inactive-value={0}
|
|
308
|
+
disabled={row._isParent}
|
|
309
|
+
></el-switch>,
|
|
263
310
|
];
|
|
264
|
-
}
|
|
265
|
-
}
|
|
311
|
+
},
|
|
312
|
+
},
|
|
266
313
|
},
|
|
267
314
|
{
|
|
268
|
-
title: this.$t2(
|
|
269
|
-
field:
|
|
315
|
+
title: this.$t2("查看历史", "components.fileLibrary.checkHistory"),
|
|
316
|
+
field: "historyAuth",
|
|
270
317
|
width: 150,
|
|
271
318
|
slots: {
|
|
272
|
-
default: ({row}) => {
|
|
319
|
+
default: ({ row }) => {
|
|
273
320
|
return [
|
|
274
|
-
<el-switch
|
|
275
|
-
|
|
321
|
+
<el-switch
|
|
322
|
+
v-model={row.historyAuth}
|
|
323
|
+
active-value={1}
|
|
324
|
+
inactive-value={0}
|
|
325
|
+
disabled={row._isParent}
|
|
326
|
+
></el-switch>,
|
|
276
327
|
];
|
|
277
|
-
}
|
|
278
|
-
}
|
|
328
|
+
},
|
|
329
|
+
},
|
|
279
330
|
},
|
|
280
331
|
{
|
|
281
|
-
title: this.$t2(
|
|
282
|
-
field:
|
|
332
|
+
title: this.$t2("分享", "components.fileLibrary.share"),
|
|
333
|
+
field: "shareAuth",
|
|
283
334
|
width: 150,
|
|
284
335
|
slots: {
|
|
285
|
-
default: ({row}) => {
|
|
336
|
+
default: ({ row }) => {
|
|
286
337
|
return [
|
|
287
|
-
<el-switch
|
|
288
|
-
|
|
338
|
+
<el-switch
|
|
339
|
+
v-model={row.shareAuth}
|
|
340
|
+
active-value={1}
|
|
341
|
+
inactive-value={0}
|
|
342
|
+
disabled={row._isParent}
|
|
343
|
+
></el-switch>,
|
|
289
344
|
];
|
|
290
|
-
}
|
|
291
|
-
}
|
|
345
|
+
},
|
|
346
|
+
},
|
|
292
347
|
},
|
|
293
|
-
...(this.fileStoreArea.toDownWatermark
|
|
294
|
-
|
|
295
|
-
|
|
348
|
+
...(this.fileStoreArea.toDownWatermark
|
|
349
|
+
? [
|
|
350
|
+
{
|
|
351
|
+
title: this.$t1("下载打水印 "),
|
|
352
|
+
field: "downWatermarkAuth",
|
|
353
|
+
width: 150,
|
|
354
|
+
slots: {
|
|
355
|
+
default: ({ row }) => {
|
|
356
|
+
return [
|
|
357
|
+
<el-switch
|
|
358
|
+
v-model={row.downWatermarkAuth}
|
|
359
|
+
active-value={1}
|
|
360
|
+
inactive-value={0}
|
|
361
|
+
disabled={row._isParent}
|
|
362
|
+
></el-switch>,
|
|
363
|
+
];
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
]
|
|
368
|
+
: []),
|
|
369
|
+
|
|
370
|
+
{
|
|
371
|
+
title: this.$t1("设置权限"),
|
|
372
|
+
field: "authAuth",
|
|
296
373
|
width: 150,
|
|
297
374
|
slots: {
|
|
298
|
-
default: ({row}) => {
|
|
375
|
+
default: ({ row }) => {
|
|
299
376
|
return [
|
|
300
|
-
<el-switch
|
|
301
|
-
|
|
377
|
+
<el-switch
|
|
378
|
+
v-model={row.authAuth}
|
|
379
|
+
active-value={1}
|
|
380
|
+
inactive-value={0}
|
|
381
|
+
disabled={row._isParent}
|
|
382
|
+
></el-switch>,
|
|
302
383
|
];
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
{
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
title: this.$t2("创建人", "system.label.createBy"),
|
|
389
|
+
field: "_createBy",
|
|
390
|
+
width: 150,
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
title: this.$t2("创建时间", "system.label.createDate"),
|
|
394
|
+
field: "createDate",
|
|
395
|
+
width: 150,
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
title: this.$t2("更新人", "system.label.modifyBy"),
|
|
399
|
+
field: "_modifyBy",
|
|
400
|
+
width: 150,
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
title: this.$t2("更新时间", "system.label.modifyDate"),
|
|
404
|
+
field: "modifyDate",
|
|
405
|
+
width: 150,
|
|
406
|
+
},
|
|
310
407
|
{
|
|
311
408
|
width: 100,
|
|
312
|
-
fixed:
|
|
313
|
-
title:
|
|
409
|
+
fixed: "right",
|
|
410
|
+
title: "",
|
|
314
411
|
sortable: false,
|
|
315
412
|
slots: {
|
|
316
|
-
default: ({row, rowIndex, $table}) => {
|
|
413
|
+
default: ({ row, rowIndex, $table }) => {
|
|
317
414
|
return [
|
|
318
415
|
<a
|
|
319
416
|
href="javascript:void(0);"
|
|
320
417
|
class="a-link"
|
|
321
418
|
onClick={() => {
|
|
322
|
-
this.openDetailDialog(row, rowIndex)
|
|
419
|
+
this.openDetailDialog(row, rowIndex);
|
|
323
420
|
}}
|
|
324
421
|
>
|
|
325
|
-
<el-tooltip
|
|
326
|
-
|
|
327
|
-
|
|
422
|
+
<el-tooltip
|
|
423
|
+
enterable={false}
|
|
424
|
+
effect="dark"
|
|
425
|
+
content="查看"
|
|
426
|
+
placement="top"
|
|
427
|
+
popper-class="tooltip-skin"
|
|
428
|
+
>
|
|
429
|
+
<i class="el-icon-edit" />
|
|
328
430
|
</el-tooltip>
|
|
329
431
|
</a>,
|
|
330
432
|
<a
|
|
331
433
|
href="javascript:void(0);"
|
|
332
434
|
class="a-link"
|
|
333
435
|
onClick={() => {
|
|
334
|
-
this.tableData.splice(rowIndex, 1)
|
|
436
|
+
this.tableData.splice(rowIndex, 1);
|
|
335
437
|
}}
|
|
336
438
|
v-show={!row._isParent}
|
|
337
439
|
>
|
|
338
|
-
<el-tooltip
|
|
339
|
-
|
|
340
|
-
|
|
440
|
+
<el-tooltip
|
|
441
|
+
enterable={false}
|
|
442
|
+
effect="dark"
|
|
443
|
+
content="删除"
|
|
444
|
+
placement="top"
|
|
445
|
+
popper-class="tooltip-skin"
|
|
446
|
+
>
|
|
447
|
+
<i class="el-icon-delete" />
|
|
341
448
|
</el-tooltip>
|
|
342
|
-
</a
|
|
449
|
+
</a>,
|
|
343
450
|
];
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
]
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
],
|
|
348
455
|
};
|
|
349
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
456
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
350
457
|
this.vxeOption = opts;
|
|
351
458
|
});
|
|
352
459
|
this.initData();
|
|
@@ -354,34 +461,33 @@ modules = {
|
|
|
354
461
|
initData() {
|
|
355
462
|
let tableData = [];
|
|
356
463
|
this.$http({
|
|
357
|
-
url: this.current_prefix +
|
|
464
|
+
url: this.current_prefix + "/file_obj_auth/listParentPage",
|
|
358
465
|
method: `post`,
|
|
359
466
|
data: {
|
|
360
467
|
fileObjId: this.fileObjId,
|
|
361
468
|
},
|
|
362
469
|
isLoading: true,
|
|
363
470
|
modalStrictly: true,
|
|
364
|
-
success: res1 => {
|
|
471
|
+
success: (res1) => {
|
|
365
472
|
tableData = res1.objx?.records || [];
|
|
366
|
-
tableData.forEach(item => {
|
|
473
|
+
tableData.forEach((item) => {
|
|
367
474
|
item._isParent = true;
|
|
368
|
-
})
|
|
475
|
+
});
|
|
369
476
|
|
|
370
477
|
this.$http({
|
|
371
|
-
url: this.current_prefix +
|
|
478
|
+
url: this.current_prefix + "/file_obj_auth/listPage",
|
|
372
479
|
method: `post`,
|
|
373
480
|
data: {
|
|
374
481
|
fileObjId: this.fileObjId,
|
|
375
482
|
},
|
|
376
483
|
isLoading: true,
|
|
377
484
|
modalStrictly: true,
|
|
378
|
-
success: res2 => {
|
|
379
|
-
tableData.push(...(res2.objx?.records || []))
|
|
485
|
+
success: (res2) => {
|
|
486
|
+
tableData.push(...(res2.objx?.records || []));
|
|
380
487
|
this.tableData = tableData;
|
|
381
|
-
}
|
|
488
|
+
},
|
|
382
489
|
});
|
|
383
|
-
|
|
384
|
-
}
|
|
490
|
+
},
|
|
385
491
|
});
|
|
386
492
|
},
|
|
387
493
|
confirmInsertUser(rows) {
|
|
@@ -406,34 +512,42 @@ modules = {
|
|
|
406
512
|
}
|
|
407
513
|
},
|
|
408
514
|
dialogClose() {
|
|
409
|
-
this.$emit(
|
|
515
|
+
this.$emit("update:visiable", false);
|
|
410
516
|
},
|
|
411
517
|
deleteRows() {
|
|
412
|
-
let checkRows = this.$refs[
|
|
518
|
+
let checkRows = this.$refs["table-m1"].getCheckboxRecords(true);
|
|
413
519
|
if (!checkRows.length) {
|
|
414
520
|
this.$message({
|
|
415
|
-
message: this.$t2(
|
|
416
|
-
|
|
521
|
+
message: this.$t2(
|
|
522
|
+
"请选择需要删除的文件权限",
|
|
523
|
+
"components.fileLibrary.deleteAuthTip1"
|
|
524
|
+
),
|
|
525
|
+
type: "error",
|
|
417
526
|
showClose: true,
|
|
418
527
|
duration: 3000,
|
|
419
528
|
});
|
|
420
529
|
return;
|
|
421
530
|
}
|
|
422
|
-
this.$baseConfirm(
|
|
423
|
-
|
|
531
|
+
this.$baseConfirm(
|
|
532
|
+
this.$t2(
|
|
533
|
+
"您确定要删除吗?",
|
|
534
|
+
"components.fileLibrary.deleteAuthConfirmTip"
|
|
535
|
+
)
|
|
536
|
+
).then(() => {
|
|
537
|
+
let ids = checkRows.map((checkRow) => checkRow.id);
|
|
424
538
|
this.$http({
|
|
425
|
-
method:
|
|
426
|
-
url: this.current_prefix +
|
|
539
|
+
method: "post",
|
|
540
|
+
url: this.current_prefix + "/file_obj_auth/delete",
|
|
427
541
|
data: ids,
|
|
428
542
|
isLoading: true,
|
|
429
|
-
success: res => {
|
|
543
|
+
success: (res) => {
|
|
430
544
|
this.$message({
|
|
431
545
|
message: res.content,
|
|
432
|
-
type:
|
|
546
|
+
type: "success",
|
|
433
547
|
duration: 500,
|
|
434
548
|
});
|
|
435
549
|
this.searchEvent();
|
|
436
|
-
}
|
|
550
|
+
},
|
|
437
551
|
});
|
|
438
552
|
});
|
|
439
553
|
},
|
|
@@ -456,7 +570,7 @@ modules = {
|
|
|
456
570
|
confirmtUserRow(rows) {
|
|
457
571
|
if (rows.length) {
|
|
458
572
|
let row = rows[0];
|
|
459
|
-
let item = this.tableData[this.operateIndex]
|
|
573
|
+
let item = this.tableData[this.operateIndex];
|
|
460
574
|
item.userId = row.id;
|
|
461
575
|
item.nickName = row.nickName;
|
|
462
576
|
}
|
|
@@ -464,7 +578,7 @@ modules = {
|
|
|
464
578
|
confirmSaleOrgRow(rows) {
|
|
465
579
|
if (rows.length) {
|
|
466
580
|
let row = rows[0];
|
|
467
|
-
let item = this.tableData[this.operateIndex]
|
|
581
|
+
let item = this.tableData[this.operateIndex];
|
|
468
582
|
item.saleOrgId = row.id;
|
|
469
583
|
item.saleOrgName = row.name;
|
|
470
584
|
}
|
|
@@ -472,7 +586,7 @@ modules = {
|
|
|
472
586
|
confirmPositionRow(rows) {
|
|
473
587
|
if (rows.length) {
|
|
474
588
|
let row = rows[0];
|
|
475
|
-
let item = this.tableData[this.operateIndex]
|
|
589
|
+
let item = this.tableData[this.operateIndex];
|
|
476
590
|
item.positionId = row.id;
|
|
477
591
|
item.positionName = row.name;
|
|
478
592
|
}
|
|
@@ -480,7 +594,7 @@ modules = {
|
|
|
480
594
|
confirmRoleRow(rows) {
|
|
481
595
|
if (rows.length) {
|
|
482
596
|
let row = rows[0];
|
|
483
|
-
let item = this.tableData[this.operateIndex]
|
|
597
|
+
let item = this.tableData[this.operateIndex];
|
|
484
598
|
item.roleId = row.id;
|
|
485
599
|
item.roleName = row.name;
|
|
486
600
|
}
|
|
@@ -502,9 +616,11 @@ modules = {
|
|
|
502
616
|
if (rows.length) {
|
|
503
617
|
const tableData = this.tableData;
|
|
504
618
|
const map = {};
|
|
505
|
-
tableData
|
|
506
|
-
|
|
507
|
-
|
|
619
|
+
tableData
|
|
620
|
+
.filter((item) => !!item.userId)
|
|
621
|
+
.forEach(function (item) {
|
|
622
|
+
map[item.userId] = 1;
|
|
623
|
+
});
|
|
508
624
|
let items = [];
|
|
509
625
|
|
|
510
626
|
rows.forEach((row, index) => {
|
|
@@ -522,9 +638,11 @@ modules = {
|
|
|
522
638
|
if (rows.length) {
|
|
523
639
|
const tableData = this.tableData;
|
|
524
640
|
const map = {};
|
|
525
|
-
tableData
|
|
526
|
-
|
|
527
|
-
|
|
641
|
+
tableData
|
|
642
|
+
.filter((item) => !!item.saleOrgId && !item.positionId)
|
|
643
|
+
.forEach(function (item) {
|
|
644
|
+
map[item.saleOrgId] = 1;
|
|
645
|
+
});
|
|
528
646
|
let items = [];
|
|
529
647
|
|
|
530
648
|
rows.forEach((row, index) => {
|
|
@@ -542,9 +660,11 @@ modules = {
|
|
|
542
660
|
if (rows.length) {
|
|
543
661
|
const tableData = this.tableData;
|
|
544
662
|
const map = {};
|
|
545
|
-
tableData
|
|
546
|
-
|
|
547
|
-
|
|
663
|
+
tableData
|
|
664
|
+
.filter((item) => !!item.positionId && !item.saleOrgId)
|
|
665
|
+
.forEach(function (item) {
|
|
666
|
+
map[item.positionId] = 1;
|
|
667
|
+
});
|
|
548
668
|
let items = [];
|
|
549
669
|
|
|
550
670
|
rows.forEach((row, index) => {
|
|
@@ -562,9 +682,11 @@ modules = {
|
|
|
562
682
|
if (rows.length) {
|
|
563
683
|
const tableData = this.tableData;
|
|
564
684
|
const map = {};
|
|
565
|
-
tableData
|
|
566
|
-
|
|
567
|
-
|
|
685
|
+
tableData
|
|
686
|
+
.filter((item) => !!item.roleId)
|
|
687
|
+
.forEach(function (item) {
|
|
688
|
+
map[item.roleId] = 1;
|
|
689
|
+
});
|
|
568
690
|
let items = [];
|
|
569
691
|
|
|
570
692
|
rows.forEach((row, index) => {
|
|
@@ -579,24 +701,29 @@ modules = {
|
|
|
579
701
|
}
|
|
580
702
|
},
|
|
581
703
|
saveData() {
|
|
582
|
-
this.$baseConfirm(
|
|
704
|
+
this.$baseConfirm(
|
|
705
|
+
this.$t2("您确定要保存吗?", "system.message.sureSave")
|
|
706
|
+
).then(() => {
|
|
583
707
|
var url = this.current_prefix + `/file_obj_auth/saves`;
|
|
584
|
-
let formData = this.tableData.filter(item => !item._isParent);
|
|
708
|
+
let formData = this.tableData.filter((item) => !item._isParent);
|
|
585
709
|
this.$http({
|
|
586
710
|
url: url,
|
|
587
711
|
method: `post`,
|
|
588
|
-
data:
|
|
712
|
+
data: {
|
|
713
|
+
fileObjId: this.fileObjId,
|
|
714
|
+
fileObjAuthDTOs:formData
|
|
715
|
+
},
|
|
589
716
|
isLoading: true,
|
|
590
|
-
success: res => {
|
|
717
|
+
success: (res) => {
|
|
591
718
|
this.$message({
|
|
592
719
|
message: res.content,
|
|
593
|
-
type:
|
|
720
|
+
type: "success",
|
|
594
721
|
duration: 500,
|
|
595
|
-
onClose: t => {
|
|
596
|
-
this.dialogClose()
|
|
597
|
-
}
|
|
722
|
+
onClose: (t) => {
|
|
723
|
+
this.dialogClose();
|
|
724
|
+
},
|
|
598
725
|
});
|
|
599
|
-
}
|
|
726
|
+
},
|
|
600
727
|
});
|
|
601
728
|
});
|
|
602
729
|
},
|
|
@@ -623,8 +750,9 @@ modules = {
|
|
|
623
750
|
historyAuth: 1,
|
|
624
751
|
shareAuth: 1,
|
|
625
752
|
downWatermarkAuth: 0,
|
|
626
|
-
|
|
627
|
-
|
|
753
|
+
authAuth: 1,
|
|
754
|
+
fileObjId: this.fileObjId,
|
|
755
|
+
};
|
|
628
756
|
return row;
|
|
629
757
|
},
|
|
630
758
|
openDetailDialog(row, rowIndex) {
|
|
@@ -633,9 +761,9 @@ modules = {
|
|
|
633
761
|
this.showDetailDialog = true;
|
|
634
762
|
},
|
|
635
763
|
confirmDetailDialog(row) {
|
|
636
|
-
this.tableData.splice(this.operateIndex, 1, row)
|
|
764
|
+
this.tableData.splice(this.operateIndex, 1, row);
|
|
637
765
|
this.showDetailDialog = false;
|
|
638
|
-
}
|
|
639
|
-
}
|
|
766
|
+
},
|
|
767
|
+
},
|
|
640
768
|
};
|
|
641
769
|
export default modules;
|