cloud-web-corejs 1.0.54-dev.34 → 1.0.54-dev.341
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 +1490 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +135 -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 +938 -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 +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/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 +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/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 +29 -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 +1508 -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 +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 +19 -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 -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 +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 +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 +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 +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 +294 -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 +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 +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
@@ -1,426 +1,875 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="detail-wrap">
|
3
|
-
<el-form ref="editForm" :model="szTaMb">
|
4
|
-
<div class="d-header clearfix">
|
5
|
-
<div class="fl">
|
6
|
-
<i class="el-icon-info"/>
|
7
|
-
{{ dataId ? $t1(
|
8
|
-
</div>
|
9
|
-
<div class="fr">
|
10
|
-
<el-button
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
</
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
<td
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
<el-input
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
<tr>
|
261
|
-
<th>
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
<
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
<
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
}
|
426
|
-
|
1
|
+
<template>
|
2
|
+
<div class="detail-wrap">
|
3
|
+
<el-form ref="editForm" :model="szTaMb">
|
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
|
+
icon="el-icon-set-up"
|
15
|
+
@click="openOtherAuthDialog"
|
16
|
+
v-if="isDev && !!dataId && menuKindAuth.editAuth === 1 && !readonly && !otherFlag"
|
17
|
+
>
|
18
|
+
{{ $t1("分派") }}
|
19
|
+
</el-button>
|
20
|
+
<el-button
|
21
|
+
type="primary"
|
22
|
+
plain
|
23
|
+
class="button-sty"
|
24
|
+
icon="el-icon-set-up"
|
25
|
+
@click="openDtDialog"
|
26
|
+
v-if="isDev && !dataId && menuKindAuth.editAuth === 1 && !readonly"
|
27
|
+
>
|
28
|
+
{{ $t1("引用数据库中数据表结构") }}
|
29
|
+
</el-button>
|
30
|
+
<el-button
|
31
|
+
type="primary"
|
32
|
+
plain
|
33
|
+
class="button-sty"
|
34
|
+
icon="el-icon-set-up"
|
35
|
+
@click="openTmDialog"
|
36
|
+
v-if="isDev && !dataId && menuKindAuth.editAuth === 1 && !readonly"
|
37
|
+
>
|
38
|
+
{{ $t1("引用数据表定义的结构") }}
|
39
|
+
</el-button>
|
40
|
+
|
41
|
+
<el-button
|
42
|
+
type="success"
|
43
|
+
class="button-sty"
|
44
|
+
icon="el-icon-check"
|
45
|
+
@click="createModifyTable()"
|
46
|
+
v-if="
|
47
|
+
!szTaMb.systems &&
|
48
|
+
szTaMb.id &&
|
49
|
+
menuKindAuth.editAuth === 1 &&
|
50
|
+
!readonly
|
51
|
+
"
|
52
|
+
>
|
53
|
+
{{ $t1("创建/更新数据表") }}
|
54
|
+
</el-button>
|
55
|
+
<el-button
|
56
|
+
type="primary"
|
57
|
+
plain
|
58
|
+
class="button-sty"
|
59
|
+
@click="$baseReload()"
|
60
|
+
icon="el-icon-refresh-right"
|
61
|
+
>
|
62
|
+
{{ $t1("重置") }}
|
63
|
+
</el-button>
|
64
|
+
<el-button
|
65
|
+
type="primary"
|
66
|
+
class="button-sty"
|
67
|
+
icon="el-icon-check"
|
68
|
+
@click="saveData"
|
69
|
+
v-if="
|
70
|
+
isDev &&
|
71
|
+
!szTaMb.systems &&
|
72
|
+
menuKindAuth.editAuth === 1 &&
|
73
|
+
!readonly
|
74
|
+
"
|
75
|
+
>
|
76
|
+
{{ $t1("保存") }}
|
77
|
+
</el-button>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
<baseTabs>
|
81
|
+
<baseTabPane :label="$t1('基本信息')">
|
82
|
+
<template #default>
|
83
|
+
<table class="table-detail">
|
84
|
+
<tbody>
|
85
|
+
<tr>
|
86
|
+
<th>{{ $t1('数据库表名') }}</th>
|
87
|
+
<td colspan="3">
|
88
|
+
<el-form-item prop="taBm" :rules="[{ required: false, trigger: ['blur', 'change'] }]">
|
89
|
+
<el-input type="text" autocomplete="off" v-model="szTaMb.taBm" clearable :disabled="!!dataId"/>
|
90
|
+
</el-form-item>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<th class="no"></th>
|
95
|
+
<td colspan="7">
|
96
|
+
<span class="fl tips">{{
|
97
|
+
$t1('注:数据库表名必须定义为:1、与实体名称一样,2、表单分类数据表前缀_实体名称,3、不填自动生成:表单分类数据表前缀_实体名称。')
|
98
|
+
}}</span>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<th>
|
103
|
+
<em class="f-red">*</em>
|
104
|
+
{{ $t1("实体名称") }}
|
105
|
+
</th>
|
106
|
+
<td colspan="3">
|
107
|
+
<el-form-item
|
108
|
+
prop="taEn"
|
109
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
110
|
+
>
|
111
|
+
<el-input
|
112
|
+
type="text"
|
113
|
+
autocomplete="off"
|
114
|
+
v-model="szTaMb.taEn"
|
115
|
+
clearable
|
116
|
+
/>
|
117
|
+
</el-form-item>
|
118
|
+
</td>
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<th><em class="f-red">*</em>{{ $t1("表描述") }}</th>
|
122
|
+
<td colspan="5">
|
123
|
+
<el-form-item
|
124
|
+
prop="taCh"
|
125
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
126
|
+
>
|
127
|
+
<el-input
|
128
|
+
type="text"
|
129
|
+
autocomplete="off"
|
130
|
+
v-model="szTaMb.taCh"
|
131
|
+
clearable
|
132
|
+
/>
|
133
|
+
</el-form-item>
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<th><em class="f-red">*</em>{{ $t1("是否明细") }}</th>
|
138
|
+
<td>
|
139
|
+
<el-form-item
|
140
|
+
prop="taType"
|
141
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
142
|
+
>
|
143
|
+
<el-radio-group v-model="szTaMb.taType">
|
144
|
+
<el-radio :label="1">{{ $t1("是") }}</el-radio>
|
145
|
+
<el-radio :label="0">{{ $t1("否") }}</el-radio>
|
146
|
+
</el-radio-group>
|
147
|
+
</el-form-item>
|
148
|
+
</td>
|
149
|
+
<th>
|
150
|
+
<em class="f-red" v-show="szTaMb.taType === 1">*</em>
|
151
|
+
{{ $t1("所属主实体") }}
|
152
|
+
</th>
|
153
|
+
<td colspan="3">
|
154
|
+
<el-form-item
|
155
|
+
prop="sszstEn"
|
156
|
+
:rules="[
|
157
|
+
{
|
158
|
+
required: szTaMb.taType === 1,
|
159
|
+
trigger: ['blur', 'change'],
|
160
|
+
},
|
161
|
+
]"
|
162
|
+
>
|
163
|
+
<el-input
|
164
|
+
class="search-input"
|
165
|
+
max="200"
|
166
|
+
v-model="szTaMb.sszstEn"
|
167
|
+
@clear="
|
168
|
+
szTaMb.sszst = null;
|
169
|
+
szTaMb.sszstBm = null;
|
170
|
+
$forceUpdate();
|
171
|
+
"
|
172
|
+
:disabled="szTaMb.taType == 0"
|
173
|
+
v-el-readonly
|
174
|
+
clearable
|
175
|
+
>
|
176
|
+
<i
|
177
|
+
slot="suffix"
|
178
|
+
class="el-input__icon el-icon-search"
|
179
|
+
@click="showSzTaMbDialog = true"
|
180
|
+
></i>
|
181
|
+
</el-input>
|
182
|
+
</el-form-item>
|
183
|
+
</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<th><em class="f-red">*</em>{{ $t1("是否树结构") }}</th>
|
187
|
+
<td>
|
188
|
+
<el-form-item
|
189
|
+
prop="taRule"
|
190
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
191
|
+
>
|
192
|
+
<el-radio-group
|
193
|
+
v-model="szTaMb.taRule"
|
194
|
+
@change="changeTaRule"
|
195
|
+
>
|
196
|
+
<el-radio :label="1">{{ $t1("是") }}</el-radio>
|
197
|
+
<el-radio :label="0">{{ $t1("否") }}</el-radio>
|
198
|
+
</el-radio-group>
|
199
|
+
</el-form-item>
|
200
|
+
</td>
|
201
|
+
<th><em class="f-red">*</em>{{ $t1("数据范围") }}</th>
|
202
|
+
<td colspan="3">
|
203
|
+
<el-form-item
|
204
|
+
prop="dataRange"
|
205
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
206
|
+
>
|
207
|
+
<el-radio-group v-model="szTaMb.dataRange">
|
208
|
+
<el-radio :label="1">{{ $t1("集团") }}</el-radio>
|
209
|
+
<el-radio :label="0">{{ $t1("当前组织") }}</el-radio>
|
210
|
+
</el-radio-group>
|
211
|
+
</el-form-item>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<th>
|
216
|
+
<em class="f-red">*</em>
|
217
|
+
{{ $t1("表单分类") }}
|
218
|
+
</th>
|
219
|
+
<td colspan="5">
|
220
|
+
<el-form-item
|
221
|
+
prop="menuKindName"
|
222
|
+
:rules="[
|
223
|
+
{
|
224
|
+
required: true,
|
225
|
+
trigger: ['blur', 'change'],
|
226
|
+
},
|
227
|
+
]"
|
228
|
+
>
|
229
|
+
<el-input
|
230
|
+
class="search-input"
|
231
|
+
max="200"
|
232
|
+
v-model="szTaMb.menuKindName"
|
233
|
+
@clear="
|
234
|
+
szTaMb.menuKindCode = '';
|
235
|
+
$forceUpdate();
|
236
|
+
"
|
237
|
+
v-el-readonly
|
238
|
+
clearable
|
239
|
+
:disabled="otherFlag"
|
240
|
+
>
|
241
|
+
<i
|
242
|
+
slot="suffix"
|
243
|
+
class="el-input__icon el-icon-search"
|
244
|
+
@click="showMenuKindDialog = true"
|
245
|
+
></i>
|
246
|
+
</el-input>
|
247
|
+
</el-form-item>
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<th>
|
252
|
+
{{ $t1("项目标签") }}
|
253
|
+
</th>
|
254
|
+
<td colspan="7">
|
255
|
+
<projectTagView
|
256
|
+
v-model="szTaMb.szTaMbTagDTOs"
|
257
|
+
></projectTagView>
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
<tr>
|
261
|
+
<th>{{ $t1('是否启用') }}</th>
|
262
|
+
<td>
|
263
|
+
<el-form-item prop="enabled" :rules="[{ required: false, trigger: 'blur' }]">
|
264
|
+
<el-radio-group v-model="szTaMb.enabled">
|
265
|
+
<el-radio :label="true">{{ $t1('启用') }}</el-radio>
|
266
|
+
<el-radio :label="false">{{ $t1('禁用') }}</el-radio>
|
267
|
+
</el-radio-group>
|
268
|
+
</el-form-item>
|
269
|
+
</td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<th>
|
273
|
+
{{ $t1("服务名") }}
|
274
|
+
</th>
|
275
|
+
<td colspan="7">
|
276
|
+
{{ szTaMb.serviceName }}
|
277
|
+
</td>
|
278
|
+
</tr>
|
279
|
+
|
280
|
+
<tr>
|
281
|
+
<th>
|
282
|
+
{{ $t1("唯一标识") }}
|
283
|
+
</th>
|
284
|
+
<td colspan="7">
|
285
|
+
{{ szTaMb.sid }}
|
286
|
+
</td>
|
287
|
+
</tr>
|
288
|
+
<tr>
|
289
|
+
<th>{{ $t1("创建人") }}</th>
|
290
|
+
<td>{{ szTaMb.createBy }}</td>
|
291
|
+
<th>{{ $t1("创建时间") }}</th>
|
292
|
+
<td>{{ szTaMb.createDate }}</td>
|
293
|
+
<th>{{ $t1("更新人") }}</th>
|
294
|
+
<td>{{ szTaMb.modifyBy }}</td>
|
295
|
+
<th>{{ $t1("更新时间") }}</th>
|
296
|
+
<td>{{ szTaMb.modifyDate }}</td>
|
297
|
+
</tr>
|
298
|
+
</tbody>
|
299
|
+
</table>
|
300
|
+
</template>
|
301
|
+
</baseTabPane>
|
302
|
+
<baseTabPane :label="$t1('数据表字段明细')">
|
303
|
+
<template #button>
|
304
|
+
<el-button
|
305
|
+
class="button-sty"
|
306
|
+
@click="addTaMbItems"
|
307
|
+
icon="el-icon-plus"
|
308
|
+
>{{ $t1("新增") }}
|
309
|
+
</el-button
|
310
|
+
>
|
311
|
+
</template>
|
312
|
+
<template #default>
|
313
|
+
<div>
|
314
|
+
<vxe-grid
|
315
|
+
ref="table-szTaZdMb"
|
316
|
+
:data="szTaMb.szTaZdMbDTOs"
|
317
|
+
v-bind="productOption"
|
318
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
319
|
+
@custom="$vxeTableUtil.customHandle"
|
320
|
+
>
|
321
|
+
<template #zdType="{ row }">
|
322
|
+
<el-select
|
323
|
+
v-model="row.zdType"
|
324
|
+
clearable
|
325
|
+
:disabled="!!row.systems || !!row.relationZd"
|
326
|
+
@change="changeZdType(row)"
|
327
|
+
>
|
328
|
+
<el-option value="Boolean" :label="$t1('布尔')"></el-option>
|
329
|
+
<el-option value="Integer" :label="$t1('整数')"></el-option>
|
330
|
+
<el-option value="Long" :label="$t1('长整数')"></el-option>
|
331
|
+
<el-option
|
332
|
+
value="Decimal"
|
333
|
+
:label="$t1('精度小数')"
|
334
|
+
></el-option>
|
335
|
+
<el-option value="Money" :label="$t1('金额')"></el-option>
|
336
|
+
<el-option value="Text" :label="$t1('文本')"></el-option>
|
337
|
+
<el-option
|
338
|
+
value="TextArea"
|
339
|
+
:label="$t1('长文本')"
|
340
|
+
></el-option>
|
341
|
+
<el-option
|
342
|
+
value="DateTime"
|
343
|
+
:label="$t1('日期时间')"
|
344
|
+
></el-option>
|
345
|
+
<el-option
|
346
|
+
value="Reference"
|
347
|
+
:label="$t1('关联表')"
|
348
|
+
></el-option>
|
349
|
+
</el-select>
|
350
|
+
</template>
|
351
|
+
<template #zdLength="{ row, rowIndex }">
|
352
|
+
<el-form-item
|
353
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.zdLength'"
|
354
|
+
:rules="[{ required: false, trigger: ['blur', 'change'] }]"
|
355
|
+
>
|
356
|
+
<el-input
|
357
|
+
v-model="row.zdLength"
|
358
|
+
clearable
|
359
|
+
:disabled="!!row.systems || !!row.relationZd"
|
360
|
+
/>
|
361
|
+
</el-form-item>
|
362
|
+
</template>
|
363
|
+
<template #referenceZd="{ row, rowIndex, $table }">
|
364
|
+
<el-input
|
365
|
+
class="search-input"
|
366
|
+
v-model="row.referenceZd"
|
367
|
+
v-el-readonly
|
368
|
+
v-if="row.zdType == 'Reference'"
|
369
|
+
:disabled="!row.zdEn"
|
370
|
+
clearable
|
371
|
+
>
|
372
|
+
<i
|
373
|
+
slot="suffix"
|
374
|
+
class="el-input__icon el-icon-search"
|
375
|
+
@click="openReferenceZdDialog(row, rowIndex, $table)"
|
376
|
+
></i>
|
377
|
+
</el-input>
|
378
|
+
<template v-else>
|
379
|
+
{{ row.referenceZd }}
|
380
|
+
</template>
|
381
|
+
</template>
|
382
|
+
<template #zdEn="{ row, rowIndex }">
|
383
|
+
<template
|
384
|
+
v-if="!!row.systems || row.fromTable"
|
385
|
+
>
|
386
|
+
<div>
|
387
|
+
{{ row.zdEn }}
|
388
|
+
</div>
|
389
|
+
</template>
|
390
|
+
<template v-else>
|
391
|
+
<el-form-item
|
392
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.zdEn'"
|
393
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
394
|
+
:style="!!row.relationZd ? 'padding-left:20px' : ''"
|
395
|
+
>
|
396
|
+
<el-input v-model="row.zdEn" @keydown.native="inputZdEn(row)"
|
397
|
+
@input="(val)=>{changeZdEn(val,row)}"/>
|
398
|
+
</el-form-item>
|
399
|
+
</template>
|
400
|
+
</template>
|
401
|
+
<template #zdCh="{ row, rowIndex }">
|
402
|
+
<el-form-item
|
403
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.zdCh'"
|
404
|
+
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
405
|
+
>
|
406
|
+
<el-input
|
407
|
+
v-model="row.zdCh"
|
408
|
+
clearable
|
409
|
+
:disabled="!!row.systems"
|
410
|
+
/>
|
411
|
+
</el-form-item>
|
412
|
+
</template>
|
413
|
+
<template #zdTypeValues="{ row, rowIndex }">
|
414
|
+
<el-form-item
|
415
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.zdTypeValues'"
|
416
|
+
:rules="[{ required: false, trigger: ['blur', 'change'] }]"
|
417
|
+
>
|
418
|
+
<el-input
|
419
|
+
v-model="row.zdTypeValues"
|
420
|
+
clearable
|
421
|
+
:disabled="!!row.systems || !!row.relationZd"
|
422
|
+
/>
|
423
|
+
</el-form-item>
|
424
|
+
</template>
|
425
|
+
<template #required="{ row, rowIndex }">
|
426
|
+
<el-checkbox
|
427
|
+
v-model="row.required"
|
428
|
+
:disabled="!!row.systems || !!row.relationZd"
|
429
|
+
/>
|
430
|
+
</template>
|
431
|
+
<template #enabled="{ row, rowIndex }">
|
432
|
+
<el-checkbox
|
433
|
+
v-model="row.enabled"
|
434
|
+
:disabled="!!row.systems || !!row.relationZd"
|
435
|
+
/>
|
436
|
+
</template>
|
437
|
+
<template #generateCode="{ row, rowIndex }">
|
438
|
+
<el-checkbox
|
439
|
+
v-model="row.generateCode"
|
440
|
+
:disabled="!!row.systems || !!row.relationZd"
|
441
|
+
/>
|
442
|
+
</template>
|
443
|
+
<template #atened="{ row, rowIndex }">
|
444
|
+
<el-checkbox
|
445
|
+
v-model="row.atened"
|
446
|
+
:disabled="!!row.systems || !!row.relationZd"
|
447
|
+
/>
|
448
|
+
</template>
|
449
|
+
<template #updateIgnore="{ row, rowIndex }">
|
450
|
+
<el-checkbox
|
451
|
+
v-model="row.updateIgnore"
|
452
|
+
:disabled="!!row.systems || !!row.relationZd"
|
453
|
+
/>
|
454
|
+
</template>
|
455
|
+
<template #codeType="{ row, rowIndex }">
|
456
|
+
<el-form-item
|
457
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.codeType'"
|
458
|
+
:rules="[{ required: false, trigger: ['blur', 'change'] }]"
|
459
|
+
>
|
460
|
+
<el-input
|
461
|
+
v-model="row.codeType"
|
462
|
+
clearable
|
463
|
+
:disabled="!!row.systems || !!row.relationZd"
|
464
|
+
/>
|
465
|
+
</el-form-item>
|
466
|
+
</template>
|
467
|
+
<template #orders="{ row, rowIndex }">
|
468
|
+
<el-form-item
|
469
|
+
:prop="'szTaZdMbDTOs.' + rowIndex + '.orders'"
|
470
|
+
:rules="[{ required: false, trigger: ['blur', 'change'] }]"
|
471
|
+
>
|
472
|
+
<base-input-number
|
473
|
+
v-model="row.orders"
|
474
|
+
clearable
|
475
|
+
:disabled="!!row.systems"
|
476
|
+
@change="changeOrders(row)"
|
477
|
+
/>
|
478
|
+
</el-form-item>
|
479
|
+
</template>
|
480
|
+
<template #toTaBmZd="{ row, rowIndex, $table }">
|
481
|
+
<el-input
|
482
|
+
class="search-input"
|
483
|
+
v-model="row.toTaBmZd"
|
484
|
+
clearable
|
485
|
+
@clear="$forceUpdate()"
|
486
|
+
v-el-readonly
|
487
|
+
:disabled="!!row.systems || !!row.relationZd"
|
488
|
+
>
|
489
|
+
<i
|
490
|
+
slot="suffix"
|
491
|
+
class="el-input__icon el-icon-search"
|
492
|
+
@click="openToTaBmZdDialog(row, rowIndex, $table)"
|
493
|
+
></i>
|
494
|
+
</el-input>
|
495
|
+
</template>
|
496
|
+
<template #treeFlag="{ row }">
|
497
|
+
<el-select
|
498
|
+
v-model="row.treeFlag"
|
499
|
+
clearable
|
500
|
+
:disabled="!!row.systems || !!row.relationZd || szTaMb.taRule!==1"
|
501
|
+
>
|
502
|
+
<el-option value="name" :label="$t1('名称')"></el-option>
|
503
|
+
<el-option value="wbs" :label="$t1('WBS码')"></el-option>
|
504
|
+
<el-option value="parent" :label="$t1('上级ID')"></el-option>
|
505
|
+
<el-option value="treePath" :label="$t1('树ID路径')"></el-option>
|
506
|
+
<el-option value="treePathName" :label="$t1('树名称路径')"></el-option>
|
507
|
+
<el-option value="hasChild" :label="$t1('是否有下级')"></el-option>
|
508
|
+
<el-option value="grade" :label="$t1('层级')"></el-option>
|
509
|
+
</el-select>
|
510
|
+
</template>
|
511
|
+
</vxe-grid>
|
512
|
+
</div>
|
513
|
+
<table class="table-detail">
|
514
|
+
<tbody>
|
515
|
+
<tr>
|
516
|
+
<th>
|
517
|
+
{{ $t1("表编码") }}
|
518
|
+
</th>
|
519
|
+
<td colspan="7">
|
520
|
+
{{ szTaMb.taCode }}
|
521
|
+
</td>
|
522
|
+
</tr>
|
523
|
+
</tbody>
|
524
|
+
</table>
|
525
|
+
</template>
|
526
|
+
</baseTabPane>
|
527
|
+
<baseTabPane :label="$t1('操作日志')">
|
528
|
+
<template #default>
|
529
|
+
<formOplogTable
|
530
|
+
:parent-target="_self"
|
531
|
+
ref="oplogTable"
|
532
|
+
></formOplogTable>
|
533
|
+
</template>
|
534
|
+
</baseTabPane>
|
535
|
+
</baseTabs>
|
536
|
+
</el-form>
|
537
|
+
|
538
|
+
<szTaMbDialog
|
539
|
+
v-if="showSzTaMbDialog"
|
540
|
+
:visiable.sync="showSzTaMbDialog"
|
541
|
+
@confirm="confirmInsertSzTaMb"
|
542
|
+
:multi="false"
|
543
|
+
/>
|
544
|
+
<szTaMbDialog
|
545
|
+
v-if="showItemSzTaMbDialog"
|
546
|
+
:visiable.sync="showItemSzTaMbDialog"
|
547
|
+
@confirm="confirmInsertItemSzTaMb"
|
548
|
+
multi="false"
|
549
|
+
/>
|
550
|
+
<MenuKindDialog
|
551
|
+
v-if="showMenuKindDialog"
|
552
|
+
:visiable.sync="showMenuKindDialog"
|
553
|
+
@confirm="confirmInsertMenuKind"
|
554
|
+
:multi="false"
|
555
|
+
/>
|
556
|
+
|
557
|
+
<el-dialog
|
558
|
+
:title="$t1('关联表维护')"
|
559
|
+
v-if="showReferenceZdDialog"
|
560
|
+
:visible.sync="showReferenceZdDialog"
|
561
|
+
:modal-append-to-body="false"
|
562
|
+
:close-on-click-modal="false"
|
563
|
+
:modal="false"
|
564
|
+
custom-class="dialog-style wf-dialog"
|
565
|
+
v-el-drag-dialog
|
566
|
+
v-el-dialog-center
|
567
|
+
>
|
568
|
+
<el-form>
|
569
|
+
<div id="containt">
|
570
|
+
<table class="table-detail">
|
571
|
+
<tbody>
|
572
|
+
<tr>
|
573
|
+
<th>
|
574
|
+
<span class="t">
|
575
|
+
{{ $t1("关联表") }}
|
576
|
+
</span>
|
577
|
+
</th>
|
578
|
+
<td>
|
579
|
+
<el-form-item label="">
|
580
|
+
<el-input
|
581
|
+
class="search-input"
|
582
|
+
max="200"
|
583
|
+
v-model="referenceEntity"
|
584
|
+
@clear="
|
585
|
+
referenceKey = null;
|
586
|
+
refServiceName = null;
|
587
|
+
referenceShowFields = [];
|
588
|
+
$forceUpdate();
|
589
|
+
"
|
590
|
+
v-el-readonly
|
591
|
+
clearable
|
592
|
+
>
|
593
|
+
<i
|
594
|
+
slot="suffix"
|
595
|
+
class="el-input__icon el-icon-search"
|
596
|
+
@click="showEntityDialog = true"
|
597
|
+
></i>
|
598
|
+
</el-input>
|
599
|
+
</el-form-item>
|
600
|
+
</td>
|
601
|
+
</tr>
|
602
|
+
<tr>
|
603
|
+
<th>
|
604
|
+
<span class="t">
|
605
|
+
{{ $t1("关联字段") }}
|
606
|
+
</span>
|
607
|
+
</th>
|
608
|
+
<td>
|
609
|
+
<el-form-item label="">
|
610
|
+
<el-input
|
611
|
+
class="search-input"
|
612
|
+
max="200"
|
613
|
+
v-model="referenceKey"
|
614
|
+
@clear="referenceKey = null"
|
615
|
+
v-el-readonly
|
616
|
+
clearable
|
617
|
+
>
|
618
|
+
<i
|
619
|
+
slot="suffix"
|
620
|
+
class="el-input__icon el-icon-search"
|
621
|
+
@click="openEntityFieldDialog1"
|
622
|
+
></i>
|
623
|
+
</el-input>
|
624
|
+
</el-form-item>
|
625
|
+
</td>
|
626
|
+
</tr>
|
627
|
+
<tr>
|
628
|
+
<th>
|
629
|
+
<span class="t">
|
630
|
+
{{ $t1("显示字段") }}
|
631
|
+
</span>
|
632
|
+
</th>
|
633
|
+
<td>
|
634
|
+
<el-form-item label="">
|
635
|
+
<el-input
|
636
|
+
class="search-input"
|
637
|
+
max="200"
|
638
|
+
:value="referenceShowFields.join(',')"
|
639
|
+
@clear="referenceShowFields = []"
|
640
|
+
v-el-readonly
|
641
|
+
clearable
|
642
|
+
>
|
643
|
+
<i
|
644
|
+
slot="suffix"
|
645
|
+
class="el-input__icon el-icon-search"
|
646
|
+
@click="openEntityFieldDialog2"
|
647
|
+
></i>
|
648
|
+
</el-input>
|
649
|
+
</el-form-item>
|
650
|
+
</td>
|
651
|
+
</tr>
|
652
|
+
</tbody>
|
653
|
+
</table>
|
654
|
+
</div>
|
655
|
+
</el-form>
|
656
|
+
<span slot="footer" class="dialog-footer">
|
657
|
+
<el-button
|
658
|
+
type="primary"
|
659
|
+
plain
|
660
|
+
class="button-sty"
|
661
|
+
@click="showReferenceZdDialog = false"
|
662
|
+
>
|
663
|
+
<i class="el-icon-close el-icon"></i>
|
664
|
+
{{ $t1("取 消") }}
|
665
|
+
</el-button>
|
666
|
+
<el-button
|
667
|
+
type="primary"
|
668
|
+
@click="confirmReferenceZdDialog"
|
669
|
+
class="button-sty"
|
670
|
+
>
|
671
|
+
<i class="el-icon-check el-icon"></i>
|
672
|
+
{{ $t1("确 定") }}
|
673
|
+
</el-button>
|
674
|
+
</span>
|
675
|
+
</el-dialog>
|
676
|
+
|
677
|
+
<szTaMbDialog
|
678
|
+
v-if="showEntityDialog"
|
679
|
+
:visiable.sync="showEntityDialog"
|
680
|
+
@confirm="confirmEntityDialog"
|
681
|
+
:multi="false"
|
682
|
+
/>
|
683
|
+
|
684
|
+
<zdDialog
|
685
|
+
v-if="showEntityFieldDialog1"
|
686
|
+
:visiable.sync="showEntityFieldDialog1"
|
687
|
+
@confirm="confirmEntityFieldDialog1"
|
688
|
+
:taBm="referenceEntity"
|
689
|
+
:multi="false"
|
690
|
+
/>
|
691
|
+
<zdDialog
|
692
|
+
v-if="showEntityFieldDialog2"
|
693
|
+
:visiable.sync="showEntityFieldDialog2"
|
694
|
+
@confirm="confirmEntityFieldDialog2"
|
695
|
+
:taBm="referenceEntity"
|
696
|
+
:multi="true"
|
697
|
+
/>
|
698
|
+
<preformDialog
|
699
|
+
v-if="showPreformDialog"
|
700
|
+
:visiable.sync="showPreformDialog"
|
701
|
+
@confirm="confirmPreformDialog"
|
702
|
+
></preformDialog>
|
703
|
+
|
704
|
+
<szTaMbDialog
|
705
|
+
v-if="showTmDialog"
|
706
|
+
:visiable.sync="showTmDialog"
|
707
|
+
@confirm="confirmTmDialog"
|
708
|
+
:multi="false"
|
709
|
+
/>
|
710
|
+
|
711
|
+
<el-dialog
|
712
|
+
:title="$t1('引用数据库中数据表结构')"
|
713
|
+
:append-to-body="true"
|
714
|
+
:modal-append-to-body="true"
|
715
|
+
:close-on-click-modal="false"
|
716
|
+
v-if="showDtDialog"
|
717
|
+
:visible.sync="showDtDialog"
|
718
|
+
:modal="false"
|
719
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_8"
|
720
|
+
width="350px"
|
721
|
+
v-el-drag-dialog
|
722
|
+
>
|
723
|
+
<div class="cont">
|
724
|
+
<el-form
|
725
|
+
ref="editCategoryForm"
|
726
|
+
label-width="102px"
|
727
|
+
class="adSearchForm"
|
728
|
+
style="height: auto; width: auto"
|
729
|
+
>
|
730
|
+
<el-form-item :label="$t1('数据表')">
|
731
|
+
<el-input v-model="dbTable" clearable class="all-width"/>
|
732
|
+
</el-form-item>
|
733
|
+
</el-form>
|
734
|
+
</div>
|
735
|
+
<span slot="footer" class="dialog-footer">
|
736
|
+
<el-button
|
737
|
+
type="primary"
|
738
|
+
plain
|
739
|
+
class="button-sty"
|
740
|
+
@click="showDtDialog = false"
|
741
|
+
>
|
742
|
+
<i class="el-icon-close el-icon"></i>
|
743
|
+
{{ $t2("取 消", "system.button.cancel2") }}
|
744
|
+
</el-button>
|
745
|
+
<el-button type="primary" @click="confirmDtDialog" class="button-sty">
|
746
|
+
<i class="el-icon-check el-icon"></i>
|
747
|
+
{{ $t1("确定") }}
|
748
|
+
</el-button>
|
749
|
+
</span>
|
750
|
+
</el-dialog>
|
751
|
+
|
752
|
+
<otherAuthDialog v-if="showOtherAuthDialog" :visiable.sync="showOtherAuthDialog" :sid="sid"
|
753
|
+
@confirm="confirmOtherAuthDialog"></otherAuthDialog>
|
754
|
+
|
755
|
+
<!--begin-->
|
756
|
+
<el-dialog
|
757
|
+
:title="$t1('数据值对应表字段')"
|
758
|
+
v-if="showToTaBmZdDialog"
|
759
|
+
:visible.sync="showToTaBmZdDialog"
|
760
|
+
:modal-append-to-body="false"
|
761
|
+
:close-on-click-modal="false"
|
762
|
+
:modal="false"
|
763
|
+
custom-class="dialog-style wf-dialog"
|
764
|
+
v-el-drag-dialog
|
765
|
+
v-el-dialog-center
|
766
|
+
>
|
767
|
+
<el-form>
|
768
|
+
<div id="containt">
|
769
|
+
<table class="table-detail">
|
770
|
+
<tbody>
|
771
|
+
<tr>
|
772
|
+
<th>
|
773
|
+
<span class="t">
|
774
|
+
{{ $t1("对应表") }}
|
775
|
+
</span>
|
776
|
+
</th>
|
777
|
+
<td>
|
778
|
+
<el-form-item label="">
|
779
|
+
<el-input
|
780
|
+
class="search-input"
|
781
|
+
max="200"
|
782
|
+
v-model="toTaBmZdEntity"
|
783
|
+
@clear="
|
784
|
+
toTaBmZdEntity = null;
|
785
|
+
toTaBmZdField = null;
|
786
|
+
"
|
787
|
+
v-el-readonly
|
788
|
+
clearable
|
789
|
+
>
|
790
|
+
<i
|
791
|
+
slot="suffix"
|
792
|
+
class="el-input__icon el-icon-search"
|
793
|
+
@click="showEntityDialog3 = true"
|
794
|
+
></i>
|
795
|
+
</el-input>
|
796
|
+
</el-form-item>
|
797
|
+
</td>
|
798
|
+
</tr>
|
799
|
+
<tr>
|
800
|
+
<th>
|
801
|
+
<span class="t">
|
802
|
+
{{ $t1("对应表字段") }}
|
803
|
+
</span>
|
804
|
+
</th>
|
805
|
+
<td>
|
806
|
+
<el-form-item label="">
|
807
|
+
<el-input
|
808
|
+
class="search-input"
|
809
|
+
max="200"
|
810
|
+
v-model="toTaBmZdField"
|
811
|
+
@clear="toTaBmZdField = null"
|
812
|
+
v-el-readonly
|
813
|
+
clearable
|
814
|
+
>
|
815
|
+
<i
|
816
|
+
slot="suffix"
|
817
|
+
class="el-input__icon el-icon-search"
|
818
|
+
@click="openEntityFieldDialog3"
|
819
|
+
></i>
|
820
|
+
</el-input>
|
821
|
+
</el-form-item>
|
822
|
+
</td>
|
823
|
+
</tr>
|
824
|
+
</tbody>
|
825
|
+
</table>
|
826
|
+
</div>
|
827
|
+
</el-form>
|
828
|
+
<span slot="footer" class="dialog-footer">
|
829
|
+
<el-button
|
830
|
+
type="primary"
|
831
|
+
plain
|
832
|
+
class="button-sty"
|
833
|
+
@click="showToTaBmZdDialog = false"
|
834
|
+
>
|
835
|
+
<i class="el-icon-close el-icon"></i>
|
836
|
+
{{ $t1("取 消") }}
|
837
|
+
</el-button>
|
838
|
+
<el-button
|
839
|
+
type="primary"
|
840
|
+
@click="confirmToTaBmZdDialog"
|
841
|
+
class="button-sty"
|
842
|
+
>
|
843
|
+
<i class="el-icon-check el-icon"></i>
|
844
|
+
{{ $t1("确 定") }}
|
845
|
+
</el-button>
|
846
|
+
</span>
|
847
|
+
</el-dialog>
|
848
|
+
|
849
|
+
<szTaMbDialog
|
850
|
+
v-if="showEntityDialog3"
|
851
|
+
:visiable.sync="showEntityDialog3"
|
852
|
+
@confirm="confirmEntityDialog3"
|
853
|
+
:multi="false"
|
854
|
+
/>
|
855
|
+
|
856
|
+
<zdDialog
|
857
|
+
v-if="showEntityFieldDialog3"
|
858
|
+
:visiable.sync="showEntityFieldDialog3"
|
859
|
+
@confirm="confirmEntityFieldDialog3"
|
860
|
+
:taBm="toTaBmZdEntity"
|
861
|
+
:multi="false"
|
862
|
+
/>
|
863
|
+
<!--end-->
|
864
|
+
|
865
|
+
</div>
|
866
|
+
</template>
|
867
|
+
|
868
|
+
<script>
|
869
|
+
import mixin from "./mixins/edit";
|
870
|
+
|
871
|
+
export default {
|
872
|
+
name: "szTaMbEdit",
|
873
|
+
mixins: [mixin],
|
874
|
+
};
|
875
|
+
</script>
|