cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -3
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +218 -120
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/baseInputExport/mixins.js +386 -1
- package/src/components/errorMsg/mixins.js +94 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +16 -6
- package/src/components/excelExport/index.js +7 -5
- package/src/components/excelExport/index.vue +64 -8
- package/src/components/excelExport/mixins.js +3 -2
- package/src/components/excelImport/mixins.js +750 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +23 -24
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +335 -212
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +69 -26
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +333 -1
- package/src/components/langImport/mixins.js +500 -16
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/vb-tabs/x-tabs.vue +3 -2
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +833 -362
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +131 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +95 -0
- package/src/components/wf/wf.js +2117 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1649 -3
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +289 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1331 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1615 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +652 -379
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +10 -8
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +107 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +185 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +108 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +259 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +725 -0
- package/src/components/xform/form-designer/indexMixin.js +825 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +927 -159
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +376 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1196 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1160 -511
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +32 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +62 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +52 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +30 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1576 -874
- package/src/components/xform/form-render/container-item/containerItemMixin.js +359 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +89 -42
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +13 -26
- package/src/components/xform/lang/zh-CN.js +20 -3
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +175 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util.js +669 -0
- package/src/components/xform/utils/util.js +1451 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/index.js +2 -2
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +50 -6
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/tableTree/index.js +1 -1
- package/src/router/modules/customer.js +61 -8
- package/src/store/config/index.js +1 -532
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -1
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +359 -1
- package/src/utils/vab.js +1113 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +66 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +1 -1
- package/src/views/bd/setting/form_script/list1.vue +4 -4
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +5 -5
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +140 -75
- package/src/views/bd/setting/form_template/{list2.vue → wf_list.vue} +25 -35
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +122 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +358 -0
- package/src/views/bd/setting/menu_kind/list.vue +4 -0
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +4 -4
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/area/dialog.vue +21 -9
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -154
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/form/vform/designer.vue +775 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +68 -15
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/login/default.vue +32 -3
- package/src/views/user/login/indexMixin.js +117 -3
- package/src/views/user/notify_message/dialog.vue +39 -18
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/outLink/view.vue +28 -23
- package/src/views/user/position/edit.vue +116 -83
- package/src/views/user/position/list.vue +118 -86
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_edit.vue +9 -0
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/wf/wfReport/index.vue +448 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +114 -9
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
- package/src/views/user/wf/wf_transfer_setting/edit.vue +229 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +308 -0
- package/src/views/bd/setting/form_template/mixins/list2.js +0 -12
@@ -56,17 +56,17 @@ export default {
|
|
56
56
|
delete queryParam.urlmobile;
|
57
57
|
delete queryParam.url;
|
58
58
|
|
59
|
-
if(purl.indexOf('.html')>=0){
|
59
|
+
if (purl.indexOf('.html') >= 0) {
|
60
60
|
let eUrl = purl;
|
61
|
-
let pstr = Object.keys(queryParam).map(key=>{
|
62
|
-
return key+"="+queryParam[key]
|
61
|
+
let pstr = Object.keys(queryParam).map(key => {
|
62
|
+
return key + "=" + queryParam[key]
|
63
63
|
}).join("&")
|
64
64
|
|
65
|
-
if(pstr){
|
66
|
-
if(purl.indexOf('.html?')>=0){
|
67
|
-
eUrl = eUrl+'&'+pstr
|
68
|
-
}else{
|
69
|
-
eUrl = eUrl+'?'+pstr
|
65
|
+
if (pstr) {
|
66
|
+
if (purl.indexOf('.html?') >= 0) {
|
67
|
+
eUrl = eUrl + '&' + pstr
|
68
|
+
} else {
|
69
|
+
eUrl = eUrl + '?' + pstr
|
70
70
|
}
|
71
71
|
}
|
72
72
|
|
@@ -81,8 +81,6 @@ export default {
|
|
81
81
|
delete queryParam.thirdparty_info;
|
82
82
|
delete queryParam.i18nLang;
|
83
83
|
|
84
|
-
|
85
|
-
|
86
84
|
let url = purl + '.vue';
|
87
85
|
this.queryParam = queryParam;
|
88
86
|
this.showWfContent = true;
|
@@ -93,27 +91,34 @@ export default {
|
|
93
91
|
'/user/form/view/list.vue',
|
94
92
|
'/user/form/view/edit.vue'
|
95
93
|
]
|
96
|
-
|
97
|
-
this.
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
94
|
+
this.initUserInfo(() => {
|
95
|
+
this.initI18n();
|
96
|
+
if (urlArr.includes(url)) {
|
97
|
+
this.wfContent = require('@base/views' + url).default;
|
98
|
+
} else if (url.startsWith(t)) {
|
99
|
+
let path = url.slice(t.length);
|
100
|
+
this.wfContent = require('@base/views' + path).default;
|
101
|
+
} else {
|
102
|
+
this.wfContent = require('@/views' + url).default;
|
103
|
+
}
|
104
|
+
})
|
105
|
+
},
|
106
|
+
initUserInfo(callback) {
|
107
|
+
this.$store
|
108
|
+
.dispatch('user/getInfo2')
|
109
|
+
.then(() => {
|
110
|
+
callback && callback();
|
111
|
+
});
|
107
112
|
},
|
108
113
|
getI18nLang() {
|
109
114
|
let i18nLang = this.$route.query.i18nLang || "zh";
|
110
115
|
return i18nLang;
|
111
116
|
},
|
112
|
-
initI18n() {
|
117
|
+
async initI18n() {
|
113
118
|
let lang = this.getI18nLang();
|
114
119
|
this.$i18n.locale = lang // 设置给本地的i18n插件
|
115
120
|
localStorage.setItem("i18n-lang", lang);
|
116
|
-
indexUtil.initI18nMessage("business", lang, true);
|
121
|
+
await indexUtil.initI18nMessage("business", lang, true);
|
117
122
|
},
|
118
123
|
login() {
|
119
124
|
let token = this.$route.query.access_token;
|
@@ -3,90 +3,127 @@
|
|
3
3
|
<el-form ref="editForm" :model="position">
|
4
4
|
<div class="d-header clearfix">
|
5
5
|
<div class="fl">
|
6
|
-
<i class="el-icon-info"/>
|
7
|
-
{{ dataId ? $t1(
|
6
|
+
<i class="el-icon-info" />
|
7
|
+
{{ dataId ? $t1("查看岗位") : $t1("新增岗位") }}
|
8
8
|
</div>
|
9
9
|
<div class="fr">
|
10
|
-
<el-button
|
11
|
-
|
10
|
+
<el-button
|
11
|
+
type="primary"
|
12
|
+
plain
|
13
|
+
class="button-sty"
|
14
|
+
@click="$baseReload()"
|
15
|
+
icon="el-icon-refresh-right"
|
16
|
+
>
|
17
|
+
{{ $t1("重置") }}
|
12
18
|
</el-button>
|
13
|
-
<el-button
|
19
|
+
<el-button
|
20
|
+
type="primary"
|
21
|
+
class="button-sty"
|
22
|
+
icon="el-icon-check"
|
23
|
+
@click="saveData"
|
24
|
+
>{{ $t1("保存") }}
|
14
25
|
</el-button>
|
15
26
|
</div>
|
16
27
|
</div>
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
28
|
+
<baseTabs>
|
29
|
+
<baseTabPane :label="$t1('基本信息')">
|
30
|
+
<template #default>
|
31
|
+
<table class="table-detail">
|
32
|
+
<tbody>
|
33
|
+
<tr>
|
34
|
+
<th>
|
35
|
+
<em class="f-red">*</em>
|
36
|
+
{{ $t1("岗位名称") }}
|
37
|
+
</th>
|
38
|
+
<td>
|
39
|
+
<el-form-item
|
40
|
+
prop="name"
|
41
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
42
|
+
>
|
43
|
+
<el-input
|
44
|
+
type="text"
|
45
|
+
autocomplete="off"
|
46
|
+
v-model="position.name"
|
47
|
+
clearable
|
48
|
+
/>
|
49
|
+
</el-form-item>
|
50
|
+
</td>
|
51
|
+
<th>
|
52
|
+
<em class="f-red">*</em>
|
53
|
+
{{ $t1("岗位编码") }}
|
54
|
+
</th>
|
55
|
+
<td>
|
56
|
+
<template v-if="dataId">
|
57
|
+
{{ position.code }}
|
58
|
+
</template>
|
59
|
+
<el-form-item
|
60
|
+
v-else
|
61
|
+
prop="code"
|
62
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
63
|
+
>
|
64
|
+
<el-input
|
65
|
+
type="text"
|
66
|
+
autocomplete="off"
|
67
|
+
v-model="position.code"
|
68
|
+
clearable
|
69
|
+
/>
|
70
|
+
</el-form-item>
|
71
|
+
</td>
|
72
|
+
<th>{{ $t1("设置") }}</th>
|
73
|
+
<td>
|
74
|
+
<el-checkbox
|
75
|
+
:label="$t1('是否启用')"
|
76
|
+
v-model="position.enabled"
|
77
|
+
></el-checkbox>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<th>{{ $t1("备注") }}</th>
|
82
|
+
<td colspan="5">
|
83
|
+
<el-input
|
84
|
+
type="textarea"
|
85
|
+
:rows="2"
|
86
|
+
:placeholder="$t1('请输入内容')"
|
87
|
+
size="small"
|
88
|
+
v-model="position.memo"
|
89
|
+
clearable
|
90
|
+
></el-input>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<th>{{ $t1("创建人") }}</th>
|
95
|
+
<td>{{ position._createBy }}</td>
|
96
|
+
<th>{{ $t1("创建时间") }}</th>
|
97
|
+
<td>{{ position.createDate }}</td>
|
98
|
+
<th>{{ $t1("更新人") }}</th>
|
99
|
+
<td>{{ position._modifyBy }}</td>
|
100
|
+
<th>{{ $t1("更新时间") }}</th>
|
101
|
+
<td>{{ position.modifyDate }}</td>
|
102
|
+
</tr>
|
103
|
+
</tbody>
|
104
|
+
</table>
|
105
|
+
</template>
|
106
|
+
</baseTabPane>
|
107
|
+
</baseTabs>
|
71
108
|
</el-form>
|
72
109
|
</div>
|
73
110
|
</template>
|
74
111
|
|
75
112
|
<script>
|
76
113
|
export default {
|
77
|
-
name:
|
114
|
+
name: "positionEdit",
|
78
115
|
props: {
|
79
|
-
_dataId: [String, Number]
|
116
|
+
_dataId: [String, Number],
|
80
117
|
},
|
81
118
|
components: {},
|
82
119
|
data() {
|
83
120
|
return {
|
84
121
|
isEdit: false,
|
85
|
-
tabIndex:
|
86
|
-
dataId:
|
122
|
+
tabIndex: "first",
|
123
|
+
dataId: "",
|
87
124
|
position: {
|
88
|
-
enabled: true
|
89
|
-
}
|
125
|
+
enabled: true,
|
126
|
+
},
|
90
127
|
};
|
91
128
|
},
|
92
129
|
created() {
|
@@ -103,53 +140,49 @@ export default {
|
|
103
140
|
url: USER_PREFIX + `/position/get`,
|
104
141
|
method: `post`,
|
105
142
|
data: {
|
106
|
-
id: this.dataId
|
143
|
+
id: this.dataId,
|
107
144
|
},
|
108
145
|
isLoading: true,
|
109
146
|
modalStrictly: true,
|
110
|
-
success: res => {
|
147
|
+
success: (res) => {
|
111
148
|
this.position = res.objx || {};
|
112
|
-
}
|
149
|
+
},
|
113
150
|
});
|
114
|
-
} else {
|
115
|
-
this.position = {
|
116
|
-
enabled: true
|
117
|
-
};
|
118
151
|
}
|
119
152
|
},
|
120
153
|
saveData() {
|
121
|
-
this.$refs.editForm.$baseValidate(valid => {
|
154
|
+
this.$refs.editForm.$baseValidate((valid) => {
|
122
155
|
if (valid) {
|
123
|
-
this.$baseConfirm(this.$t1(
|
156
|
+
this.$baseConfirm(this.$t1("您确定要保存吗?")).then(() => {
|
124
157
|
var url = USER_PREFIX + (this.isEdit ? `/position/update` : `/position/save`);
|
125
158
|
this.$http({
|
126
159
|
url: url,
|
127
160
|
method: `post`,
|
128
161
|
data: this.position,
|
129
162
|
isLoading: true,
|
130
|
-
success: res => {
|
163
|
+
success: (res) => {
|
131
164
|
this.$message({
|
132
165
|
message: res.content,
|
133
|
-
type:
|
166
|
+
type: "success",
|
134
167
|
duration: 500,
|
135
|
-
onClose: t => {
|
168
|
+
onClose: (t) => {
|
136
169
|
if (this.isEdit) {
|
137
170
|
this.$baseReload();
|
138
171
|
} else {
|
139
172
|
this.$baseReload({
|
140
173
|
updateParam: {
|
141
|
-
_dataId: res.objx
|
142
|
-
}
|
174
|
+
_dataId: res.objx,
|
175
|
+
},
|
143
176
|
});
|
144
177
|
}
|
145
|
-
}
|
178
|
+
},
|
146
179
|
});
|
147
|
-
}
|
180
|
+
},
|
148
181
|
});
|
149
182
|
});
|
150
183
|
}
|
151
184
|
});
|
152
|
-
}
|
153
|
-
}
|
185
|
+
},
|
186
|
+
},
|
154
187
|
};
|
155
188
|
</script>
|
@@ -2,43 +2,62 @@
|
|
2
2
|
<div id="containt">
|
3
3
|
<el-tabs v-model="activeName" class="tab-box">
|
4
4
|
<el-tab-pane :label="$t1('常规')" name="first">
|
5
|
-
<editView
|
6
|
-
|
5
|
+
<editView
|
6
|
+
v-if="showEdit"
|
7
|
+
visible-key="showEdit"
|
8
|
+
:_dataId.sync="dataId"
|
9
|
+
:parent-target="_self"
|
10
|
+
@reload="$reloadHandle"
|
11
|
+
></editView>
|
7
12
|
</el-tab-pane>
|
8
13
|
<el-tab-pane :label="$t1('列表')" name="second">
|
9
14
|
<div class="grid-height">
|
10
|
-
<vxe-grid
|
11
|
-
|
15
|
+
<vxe-grid
|
16
|
+
ref="table-m1"
|
17
|
+
v-bind="vxeOption"
|
18
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
19
|
+
@custom="$vxeTableUtil.customHandle"
|
20
|
+
>
|
12
21
|
<template #form>
|
13
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
|
22
|
+
<tableForm
|
23
|
+
:formData.sync="formData"
|
24
|
+
@searchEvent="searchEvent"
|
25
|
+
@resetEvent="resetEvent"
|
26
|
+
>
|
27
|
+
<template #buttonLeft>
|
28
|
+
<vxe-button
|
29
|
+
status="primary"
|
30
|
+
class="button-sty"
|
31
|
+
icon="el-icon-plus"
|
32
|
+
@click="openEditDialog"
|
33
|
+
>
|
34
|
+
{{ $t1("新增") }}
|
17
35
|
</vxe-button>
|
18
|
-
<base-table-export
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
36
|
+
<base-table-export
|
37
|
+
:option="{ title: $t1('岗位导出'), targetRef: 'table-m1' }"
|
38
|
+
:parent-target="_self"
|
39
|
+
/>
|
40
|
+
</template>
|
41
|
+
<template #buttonRight>
|
42
|
+
<vxe-button
|
43
|
+
icon="el-icon-brush"
|
44
|
+
class="button-sty"
|
45
|
+
@click="resetEvent"
|
46
|
+
type="text"
|
47
|
+
status="primary"
|
48
|
+
plain
|
49
|
+
>{{ $t1("重置") }}
|
23
50
|
</vxe-button>
|
24
|
-
<vxe-button
|
25
|
-
|
51
|
+
<vxe-button
|
52
|
+
status="warning"
|
53
|
+
icon="el-icon-search"
|
54
|
+
class="button-sty"
|
55
|
+
@click="searchEvent"
|
56
|
+
>
|
57
|
+
{{ $t1("搜索") }}
|
26
58
|
</vxe-button>
|
27
|
-
</
|
28
|
-
</
|
29
|
-
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
30
|
-
@submit="searchEvent" @reset="searchEvent">
|
31
|
-
<vxe-form-item :title="$t1('岗位名称')+':'" field="name">
|
32
|
-
<template v-slot>
|
33
|
-
<el-input v-model="formData.name" size="small" clearable/>
|
34
|
-
</template>
|
35
|
-
</vxe-form-item>
|
36
|
-
<vxe-form-item :title="$t1('岗位编码')+':'" field="code">
|
37
|
-
<template v-slot>
|
38
|
-
<el-input v-model="formData.code" size="small" clearable/>
|
39
|
-
</template>
|
40
|
-
</vxe-form-item>
|
41
|
-
</vxe-form>
|
59
|
+
</template>
|
60
|
+
</tableForm>
|
42
61
|
</template>
|
43
62
|
</vxe-grid>
|
44
63
|
</div>
|
@@ -48,18 +67,18 @@
|
|
48
67
|
</template>
|
49
68
|
|
50
69
|
<script>
|
51
|
-
import editView from
|
52
|
-
|
70
|
+
import editView from "./edit.vue";
|
71
|
+
import tableForm from "@base/components/table/tableForm.vue";
|
53
72
|
export default {
|
54
|
-
name:
|
55
|
-
components: {editView},
|
73
|
+
name: "position:list",
|
74
|
+
components: { tableForm, editView },
|
56
75
|
data() {
|
57
76
|
return {
|
58
|
-
activeName:
|
77
|
+
activeName: "second",
|
59
78
|
dataId: 0,
|
60
79
|
showEdit: false,
|
61
80
|
vxeOption: {},
|
62
|
-
formData: {}
|
81
|
+
formData: {},
|
63
82
|
};
|
64
83
|
},
|
65
84
|
mounted() {
|
@@ -67,85 +86,85 @@ export default {
|
|
67
86
|
},
|
68
87
|
methods: {
|
69
88
|
searchEvent() {
|
70
|
-
this.$refs[
|
89
|
+
this.$refs["table-m1"].commitProxy("reload");
|
71
90
|
},
|
72
91
|
resetEvent() {
|
73
92
|
this.formData = {};
|
74
|
-
this.$refs[
|
93
|
+
this.$refs["table-m1"].commitProxy("reload");
|
75
94
|
},
|
76
95
|
openEditDialog(id) {
|
77
|
-
this.dataId = !id || typeof id ==
|
78
|
-
this.activeName =
|
79
|
-
this.$openEditView(
|
96
|
+
this.dataId = !id || typeof id == "object" ? 0 : id;
|
97
|
+
this.activeName = "first";
|
98
|
+
this.$openEditView("showEdit");
|
80
99
|
},
|
81
100
|
initTableList() {
|
82
101
|
let that = this;
|
83
102
|
let tableOption = {
|
84
103
|
vue: this,
|
85
|
-
tableRef:
|
86
|
-
tableName:
|
87
|
-
path: USER_PREFIX +
|
104
|
+
tableRef: "table-m1",
|
105
|
+
tableName: "basic_position_list-m2",
|
106
|
+
path: USER_PREFIX + "/position/listCurrentPage",
|
88
107
|
param: () => {
|
89
108
|
return this.formData;
|
90
109
|
},
|
91
110
|
columns: [
|
92
|
-
{type:
|
111
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
93
112
|
{
|
94
|
-
title: this.$t1(
|
95
|
-
field:
|
113
|
+
title: this.$t1("岗位名称"),
|
114
|
+
field: "name",
|
96
115
|
width: 150,
|
97
|
-
fixed:
|
116
|
+
fixed: "left",
|
98
117
|
},
|
99
|
-
{
|
118
|
+
/* {
|
100
119
|
field: 'code',
|
101
120
|
title: this.$t1('岗位编码'),
|
102
121
|
width: 250
|
103
|
-
},
|
104
|
-
{title: this.$t1(
|
122
|
+
}, */
|
123
|
+
{ title: this.$t1("所属组织"), field: "companyName", width: 150 },
|
105
124
|
{
|
106
|
-
field:
|
107
|
-
title: this.$t1(
|
125
|
+
field: "enabled",
|
126
|
+
title: this.$t1("是否启用"),
|
108
127
|
width: 150,
|
109
128
|
slots: {
|
110
|
-
default: ({row}) => {
|
129
|
+
default: ({ row }) => {
|
111
130
|
if (row.enabled) {
|
112
131
|
return [
|
113
132
|
<div class="txt-status">
|
114
|
-
<span>{this.$t1(
|
115
|
-
</div
|
133
|
+
<span>{this.$t1("启用")}</span>
|
134
|
+
</div>,
|
116
135
|
];
|
117
136
|
} else {
|
118
137
|
return [
|
119
138
|
<div class="txt-status disable">
|
120
|
-
<span>{this.$t1(
|
121
|
-
</div
|
139
|
+
<span>{this.$t1("禁用")}</span>
|
140
|
+
</div>,
|
122
141
|
];
|
123
142
|
}
|
124
|
-
}
|
125
|
-
}
|
143
|
+
},
|
144
|
+
},
|
126
145
|
},
|
127
146
|
{
|
128
|
-
field:
|
129
|
-
title: this.$t1(
|
130
|
-
width: 150
|
147
|
+
field: "createDate",
|
148
|
+
title: this.$t1("创建时间"),
|
149
|
+
width: 150,
|
131
150
|
},
|
132
151
|
{
|
133
|
-
field:
|
134
|
-
title: this.$t1(
|
135
|
-
width: 150
|
152
|
+
field: "_createBy",
|
153
|
+
title: this.$t1("创建人"),
|
154
|
+
width: 150,
|
136
155
|
},
|
137
156
|
{
|
138
|
-
field:
|
139
|
-
title: this.$t1(
|
140
|
-
width: 150
|
157
|
+
field: "_modifyBy",
|
158
|
+
title: this.$t1("更新人"),
|
159
|
+
width: 150,
|
141
160
|
},
|
142
161
|
{
|
143
162
|
width: 47,
|
144
|
-
fixed:
|
145
|
-
title:
|
163
|
+
fixed: "right",
|
164
|
+
title: "",
|
146
165
|
sortable: false,
|
147
166
|
slots: {
|
148
|
-
default: ({row}) => {
|
167
|
+
default: ({ row }) => {
|
149
168
|
return [
|
150
169
|
<div>
|
151
170
|
<a
|
@@ -155,19 +174,32 @@ export default {
|
|
155
174
|
this.openEditDialog(row.id);
|
156
175
|
}}
|
157
176
|
>
|
158
|
-
<el-tooltip
|
159
|
-
|
160
|
-
|
177
|
+
<el-tooltip
|
178
|
+
enterable={false}
|
179
|
+
effect="dark"
|
180
|
+
content={this.$t1("查看")}
|
181
|
+
placement="top"
|
182
|
+
popper-class="tooltip-skin"
|
183
|
+
>
|
184
|
+
<i class="el-icon-edit" />
|
161
185
|
</el-tooltip>
|
162
186
|
</a>
|
163
|
-
</div
|
187
|
+
</div>,
|
164
188
|
];
|
165
|
-
}
|
166
|
-
}
|
167
|
-
}
|
168
|
-
]
|
189
|
+
},
|
190
|
+
},
|
191
|
+
},
|
192
|
+
],
|
193
|
+
searchColumns: [
|
194
|
+
{
|
195
|
+
title: this.$t1("岗位名称"),
|
196
|
+
field: "name",
|
197
|
+
type: "input",
|
198
|
+
common: true,
|
199
|
+
},
|
200
|
+
],
|
169
201
|
};
|
170
|
-
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
202
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
171
203
|
this.vxeOption = opts;
|
172
204
|
});
|
173
205
|
},
|
@@ -175,14 +207,14 @@ export default {
|
|
175
207
|
let that = this;
|
176
208
|
that.$excelImport({
|
177
209
|
prefix: USER_PREFIX,
|
178
|
-
excel: USER_PREFIX +
|
210
|
+
excel: USER_PREFIX + "/excelTemplate/position/position.xlsx",
|
179
211
|
multi: false,
|
180
|
-
saveUrl: USER_PREFIX +
|
212
|
+
saveUrl: USER_PREFIX + "/position/save",
|
181
213
|
callback: () => {
|
182
214
|
that.searchEvent();
|
183
|
-
}
|
215
|
+
},
|
184
216
|
});
|
185
|
-
}
|
186
|
-
}
|
217
|
+
},
|
218
|
+
},
|
187
219
|
};
|
188
220
|
</script>
|