cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.350
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 +2728 -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 +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 +498 -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
@@ -0,0 +1,122 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="detail-wrap">
|
3
|
+
<el-form ref="editForm" :model="logicParam">
|
4
|
+
<div class="d-header clearfix">
|
5
|
+
<div class="fl">
|
6
|
+
<i class="el-icon-info" />
|
7
|
+
{{ dataId ? $t1("查看上传文件服务") : $t1("新增上传文件服务") }}
|
8
|
+
</div>
|
9
|
+
<div class="fr">
|
10
|
+
<el-button
|
11
|
+
type="primary"
|
12
|
+
plain
|
13
|
+
class="button-sty"
|
14
|
+
@click="$baseReload()"
|
15
|
+
icon="el-icon-refresh-right"
|
16
|
+
>
|
17
|
+
{{ $t1("重置") }}
|
18
|
+
</el-button>
|
19
|
+
<el-button
|
20
|
+
type="primary"
|
21
|
+
class="button-sty"
|
22
|
+
icon="el-icon-check"
|
23
|
+
@click="saveData"
|
24
|
+
>{{ $t1("保存") }}
|
25
|
+
</el-button>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="d-cont">
|
29
|
+
<div class="d-item">
|
30
|
+
<div class="title first">
|
31
|
+
<b>{{ $t1("基本信息") }}</b>
|
32
|
+
</div>
|
33
|
+
<table class="table-detail">
|
34
|
+
<tbody>
|
35
|
+
<tr>
|
36
|
+
<th>
|
37
|
+
<em class="f-red">*</em>
|
38
|
+
{{ $t1("参数编码") }}
|
39
|
+
</th>
|
40
|
+
<td colspan="5">
|
41
|
+
<el-form-item
|
42
|
+
prop="paramCode"
|
43
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
44
|
+
>
|
45
|
+
<el-input
|
46
|
+
type="text"
|
47
|
+
autocomplete="off"
|
48
|
+
v-model="logicParam.paramCode"
|
49
|
+
clearable
|
50
|
+
/>
|
51
|
+
</el-form-item>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<th>
|
56
|
+
{{ $t1("参数值") }}
|
57
|
+
</th>
|
58
|
+
<td colspan="7">
|
59
|
+
<el-form-item
|
60
|
+
prop="paramValue"
|
61
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
62
|
+
>
|
63
|
+
<code-editor
|
64
|
+
mode="json"
|
65
|
+
:readonly="!1"
|
66
|
+
v-model="logicParam.paramValue"
|
67
|
+
v-if="showCodeEditor"
|
68
|
+
></code-editor>
|
69
|
+
</el-form-item>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<th>{{ $t1("参数备注") }}</th>
|
74
|
+
<td colspan="7">
|
75
|
+
<el-input
|
76
|
+
type="textarea"
|
77
|
+
:rows="2"
|
78
|
+
:placeholder="$t1('请输入内容')"
|
79
|
+
size="small"
|
80
|
+
v-model="logicParam.remark"
|
81
|
+
clearable
|
82
|
+
></el-input>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<th>{{ $t1("是否启用") }}</th>
|
87
|
+
<td>
|
88
|
+
<el-form-item
|
89
|
+
prop="enabled"
|
90
|
+
:rules="[{ required: false, trigger: 'blur' }]"
|
91
|
+
>
|
92
|
+
<el-radio-group v-model="logicParam.enabled">
|
93
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
94
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
95
|
+
</el-radio-group>
|
96
|
+
</el-form-item>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<th>{{ $t1("创建人") }}</th>
|
101
|
+
<td>{{ logicParam.createBy }}</td>
|
102
|
+
<th>{{ $t1("创建时间") }}</th>
|
103
|
+
<td>{{ logicParam.createDate }}</td>
|
104
|
+
<th>{{ $t1("更新人") }}</th>
|
105
|
+
<td>{{ logicParam.modifyBy }}</td>
|
106
|
+
<th>{{ $t1("更新时间") }}</th>
|
107
|
+
<td>{{ logicParam.modifyDate }}</td>
|
108
|
+
</tr>
|
109
|
+
</tbody>
|
110
|
+
</table>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
</el-form>
|
114
|
+
</div>
|
115
|
+
</template>
|
116
|
+
|
117
|
+
<script>
|
118
|
+
import editMixin from "./mixins/edit.js";
|
119
|
+
export default {
|
120
|
+
mixins: [editMixin],
|
121
|
+
};
|
122
|
+
</script>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="containt">
|
3
|
+
<el-tabs v-model="activeName" class="tab-box">
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
5
|
+
<component
|
6
|
+
v-if="showEdit"
|
7
|
+
:is="editViewName"
|
8
|
+
visible-key="showEdit"
|
9
|
+
:_dataId.sync="dataId"
|
10
|
+
:copyId.sync="copyId"
|
11
|
+
:parent-target="_self"
|
12
|
+
@reload="$reloadHandle"
|
13
|
+
:paramType="paramType"
|
14
|
+
></component>
|
15
|
+
</el-tab-pane>
|
16
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
17
|
+
<div class="grid-height">
|
18
|
+
<vxe-grid
|
19
|
+
ref="table-m1"
|
20
|
+
v-bind="vxeOption"
|
21
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
22
|
+
@custom="$vxeTableUtil.customHandle"
|
23
|
+
>
|
24
|
+
<template #form>
|
25
|
+
<tableForm
|
26
|
+
:formData.sync="formData"
|
27
|
+
@searchEvent="searchEvent"
|
28
|
+
@resetEvent="resetEvent"
|
29
|
+
>
|
30
|
+
<template #buttonLeft>
|
31
|
+
<vxe-button
|
32
|
+
status="primary"
|
33
|
+
class="button-sty"
|
34
|
+
icon="el-icon-plus"
|
35
|
+
@click="openEditDialog"
|
36
|
+
>
|
37
|
+
{{ $t1("新增") }}
|
38
|
+
</vxe-button>
|
39
|
+
</template>
|
40
|
+
<template #buttonRight>
|
41
|
+
<vxe-button
|
42
|
+
icon="el-icon-brush"
|
43
|
+
class="button-sty"
|
44
|
+
@click="resetEvent"
|
45
|
+
type="text"
|
46
|
+
status="primary"
|
47
|
+
plain
|
48
|
+
>{{ $t1("重置") }}
|
49
|
+
</vxe-button>
|
50
|
+
<vxe-button
|
51
|
+
status="warning"
|
52
|
+
icon="el-icon-search"
|
53
|
+
class="button-sty"
|
54
|
+
@click="searchEvent"
|
55
|
+
>
|
56
|
+
{{ $t1("搜索") }}
|
57
|
+
</vxe-button>
|
58
|
+
</template>
|
59
|
+
</tableForm>
|
60
|
+
</template>
|
61
|
+
</vxe-grid>
|
62
|
+
</div>
|
63
|
+
</el-tab-pane>
|
64
|
+
</el-tabs>
|
65
|
+
</div>
|
66
|
+
</template>
|
67
|
+
|
68
|
+
<script>
|
69
|
+
import listMixin from "./mixins/list";
|
70
|
+
export default {
|
71
|
+
name: "logic_param:list",
|
72
|
+
mixins: [listMixin],
|
73
|
+
};
|
74
|
+
</script>
|
@@ -0,0 +1,93 @@
|
|
1
|
+
let modules = {}
|
2
|
+
modules = {
|
3
|
+
name: "logic_paramEdit",
|
4
|
+
props: {
|
5
|
+
_dataId: [String, Number],
|
6
|
+
paramType: {
|
7
|
+
type: Number,
|
8
|
+
default: 0,
|
9
|
+
},
|
10
|
+
},
|
11
|
+
components: {},
|
12
|
+
data() {
|
13
|
+
return {
|
14
|
+
isEdit: false,
|
15
|
+
tabIndex: "first",
|
16
|
+
dataId: "",
|
17
|
+
logicParam: {
|
18
|
+
enabled: true,
|
19
|
+
paramValue: null,
|
20
|
+
paramType: this.paramType,
|
21
|
+
},
|
22
|
+
showCodeEditor: false,
|
23
|
+
paramTypeMap: {
|
24
|
+
0: "逻辑参数",
|
25
|
+
1: "操作日志编码",
|
26
|
+
2: "上传文件服务",
|
27
|
+
},
|
28
|
+
};
|
29
|
+
},
|
30
|
+
created() {
|
31
|
+
if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
|
32
|
+
},
|
33
|
+
mounted() {
|
34
|
+
this.getData();
|
35
|
+
},
|
36
|
+
methods: {
|
37
|
+
getData() {
|
38
|
+
if (this.dataId && !isNaN(this.dataId)) {
|
39
|
+
this.isEdit = true;
|
40
|
+
this.$commonHttp({
|
41
|
+
url: USER_PREFIX + `/logic_param/get`,
|
42
|
+
method: `post`,
|
43
|
+
data: {
|
44
|
+
id: this.dataId,
|
45
|
+
},
|
46
|
+
isLoading: true,
|
47
|
+
modalStrictly: true,
|
48
|
+
success: (res) => {
|
49
|
+
this.logicParam = res.objx || {};
|
50
|
+
this.showCodeEditor = true;
|
51
|
+
},
|
52
|
+
});
|
53
|
+
} else {
|
54
|
+
this.showCodeEditor = true;
|
55
|
+
}
|
56
|
+
},
|
57
|
+
saveData() {
|
58
|
+
this.$refs.editForm.$baseValidate((valid) => {
|
59
|
+
if (valid) {
|
60
|
+
this.$baseConfirm(this.$t1("您确定要保存吗?")).then(() => {
|
61
|
+
var url =
|
62
|
+
USER_PREFIX + (this.isEdit ? `/logic_param/update` : `/logic_param/save`);
|
63
|
+
this.$http({
|
64
|
+
url: url,
|
65
|
+
method: `post`,
|
66
|
+
data: this.logicParam,
|
67
|
+
isLoading: true,
|
68
|
+
success: (res) => {
|
69
|
+
this.$message({
|
70
|
+
message: res.content,
|
71
|
+
type: "success",
|
72
|
+
duration: 500,
|
73
|
+
onClose: (t) => {
|
74
|
+
if (this.isEdit) {
|
75
|
+
this.$baseReload();
|
76
|
+
} else {
|
77
|
+
this.$baseReload({
|
78
|
+
updateParam: {
|
79
|
+
_dataId: res.objx
|
80
|
+
},
|
81
|
+
});
|
82
|
+
}
|
83
|
+
},
|
84
|
+
});
|
85
|
+
},
|
86
|
+
});
|
87
|
+
});
|
88
|
+
}
|
89
|
+
});
|
90
|
+
},
|
91
|
+
},
|
92
|
+
};
|
93
|
+
export default modules
|
@@ -0,0 +1,358 @@
|
|
1
|
+
import editView from "../edit.vue";
|
2
|
+
import editView1 from "../edit1.vue";
|
3
|
+
import editView2 from "../edit2.vue";
|
4
|
+
import tableForm from "@base/components/table/tableForm.vue";
|
5
|
+
import { getJsxBtnList, getJsxStatus } from "@base/views/bd/setting/utils/index";
|
6
|
+
|
7
|
+
let modules = {};
|
8
|
+
|
9
|
+
modules = {
|
10
|
+
props: {
|
11
|
+
paramType: {
|
12
|
+
type: Number,
|
13
|
+
default: 0,
|
14
|
+
},
|
15
|
+
},
|
16
|
+
components: { tableForm, editView, editView1, editView2 },
|
17
|
+
data() {
|
18
|
+
return {
|
19
|
+
activeName: "second",
|
20
|
+
dataId: 0,
|
21
|
+
showEdit: false,
|
22
|
+
vxeOption: {},
|
23
|
+
formData: {},
|
24
|
+
editViewName:"editView",
|
25
|
+
};
|
26
|
+
},
|
27
|
+
created() {
|
28
|
+
this.initEditViewName();
|
29
|
+
},
|
30
|
+
mounted() {
|
31
|
+
this.initTableList();
|
32
|
+
},
|
33
|
+
methods: {
|
34
|
+
initEditViewName(){
|
35
|
+
let paramTypeStr = this.paramType ? this.paramType : "";
|
36
|
+
this.editViewName = `editView${paramTypeStr}`;
|
37
|
+
|
38
|
+
},
|
39
|
+
searchEvent() {
|
40
|
+
this.$refs["table-m1"].commitProxy("reload");
|
41
|
+
},
|
42
|
+
resetEvent() {
|
43
|
+
this.formData = {};
|
44
|
+
this.advancedFormData = {};
|
45
|
+
this.$refs["table-m1"].commitProxy("reload");
|
46
|
+
},
|
47
|
+
openEditDialog(id) {
|
48
|
+
this.copyId = 0;
|
49
|
+
this.dataId = !id || typeof id == "object" ? 0 : id;
|
50
|
+
this.activeName = "first";
|
51
|
+
this.$openEditView("showEdit");
|
52
|
+
},
|
53
|
+
getColumnInfo0() {
|
54
|
+
//逻辑参数
|
55
|
+
let columns = [
|
56
|
+
{
|
57
|
+
title: this.$t1("参数编码"),
|
58
|
+
field: "paramCode",
|
59
|
+
width: 150,
|
60
|
+
fixed: "left",
|
61
|
+
},
|
62
|
+
{
|
63
|
+
title: this.$t1("参数值"),
|
64
|
+
field: "paramValue",
|
65
|
+
width: 150,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
title: this.$t1("参数备注"),
|
69
|
+
field: "remark",
|
70
|
+
width: 150,
|
71
|
+
},
|
72
|
+
{
|
73
|
+
title: this.$t1("组织编码"),
|
74
|
+
field: "paramCompanyCode",
|
75
|
+
width: 150,
|
76
|
+
},
|
77
|
+
{
|
78
|
+
title: this.$t1("是否启用"),
|
79
|
+
field: "enabled",
|
80
|
+
width: 150,
|
81
|
+
slots: {
|
82
|
+
default: ({ row }) => {
|
83
|
+
if (row.enabled) {
|
84
|
+
return getJsxStatus(null, this.$t1("启用"));
|
85
|
+
} else {
|
86
|
+
return getJsxStatus("s-3", this.$t1("禁用"));
|
87
|
+
}
|
88
|
+
},
|
89
|
+
},
|
90
|
+
},
|
91
|
+
];
|
92
|
+
|
93
|
+
let searchColumns = [
|
94
|
+
{
|
95
|
+
title: this.$t1("参数编码"),
|
96
|
+
field: "paramCode",
|
97
|
+
type: "input",
|
98
|
+
common: true,
|
99
|
+
},
|
100
|
+
{
|
101
|
+
title: this.$t1("参数值"),
|
102
|
+
field: "paramValue",
|
103
|
+
type: "input",
|
104
|
+
common: true,
|
105
|
+
},
|
106
|
+
{
|
107
|
+
title: this.$t1("参数备注"),
|
108
|
+
field: "remark",
|
109
|
+
type: "input",
|
110
|
+
common: true,
|
111
|
+
},
|
112
|
+
{
|
113
|
+
title: this.$t1("组织编码"),
|
114
|
+
field: "paramCompanyCode",
|
115
|
+
type: "input",
|
116
|
+
common: true,
|
117
|
+
},
|
118
|
+
{
|
119
|
+
title: this.$t1("是否启用"),
|
120
|
+
field: "enabled",
|
121
|
+
type: "select",
|
122
|
+
itemOption: [
|
123
|
+
{
|
124
|
+
label: this.$t1("启用"),
|
125
|
+
value: true,
|
126
|
+
},
|
127
|
+
{
|
128
|
+
label: this.$t1("禁用"),
|
129
|
+
value: false,
|
130
|
+
},
|
131
|
+
],
|
132
|
+
common: true,
|
133
|
+
},
|
134
|
+
];
|
135
|
+
|
136
|
+
return { columns, searchColumns };
|
137
|
+
},
|
138
|
+
getColumnInfo1() {
|
139
|
+
//操作日志编码
|
140
|
+
let columns = [
|
141
|
+
{
|
142
|
+
title: this.$t1("参数值"),
|
143
|
+
field: "paramValue",
|
144
|
+
width: 150,
|
145
|
+
fixed: "left",
|
146
|
+
},
|
147
|
+
{
|
148
|
+
title: this.$t1("参数备注"),
|
149
|
+
field: "remark",
|
150
|
+
width: 150,
|
151
|
+
},
|
152
|
+
{
|
153
|
+
title: this.$t1("是否启用"),
|
154
|
+
field: "enabled",
|
155
|
+
width: 150,
|
156
|
+
slots: {
|
157
|
+
default: ({ row }) => {
|
158
|
+
if (row.enabled) {
|
159
|
+
return getJsxStatus(null, this.$t1("启用"));
|
160
|
+
} else {
|
161
|
+
return getJsxStatus("s-3", this.$t1("禁用"));
|
162
|
+
}
|
163
|
+
},
|
164
|
+
},
|
165
|
+
},
|
166
|
+
];
|
167
|
+
|
168
|
+
let searchColumns = [
|
169
|
+
{
|
170
|
+
title: this.$t1("参数值"),
|
171
|
+
field: "paramValue",
|
172
|
+
type: "input",
|
173
|
+
common: true,
|
174
|
+
},
|
175
|
+
{
|
176
|
+
title: this.$t1("参数备注"),
|
177
|
+
field: "remark",
|
178
|
+
type: "input",
|
179
|
+
common: true,
|
180
|
+
},
|
181
|
+
{
|
182
|
+
title: this.$t1("是否启用"),
|
183
|
+
field: "enabled",
|
184
|
+
type: "select",
|
185
|
+
itemOption: [
|
186
|
+
{
|
187
|
+
label: this.$t1("启用"),
|
188
|
+
value: true,
|
189
|
+
},
|
190
|
+
{
|
191
|
+
label: this.$t1("禁用"),
|
192
|
+
value: false,
|
193
|
+
},
|
194
|
+
],
|
195
|
+
common: true,
|
196
|
+
},
|
197
|
+
];
|
198
|
+
|
199
|
+
return { columns, searchColumns };
|
200
|
+
},
|
201
|
+
getColumnInfo2() {
|
202
|
+
//上传文件服务
|
203
|
+
let columns = [
|
204
|
+
{
|
205
|
+
title: this.$t1("参数编码"),
|
206
|
+
field: "paramCode",
|
207
|
+
width: 150,
|
208
|
+
fixed: "left",
|
209
|
+
},
|
210
|
+
{
|
211
|
+
title: this.$t1("参数备注"),
|
212
|
+
field: "remark",
|
213
|
+
width: 150,
|
214
|
+
},
|
215
|
+
{
|
216
|
+
title: this.$t1("是否启用"),
|
217
|
+
field: "enabled",
|
218
|
+
width: 150,
|
219
|
+
slots: {
|
220
|
+
default: ({ row }) => {
|
221
|
+
if (row.enabled) {
|
222
|
+
return getJsxStatus(null, this.$t1("启用"));
|
223
|
+
} else {
|
224
|
+
return getJsxStatus("s-3", this.$t1("禁用"));
|
225
|
+
}
|
226
|
+
},
|
227
|
+
},
|
228
|
+
},
|
229
|
+
];
|
230
|
+
|
231
|
+
let searchColumns = [
|
232
|
+
{
|
233
|
+
title: this.$t1("参数编码"),
|
234
|
+
field: "paramCode",
|
235
|
+
type: "input",
|
236
|
+
common: true,
|
237
|
+
},
|
238
|
+
{
|
239
|
+
title: this.$t1("参数值"),
|
240
|
+
field: "paramValue",
|
241
|
+
type: "input",
|
242
|
+
common: true,
|
243
|
+
},
|
244
|
+
{
|
245
|
+
title: this.$t1("参数备注"),
|
246
|
+
field: "remark",
|
247
|
+
type: "input",
|
248
|
+
common: true,
|
249
|
+
},
|
250
|
+
{
|
251
|
+
title: this.$t1("是否启用"),
|
252
|
+
field: "enabled",
|
253
|
+
type: "select",
|
254
|
+
itemOption: [
|
255
|
+
{
|
256
|
+
label: this.$t1("启用"),
|
257
|
+
value: true,
|
258
|
+
},
|
259
|
+
{
|
260
|
+
label: this.$t1("禁用"),
|
261
|
+
value: false,
|
262
|
+
},
|
263
|
+
],
|
264
|
+
common: true,
|
265
|
+
},
|
266
|
+
];
|
267
|
+
|
268
|
+
return { columns, searchColumns };
|
269
|
+
},
|
270
|
+
getColumnInfo() {
|
271
|
+
if (this.paramType === 0) {
|
272
|
+
return this.getColumnInfo0();
|
273
|
+
} else if (this.paramType === 1) {
|
274
|
+
return this.getColumnInfo1();
|
275
|
+
} else if (this.paramType === 2) {
|
276
|
+
return this.getColumnInfo2();
|
277
|
+
}
|
278
|
+
},
|
279
|
+
initTableList() {
|
280
|
+
let that = this;
|
281
|
+
let { columns, searchColumns } = this.getColumnInfo();
|
282
|
+
|
283
|
+
let tableOption = {
|
284
|
+
vue: this,
|
285
|
+
tableRef: "table-m1",
|
286
|
+
tableName: "logic_param_list-m" + this.paramType,
|
287
|
+
path: USER_PREFIX + "/logic_param/listPage",
|
288
|
+
param: () => {
|
289
|
+
return {
|
290
|
+
...this.formData,
|
291
|
+
paramType: this.paramType,
|
292
|
+
};
|
293
|
+
},
|
294
|
+
columns: [
|
295
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
296
|
+
...columns,
|
297
|
+
{
|
298
|
+
field: "createBy",
|
299
|
+
title: this.$t1("创建人"),
|
300
|
+
width: 150,
|
301
|
+
},
|
302
|
+
{
|
303
|
+
field: "createDate",
|
304
|
+
title: this.$t1("创建时间"),
|
305
|
+
width: 150,
|
306
|
+
},
|
307
|
+
{
|
308
|
+
field: "modifyBy",
|
309
|
+
title: this.$t1("更新人"),
|
310
|
+
width: 150,
|
311
|
+
},
|
312
|
+
{
|
313
|
+
field: "modifyDate",
|
314
|
+
title: this.$t1("更新时间"),
|
315
|
+
width: 150,
|
316
|
+
},
|
317
|
+
{
|
318
|
+
width: 47,
|
319
|
+
fixed: "right",
|
320
|
+
title: "",
|
321
|
+
sortable: false,
|
322
|
+
slots: {
|
323
|
+
default: ({ row }) => {
|
324
|
+
return [
|
325
|
+
<div>
|
326
|
+
<a
|
327
|
+
href="javascript:void(0);"
|
328
|
+
class="a-link"
|
329
|
+
onclick={() => {
|
330
|
+
this.openEditDialog(row.id);
|
331
|
+
}}
|
332
|
+
>
|
333
|
+
<el-tooltip
|
334
|
+
enterable={false}
|
335
|
+
effect="dark"
|
336
|
+
content={this.$t1("查看")}
|
337
|
+
placement="top"
|
338
|
+
popper-class="tooltip-skin"
|
339
|
+
>
|
340
|
+
<i class="el-icon-edit" />
|
341
|
+
</el-tooltip>
|
342
|
+
</a>
|
343
|
+
</div>,
|
344
|
+
];
|
345
|
+
},
|
346
|
+
},
|
347
|
+
},
|
348
|
+
],
|
349
|
+
searchColumns,
|
350
|
+
};
|
351
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
352
|
+
this.vxeOption = opts;
|
353
|
+
});
|
354
|
+
},
|
355
|
+
},
|
356
|
+
};
|
357
|
+
|
358
|
+
export default modules
|
@@ -28,6 +28,10 @@
|
|
28
28
|
<template #editOrders="{row}">
|
29
29
|
<base-input-number v-model="row.orders"></base-input-number>
|
30
30
|
</template>
|
31
|
+
<template #taPrefix="{row}">
|
32
|
+
<el-input v-model="row.taPrefix" clearable v-if="row.parent"></el-input>
|
33
|
+
<span v-else>{{row.taPrefix}}</span>
|
34
|
+
</template>
|
31
35
|
<template #operate="obj">
|
32
36
|
<div class="cell-operate">
|
33
37
|
<template v-if="$refs['table-m1'].isActiveByRow(obj.row)">
|