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
@@ -15,7 +15,9 @@
|
|
15
15
|
</el-tab-pane>
|
16
16
|
<el-tab-pane :label="$t1('我的流程')" name="second">
|
17
17
|
<div class="tree-box fl">
|
18
|
-
<div class="tit"
|
18
|
+
<div class="tit">
|
19
|
+
<b>{{ $t1("待办类型") }}</b>
|
20
|
+
</div>
|
19
21
|
<el-tree
|
20
22
|
:props="defaultProps"
|
21
23
|
:load="loadNode"
|
@@ -35,38 +37,62 @@
|
|
35
37
|
<i class="el-icon-more"></i>
|
36
38
|
</div>
|
37
39
|
</label>
|
38
|
-
<div class="main-right fr" style="padding-left:6px
|
40
|
+
<div class="main-right fr" style="padding-left: 6px">
|
39
41
|
<div class="grid-height">
|
40
|
-
<vxe-grid
|
41
|
-
|
42
|
+
<vxe-grid
|
43
|
+
ref="table-m1"
|
44
|
+
v-bind="vxeOption"
|
45
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
46
|
+
@custom="$vxeTableUtil.customHandle"
|
47
|
+
>
|
42
48
|
<template #form>
|
43
49
|
<div class="clearfix screen-btns">
|
44
50
|
<div class="fl">
|
45
|
-
<base-table-export
|
46
|
-
|
51
|
+
<base-table-export
|
52
|
+
:option="{ title: $t1('流程待办导出'), targetRef: 'table-m1' }"
|
53
|
+
:parent-target="_self"
|
54
|
+
/>
|
47
55
|
</div>
|
48
56
|
<div class="fr">
|
49
|
-
<vxe-button
|
50
|
-
|
57
|
+
<vxe-button
|
58
|
+
icon="el-icon-brush"
|
59
|
+
class="button-sty"
|
60
|
+
@click="resetEvent"
|
61
|
+
type="text"
|
62
|
+
status="primary"
|
63
|
+
plain
|
64
|
+
>{{ $t1("重置") }}
|
51
65
|
</vxe-button>
|
52
|
-
<vxe-button
|
53
|
-
|
66
|
+
<vxe-button
|
67
|
+
status="warning"
|
68
|
+
icon="el-icon-search"
|
69
|
+
class="button-sty"
|
70
|
+
@click="searchEvent"
|
71
|
+
>
|
72
|
+
{{ $t1("搜索") }}
|
54
73
|
</vxe-button>
|
55
74
|
</div>
|
56
75
|
</div>
|
57
|
-
<vxe-form
|
58
|
-
|
59
|
-
|
76
|
+
<vxe-form
|
77
|
+
ref="form"
|
78
|
+
class="screen-box"
|
79
|
+
title-width="92px"
|
80
|
+
title-align="right"
|
81
|
+
:data="formData"
|
82
|
+
@submit="searchEvent"
|
83
|
+
@reset="searchEvent"
|
84
|
+
>
|
85
|
+
<vxe-form-item :title="$t1('待办类型') + ':'">
|
60
86
|
<template v-slot>
|
61
|
-
<el-input v-model="checkNodeData.label" size="small" disabled/>
|
87
|
+
<el-input v-model="checkNodeData.label" size="small" disabled />
|
62
88
|
</template>
|
63
89
|
</vxe-form-item>
|
64
|
-
<vxe-form-item :title="$t1('流程主题')+':'" field="name">
|
90
|
+
<vxe-form-item :title="$t1('流程主题') + ':'" field="name">
|
65
91
|
<template v-slot>
|
66
|
-
<el-input v-model="formData.name" size="small" clearable/>
|
92
|
+
<el-input v-model="formData.name" size="small" clearable />
|
67
93
|
</template>
|
68
94
|
</vxe-form-item>
|
69
|
-
<vxe-form-item :title="$t1('单据类型')+':'" field="objTypeName">
|
95
|
+
<vxe-form-item :title="$t1('单据类型') + ':'" field="objTypeName">
|
70
96
|
<template v-slot>
|
71
97
|
<el-input
|
72
98
|
class="search-input"
|
@@ -79,12 +105,15 @@
|
|
79
105
|
v-el-readonly
|
80
106
|
clearable
|
81
107
|
>
|
82
|
-
<i
|
83
|
-
|
108
|
+
<i
|
109
|
+
slot="suffix"
|
110
|
+
class="el-input__icon el-icon-search"
|
111
|
+
@click="showWfObjConfigDialog = true"
|
112
|
+
></i>
|
84
113
|
</el-input>
|
85
114
|
</template>
|
86
115
|
</vxe-form-item>
|
87
|
-
<vxe-form-item :title="$t1('流程状态')+':'" field="stat">
|
116
|
+
<vxe-form-item :title="$t1('流程状态') + ':'" field="stat">
|
88
117
|
<template v-slot>
|
89
118
|
<el-select v-model="formData.stat" clearable>
|
90
119
|
<el-option :value="1" :label="$t1('审核中')"></el-option>
|
@@ -93,57 +122,113 @@
|
|
93
122
|
</el-select>
|
94
123
|
</template>
|
95
124
|
</vxe-form-item>
|
125
|
+
<vxe-form-item :title="$t1('启动人') + ':'" field="starterName">
|
126
|
+
<template v-slot>
|
127
|
+
<el-input v-model="formData.starterName" size="small" clearable />
|
128
|
+
</template>
|
129
|
+
</vxe-form-item>
|
130
|
+
<vxe-form-item title="启动时间:">
|
131
|
+
<template v-slot>
|
132
|
+
<el-date-picker
|
133
|
+
v-model="formData.startTime"
|
134
|
+
type="datetime"
|
135
|
+
placeholder=""
|
136
|
+
size="small"
|
137
|
+
clearable
|
138
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
139
|
+
:picker-options="$baseStartPickerOptions(formData.endTime)"
|
140
|
+
></el-date-picker>
|
141
|
+
<span>-</span>
|
142
|
+
<el-date-picker
|
143
|
+
v-model="formData.endTime"
|
144
|
+
type="datetime"
|
145
|
+
placeholder=""
|
146
|
+
size="small"
|
147
|
+
clearable
|
148
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
149
|
+
default-time="23:59:59"
|
150
|
+
:picker-options="$baseEndPickerOptions(formData.startTime)"
|
151
|
+
></el-date-picker>
|
152
|
+
</template>
|
153
|
+
</vxe-form-item>
|
96
154
|
</vxe-form>
|
97
155
|
</template>
|
98
156
|
</vxe-grid>
|
99
157
|
</div>
|
100
158
|
</div>
|
101
159
|
</el-tab-pane>
|
102
|
-
<el-tab-pane :label="$t1('全部流程')" name="third" v-if="flag==1">
|
160
|
+
<el-tab-pane :label="$t1('全部流程')" name="third" v-if="flag == 1">
|
103
161
|
<div class="grid-height">
|
104
|
-
<vxe-grid
|
105
|
-
|
162
|
+
<vxe-grid
|
163
|
+
ref="table-m2"
|
164
|
+
v-bind="vxeOption2"
|
165
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
166
|
+
@custom="$vxeTableUtil.customHandle"
|
167
|
+
>
|
106
168
|
<template #form>
|
107
169
|
<div class="clearfix screen-btns">
|
108
170
|
<div class="fl">
|
109
|
-
<base-table-export
|
110
|
-
|
171
|
+
<base-table-export
|
172
|
+
:option="{ title: $t1('流程待办导出'), targetRef: 'table-m2' }"
|
173
|
+
:parent-target="_self"
|
174
|
+
/>
|
111
175
|
</div>
|
112
176
|
<div class="fr">
|
113
|
-
<vxe-button
|
114
|
-
|
177
|
+
<vxe-button
|
178
|
+
icon="el-icon-brush"
|
179
|
+
class="button-sty"
|
180
|
+
@click="resetEvent2"
|
181
|
+
type="text"
|
182
|
+
status="primary"
|
183
|
+
plain
|
184
|
+
>{{ $t1("重置") }}
|
115
185
|
</vxe-button>
|
116
|
-
<vxe-button
|
117
|
-
|
186
|
+
<vxe-button
|
187
|
+
status="warning"
|
188
|
+
icon="el-icon-search"
|
189
|
+
class="button-sty"
|
190
|
+
@click="searchEvent2"
|
191
|
+
>
|
192
|
+
{{ $t1("搜索") }}
|
118
193
|
</vxe-button>
|
119
194
|
</div>
|
120
195
|
</div>
|
121
|
-
<vxe-form
|
122
|
-
|
123
|
-
|
196
|
+
<vxe-form
|
197
|
+
ref="form"
|
198
|
+
class="screen-box"
|
199
|
+
title-width="92px"
|
200
|
+
title-align="right"
|
201
|
+
:data="formData2"
|
202
|
+
@submit="searchEvent2"
|
203
|
+
@reset="searchEvent2"
|
204
|
+
>
|
205
|
+
<vxe-form-item :title="$t1('流程主题') + ':'" field="name">
|
124
206
|
<template v-slot>
|
125
|
-
<el-input v-model="formData2.name" size="small" clearable/>
|
207
|
+
<el-input v-model="formData2.name" size="small" clearable />
|
126
208
|
</template>
|
127
209
|
</vxe-form-item>
|
128
|
-
<vxe-form-item :title="$t1('单据类型')+':'" field="objTypeName">
|
210
|
+
<vxe-form-item :title="$t1('单据类型') + ':'" field="objTypeName">
|
129
211
|
<template v-slot>
|
130
212
|
<el-input
|
131
213
|
class="search-input"
|
132
214
|
max="200"
|
133
215
|
v-model="formData2.objTypeName"
|
134
216
|
@clear="
|
135
|
-
|
136
|
-
|
137
|
-
|
217
|
+
formData2.objTypeCode = null;
|
218
|
+
$forceUpdate();
|
219
|
+
"
|
138
220
|
v-el-readonly
|
139
221
|
clearable
|
140
222
|
>
|
141
|
-
<i
|
142
|
-
|
223
|
+
<i
|
224
|
+
slot="suffix"
|
225
|
+
class="el-input__icon el-icon-search"
|
226
|
+
@click="showWfObjConfigDialog2 = true"
|
227
|
+
></i>
|
143
228
|
</el-input>
|
144
229
|
</template>
|
145
230
|
</vxe-form-item>
|
146
|
-
<vxe-form-item :title="$t1('流程状态')+':'" field="stat">
|
231
|
+
<vxe-form-item :title="$t1('流程状态') + ':'" field="stat">
|
147
232
|
<template v-slot>
|
148
233
|
<el-select v-model="formData2.stat" clearable>
|
149
234
|
<el-option :value="1" :label="$t1('审核中')"></el-option>
|
@@ -152,45 +237,59 @@
|
|
152
237
|
</el-select>
|
153
238
|
</template>
|
154
239
|
</vxe-form-item>
|
240
|
+
<vxe-form-item :title="$t1('当前任务用户') + ':'" field="candidateNames">
|
241
|
+
<template v-slot>
|
242
|
+
<el-input v-model="formData2.candidateNames" size="small" clearable />
|
243
|
+
</template>
|
244
|
+
</vxe-form-item>
|
155
245
|
</vxe-form>
|
156
246
|
</template>
|
157
247
|
</vxe-grid>
|
158
248
|
</div>
|
159
249
|
</el-tab-pane>
|
160
250
|
</el-tabs>
|
161
|
-
<wfObjConfigDialog
|
162
|
-
|
163
|
-
|
164
|
-
|
251
|
+
<wfObjConfigDialog
|
252
|
+
v-if="showWfObjConfigDialog"
|
253
|
+
:visiable.sync="showWfObjConfigDialog"
|
254
|
+
:type.sync="type"
|
255
|
+
@confirm="confirmInsertWfObjConfig"
|
256
|
+
:multi="false"
|
257
|
+
></wfObjConfigDialog>
|
258
|
+
<wfObjConfigDialog
|
259
|
+
v-if="showWfObjConfigDialog2"
|
260
|
+
:visiable.sync="showWfObjConfigDialog2"
|
261
|
+
:type="99"
|
262
|
+
@confirm="confirmInsertWfObjConfig2"
|
263
|
+
:multi="false"
|
264
|
+
></wfObjConfigDialog>
|
165
265
|
</div>
|
166
266
|
</template>
|
167
267
|
<script>
|
168
|
-
import {treeScollx} from
|
169
|
-
import wfObjConfigDialog from
|
268
|
+
import { treeScollx } from "@base/utils/global.js";
|
269
|
+
import wfObjConfigDialog from "../../../../views/user/wf/wf_obj_config/dialog.vue";
|
170
270
|
|
171
271
|
export default {
|
172
|
-
name:
|
173
|
-
components: {wfObjConfigDialog},
|
174
|
-
created() {
|
175
|
-
},
|
272
|
+
name: "wf_manage:list",
|
273
|
+
components: { wfObjConfigDialog },
|
274
|
+
created() {},
|
176
275
|
async mounted() {
|
177
|
-
treeScollx({target: this, type:
|
276
|
+
treeScollx({ target: this, type: "default" });
|
178
277
|
await this.initWfParam();
|
179
278
|
this.initTableList();
|
180
279
|
this.initRole();
|
181
280
|
},
|
182
281
|
data() {
|
183
282
|
return {
|
184
|
-
activeName:
|
283
|
+
activeName: "second",
|
185
284
|
// dataId: 0,
|
186
285
|
// showEdit: false,
|
187
286
|
vxeOption: {},
|
188
287
|
formData: {},
|
189
288
|
checkNode: {},
|
190
289
|
defaultProps: {
|
191
|
-
label:
|
290
|
+
label: "label", //这里是树结构中需显示的数据(即接口返回的需展示在页面上的参数)
|
192
291
|
children: [],
|
193
|
-
isLeaf:
|
292
|
+
isLeaf: "leaf",
|
194
293
|
},
|
195
294
|
wfObjTypes: [],
|
196
295
|
showWfObjConfigDialog: false,
|
@@ -206,70 +305,77 @@ export default {
|
|
206
305
|
},
|
207
306
|
computed: {
|
208
307
|
type() {
|
209
|
-
return this.checkNode && this.checkNode.data ? this.checkNode.data.type :
|
308
|
+
return this.checkNode && this.checkNode.data ? this.checkNode.data.type : "";
|
210
309
|
},
|
211
310
|
checkNodeData() {
|
212
311
|
return this.checkNode && this.checkNode.data ? this.checkNode.data : {};
|
213
|
-
}
|
312
|
+
},
|
214
313
|
},
|
215
314
|
methods: {
|
216
315
|
searchEvent() {
|
217
|
-
this.$refs[
|
316
|
+
this.$refs["table-m1"].commitProxy("reload");
|
218
317
|
},
|
219
318
|
resetEvent() {
|
220
319
|
this.formData = {};
|
221
|
-
this.$refs[
|
320
|
+
this.$refs["table-m1"].commitProxy("reload");
|
222
321
|
},
|
223
322
|
|
224
323
|
initTableList() {
|
225
324
|
let that = this;
|
226
|
-
let paramColumns = this.wfParamDTOs.map(item => {
|
227
|
-
let flag = item.paramName ==
|
325
|
+
let paramColumns = this.wfParamDTOs.map((item) => {
|
326
|
+
let flag = item.paramName == "单号";
|
228
327
|
return {
|
229
328
|
title: this.$t1(item.paramName),
|
230
329
|
field: item.paramKey,
|
231
330
|
width: 150,
|
232
|
-
fixed: flag ?
|
233
|
-
slots: flag
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
331
|
+
fixed: flag ? "left" : "",
|
332
|
+
slots: flag
|
333
|
+
? {
|
334
|
+
default: ({ row }) => {
|
335
|
+
return [
|
336
|
+
<div>
|
337
|
+
<a
|
338
|
+
href="javascript:void(0);"
|
339
|
+
class="a-link"
|
340
|
+
onclick={() => {
|
341
|
+
this.openEditDialog(row);
|
342
|
+
}}
|
343
|
+
style="font-weight:bold; text-decoration: underline"
|
344
|
+
>
|
345
|
+
<el-tooltip
|
346
|
+
class="item"
|
347
|
+
effect="dark"
|
348
|
+
content={this.$t1("查看")}
|
349
|
+
placement="top-start"
|
350
|
+
>
|
351
|
+
<span>{row.param1}</span>
|
352
|
+
</el-tooltip>
|
353
|
+
</a>
|
354
|
+
</div>,
|
355
|
+
];
|
356
|
+
},
|
357
|
+
}
|
358
|
+
: "",
|
253
359
|
};
|
254
360
|
});
|
255
361
|
|
256
362
|
// let statuses = {0: '未启动', 1: '审核中', 2: '已完成', 3: '已驳回', 4: '中断'};
|
257
363
|
var statuses = {
|
258
|
-
0: [<el-tag type="warning">{this.$t1(
|
259
|
-
1: [<el-tag>{this.$t1(
|
260
|
-
2: [<el-tag type="success">{this.$t1(
|
261
|
-
3: [<el-tag type="danger">{this.$t1(
|
262
|
-
4: [<el-tag type="danger">{this.$t1(
|
364
|
+
0: [<el-tag type="warning">{this.$t1("未启动")}</el-tag>],
|
365
|
+
1: [<el-tag>{this.$t1("审核中")}</el-tag>],
|
366
|
+
2: [<el-tag type="success">{this.$t1("已完成")}</el-tag>],
|
367
|
+
3: [<el-tag type="danger">{this.$t1("已驳回")}</el-tag>],
|
368
|
+
4: [<el-tag type="danger">{this.$t1("中断")}</el-tag>],
|
263
369
|
};
|
264
370
|
let tableOption = {
|
265
371
|
vue: this,
|
266
|
-
tableRef:
|
267
|
-
tableName:
|
268
|
-
path: USER_PREFIX +
|
372
|
+
tableRef: "table-m1",
|
373
|
+
tableName: "user-wf-wf_manage-list-m2",
|
374
|
+
path: USER_PREFIX + "/wf_info/listPage",
|
269
375
|
param: () => {
|
270
376
|
return {
|
271
377
|
type: this.type,
|
272
|
-
...this.formData
|
378
|
+
...this.formData,
|
273
379
|
};
|
274
380
|
},
|
275
381
|
/*config: {
|
@@ -278,57 +384,57 @@ export default {
|
|
278
384
|
}
|
279
385
|
},*/
|
280
386
|
columns: [
|
281
|
-
{type:
|
387
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
282
388
|
{
|
283
|
-
title: this.$t1(
|
284
|
-
field:
|
389
|
+
title: this.$t1("流程主题"),
|
390
|
+
field: "name",
|
285
391
|
width: 150,
|
286
|
-
fixed:
|
392
|
+
fixed: "left",
|
287
393
|
},
|
288
394
|
{
|
289
|
-
title: this.$t1(
|
290
|
-
field:
|
291
|
-
width: 150
|
395
|
+
title: this.$t1("单据类型"),
|
396
|
+
field: "objTypeName",
|
397
|
+
width: 150,
|
292
398
|
},
|
293
399
|
{
|
294
|
-
title: this.$t1(
|
295
|
-
field:
|
296
|
-
width: 150
|
400
|
+
title: this.$t1("启动人"),
|
401
|
+
field: "starterName",
|
402
|
+
width: 150,
|
297
403
|
},
|
298
404
|
{
|
299
|
-
title: this.$t1(
|
300
|
-
field:
|
301
|
-
width: 150
|
405
|
+
title: this.$t1("当前任务"),
|
406
|
+
field: "taskName",
|
407
|
+
width: 150,
|
302
408
|
},
|
303
409
|
{
|
304
|
-
title: this.$t1(
|
305
|
-
field:
|
306
|
-
width: 150
|
410
|
+
title: this.$t1("当前任务用户"),
|
411
|
+
field: "candidateNames",
|
412
|
+
width: 150,
|
307
413
|
},
|
308
414
|
{
|
309
|
-
title: this.$t1(
|
310
|
-
field:
|
415
|
+
title: this.$t1("流程状态"),
|
416
|
+
field: "stat",
|
311
417
|
width: 150,
|
312
418
|
slots: {
|
313
|
-
default: ({row}) => {
|
314
|
-
let html = statuses[row.stat] ||
|
419
|
+
default: ({ row }) => {
|
420
|
+
let html = statuses[row.stat] || "";
|
315
421
|
return html;
|
316
|
-
}
|
317
|
-
}
|
422
|
+
},
|
423
|
+
},
|
318
424
|
},
|
319
425
|
{
|
320
|
-
title: this.$t1(
|
321
|
-
field:
|
322
|
-
width: 150
|
426
|
+
title: this.$t1("启动时间"),
|
427
|
+
field: "createDate",
|
428
|
+
width: 150,
|
323
429
|
},
|
324
430
|
...paramColumns,
|
325
431
|
{
|
326
432
|
width: 47,
|
327
|
-
fixed:
|
328
|
-
title:
|
433
|
+
fixed: "right",
|
434
|
+
title: "",
|
329
435
|
sortable: false,
|
330
436
|
slots: {
|
331
|
-
default: ({row}) => {
|
437
|
+
default: ({ row }) => {
|
332
438
|
return [
|
333
439
|
<a
|
334
440
|
href="javascript:void(0);"
|
@@ -338,18 +444,23 @@ export default {
|
|
338
444
|
this.openEditDialog(row);
|
339
445
|
}}
|
340
446
|
>
|
341
|
-
<el-tooltip
|
342
|
-
|
343
|
-
|
447
|
+
<el-tooltip
|
448
|
+
enterable={false}
|
449
|
+
effect="dark"
|
450
|
+
content={this.$t1("查看")}
|
451
|
+
placement="top"
|
452
|
+
popper-class="tooltip-skin"
|
453
|
+
>
|
454
|
+
<i class="el-icon-edit" />
|
344
455
|
</el-tooltip>
|
345
|
-
</a
|
456
|
+
</a>,
|
346
457
|
];
|
347
|
-
}
|
348
|
-
}
|
349
|
-
}
|
350
|
-
]
|
458
|
+
},
|
459
|
+
},
|
460
|
+
},
|
461
|
+
],
|
351
462
|
};
|
352
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
463
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
353
464
|
this.vxeOption = opts;
|
354
465
|
});
|
355
466
|
},
|
@@ -363,29 +474,28 @@ export default {
|
|
363
474
|
// this.$openEditView('showEdit');
|
364
475
|
|
365
476
|
let id = row.objId;
|
366
|
-
let wfDataId = !id || typeof id ==
|
367
|
-
if (row.url ==
|
477
|
+
let wfDataId = !id || typeof id == "object" ? 0 : Number(id);
|
478
|
+
if (row.url == "form") {
|
368
479
|
this.param = {
|
369
480
|
formCode: row.objTypeCode.substr(9),
|
370
|
-
dataId: wfDataId
|
481
|
+
dataId: wfDataId,
|
371
482
|
};
|
372
|
-
let url =
|
373
|
-
this.wfContent = require(
|
483
|
+
let url = "/user/form/vform/render.vue";
|
484
|
+
this.wfContent = require("@base/views" + url).default;
|
374
485
|
} else {
|
375
486
|
this.param = {
|
376
|
-
_dataId: wfDataId
|
487
|
+
_dataId: wfDataId,
|
377
488
|
};
|
378
|
-
let url = row.url +
|
379
|
-
this.wfContent = require(
|
489
|
+
let url = row.url + ".vue";
|
490
|
+
this.wfContent = require("@/views" + url).default;
|
380
491
|
}
|
381
|
-
this.activeName =
|
382
|
-
this.$openEditView(
|
383
|
-
|
492
|
+
this.activeName = "first";
|
493
|
+
this.$openEditView("showWfContent");
|
384
494
|
},
|
385
495
|
guid() {
|
386
|
-
return
|
496
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
|
387
497
|
var r = (Math.random() * 16) | 0,
|
388
|
-
v = c ==
|
498
|
+
v = c == "x" ? r : (r & 0x3) | 0x8;
|
389
499
|
return v.toString(16);
|
390
500
|
});
|
391
501
|
},
|
@@ -409,55 +519,55 @@ export default {
|
|
409
519
|
return;
|
410
520
|
}
|
411
521
|
this.$http({
|
412
|
-
url: USER_PREFIX +
|
413
|
-
method:
|
522
|
+
url: USER_PREFIX + "/wf_obj_config/getWfGroups",
|
523
|
+
method: "post",
|
414
524
|
data: {
|
415
|
-
type: node.data.type
|
525
|
+
type: node.data.type,
|
416
526
|
},
|
417
|
-
success: res => {
|
527
|
+
success: (res) => {
|
418
528
|
let rows = res.objx || [];
|
419
|
-
rows.forEach(item => {
|
529
|
+
rows.forEach((item) => {
|
420
530
|
item.leaf = true;
|
421
|
-
item.label = item.objTypeName +
|
531
|
+
item.label = item.objTypeName + "(" + item.num + ")";
|
422
532
|
item.type = node.data.type;
|
423
533
|
item.uuid = this.guid();
|
424
534
|
});
|
425
535
|
resolve(rows);
|
426
|
-
}
|
536
|
+
},
|
427
537
|
});
|
428
538
|
},
|
429
539
|
initNodeData(node, resolve) {
|
430
540
|
let data = [
|
431
541
|
{
|
432
542
|
uuid: -1,
|
433
|
-
label: this.$t1(
|
543
|
+
label: this.$t1("待审批的"),
|
434
544
|
type: 0,
|
435
|
-
leaf: true
|
545
|
+
leaf: true,
|
436
546
|
},
|
437
547
|
{
|
438
548
|
uuid: -2,
|
439
|
-
label: this.$t1(
|
549
|
+
label: this.$t1("我发起的"),
|
440
550
|
type: 1,
|
441
|
-
leaf: true
|
551
|
+
leaf: true,
|
442
552
|
},
|
443
553
|
{
|
444
554
|
uuid: -3,
|
445
|
-
label: this.$t1(
|
555
|
+
label: this.$t1("已审批的"),
|
446
556
|
type: 2,
|
447
|
-
leaf: true
|
557
|
+
leaf: true,
|
448
558
|
},
|
449
559
|
{
|
450
560
|
uuid: -4,
|
451
|
-
label: this.$t1(
|
452
|
-
type:
|
453
|
-
leaf: true
|
561
|
+
label: this.$t1("已完成的"),
|
562
|
+
type: "3",
|
563
|
+
leaf: true,
|
454
564
|
},
|
455
565
|
{
|
456
566
|
uuid: -5,
|
457
|
-
label: this.$t1(
|
458
|
-
type:
|
459
|
-
leaf: true
|
460
|
-
}
|
567
|
+
label: this.$t1("我转办的"),
|
568
|
+
type: "4",
|
569
|
+
leaf: true,
|
570
|
+
},
|
461
571
|
];
|
462
572
|
resolve(data);
|
463
573
|
this.$nextTick(() => {
|
@@ -488,156 +598,163 @@ export default {
|
|
488
598
|
confirmInsertWfObjConfig(rows) {
|
489
599
|
if (rows.length) {
|
490
600
|
let row = rows[0];
|
491
|
-
this.$set(this.formData,
|
492
|
-
this.$set(this.formData,
|
601
|
+
this.$set(this.formData, "objTypeName", row.objTypeName);
|
602
|
+
this.$set(this.formData, "objTypeCode", row.objTypeCode);
|
493
603
|
}
|
494
604
|
},
|
495
605
|
async initWfParam() {
|
496
606
|
return this.$http({
|
497
|
-
url: USER_PREFIX +
|
607
|
+
url: USER_PREFIX + "/wf_param/list",
|
498
608
|
method: `post`,
|
499
609
|
data: {},
|
500
|
-
success: res => {
|
610
|
+
success: (res) => {
|
501
611
|
this.wfParamDTOs = res.objx || [];
|
502
|
-
}
|
612
|
+
},
|
503
613
|
});
|
504
614
|
},
|
505
615
|
//m2
|
506
616
|
initRole() {
|
507
617
|
this.$http({
|
508
|
-
url: USER_PREFIX +
|
509
|
-
method:
|
510
|
-
success: res => {
|
618
|
+
url: USER_PREFIX + "/user/currentUser",
|
619
|
+
method: "post",
|
620
|
+
success: (res) => {
|
511
621
|
let userInfo = res.objx;
|
512
622
|
this.getIsAdmin(userInfo);
|
513
|
-
}
|
623
|
+
},
|
514
624
|
});
|
515
625
|
},
|
516
626
|
getIsAdmin(userInfo) {
|
517
627
|
this.$http({
|
518
|
-
url: USER_PREFIX +
|
628
|
+
url: USER_PREFIX + "/userb/getUserRole",
|
519
629
|
method: `post`,
|
520
|
-
data: {id: userInfo.id},
|
521
|
-
success: res2 => {
|
630
|
+
data: { id: userInfo.id },
|
631
|
+
success: (res2) => {
|
522
632
|
let rows = res2.objx || [];
|
523
|
-
let codes = rows.map(row => row.roleCode);
|
524
|
-
if (codes.includes(
|
633
|
+
let codes = rows.map((row) => row.roleCode);
|
634
|
+
if (codes.includes("superadmin") || codes.includes("wfadmin")) {
|
525
635
|
this.flag = 1;
|
526
636
|
setTimeout(() => {
|
527
637
|
this.initTableList2();
|
528
638
|
}, 200);
|
529
639
|
}
|
530
|
-
}
|
640
|
+
},
|
531
641
|
});
|
532
642
|
},
|
533
643
|
searchEvent2() {
|
534
|
-
this.$refs[
|
644
|
+
this.$refs["table-m2"].commitProxy("reload");
|
535
645
|
},
|
536
646
|
resetEvent2() {
|
537
647
|
this.formData2 = {};
|
538
|
-
this.$refs[
|
648
|
+
this.$refs["table-m2"].commitProxy("reload");
|
539
649
|
},
|
540
650
|
initTableList2() {
|
541
651
|
let that = this;
|
542
|
-
let paramColumns = this.wfParamDTOs.map(item => {
|
543
|
-
let flag = item.paramName ==
|
652
|
+
let paramColumns = this.wfParamDTOs.map((item) => {
|
653
|
+
let flag = item.paramName == "单号";
|
544
654
|
return {
|
545
655
|
title: this.$t1(item.paramName),
|
546
656
|
field: item.paramKey,
|
547
657
|
width: 150,
|
548
|
-
fixed: flag ?
|
549
|
-
slots: flag
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
658
|
+
fixed: flag ? "left" : "",
|
659
|
+
slots: flag
|
660
|
+
? {
|
661
|
+
default: ({ row }) => {
|
662
|
+
return [
|
663
|
+
<div>
|
664
|
+
<a
|
665
|
+
href="javascript:void(0);"
|
666
|
+
class="a-link"
|
667
|
+
onclick={() => {
|
668
|
+
this.openEditDialog(row);
|
669
|
+
}}
|
670
|
+
style="font-weight:bold; text-decoration: underline"
|
671
|
+
>
|
672
|
+
<el-tooltip
|
673
|
+
class="item"
|
674
|
+
effect="dark"
|
675
|
+
content={this.$t1("查看")}
|
676
|
+
placement="top-start"
|
677
|
+
>
|
678
|
+
<span>{row.param1}</span>
|
679
|
+
</el-tooltip>
|
680
|
+
</a>
|
681
|
+
</div>,
|
682
|
+
];
|
683
|
+
},
|
684
|
+
}
|
685
|
+
: "",
|
569
686
|
};
|
570
687
|
});
|
571
688
|
|
572
689
|
var statuses = {
|
573
|
-
0: [<el-tag type="warning">{this.$t1(
|
574
|
-
1: [<el-tag>{this.$t1(
|
575
|
-
2: [<el-tag type="success">{this.$t1(
|
576
|
-
3: [<el-tag type="danger">{this.$t1(
|
577
|
-
4: [<el-tag type="danger">{this.$t1(
|
690
|
+
0: [<el-tag type="warning">{this.$t1("未启动")}</el-tag>],
|
691
|
+
1: [<el-tag>{this.$t1("审核中")}</el-tag>],
|
692
|
+
2: [<el-tag type="success">{this.$t1("已完成")}</el-tag>],
|
693
|
+
3: [<el-tag type="danger">{this.$t1("已驳回")}</el-tag>],
|
694
|
+
4: [<el-tag type="danger">{this.$t1("中断")}</el-tag>],
|
578
695
|
};
|
579
696
|
let tableOption = {
|
580
697
|
vue: this,
|
581
|
-
tableRef:
|
582
|
-
tableName:
|
583
|
-
path: USER_PREFIX +
|
698
|
+
tableRef: "table-m2",
|
699
|
+
tableName: "user-wf-wf_manage-list-m3",
|
700
|
+
path: USER_PREFIX + "/wf_info/listPageAll",
|
584
701
|
param: () => {
|
585
702
|
return {
|
586
|
-
...this.formData2
|
703
|
+
...this.formData2,
|
587
704
|
};
|
588
705
|
},
|
589
706
|
columns: [
|
590
|
-
{type:
|
707
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
591
708
|
{
|
592
|
-
title: this.$t1(
|
593
|
-
field:
|
709
|
+
title: this.$t1("流程主题"),
|
710
|
+
field: "name",
|
594
711
|
width: 150,
|
595
|
-
fixed:
|
712
|
+
fixed: "left",
|
596
713
|
},
|
597
714
|
{
|
598
|
-
title: this.$t1(
|
599
|
-
field:
|
600
|
-
width: 150
|
715
|
+
title: this.$t1("单据类型"),
|
716
|
+
field: "objTypeName",
|
717
|
+
width: 150,
|
601
718
|
},
|
602
719
|
{
|
603
|
-
title: this.$t1(
|
604
|
-
field:
|
605
|
-
width: 150
|
720
|
+
title: this.$t1("启动人"),
|
721
|
+
field: "starterName",
|
722
|
+
width: 150,
|
606
723
|
},
|
607
724
|
{
|
608
|
-
title: this.$t1(
|
609
|
-
field:
|
610
|
-
width: 150
|
725
|
+
title: this.$t1("当前任务"),
|
726
|
+
field: "taskName",
|
727
|
+
width: 150,
|
611
728
|
},
|
612
729
|
{
|
613
|
-
title: this.$t1(
|
614
|
-
field:
|
615
|
-
width: 150
|
730
|
+
title: this.$t1("当前任务用户"),
|
731
|
+
field: "candidateNames",
|
732
|
+
width: 150,
|
616
733
|
},
|
617
734
|
{
|
618
|
-
title: this.$t1(
|
619
|
-
field:
|
735
|
+
title: this.$t1("流程状态"),
|
736
|
+
field: "stat",
|
620
737
|
width: 150,
|
621
738
|
slots: {
|
622
|
-
default: ({row}) => {
|
623
|
-
let html = statuses[row.stat] ||
|
739
|
+
default: ({ row }) => {
|
740
|
+
let html = statuses[row.stat] || "";
|
624
741
|
return html;
|
625
|
-
}
|
626
|
-
}
|
742
|
+
},
|
743
|
+
},
|
627
744
|
},
|
628
745
|
{
|
629
|
-
title: this.$t1(
|
630
|
-
field:
|
631
|
-
width: 150
|
746
|
+
title: this.$t1("启动时间"),
|
747
|
+
field: "createDate",
|
748
|
+
width: 150,
|
632
749
|
},
|
633
750
|
...paramColumns,
|
634
751
|
{
|
635
752
|
width: 47,
|
636
|
-
fixed:
|
637
|
-
title:
|
753
|
+
fixed: "right",
|
754
|
+
title: "",
|
638
755
|
sortable: false,
|
639
756
|
slots: {
|
640
|
-
default: ({row}) => {
|
757
|
+
default: ({ row }) => {
|
641
758
|
return [
|
642
759
|
<a
|
643
760
|
href="javascript:void(0);"
|
@@ -646,28 +763,33 @@ export default {
|
|
646
763
|
this.openEditDialog(row);
|
647
764
|
}}
|
648
765
|
>
|
649
|
-
<el-tooltip
|
650
|
-
|
651
|
-
|
766
|
+
<el-tooltip
|
767
|
+
enterable={false}
|
768
|
+
effect="dark"
|
769
|
+
content={this.$t1("查看")}
|
770
|
+
placement="top"
|
771
|
+
popper-class="tooltip-skin"
|
772
|
+
>
|
773
|
+
<i class="el-icon-edit" />
|
652
774
|
</el-tooltip>
|
653
|
-
</a
|
775
|
+
</a>,
|
654
776
|
];
|
655
|
-
}
|
656
|
-
}
|
657
|
-
}
|
658
|
-
]
|
777
|
+
},
|
778
|
+
},
|
779
|
+
},
|
780
|
+
],
|
659
781
|
};
|
660
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
782
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
661
783
|
this.vxeOption2 = opts;
|
662
784
|
});
|
663
785
|
},
|
664
786
|
confirmInsertWfObjConfig2(rows) {
|
665
787
|
if (rows.length) {
|
666
788
|
let row = rows[0];
|
667
|
-
this.$set(this.formData2,
|
668
|
-
this.$set(this.formData2,
|
789
|
+
this.$set(this.formData2, "objTypeName", row.objTypeName);
|
790
|
+
this.$set(this.formData2, "objTypeCode", row.objTypeCode);
|
669
791
|
}
|
670
792
|
},
|
671
|
-
}
|
793
|
+
},
|
672
794
|
};
|
673
795
|
</script>
|