cloud-web-corejs 1.0.0
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/LICENSE +21 -0
- package/package.json +166 -0
- package/src/api/menu.js +16 -0
- package/src/api/user.js +83 -0
- package/src/components/Qrcode/fileParse.vue +241 -0
- package/src/components/Qrcode/index.vue +58 -0
- package/src/components/Qrcode/printDialog.vue +103 -0
- package/src/components/SvgIcon/index.vue +62 -0
- package/src/components/Tinymce/dynamicLoadScript.js +59 -0
- package/src/components/Tinymce/index.vue +295 -0
- package/src/components/Tinymce/plugins.js +7 -0
- package/src/components/Tinymce/toolbar.js +6 -0
- package/src/components/VabUpload/image-viewer.vue +442 -0
- package/src/components/VabUpload/index.js +5 -0
- package/src/components/VabUpload/index.vue +230 -0
- package/src/components/VabUpload/mixins.js +9 -0
- package/src/components/VabUpload/privateProfileDialog.vue +296 -0
- package/src/components/VabUpload/privateProfileDialogMixins.js +1069 -0
- package/src/components/VabUpload/propertiesDialog.vue +110 -0
- package/src/components/VabUpload/view.vue +119 -0
- package/src/components/advancedSearchDialog/index.vue +44 -0
- package/src/components/advancedSearchDialog/mixins.js +4 -0
- package/src/components/baseAlert/index.js +4 -0
- package/src/components/baseAlert/index.vue +53 -0
- package/src/components/baseAlert/mixins.js +5 -0
- package/src/components/baseAttachment/index.js +30 -0
- package/src/components/baseAttachment/index.vue +40 -0
- package/src/components/baseAttachment/install.js +6 -0
- package/src/components/baseAttachment/mixins.js +8 -0
- package/src/components/baseAttachment/showList.vue +44 -0
- package/src/components/baseAttachment/uploadDialog.vue +42 -0
- package/src/components/baseInputBatch/index.vue +37 -0
- package/src/components/baseInputBatch/mixins.js +3 -0
- package/src/components/baseInputExport/index.vue +32 -0
- package/src/components/baseInputExport/mixins.js +15 -0
- package/src/components/baseInputNumber/index.vue +10 -0
- package/src/components/baseInputPrint/index.vue +12 -0
- package/src/components/baseTabs/baseTabPane.vue +22 -0
- package/src/components/baseTabs/index.vue +27 -0
- package/src/components/baseTabs/mixins.js +6 -0
- package/src/components/cnPrint/index.js +5 -0
- package/src/components/cnPrint/index.vue +54 -0
- package/src/components/cnPrint/mixins.js +3 -0
- package/src/components/code-editor/index.vue +212 -0
- package/src/components/confirmDialog/index.js +5 -0
- package/src/components/confirmDialog/index.vue +54 -0
- package/src/components/confirmDialog/mixins.js +5 -0
- package/src/components/errorMsg/index.js +5 -0
- package/src/components/errorMsg/index.vue +70 -0
- package/src/components/errorMsg/mixins.js +5 -0
- package/src/components/excelExport/button.vue +45 -0
- package/src/components/excelExport/index.js +5 -0
- package/src/components/excelExport/index.vue +55 -0
- package/src/components/excelExport/mixins.js +14 -0
- package/src/components/excelImport/index.js +13 -0
- package/src/components/excelImport/index.vue +153 -0
- package/src/components/excelImport/mixins.js +17 -0
- package/src/components/extendedProperties/mixins.js +4 -0
- package/src/components/extendedProperties/view.vue +182 -0
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -0
- package/src/components/fileLibrary/fileCategoryDialog.vue +87 -0
- package/src/components/fileLibrary/fileHistoryDialog.vue +80 -0
- package/src/components/fileLibrary/fileObjAuthDialog.vue +186 -0
- package/src/components/fileLibrary/fileObjAuthEdit.vue +256 -0
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +183 -0
- package/src/components/fileLibrary/index.vue +687 -0
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +509 -0
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +303 -0
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +177 -0
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +621 -0
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +108 -0
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +135 -0
- package/src/components/fileLibrary/mixins/indexMixins.js +1752 -0
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +193 -0
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +686 -0
- package/src/components/fileLibrary/mixins/recycleBinPropertiesDialogMixins.js +133 -0
- package/src/components/fileLibrary/mixins/shareDialogMixins.js +51 -0
- package/src/components/fileLibrary/propertiesDialog.vue +145 -0
- package/src/components/fileLibrary/recycleBinDialog.vue +236 -0
- package/src/components/fileLibrary/recycleBinPropertiesDialog.vue +100 -0
- package/src/components/fileLibrary/shareDialog.vue +54 -0
- package/src/components/hiprint/css/hiprint.css +1004 -0
- package/src/components/hiprint/css/image/jquery.minicolors.png +0 -0
- package/src/components/hiprint/css/image/l_img.svg +1 -0
- package/src/components/hiprint/css/image/v_img.svg +1 -0
- package/src/components/hiprint/css/print-lock.css +288 -0
- package/src/components/hiprint/etypes/default-etyps-provider.js +165 -0
- package/src/components/hiprint/hiprint.bundle.js +10009 -0
- package/src/components/hiprint/hiprint.config.js +1783 -0
- package/src/components/hiprint/index.js +109 -0
- package/src/components/hiprint/install.js +9 -0
- package/src/components/hiprint/plugins/jquery.hiwprint.js +116 -0
- package/src/components/hiprint/plugins/qrcode.js +617 -0
- package/src/components/hiprint/plugins/watermark.js +199 -0
- package/src/components/hiprint/view/design/dialog.vue +84 -0
- package/src/components/hiprint/view/design/font-size.js +38 -0
- package/src/components/hiprint/view/design/index.vue +340 -0
- package/src/components/hiprint/view/design/mixins.js +15 -0
- package/src/components/hiprint/view/design/panel.js +494 -0
- package/src/components/hiprint/view/design/preview.vue +130 -0
- package/src/components/hiprint/view/design/print-data.js +54 -0
- package/src/components/hiprint/view/design/scale.js +31 -0
- package/src/components/hiprint/view/design/templateJson1.js +494 -0
- package/src/components/hiprint/view/design/templateJson2.js +870 -0
- package/src/components/hiprint/view/json-view.vue +81 -0
- package/src/components/jdPrint/index.js +5 -0
- package/src/components/jdPrint/index.vue +53 -0
- package/src/components/jdPrint/mixins.js +3 -0
- package/src/components/jsonImport/index.js +13 -0
- package/src/components/jsonImport/index.vue +150 -0
- package/src/components/jsonImport/mixins.js +17 -0
- package/src/components/mobile/buttonGroup/index.vue +38 -0
- package/src/components/mobile/file/index.vue +473 -0
- package/src/components/mobile/h5Card/h5CardPane.vue +28 -0
- package/src/components/mobile/h5Card/index.vue +16 -0
- package/src/components/mobile/h5Card/mixins.js +171 -0
- package/src/components/mobile/oplogTable/index.vue +50 -0
- package/src/components/mobile/oplogTable/mixins.js +40 -0
- package/src/components/mobile/searchDialog/index.vue +39 -0
- package/src/components/mobile/statusTag/config.js +40 -0
- package/src/components/mobile/statusTag/index.vue +16 -0
- package/src/components/mobile/statusTag/mixins.js +5 -0
- package/src/components/mobile/wf/addTaskUserdialog.vue +80 -0
- package/src/components/mobile/wf/content.vue +1556 -0
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +54 -0
- package/src/components/mobile/wf/mixins/addTaskUserdialogMixin.js +78 -0
- package/src/components/mobile/wf/mixins/deleteTaskUserDialogMixin.js +77 -0
- package/src/components/mobile/wf/mixins/setCandidateDialogMixin.js +91 -0
- package/src/components/mobile/wf/mixins/urgingDialogMixin.js +77 -0
- package/src/components/mobile/wf/mixins/wfModifyDialogMixin.js +47 -0
- package/src/components/mobile/wf/mixins/wfStartDialogMixin.js +140 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +48 -0
- package/src/components/mobile/wf/urgingDialog.vue +52 -0
- package/src/components/mobile/wf/wfModifyDialog.vue +33 -0
- package/src/components/mobile/wf/wfStartDialog.vue +41 -0
- package/src/components/onlineTalk/index.vue +744 -0
- package/src/components/onlineTalk/mixins.js +9 -0
- package/src/components/oplogTable/index.vue +14 -0
- package/src/components/oplogTable/mixins.js +4 -0
- package/src/components/pddPrint/index.js +5 -0
- package/src/components/pddPrint/index.vue +54 -0
- package/src/components/pddPrint/mixins.js +3 -0
- package/src/components/projectTag/addButton.vue +69 -0
- package/src/components/projectTag/deleteButton.vue +69 -0
- package/src/components/projectTag/view.vue +72 -0
- package/src/components/scriptDescription/button.vue +26 -0
- package/src/components/scriptDescription/dialog.vue +40 -0
- package/src/components/scriptDescription/mixins.js +3 -0
- package/src/components/scriptTest/button.vue +27 -0
- package/src/components/scriptTest/dialog.vue +145 -0
- package/src/components/scriptTest/mixins.js +6 -0
- package/src/components/statusTag/config.js +40 -0
- package/src/components/statusTag/index.vue +14 -0
- package/src/components/statusTag/mixins.js +5 -0
- package/src/components/table/CellSlot.vue +9 -0
- package/src/components/table/config.js +3 -0
- package/src/components/table/customConfig.js +6 -0
- package/src/components/table/index.js +10 -0
- package/src/components/table/tableForm.vue +281 -0
- package/src/components/table/tableFormMixin.js +6 -0
- package/src/components/table/vxeFilter/FilterComplex.vue +36 -0
- package/src/components/table/vxeFilter/FilterContent.vue +43 -0
- package/src/components/table/vxeFilter/FilterInput.vue +14 -0
- package/src/components/table/vxeFilter/index.js +9 -0
- package/src/components/table/vxeFilter/mixin.js +6 -0
- package/src/components/tempStorage/index.vue +124 -0
- package/src/components/tempStorage/tempStorageDialog.vue +161 -0
- package/src/components/vb-tabs/index.vue +200 -0
- package/src/components/vb-tabs/tab-nav.vue +294 -0
- package/src/components/vb-tabs/tab-pane.vue +60 -0
- package/src/components/vb-tabs/x-tabs.vue +112 -0
- package/src/components/video/dialog.vue +53 -0
- package/src/components/vipPrint/index.js +5 -0
- package/src/components/vipPrint/index.vue +54 -0
- package/src/components/vipPrint/mixins.js +3 -0
- package/src/components/wf/addTaskUserdialog.vue +209 -0
- package/src/components/wf/content.vue +702 -0
- package/src/components/wf/content2.vue +604 -0
- package/src/components/wf/deleteTaskUserDialog.vue +75 -0
- package/src/components/wf/formIframeDialog.vue +51 -0
- package/src/components/wf/index.vue +51 -0
- package/src/components/wf/mixins/setCandidateDialog.js +5 -0
- package/src/components/wf/setCandidateDialog.vue +86 -0
- package/src/components/wf/urgingDialog.vue +70 -0
- package/src/components/wf/wf.js +30 -0
- package/src/components/wf/wfModifyDialog.vue +43 -0
- package/src/components/wf/wfStartDialog.vue +49 -0
- package/src/components/wf/wfUtil.js +13 -0
- package/src/components/xform/extension/extension-helper.js +23 -0
- package/src/components/xform/extension/extension-loader.js +116 -0
- package/src/components/xform/extension/samples/alert/alert-widget.vue +69 -0
- package/src/components/xform/extension/samples/card/card-item.vue +100 -0
- package/src/components/xform/extension/samples/card/card-widget.vue +151 -0
- package/src/components/xform/extension/samples/extension-schema.js +39 -0
- package/src/components/xform/extension/samples/extension-sfc-generator.js +50 -0
- package/src/components/xform/form-designer/designer.js +29 -0
- package/src/components/xform/form-designer/form-widget/container-widget/container-wrapper.vue +107 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +8 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +250 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-h5-widget.vue +227 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +201 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +196 -0
- package/src/components/xform/form-designer/form-widget/container-widget/grid-col-widget.vue +315 -0
- package/src/components/xform/form-designer/form-widget/container-widget/grid-sub-form-widget.vue +11 -0
- package/src/components/xform/form-designer/form-widget/container-widget/grid-widget.vue +94 -0
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-pane-widget.vue +207 -0
- package/src/components/xform/form-designer/form-widget/container-widget/h5-card-widget.vue +136 -0
- package/src/components/xform/form-designer/form-widget/container-widget/h5-table-cell-widget.vue +372 -0
- package/src/components/xform/form-designer/form-widget/container-widget/h5-table-widget.vue +117 -0
- package/src/components/xform/form-designer/form-widget/container-widget/index.js +24 -0
- package/src/components/xform/form-designer/form-widget/container-widget/list-h5-widget.vue +363 -0
- package/src/components/xform/form-designer/form-widget/container-widget/panel-widget.vue +144 -0
- package/src/components/xform/form-designer/form-widget/container-widget/query-widget.vue +134 -0
- package/src/components/xform/form-designer/form-widget/container-widget/tab-widget.vue +124 -0
- package/src/components/xform/form-designer/form-widget/container-widget/table-cell-widget.vue +347 -0
- package/src/components/xform/form-designer/form-widget/container-widget/table-column-widget.vue +155 -0
- package/src/components/xform/form-designer/form-widget/container-widget/table-widget.vue +117 -0
- package/src/components/xform/form-designer/form-widget/container-widget/table2-cell-widget.vue +347 -0
- package/src/components/xform/form-designer/form-widget/container-widget/table2-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/container-widget/tree-pane-widget.vue +178 -0
- package/src/components/xform/form-designer/form-widget/container-widget/tree-widget.vue +247 -0
- package/src/components/xform/form-designer/form-widget/container-widget/vf-box-widget.vue +187 -0
- package/src/components/xform/form-designer/form-widget/container-widget/vf-dialog-widget.vue +138 -0
- package/src/components/xform/form-designer/form-widget/container-widget/vf-drawer-widget.vue +11 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +200 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +206 -0
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +162 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +154 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +17 -0
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +405 -0
- package/src/components/xform/form-designer/form-widget/dialog/treeMoveDialog.vue +143 -0
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +408 -0
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +119 -0
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +117 -0
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +181 -0
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +87 -0
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +162 -0
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +107 -0
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +101 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +100 -0
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +184 -0
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +83 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +35 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +35 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +35 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +18 -0
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +304 -0
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +379 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +82 -0
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +83 -0
- package/src/components/xform/form-designer/form-widget/field-widget/index.js +10 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +113 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +114 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +418 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +369 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +194 -0
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +87 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +105 -0
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +281 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +91 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +153 -0
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +107 -0
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +102 -0
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +123 -0
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +81 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +124 -0
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +100 -0
- package/src/components/xform/form-designer/form-widget/field-widget/slot-widget.vue +102 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +212 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +83 -0
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +125 -0
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +101 -0
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +95 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +92 -0
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +104 -0
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +103 -0
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +82 -0
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +221 -0
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +173 -0
- package/src/components/xform/form-designer/form-widget/index.vue +145 -0
- package/src/components/xform/form-designer/form-widget/indexMixin.js +5 -0
- package/src/components/xform/form-designer/index.vue +181 -0
- package/src/components/xform/form-designer/indexMixin.js +24 -0
- package/src/components/xform/form-designer/refMixinDesign.js +28 -0
- package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +397 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +592 -0
- package/src/components/xform/form-designer/setting-panel/index.vue +305 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +12 -0
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +302 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/alignType-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/allowCreate-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/appendButton-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/appendButtonDisabled-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/automaticDropdown-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/border-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/buttonIcon-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/buttonStyle-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusItems-editor.vue +110 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/clearable-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/columnWidth-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/condition-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1042 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCellDblclick-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxAll-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1047 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +74 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-h5/detail-h5-editor.vue +44 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/colHeight-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +81 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-height-editor.vue +35 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-responsive-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-span-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-h5-card/h5-card-editor.vue +124 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +858 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/height-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/width-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-sub-form/showBlankRow-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-sub-form/showRowNumber-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-sub-form/sub-form-labelAlign-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue +119 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tabClass-editor.vue +45 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-fullWidth-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellHeight-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellWidth-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table2/table2-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/checkStrictly-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/show-checkbox-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/show-filter-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-defaultExpandAllNode-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-draggable-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-expandOnClickNode-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-expandRetractAllNode-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-lazy-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-nodeEdit-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-selectClearAllNode-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/treeData-editor.vue +74 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree-pane/tree-pane-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/cancelButtonHidden-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/cancelButtonLabel-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/center-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnClickModal-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/closeOnPressEscape-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/disabledMode-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/fullscreen-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/okButtonHidden-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/okButtonLabel-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/readMode-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/showClose-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/showModal-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/title-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/width-editor.vue +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-direction-editor.vue +11 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-drawer/vf-drawer-size-editor.vue +11 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/containerClass-editor.vue +45 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/customClass-editor.vue +40 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/defaultValue-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +221 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/disabled-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/displayStyle-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dsEnabled-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/dsName-editor.vue +67 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/echartHeight-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/editable-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/endPlaceholder-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/entityTableCode-editor.vue +74 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +22 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAppendButtonClick-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onBeforeUpload-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onBlur-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onCancelButtonClick-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onChange-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onCheckChange-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onCreated-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onCreatedEnter-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onDialogBeforeClose-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onDialogOpened-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onFileRemove.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onFocus-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onInput-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onLoadNode-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onMounted-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onNodeCheck-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onNodeClick-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onNodeContextmenu-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onOkButtonClick-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onRemoteQuery-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onResetTable-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSearchClear-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSearchConfirm-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSearchTable-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSubFormRowAdd-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSubFormRowChange-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSubFormRowDelete-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onSubFormRowInsert-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onTreeLabelClick-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onUploadError-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onUploadSuccess-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onValidate-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +70 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +85 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/button-type-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/circle-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +73 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/plain-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/round-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +161 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/cascader-defaultValue-editor.vue +18 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/cascader-multiple-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/checkStrictly-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-checkbox/checkbox-defaultValue-editor.vue +18 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-color/color-defaultValue-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyName-editor.vue +67 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyNameEnabled-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-type-editor.vue +45 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-valueFormat-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/index.js +10 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-type-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-valueFormat-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-divider/contentPosition-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +253 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +297 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +188 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-file-upload/file-upload-fileTypes-editor.vue +44 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-html-text/htmlContent-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +76 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-number/controlsPosition-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-picture-upload/picture-upload-fileTypes-editor.vue +44 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-radio/radio-defaultValue-editor.vue +18 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/allowHalf-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/highThreshold-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/lowThreshold-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-max-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/showScore-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/showText-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-save-button/saveHandleEnabled-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +286 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-select/select-defaultValue-editor.vue +18 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-slider/range-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-slider/showStops-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-slider/vertical-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/fontSize-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +205 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/activeColor-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/activeText-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/inactiveColor-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/inactiveText-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/switch-defaultValue-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/switchWidth-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +26 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +104 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabsearchConfigDialog.vue +569 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/fileMaxSize-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/filterable-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formField-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +52 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +717 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formulaEnabled-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/hidden-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +50 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/index.js +12 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/isFullscreen-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/label-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelAlign-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelHidden-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +37 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelWidth-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/listItems-editor.vue +53 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/max-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/maxLength-editor.vue +40 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/min-editor.vue +40 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/minLength-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleSelect-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +101 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/optionItems-editor.vue +37 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/prefixIcon-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/propertyMixin.js +53 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/readonly-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/remote-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/rows-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showFileList-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showPassword-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showText-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showWordLimit-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showbutton-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/size-editor.vue +39 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/space-editor-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/startPlaceholder-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/step-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTableClass-editor.vue +45 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTitClass-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/submitFlag-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/suffixIcon-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/type-editor.vue +33 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadTip-editor.vue +24 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadURL-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +199 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetWidth-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/withCredentials-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor-factory.js +173 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +319 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +706 -0
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +24 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +321 -0
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +18 -0
- package/src/components/xform/form-designer/widget-panel/templatesConfig.js +58 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2846 -0
- package/src/components/xform/form-render/container-item/container-item-wrapper.vue +37 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +11 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +328 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +18 -0
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +172 -0
- package/src/components/xform/form-render/container-item/detail-item.vue +158 -0
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +139 -0
- package/src/components/xform/form-render/container-item/grid-col-item.vue +127 -0
- package/src/components/xform/form-render/container-item/grid-item.vue +59 -0
- package/src/components/xform/form-render/container-item/h5-card-item.vue +120 -0
- package/src/components/xform/form-render/container-item/h5-card-pane-item.vue +140 -0
- package/src/components/xform/form-render/container-item/h5-table-cell-item.vue +72 -0
- package/src/components/xform/form-render/container-item/h5-table-item.vue +73 -0
- package/src/components/xform/form-render/container-item/index.js +24 -0
- package/src/components/xform/form-render/container-item/list-h5-item.vue +922 -0
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1348 -0
- package/src/components/xform/form-render/container-item/panel-item.vue +99 -0
- package/src/components/xform/form-render/container-item/query-item.vue +98 -0
- package/src/components/xform/form-render/container-item/sub-form-item.vue +417 -0
- package/src/components/xform/form-render/container-item/tab-item.vue +88 -0
- package/src/components/xform/form-render/container-item/table-cell-item.vue +69 -0
- package/src/components/xform/form-render/container-item/table-column-item.vue +84 -0
- package/src/components/xform/form-render/container-item/table-item.vue +73 -0
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +107 -0
- package/src/components/xform/form-render/container-item/table2-item.vue +229 -0
- package/src/components/xform/form-render/container-item/tree-item.vue +385 -0
- package/src/components/xform/form-render/container-item/tree-pane-item.vue +116 -0
- package/src/components/xform/form-render/container-item/vf-box-item.vue +103 -0
- package/src/components/xform/form-render/container-item/vf-dialog-item.vue +9 -0
- package/src/components/xform/form-render/dynamicDialogRender.js +7 -0
- package/src/components/xform/form-render/index.vue +89 -0
- package/src/components/xform/form-render/indexMixin.js +36 -0
- package/src/components/xform/form-render/refMixin.js +3 -0
- package/src/components/xform/lang/en-US.js +438 -0
- package/src/components/xform/lang/en-US_extension.js +26 -0
- package/src/components/xform/lang/en-US_render.js +38 -0
- package/src/components/xform/lang/zh-CN.js +593 -0
- package/src/components/xform/lang/zh-CN_extension.js +26 -0
- package/src/components/xform/lang/zh-CN_render.js +38 -0
- package/src/components/xform/mixins/defaultHandle.js +5 -0
- package/src/components/xform/mixins/scriptHttp.js +6 -0
- package/src/components/xform/utils/beautifierLoader.js +77 -0
- package/src/components/xform/utils/code-generator.js +91 -0
- package/src/components/xform/utils/config.js +11 -0
- package/src/components/xform/utils/debug-console.js +7 -0
- package/src/components/xform/utils/directive.js +74 -0
- package/src/components/xform/utils/emitter.js +44 -0
- package/src/components/xform/utils/format.js +214 -0
- package/src/components/xform/utils/formula.js +105 -0
- package/src/components/xform/utils/i18n.js +95 -0
- package/src/components/xform/utils/sfc-generator.js +583 -0
- package/src/components/xform/utils/smart-vue-i18n/index.js +69 -0
- package/src/components/xform/utils/smart-vue-i18n/utils.js +47 -0
- package/src/components/xform/utils/util.js +1 -0
- package/src/components/xform/utils/validators.js +5 -0
- package/src/components/xform/utils/vue2js-generator.js +144 -0
- package/src/components/xform/utils/vue3js-generator.js +70 -0
- package/src/components/xhsPrint/index.js +5 -0
- package/src/components/xhsPrint/index.vue +54 -0
- package/src/components/xhsPrint/mixins.js +3 -0
- package/src/directive/LimitNumber/index.js +1 -0
- package/src/directive/el-dialog-center/index.js +1 -0
- package/src/directive/el-drag-dialog/drag.js +1 -0
- package/src/directive/el-drag-dialog/index.js +14 -0
- package/src/directive/el-readonly/index.js +4 -0
- package/src/directive/permission/hasPermi.js +1 -0
- package/src/directive/permission/index.js +14 -0
- package/src/index.js +186 -0
- package/src/lang/index.js +51 -0
- package/src/mixins/mobile/common/index.js +19 -0
- package/src/mixins/mobile/edit/index.js +10 -0
- package/src/mixins/mobile/list/index.js +117 -0
- package/src/mixins/mobile/selectDialog/index.js +169 -0
- package/src/mixins/mobile/wf/index.js +173 -0
- package/src/mixins/selectDialog/index.js +8 -0
- package/src/mixins/tableTree/index.js +4 -0
- package/src/mixins/wf/index.js +6 -0
- package/src/permission.js +18 -0
- package/src/resources/js/base/common.js +110 -0
- package/src/store/getters.js +20 -0
- package/src/store/index.js +25 -0
- package/src/store/modules/permission.js +37 -0
- package/src/store/modules/settings.js +1 -0
- package/src/store/modules/tagsView.js +14 -0
- package/src/store/modules/user.js +28 -0
- package/src/utils/auth.js +1 -0
- package/src/utils/global.js +12 -0
- package/src/utils/index.js +7 -0
- package/src/utils/keepAlive.js +1 -0
- package/src/utils/request.js +29 -0
- package/src/utils/vab.js +27 -0
- package/src/utils/validate.js +1 -0
- package/src/utils/wf.js +21 -0
- package/src/views/bd/setting/bd_attach_setting/dialog.vue +161 -0
- package/src/views/bd/setting/bd_attach_setting/edit.vue +210 -0
- package/src/views/bd/setting/bd_attach_setting/list.vue +288 -0
- package/src/views/bd/setting/form_script/dialog.vue +253 -0
- package/src/views/bd/setting/form_script/edit.vue +201 -0
- package/src/views/bd/setting/form_script/edit1.vue +285 -0
- package/src/views/bd/setting/form_script/form_list.vue +342 -0
- package/src/views/bd/setting/form_script/list.vue +220 -0
- package/src/views/bd/setting/form_script/list1.vue +421 -0
- package/src/views/bd/setting/form_script/list2.vue +13 -0
- package/src/views/bd/setting/form_template/dialog.vue +205 -0
- package/src/views/bd/setting/form_template/edit.vue +292 -0
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +131 -0
- package/src/views/bd/setting/form_template/ftHistoryDialog.vue +175 -0
- package/src/views/bd/setting/form_template/itemEdit.vue +270 -0
- package/src/views/bd/setting/form_template/itemList.vue +300 -0
- package/src/views/bd/setting/form_template/list.vue +766 -0
- package/src/views/bd/setting/menu_kind/dialog.vue +216 -0
- package/src/views/bd/setting/menu_kind/list.vue +236 -0
- package/src/views/bd/setting/table_model/dialog.vue +161 -0
- package/src/views/bd/setting/table_model/edit.vue +1109 -0
- package/src/views/bd/setting/table_model/list.vue +467 -0
- package/src/views/bd/setting/table_model/zdDialog.vue +201 -0
- package/src/views/support/export_template/edit.vue +285 -0
- package/src/views/support/export_template/list.vue +272 -0
- package/src/views/user/access_log/edit.vue +121 -0
- package/src/views/user/access_log/list.vue +345 -0
- package/src/views/user/access_log/statistics_list.vue +284 -0
- package/src/views/user/api_request/edit.vue +233 -0
- package/src/views/user/api_request/list.vue +199 -0
- package/src/views/user/area/dialog.vue +448 -0
- package/src/views/user/area_attribute/configDialog.vue +319 -0
- package/src/views/user/area_attribute/edit.vue +245 -0
- package/src/views/user/area_attribute/list.vue +100 -0
- package/src/views/user/attachment/uploadDialog.vue +73 -0
- package/src/views/user/bill_setting/button/previewButton.vue +94 -0
- package/src/views/user/bill_setting/compareView.vue +27 -0
- package/src/views/user/bill_setting/edit.vue +237 -0
- package/src/views/user/bill_setting/h5_ModifyDialog.vue +75 -0
- package/src/views/user/bill_setting/h5_detailDialog.vue +74 -0
- package/src/views/user/bill_setting/h5_view.vue +56 -0
- package/src/views/user/bill_setting/itemViewDialog.vue +278 -0
- package/src/views/user/bill_setting/list.vue +342 -0
- package/src/views/user/bill_setting/mixins/wf.js +432 -0
- package/src/views/user/bill_setting/previewDialog.vue +61 -0
- package/src/views/user/bill_setting/queryDialog.vue +175 -0
- package/src/views/user/bill_setting/render.vue +2028 -0
- package/src/views/user/bill_setting/template.json +75 -0
- package/src/views/user/bill_setting/template2.json +254 -0
- package/src/views/user/bill_setting/userDialog.vue +149 -0
- package/src/views/user/code_rules/edit.vue +217 -0
- package/src/views/user/code_rules/list.vue +196 -0
- package/src/views/user/commMenu/index.vue +292 -0
- package/src/views/user/common_attribute/edit.vue +136 -0
- package/src/views/user/common_attribute/itemEdit.vue +237 -0
- package/src/views/user/common_attribute/list.vue +374 -0
- package/src/views/user/common_script/edit.vue +224 -0
- package/src/views/user/common_script/list.vue +342 -0
- package/src/views/user/company_info/dialog.vue +147 -0
- package/src/views/user/company_info/edit.vue +145 -0
- package/src/views/user/company_info/view.vue +24 -0
- package/src/views/user/country/dialog.vue +170 -0
- package/src/views/user/country/edit.vue +159 -0
- package/src/views/user/country/list.vue +187 -0
- package/src/views/user/data_type_setting/dialog.vue +160 -0
- package/src/views/user/data_type_setting/editDialog.vue +120 -0
- package/src/views/user/ea/eagroup/eaobj_list.vue +323 -0
- package/src/views/user/ea/eagroup/edit.vue +485 -0
- package/src/views/user/ea/eaobj/edit.vue +155 -0
- package/src/views/user/ea/eaobj/list.vue +143 -0
- package/src/views/user/error-page/401.vue +99 -0
- package/src/views/user/error-page/404.vue +228 -0
- package/src/views/user/extend_datasource/dialog.vue +245 -0
- package/src/views/user/extend_datasource/edit.vue +238 -0
- package/src/views/user/extend_datasource/list.vue +221 -0
- package/src/views/user/fieldTranslation/editDialog.vue +253 -0
- package/src/views/user/fieldTranslation/list.vue +464 -0
- package/src/views/user/field_values_invisible/edit.vue +184 -0
- package/src/views/user/field_values_invisible/list.vue +195 -0
- package/src/views/user/file_type/edit.vue +168 -0
- package/src/views/user/file_type/list.vue +255 -0
- package/src/views/user/file_type/userEdit.vue +188 -0
- package/src/views/user/file_view_area/edit.vue +145 -0
- package/src/views/user/file_view_area/itemEdit.vue +191 -0
- package/src/views/user/file_view_area/list.vue +330 -0
- package/src/views/user/file_view_ins/list.vue +929 -0
- package/src/views/user/file_view_ins/propertiesDialog.vue +218 -0
- package/src/views/user/form/form_ins_list/edit.vue +422 -0
- package/src/views/user/form/form_template/dialog.vue +205 -0
- package/src/views/user/form/form_template/edit.vue +211 -0
- package/src/views/user/form/form_template/itemEdit.vue +236 -0
- package/src/views/user/form/form_template/itemList.vue +221 -0
- package/src/views/user/form/form_template/list.vue +513 -0
- package/src/views/user/form/form_template_field/dialog.vue +161 -0
- package/src/views/user/form/form_type/dialog.vue +149 -0
- package/src/views/user/form/form_type/edit.vue +136 -0
- package/src/views/user/form/form_type/editDialog.vue +117 -0
- package/src/views/user/form/form_type/list.vue +132 -0
- package/src/views/user/form/report_requestaccess/dialog.vue +196 -0
- package/src/views/user/form/report_requestaccess/edit.vue +476 -0
- package/src/views/user/form/report_requestaccess/list.vue +187 -0
- package/src/views/user/form/vform/designer.vue +746 -0
- package/src/views/user/form/vform/formFieldMapping.js +172 -0
- package/src/views/user/form/vform/out_render.vue +53 -0
- package/src/views/user/form/vform/render.vue +140 -0
- package/src/views/user/form/view/edit.vue +37 -0
- package/src/views/user/form/view/list.vue +128 -0
- package/src/views/user/home/default.vue +969 -0
- package/src/views/user/home/distributor.vue +593 -0
- package/src/views/user/home/index.vue +75 -0
- package/src/views/user/language_setting/edit.vue +166 -0
- package/src/views/user/language_setting/list.vue +206 -0
- package/src/views/user/ledger_library/list.vue +30 -0
- package/src/views/user/ledger_library/private_list.vue +31 -0
- package/src/views/user/login/auth-redirect.vue +15 -0
- package/src/views/user/login/index.vue +129 -0
- package/src/views/user/login/indexMixin.js +398 -0
- package/src/views/user/menu/list.vue +568 -0
- package/src/views/user/mobile_menu/list.vue +318 -0
- package/src/views/user/notify_message/dialog.vue +92 -0
- package/src/views/user/notify_message/infoDialog.vue +77 -0
- package/src/views/user/notify_message/list.vue +461 -0
- package/src/views/user/notify_template/edit.vue +185 -0
- package/src/views/user/notify_template/list.vue +186 -0
- package/src/views/user/oplog/edit.vue +112 -0
- package/src/views/user/oplog/list.vue +153 -0
- package/src/views/user/outLink/form_view.vue +169 -0
- package/src/views/user/outLink/index.vue +47 -0
- package/src/views/user/outLink/view.vue +134 -0
- package/src/views/user/position/dialog.vue +153 -0
- package/src/views/user/position/edit.vue +152 -0
- package/src/views/user/position/list.vue +178 -0
- package/src/views/user/project_tag/dialog.vue +181 -0
- package/src/views/user/project_tag/edit.vue +135 -0
- package/src/views/user/project_tag/list.vue +167 -0
- package/src/views/user/push_setting/edit.vue +273 -0
- package/src/views/user/push_setting/list.vue +227 -0
- package/src/views/user/redirect/index.vue +12 -0
- package/src/views/user/role/dialog.vue +163 -0
- package/src/views/user/role/edit.vue +426 -0
- package/src/views/user/role/list.vue +169 -0
- package/src/views/user/sale_org/dialog.vue +204 -0
- package/src/views/user/sale_org/list.vue +601 -0
- package/src/views/user/sale_org/moveDialog.vue +289 -0
- package/src/views/user/sale_org_net/list.vue +574 -0
- package/src/views/user/system_notice/edit.vue +184 -0
- package/src/views/user/system_notice/infoDialog.vue +152 -0
- package/src/views/user/system_notice/list.vue +190 -0
- package/src/views/user/system_parameter/edit.vue +146 -0
- package/src/views/user/system_parameter/list.vue +128 -0
- package/src/views/user/user/dialog.vue +202 -0
- package/src/views/user/user/edit.vue +1019 -0
- package/src/views/user/user/info.vue +264 -0
- package/src/views/user/user/infoContent.vue +37 -0
- package/src/views/user/user/infoEdit.vue +220 -0
- package/src/views/user/user/infoIframeDialog.vue +45 -0
- package/src/views/user/user/inner_list.vue +16 -0
- package/src/views/user/user/list.vue +558 -0
- package/src/views/user/user/list2.vue +14 -0
- package/src/views/user/user/modifyPasswordDialog.vue +193 -0
- package/src/views/user/user/out_list.vue +16 -0
- package/src/views/user/wf/formCustDialog/list.vue +32 -0
- package/src/views/user/wf/iframe/dialog.vue +52 -0
- package/src/views/user/wf/iframe/index.vue +46 -0
- package/src/views/user/wf/iframe/index2.vue +59 -0
- package/src/views/user/wf/wf_auto_submit_data/edit.vue +119 -0
- package/src/views/user/wf/wf_auto_submit_data/edith.vue +128 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +653 -0
- package/src/views/user/wf/wf_diy_attribute/edit.vue +202 -0
- package/src/views/user/wf/wf_manage/list.vue +667 -0
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +106 -0
- package/src/views/user/wf/wf_obj_config/activiti_wf.vue +132 -0
- package/src/views/user/wf/wf_obj_config/dialog.vue +178 -0
- package/src/views/user/wf/wf_obj_config/edit.vue +204 -0
- package/src/views/user/wf/wf_obj_config/edit_form.vue +217 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +292 -0
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +147 -0
- package/src/views/user/wf/wf_obj_config/list.vue +597 -0
- package/src/views/user/wf/wf_obj_config/list_form.vue +371 -0
- package/src/views/user/wf/wf_param/edit.vue +169 -0
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +355 -0
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +386 -0
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +367 -0
- package/src/views/user/wf/wf_work_calendar/date.js +699 -0
- package/src/views/user/wf/wf_work_calendar/list.vue +229 -0
@@ -0,0 +1,1556 @@
|
|
1
|
+
<template>
|
2
|
+
<h5-card-pane label="流程信息">
|
3
|
+
<template #default>
|
4
|
+
<div class="flowPath-box">
|
5
|
+
<div class="t"><span>任务情况</span></div>
|
6
|
+
<div class="c">
|
7
|
+
<div class="name">
|
8
|
+
{{ (wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name }}
|
9
|
+
<el-tag :type="getWfStatusType()" size="mini">{{ getWfStatusLabel() }}</el-tag>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="m2">
|
13
|
+
<div class="t"><span>流程图</span></div>
|
14
|
+
<div class="c">
|
15
|
+
<el-button icon="" class="btn" @click="showPreviewDialog=true" icon="el-icon-view">查看流程图</el-button>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="m2">
|
19
|
+
<div class="t"><span>任务情况</span></div>
|
20
|
+
<div class="c">
|
21
|
+
<el-button icon="" class="btn" @click="showRenwuDialog=true" icon="iconfont icon-preview">查看任务情况
|
22
|
+
</el-button>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
</div>
|
27
|
+
<div class="flowPath-btns">
|
28
|
+
<el-button type="success" plain class="btn" @click="openAgreeDialog" v-show="wfInfo.toSubmit"
|
29
|
+
icon="iconfont icon-tongguo">{{ $t2('通过', 'components.wf.agree') }}
|
30
|
+
</el-button>
|
31
|
+
<el-button type="warning" plain class="btn" @click="openManualDialog" v-show="wfInfo.toInterrupt"
|
32
|
+
icon="iconfont icon-caozuozhongduan">{{ $t2('中断', 'components.wf.manual') }}
|
33
|
+
</el-button>
|
34
|
+
<el-button type="danger" plain class="btn" @click="rejectWfTask" v-show="wfInfo.toReject"
|
35
|
+
icon="iconfont icon-a-bohui1">{{ $t2('驳回', 'components.wf.reject') }}
|
36
|
+
</el-button>
|
37
|
+
<el-button type="primary" plain class="btn" @click="openChangeWfForm"
|
38
|
+
v-show="(wfInfo.toTransfer===null || wfInfo.toTransfer===undefined) ? wfInfo.toSubmit: wfInfo.toTransfer"
|
39
|
+
icon="iconfont icon-zhuanban">{{ $t2('转办', 'components.wf.transfer') }}
|
40
|
+
</el-button>
|
41
|
+
<el-button type="primary" plain class="btn" @click="openUrgingDialog" v-show="wfInfo.toInterrupt"
|
42
|
+
icon="iconfont icon-cuiban">{{ $t2('催办', 'components.wf.urging') }}
|
43
|
+
</el-button>
|
44
|
+
<el-button type="primary" plain class="btn" @click="openAddIncreaseSign" v-show="wfInfo.toAddIncreaseSign"
|
45
|
+
icon="el-icon-plus">{{ $t2('加签', 'components.wf.addIncreaseSign') }}
|
46
|
+
</el-button>
|
47
|
+
<el-button type="primary" plain class="btn" @click="openDeleteTaskUserDialog"
|
48
|
+
v-show="wfInfo.toDeleteIncreaseSign"
|
49
|
+
icon="el-icon-delete">{{ $t2('减签', 'components.wf.deleteIncreaseSign') }}
|
50
|
+
</el-button>
|
51
|
+
<el-button type="primary" plain class="btn" @click="openTalkDialog()"
|
52
|
+
icon="el-icon-chat-dot-square" v-if="toTalk && wfInfo.toLinkup">
|
53
|
+
{{ $t2('沟通', 'components.wf.talk') }}
|
54
|
+
</el-button>
|
55
|
+
<el-button type="primary" plain class="btn" @click="openSetCandidateDialog(null)"
|
56
|
+
v-show="wfInfo.toSetCandidate"
|
57
|
+
icon="el-icon-user">{{ $t2('修改候选人', 'components.wf.setCandidate') }}
|
58
|
+
</el-button>
|
59
|
+
<el-button type="danger" plain class="btn" @click="openRevokeDialog(null)"
|
60
|
+
v-show="wfInfo.toRevoke"
|
61
|
+
icon="el-icon-document-delete">{{ $t2('撤回', 'components.wf.revoke') }}
|
62
|
+
</el-button>
|
63
|
+
</div>
|
64
|
+
<div class="pop-box" v-if="showPreviewDialog">
|
65
|
+
<div>
|
66
|
+
<div class="header-box">
|
67
|
+
<i class="back el-icon-close" @click="showPreviewDialog=false"></i>流程图预览
|
68
|
+
</div>
|
69
|
+
<div class="flex" style="height:calc(100vh - 38px)">
|
70
|
+
<el-form label-position="top" class="form-box">
|
71
|
+
<div class="tit"><span>{{
|
72
|
+
(wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name
|
73
|
+
}}</span></div>
|
74
|
+
<iframe style="width: 100%;flex:1" :src="wfImage"></iframe>
|
75
|
+
</el-form>
|
76
|
+
</div>
|
77
|
+
<div class="fixed-bottom-btns">
|
78
|
+
<el-button type="primary" plain class="btn" @click="showPreviewDialog=false" icon="el-icon-close">取 消
|
79
|
+
</el-button>
|
80
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="showPreviewDialog=false">确 定
|
81
|
+
</el-button>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div class="pop-box" v-if="showRenwuDialog">
|
87
|
+
<div>
|
88
|
+
<div class="header-box">
|
89
|
+
<i class="back el-icon-close" @click="showRenwuDialog=false"></i>任务情况预览
|
90
|
+
</div>
|
91
|
+
<div class="flex" style="height:calc(100vh - 38px);overflow:auto">
|
92
|
+
<div class="h5-process-info">
|
93
|
+
<div class="item" v-for="wftaskLineData in wftaskData" :key="wftaskLineData.id">
|
94
|
+
<div class="time">
|
95
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(0, 10) : '' }}
|
96
|
+
<br/>
|
97
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : '' }}
|
98
|
+
</div>
|
99
|
+
<div class="status"
|
100
|
+
:class="taskStatuses[wftaskLineData.type]?taskStatuses[wftaskLineData.type].class:''">
|
101
|
+
{{ taskStatuses[wftaskLineData.type] ? taskStatuses[wftaskLineData.type].value : null }}
|
102
|
+
</div>
|
103
|
+
<i class="circle"></i>
|
104
|
+
<div class="info">
|
105
|
+
<p>
|
106
|
+
<span class="name">{{ wftaskLineData.taskName }}</span>
|
107
|
+
<span>{{ $t2('执行人', 'components.wf.approverName') }}:{{ wftaskLineData.approverName }}</span>
|
108
|
+
<span>
|
109
|
+
{{ $t2('候选人', 'components.wf.candidateName') }}:
|
110
|
+
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
111
|
+
</span>
|
112
|
+
</p>
|
113
|
+
<p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
|
114
|
+
wftaskLineData.opinion
|
115
|
+
}}</span></p>
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div class="fixed-bottom-btns">
|
121
|
+
<el-button type="primary" plain class="btn" @click="showRenwuDialog=false" icon="el-icon-close">取 消
|
122
|
+
</el-button>
|
123
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="showRenwuDialog=false">确 定
|
124
|
+
</el-button>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div class="pop-tipsBox" style="display: block;" v-if="showWfManualDialog">
|
130
|
+
<div>
|
131
|
+
<i class="icon"></i>
|
132
|
+
<div class="cont">
|
133
|
+
<p class="name">
|
134
|
+
{{ $t2('流程中断', 'components.wf.wfManual') }}<span>—</span><b
|
135
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
136
|
+
wfInfo.taskName
|
137
|
+
}}</b>
|
138
|
+
</p>
|
139
|
+
<p class="txt">{{ $t2('您确定要中断流程吗?', 'components.wf.manualTip') }}</p>
|
140
|
+
</div>
|
141
|
+
<div class="btns">
|
142
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="showWfManualDialog = false">{{
|
143
|
+
$t2('取 消', 'system.button.cancel2')
|
144
|
+
}}
|
145
|
+
</el-button>
|
146
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="manualEndWf()">{{
|
147
|
+
$t2('确 定', 'system.button.confirm2')
|
148
|
+
}}
|
149
|
+
</el-button>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
<div class="pop-tipsBox" style="display: block;" v-if="rejectDialogVisible">
|
154
|
+
<div>
|
155
|
+
<i class="icon"></i>
|
156
|
+
<div class="cont">
|
157
|
+
<p class="name">{{ $t2('流程驳回', 'components.wf.wfReject') }}<span
|
158
|
+
>—</span><b
|
159
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
160
|
+
wfInfo.taskName
|
161
|
+
}}</b></p>
|
162
|
+
<el-form label-position="top" class="form-box">
|
163
|
+
<el-form-item label="驳回节点" field="nodeId">
|
164
|
+
<el-select v-model="rejectForm.nodeId"
|
165
|
+
:placeholder="$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')">
|
166
|
+
<el-option v-for="(rejectNode,index) in rejectNodes" :label="rejectNode.nodeName"
|
167
|
+
:value="rejectNode.nodeId" :key="index"></el-option>
|
168
|
+
</el-select>
|
169
|
+
</el-form-item>
|
170
|
+
<el-form-item label="驳回意见" field="opinion">
|
171
|
+
<el-input type="textarea" :rows="8"
|
172
|
+
:placeholder="$t2('请输入内容', 'components.wf.rejectOpinionPlaceholder')"
|
173
|
+
v-model="rejectForm.opinion" class="txt"></el-input>
|
174
|
+
</el-form-item>
|
175
|
+
</el-form>
|
176
|
+
</div>
|
177
|
+
<div class="btns">
|
178
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="rejectDialogVisible = false">{{
|
179
|
+
$t2('取 消', 'system.button.cancel2')
|
180
|
+
}}
|
181
|
+
</el-button>
|
182
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="subRejectForm()">{{
|
183
|
+
$t2('确 定', 'system.button.confirm2')
|
184
|
+
}}
|
185
|
+
</el-button>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
<div class="pop-tipsBox" style="display: block;" v-if="agreeDialogVisible">
|
190
|
+
<div>
|
191
|
+
<i class="icon"></i>
|
192
|
+
<div class="cont">
|
193
|
+
<p class="name">{{ $t2('流程通过', 'components.wf.wfAgree') }}<span
|
194
|
+
>—</span><b
|
195
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
196
|
+
wfInfo.taskName
|
197
|
+
}}</b></p>
|
198
|
+
<el-form label-position="top" class="form-box">
|
199
|
+
<el-form-item label="通过节点" field="nodeId">
|
200
|
+
<el-select v-model="agreeForm.nodeId"
|
201
|
+
:placeholder="$t2('请选择通过节点', 'components.wf.agreeNodePlaceholder')">
|
202
|
+
<el-option v-for="(node,index) in agreeNodes" :label="node.nodeName"
|
203
|
+
:value="node.nodeId" :key="index"></el-option>
|
204
|
+
</el-select>
|
205
|
+
</el-form-item>
|
206
|
+
<el-form-item label="通过意见" field="opinion">
|
207
|
+
<el-input type="textarea" :rows="8" :placeholder="$t2(`请填写您的意见~
|
208
|
+
注:
|
209
|
+
通过默认意见为“同意”
|
210
|
+
`, 'components.wf.agreeOpinionPlaceholder')" v-model="agreeForm.opinion"></el-input>
|
211
|
+
</el-form-item>
|
212
|
+
</el-form>
|
213
|
+
</div>
|
214
|
+
<div class="btns">
|
215
|
+
<el-button type="primary" class="btn" plain icon="el-icon-close" @click="agreeDialogVisible = false">{{
|
216
|
+
$t2('取 消', 'system.button.cancel2')
|
217
|
+
}}
|
218
|
+
</el-button>
|
219
|
+
<el-button type="primary" class="btn" icon="el-icon-check" @click="subAgreeForm()">{{
|
220
|
+
$t2('确 定', 'system.button.confirm2')
|
221
|
+
}}
|
222
|
+
</el-button>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
</div>
|
226
|
+
<div class="pop-tipsBox" style="display: block;" v-if="changeWfDialogVisible">
|
227
|
+
<div>
|
228
|
+
<i class="icon"></i>
|
229
|
+
<div class="cont">
|
230
|
+
<p class="name">{{ $t2('流程转办', 'components.wf.wfTransfer') }}<span>—</span><b
|
231
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
232
|
+
wfInfo.taskName
|
233
|
+
}}</b></p>
|
234
|
+
<el-form label-position="top" class="form-box">
|
235
|
+
<el-form-item label="转办人" field="nodeId">
|
236
|
+
<el-input
|
237
|
+
class="search-input"
|
238
|
+
max="200"
|
239
|
+
v-model="changeWfForm.userNickNames"
|
240
|
+
@clear="
|
241
|
+
changeWfForm.userIds = '';
|
242
|
+
changeUserRows = [];
|
243
|
+
$forceUpdate();
|
244
|
+
"
|
245
|
+
v-el-readonly
|
246
|
+
clearable
|
247
|
+
>
|
248
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="showUserDialog = true"></i>
|
249
|
+
</el-input>
|
250
|
+
</el-form-item>
|
251
|
+
<el-form-item label="转办意见" field="opinion">
|
252
|
+
<el-input type="textarea" :rows="8"
|
253
|
+
:placeholder="$t2('请输入内容', 'components.wf.transferOpinionPlaceholder')"
|
254
|
+
v-model="changeWfForm.opinion"></el-input>
|
255
|
+
</el-form-item>
|
256
|
+
</el-form>
|
257
|
+
</div>
|
258
|
+
<div class="btns">
|
259
|
+
<el-button type="primary" class="btn" plain @click="changeWfDialogVisible = false">{{
|
260
|
+
$t2('取 消', 'system.button.cancel2')
|
261
|
+
}}
|
262
|
+
</el-button>
|
263
|
+
<el-button type="primary" class="btn" @click="subChangeWfForm()">
|
264
|
+
{{ $t2('确认转办', 'components.wf.confirmTransfer') }}
|
265
|
+
</el-button>
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
<div class="pop-tipsBox" style="display: block;" v-if="showAddIncreaseSignDialog">
|
270
|
+
<div>
|
271
|
+
<i class="icon"></i>
|
272
|
+
<div class="cont">
|
273
|
+
<p class="name">
|
274
|
+
{{ $t2('流程加签', 'components.wf.wfAddIncreaseSign') }}<span>—</span><b
|
275
|
+
class="f-red">{{ $t2('节点', 'components.wf.node') }}:{{
|
276
|
+
wfInfo.taskName
|
277
|
+
}}</b>
|
278
|
+
</p>
|
279
|
+
<el-form label-position="top" class="form-box">
|
280
|
+
<el-form-item label="候选人">
|
281
|
+
<el-input
|
282
|
+
class="search-input"
|
283
|
+
max="200"
|
284
|
+
v-model="addIncreaseSignForm.userNickNames"
|
285
|
+
@clear="
|
286
|
+
addIncreaseSignUsers = [];
|
287
|
+
$forceUpdate();
|
288
|
+
"
|
289
|
+
:placeholder="$t2('候选人', 'components.wf.addIncreaseSignUser')"
|
290
|
+
v-el-readonly
|
291
|
+
clearable
|
292
|
+
>
|
293
|
+
<i slot="suffix" class="el-input__icon el-icon-search"
|
294
|
+
@click="showAddTaskUserDialog = true"></i>
|
295
|
+
</el-input>
|
296
|
+
</el-form-item>
|
297
|
+
<el-form-item label="加签意见" field="opinion">
|
298
|
+
<el-input type="textarea" :rows="8"
|
299
|
+
:placeholder="$t2('请输入内容', 'components.wf.addIncreaseSignOpinionPlaceholder')"
|
300
|
+
v-model="addIncreaseSignForm.opinion"></el-input>
|
301
|
+
</el-form-item>
|
302
|
+
</el-form>
|
303
|
+
</div>
|
304
|
+
<div class="btns">
|
305
|
+
<el-button type="primary" class="btn" plain @click="showAddIncreaseSignDialog = false">{{
|
306
|
+
$t2('取 消', 'system.button.cancel2')
|
307
|
+
}}
|
308
|
+
</el-button>
|
309
|
+
<el-button type="primary" class="btn" @click="submitAddTaskUserForm(0)">
|
310
|
+
{{ $t2('确认加签', 'components.wf.confirmAddIncreaseSign') }}
|
311
|
+
</el-button>
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
|
316
|
+
<user-dialog v-if="showUserDialog" :visiable.sync="showUserDialog" @close="showUserDialog = false"
|
317
|
+
@confirm="userConfirm" multi="true" :param.sync="wfUserParamForTransfer"
|
318
|
+
:rows="changeUserRows"></user-dialog>
|
319
|
+
<urgingDialog v-if="urgingDialogVisible" :visiable.sync="urgingDialogVisible" :wfInfo="wfInfo"
|
320
|
+
:current_prefix="current_prefix"
|
321
|
+
@confirm="reloadContent" multi="true"></urgingDialog>
|
322
|
+
<deleteTaskUserDialog v-if="showDeleteTaskUserDialog" :visiable.sync="showDeleteTaskUserDialog" :wfInfo="wfInfo"
|
323
|
+
:current_prefix="current_prefix"
|
324
|
+
@confirm="reloadContent" multi="true"></deleteTaskUserDialog>
|
325
|
+
|
326
|
+
<addTaskUserdialog v-if="showAddTaskUserDialog" :visiable.sync="showAddTaskUserDialog" :wfInfo="wfInfo"
|
327
|
+
:current_prefix="current_prefix" :rows.sync="addIncreaseSignUsers"
|
328
|
+
@confirm="confirmAddTaskUser" multi="true"
|
329
|
+
:param.sync="wfUserParamForAddSign"></addTaskUserdialog>
|
330
|
+
<user-dialog v-if="showTalkUserDialog" :visiable.sync="showTalkUserDialog" @close="showTalkUserDialog = false"
|
331
|
+
@confirm="confirmTalkUserDialog" multi="false" :param.sync="wfUserParamForTalk"></user-dialog>
|
332
|
+
<setCandidateDialog v-if="showSetCandidateDialog" :visiable.sync="showSetCandidateDialog"
|
333
|
+
@close="closeSetCandidateDialog"
|
334
|
+
:wfInfo="wfInfo"
|
335
|
+
:current_prefix="current_prefix"></setCandidateDialog>
|
336
|
+
</template>
|
337
|
+
</h5-card-pane>
|
338
|
+
</template>
|
339
|
+
<script>
|
340
|
+
import Vue from "vue";
|
341
|
+
|
342
|
+
import settingConfig from "@/settings";
|
343
|
+
import commonMixin from "../../../mixins/mobile/common/index";
|
344
|
+
import {getToken} from "../../../utils/auth";
|
345
|
+
|
346
|
+
let configUtil = {
|
347
|
+
baseUrl: process.env.VUE_APP_BASE_API,
|
348
|
+
getToken,
|
349
|
+
settingConfig,
|
350
|
+
Vue,
|
351
|
+
requireView: (url) => {
|
352
|
+
return require("../../../views" + url).default;
|
353
|
+
},
|
354
|
+
};
|
355
|
+
|
356
|
+
function appendPrevChildDom(parentDom, newDom) {
|
357
|
+
if (parentDom.hasChildNodes()) {
|
358
|
+
let currentDom = parentDom.children[0];
|
359
|
+
parentDom.insertBefore(newDom, currentDom);
|
360
|
+
} else {
|
361
|
+
parentDom.append(newDom);
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
function getTarget(t) {
|
366
|
+
return t.parentVue;
|
367
|
+
}
|
368
|
+
|
369
|
+
export default {
|
370
|
+
mixins: [commonMixin],
|
371
|
+
props: {
|
372
|
+
_wfInfo: Object,
|
373
|
+
_taskParam: Object,
|
374
|
+
wfOption: Object,
|
375
|
+
defaultShowWfContent: Boolean,
|
376
|
+
},
|
377
|
+
components: {
|
378
|
+
UserDialog: () => import('../../../views/mobile/user/user/dialog.vue'),
|
379
|
+
urgingDialog: () => import('./urgingDialog'),
|
380
|
+
deleteTaskUserDialog: () => import('./deleteTaskUserDialog'),
|
381
|
+
addTaskUserdialog: () => import('./addTaskUserdialog'),
|
382
|
+
setCandidateDialog: () => import('./setCandidateDialog')
|
383
|
+
},
|
384
|
+
computed: {
|
385
|
+
current_prefix() {
|
386
|
+
return this.serviceId ? "/" + this.serviceId : "";
|
387
|
+
},
|
388
|
+
viewTarget() {
|
389
|
+
return getTarget(this);
|
390
|
+
},
|
391
|
+
isHideWf() {
|
392
|
+
let that = this.viewTarget;
|
393
|
+
let _hideWf = that._hideWf || that.$attrs._hideWf;
|
394
|
+
return _hideWf === true || _hideWf === 'true';
|
395
|
+
}
|
396
|
+
},
|
397
|
+
data() {
|
398
|
+
let showWfFold =
|
399
|
+
settingConfig.showWfFold != null && settingConfig.showWfFold != undefined
|
400
|
+
? settingConfig.showWfFold
|
401
|
+
: false;
|
402
|
+
let showWfContent =
|
403
|
+
showWfFold &&
|
404
|
+
settingConfig.defaultShowWfContent != null &&
|
405
|
+
settingConfig.defaultShowWfContent != undefined
|
406
|
+
? settingConfig.defaultShowWfContent
|
407
|
+
: true;
|
408
|
+
if (
|
409
|
+
this.defaultShowWfContent != null &&
|
410
|
+
this.defaultShowWfContent != undefined
|
411
|
+
) {
|
412
|
+
showWfContent = this.defaultShowWfContent;
|
413
|
+
}
|
414
|
+
|
415
|
+
return {
|
416
|
+
showRenwuDialog: false,
|
417
|
+
showDomContent: false,
|
418
|
+
showPreviewDialog: false,
|
419
|
+
objId: null,
|
420
|
+
wfCode: null,
|
421
|
+
serviceId: null,
|
422
|
+
parentVue: null,
|
423
|
+
wfConfig: null,
|
424
|
+
|
425
|
+
fileInfos: [],
|
426
|
+
showUserDialog: false,
|
427
|
+
showContent: true,
|
428
|
+
objTypeCode: "",
|
429
|
+
// objId: '',
|
430
|
+
wfInfo: {},
|
431
|
+
// currentTask: {},
|
432
|
+
taskParam: {},
|
433
|
+
wfImage: "",
|
434
|
+
wfStartBtn: false,
|
435
|
+
wfManualendBtn: false,
|
436
|
+
wfSubmitBtn: false,
|
437
|
+
wfRejectBtn: false,
|
438
|
+
changeHandlerBtn: false,
|
439
|
+
wftaskData: [],
|
440
|
+
allWfTaskOpinions: [],
|
441
|
+
vxeOption: {},
|
442
|
+
rejectNodes: [],
|
443
|
+
rejectDialogVisible: false,
|
444
|
+
rejectForm: {
|
445
|
+
rejectSubmitModel: null,
|
446
|
+
nodeId: null,
|
447
|
+
opinion: null,
|
448
|
+
},
|
449
|
+
formLabelWidth: "120px",
|
450
|
+
agreeDialogVisible: false,
|
451
|
+
agreeForm: {
|
452
|
+
opinion: this.$t2('同意', 'components.wf.defaultAgreeOption'),
|
453
|
+
nodeId: null,
|
454
|
+
},
|
455
|
+
changeWfDialogVisible: false,
|
456
|
+
changeWfForm: {},
|
457
|
+
changeUserRows: [],
|
458
|
+
taskStatuses: {
|
459
|
+
start: {
|
460
|
+
class: "blue",
|
461
|
+
value: this.$t2('开始', 'components.wf.startStatus'),
|
462
|
+
},
|
463
|
+
approve: {
|
464
|
+
class: "orgn",
|
465
|
+
value: this.$t2('待审批', 'components.wf.approveStatus'),
|
466
|
+
},
|
467
|
+
submit: {
|
468
|
+
class: "green",
|
469
|
+
value: this.$t2('同意', 'components.wf.submitStatus'),
|
470
|
+
},
|
471
|
+
reject: {
|
472
|
+
class: "red",
|
473
|
+
value: this.$t2('驳回', 'components.wf.rejectStatus'),
|
474
|
+
},
|
475
|
+
transfer: {
|
476
|
+
class: "green",
|
477
|
+
value: this.$t2('转办', 'components.wf.transferStatus'),
|
478
|
+
},
|
479
|
+
addIncreaseSign: {
|
480
|
+
class: "green",
|
481
|
+
value: this.$t2('加签', 'components.wf.addIncreaseSignStatus'),
|
482
|
+
},
|
483
|
+
revoke: {
|
484
|
+
class: "red",
|
485
|
+
value: this.$t2('撤回', 'components.wf.revokeStatus'),
|
486
|
+
},
|
487
|
+
end: {
|
488
|
+
class: "gray",
|
489
|
+
value: this.$t2('结束', 'components.wf.endStatus'),
|
490
|
+
},
|
491
|
+
},
|
492
|
+
opinion: "",
|
493
|
+
showWfFold: showWfFold,
|
494
|
+
showWfContent: showWfContent,
|
495
|
+
|
496
|
+
urgingForm: {},
|
497
|
+
urgingDialogVisible: false,
|
498
|
+
urgingUserIds: [],
|
499
|
+
urgingUsers: [],
|
500
|
+
agreeNodes: [],
|
501
|
+
showWfManualDialog: false,
|
502
|
+
|
503
|
+
showDeleteTaskUserDialog: false,
|
504
|
+
showAddTaskUserDialog: false,
|
505
|
+
wfUserParam: {},
|
506
|
+
wfUserParamForTransfer: {},//转办
|
507
|
+
wfUserParamForAddSign: {},//加签
|
508
|
+
wfUserParamForTalk: {},//沟通
|
509
|
+
tabIndex: "1",
|
510
|
+
linkupOption: {},
|
511
|
+
talkForm: {
|
512
|
+
receiverName: null,
|
513
|
+
content: null,
|
514
|
+
attachmentDTOs: [],
|
515
|
+
replyId: null
|
516
|
+
},
|
517
|
+
showTalkUserDialog: false,
|
518
|
+
showTalkDialog: false,
|
519
|
+
showFlowImg: true,
|
520
|
+
operateType: null,
|
521
|
+
addIncreaseSignUsers: [],
|
522
|
+
addIncreaseSignForm: {
|
523
|
+
userNickNames: null,
|
524
|
+
opinion: null
|
525
|
+
},
|
526
|
+
showAddIncreaseSignDialog: false,
|
527
|
+
showOpeaImg: true,
|
528
|
+
showSetCandidateDialog: false,
|
529
|
+
toTalk: false,
|
530
|
+
showAllWfOpinon: false,
|
531
|
+
|
532
|
+
revokeDialogVisible: false,
|
533
|
+
revokeForm: {opinion: null},
|
534
|
+
wfStatusMap: {
|
535
|
+
1: {label: "审核中", type: "warning"},
|
536
|
+
3: {label: "已驳回", type: "danger"},
|
537
|
+
2: {label: "已完成", type: "success"}
|
538
|
+
}
|
539
|
+
};
|
540
|
+
},
|
541
|
+
provide() {
|
542
|
+
return {
|
543
|
+
getParentVue: () => {
|
544
|
+
return this.parentVue;
|
545
|
+
}
|
546
|
+
};
|
547
|
+
},
|
548
|
+
created() {
|
549
|
+
// this.wfInfo = this._wfInfo;
|
550
|
+
this.showFlowImg = settingConfig.expandWfImage === false ? false : true;
|
551
|
+
this.showAllWfOpinon = settingConfig.showAllWfOpinon === true;
|
552
|
+
},
|
553
|
+
mounted() {
|
554
|
+
this.init();
|
555
|
+
},
|
556
|
+
methods: {
|
557
|
+
getWfStatusLabel() {
|
558
|
+
return this.wfStatusMap[this.wfInfo.stat]?.label;
|
559
|
+
},
|
560
|
+
getWfStatusType() {
|
561
|
+
return this.wfStatusMap[this.wfInfo.stat]?.type;
|
562
|
+
},
|
563
|
+
init() {
|
564
|
+
let opt = this.wfOption;
|
565
|
+
this.objId = opt.objId;
|
566
|
+
this.wfCode = opt.wfCode;
|
567
|
+
this.serviceId = opt.serviceId;
|
568
|
+
this.parentVue = opt.parentVue;
|
569
|
+
this.wfConfig = this.wfOption;
|
570
|
+
|
571
|
+
let wfConfig = this.wfOption;
|
572
|
+
let that = getTarget(this);
|
573
|
+
let hasWf = false;
|
574
|
+
let wfInfo, currentTask, taskParam;
|
575
|
+
let option = {
|
576
|
+
objId: this.objId,
|
577
|
+
wfCode: this.wfCode
|
578
|
+
}
|
579
|
+
let current_prefix = this.current_prefix;
|
580
|
+
|
581
|
+
let initButton = () => {
|
582
|
+
/*return
|
583
|
+
this.$nextTick(() => {
|
584
|
+
that.$refs.wfButtonGroup.init({
|
585
|
+
taskParam,
|
586
|
+
wfInfo,
|
587
|
+
hasWf,
|
588
|
+
current_prefix,
|
589
|
+
wfConfig
|
590
|
+
});
|
591
|
+
});*/
|
592
|
+
}
|
593
|
+
|
594
|
+
this.initWfInfo(option, {
|
595
|
+
success: res => {
|
596
|
+
if (res.objx && res.objx.procInstId) {
|
597
|
+
hasWf = true;
|
598
|
+
wfInfo = res.objx;
|
599
|
+
this.wfInfo = wfInfo;
|
600
|
+
// this.showDomContent = true;
|
601
|
+
|
602
|
+
if (wfInfo.taskId) {
|
603
|
+
this.getTaskParams(wfInfo.taskId, {
|
604
|
+
success: res2 => {
|
605
|
+
taskParam = res2.objx || {};
|
606
|
+
taskParam.objId = option.objId;
|
607
|
+
this.taskParam = taskParam;
|
608
|
+
|
609
|
+
initButton();
|
610
|
+
}
|
611
|
+
});
|
612
|
+
} else {
|
613
|
+
initButton();
|
614
|
+
}
|
615
|
+
this.initOperateType();
|
616
|
+
this.initForAll();
|
617
|
+
} else {
|
618
|
+
initButton();
|
619
|
+
}
|
620
|
+
}
|
621
|
+
});
|
622
|
+
},
|
623
|
+
initWfInfo(option, httpConfig) {
|
624
|
+
|
625
|
+
let that = getTarget(this);
|
626
|
+
let id = option.objId;
|
627
|
+
let code = option.wfCode;
|
628
|
+
return that.$http({
|
629
|
+
url: this.current_prefix + '/wf/getWfInfo',
|
630
|
+
method: `post`,
|
631
|
+
data: {
|
632
|
+
objTypeCode: code,
|
633
|
+
objId: id
|
634
|
+
},
|
635
|
+
isLoading: true,
|
636
|
+
modalStrictly: true,
|
637
|
+
...httpConfig
|
638
|
+
});
|
639
|
+
},
|
640
|
+
getTaskParams(taskId, httpConfig) {
|
641
|
+
let that = getTarget(this);
|
642
|
+
return that.$http({
|
643
|
+
url: this.current_prefix + '/wf/getTaskVariables',
|
644
|
+
method: `post`,
|
645
|
+
data: {
|
646
|
+
stringOne: taskId
|
647
|
+
},
|
648
|
+
isLoading: true,
|
649
|
+
modalStrictly: true,
|
650
|
+
...httpConfig
|
651
|
+
});
|
652
|
+
},
|
653
|
+
|
654
|
+
|
655
|
+
initOperateType() {
|
656
|
+
if (this.operateType) {
|
657
|
+
let wfInfo = this.wfInfo;
|
658
|
+
if (wfInfo.toSubmit) {
|
659
|
+
this.openAgreeDialog('submit');
|
660
|
+
} else if (wfInfo.toReject) {
|
661
|
+
this.rejectWfTask('reject');
|
662
|
+
} else if (wfInfo.toAddIncreaseSign) {
|
663
|
+
this.openAddIncreaseSign('addIncreaseSign')
|
664
|
+
} else if (wfInfo.toRevoke) {
|
665
|
+
this.openRevokeDialog('revoke')
|
666
|
+
} else if (wfInfo.toLinkup) {
|
667
|
+
this.openTalkDialog(null, null, 'talk');
|
668
|
+
} else {
|
669
|
+
this.operateType = null;
|
670
|
+
}
|
671
|
+
}
|
672
|
+
},
|
673
|
+
initForAll() {
|
674
|
+
let that = getTarget(this);
|
675
|
+
this.initWf(() => {
|
676
|
+
if (this.wfInfo.procInstId) {
|
677
|
+
this.initCurrentTask(this.wfInfo.procInstId, () => {
|
678
|
+
this.initWftask(this.wfInfo.procInstId);
|
679
|
+
this.getAllWfTaskOpinions();
|
680
|
+
});
|
681
|
+
this.initWfUserParam();
|
682
|
+
this.initTabIndex();
|
683
|
+
}
|
684
|
+
});
|
685
|
+
},
|
686
|
+
initTabIndex() {
|
687
|
+
let that = getTarget(this);
|
688
|
+
that.$http({
|
689
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
690
|
+
method: `post`,
|
691
|
+
data: {attributeKey: "param7"},
|
692
|
+
isLoading: true,
|
693
|
+
success: (res) => {
|
694
|
+
let val = res !== null ? res.objx === true : false;
|
695
|
+
this.toTalk = val;
|
696
|
+
let flag = false;
|
697
|
+
if (val) {
|
698
|
+
let flag1 = that.$attrs._isNotifyMessage == true || that.$attrs._isNotifyMessage == "true";
|
699
|
+
if (flag1) {
|
700
|
+
this.tabIndex = "2";
|
701
|
+
}
|
702
|
+
if (settingConfig.autoOpenWfLinkup) {
|
703
|
+
flag = true;
|
704
|
+
let flag2 = that.$attrs._wfNotifyType == "wfLinkup";
|
705
|
+
let flag3 = flag1 && flag2;
|
706
|
+
if (flag3) {
|
707
|
+
this.$nextTick(() => {
|
708
|
+
let wfTabPane = this.$refs.wfTabPane;
|
709
|
+
if (!wfTabPane.showContent) {
|
710
|
+
wfTabPane.handleFold();
|
711
|
+
}
|
712
|
+
});
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
this.initLinkup(flag);
|
717
|
+
}
|
718
|
+
});
|
719
|
+
|
720
|
+
},
|
721
|
+
initWf(done) {
|
722
|
+
var data = this.wfInfo;
|
723
|
+
if (data && data.procInstId) {
|
724
|
+
/** 流程状态:0未启动,1审核中,2已完成,3驳回,4中断 */
|
725
|
+
var statuses = {
|
726
|
+
1: '<span class="tag">' + this.$t2('审核中', 'components.wf.wfStatus1') + '</span>',
|
727
|
+
3: '<span class="tag red">' + this.$t2('已驳回', 'components.wf.wfStatus2') + '</span>',
|
728
|
+
2: '<span class="tag green">' + this.$t2('已完成', 'components.wf.wfStatus3') + '</span>',
|
729
|
+
};
|
730
|
+
var statusStr = "";
|
731
|
+
if (data.stat != null) {
|
732
|
+
statusStr = statuses[data.stat] || "";
|
733
|
+
}
|
734
|
+
data.statusStr = statusStr;
|
735
|
+
this.wfInfo = data;
|
736
|
+
|
737
|
+
this.wfStartBtn = false;
|
738
|
+
if (data.status != 2 && data.starterId) {
|
739
|
+
this.wfManualendBtn = true;
|
740
|
+
}
|
741
|
+
this.wfSubmitBtn = false;
|
742
|
+
this.wfRejectBtn = false;
|
743
|
+
|
744
|
+
var url =
|
745
|
+
this.current_prefix +
|
746
|
+
"/wf/flowImage?procInstId=" +
|
747
|
+
data.procInstId +
|
748
|
+
"&_r=" +
|
749
|
+
Math.random() +
|
750
|
+
"&access_token=" +
|
751
|
+
configUtil.getToken();
|
752
|
+
this.wfImage = configUtil.baseUrl + url;
|
753
|
+
done();
|
754
|
+
}
|
755
|
+
},
|
756
|
+
initCurrentTask(procInstId, done) {
|
757
|
+
if (this.wfInfo.taskId) {
|
758
|
+
this.wfSubmitBtn = true;
|
759
|
+
this.wfRejectBtn = true;
|
760
|
+
this.changeHandlerBtn = true;
|
761
|
+
}
|
762
|
+
done();
|
763
|
+
},
|
764
|
+
initWftask(procInstId) {
|
765
|
+
let that = getTarget(this);
|
766
|
+
that.$http({
|
767
|
+
url: this.current_prefix + "/wf/getWfTaskOpinionMerge",
|
768
|
+
data: {
|
769
|
+
stringOne: procInstId,
|
770
|
+
},
|
771
|
+
method: "post",
|
772
|
+
isLoading: true,
|
773
|
+
modalStrictly: true,
|
774
|
+
success: (resultmsg) => {
|
775
|
+
var datas = resultmsg.objx || [];
|
776
|
+
this.wftaskData = datas;
|
777
|
+
},
|
778
|
+
});
|
779
|
+
},
|
780
|
+
getAllWfTaskOpinions() {
|
781
|
+
if (!this.showAllWfOpinon) {
|
782
|
+
return;
|
783
|
+
}
|
784
|
+
let that = getTarget(this);
|
785
|
+
let wfInfo = this.wfInfo;
|
786
|
+
that.$http({
|
787
|
+
url: this.current_prefix + "/wf/getAllWfTaskOpinions",
|
788
|
+
data: {
|
789
|
+
objId: wfInfo.objId,
|
790
|
+
objTypeCode: wfInfo.objTypeCode
|
791
|
+
},
|
792
|
+
method: "post",
|
793
|
+
isLoading: true,
|
794
|
+
modalStrictly: true,
|
795
|
+
success: (resultmsg) => {
|
796
|
+
var datas = resultmsg.objx || [];
|
797
|
+
this.allWfTaskOpinions = datas;
|
798
|
+
},
|
799
|
+
});
|
800
|
+
},
|
801
|
+
openManualDialog(operateType) {
|
802
|
+
this.operateType = operateType;
|
803
|
+
this.showWfManualDialog = true;
|
804
|
+
},
|
805
|
+
manualEndWf() {
|
806
|
+
this.showWfManualDialog = false;
|
807
|
+
let that = getTarget(this);
|
808
|
+
var procInstId = this.wfInfo.procInstId;
|
809
|
+
var taskId = this.wfInfo.taskId ? this.wfInfo.taskId : "";
|
810
|
+
var data = JSON.stringify({
|
811
|
+
uuid: this.wfInfo.uuid,
|
812
|
+
});
|
813
|
+
that.$http({
|
814
|
+
url: this.current_prefix + "/wf/interrupt",
|
815
|
+
data: data,
|
816
|
+
method: "post",
|
817
|
+
headers: {
|
818
|
+
"Content-Type": "application/json;charset=utf-8",
|
819
|
+
},
|
820
|
+
isLoading: true,
|
821
|
+
success: (resultMsg) => {
|
822
|
+
that.$message({
|
823
|
+
message: resultMsg.content,
|
824
|
+
type: "success",
|
825
|
+
duration: 500,
|
826
|
+
onClose: (t) => {
|
827
|
+
this.reloadContent();
|
828
|
+
this.closeWinOnCheck(3);
|
829
|
+
},
|
830
|
+
});
|
831
|
+
},
|
832
|
+
});
|
833
|
+
},
|
834
|
+
async rejectWfTask(operateType) {
|
835
|
+
let that = getTarget(this);
|
836
|
+
var procInstId = this.wfInfo.procInstId;
|
837
|
+
var taskId = this.wfInfo.taskId;
|
838
|
+
var destinations = [];
|
839
|
+
|
840
|
+
await that.$http({
|
841
|
+
url: this.current_prefix + "/wf/getPreIncomeNodes",
|
842
|
+
data: {
|
843
|
+
stringOne: taskId,
|
844
|
+
},
|
845
|
+
method: "post",
|
846
|
+
//contentType: 'application/json;charset=utf-8',
|
847
|
+
isLoading: true,
|
848
|
+
success: (resultMsg) => {
|
849
|
+
destinations = (resultMsg.objx || []).reverse();
|
850
|
+
},
|
851
|
+
});
|
852
|
+
|
853
|
+
if (destinations == null) {
|
854
|
+
return false;
|
855
|
+
}
|
856
|
+
if (destinations.length == 0) {
|
857
|
+
that.$message({
|
858
|
+
message: this.$t2('无法驳回,没有目标节点', 'components.wf.rejectWarnMsg1'),
|
859
|
+
type: "error",
|
860
|
+
duration: 2 * 1000,
|
861
|
+
});
|
862
|
+
return false;
|
863
|
+
}
|
864
|
+
this.operateType = operateType;
|
865
|
+
|
866
|
+
this.rejectForm.rejectSubmitModel = this.wfInfo.toRejectNode == false ? 2 : null
|
867
|
+
this.rejectForm.nodeId = destinations[0].nodeId;
|
868
|
+
this.rejectForm.opinion = "";
|
869
|
+
this.rejectNodes = destinations;
|
870
|
+
this.rejectDialogVisible = true;
|
871
|
+
},
|
872
|
+
subRejectForm() {
|
873
|
+
let that = getTarget(this);
|
874
|
+
var procInstId = this.wfInfo.procInstId;
|
875
|
+
var taskId = this.wfInfo.taskId;
|
876
|
+
|
877
|
+
if (!this.rejectForm.nodeId) {
|
878
|
+
that.$message({
|
879
|
+
message: this.$t2('请选择驳回节点', 'components.wf.rejectWarnMsg2'),
|
880
|
+
type: "error",
|
881
|
+
duration: 2 * 1000,
|
882
|
+
});
|
883
|
+
return false;
|
884
|
+
}
|
885
|
+
|
886
|
+
if (!this.rejectForm.opinion) {
|
887
|
+
that.$message({
|
888
|
+
message: this.$t2('请输入驳回意见', 'components.wf.rejectWarnMsg3'),
|
889
|
+
type: "error",
|
890
|
+
duration: 2 * 1000,
|
891
|
+
});
|
892
|
+
return false;
|
893
|
+
}
|
894
|
+
|
895
|
+
var data = JSON.stringify({
|
896
|
+
taskId: taskId,
|
897
|
+
uuid: this.wfInfo.uuid,
|
898
|
+
nodeId: this.rejectForm.nodeId,
|
899
|
+
suggestion: this.rejectForm.opinion,
|
900
|
+
rejectSubmitModel: this.rejectForm.rejectSubmitModel
|
901
|
+
});
|
902
|
+
this.rejectDialogVisible = false;
|
903
|
+
that.$http({
|
904
|
+
url: this.current_prefix + "/wf/reject",
|
905
|
+
data: data,
|
906
|
+
method: "post",
|
907
|
+
headers: {
|
908
|
+
"Content-Type": "application/json;charset=utf-8",
|
909
|
+
},
|
910
|
+
isLoading: true,
|
911
|
+
success: (resultMsg) => {
|
912
|
+
that.$message({
|
913
|
+
message: resultMsg.content,
|
914
|
+
type: "success",
|
915
|
+
duration: 500,
|
916
|
+
onClose: (t) => {
|
917
|
+
this.reloadContent();
|
918
|
+
this.closeWinOnCheck(2);
|
919
|
+
},
|
920
|
+
});
|
921
|
+
},
|
922
|
+
});
|
923
|
+
},
|
924
|
+
openAgreeDialog(operateType) {
|
925
|
+
this.operateType = operateType;
|
926
|
+
let that = getTarget(this);
|
927
|
+
this.agreeForm = {
|
928
|
+
opinion: this.$t2('同意', 'components.wf.defaultAgreeOption'),
|
929
|
+
nodeId: null,
|
930
|
+
};
|
931
|
+
this.agreeNodes = [];
|
932
|
+
that.$http({
|
933
|
+
url: this.current_prefix + "/wf/getNextOutgoingNodes",
|
934
|
+
data: {
|
935
|
+
stringOne: this.wfInfo.taskId,
|
936
|
+
},
|
937
|
+
method: "post",
|
938
|
+
isLoading: true,
|
939
|
+
success: (res) => {
|
940
|
+
let nodes = res.objx || [];
|
941
|
+
/*if (tq == true) {
|
942
|
+
nodes.reverse();
|
943
|
+
}*/
|
944
|
+
if (nodes.length) {
|
945
|
+
this.agreeForm.nodeId = nodes[0].nodeId;
|
946
|
+
}
|
947
|
+
this.agreeNodes = nodes;
|
948
|
+
this.agreeDialogVisible = true;
|
949
|
+
},
|
950
|
+
});
|
951
|
+
},
|
952
|
+
subAgreeForm() {
|
953
|
+
let wfConfig = this.wfConfig;
|
954
|
+
let done = () => {
|
955
|
+
this.subAgreeHandle();
|
956
|
+
}
|
957
|
+
if (wfConfig.onBeforeAgree) {
|
958
|
+
wfConfig.onBeforeAgree(done)
|
959
|
+
} else {
|
960
|
+
done();
|
961
|
+
}
|
962
|
+
},
|
963
|
+
subAgreeHandle() {
|
964
|
+
let that = getTarget(this);
|
965
|
+
let nodeId = null;
|
966
|
+
if (this.agreeNodes.length) {
|
967
|
+
if (!this.agreeForm.nodeId) {
|
968
|
+
that.$message({
|
969
|
+
message: this.$t2('请选择节点', 'components.wf.agreeWarnMsg1'),
|
970
|
+
type: "error",
|
971
|
+
duration: 2 * 1000,
|
972
|
+
});
|
973
|
+
return;
|
974
|
+
}
|
975
|
+
nodeId = this.agreeForm.nodeId;
|
976
|
+
}
|
977
|
+
|
978
|
+
var procInstId = this.wfInfo.procInstId;
|
979
|
+
var taskId = this.wfInfo.taskId;
|
980
|
+
var memo = this.agreeForm.opinion || this.$t2('同意', 'components.wf.defaultAgreeOption');
|
981
|
+
var data = JSON.stringify({
|
982
|
+
taskId: taskId,
|
983
|
+
uuid: this.wfInfo.uuid,
|
984
|
+
suggestion: memo,
|
985
|
+
nodeId: nodeId,
|
986
|
+
});
|
987
|
+
this.agreeDialogVisible = false;
|
988
|
+
that.$http({
|
989
|
+
url: this.current_prefix + "/wf/submit",
|
990
|
+
data: data,
|
991
|
+
method: "post",
|
992
|
+
headers: {
|
993
|
+
"Content-Type": "application/json;charset=utf-8",
|
994
|
+
},
|
995
|
+
isLoading: true,
|
996
|
+
success: (resultMsg) => {
|
997
|
+
if (resultMsg.objx && resultMsg.objx.code == "999999") {
|
998
|
+
this.errorSubmit({
|
999
|
+
taskId: taskId,
|
1000
|
+
uuid: this.wfInfo.uuid,
|
1001
|
+
suggestion: memo,
|
1002
|
+
errorMsg: resultMsg.objx.errorMsg
|
1003
|
+
});
|
1004
|
+
} else {
|
1005
|
+
that.$message({
|
1006
|
+
message: resultMsg.content,
|
1007
|
+
type: "success",
|
1008
|
+
duration: 500,
|
1009
|
+
onClose: (t) => {
|
1010
|
+
this.reloadContent();
|
1011
|
+
this.closeWinOnCheck(1);
|
1012
|
+
},
|
1013
|
+
});
|
1014
|
+
}
|
1015
|
+
},
|
1016
|
+
});
|
1017
|
+
},
|
1018
|
+
errorSubmit(data) {
|
1019
|
+
let that = getTarget(this);
|
1020
|
+
that.$http({
|
1021
|
+
url: this.current_prefix + "/wf/errorSubmit",
|
1022
|
+
data: data,
|
1023
|
+
method: "post",
|
1024
|
+
isLoading: true,
|
1025
|
+
success: (resultMsg) => {
|
1026
|
+
that.$message({
|
1027
|
+
message: resultMsg.content,
|
1028
|
+
type: "success",
|
1029
|
+
duration: 500,
|
1030
|
+
onClose: (t) => {
|
1031
|
+
this.reloadContent();
|
1032
|
+
this.closeWinOnCheck(1);
|
1033
|
+
},
|
1034
|
+
});
|
1035
|
+
},
|
1036
|
+
});
|
1037
|
+
},
|
1038
|
+
openChangeWfForm(operateType) {
|
1039
|
+
this.operateType = operateType;
|
1040
|
+
this.changeWfDialogVisible = true;
|
1041
|
+
this.changeUserRows = [];
|
1042
|
+
this.changeWfForm = {
|
1043
|
+
userIds: [],
|
1044
|
+
userNickNames: null,
|
1045
|
+
opinion: null,
|
1046
|
+
};
|
1047
|
+
},
|
1048
|
+
subChangeWfForm() {
|
1049
|
+
let that = getTarget(this);
|
1050
|
+
var procInstId = this.wfInfo.procInstId;
|
1051
|
+
var taskId = this.wfInfo.taskId;
|
1052
|
+
|
1053
|
+
var userIds = this.changeWfForm.userIds || [];
|
1054
|
+
var opinion = this.changeWfForm.opinion || null;
|
1055
|
+
|
1056
|
+
if (!userIds.length) {
|
1057
|
+
that.$message({
|
1058
|
+
message: this.$t2('请选择转办人', 'components.wf.transferWarnMsg1'),
|
1059
|
+
type: "error",
|
1060
|
+
duration: 2000,
|
1061
|
+
onClose: (t) => {
|
1062
|
+
},
|
1063
|
+
});
|
1064
|
+
return false;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
var data = JSON.stringify({
|
1068
|
+
taskId: taskId,
|
1069
|
+
uuid: this.wfInfo.uuid,
|
1070
|
+
transferTo: userIds,
|
1071
|
+
suggestion: opinion,
|
1072
|
+
});
|
1073
|
+
this.changeWfDialogVisible = false;
|
1074
|
+
that.$http({
|
1075
|
+
url: this.current_prefix + "/wf/transfer",
|
1076
|
+
data: data,
|
1077
|
+
method: "post",
|
1078
|
+
headers: {
|
1079
|
+
"Content-Type": "application/json;charset=utf-8",
|
1080
|
+
},
|
1081
|
+
isLoading: true,
|
1082
|
+
success: (resultMsg) => {
|
1083
|
+
that.$message({
|
1084
|
+
message: resultMsg.content,
|
1085
|
+
type: "success",
|
1086
|
+
duration: 500,
|
1087
|
+
onClose: (t) => {
|
1088
|
+
this.reloadContent();
|
1089
|
+
this.closeWinOnCheck(4);
|
1090
|
+
},
|
1091
|
+
});
|
1092
|
+
},
|
1093
|
+
});
|
1094
|
+
},
|
1095
|
+
userConfirm(rows) {
|
1096
|
+
if (rows.length > 0) {
|
1097
|
+
let changeUserRows = this.changeUserRows;
|
1098
|
+
let ids = changeUserRows.map((changeUserRow) => changeUserRow.id);
|
1099
|
+
let addRows = rows.filter((row) => !ids.includes(row.id));
|
1100
|
+
changeUserRows.push(...addRows);
|
1101
|
+
|
1102
|
+
let row = rows[0];
|
1103
|
+
this.changeWfForm.userIds = changeUserRows.map(
|
1104
|
+
(changeUserRow) => changeUserRow.id
|
1105
|
+
);
|
1106
|
+
this.changeWfForm.userNickNames = changeUserRows
|
1107
|
+
.map((changeUserRow) => changeUserRow.nickName)
|
1108
|
+
.join(",");
|
1109
|
+
}
|
1110
|
+
},
|
1111
|
+
reloadContent() {
|
1112
|
+
let that = getTarget(this);
|
1113
|
+
that.$baseReload();
|
1114
|
+
},
|
1115
|
+
closeWinOnCheck(flag) {
|
1116
|
+
//_closeWindowOnCheck=true, 1提交,2驳回,3中断,4转办时,5沟通 关闭窗口
|
1117
|
+
let that = getTarget(this);
|
1118
|
+
let _closeWindowOnCheck = that.$attrs._closeWindowOnCheck || that._closeWindowOnCheck;
|
1119
|
+
if (_closeWindowOnCheck === true || _closeWindowOnCheck === "true") {
|
1120
|
+
window.close && window.close();
|
1121
|
+
}
|
1122
|
+
let _handleCallback = that.$attrs._handleCallback || that._handleCallback;
|
1123
|
+
_handleCallback && _handleCallback(flag);
|
1124
|
+
},
|
1125
|
+
manualCallback() {
|
1126
|
+
this.$emit("manualCallback");
|
1127
|
+
},
|
1128
|
+
openUrgingDialog(operateType) {
|
1129
|
+
this.operateType = operateType;
|
1130
|
+
this.urgingDialogVisible = true;
|
1131
|
+
},
|
1132
|
+
openDeleteTaskUserDialog(operateType) {
|
1133
|
+
this.operateType = operateType;
|
1134
|
+
this.showDeleteTaskUserDialog = true;
|
1135
|
+
},
|
1136
|
+
openAddTaskUserDialog(operateType) {
|
1137
|
+
this.operateType = operateType;
|
1138
|
+
this.showAddTaskUserDialog = true;
|
1139
|
+
},
|
1140
|
+
openAddIncreaseSign(operateType) {
|
1141
|
+
this.operateType = operateType;
|
1142
|
+
this.addIncreaseSignUsers = [];
|
1143
|
+
this.addIncreaseSignForm = {userNickNames: null};
|
1144
|
+
this.showAddIncreaseSignDialog = true;
|
1145
|
+
},
|
1146
|
+
initWfUserParam(callback) {
|
1147
|
+
this.initTransferUserParam();//转办
|
1148
|
+
this.initAddSignUserParam();//加签
|
1149
|
+
this.initTalkUserParam();//沟通
|
1150
|
+
},
|
1151
|
+
//
|
1152
|
+
initTransferUserParam(callback) {
|
1153
|
+
//初始化转办用户参数
|
1154
|
+
let that = getTarget(this);
|
1155
|
+
return that.$http({
|
1156
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
1157
|
+
method: `post`,
|
1158
|
+
data: {attributeKey: "param1"},
|
1159
|
+
isLoading: true,
|
1160
|
+
modalStrictly: true,
|
1161
|
+
success: (res) => {
|
1162
|
+
this.wfUserParamForTransfer = res.objx || {};
|
1163
|
+
callback && callback();
|
1164
|
+
},
|
1165
|
+
});
|
1166
|
+
},
|
1167
|
+
initAddSignUserParam(callback) {
|
1168
|
+
//初始化加签用户参数
|
1169
|
+
let that = getTarget(this);
|
1170
|
+
return that.$http({
|
1171
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
1172
|
+
method: `post`,
|
1173
|
+
data: {attributeKey: "param2"},
|
1174
|
+
isLoading: true,
|
1175
|
+
modalStrictly: true,
|
1176
|
+
success: (res) => {
|
1177
|
+
this.wfUserParamForAddSign = res.objx || {};
|
1178
|
+
callback && callback();
|
1179
|
+
},
|
1180
|
+
});
|
1181
|
+
},
|
1182
|
+
initTalkUserParam(callback) {
|
1183
|
+
//初始化沟通用户参数
|
1184
|
+
let that = getTarget(this);
|
1185
|
+
return that.$http({
|
1186
|
+
url: USER_PREFIX + "/wf_diy_attribute/getValue",
|
1187
|
+
method: `post`,
|
1188
|
+
data: {attributeKey: "param3"},
|
1189
|
+
isLoading: true,
|
1190
|
+
modalStrictly: true,
|
1191
|
+
success: (res) => {
|
1192
|
+
this.wfUserParamForTalk = res.objx || {};
|
1193
|
+
callback && callback();
|
1194
|
+
},
|
1195
|
+
});
|
1196
|
+
},
|
1197
|
+
//
|
1198
|
+
resetLinkup() {
|
1199
|
+
this.formData = {};
|
1200
|
+
this.$refs["table-linkup"].commitProxy("reload");
|
1201
|
+
},
|
1202
|
+
searchLinkup() {
|
1203
|
+
this.$refs["table-linkup"].commitProxy("reload");
|
1204
|
+
},
|
1205
|
+
initLinkup(flag) {
|
1206
|
+
return
|
1207
|
+
let h = this.$createElement;
|
1208
|
+
let statusMap = {
|
1209
|
+
0: this.$t2('未完成', 'components.wf.talkStatus0'),
|
1210
|
+
1: this.$t2('已完成', 'components.wf.talkStatus1'),
|
1211
|
+
2: this.$t2('已取消', 'components.wf.talkStatus2')
|
1212
|
+
};
|
1213
|
+
let tableOption = {
|
1214
|
+
vue: this,
|
1215
|
+
tableRef: "table-linkup",
|
1216
|
+
tableName: "wf_table-linkup",
|
1217
|
+
path: this.current_prefix + "/wf_linkup/listPage",
|
1218
|
+
param: () => {
|
1219
|
+
return {
|
1220
|
+
uuid: this.wfInfo.uuid,
|
1221
|
+
};
|
1222
|
+
},
|
1223
|
+
config: {
|
1224
|
+
height: 350
|
1225
|
+
},
|
1226
|
+
columns: [
|
1227
|
+
{type: "checkbox", width: 48, resizable: false, fixed: "left"},
|
1228
|
+
{
|
1229
|
+
title: this.$t2('任务名称', 'components.wf.taskName'),
|
1230
|
+
field: "taskName",
|
1231
|
+
width: 150,
|
1232
|
+
fixed: "left",
|
1233
|
+
},
|
1234
|
+
{
|
1235
|
+
title: this.$t2('发送人', 'components.wf.senderName'),
|
1236
|
+
field: "senderName",
|
1237
|
+
width: 150,
|
1238
|
+
slots: {
|
1239
|
+
default: "sender",
|
1240
|
+
},
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
title: this.$t2('接收人', 'components.wf.receiverName'),
|
1244
|
+
field: "receiverName",
|
1245
|
+
width: 150,
|
1246
|
+
slots: {
|
1247
|
+
default: "receiver",
|
1248
|
+
},
|
1249
|
+
},
|
1250
|
+
{
|
1251
|
+
title: this.$t2('沟通内容', 'components.wf.talkContent'),
|
1252
|
+
field: "content",
|
1253
|
+
width: 250,
|
1254
|
+
showOverflow: false,
|
1255
|
+
slots: {
|
1256
|
+
default: ({row, rowIndex}) => {
|
1257
|
+
return row.replyId ? ("[" + this.$t2('回复', 'components.wf.reply') + "]" + row.content) : row.content;
|
1258
|
+
},
|
1259
|
+
},
|
1260
|
+
},
|
1261
|
+
{
|
1262
|
+
width: 150,
|
1263
|
+
title: this.$t2('沟通资料', 'components.wf.talkAttachment'),
|
1264
|
+
field: "attachmentImage",
|
1265
|
+
sortable: false,
|
1266
|
+
slots: {
|
1267
|
+
default: ({row, rowIndex}) => {
|
1268
|
+
let option = {
|
1269
|
+
title: this.$t2('沟通资料', 'components.wf.talkAttachment'),
|
1270
|
+
edit: false,
|
1271
|
+
rows: (done) => {
|
1272
|
+
done(row.attachmentDTOs);
|
1273
|
+
},
|
1274
|
+
};
|
1275
|
+
return [
|
1276
|
+
h("base-attachment", {
|
1277
|
+
props: {
|
1278
|
+
option: option,
|
1279
|
+
},
|
1280
|
+
}),
|
1281
|
+
];
|
1282
|
+
},
|
1283
|
+
},
|
1284
|
+
},
|
1285
|
+
|
1286
|
+
{
|
1287
|
+
title: this.$t2('状态', 'components.wf.status'),
|
1288
|
+
field: "status",
|
1289
|
+
width: 150,
|
1290
|
+
slots: {
|
1291
|
+
default: ({row, rowIndex}) => {
|
1292
|
+
return statusMap[row.status] || "";
|
1293
|
+
},
|
1294
|
+
},
|
1295
|
+
},
|
1296
|
+
{
|
1297
|
+
title: this.$t2('创建时间', 'system.label.createDate'),
|
1298
|
+
field: "createDate",
|
1299
|
+
width: 150,
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
width: 80,
|
1303
|
+
fixed: "right",
|
1304
|
+
title: "",
|
1305
|
+
sortable: false,
|
1306
|
+
slots: {
|
1307
|
+
default: "operate"
|
1308
|
+
}
|
1309
|
+
},
|
1310
|
+
],
|
1311
|
+
callback: (rows) => {
|
1312
|
+
if (rows.length && flag) {
|
1313
|
+
let row = rows[0];
|
1314
|
+
if (row.replyToSender) {
|
1315
|
+
this.$nextTick(() => {
|
1316
|
+
this.tabIndex = "2";
|
1317
|
+
this.openTalkDialog(row.sender, row.senderName, 'talk', 1, row.id)
|
1318
|
+
});
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
}
|
1322
|
+
};
|
1323
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
1324
|
+
this.linkupOption = opts;
|
1325
|
+
});
|
1326
|
+
},
|
1327
|
+
cancelTalk(row) {
|
1328
|
+
let that = getTarget(this);
|
1329
|
+
that.$baseConfirm(this.$t2('您确定要取消沟通记录吗?', 'components.wf.cancelTalkTip')).then(() => {
|
1330
|
+
that.$http({
|
1331
|
+
url: this.current_prefix + "/wf_linkup/cancel",
|
1332
|
+
data: {id: row.id},
|
1333
|
+
method: "post",
|
1334
|
+
loadingTarget: document.body,
|
1335
|
+
isLoading: true,
|
1336
|
+
success: (resultMsg) => {
|
1337
|
+
that.$message({
|
1338
|
+
message: resultMsg.content,
|
1339
|
+
type: "success",
|
1340
|
+
duration: 500,
|
1341
|
+
onClose: (t) => {
|
1342
|
+
this.reloadContent();
|
1343
|
+
},
|
1344
|
+
});
|
1345
|
+
},
|
1346
|
+
});
|
1347
|
+
});
|
1348
|
+
},
|
1349
|
+
openTalkDialog(receiver, receiverName, operateType, flag, replyId) {
|
1350
|
+
this.operateType = operateType;
|
1351
|
+
/*this.talkForm.receiver = receiver || null;
|
1352
|
+
this.talkForm.receiverName = receiverName || null;
|
1353
|
+
this.talkForm.replyId = replyId || null;
|
1354
|
+
this.talkForm.content = null;
|
1355
|
+
this.talkForm.attachmentDTOs = [];*/
|
1356
|
+
this.initTalkForm(receiver, receiverName, replyId)
|
1357
|
+
this.showTalkDialog = true;
|
1358
|
+
if (flag == 1) {
|
1359
|
+
let opeaBtnDom = this.$refs.opeaBtn;
|
1360
|
+
opeaBtnDom && opeaBtnDom.scrollIntoView();
|
1361
|
+
}
|
1362
|
+
},
|
1363
|
+
initTalkForm(receiver, receiverName, replyId) {
|
1364
|
+
this.talkForm.receiver = receiver || null;
|
1365
|
+
this.talkForm.receiverName = receiverName || null;
|
1366
|
+
this.talkForm.replyId = replyId || null;
|
1367
|
+
this.talkForm.content = null;
|
1368
|
+
this.talkForm.attachmentDTOs = [];
|
1369
|
+
},
|
1370
|
+
submitTalkForm() {
|
1371
|
+
let that = getTarget(this);
|
1372
|
+
var procInstId = this.wfInfo.procInstId;
|
1373
|
+
var taskId = this.wfInfo.taskId;
|
1374
|
+
|
1375
|
+
if (!this.talkForm.receiver) {
|
1376
|
+
that.$message({
|
1377
|
+
message: this.$t2('请选择接收人', 'components.wf.talkWarnMsg1'),
|
1378
|
+
type: "error",
|
1379
|
+
duration: 2 * 1000,
|
1380
|
+
});
|
1381
|
+
return false;
|
1382
|
+
}
|
1383
|
+
if (!this.talkForm.content) {
|
1384
|
+
that.$message({
|
1385
|
+
message: this.$t2('请输入沟通内容', 'components.wf.talkWarnMsg2'),
|
1386
|
+
type: "error",
|
1387
|
+
duration: 2 * 1000,
|
1388
|
+
});
|
1389
|
+
return false;
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
var data = {
|
1393
|
+
taskId: taskId,
|
1394
|
+
uuid: this.wfInfo.uuid,
|
1395
|
+
receiver: this.talkForm.receiver,
|
1396
|
+
receiverName: this.talkForm.receiverName,
|
1397
|
+
replyId: this.talkForm.replyId,
|
1398
|
+
content: this.talkForm.content,
|
1399
|
+
attachmentDTOs: this.talkForm.attachmentDTOs,
|
1400
|
+
notifyType: "wfLinkup",
|
1401
|
+
};
|
1402
|
+
this.showTalkDialog = false;
|
1403
|
+
that.$http({
|
1404
|
+
url: this.current_prefix + "/wf_linkup/save",
|
1405
|
+
data: data,
|
1406
|
+
method: "post",
|
1407
|
+
isLoading: true,
|
1408
|
+
success: (resultMsg) => {
|
1409
|
+
that.$message({
|
1410
|
+
message: resultMsg.content,
|
1411
|
+
type: "success",
|
1412
|
+
duration: 500,
|
1413
|
+
onClose: (t) => {
|
1414
|
+
this.reloadContent();
|
1415
|
+
this.closeWinOnCheck(5);
|
1416
|
+
},
|
1417
|
+
});
|
1418
|
+
},
|
1419
|
+
});
|
1420
|
+
},
|
1421
|
+
openTalkUserDialog() {
|
1422
|
+
this.showTalkUserDialog = true;
|
1423
|
+
},
|
1424
|
+
confirmTalkUserDialog(rows) {
|
1425
|
+
if (rows.length > 0) {
|
1426
|
+
let row = rows[0];
|
1427
|
+
if (this.talkForm.receiver != row.id) {
|
1428
|
+
this.talkForm.replyId = null;
|
1429
|
+
}
|
1430
|
+
this.talkForm.receiver = row.id;
|
1431
|
+
this.talkForm.receiverName = row.nickName;
|
1432
|
+
}
|
1433
|
+
},
|
1434
|
+
confirmUrging() {
|
1435
|
+
this.reloadContent();
|
1436
|
+
},
|
1437
|
+
confirmDeleteTaskUser() {
|
1438
|
+
this.reloadContent();
|
1439
|
+
},
|
1440
|
+
confirmAddTaskUser(rows) {
|
1441
|
+
this.addIncreaseSignUsers = rows;
|
1442
|
+
this.addIncreaseSignForm.userNickNames = rows.map(row => row.nickName).join(',');
|
1443
|
+
// this.reloadContent();
|
1444
|
+
},
|
1445
|
+
submitAddTaskUserForm(flag) {
|
1446
|
+
let that = getTarget(this);
|
1447
|
+
let userIds = this.addIncreaseSignUsers.map((checkRow) => checkRow.id);
|
1448
|
+
if (userIds.length == 0) {
|
1449
|
+
that.$message({
|
1450
|
+
message: this.$t2('请选择候选人', 'components.wf.addIncreaseSignWarnMsg1'),
|
1451
|
+
type: "error",
|
1452
|
+
duration: 2000,
|
1453
|
+
onClose: (t) => {
|
1454
|
+
},
|
1455
|
+
});
|
1456
|
+
return false;
|
1457
|
+
}
|
1458
|
+
let toDo = () => {
|
1459
|
+
var data = JSON.stringify({
|
1460
|
+
uuid: this.wfInfo.uuid,
|
1461
|
+
taskId: this.wfInfo.taskId,
|
1462
|
+
userIds: userIds,
|
1463
|
+
suggestion: this.addIncreaseSignForm.opinion
|
1464
|
+
|
1465
|
+
});
|
1466
|
+
this.agreeDialogVisible = false;
|
1467
|
+
that.$http({
|
1468
|
+
url: this.current_prefix + "/wf/addIncreaseSign",
|
1469
|
+
data: data,
|
1470
|
+
method: "post",
|
1471
|
+
loadingTarget: document.body,
|
1472
|
+
headers: {
|
1473
|
+
"Content-Type": "application/json;charset=utf-8",
|
1474
|
+
},
|
1475
|
+
isLoading: true,
|
1476
|
+
success: (resultMsg) => {
|
1477
|
+
that.$message({
|
1478
|
+
message: resultMsg.content,
|
1479
|
+
type: "success",
|
1480
|
+
duration: 500,
|
1481
|
+
onClose: (t) => {
|
1482
|
+
this.reloadContent();
|
1483
|
+
},
|
1484
|
+
});
|
1485
|
+
},
|
1486
|
+
});
|
1487
|
+
}
|
1488
|
+
if (flag === 0) {
|
1489
|
+
toDo();
|
1490
|
+
} else {
|
1491
|
+
that.$baseConfirm(this.$t2('您确定要加签吗?', 'components.wf.addIncreaseSignConfirmTip')).then(() => {
|
1492
|
+
toDo();
|
1493
|
+
});
|
1494
|
+
}
|
1495
|
+
},
|
1496
|
+
openSetCandidateDialog(operateType) {
|
1497
|
+
this.operateType = operateType;
|
1498
|
+
this.showSetCandidateDialog = true;
|
1499
|
+
},
|
1500
|
+
closeSetCandidateDialog() {
|
1501
|
+
this.showSetCandidateDialog = false;
|
1502
|
+
this.reloadContent();
|
1503
|
+
},
|
1504
|
+
openRevokeDialog(operateType) {
|
1505
|
+
this.operateType = operateType;
|
1506
|
+
this.revokeForm = {opinion: null}
|
1507
|
+
this.revokeDialogVisible = true;
|
1508
|
+
},
|
1509
|
+
subRevokeForm(flag) {
|
1510
|
+
//撤回
|
1511
|
+
let that = getTarget(this);
|
1512
|
+
let toDo = () => {
|
1513
|
+
var data = JSON.stringify({
|
1514
|
+
uuid: this.wfInfo.uuid,
|
1515
|
+
taskId: this.wfInfo.taskId,
|
1516
|
+
suggestion: this.revokeForm.opinion,
|
1517
|
+
});
|
1518
|
+
this.revokeDialogVisible = false;
|
1519
|
+
that.$http({
|
1520
|
+
url: this.current_prefix + "/wf/revoke",
|
1521
|
+
data: data,
|
1522
|
+
method: "post",
|
1523
|
+
loadingTarget: document.body,
|
1524
|
+
headers: {
|
1525
|
+
"Content-Type": "application/json;charset=utf-8",
|
1526
|
+
},
|
1527
|
+
isLoading: true,
|
1528
|
+
success: (resultMsg) => {
|
1529
|
+
that.$message({
|
1530
|
+
message: resultMsg.content,
|
1531
|
+
type: "success",
|
1532
|
+
duration: 500,
|
1533
|
+
onClose: (t) => {
|
1534
|
+
this.reloadContent();
|
1535
|
+
},
|
1536
|
+
});
|
1537
|
+
},
|
1538
|
+
});
|
1539
|
+
}
|
1540
|
+
if (flag === 0) {
|
1541
|
+
toDo();
|
1542
|
+
} else {
|
1543
|
+
that.$baseConfirm(this.$t2('您确定要撤回吗?', 'components.wf.revokeConfirmTip')).then(() => {
|
1544
|
+
toDo();
|
1545
|
+
});
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
}
|
1550
|
+
</script>
|
1551
|
+
|
1552
|
+
<style scoped>
|
1553
|
+
::v-deep .form-box.el-form .el-form-item .el-form-item__label {
|
1554
|
+
width: 70px
|
1555
|
+
}
|
1556
|
+
</style>
|