cloud-web-corejs 1.0.54-dev.33 → 1.0.54-dev.330
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/index.vue +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +135 -119
- 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 +138 -28
- 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/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 +1 -1
- 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 +1647 -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 +1312 -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 +1584 -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 +6 -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/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 +22 -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/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/indexMixin.js +1 -1
- 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 +71 -7
- 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 +1079 -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 +26 -10
- 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 +47 -28
- 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/formScriptEnabled-editor.vue +46 -4
- 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/placeholder-editor.vue +1 -1
- 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 +27 -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 +3 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1478 -865
- package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2580 -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 +3129 -4
- package/src/components/xform/lang/zh-CN.js +18 -3
- 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.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 -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 -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 +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 +163 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +51 -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 +422 -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 +688 -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 +254 -0
- package/src/views/bd/setting/form_template/wf_list.vue +127 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
- 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 +317 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +268 -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 +439 -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 +23 -8
- 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 +55 -54
- package/src/views/user/position/list.vue +4 -4
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/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 +63 -2
- 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 +22 -3
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +30 -1
- 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
@@ -0,0 +1,109 @@
|
|
1
|
+
<template>
|
2
|
+
<el-dialog
|
3
|
+
:title="$t1('导入流程模板XML')"
|
4
|
+
:append-to-body="falseValue"
|
5
|
+
:modal-append-to-body="falseValue"
|
6
|
+
:close-on-click-modal="falseValue"
|
7
|
+
:visible.sync="showImportDialog"
|
8
|
+
:modal="falseValue"
|
9
|
+
custom-class="dialog-style"
|
10
|
+
width="501px"
|
11
|
+
v-el-drag-dialog
|
12
|
+
>
|
13
|
+
<div class="import-box">
|
14
|
+
<!-- <div class="tips">{{ $t2('请下载文件模板,填写信息后再上传文件', 'components.excelImport.tip') }}</div>-->
|
15
|
+
<el-upload v-if="!fileRaw" ref="uploadBtn" action="" class="upload-file" :auto-upload="false"
|
16
|
+
:on-change="fileChange" accept=".xml">
|
17
|
+
<div class="el-upload-dragger">
|
18
|
+
<i class="el-icon-upload"></i>
|
19
|
+
<div class="el-upload__text"><em>{{ $t2('点击上传', 'components.excelImport.uploadBUtton') }}</em></div>
|
20
|
+
</div>
|
21
|
+
</el-upload>
|
22
|
+
<div class="upload-finish" v-if="fileRaw">
|
23
|
+
<img :src="require('@/resources' + '/images/ico-txt.svg')" class="ico"/>
|
24
|
+
<p class="name">{{ fileRaw.name }}</p>
|
25
|
+
<!-- <p>2022-1-17</p> -->
|
26
|
+
<el-tooltip :enterable="false" class="item" effect="dark"
|
27
|
+
:content="$t2('关闭', 'components.excelImport.closeBUtton')" placement="bottom">
|
28
|
+
<i
|
29
|
+
class="el-icon-error js-close"
|
30
|
+
@click="
|
31
|
+
fileRaw = false;
|
32
|
+
$refs.uploadBtn.clearFiles();
|
33
|
+
"
|
34
|
+
></i>
|
35
|
+
</el-tooltip>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
<span slot="footer" class="dialog-footer">
|
39
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose1">
|
40
|
+
<i class="el-icon-close el-icon"></i>
|
41
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
42
|
+
</el-button>
|
43
|
+
<el-button type="primary" @click="dialogPrimary1" class="button-sty">
|
44
|
+
<i class="el-icon-check el-icon"></i>
|
45
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
46
|
+
</el-button>
|
47
|
+
</span>
|
48
|
+
</el-dialog>
|
49
|
+
</template>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
|
53
|
+
export default {
|
54
|
+
name: 'excelImport',
|
55
|
+
data() {
|
56
|
+
return {
|
57
|
+
excTime: 0,
|
58
|
+
showImportDialog: true,
|
59
|
+
showImportDialog2: false,
|
60
|
+
falseValue: false,
|
61
|
+
fileRaw: false,
|
62
|
+
isEnd: false,
|
63
|
+
currentIndex: 0,
|
64
|
+
excelTemplate: "",
|
65
|
+
prefix: '/user',
|
66
|
+
dataSize: 0,
|
67
|
+
totalSuccessNum: 0,
|
68
|
+
totalErrorNum: 0,
|
69
|
+
percentageNum: 0,
|
70
|
+
successRows: [],
|
71
|
+
failRows: [],
|
72
|
+
oriCols: [],
|
73
|
+
showImportResult: false,
|
74
|
+
resultType: '',
|
75
|
+
option: {},
|
76
|
+
showContent: false,
|
77
|
+
resOption: {},
|
78
|
+
abc: "A"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
|
82
|
+
methods: {
|
83
|
+
fileChange(file) {
|
84
|
+
if (file) {
|
85
|
+
this.fileRaw = file.raw;
|
86
|
+
} else {
|
87
|
+
this.fileRaw = false;
|
88
|
+
}
|
89
|
+
},
|
90
|
+
dialogClose1() {
|
91
|
+
this.$emit("update:visiable", false);
|
92
|
+
this.showContent = false;
|
93
|
+
},
|
94
|
+
async dialogPrimary1() {
|
95
|
+
let that = this;
|
96
|
+
if (!(this.fileRaw)) {
|
97
|
+
this.$baseAlert(this.$t2('请上传附件', 'components.excelImport.warmMsg1'));
|
98
|
+
return false;
|
99
|
+
}
|
100
|
+
this.showImportDialog = false;
|
101
|
+
|
102
|
+
this.dialogClose1();
|
103
|
+
this.$emit("confirm",that.fileRaw)
|
104
|
+
|
105
|
+
},
|
106
|
+
|
107
|
+
}
|
108
|
+
};
|
109
|
+
</script>
|
@@ -111,6 +111,27 @@
|
|
111
111
|
</el-radio-group>
|
112
112
|
</el-form-item>
|
113
113
|
</td>
|
114
|
+
<th>
|
115
|
+
{{ $t1('序号') }}
|
116
|
+
</th>
|
117
|
+
<td>
|
118
|
+
<el-form-item prop="orders" :rules="[{ required: false, trigger: 'blur' }]">
|
119
|
+
<base-input-number autocomplete="off" v-model="wfObjConfigItem.orders" clearable/>
|
120
|
+
</el-form-item>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<th>
|
125
|
+
{{ $t1('是否允许流程启动更改候选人') }}
|
126
|
+
</th>
|
127
|
+
<td>
|
128
|
+
<el-form-item prop="startNoSetCandidate" :rules="[{ required: false, trigger: 'blur' }]">
|
129
|
+
<el-radio-group v-model="wfObjConfigItem.startNoSetCandidate">
|
130
|
+
<el-radio :label="false">{{ $t1('是') }}</el-radio>
|
131
|
+
<el-radio :label="true">{{ $t1('否') }}</el-radio>
|
132
|
+
</el-radio-group>
|
133
|
+
</el-form-item>
|
134
|
+
</td>
|
114
135
|
</tr>
|
115
136
|
<tr>
|
116
137
|
<th>
|
@@ -195,7 +216,9 @@ export default {
|
|
195
216
|
startMode: 3,
|
196
217
|
skipSameUserTask: false,
|
197
218
|
toNextNode: null,
|
198
|
-
enabled: true
|
219
|
+
enabled: true,
|
220
|
+
orders: undefined,
|
221
|
+
startNoSetCandidate: false
|
199
222
|
},
|
200
223
|
showWfObjConfigDialog: false,
|
201
224
|
configServiceId: null,
|
@@ -233,6 +256,7 @@ export default {
|
|
233
256
|
modalStrictly: true,
|
234
257
|
success: res => {
|
235
258
|
let wfObjConfigItem = res.objx || {};
|
259
|
+
if (wfObjConfigItem.orders === null) wfObjConfigItem.orders = undefined
|
236
260
|
if (wfObjConfigItem.toNextNode === 1) {
|
237
261
|
wfObjConfigItem.toRejectNode = null
|
238
262
|
}
|
@@ -107,12 +107,14 @@
|
|
107
107
|
|
108
108
|
<userDialog v-if="showUserDialog" :visiable.sync="showUserDialog" @confirm="confirmUser"
|
109
109
|
:multi.sync="wfAssignMulti"/>
|
110
|
-
<positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" @confirm="confirmPosition"/>
|
110
|
+
<positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" :rows="wfAssignPositionData" @confirm="confirmPosition"/>
|
111
111
|
<scriptDescriptionDialog path="static/readme/Wf.txt" v-if="showScriptDescriptionDialog"
|
112
112
|
:visiable.sync="showScriptDescriptionDialog"></scriptDescriptionDialog>
|
113
113
|
<wfBizDataSettingDialog v-if="showWfBizDataSettingDialog" :visiable.sync="showWfBizDataSettingDialog"
|
114
114
|
@confirm="confirmWfBizDataSettingDialog"
|
115
115
|
:objConfigItem="objConfigItem" :serviceId="currentRow.serviceId"></wfBizDataSettingDialog>
|
116
|
+
|
117
|
+
<importItemDialog v-if="showImportItemDialog" :visiable.sync="showImportItemDialog" @confirm="confirmImportItemDialog"/>
|
116
118
|
</div>
|
117
119
|
</template>
|
118
120
|
<script>
|
@@ -128,6 +130,9 @@ import scriptDescriptionDialog from '@base/components/scriptDescription/dialog'
|
|
128
130
|
import wfDiyAttributeEdit from '../../../../views/user/wf/wf_diy_attribute/edit'
|
129
131
|
import wfBizDataSettingDialog from "./wfBizDataSettingDialog";
|
130
132
|
|
133
|
+
import importItemDialog from "./importItemDialog.vue";
|
134
|
+
|
135
|
+
|
131
136
|
|
132
137
|
export default {
|
133
138
|
name: 'wf_obj_config:list',
|
@@ -139,7 +144,8 @@ export default {
|
|
139
144
|
positionDialog,
|
140
145
|
scriptDescriptionDialog,
|
141
146
|
wfDiyAttributeEdit,
|
142
|
-
wfBizDataSettingDialog
|
147
|
+
wfBizDataSettingDialog,
|
148
|
+
importItemDialog
|
143
149
|
},
|
144
150
|
created() {
|
145
151
|
},
|
@@ -189,7 +195,8 @@ export default {
|
|
189
195
|
showWfDiyAttributeEdit: false,
|
190
196
|
|
191
197
|
objConfigItem: null,
|
192
|
-
showWfBizDataSettingDialog: false
|
198
|
+
showWfBizDataSettingDialog: false,
|
199
|
+
showImportItemDialog:false
|
193
200
|
};
|
194
201
|
},
|
195
202
|
watch: {
|
@@ -383,6 +390,11 @@ export default {
|
|
383
390
|
width: 150,
|
384
391
|
fixed: 'left'
|
385
392
|
},
|
393
|
+
{
|
394
|
+
title: this.$t1('序号'),
|
395
|
+
field: 'orders',
|
396
|
+
width: 150
|
397
|
+
},
|
386
398
|
{
|
387
399
|
title: this.$t1('流程模版KEY'),
|
388
400
|
field: 'modelKey',
|
@@ -461,13 +473,27 @@ export default {
|
|
461
473
|
}
|
462
474
|
}
|
463
475
|
},
|
476
|
+
{
|
477
|
+
title: this.$t1('是否允许流程启动更改候选人'),
|
478
|
+
field: 'startNoSetCandidate',
|
479
|
+
width: 230,
|
480
|
+
slots: {
|
481
|
+
default: ({row}) => {
|
482
|
+
if (row.startNoSetCandidate) {
|
483
|
+
return [<div class="txt-status">{this.$t1('否')}</div>];
|
484
|
+
} else {
|
485
|
+
return [<div class="txt-status s-3">{this.$t1('是')}</div>];
|
486
|
+
}
|
487
|
+
}
|
488
|
+
}
|
489
|
+
},
|
464
490
|
{
|
465
491
|
field: 'createDate',
|
466
492
|
title: this.$t1('创建时间'),
|
467
493
|
width: 200
|
468
494
|
},
|
469
495
|
{
|
470
|
-
width:
|
496
|
+
width: 200,
|
471
497
|
fixed: 'right',
|
472
498
|
sortable: false,
|
473
499
|
title: '',
|
@@ -500,16 +526,28 @@ export default {
|
|
500
526
|
</a>,
|
501
527
|
<a
|
502
528
|
href="javascript:void(0);"
|
503
|
-
|
504
|
-
|
529
|
+
class="a-link"
|
530
|
+
onclick={() => {
|
531
|
+
this.exportWfXml(row);
|
505
532
|
}}
|
533
|
+
>
|
534
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('导出')} placement="top"
|
535
|
+
popper-class="tooltip-skin">
|
536
|
+
<i class="el-icon-upload2"/>
|
537
|
+
</el-tooltip>
|
538
|
+
</a>,
|
539
|
+
<a
|
540
|
+
href="javascript:void(0);"
|
506
541
|
class="a-link"
|
542
|
+
onclick={() => {
|
543
|
+
this.importWfXml(row);
|
544
|
+
}}
|
507
545
|
>
|
508
|
-
<el-tooltip enterable={false} effect="dark" content={this.$t1('
|
546
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('导入')} placement="top"
|
509
547
|
popper-class="tooltip-skin">
|
510
|
-
<i class="el-icon-
|
548
|
+
<i class="el-icon-download"/>
|
511
549
|
</el-tooltip>
|
512
|
-
</a
|
550
|
+
</a>,
|
513
551
|
];
|
514
552
|
}
|
515
553
|
}
|
@@ -635,6 +673,73 @@ export default {
|
|
635
673
|
},
|
636
674
|
confirmWfBizDataSettingDialog(rows) {
|
637
675
|
|
676
|
+
},
|
677
|
+
saveAs(blob, filename) {
|
678
|
+
if (window.navigator.msSaveOrOpenBlob) {
|
679
|
+
navigator.msSaveBlob(blob, filename);
|
680
|
+
} else {
|
681
|
+
var link = document.createElement("a");
|
682
|
+
var body = document.querySelector("body");
|
683
|
+
|
684
|
+
link.href = window.URL.createObjectURL(blob);
|
685
|
+
link.download = filename;
|
686
|
+
|
687
|
+
// fix Firefox
|
688
|
+
link.style.display = "none";
|
689
|
+
body.appendChild(link);
|
690
|
+
|
691
|
+
link.click();
|
692
|
+
body.removeChild(link);
|
693
|
+
|
694
|
+
window.URL.revokeObjectURL(link.href);
|
695
|
+
}
|
696
|
+
},
|
697
|
+
exportWfXml(row){
|
698
|
+
this.$baseConfirm(this.$t1('您确定要导出吗?')).then(() => {
|
699
|
+
this.$http({
|
700
|
+
url: '/' + this.currentRow.serviceId + '/wf_obj_config_item/exportModelXml',
|
701
|
+
method: `post`,
|
702
|
+
data: {
|
703
|
+
stringOne:row.modelId
|
704
|
+
},
|
705
|
+
isLoading: true,
|
706
|
+
responseType: "blob",
|
707
|
+
resultType: "other",
|
708
|
+
callback: res => {
|
709
|
+
let fileName = row.modelName + ".bpmn20.xml"
|
710
|
+
this.saveAs(res,fileName)
|
711
|
+
}
|
712
|
+
});
|
713
|
+
});
|
714
|
+
},
|
715
|
+
importWfXml(row){
|
716
|
+
this.importXmlRow = row;
|
717
|
+
this.showImportItemDialog = true;
|
718
|
+
},
|
719
|
+
confirmImportItemDialog(file){
|
720
|
+
var form = new FormData();
|
721
|
+
// 文件对象
|
722
|
+
form.append("file", file);
|
723
|
+
form.append("modelId", this.importXmlRow.modelId);
|
724
|
+
this.$http({
|
725
|
+
url: '/' + this.currentRow.serviceId + '/wf_obj_config_item/importProcess',
|
726
|
+
method: `post`,
|
727
|
+
headers: {
|
728
|
+
'Content-Type': 'multipart/form-data'
|
729
|
+
},
|
730
|
+
data: form,
|
731
|
+
isLoading: true,
|
732
|
+
success: res => {
|
733
|
+
this.$message({
|
734
|
+
message: res.content,
|
735
|
+
type: 'success',
|
736
|
+
duration: 2000,
|
737
|
+
onClose: t => {
|
738
|
+
|
739
|
+
}
|
740
|
+
});
|
741
|
+
}
|
742
|
+
});
|
638
743
|
}
|
639
744
|
}
|
640
745
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<div>
|
3
3
|
<el-dialog
|
4
|
-
:title="$t1('
|
4
|
+
:title="$t1('过程更改业务数据')"
|
5
5
|
:append-to-body="true"
|
6
6
|
:modal-append-to-body="true"
|
7
7
|
:close-on-click-modal="false"
|
@@ -31,7 +31,7 @@
|
|
31
31
|
</vxe-button>
|
32
32
|
</div>
|
33
33
|
<div class="fl screen-breadcrumb" style="margin-left: 30px;">
|
34
|
-
<span style="font-size: 12px;">{{ $t1('
|
34
|
+
<span style="font-size: 12px;">{{ $t1('流程模板名称') }}:</span>
|
35
35
|
{{ objConfigItem.modelName }}
|
36
36
|
</div>
|
37
37
|
</div>
|