cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.351
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 +8 -3
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +218 -120
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/baseInputExport/mixins.js +386 -1
- package/src/components/errorMsg/mixins.js +94 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +7 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +750 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +23 -24
- 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 +335 -212
- 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 +69 -26
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- 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 +333 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- 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 +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +833 -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 +131 -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 +95 -0
- package/src/components/wf/wf.js +2117 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1649 -3
- 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 +289 -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/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 +16 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1331 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- 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/checkbox-widget.vue +14 -6
- 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 +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
- 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 +1615 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +652 -379
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +10 -8
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
- 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 +176 -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 +107 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +185 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
- 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 +17 -5
- 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 +2 -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 +6 -1
- 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 +127 -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 +2 -170
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +259 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +725 -0
- package/src/components/xform/form-designer/indexMixin.js +825 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +927 -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 +376 -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 +126 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1196 -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 +1160 -511
- 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/copyButton-editor.vue +36 -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 +2 -2
- 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-import-button/import-button-editor.vue +32 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -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 +30 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +62 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +52 -5
- 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/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 +318 -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 +23 -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 +384 -53
- 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 +30 -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 +1576 -874
- package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +89 -42
- 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 +11 -6
- 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/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +13 -26
- package/src/components/xform/lang/zh-CN.js +20 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +175 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +669 -0
- package/src/components/xform/utils/util.js +1451 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/index.js +2 -2
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +61 -8
- package/src/store/config/index.js +1 -532
- 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 -1
- 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 +359 -1
- package/src/utils/vab.js +1113 -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 +66 -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 +1 -1
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- 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 +105 -0
- 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 +5 -5
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- 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 +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +140 -75
- package/src/views/bd/setting/form_template/{list2.vue → wf_list.vue} +25 -35
- 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 +122 -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 +93 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +358 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- 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 +4 -4
- 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/area/dialog.vue +21 -9
- 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 +1 -1
- 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 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -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 +775 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +68 -15
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -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/login/default.vue +32 -3
- package/src/views/user/login/indexMixin.js +117 -3
- package/src/views/user/notify_message/dialog.vue +39 -18
- 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 +17 -0
- 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/dialog.vue +1 -1
- 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_edit.vue +9 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/wf/wfReport/index.vue +448 -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 +229 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +308 -0
- package/src/views/bd/setting/form_template/mixins/list2.js +0 -12
@@ -0,0 +1,301 @@
|
|
1
|
+
<template>
|
2
|
+
<el-dialog
|
3
|
+
:visible.sync="showDialog"
|
4
|
+
v-el-drag-dialog
|
5
|
+
v-el-dialog-center
|
6
|
+
v-bind="dialogConfig"
|
7
|
+
@close="close"
|
8
|
+
>
|
9
|
+
<div class="cont designer-view" v-bind="bodyConfig" id="containt">
|
10
|
+
<component v-if="showWfContent && wfContent" :is="wfContent" visible-key="showWfContent" :outParam.sync="outParam"
|
11
|
+
:_dataId.sync="dataId" :defaultShowWfContent="defaultShowWfContent" :_isOutLink="true"
|
12
|
+
:parent-target="_self"
|
13
|
+
@reload="$reloadHandle" v-bind="queryParam" v-on="listeners"></component>
|
14
|
+
</div>
|
15
|
+
<span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
|
16
|
+
<el-button type="primary" plain class="button-sty" @click="close">
|
17
|
+
<i class="el-icon-close el-icon"></i>
|
18
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
19
|
+
</el-button>
|
20
|
+
<el-button type="primary" @click="dialogSubmit" class="button-sty">
|
21
|
+
<i class="el-icon-check el-icon"></i>
|
22
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
23
|
+
</el-button>
|
24
|
+
</span>
|
25
|
+
</el-dialog>
|
26
|
+
</template>
|
27
|
+
|
28
|
+
<script>
|
29
|
+
|
30
|
+
export default {
|
31
|
+
// name: "vabSearchDialog",
|
32
|
+
components: {},
|
33
|
+
props: {
|
34
|
+
visiable: Boolean,
|
35
|
+
option: Object
|
36
|
+
},
|
37
|
+
mixins: [],
|
38
|
+
inject: ["getFormConfig"],
|
39
|
+
|
40
|
+
mounted() {
|
41
|
+
|
42
|
+
},
|
43
|
+
data() {
|
44
|
+
var that = this;
|
45
|
+
return {
|
46
|
+
showFormField: "_tt",
|
47
|
+
showDialog: true,
|
48
|
+
falseValue: false,
|
49
|
+
selectMulti: true,
|
50
|
+
|
51
|
+
formJson: {},
|
52
|
+
formData: {},
|
53
|
+
optionData: {},
|
54
|
+
showRender: false,
|
55
|
+
formTemplate: {},
|
56
|
+
/* formCode: null,*/
|
57
|
+
layoutType: null,
|
58
|
+
conditionParam: null,
|
59
|
+
formInsData: null,
|
60
|
+
$grid: null,
|
61
|
+
currentLayoutType: null,
|
62
|
+
dataId: null,
|
63
|
+
|
64
|
+
showWfContent: true,
|
65
|
+
wfContent: null,
|
66
|
+
outParam: null,
|
67
|
+
// dataId: null,
|
68
|
+
defaultShowWfContent: null,
|
69
|
+
queryParam: {},
|
70
|
+
listeners:null
|
71
|
+
};
|
72
|
+
},
|
73
|
+
computed: {
|
74
|
+
formCode() {
|
75
|
+
return this.option.formCode;
|
76
|
+
},
|
77
|
+
dialogParam() {
|
78
|
+
return this.option?.param;
|
79
|
+
},
|
80
|
+
formConfig() {
|
81
|
+
return this.option?.formConfig;
|
82
|
+
},
|
83
|
+
dialogConfig() {
|
84
|
+
let customClass = "dialog-style list-dialog dialog-checkbox pd_0";
|
85
|
+
if (this.option.dialogConfig?.customClass) {
|
86
|
+
customClass = customClass + " " + this.option.dialogConfig.customClass
|
87
|
+
}
|
88
|
+
let config = {
|
89
|
+
title: this.formTemplate.formName,
|
90
|
+
appendToBody: true,
|
91
|
+
modalAppendToBody: true,
|
92
|
+
closeOnClickModal: false,
|
93
|
+
modal: false,
|
94
|
+
width: "1200px",
|
95
|
+
fullscreen: this.option.fullscreen,
|
96
|
+
};
|
97
|
+
config = Object.assign({}, config, this.option.dialogConfig, {customClass});
|
98
|
+
config.title = this.$t1(config.title);
|
99
|
+
return config;
|
100
|
+
},
|
101
|
+
bodyConfig() {
|
102
|
+
let config = {};
|
103
|
+
let classStr = this.currentLayoutType
|
104
|
+
if (this.option.bodyConfig?.class) {
|
105
|
+
classStr = classStr + " " + this.option.bodyConfig.class;
|
106
|
+
}
|
107
|
+
if (this.option.showFooter == false) {
|
108
|
+
classStr = classStr + " nfootBtn";
|
109
|
+
}
|
110
|
+
config = Object.assign({}, config, this.option.bodyConfig, {class: classStr});
|
111
|
+
return config;
|
112
|
+
}
|
113
|
+
},
|
114
|
+
created() {
|
115
|
+
/*let dataId = this.option?.formConfig?.dataId??null
|
116
|
+
delete this.option?.formConfig?.dataId
|
117
|
+
this.dataId = dataId;*/
|
118
|
+
|
119
|
+
let currentFormConfig = this.getFormConfig();
|
120
|
+
this.currentLayoutType = currentFormConfig.layoutType
|
121
|
+
|
122
|
+
// this.selectMulti = this.option.multiple ?? true;
|
123
|
+
this.initData();
|
124
|
+
},
|
125
|
+
methods: {
|
126
|
+
initData() {
|
127
|
+
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
|
128
|
+
let queryParam = this.$baseLodash.cloneDeep(this.dialogParam);
|
129
|
+
let murl = queryParam.urlmobile;
|
130
|
+
let purl = murl && isMobile ? murl : queryParam.url;
|
131
|
+
let dataId = queryParam.dataId??null;
|
132
|
+
if (purl == '/index') {
|
133
|
+
location.hash = '/home';
|
134
|
+
location.reload();
|
135
|
+
return;
|
136
|
+
}
|
137
|
+
|
138
|
+
this.dataId = dataId;
|
139
|
+
if (queryParam.showWfContent == 'true') {
|
140
|
+
this.defaultShowWfContent = true;
|
141
|
+
}
|
142
|
+
|
143
|
+
delete queryParam.urlmobile;
|
144
|
+
delete queryParam.url;
|
145
|
+
|
146
|
+
if (purl.indexOf('.html') >= 0) {
|
147
|
+
let eUrl = purl;
|
148
|
+
let pstr = Object.keys(queryParam).map(key => {
|
149
|
+
return key + "=" + queryParam[key]
|
150
|
+
}).join("&")
|
151
|
+
|
152
|
+
if (pstr) {
|
153
|
+
if (purl.indexOf('.html?') >= 0) {
|
154
|
+
eUrl = eUrl + '&' + pstr
|
155
|
+
} else {
|
156
|
+
eUrl = eUrl + '?' + pstr
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
location.href = eUrl;
|
161
|
+
return
|
162
|
+
}
|
163
|
+
|
164
|
+
delete queryParam.dataId;
|
165
|
+
delete queryParam.showWfContent;
|
166
|
+
delete queryParam.access_token;
|
167
|
+
delete queryParam.tp;
|
168
|
+
delete queryParam.thirdparty_info;
|
169
|
+
delete queryParam.i18nLang;
|
170
|
+
|
171
|
+
let url = purl + '.vue';
|
172
|
+
this.queryParam = queryParam;
|
173
|
+
let listeners= this.option?.on;
|
174
|
+
this.listeners = listeners;
|
175
|
+
|
176
|
+
this.showWfContent = true;
|
177
|
+
|
178
|
+
let t = "@base/views";
|
179
|
+
let urlArr = [
|
180
|
+
'/user/bill_setting/h5_view.vue',
|
181
|
+
'/user/form/view/list.vue',
|
182
|
+
'/user/form/view/edit.vue'
|
183
|
+
]
|
184
|
+
|
185
|
+
if (urlArr.includes(url)) {
|
186
|
+
this.wfContent = require('@base/views' + url).default;
|
187
|
+
} else if (url.startsWith(t)) {
|
188
|
+
let path = url.slice(t.length);
|
189
|
+
this.wfContent = require('@base/views' + path).default;
|
190
|
+
} else {
|
191
|
+
this.wfContent = require('@/views' + url).default;
|
192
|
+
}
|
193
|
+
},
|
194
|
+
|
195
|
+
|
196
|
+
reload(e, option) {
|
197
|
+
let updateParam = option?.updateParam || {};
|
198
|
+
Object.assign(this.formConfig, updateParam)
|
199
|
+
this.showRender = false;
|
200
|
+
this.getReportTemplate();
|
201
|
+
},
|
202
|
+
async getReportTemplate(callback) {
|
203
|
+
let param = {
|
204
|
+
objTypeCode: this.$attrs.objTypeCode,
|
205
|
+
objId: this.$attrs.objId,
|
206
|
+
taskId: this.$attrs.taskId
|
207
|
+
};
|
208
|
+
this.conditionParam = param;
|
209
|
+
let url, data;
|
210
|
+
url = USER_PREFIX + `/formTemplate/getByFormCode`;
|
211
|
+
data = {stringOne: this.formCode}
|
212
|
+
|
213
|
+
let that = this;
|
214
|
+
this.$http({
|
215
|
+
url: url,
|
216
|
+
method: `post`,
|
217
|
+
data: data,
|
218
|
+
isLoading: true,
|
219
|
+
loadingTarget: document.body,
|
220
|
+
modalStrictly: true,
|
221
|
+
success: res => {
|
222
|
+
let formTemplate = res.objx || {};
|
223
|
+
this.formTemplate = formTemplate;
|
224
|
+
this.formJson = formTemplate.formViewContent ? JSON.parse(formTemplate.formViewContent) : {};
|
225
|
+
this.layoutType = this.formJson.formConfig.layoutType
|
226
|
+
let formConfig = this.formJson.formConfig;
|
227
|
+
if (formConfig.searchDialogUniqueField) {
|
228
|
+
this.fieldKey = formConfig.searchDialogUniqueField;
|
229
|
+
}
|
230
|
+
|
231
|
+
this.showRender = true;
|
232
|
+
|
233
|
+
|
234
|
+
}
|
235
|
+
});
|
236
|
+
},
|
237
|
+
close() {
|
238
|
+
let formRef = this.$refs.vFormRef;
|
239
|
+
this.showDialog = false;
|
240
|
+
this.$emit('update:visiable', false);
|
241
|
+
this.option.close && this.option.close(formRef, this);
|
242
|
+
},
|
243
|
+
dialogSubmit() {
|
244
|
+
let formRef = this.$refs.vFormRef;
|
245
|
+
if (this.option.confirm) {
|
246
|
+
if (this.option.confirm(formRef, this) !== false) {
|
247
|
+
this.close();
|
248
|
+
}
|
249
|
+
} else {
|
250
|
+
this.close();
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
</script>
|
256
|
+
|
257
|
+
<style lang="scss" scoped>
|
258
|
+
::v-deep .H5 .h5-fixed-bottom-btns {
|
259
|
+
bottom: 95px;
|
260
|
+
}
|
261
|
+
|
262
|
+
.list-dialog {
|
263
|
+
.el-dialog__body {
|
264
|
+
height: calc(100% - 42px);
|
265
|
+
|
266
|
+
.cont {
|
267
|
+
height: calc(100vh - 210px);
|
268
|
+
|
269
|
+
&.nfootBtn {
|
270
|
+
height: calc(100vh - 158px)
|
271
|
+
}
|
272
|
+
|
273
|
+
&#containt {
|
274
|
+
padding: 0;
|
275
|
+
|
276
|
+
::v-deep .grid-container {
|
277
|
+
outline: none;
|
278
|
+
|
279
|
+
&.detail-wrap .d-cont {
|
280
|
+
height: calc(100vh - 150px);
|
281
|
+
|
282
|
+
.title .field-wrapper {
|
283
|
+
display: inline-block !important
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|
290
|
+
|
291
|
+
&.is-fullscreen .el-dialog__body {
|
292
|
+
.cont {
|
293
|
+
height: calc(100vh - 110px);
|
294
|
+
|
295
|
+
&.nfootBtn {
|
296
|
+
height: calc(100vh - 58px)
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
}
|
301
|
+
</style>
|
@@ -6,11 +6,11 @@
|
|
6
6
|
v-bind="dialogConfig"
|
7
7
|
@close="close"
|
8
8
|
>
|
9
|
-
<div class="cont" v-bind="bodyConfig" id="containt">
|
9
|
+
<div class="cont designer-view" v-bind="bodyConfig" id="containt">
|
10
10
|
<v-form-render :form-json.sync="formJson" :form-data="formData" :option-data="optionData" ref="vFormRef"
|
11
11
|
:reportTemplate.sync="formTemplate" :conditionParam.sync="conditionParam"
|
12
12
|
:formInsData.sync="formInsData" v-if="showRender" visible-key="showRender" :parent-target="_self"
|
13
|
-
@reload="
|
13
|
+
@reload="reload" v-bind="formConfig" :param="dialogParam"
|
14
14
|
class="data-table_height"/>
|
15
15
|
</div>
|
16
16
|
<span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
|
@@ -38,6 +38,7 @@ export default {
|
|
38
38
|
},
|
39
39
|
mixins: [],
|
40
40
|
inject: ["getFormConfig"],
|
41
|
+
|
41
42
|
mounted() {
|
42
43
|
|
43
44
|
},
|
@@ -59,7 +60,8 @@ export default {
|
|
59
60
|
conditionParam: null,
|
60
61
|
formInsData: null,
|
61
62
|
$grid: null,
|
62
|
-
currentLayoutType: null
|
63
|
+
currentLayoutType: null,
|
64
|
+
dataId:null
|
63
65
|
};
|
64
66
|
},
|
65
67
|
computed: {
|
@@ -104,6 +106,10 @@ export default {
|
|
104
106
|
}
|
105
107
|
},
|
106
108
|
created() {
|
109
|
+
/*let dataId = this.option?.formConfig?.dataId??null
|
110
|
+
delete this.option?.formConfig?.dataId
|
111
|
+
this.dataId = dataId;*/
|
112
|
+
|
107
113
|
let currentFormConfig = this.getFormConfig();
|
108
114
|
this.currentLayoutType = currentFormConfig.layoutType
|
109
115
|
|
@@ -111,7 +117,13 @@ export default {
|
|
111
117
|
this.getReportTemplate();
|
112
118
|
},
|
113
119
|
methods: {
|
114
|
-
|
120
|
+
reload(e,option){
|
121
|
+
let updateParam = option?.updateParam || {};
|
122
|
+
Object.assign(this.formConfig,updateParam)
|
123
|
+
this.showRender = false;
|
124
|
+
this.getReportTemplate();
|
125
|
+
},
|
126
|
+
async getReportTemplate(callback) {
|
115
127
|
let param = {
|
116
128
|
objTypeCode: this.$attrs.objTypeCode,
|
117
129
|
objId: this.$attrs.objId,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<v-form-render :form-json.sync="formJson" :form-data="formData" :option-data="optionData" ref="vFormRef"
|
5
5
|
:reportTemplate.sync="formTemplate" :conditionParam.sync="conditionParam"
|
6
6
|
:formInsData.sync="formInsData" v-if="showRender" visible-key="showRender" :parent-target="_self"
|
7
|
-
@reload="
|
7
|
+
@reload="reload" :param="dialogParam"
|
8
8
|
class="data-table_height"/>
|
9
9
|
</div>
|
10
10
|
<span class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
|
@@ -105,6 +105,10 @@ export default {
|
|
105
105
|
this.getReportTemplate();
|
106
106
|
},
|
107
107
|
methods: {
|
108
|
+
reload(){
|
109
|
+
this.showRender = false;
|
110
|
+
this.getReportTemplate();
|
111
|
+
},
|
108
112
|
async getReportTemplate() {
|
109
113
|
let param = {
|
110
114
|
objTypeCode: this.$attrs.objTypeCode,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div v-if="showContent">
|
3
3
|
<el-dialog
|
4
4
|
:title="$t2('导入', 'components.excelImport.title')"
|
5
|
-
:append-to-body="
|
5
|
+
:append-to-body="true"
|
6
6
|
:modal-append-to-body="falseValue"
|
7
7
|
:close-on-click-modal="falseValue"
|
8
8
|
:visible.sync="showImportDialog"
|
@@ -41,6 +41,7 @@
|
|
41
41
|
</div>
|
42
42
|
</div>
|
43
43
|
<span slot="footer" class="dialog-footer">
|
44
|
+
<span class="fl tips">{{ $t1('注:导入文件不允许超过{fileSize}MB', {fileSize: importFileLimitSize}) }}</span>
|
44
45
|
<el-button type="primary" plain class="button-sty" @click="dialogClose1">
|
45
46
|
<i class="el-icon-close el-icon"></i>
|
46
47
|
{{ $t2('取 消', 'system.button.cancel2') }}
|
@@ -54,7 +55,7 @@
|
|
54
55
|
<el-dialog
|
55
56
|
ref="importDialog"
|
56
57
|
:title="$t2('导入', 'components.excelImport.title')"
|
57
|
-
:append-to-body="
|
58
|
+
:append-to-body="true"
|
58
59
|
:modal-append-to-body="falseValue"
|
59
60
|
:close-on-click-modal="falseValue"
|
60
61
|
:visible.sync="showImportDialog2"
|
@@ -62,11 +63,33 @@
|
|
62
63
|
custom-class="dialog-style"
|
63
64
|
width="501px"
|
64
65
|
height="250px"
|
65
|
-
|
66
|
+
:beforeClose="handleBeforeClose"
|
67
|
+
@close="handleClose2"
|
66
68
|
v-el-drag-dialog
|
67
69
|
>
|
68
70
|
<div>
|
69
|
-
<div class="import-
|
71
|
+
<div v-show="importLoading" class="import-stepbox">
|
72
|
+
<ul>
|
73
|
+
<li :class="getLoadingClass(1,percent1)">
|
74
|
+
<i class="el-icon-circle-check"></i>
|
75
|
+
<i class="el-icon-loading"></i>
|
76
|
+
<span v-html="$t1('上传导入文件 {percent}', {percent: `<span class=nums>${percent1}%</span>`})"></span>
|
77
|
+
</li>
|
78
|
+
<li :class="getLoadingClass(2,percent2)">
|
79
|
+
<i class="el-icon-circle-check"></i>
|
80
|
+
<i class="el-icon-loading"></i>
|
81
|
+
<span
|
82
|
+
v-html="$t1('校验导入文件中的图片数据格式 {percent}', {percent: `<span class=nums>${percent2}%</span>`})"></span>
|
83
|
+
</li>
|
84
|
+
<li :class="getLoadingClass(3,percent3)">
|
85
|
+
<i class="el-icon-circle-check"></i>
|
86
|
+
<i class="el-icon-loading"></i>
|
87
|
+
<span
|
88
|
+
v-html="$t1('存储导入文件中的图片 {percent}', {percent: `<span class=nums>${percent3}%</span>`})"></span>
|
89
|
+
</li>
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
<div v-show="!importLoading" class="import-box" style="margin-bottom: 30px;">
|
70
93
|
<div class="tips">
|
71
94
|
{{ $t2('导入中,请勿关闭当前窗口', 'components.excelImport.tip2') }}
|
72
95
|
<!-- <span class="fr">耗时:<em class="time-txt">0 时 0 分 0 秒 </em></span> -->
|
@@ -88,7 +111,7 @@
|
|
88
111
|
</div>
|
89
112
|
</div>
|
90
113
|
<div slot="footer" class="dialog-footer" center="true">
|
91
|
-
<div class="fl import-count">
|
114
|
+
<div class="fl import-count" v-show="!importLoading">
|
92
115
|
<span class="f-red doneNum">0</span>
|
93
116
|
/
|
94
117
|
<span class="dataSize">0</span>
|
@@ -130,12 +153,20 @@
|
|
130
153
|
<div class="clearfix screen-btns">
|
131
154
|
<div class="fl">
|
132
155
|
<vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
|
133
|
-
导出
|
156
|
+
{{ $t1('导出') }}
|
134
157
|
</vxe-button>
|
135
158
|
</div>
|
136
159
|
<div class="fr"></div>
|
137
160
|
</div>
|
138
161
|
</template>
|
162
|
+
<template #attachment="{row,column}">
|
163
|
+
<base-attachment :option="{
|
164
|
+
title: column.title,
|
165
|
+
rows: row[column.field],
|
166
|
+
showViewButton: true,
|
167
|
+
edit:false
|
168
|
+
}"/>
|
169
|
+
</template>
|
139
170
|
</vxe-grid>
|
140
171
|
</div>
|
141
172
|
</div>
|