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
@@ -1,109 +1,277 @@
|
|
1
1
|
<template>
|
2
|
-
<baseTabPane
|
3
|
-
|
2
|
+
<baseTabPane
|
3
|
+
:label="$t2('流程信息', 'components.wf.wfInfo')"
|
4
|
+
:showFold="showWfFold"
|
5
|
+
:defaultShowContent="showWfContent"
|
6
|
+
v-if="!isHideWf"
|
7
|
+
>
|
4
8
|
<template #default>
|
5
|
-
<div
|
6
|
-
|
7
|
-
|
9
|
+
<div
|
10
|
+
style="margin: -36px 0 8px 124px; position: relative; z-index: 2; height: 28px"
|
11
|
+
>
|
12
|
+
<el-button
|
13
|
+
type="success"
|
14
|
+
class="button-sty"
|
15
|
+
@click="openAgreeDialog"
|
16
|
+
v-show="wfInfo.toSubmit"
|
17
|
+
icon="iconfont icon-tongguo"
|
18
|
+
>{{ $t2("通过", "components.wf.agree") }}
|
19
|
+
</el-button>
|
20
|
+
<el-button
|
21
|
+
type="warning"
|
22
|
+
class="button-sty"
|
23
|
+
@click="openManualDialog"
|
24
|
+
v-show="wfInfo.toInterrupt"
|
25
|
+
icon="iconfont icon-caozuozhongduan"
|
26
|
+
>{{ $t2("中断", "components.wf.manual") }}
|
8
27
|
</el-button>
|
9
|
-
<el-button
|
10
|
-
|
28
|
+
<el-button
|
29
|
+
type="danger"
|
30
|
+
class="button-sty"
|
31
|
+
@click="rejectWfTask"
|
32
|
+
v-show="wfInfo.toReject"
|
33
|
+
icon="iconfont icon-a-bohui1"
|
34
|
+
>{{ $t2("驳回", "components.wf.reject") }}
|
11
35
|
</el-button>
|
12
|
-
<el-button
|
13
|
-
|
36
|
+
<el-button
|
37
|
+
type="primary"
|
38
|
+
class="button-sty"
|
39
|
+
@click="openChangeWfForm"
|
40
|
+
v-show="
|
41
|
+
wfInfo.toTransfer === null || wfInfo.toTransfer === undefined
|
42
|
+
? wfInfo.toSubmit
|
43
|
+
: wfInfo.toTransfer
|
44
|
+
"
|
45
|
+
icon="iconfont icon-zhuanban"
|
46
|
+
>{{ $t2("转办", "components.wf.transfer") }}
|
14
47
|
</el-button>
|
15
|
-
<el-button
|
16
|
-
|
17
|
-
|
48
|
+
<el-button
|
49
|
+
type="primary"
|
50
|
+
class="button-sty"
|
51
|
+
@click="openUrgingDialog"
|
52
|
+
v-show="wfInfo.toInterrupt"
|
53
|
+
icon="iconfont icon-cuiban"
|
54
|
+
>{{ $t2("催办", "components.wf.urging") }}
|
18
55
|
</el-button>
|
19
|
-
<el-button
|
20
|
-
|
56
|
+
<el-button
|
57
|
+
type="primary"
|
58
|
+
class="button-sty"
|
59
|
+
@click="openAddIncreaseSign"
|
60
|
+
v-show="wfInfo.toAddIncreaseSign"
|
61
|
+
icon="el-icon-plus"
|
62
|
+
>{{ $t2("加签", "components.wf.addIncreaseSign") }}
|
21
63
|
</el-button>
|
22
|
-
<el-button
|
23
|
-
|
64
|
+
<el-button
|
65
|
+
type="primary"
|
66
|
+
class="button-sty"
|
67
|
+
@click="openDeleteTaskUserDialog"
|
68
|
+
v-show="wfInfo.toDeleteIncreaseSign"
|
69
|
+
icon="el-icon-delete"
|
70
|
+
>{{ $t2("减签", "components.wf.deleteIncreaseSign") }}
|
24
71
|
</el-button>
|
25
|
-
<el-button
|
26
|
-
|
27
|
-
|
72
|
+
<el-button
|
73
|
+
type="primary"
|
74
|
+
class="button-sty"
|
75
|
+
@click="openTalkDialog()"
|
76
|
+
icon="el-icon-chat-dot-square"
|
77
|
+
v-if="toTalk && wfInfo.toLinkup"
|
78
|
+
>
|
79
|
+
{{ $t2("沟通", "components.wf.talk") }}
|
28
80
|
</el-button>
|
29
|
-
<el-button
|
30
|
-
|
31
|
-
|
81
|
+
<el-button
|
82
|
+
type="primary"
|
83
|
+
class="button-sty"
|
84
|
+
@click="openSetCandidateDialog(null)"
|
85
|
+
v-show="wfInfo.toSetCandidate"
|
86
|
+
icon="el-icon-user"
|
87
|
+
>{{ $t2("修改候选人", "components.wf.setCandidate") }}
|
32
88
|
</el-button>
|
33
|
-
<el-button
|
34
|
-
|
35
|
-
|
89
|
+
<el-button
|
90
|
+
type="danger"
|
91
|
+
class="button-sty"
|
92
|
+
@click="openRevokeDialog(null)"
|
93
|
+
v-show="wfInfo.toRevoke"
|
94
|
+
icon="el-icon-document-delete"
|
95
|
+
>{{ $t2("撤回", "components.wf.revoke") }}
|
36
96
|
</el-button>
|
37
|
-
<
|
38
|
-
|
39
|
-
|
97
|
+
<addOpinionButton
|
98
|
+
v-if="showAddOpinionButton"
|
99
|
+
@confirm="reloadContent()"
|
100
|
+
:wfInfo="wfInfo"
|
101
|
+
:wfSendTaskId="wfSendTaskId"
|
102
|
+
:current_prefix="current_prefix"
|
103
|
+
></addOpinionButton>
|
104
|
+
<el-button
|
105
|
+
type="primary"
|
106
|
+
class="button-sty"
|
107
|
+
@click="openWfFlowEleScriptDialog"
|
108
|
+
v-if="wfInfo.wfAdmin"
|
109
|
+
icon="el-icon-edit"
|
110
|
+
>{{ $t1("修改脚本") }}
|
40
111
|
</el-button>
|
41
112
|
</div>
|
42
113
|
<div class="title-name">
|
43
114
|
<b>
|
44
|
-
<em>{{ $t2(
|
45
|
-
{{
|
115
|
+
<em>{{ $t2("流程主题", "components.wf.theme") }}:</em>
|
116
|
+
{{ wfInfo.name }}
|
46
117
|
</b>
|
47
118
|
<span v-html="wfInfo.statusStr" class="status"></span>
|
48
119
|
</div>
|
49
|
-
<div
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
120
|
+
<div
|
121
|
+
class="title-second"
|
122
|
+
@click="showFlowImg = !showFlowImg"
|
123
|
+
style="margin: 14px 0 24px; line-height: 29px; cursor: pointer"
|
124
|
+
>
|
125
|
+
<b>{{ $t2("流程图", "components.wf.wfImage") }}</b>
|
126
|
+
<div class="fr" v-if="showFlowImg == true" style="font-weight: 400">
|
127
|
+
<span>{{ $t2("收起", "components.wf.collapse") }}</span>
|
54
128
|
<i class="el-icon-arrow-up"></i>
|
55
129
|
</div>
|
56
|
-
<div class="fr" v-else style="font-weight: 400
|
57
|
-
<span>{{ $t2(
|
130
|
+
<div class="fr" v-else style="font-weight: 400">
|
131
|
+
<span>{{ $t2("展开", "components.wf.expand") }}</span>
|
58
132
|
<i class="el-icon-arrow-down"></i>
|
59
133
|
</div>
|
60
134
|
</div>
|
61
|
-
<div class="flow-tree" style="padding-right:0" v-show="showFlowImg == true">
|
135
|
+
<div class="flow-tree" style="padding-right: 0" v-show="showFlowImg == true">
|
62
136
|
<div class="flow-box">
|
63
|
-
<img :src="wfImage"/>
|
64
|
-
<el-tooltip
|
65
|
-
|
66
|
-
|
137
|
+
<img :src="wfImage" />
|
138
|
+
<el-tooltip
|
139
|
+
:enterable="false"
|
140
|
+
class="item"
|
141
|
+
effect="dark"
|
142
|
+
:content="$t2('放大', 'components.wf.enlarge')"
|
143
|
+
placement="bottom"
|
144
|
+
>
|
145
|
+
<i
|
146
|
+
class="el-icon-zoom-in btn-magnifier"
|
147
|
+
@click="$window.open(wfImage)"
|
148
|
+
style="right: 0"
|
149
|
+
></i>
|
67
150
|
</el-tooltip>
|
68
151
|
</div>
|
69
152
|
</div>
|
70
153
|
<div v-show="showWfInfoTab">
|
71
154
|
<div class="title-tab">
|
72
155
|
<div>
|
73
|
-
<b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{
|
74
|
-
|
75
|
-
|
76
|
-
<b :class="{on:tabIndex=='
|
77
|
-
|
156
|
+
<b :class="{ on: tabIndex == '1' }" @click="tabIndex = '1'">{{
|
157
|
+
$t2("任务情况", "components.wf.taskInfo")
|
158
|
+
}}</b>
|
159
|
+
<b :class="{ on: tabIndex == '2' }" @click="tabIndex = '2'" v-if="toTalk">{{
|
160
|
+
$t2("流程沟通", "components.wf.wfTalk")
|
161
|
+
}}</b>
|
162
|
+
<b
|
163
|
+
:class="{ on: tabIndex == '4' }"
|
164
|
+
@click="tabIndex = '4'"
|
165
|
+
v-if="showCandidate"
|
166
|
+
>{{ $t1("节点候选人") }}</b
|
167
|
+
>
|
168
|
+
<b
|
169
|
+
:class="{ on: tabIndex == '3' }"
|
170
|
+
@click="tabIndex = '3'"
|
171
|
+
v-if="showAllWfOpinon"
|
172
|
+
>{{ $t2("全部任务情况", "components.wf.allTaskInfo") }}</b
|
173
|
+
>
|
78
174
|
</div>
|
79
175
|
</div>
|
80
|
-
<div
|
81
|
-
<div class="
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
176
|
+
<div v-show="tabIndex == '1'">
|
177
|
+
<div class="title-five"><b>任务流程</b></div>
|
178
|
+
<div class="task-situation" style="padding-left: 14px">
|
179
|
+
<div
|
180
|
+
class="item"
|
181
|
+
v-for="wftaskLineData in wftaskData"
|
182
|
+
:key="wftaskLineData.id"
|
183
|
+
>
|
184
|
+
<div class="time">
|
185
|
+
{{
|
186
|
+
wftaskLineData.approveTime
|
187
|
+
? wftaskLineData.approveTime.substring(0, 10)
|
188
|
+
: ""
|
189
|
+
}}
|
190
|
+
<br />
|
191
|
+
{{
|
192
|
+
wftaskLineData.approveTime
|
193
|
+
? wftaskLineData.approveTime.substring(11)
|
194
|
+
: ""
|
195
|
+
}}
|
196
|
+
</div>
|
197
|
+
<div
|
198
|
+
class="status"
|
199
|
+
:class="
|
200
|
+
taskStatuses[wftaskLineData.type]
|
201
|
+
? taskStatuses[wftaskLineData.type].class
|
202
|
+
: ''
|
203
|
+
"
|
204
|
+
>
|
205
|
+
{{
|
206
|
+
taskStatuses[wftaskLineData.type]
|
207
|
+
? taskStatuses[wftaskLineData.type].value
|
208
|
+
: null
|
209
|
+
}}
|
210
|
+
</div>
|
211
|
+
<i class="circle"></i>
|
212
|
+
<div class="info">
|
213
|
+
<p>
|
214
|
+
<span class="name">{{ wftaskLineData.taskName }}</span>
|
215
|
+
<span
|
216
|
+
>{{ $t2("执行人", "components.wf.approverName") }}:{{
|
217
|
+
wftaskLineData.approverName
|
218
|
+
}}</span
|
219
|
+
>
|
220
|
+
<span>
|
221
|
+
{{ $t2("候选人", "components.wf.candidateName") }}:
|
222
|
+
<span>
|
223
|
+
<span style="float: left; width: auto; margin-right: 10px">{{
|
224
|
+
wftaskLineData.candidateNames
|
225
|
+
}}</span>
|
226
|
+
<setCandidateButton
|
227
|
+
v-if="wftaskLineData.flag == 1"
|
228
|
+
style="float: left; width: auto"
|
229
|
+
:current_prefix="current_prefix"
|
230
|
+
:wfInfo="wfInfo"
|
231
|
+
:checkRow="wftaskLineData"
|
232
|
+
@confirm="reloadContent()"
|
233
|
+
></setCandidateButton>
|
234
|
+
</span>
|
235
|
+
</span>
|
236
|
+
</p>
|
237
|
+
<p class="t">
|
238
|
+
<span class="t1">{{ $t2("备注/意见", "components.wf.opinion") }}:</span
|
239
|
+
><span>{{ wftaskLineData.opinion }}</span>
|
240
|
+
</p>
|
241
|
+
</div>
|
89
242
|
</div>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
</
|
100
|
-
|
101
|
-
|
102
|
-
|
243
|
+
</div>
|
244
|
+
<div class="title-five" v-if="showWfMemo">
|
245
|
+
<b>{{ $t1("发起人附言") }}</b>
|
246
|
+
<el-button
|
247
|
+
v-if="wfInfo.toAddMemo"
|
248
|
+
class="button-sty"
|
249
|
+
icon="el-icon-plus"
|
250
|
+
@click="openWfMemoDialog()"
|
251
|
+
type="primary"
|
252
|
+
>{{ $t1("新增") }}</el-button
|
253
|
+
>
|
254
|
+
</div>
|
255
|
+
<div class="postscript-box">
|
256
|
+
<div class="item" v-for="(item, index) in wfMemoData" :key="index">
|
257
|
+
<div class="txt" style="white-space: pre-wrap">{{ item.content }}</div>
|
258
|
+
<div
|
259
|
+
class="attach-box"
|
260
|
+
v-if="item.attachmentDTOs && item.attachmentDTOs.length"
|
261
|
+
>
|
262
|
+
<baseUpload
|
263
|
+
accept="file"
|
264
|
+
multi="true"
|
265
|
+
:edit="false"
|
266
|
+
:widgetSize="1"
|
267
|
+
:file.sync="item.attachmentDTOs"
|
268
|
+
></baseUpload>
|
269
|
+
</div>
|
270
|
+
<div class="time">{{ item.createDate }}</div>
|
103
271
|
</div>
|
104
272
|
</div>
|
105
273
|
</div>
|
106
|
-
<div class="task-situation" v-show="toTalk && tabIndex=='2'">
|
274
|
+
<div class="task-situation" v-show="toTalk && tabIndex == '2'">
|
107
275
|
<vxe-grid
|
108
276
|
ref="table-linkup"
|
109
277
|
:auto-resize="true"
|
@@ -112,10 +280,15 @@
|
|
112
280
|
@custom="$vxeTableUtil.customHandle"
|
113
281
|
>
|
114
282
|
<template #form>
|
115
|
-
<div style="margin-bottom: 8px
|
283
|
+
<div style="margin-bottom: 8px" class="clearfix">
|
116
284
|
<div class="fl">
|
117
|
-
<el-button
|
118
|
-
|
285
|
+
<el-button
|
286
|
+
type="primary"
|
287
|
+
class="button-sty"
|
288
|
+
@click="openTalkDialog()"
|
289
|
+
icon="el-icon-chat-dot-square"
|
290
|
+
v-if="wfInfo.toLinkup"
|
291
|
+
>{{ $t2("沟通", "components.wf.talk") }}
|
119
292
|
</el-button>
|
120
293
|
</div>
|
121
294
|
<div class="fr">
|
@@ -124,15 +297,20 @@
|
|
124
297
|
</div>
|
125
298
|
</div>
|
126
299
|
</template>
|
127
|
-
<template #sender="{row}">
|
300
|
+
<template #sender="{ row }">
|
128
301
|
<a
|
129
302
|
href="javascript:void(0);"
|
130
303
|
class="a-link"
|
131
|
-
@click="openTalkDialog(row.sender,row.senderName,null,null,row.id)"
|
304
|
+
@click="openTalkDialog(row.sender, row.senderName, null, null, row.id)"
|
132
305
|
v-if="row.replyToSender"
|
133
306
|
>
|
134
|
-
<el-tooltip
|
135
|
-
|
307
|
+
<el-tooltip
|
308
|
+
:enterable="false"
|
309
|
+
effect="dark"
|
310
|
+
:content="$t2('沟通', 'components.wf.talk')"
|
311
|
+
placement="top"
|
312
|
+
popper-class="tooltip-skin"
|
313
|
+
>
|
136
314
|
<div>
|
137
315
|
<i class="el-icon-chat-dot-square"></i>
|
138
316
|
<span>{{ row.senderName }}</span>
|
@@ -141,15 +319,22 @@
|
|
141
319
|
</a>
|
142
320
|
<span v-else>{{ row.senderName }}</span>
|
143
321
|
</template>
|
144
|
-
<template #receiver="{row}">
|
322
|
+
<template #receiver="{ row }">
|
145
323
|
<a
|
146
324
|
href="javascript:void(0);"
|
147
325
|
class="a-link"
|
148
|
-
@click="
|
326
|
+
@click="
|
327
|
+
openTalkDialog(row.receiver, row.receiverName, null, null, row.id)
|
328
|
+
"
|
149
329
|
v-if="row.replyToReceiver"
|
150
330
|
>
|
151
|
-
<el-tooltip
|
152
|
-
|
331
|
+
<el-tooltip
|
332
|
+
:enterable="false"
|
333
|
+
effect="dark"
|
334
|
+
:content="$t2('沟通', 'components.wf.talk')"
|
335
|
+
placement="top"
|
336
|
+
popper-class="tooltip-skin"
|
337
|
+
>
|
153
338
|
<div>
|
154
339
|
<i class="el-icon-chat-dot-square"></i>
|
155
340
|
<span>{{ row.receiverName }}</span>
|
@@ -158,54 +343,101 @@
|
|
158
343
|
</a>
|
159
344
|
<span v-else>{{ row.receiverName }}</span>
|
160
345
|
</template>
|
161
|
-
<template #operate="{row}">
|
346
|
+
<template #operate="{ row }">
|
162
347
|
<a
|
163
348
|
href="javascript:void(0);"
|
164
349
|
class="a-link"
|
165
|
-
style="font-weight: bold; text-decoration: underline
|
350
|
+
style="font-weight: bold; text-decoration: underline"
|
166
351
|
@click="cancelTalk(row)"
|
167
352
|
v-if="row.toCancel"
|
168
353
|
>
|
169
|
-
<el-tooltip
|
170
|
-
|
171
|
-
|
354
|
+
<el-tooltip
|
355
|
+
:enterable="false"
|
356
|
+
effect="dark"
|
357
|
+
:content="$t2('取消', 'system.button.cancel')"
|
358
|
+
placement="top"
|
359
|
+
popper-class="tooltip-skin"
|
360
|
+
>
|
172
361
|
<div class="vxe-grid">
|
173
362
|
<i class="el-icon-document-delete"></i>
|
174
|
-
<span>{{ $t2(
|
363
|
+
<span>{{ $t2("取消", "system.button.cancel") }}</span>
|
175
364
|
</div>
|
176
365
|
</el-tooltip>
|
177
366
|
</a>
|
178
367
|
</template>
|
179
368
|
</vxe-grid>
|
180
369
|
</div>
|
181
|
-
<div
|
182
|
-
|
183
|
-
|
370
|
+
<div
|
371
|
+
class="task-situation"
|
372
|
+
v-show="showAllWfOpinon && tabIndex == '3'"
|
373
|
+
style="max-height: 500px; overflow: hidden auto"
|
374
|
+
>
|
375
|
+
<div
|
376
|
+
class="item"
|
377
|
+
v-for="wftaskLineData in allWfTaskOpinions"
|
378
|
+
:key="'allWfTaskOpinions' + wftaskLineData.id"
|
379
|
+
>
|
184
380
|
<div class="time">
|
185
|
-
{{
|
186
|
-
|
187
|
-
|
381
|
+
{{
|
382
|
+
wftaskLineData.approveTime
|
383
|
+
? wftaskLineData.approveTime.substring(0, 10)
|
384
|
+
: ""
|
385
|
+
}}
|
386
|
+
<br />
|
387
|
+
{{
|
388
|
+
wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : ""
|
389
|
+
}}
|
188
390
|
</div>
|
189
|
-
<div
|
190
|
-
|
391
|
+
<div
|
392
|
+
class="status"
|
393
|
+
:class="
|
394
|
+
taskStatuses[wftaskLineData.type]
|
395
|
+
? taskStatuses[wftaskLineData.type].class
|
396
|
+
: ''
|
397
|
+
"
|
398
|
+
>
|
399
|
+
{{
|
400
|
+
taskStatuses[wftaskLineData.type]
|
401
|
+
? taskStatuses[wftaskLineData.type].value
|
402
|
+
: null
|
403
|
+
}}
|
191
404
|
</div>
|
192
405
|
<i class="circle"></i>
|
193
406
|
<div class="info">
|
194
407
|
<p>
|
195
408
|
<span class="name">{{ wftaskLineData.taskName }}</span>
|
196
|
-
<span
|
409
|
+
<span
|
410
|
+
>{{ $t2("执行人", "components.wf.approverName") }}:{{
|
411
|
+
wftaskLineData.approverName
|
412
|
+
}}</span
|
413
|
+
>
|
197
414
|
<span>
|
198
|
-
|
199
|
-
|
200
|
-
|
415
|
+
{{ $t2("候选人", "components.wf.candidateName") }}:
|
416
|
+
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
417
|
+
</span>
|
418
|
+
</p>
|
419
|
+
<p class="t">
|
420
|
+
<span class="t1">{{ $t2("备注/意见", "components.wf.opinion") }}:</span
|
421
|
+
><span>{{ wftaskLineData.opinion }}</span>
|
201
422
|
</p>
|
202
|
-
<p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
|
203
|
-
wftaskLineData.opinion
|
204
|
-
}}</span></p>
|
205
423
|
</div>
|
206
424
|
</div>
|
207
425
|
</div>
|
426
|
+
<template v-if="showCandidate">
|
427
|
+
<div v-show="tabIndex == '4'">
|
428
|
+
<div style="width: 800px">
|
429
|
+
<vxe-grid
|
430
|
+
ref="table-candidate"
|
431
|
+
v-bind="candidateOption"
|
432
|
+
:data="candidateDatas"
|
433
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
434
|
+
@custom="$vxeTableUtil.customHandle"
|
435
|
+
></vxe-grid>
|
436
|
+
</div>
|
437
|
+
</div>
|
438
|
+
</template>
|
208
439
|
</div>
|
440
|
+
<!--沟通-->
|
209
441
|
<el-dialog
|
210
442
|
v-if="showTalkDialog"
|
211
443
|
:visible.sync="showTalkDialog"
|
@@ -218,79 +450,176 @@
|
|
218
450
|
v-el-dialog-center
|
219
451
|
>
|
220
452
|
<template #title>
|
221
|
-
<span class="el-dialog__title"
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
453
|
+
<span class="el-dialog__title"
|
454
|
+
>{{ $t2("沟通", "components.wf.talk")
|
455
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
456
|
+
><b class="f-red" style="font-size: 12px"
|
457
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
458
|
+
></span
|
459
|
+
>
|
226
460
|
</template>
|
227
461
|
<el-form :model="talkForm">
|
228
|
-
<div id="containt" style="height: 500px
|
462
|
+
<div id="containt" style="height: 500px">
|
229
463
|
<table class="table-detail">
|
230
464
|
<tbody>
|
231
|
-
|
232
|
-
|
465
|
+
<tr>
|
466
|
+
<th>
|
233
467
|
<span class="t">
|
234
|
-
{{ $t2(
|
468
|
+
{{ $t2("接收人", "components.wf.receiverName") }}
|
235
469
|
</span>
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
470
|
+
</th>
|
471
|
+
<td>
|
472
|
+
<el-form-item field="receiverName">
|
473
|
+
<el-input
|
474
|
+
class="search-input"
|
475
|
+
max="200"
|
476
|
+
v-model="talkForm.receiverName"
|
477
|
+
@clear="
|
244
478
|
talkForm.receiver = null;
|
245
479
|
talkForm.replyId = null;
|
246
480
|
$forceUpdate();
|
247
481
|
"
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
482
|
+
:placeholder="$t2('接收人', 'components.wf.receiverName')"
|
483
|
+
v-el-readonly
|
484
|
+
clearable
|
485
|
+
:disabled="!!talkForm.replyId"
|
486
|
+
>
|
487
|
+
<i
|
488
|
+
slot="suffix"
|
489
|
+
class="el-input__icon el-icon-search"
|
490
|
+
@click="openTalkUserDialog"
|
491
|
+
></i>
|
492
|
+
</el-input>
|
493
|
+
</el-form-item>
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<th>
|
260
498
|
<span class="t">
|
261
|
-
{{ $t2(
|
499
|
+
{{ $t2("沟通内容", "components.wf.talkContent") }}
|
262
500
|
</span>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
501
|
+
</th>
|
502
|
+
<td>
|
503
|
+
<el-form-item field="content">
|
504
|
+
<el-input
|
505
|
+
type="textarea"
|
506
|
+
:rows="8"
|
507
|
+
:placeholder="
|
508
|
+
$t2('沟通内容', 'components.wf.talkContentPlaceholder')
|
509
|
+
"
|
510
|
+
v-model="talkForm.content"
|
511
|
+
></el-input>
|
512
|
+
</el-form-item>
|
513
|
+
</td>
|
514
|
+
</tr>
|
515
|
+
<tr>
|
516
|
+
<th>
|
274
517
|
<span class="t">
|
275
|
-
{{ $t2(
|
518
|
+
{{ $t2("沟通资料", "components.wf.talkAttachment") }}
|
276
519
|
</span>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
520
|
+
</th>
|
521
|
+
<td>
|
522
|
+
<baseUpload
|
523
|
+
accept="file"
|
524
|
+
multi="true"
|
525
|
+
:file.sync="talkForm.attachmentDTOs"
|
526
|
+
></baseUpload>
|
527
|
+
</td>
|
528
|
+
</tr>
|
282
529
|
</tbody>
|
283
530
|
</table>
|
284
531
|
</div>
|
285
532
|
</el-form>
|
286
533
|
<span slot="footer" class="dialog-footer">
|
287
|
-
<el-button
|
534
|
+
<el-button
|
535
|
+
type="primary"
|
536
|
+
plain
|
537
|
+
class="button-sty"
|
538
|
+
@click="showTalkDialog = false"
|
539
|
+
>
|
288
540
|
<i class="el-icon-close el-icon"></i>
|
289
|
-
{{ $t2(
|
541
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
290
542
|
</el-button>
|
291
543
|
<el-button type="primary" @click="submitTalkForm" class="button-sty">
|
292
544
|
<i class="el-icon-check el-icon"></i>
|
293
|
-
{{ $t2(
|
545
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
546
|
+
</el-button>
|
547
|
+
</span>
|
548
|
+
</el-dialog>
|
549
|
+
|
550
|
+
<!--发起人附言-->
|
551
|
+
<el-dialog
|
552
|
+
v-if="showWfMemoDialog"
|
553
|
+
:visible.sync="showWfMemoDialog"
|
554
|
+
:modal-append-to-body="false"
|
555
|
+
:close-on-click-modal="false"
|
556
|
+
:modal="false"
|
557
|
+
custom-class="dialog-style wf-dialog"
|
558
|
+
:append-to-body="true"
|
559
|
+
v-el-drag-dialog
|
560
|
+
v-el-dialog-center
|
561
|
+
>
|
562
|
+
<template #title>
|
563
|
+
<span class="el-dialog__title"
|
564
|
+
>{{ $t1("发起人附言")
|
565
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
566
|
+
><b class="f-red" style="font-size: 12px"
|
567
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
568
|
+
></span
|
569
|
+
>
|
570
|
+
</template>
|
571
|
+
<el-form :model="wfMemoForm">
|
572
|
+
<div id="containt" style="height: 500px">
|
573
|
+
<table class="table-detail">
|
574
|
+
<tbody>
|
575
|
+
<tr>
|
576
|
+
<th>
|
577
|
+
<span class="t">
|
578
|
+
{{ $t1("内容") }}
|
579
|
+
</span>
|
580
|
+
</th>
|
581
|
+
<td>
|
582
|
+
<el-form-item field="content">
|
583
|
+
<el-input
|
584
|
+
type="textarea"
|
585
|
+
:rows="8"
|
586
|
+
:placeholder="$t1('内容')"
|
587
|
+
v-model="wfMemoForm.content"
|
588
|
+
></el-input>
|
589
|
+
</el-form-item>
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
<tr>
|
593
|
+
<th>
|
594
|
+
<span class="t">
|
595
|
+
{{ $t1("附件") }}
|
596
|
+
</span>
|
597
|
+
</th>
|
598
|
+
<td>
|
599
|
+
<baseUpload
|
600
|
+
accept="file"
|
601
|
+
multi="true"
|
602
|
+
:file.sync="wfMemoForm.attachmentDTOs"
|
603
|
+
></baseUpload>
|
604
|
+
</td>
|
605
|
+
</tr>
|
606
|
+
</tbody>
|
607
|
+
</table>
|
608
|
+
</div>
|
609
|
+
</el-form>
|
610
|
+
<span slot="footer" class="dialog-footer">
|
611
|
+
<el-button
|
612
|
+
type="primary"
|
613
|
+
plain
|
614
|
+
class="button-sty"
|
615
|
+
@click="showWfMemoDialog = false"
|
616
|
+
>
|
617
|
+
<i class="el-icon-close el-icon"></i>
|
618
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
619
|
+
</el-button>
|
620
|
+
<el-button type="primary" @click="submitWfMemoForm" class="button-sty">
|
621
|
+
<i class="el-icon-check el-icon"></i>
|
622
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
294
623
|
</el-button>
|
295
624
|
</span>
|
296
625
|
</el-dialog>
|
@@ -306,58 +635,78 @@
|
|
306
635
|
v-el-dialog-center
|
307
636
|
>
|
308
637
|
<template #title>
|
309
|
-
<span class="el-dialog__title"
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
638
|
+
<span class="el-dialog__title"
|
639
|
+
>{{ $t2("流程驳回", "components.wf.wfReject")
|
640
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
641
|
+
><b class="f-red" style="font-size: 12px"
|
642
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
643
|
+
></span
|
644
|
+
>
|
314
645
|
</template>
|
315
646
|
<el-form :model="rejectForm">
|
316
647
|
<div id="containt">
|
317
648
|
<table class="table-detail">
|
318
649
|
<tbody>
|
319
|
-
|
320
|
-
|
650
|
+
<tr>
|
651
|
+
<th>
|
321
652
|
<span class="t">
|
322
|
-
{{ $t2(
|
653
|
+
{{ $t2("驳回节点", "components.wf.rejectNode") }}
|
323
654
|
</span>
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
655
|
+
</th>
|
656
|
+
<td>
|
657
|
+
<el-form-item label="" field="nodeId">
|
658
|
+
<el-select
|
659
|
+
v-model="rejectForm.nodeId"
|
660
|
+
:placeholder="
|
661
|
+
$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')
|
662
|
+
"
|
663
|
+
>
|
664
|
+
<el-option
|
665
|
+
v-for="(rejectNode, index) in rejectNodes"
|
666
|
+
:label="rejectNode.nodeName"
|
667
|
+
:value="rejectNode.nodeId"
|
668
|
+
:key="index"
|
669
|
+
></el-option>
|
670
|
+
</el-select>
|
671
|
+
</el-form-item>
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
<tr>
|
675
|
+
<th>
|
337
676
|
<span class="t">
|
338
|
-
{{ $t2(
|
677
|
+
{{ $t2("驳回意见", "components.wf.rejectOpinion") }}
|
339
678
|
</span>
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
679
|
+
</th>
|
680
|
+
<td>
|
681
|
+
<el-form-item label="" field="opinion">
|
682
|
+
<el-input
|
683
|
+
type="textarea"
|
684
|
+
:rows="8"
|
685
|
+
:placeholder="
|
686
|
+
$t2('请输入内容', 'components.wf.rejectOpinionPlaceholder')
|
687
|
+
"
|
688
|
+
v-model="rejectForm.opinion"
|
689
|
+
></el-input>
|
690
|
+
</el-form-item>
|
691
|
+
</td>
|
692
|
+
</tr>
|
349
693
|
</tbody>
|
350
694
|
</table>
|
351
695
|
</div>
|
352
696
|
</el-form>
|
353
697
|
<span slot="footer" class="dialog-footer">
|
354
|
-
<el-button
|
698
|
+
<el-button
|
699
|
+
type="primary"
|
700
|
+
plain
|
701
|
+
class="button-sty"
|
702
|
+
@click="rejectDialogVisible = false"
|
703
|
+
>
|
355
704
|
<i class="el-icon-close el-icon"></i>
|
356
|
-
{{ $t2(
|
705
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
357
706
|
</el-button>
|
358
707
|
<el-button type="primary" @click="subRejectForm" class="button-sty">
|
359
708
|
<i class="el-icon-check el-icon"></i>
|
360
|
-
{{ $t2(
|
709
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
361
710
|
</el-button>
|
362
711
|
</span>
|
363
712
|
</el-dialog>
|
@@ -372,59 +721,84 @@
|
|
372
721
|
v-el-dialog-center
|
373
722
|
>
|
374
723
|
<template #title>
|
375
|
-
<span class="el-dialog__title"
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
724
|
+
<span class="el-dialog__title"
|
725
|
+
>{{ $t2("流程通过", "components.wf.wfAgree")
|
726
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
727
|
+
><b class="f-red" style="font-size: 12px"
|
728
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
729
|
+
></span
|
730
|
+
>
|
380
731
|
</template>
|
381
732
|
<el-form :model="agreeForm">
|
382
733
|
<div id="containt">
|
383
734
|
<table class="table-detail">
|
384
735
|
<tbody>
|
385
|
-
|
386
|
-
|
736
|
+
<tr v-if="agreeNodes.length > 0">
|
737
|
+
<th>
|
387
738
|
<span class="t">
|
388
|
-
{{ $t2(
|
739
|
+
{{ $t2("通过节点", "components.wf.agreeNode") }}
|
389
740
|
</span>
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
741
|
+
</th>
|
742
|
+
<td>
|
743
|
+
<el-form-item label="" field="nodeId">
|
744
|
+
<el-select
|
745
|
+
v-model="agreeForm.nodeId"
|
746
|
+
:placeholder="
|
747
|
+
$t2('请选择通过节点', 'components.wf.agreeNodePlaceholder')
|
748
|
+
"
|
749
|
+
>
|
750
|
+
<el-option
|
751
|
+
v-for="(node, index) in agreeNodes"
|
752
|
+
:label="node.nodeName"
|
753
|
+
:value="node.nodeId"
|
754
|
+
:key="index"
|
755
|
+
></el-option>
|
756
|
+
</el-select>
|
757
|
+
</el-form-item>
|
758
|
+
</td>
|
759
|
+
</tr>
|
760
|
+
<tr>
|
761
|
+
<th>
|
403
762
|
<span class="t">
|
404
|
-
{{ $t2(
|
763
|
+
{{ $t2("通过意见", "components.wf.agreeOpinion") }}
|
405
764
|
</span>
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
765
|
+
</th>
|
766
|
+
<td>
|
767
|
+
<el-form-item label="" field="opinion">
|
768
|
+
<el-input
|
769
|
+
type="textarea"
|
770
|
+
:rows="8"
|
771
|
+
:placeholder="
|
772
|
+
$t2(
|
773
|
+
`请填写您的意见~
|
410
774
|
注:
|
411
775
|
通过默认意见为“同意”
|
412
|
-
`,
|
413
|
-
|
414
|
-
|
415
|
-
|
776
|
+
`,
|
777
|
+
'components.wf.agreeOpinionPlaceholder'
|
778
|
+
)
|
779
|
+
"
|
780
|
+
v-model="agreeForm.opinion"
|
781
|
+
></el-input>
|
782
|
+
</el-form-item>
|
783
|
+
</td>
|
784
|
+
</tr>
|
416
785
|
</tbody>
|
417
786
|
</table>
|
418
787
|
</div>
|
419
788
|
</el-form>
|
420
789
|
<span slot="footer" class="dialog-footer">
|
421
|
-
<el-button
|
790
|
+
<el-button
|
791
|
+
type="primary"
|
792
|
+
plain
|
793
|
+
class="button-sty"
|
794
|
+
@click="agreeDialogVisible = false"
|
795
|
+
>
|
422
796
|
<i class="el-icon-close el-icon"></i>
|
423
|
-
{{ $t2(
|
797
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
424
798
|
</el-button>
|
425
799
|
<el-button type="primary" @click="subAgreeForm" class="button-sty">
|
426
800
|
<i class="el-icon-check el-icon"></i>
|
427
|
-
{{ $t2(
|
801
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
428
802
|
</el-button>
|
429
803
|
</span>
|
430
804
|
</el-dialog>
|
@@ -437,69 +811,86 @@
|
|
437
811
|
custom-class="dialog-style wf-dialog"
|
438
812
|
v-el-drag-dialog
|
439
813
|
v-el-dialog-center
|
814
|
+
:append-to-body="true"
|
440
815
|
>
|
441
816
|
<template #title>
|
442
|
-
<span class="el-dialog__title"
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
817
|
+
<span class="el-dialog__title"
|
818
|
+
>{{ $t2("流程转办", "components.wf.wfTransfer")
|
819
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
820
|
+
><b class="f-red" style="font-size: 12px"
|
821
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
822
|
+
></span
|
823
|
+
>
|
447
824
|
</template>
|
448
825
|
<el-form :model="changeWfForm">
|
449
826
|
<div id="containt">
|
450
827
|
<table class="table-detail">
|
451
828
|
<tbody>
|
452
|
-
|
453
|
-
|
829
|
+
<tr>
|
830
|
+
<th>
|
454
831
|
<span class="t">
|
455
|
-
{{ $t2(
|
832
|
+
{{ $t2("转办人", "components.wf.transferUser") }}
|
456
833
|
</span>
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
834
|
+
</th>
|
835
|
+
<td>
|
836
|
+
<el-form-item label="" field="nodeId">
|
837
|
+
<el-input
|
838
|
+
class="search-input"
|
839
|
+
max="200"
|
840
|
+
v-model="changeWfForm.userNickNames"
|
841
|
+
@clear="
|
465
842
|
changeWfForm.userIds = '';
|
466
843
|
changeUserRows = [];
|
467
844
|
$forceUpdate();
|
468
845
|
"
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
846
|
+
v-el-readonly
|
847
|
+
clearable
|
848
|
+
>
|
849
|
+
<i
|
850
|
+
slot="suffix"
|
851
|
+
class="el-input__icon el-icon-search"
|
852
|
+
@click="showUserDialog = true"
|
853
|
+
></i>
|
854
|
+
</el-input>
|
855
|
+
</el-form-item>
|
856
|
+
</td>
|
857
|
+
</tr>
|
858
|
+
<tr>
|
859
|
+
<th>
|
479
860
|
<span class="t">
|
480
|
-
{{ $t2(
|
861
|
+
{{ $t2("转办意见", "components.wf.transferOpinion") }}
|
481
862
|
</span>
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
863
|
+
</th>
|
864
|
+
<td>
|
865
|
+
<el-form-item label="" field="opinion">
|
866
|
+
<el-input
|
867
|
+
type="textarea"
|
868
|
+
:rows="8"
|
869
|
+
:placeholder="
|
870
|
+
$t2('请输入内容', 'components.wf.transferOpinionPlaceholder')
|
871
|
+
"
|
872
|
+
v-model="changeWfForm.opinion"
|
873
|
+
></el-input>
|
874
|
+
</el-form-item>
|
875
|
+
</td>
|
876
|
+
</tr>
|
491
877
|
</tbody>
|
492
878
|
</table>
|
493
879
|
</div>
|
494
880
|
</el-form>
|
495
881
|
<span slot="footer" class="dialog-footer">
|
496
|
-
<el-button
|
882
|
+
<el-button
|
883
|
+
type="primary"
|
884
|
+
plain
|
885
|
+
class="button-sty"
|
886
|
+
@click="changeWfDialogVisible = false"
|
887
|
+
>
|
497
888
|
<i class="el-icon-close el-icon"></i>
|
498
|
-
{{ $t2(
|
889
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
499
890
|
</el-button>
|
500
891
|
<el-button type="primary" @click="subChangeWfForm" class="button-sty">
|
501
892
|
<i class="el-icon-check el-icon"></i>
|
502
|
-
{{ $t2(
|
893
|
+
{{ $t2("确认转办", "components.wf.confirmTransfer") }}
|
503
894
|
</el-button>
|
504
895
|
</span>
|
505
896
|
</el-dialog>
|
@@ -517,21 +908,31 @@
|
|
517
908
|
v-el-dialog-center
|
518
909
|
>
|
519
910
|
<template #title>
|
520
|
-
<span class="el-dialog__title"
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
911
|
+
<span class="el-dialog__title"
|
912
|
+
>{{ $t2("流程中断", "components.wf.wfManual")
|
913
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
914
|
+
><b class="f-red" style="font-size: 12px"
|
915
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
916
|
+
></span
|
917
|
+
>
|
525
918
|
</template>
|
526
919
|
<div class="cont">
|
527
|
-
{{ $t2(
|
920
|
+
{{ $t2("您确定要中断流程吗?", "components.wf.manualTip") }}
|
528
921
|
</div>
|
529
922
|
<span slot="footer" class="dialog-footer">
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
923
|
+
<el-button
|
924
|
+
type="primary"
|
925
|
+
plain
|
926
|
+
class="button-sty"
|
927
|
+
@click="showWfManualDialog = false"
|
928
|
+
><i class="el-icon-close el-icon"></i
|
929
|
+
>{{ $t2("取 消", "system.button.cancel2") }}</el-button
|
930
|
+
>
|
931
|
+
<el-button type="primary" @click="manualEndWf" class="button-sty"
|
932
|
+
><i class="el-icon-check el-icon"></i
|
933
|
+
>{{ $t2("确 定", "system.button.confirm2") }}</el-button
|
934
|
+
>
|
935
|
+
</span>
|
535
936
|
</el-dialog>
|
536
937
|
<el-dialog
|
537
938
|
v-if="revokeDialogVisible"
|
@@ -544,42 +945,54 @@
|
|
544
945
|
v-el-dialog-center
|
545
946
|
>
|
546
947
|
<template #title>
|
547
|
-
<span class="el-dialog__title"
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
948
|
+
<span class="el-dialog__title"
|
949
|
+
>{{ $t2("流程撤回", "components.wf.wfRevoke")
|
950
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
951
|
+
><b class="f-red" style="font-size: 12px"
|
952
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
953
|
+
></span
|
954
|
+
>
|
552
955
|
</template>
|
553
956
|
<el-form :model="revokeForm">
|
554
957
|
<div id="containt">
|
555
958
|
<table class="table-detail">
|
556
959
|
<tbody>
|
557
|
-
|
558
|
-
|
960
|
+
<tr>
|
961
|
+
<th>
|
559
962
|
<span class="t">
|
560
|
-
{{ $t2(
|
963
|
+
{{ $t2("撤回意见", "components.wf.revokeOpinion") }}
|
561
964
|
</span>
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
965
|
+
</th>
|
966
|
+
<td>
|
967
|
+
<el-form-item label="" field="opinion">
|
968
|
+
<el-input
|
969
|
+
type="textarea"
|
970
|
+
:rows="8"
|
971
|
+
:placeholder="
|
972
|
+
$t2('请输入内容', 'components.wf.revokeOpinionPlaceholder')
|
973
|
+
"
|
974
|
+
v-model="revokeForm.opinion"
|
975
|
+
></el-input>
|
976
|
+
</el-form-item>
|
977
|
+
</td>
|
978
|
+
</tr>
|
571
979
|
</tbody>
|
572
980
|
</table>
|
573
981
|
</div>
|
574
982
|
</el-form>
|
575
983
|
<span slot="footer" class="dialog-footer">
|
576
|
-
<el-button
|
984
|
+
<el-button
|
985
|
+
type="primary"
|
986
|
+
plain
|
987
|
+
class="button-sty"
|
988
|
+
@click="revokeDialogVisible = false"
|
989
|
+
>
|
577
990
|
<i class="el-icon-close el-icon"></i>
|
578
|
-
{{ $t2(
|
991
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
579
992
|
</el-button>
|
580
993
|
<el-button type="primary" @click="subRevokeForm(0)" class="button-sty">
|
581
994
|
<i class="el-icon-check el-icon"></i>
|
582
|
-
{{ $t2(
|
995
|
+
{{ $t2("确 定", "system.button.confirm2") }}
|
583
996
|
</el-button>
|
584
997
|
</span>
|
585
998
|
</el-dialog>
|
@@ -592,111 +1005,169 @@
|
|
592
1005
|
custom-class="dialog-style wf-dialog"
|
593
1006
|
v-el-drag-dialog
|
594
1007
|
v-el-dialog-center
|
1008
|
+
:append-to-body="true"
|
595
1009
|
>
|
596
1010
|
<template #title>
|
597
|
-
<span class="el-dialog__title"
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
1011
|
+
<span class="el-dialog__title"
|
1012
|
+
>{{ $t2("流程加签", "components.wf.wfAddIncreaseSign")
|
1013
|
+
}}<span style="margin-left: 10px; margin-right: 10px">—</span
|
1014
|
+
><b class="f-red" style="font-size: 12px"
|
1015
|
+
>{{ $t2("节点", "components.wf.node") }}:{{ wfInfo.taskName }}</b
|
1016
|
+
></span
|
1017
|
+
>
|
602
1018
|
</template>
|
603
1019
|
<el-form :model="addIncreaseSignForm">
|
604
1020
|
<div id="containt">
|
605
1021
|
<table class="table-detail">
|
606
1022
|
<tbody>
|
607
|
-
|
608
|
-
|
609
|
-
<span class="t">
|
610
|
-
{{ $t2('候选人', 'components.wf.addIncreaseSignUser') }}
|
611
|
-
</span>
|
612
|
-
</th>
|
613
|
-
<td>
|
614
|
-
<el-form-item field="receiverName">
|
615
|
-
<el-input
|
616
|
-
class="search-input"
|
617
|
-
max="200"
|
618
|
-
v-model="addIncreaseSignForm.userNickNames"
|
619
|
-
@clear="
|
620
|
-
addIncreaseSignUsers = [];
|
621
|
-
$forceUpdate();
|
622
|
-
"
|
623
|
-
:placeholder="$t2('候选人', 'components.wf.addIncreaseSignUser')"
|
624
|
-
v-el-readonly
|
625
|
-
clearable
|
626
|
-
>
|
627
|
-
<i slot="suffix" class="el-input__icon el-icon-search"
|
628
|
-
@click="showAddTaskUserDialog = true"></i>
|
629
|
-
</el-input>
|
630
|
-
</el-form-item>
|
631
|
-
</td>
|
632
|
-
</tr>
|
633
|
-
<tr>
|
634
|
-
<th>
|
1023
|
+
<tr>
|
1024
|
+
<th>
|
635
1025
|
<span class="t">
|
636
|
-
{{ $t2(
|
1026
|
+
{{ $t2("候选人", "components.wf.addIncreaseSignUser") }}
|
637
1027
|
</span>
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
1028
|
+
</th>
|
1029
|
+
<td>
|
1030
|
+
<el-form-item field="receiverName">
|
1031
|
+
<el-input
|
1032
|
+
class="search-input"
|
1033
|
+
max="200"
|
1034
|
+
v-model="addIncreaseSignForm.userNickNames"
|
1035
|
+
@clear="
|
1036
|
+
addIncreaseSignUsers = [];
|
1037
|
+
$forceUpdate();
|
1038
|
+
"
|
1039
|
+
:placeholder="$t2('候选人', 'components.wf.addIncreaseSignUser')"
|
1040
|
+
v-el-readonly
|
1041
|
+
clearable
|
1042
|
+
>
|
1043
|
+
<i
|
1044
|
+
slot="suffix"
|
1045
|
+
class="el-input__icon el-icon-search"
|
1046
|
+
@click="showAddTaskUserDialog = true"
|
1047
|
+
></i>
|
1048
|
+
</el-input>
|
1049
|
+
</el-form-item>
|
1050
|
+
</td>
|
1051
|
+
</tr>
|
1052
|
+
<tr>
|
1053
|
+
<th>
|
1054
|
+
<span class="t">
|
1055
|
+
{{ $t2("加签意见", "components.wf.addIncreaseSignOpinion") }}
|
1056
|
+
</span>
|
1057
|
+
</th>
|
1058
|
+
<td colspan="3">
|
1059
|
+
<el-form-item field="opinion">
|
1060
|
+
<el-input
|
1061
|
+
type="textarea"
|
1062
|
+
:rows="8"
|
1063
|
+
:placeholder="
|
1064
|
+
$t2(
|
1065
|
+
'请输入内容',
|
1066
|
+
'components.wf.addIncreaseSignOpinionPlaceholder'
|
1067
|
+
)
|
1068
|
+
"
|
1069
|
+
v-model="addIncreaseSignForm.opinion"
|
1070
|
+
></el-input>
|
1071
|
+
</el-form-item>
|
1072
|
+
</td>
|
1073
|
+
</tr>
|
647
1074
|
</tbody>
|
648
1075
|
</table>
|
649
1076
|
</div>
|
650
1077
|
</el-form>
|
651
1078
|
<span slot="footer" class="dialog-footer">
|
652
|
-
<el-button
|
1079
|
+
<el-button
|
1080
|
+
type="primary"
|
1081
|
+
plain
|
1082
|
+
class="button-sty"
|
1083
|
+
@click="showAddIncreaseSignDialog = false"
|
1084
|
+
>
|
653
1085
|
<i class="el-icon-close el-icon"></i>
|
654
|
-
{{ $t2(
|
1086
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
655
1087
|
</el-button>
|
656
1088
|
<el-button type="primary" @click="submitAddTaskUserForm(0)" class="button-sty">
|
657
1089
|
<i class="el-icon-check el-icon"></i>
|
658
|
-
{{ $t2(
|
1090
|
+
{{ $t2("确认加签", "components.wf.confirmAddIncreaseSign") }}
|
659
1091
|
</el-button>
|
660
1092
|
</span>
|
661
1093
|
</el-dialog>
|
662
|
-
<user-dialog
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
@confirm="reloadContent" multi="true"></deleteTaskUserDialog>
|
1094
|
+
<user-dialog
|
1095
|
+
v-if="showUserDialog"
|
1096
|
+
:visiable.sync="showUserDialog"
|
1097
|
+
@close="showUserDialog = false"
|
1098
|
+
@confirm="userConfirm"
|
1099
|
+
multi="true"
|
1100
|
+
:param.sync="wfUserParamForTransfer"
|
1101
|
+
:rows="changeUserRows"
|
1102
|
+
></user-dialog>
|
672
1103
|
|
1104
|
+
<urgingDialog
|
1105
|
+
v-if="urgingDialogVisible"
|
1106
|
+
:visiable.sync="urgingDialogVisible"
|
1107
|
+
:wfInfo="wfInfo"
|
1108
|
+
:current_prefix="current_prefix"
|
1109
|
+
@confirm="reloadContent"
|
1110
|
+
multi="true"
|
1111
|
+
></urgingDialog>
|
1112
|
+
<deleteTaskUserDialog
|
1113
|
+
v-if="showDeleteTaskUserDialog"
|
1114
|
+
:visiable.sync="showDeleteTaskUserDialog"
|
1115
|
+
:wfInfo="wfInfo"
|
1116
|
+
:current_prefix="current_prefix"
|
1117
|
+
@confirm="reloadContent"
|
1118
|
+
multi="true"
|
1119
|
+
></deleteTaskUserDialog>
|
673
1120
|
|
674
|
-
<addTaskUserdialog
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
1121
|
+
<addTaskUserdialog
|
1122
|
+
v-if="showAddTaskUserDialog"
|
1123
|
+
:visiable.sync="showAddTaskUserDialog"
|
1124
|
+
:wfInfo="wfInfo"
|
1125
|
+
:current_prefix="current_prefix"
|
1126
|
+
:rows.sync="addIncreaseSignUsers"
|
1127
|
+
@confirm="confirmAddTaskUser"
|
1128
|
+
multi="true"
|
1129
|
+
:param.sync="wfUserParamForAddSign"
|
1130
|
+
></addTaskUserdialog>
|
1131
|
+
<user-dialog
|
1132
|
+
v-if="showTalkUserDialog"
|
1133
|
+
:visiable.sync="showTalkUserDialog"
|
1134
|
+
@close="showTalkUserDialog = false"
|
1135
|
+
@confirm="confirmTalkUserDialog"
|
1136
|
+
multi="false"
|
1137
|
+
:param.sync="wfUserParamForTalk"
|
1138
|
+
></user-dialog>
|
1139
|
+
<setCandidateDialog
|
1140
|
+
v-if="showSetCandidateDialog"
|
1141
|
+
:visiable.sync="showSetCandidateDialog"
|
1142
|
+
@close="closeSetCandidateDialog"
|
1143
|
+
:wfInfo="wfInfo"
|
1144
|
+
:current_prefix="current_prefix"
|
1145
|
+
></setCandidateDialog>
|
1146
|
+
<wfFlowEleScriptDialog
|
1147
|
+
v-if="showWfFlowEleScriptDialog"
|
1148
|
+
:visiable.sync="showWfFlowEleScriptDialog"
|
1149
|
+
:wfInfo="wfInfo"
|
1150
|
+
:current_prefix="current_prefix"
|
1151
|
+
></wfFlowEleScriptDialog>
|
684
1152
|
</template>
|
685
1153
|
</baseTabPane>
|
686
1154
|
<div v-else></div>
|
687
1155
|
</template>
|
688
1156
|
|
689
1157
|
<script>
|
690
|
-
import {wfContentMixin} from
|
1158
|
+
import { wfContentMixin } from "./wf.js";
|
691
1159
|
|
692
1160
|
export default {
|
693
1161
|
components: {
|
694
|
-
UserDialog: () => import(
|
695
|
-
urgingDialog: () => import(
|
696
|
-
deleteTaskUserDialog: () => import(
|
697
|
-
addTaskUserdialog: () => import(
|
698
|
-
setCandidateDialog: () => import(
|
1162
|
+
UserDialog: () => import("../../views/user/user/dialog.vue"),
|
1163
|
+
urgingDialog: () => import("./urgingDialog"),
|
1164
|
+
deleteTaskUserDialog: () => import("./deleteTaskUserDialog"),
|
1165
|
+
addTaskUserdialog: () => import("./addTaskUserdialog"),
|
1166
|
+
setCandidateDialog: () => import("./setCandidateDialog"),
|
1167
|
+
setCandidateButton: () => import("./setCandidateButton"),
|
1168
|
+
addOpinionButton: () => import("./addOpinionButton"),
|
1169
|
+
wfFlowEleScriptDialog: () => import("./wfFlowEleScriptDialog"),
|
699
1170
|
},
|
700
|
-
mixins: [wfContentMixin]
|
1171
|
+
mixins: [wfContentMixin],
|
701
1172
|
};
|
702
1173
|
</script>
|