cloud-web-corejs 1.0.54-dev.33 → 1.0.54-dev.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -3
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/VabUpload/index.vue +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +135 -119
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/baseInputExport/mixins.js +386 -1
- package/src/components/errorMsg/mixins.js +94 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +7 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +750 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +23 -24
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +335 -212
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +69 -26
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +333 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +138 -28
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +95 -0
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1647 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +289 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1312 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1590 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +652 -379
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +107 -81
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +22 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +259 -58
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +927 -159
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +71 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1079 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1160 -511
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +27 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1478 -865
- package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
- package/src/components/xform/form-render/container-item/data-table-mixin.js +2580 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +3129 -4
- package/src/components/xform/lang/zh-CN.js +18 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +174 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +669 -0
- package/src/components/xform/utils/util.js +1451 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/index.js +2 -2
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +61 -8
- package/src/store/config/index.js +1 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +51 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +422 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +5 -5
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +688 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
- package/src/views/bd/setting/form_template/wf_list.vue +127 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -1
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +317 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +268 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +439 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/area/dialog.vue +21 -9
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +775 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +68 -15
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/login/default.vue +32 -3
- package/src/views/user/login/indexMixin.js +117 -3
- package/src/views/user/notify_message/dialog.vue +23 -8
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/edit.vue +55 -54
- package/src/views/user/position/list.vue +4 -4
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_edit.vue +63 -2
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +22 -3
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +30 -1
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -0,0 +1,158 @@
|
|
1
|
+
<template>
|
2
|
+
<el-dialog
|
3
|
+
:title="$t1('用户列表')"
|
4
|
+
:append-to-body="true"
|
5
|
+
:modal-append-to-body="true"
|
6
|
+
:close-on-click-modal="falseValue"
|
7
|
+
:visible.sync="showDialog"
|
8
|
+
:modal="falseValue"
|
9
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_0"
|
10
|
+
width="1200px"
|
11
|
+
@close="dialogClose"
|
12
|
+
v-el-drag-dialog
|
13
|
+
v-el-dialog-center
|
14
|
+
>
|
15
|
+
<div class="cont" style="height:65vh">
|
16
|
+
<vxe-grid
|
17
|
+
class="is-pointer"
|
18
|
+
ref="table-m1"
|
19
|
+
v-bind="vxeOption"
|
20
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
21
|
+
@custom="$vxeTableUtil.customHandle"
|
22
|
+
@checkbox-change="addDataTable"
|
23
|
+
@checkbox-all="checkAll"
|
24
|
+
@cell-dblclick="checkWithSubmit"
|
25
|
+
>
|
26
|
+
<template #form>
|
27
|
+
<div class="clearfix screen-btns">
|
28
|
+
<div class="fr">
|
29
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
30
|
+
plain>{{ $t1('重置') }}
|
31
|
+
</vxe-button>
|
32
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
33
|
+
{{ $t1('搜索') }}
|
34
|
+
</vxe-button>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
|
38
|
+
@reset="resetEvent">
|
39
|
+
<vxe-form-item :title="$t1('登录名')+':'" field="loginAccount">
|
40
|
+
<template v-slot>
|
41
|
+
<el-input v-model="formData.loginAccount" size="small" clearable/>
|
42
|
+
</template>
|
43
|
+
</vxe-form-item>
|
44
|
+
<vxe-form-item :title="$t1('姓名')+':'" field="nickName">
|
45
|
+
<template v-slot>
|
46
|
+
<el-input v-model="formData.nickName" size="small" clearable/>
|
47
|
+
</template>
|
48
|
+
</vxe-form-item>
|
49
|
+
<vxe-button type="submit" @click="searchEvent" v-show="false"></vxe-button>
|
50
|
+
</vxe-form>
|
51
|
+
</template>
|
52
|
+
</vxe-grid>
|
53
|
+
</div>
|
54
|
+
<label id="labBtn" class="transverse">
|
55
|
+
<div class="icon">
|
56
|
+
<i class="el-icon-more"></i>
|
57
|
+
<i class="el-icon-more"></i>
|
58
|
+
</div>
|
59
|
+
</label>
|
60
|
+
<div class="multipleChoice">
|
61
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
|
62
|
+
class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
|
63
|
+
<div class="list">
|
64
|
+
<div class="item" v-for="(checkRow, index) in checkRows" :key="index">
|
65
|
+
<p>{{ getCheckLabel(checkRow,'nickName') }}</p>
|
66
|
+
<a class="el-icon-close" @click="clearTable1Select(index)"></a>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
<span slot="footer" class="dialog-footer">
|
71
|
+
<span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
|
72
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
73
|
+
<i class="el-icon-close el-icon"></i>
|
74
|
+
{{ $t1('取 消') }}
|
75
|
+
</el-button>
|
76
|
+
<el-button type="primary" @click="dialogPrimary" class="button-sty">
|
77
|
+
<i class="el-icon-check el-icon"></i>
|
78
|
+
{{ $t1('确 定') }}
|
79
|
+
</el-button>
|
80
|
+
</span>
|
81
|
+
</el-dialog>
|
82
|
+
</template>
|
83
|
+
|
84
|
+
<script>
|
85
|
+
import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
|
86
|
+
|
87
|
+
export default {
|
88
|
+
name: 'userDialog',
|
89
|
+
props: ['visiable', 'multi', 'rows', 'param'],
|
90
|
+
mixins: [selectDialogMixins],
|
91
|
+
created() {
|
92
|
+
this.initSetting();
|
93
|
+
if (this.param) {
|
94
|
+
if (this.param.userType !== null) {
|
95
|
+
this.userType = this.param.userType;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
},
|
99
|
+
mounted() {
|
100
|
+
this.initTableM1();
|
101
|
+
},
|
102
|
+
data() {
|
103
|
+
var that = this;
|
104
|
+
return {
|
105
|
+
showDialog: true,
|
106
|
+
falseValue: false,
|
107
|
+
userType: 0,
|
108
|
+
formData: {
|
109
|
+
saleOrgId: '',
|
110
|
+
saleOrgName: ''
|
111
|
+
},
|
112
|
+
selectMulti: true,
|
113
|
+
vxeOption: {}
|
114
|
+
};
|
115
|
+
},
|
116
|
+
methods: {
|
117
|
+
initTableM1() {
|
118
|
+
var that = this;
|
119
|
+
let tableOption = {
|
120
|
+
vue: that,
|
121
|
+
tableRef: 'table-m1',
|
122
|
+
tableName: 'user_user_form_dialog-m1',
|
123
|
+
path: USER_PREFIX + '/user/listCurrentPage',
|
124
|
+
param: () => {
|
125
|
+
// this.formData.userType = this.userType;
|
126
|
+
return {
|
127
|
+
enabled: true,
|
128
|
+
...this.formData,
|
129
|
+
...this.param
|
130
|
+
}
|
131
|
+
},
|
132
|
+
config: {
|
133
|
+
checkboxConfig: {
|
134
|
+
checkStrictly: true,
|
135
|
+
showHeader: this.selectMulti,
|
136
|
+
trigger: 'row'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
columns: [
|
140
|
+
{type: 'checkbox', width: 50, resizable: false, fixed: 'left'},
|
141
|
+
{title: this.$t1('登录名'), field: 'loginAccount', width: 250, fixed: 'left'},
|
142
|
+
{field: 'nickName', title: this.$t1('姓名'), width: 150},
|
143
|
+
{field: 'groupName', title: this.$t1('用户组'), width: 250},
|
144
|
+
{
|
145
|
+
width: 47,
|
146
|
+
fixed: 'right',
|
147
|
+
title: '',
|
148
|
+
sortable: false
|
149
|
+
}
|
150
|
+
]
|
151
|
+
};
|
152
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
153
|
+
that.vxeOption = opts;
|
154
|
+
});
|
155
|
+
}
|
156
|
+
}
|
157
|
+
};
|
158
|
+
</script>
|
@@ -137,6 +137,7 @@
|
|
137
137
|
<script>
|
138
138
|
import xeUtils from "xe-utils";
|
139
139
|
import groudDialog from "@base/views/user/groups/dialog.vue";
|
140
|
+
import {getBdEnv} from "@base/api/user";
|
140
141
|
|
141
142
|
export default {
|
142
143
|
name: 'UserEdit',
|
@@ -229,8 +230,9 @@ export default {
|
|
229
230
|
userInfo: {},
|
230
231
|
userGroups: [],
|
231
232
|
showGroupDialog: false,
|
232
|
-
vxeOption:{},
|
233
|
-
menuKindAuthDTOs:[]
|
233
|
+
vxeOption: {},
|
234
|
+
menuKindAuthDTOs: [],
|
235
|
+
isDev: true
|
234
236
|
};
|
235
237
|
},
|
236
238
|
computed: {
|
@@ -247,6 +249,7 @@ export default {
|
|
247
249
|
this.getUserGroups()
|
248
250
|
this.getData();
|
249
251
|
this.getConpanyInfo()
|
252
|
+
await this.initBdEnv();
|
250
253
|
this.initTableM1();
|
251
254
|
},
|
252
255
|
methods: {
|
@@ -254,6 +257,7 @@ export default {
|
|
254
257
|
if (this.dataId && !isNaN(this.dataId)) {
|
255
258
|
this.isEdit = true;
|
256
259
|
this.$commonHttp({
|
260
|
+
aes: true,
|
257
261
|
url: USER_PREFIX + `/user/get`,
|
258
262
|
method: `post`,
|
259
263
|
data: {
|
@@ -297,6 +301,7 @@ export default {
|
|
297
301
|
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
298
302
|
var url = USER_PREFIX + (this.isEdit ? '/user/update' : '/user/save');
|
299
303
|
this.$http({
|
304
|
+
aes: true,
|
300
305
|
url: url,
|
301
306
|
method: `post`,
|
302
307
|
data: this.user,
|
@@ -327,6 +332,7 @@ export default {
|
|
327
332
|
getSaleOrgData() {
|
328
333
|
if (this.dataId) {
|
329
334
|
this.$http({
|
335
|
+
aes: true,
|
330
336
|
url: USER_PREFIX + '/user/getUserSaleOrg',
|
331
337
|
method: `post`,
|
332
338
|
data: {id: this.dataId},
|
@@ -347,6 +353,7 @@ export default {
|
|
347
353
|
getUserRoleData() {
|
348
354
|
if (this.dataId) {
|
349
355
|
this.$http({
|
356
|
+
aes: true,
|
350
357
|
url: USER_PREFIX + '/user/getUserRole',
|
351
358
|
method: `post`,
|
352
359
|
data: {id: this.dataId},
|
@@ -370,6 +377,7 @@ export default {
|
|
370
377
|
getCompanyInfoData(callback) {
|
371
378
|
if (this.dataId) {
|
372
379
|
this.$http({
|
380
|
+
aes: true,
|
373
381
|
url: USER_PREFIX + '/user/getUserCompanyInfo',
|
374
382
|
method: `post`,
|
375
383
|
data: {id: this.dataId},
|
@@ -419,6 +427,7 @@ export default {
|
|
419
427
|
},
|
420
428
|
getConpanyInfo() {
|
421
429
|
this.$http({
|
430
|
+
aes: true,
|
422
431
|
url: USER_PREFIX + '/company_info/getCurrent',
|
423
432
|
method: `post`,
|
424
433
|
isLoading: true,
|
@@ -445,6 +454,7 @@ export default {
|
|
445
454
|
this.$baseConfirm(this.$t1('您确定要解锁吗?')).then(() => {
|
446
455
|
var url = USER_PREFIX + '/user/unlockLoginAccount';
|
447
456
|
this.$http({
|
457
|
+
aes: true,
|
448
458
|
url: url,
|
449
459
|
method: `post`,
|
450
460
|
data: {
|
@@ -473,6 +483,7 @@ export default {
|
|
473
483
|
},
|
474
484
|
getUserInfo() {
|
475
485
|
return this.$http({
|
486
|
+
aes: true,
|
476
487
|
url: USER_PREFIX + '/user/currentUser',
|
477
488
|
method: 'post',
|
478
489
|
success: res => {
|
@@ -486,6 +497,7 @@ export default {
|
|
486
497
|
},
|
487
498
|
getUserGroups() {
|
488
499
|
return this.$http({
|
500
|
+
aes: true,
|
489
501
|
url: USER_PREFIX + '/groups/listPage',
|
490
502
|
method: 'post',
|
491
503
|
data: {},
|
@@ -507,6 +519,48 @@ export default {
|
|
507
519
|
width: 350,
|
508
520
|
fixed: 'left'
|
509
521
|
},
|
522
|
+
{
|
523
|
+
title: this.$t1('编辑'),
|
524
|
+
field: 'editAuth',
|
525
|
+
width: 150,
|
526
|
+
slots: {
|
527
|
+
default: ({row}) => {
|
528
|
+
if (row.editAuth) {
|
529
|
+
return [<div class="txt-status">{this.$t1('是')}</div>];
|
530
|
+
} else {
|
531
|
+
return [<div class="txt-status s-3">{this.$t1('否')}</div>];
|
532
|
+
}
|
533
|
+
}
|
534
|
+
}
|
535
|
+
},
|
536
|
+
{
|
537
|
+
title: this.$t1('导出发布'),
|
538
|
+
field: 'exportAuth',
|
539
|
+
width: 150,
|
540
|
+
slots: {
|
541
|
+
default: ({row}) => {
|
542
|
+
if (row.exportAuth) {
|
543
|
+
return [<div class="txt-status">{this.$t1('是')}</div>];
|
544
|
+
} else {
|
545
|
+
return [<div class="txt-status s-3">{this.$t1('否')}</div>];
|
546
|
+
}
|
547
|
+
}
|
548
|
+
}
|
549
|
+
},
|
550
|
+
...(this.isDev ? [{
|
551
|
+
title: this.$t1('可选导出发布类型'),
|
552
|
+
field: 'selectTypeAuth',
|
553
|
+
width: 200,
|
554
|
+
slots: {
|
555
|
+
default: ({row}) => {
|
556
|
+
if (row.selectTypeAuth) {
|
557
|
+
return [<div class="txt-status">{this.$t1('是')}</div>];
|
558
|
+
} else {
|
559
|
+
return [<div class="txt-status s-3">{this.$t1('否')}</div>];
|
560
|
+
}
|
561
|
+
}
|
562
|
+
}
|
563
|
+
}] : []),
|
510
564
|
{
|
511
565
|
width: 47,
|
512
566
|
fixed: 'right',
|
@@ -534,6 +588,13 @@ export default {
|
|
534
588
|
});
|
535
589
|
}
|
536
590
|
},
|
591
|
+
initBdEnv() {
|
592
|
+
return getBdEnv({
|
593
|
+
success: res => {
|
594
|
+
this.isDev = res.objx == "dev"
|
595
|
+
}
|
596
|
+
});
|
597
|
+
},
|
537
598
|
}
|
538
599
|
};
|
539
600
|
</script>
|
@@ -0,0 +1,210 @@
|
|
1
|
+
<template>
|
2
|
+
<el-dialog
|
3
|
+
:title="$t1('个人设置')"
|
4
|
+
:append-to-body="true"
|
5
|
+
:modal-append-to-body="falseValue"
|
6
|
+
:close-on-click-modal="falseValue"
|
7
|
+
:visible.sync="showDialog"
|
8
|
+
:modal="falseValue"
|
9
|
+
custom-class="dialog-style list-dialog demo-sty_2"
|
10
|
+
width="500px"
|
11
|
+
@close="dialogClose"
|
12
|
+
v-el-drag-dialog
|
13
|
+
v-el-dialog-center
|
14
|
+
>
|
15
|
+
<div id="containt" style="height: 300px">
|
16
|
+
<div class="detail-wrap">
|
17
|
+
<el-form ref="editForm" :model="user">
|
18
|
+
<div class="d-header clearfix">
|
19
|
+
<div class="fl">
|
20
|
+
<i class="el-icon-info"/>
|
21
|
+
{{ dataId ? $t1('查看用户') : $t1('新增用户') }}
|
22
|
+
</div>
|
23
|
+
<div class="fr">
|
24
|
+
<el-button type="primary" plain class="button-sty" @click="reloadContent" icon="el-icon-refresh-right">
|
25
|
+
{{ $t1('重置') }}
|
26
|
+
</el-button>
|
27
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
|
28
|
+
</el-button>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
<div class="d-cont" style="height: auto">
|
32
|
+
<div class="d-item" style="padding-right: 0">
|
33
|
+
<div class="title first"><b>{{ $t1('基本信息') }}</b></div>
|
34
|
+
<table class="table-detail">
|
35
|
+
<tbody>
|
36
|
+
<tr>
|
37
|
+
<th>
|
38
|
+
<em class="f-red">*</em>
|
39
|
+
{{ $t1('登录名') }}
|
40
|
+
</th>
|
41
|
+
<td colspan="3">
|
42
|
+
{{ user.loginAccount }}
|
43
|
+
</td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<th>
|
47
|
+
<em class="f-red">*</em>
|
48
|
+
{{ $t1('姓名') }}
|
49
|
+
</th>
|
50
|
+
<td colspan="3">
|
51
|
+
<el-form-item prop="nickName" :rules="[{ required: true, trigger: 'blur' }]">
|
52
|
+
<el-input size="small" v-model="user.nickName" maxlength="200" lay-verify="required" required=""
|
53
|
+
clearable/>
|
54
|
+
</el-form-item>
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr>
|
58
|
+
<th>{{ $t1('密码') }}</th>
|
59
|
+
<td colspan="3">
|
60
|
+
<el-form-item prop="password" :rules="passRules">
|
61
|
+
<el-input
|
62
|
+
size="small"
|
63
|
+
type="password"
|
64
|
+
v-model="user.password"
|
65
|
+
show-password
|
66
|
+
maxlength="255"
|
67
|
+
autocomplete="off"
|
68
|
+
auto-complete="new-password"
|
69
|
+
clearable
|
70
|
+
/>
|
71
|
+
</el-form-item>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<th>{{ $t1('确认密码') }}</th>
|
76
|
+
<td colspan="3">
|
77
|
+
<el-form-item prop="rePassword" :rules="pass2Rules">
|
78
|
+
<el-input
|
79
|
+
size="small"
|
80
|
+
type="password"
|
81
|
+
v-model="user.rePassword"
|
82
|
+
show-password
|
83
|
+
maxlength="255"
|
84
|
+
autocomplete="off"
|
85
|
+
auto-complete="new-password"
|
86
|
+
lay-verify="confirmPass"
|
87
|
+
clearable
|
88
|
+
/>
|
89
|
+
</el-form-item>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
</tbody>
|
93
|
+
</table>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</el-form>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
</el-dialog>
|
100
|
+
</template>
|
101
|
+
|
102
|
+
<script>
|
103
|
+
export default {
|
104
|
+
name: 'userInfo',
|
105
|
+
components: {},
|
106
|
+
props: ['_dataId'],
|
107
|
+
created() {
|
108
|
+
if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
|
109
|
+
},
|
110
|
+
mounted() {
|
111
|
+
this.getData();
|
112
|
+
},
|
113
|
+
data() {
|
114
|
+
var validatePass = (rule, value, callback) => {
|
115
|
+
const isPassRequired = !this.dataId;
|
116
|
+
if (isPassRequired && (value == '' || value == undefined)) {
|
117
|
+
callback(new Error(this.$t1('密码不能为空')));
|
118
|
+
} else {
|
119
|
+
callback();
|
120
|
+
}
|
121
|
+
this.$refs.editForm.validateField('rePassword');
|
122
|
+
};
|
123
|
+
var validatePass2 = (rule, value, callback) => {
|
124
|
+
const isPassRequired = !this.dataId;
|
125
|
+
const rePassword = value != undefined ? value : '';
|
126
|
+
const password = this.user.password != undefined ? this.user.password : '';
|
127
|
+
|
128
|
+
if (isPassRequired && rePassword == '') {
|
129
|
+
callback(new Error(this.$t1('确认密码不能为空')));
|
130
|
+
} else if (rePassword != password) {
|
131
|
+
callback(new Error(this.$t1('两次输入密码不一致!')));
|
132
|
+
} else {
|
133
|
+
callback();
|
134
|
+
}
|
135
|
+
};
|
136
|
+
return {
|
137
|
+
showDialog: true,
|
138
|
+
falseValue: false,
|
139
|
+
dataId: '',
|
140
|
+
hBtn: true,
|
141
|
+
user: {},
|
142
|
+
vxeOption: {},
|
143
|
+
companyInfoOption: {},
|
144
|
+
userRoleOption: {},
|
145
|
+
showContent: true,
|
146
|
+
passRules: [{validator: validatePass, trigger: 'blur', required: false}],
|
147
|
+
pass2Rules: [{validator: validatePass2, trigger: 'blur', required: false}]
|
148
|
+
};
|
149
|
+
},
|
150
|
+
methods: {
|
151
|
+
getData() {
|
152
|
+
let t = this._dataId;
|
153
|
+
if (this.dataId && !isNaN(this.dataId)) {
|
154
|
+
this.isEdit = true;
|
155
|
+
this.$commonHttp({
|
156
|
+
url: USER_PREFIX + `/user/get`,
|
157
|
+
method: `post`,
|
158
|
+
data: {
|
159
|
+
id: this.dataId
|
160
|
+
},
|
161
|
+
isLoading: true,
|
162
|
+
modalStrictly: true,
|
163
|
+
success: res => {
|
164
|
+
var user = res.objx || {};
|
165
|
+
this.user = res.objx || {};
|
166
|
+
this.user.password = '';
|
167
|
+
}
|
168
|
+
});
|
169
|
+
} else {
|
170
|
+
this.isEdit = false;
|
171
|
+
this.user = {
|
172
|
+
enabled: true
|
173
|
+
};
|
174
|
+
}
|
175
|
+
},
|
176
|
+
saveData() {
|
177
|
+
this.$refs.editForm.$baseValidate(valid => {
|
178
|
+
if (valid) {
|
179
|
+
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
180
|
+
var url = USER_PREFIX + '/user/updateUserInfo';
|
181
|
+
this.$http({
|
182
|
+
url: url,
|
183
|
+
method: `post`,
|
184
|
+
data: this.user,
|
185
|
+
isLoading: true,
|
186
|
+
success: res => {
|
187
|
+
this.$message({
|
188
|
+
message: res.content,
|
189
|
+
type: 'success',
|
190
|
+
duration: 500,
|
191
|
+
onClose: t => {
|
192
|
+
this.reloadContent();
|
193
|
+
}
|
194
|
+
});
|
195
|
+
}
|
196
|
+
});
|
197
|
+
});
|
198
|
+
}
|
199
|
+
});
|
200
|
+
},
|
201
|
+
dialogClose() {
|
202
|
+
this.$emit('update:visiable', false);
|
203
|
+
},
|
204
|
+
reloadContent() {
|
205
|
+
this.user = {};
|
206
|
+
this.getData();
|
207
|
+
}
|
208
|
+
}
|
209
|
+
};
|
210
|
+
</script>
|
@@ -205,6 +205,24 @@ export default {
|
|
205
205
|
});
|
206
206
|
},
|
207
207
|
initTableList() {
|
208
|
+
let otherColumns = [];
|
209
|
+
let userType = this.userType
|
210
|
+
if(userType==1){
|
211
|
+
|
212
|
+
}else if(userType==2){
|
213
|
+
otherColumns.push(...[
|
214
|
+
{
|
215
|
+
field: 'signatoryName',
|
216
|
+
title: this.$t1('签约人'),
|
217
|
+
width: 150
|
218
|
+
},
|
219
|
+
{
|
220
|
+
field: 'signatoryMobile',
|
221
|
+
title: this.$t1('签约人电话'),
|
222
|
+
width: 150
|
223
|
+
},
|
224
|
+
])
|
225
|
+
}
|
208
226
|
let tableOption = {
|
209
227
|
vue: this,
|
210
228
|
tableRef: 'table-m1',
|
@@ -217,7 +235,7 @@ export default {
|
|
217
235
|
};
|
218
236
|
let outUserCodes = this.outUserCodes;
|
219
237
|
if (this.userType == 1) {
|
220
|
-
|
238
|
+
//组织用户
|
221
239
|
formData.neRoleCodes = [...outUserCodes];
|
222
240
|
} else if (this.userType == 2) {
|
223
241
|
//外部用户
|
@@ -345,6 +363,7 @@ export default {
|
|
345
363
|
title: this.$t1('所属组织'),
|
346
364
|
width: 250
|
347
365
|
},
|
366
|
+
...otherColumns,
|
348
367
|
{
|
349
368
|
field: 'createBy',
|
350
369
|
title: this.$t1('创建人'),
|
@@ -493,7 +512,7 @@ export default {
|
|
493
512
|
let rows = res.objx || [];
|
494
513
|
let outUserCodes = this.outUserCodes;
|
495
514
|
if (this.userType == 1) {
|
496
|
-
|
515
|
+
//组织用户
|
497
516
|
rows = rows.filter(row => !outUserCodes.includes(row.code));
|
498
517
|
} else if (this.userType == 2) {
|
499
518
|
//外部用户
|
@@ -535,7 +554,7 @@ export default {
|
|
535
554
|
let rows = res.objx || [];
|
536
555
|
let outUserCodes = this.outUserCodes;
|
537
556
|
if (this.userType == 1) {
|
538
|
-
|
557
|
+
//组织用户
|
539
558
|
rows = rows.filter(row => !outUserCodes.includes(row.code));
|
540
559
|
} else if (this.userType == 2) {
|
541
560
|
//外部用户
|
@@ -100,6 +100,7 @@
|
|
100
100
|
size="small"
|
101
101
|
clearable
|
102
102
|
value-format="yyyy-MM-dd HH:mm:ss"
|
103
|
+
default-time="23:59:59"
|
103
104
|
:picker-options="$baseEndPickerOptions(formData.startToExeTime)"
|
104
105
|
></el-date-picker>
|
105
106
|
</template>
|
@@ -211,6 +212,7 @@
|
|
211
212
|
size="small"
|
212
213
|
clearable
|
213
214
|
value-format="yyyy-MM-dd HH:mm:ss"
|
215
|
+
default-time="23:59:59"
|
214
216
|
:picker-options="$baseEndPickerOptions(formData2.startToExeTime)"
|
215
217
|
></el-date-picker>
|
216
218
|
</template>
|
@@ -93,6 +93,35 @@
|
|
93
93
|
</el-select>
|
94
94
|
</template>
|
95
95
|
</vxe-form-item>
|
96
|
+
<vxe-form-item :title="$t1('启动人')+':'" field="starterName">
|
97
|
+
<template v-slot>
|
98
|
+
<el-input v-model="formData.starterName" size="small" clearable/>
|
99
|
+
</template>
|
100
|
+
</vxe-form-item>
|
101
|
+
<vxe-form-item title="启动时间:">
|
102
|
+
<template v-slot>
|
103
|
+
<el-date-picker
|
104
|
+
v-model="formData.startTime"
|
105
|
+
type="datetime"
|
106
|
+
placeholder=""
|
107
|
+
size="small"
|
108
|
+
clearable
|
109
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
110
|
+
:picker-options="$baseStartPickerOptions(formData.endTime)"
|
111
|
+
></el-date-picker>
|
112
|
+
<span>-</span>
|
113
|
+
<el-date-picker
|
114
|
+
v-model="formData.endTime"
|
115
|
+
type="datetime"
|
116
|
+
placeholder=""
|
117
|
+
size="small"
|
118
|
+
clearable
|
119
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
120
|
+
default-time="23:59:59"
|
121
|
+
:picker-options="$baseEndPickerOptions(formData.startTime)"
|
122
|
+
></el-date-picker>
|
123
|
+
</template>
|
124
|
+
</vxe-form-item>
|
96
125
|
</vxe-form>
|
97
126
|
</template>
|
98
127
|
</vxe-grid>
|
@@ -370,7 +399,7 @@ export default {
|
|
370
399
|
dataId: wfDataId
|
371
400
|
};
|
372
401
|
let url = '/user/form/vform/render.vue';
|
373
|
-
this.wfContent = require('
|
402
|
+
this.wfContent = require('@base/views' + url).default;
|
374
403
|
} else {
|
375
404
|
this.param = {
|
376
405
|
_dataId: wfDataId
|
@@ -87,7 +87,7 @@ export default {
|
|
87
87
|
dataId: wfDataId
|
88
88
|
});
|
89
89
|
let url = '/user/form/vform/render.vue';
|
90
|
-
this.wfContent = require('
|
90
|
+
this.wfContent = require('@base/views' + url).default;
|
91
91
|
} else {
|
92
92
|
this.param = Object.assign(param, {
|
93
93
|
_dataId: wfDataId
|