@oinone/kunlun-vue-admin-base 7.1.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/oinone-kunlun-vue-admin-base.css +1 -1
- package/dist/oinone-kunlun-vue-admin-base.esm.js +18 -18
- package/dist/oinone-kunlun-vue-admin-base.scss +1 -1
- package/dist/types/src/action/component/action-bar/ActionBarWidget.d.ts +1 -0
- package/dist/types/src/action/component/action-bar/DefaultActionBar.vue.d.ts +12 -6
- package/dist/types/src/action/view-actions/biz-audit/BizAuditRecordDetail.vue.d.ts +1 -1
- package/dist/types/src/action/view-actions/biz-audit/BizAuditRecordDetailFieldValue.vue.d.ts +1 -1
- package/dist/types/src/action/view-actions/biz-audit/service.d.ts +1 -1
- package/dist/types/src/basic/field/complex/select/SelectFieldWidget.d.ts +1 -0
- package/dist/types/src/basic/form/DefaultForm.vue.d.ts +10 -1
- package/dist/types/src/basic/table/BaseTableWidget.d.ts +2 -2
- package/dist/types/src/basic/table-column/BaseTableColumnWidget.d.ts +5 -0
- package/dist/types/src/basic/table-column/BaseTableFieldWidget.d.ts +0 -5
- package/dist/types/src/basic/token/BaseFieldWidget.d.ts +2 -1
- package/dist/types/src/components/select/base/BaseSelect.vue.d.ts +2 -1
- package/dist/types/src/components/select/base/index.d.ts +1 -0
- package/dist/types/src/components/select/base/useSelectId.d.ts +1 -0
- package/dist/types/src/components/select/department-select/DepartmentModal.vue.d.ts +3 -3
- package/dist/types/src/components/select/department-select/DepartmentTree.vue.d.ts +1 -1
- package/dist/types/src/components/select/modal-select/ModalSelect.vue.d.ts +2 -0
- package/dist/types/src/components/select/organizational-structure-tree/OrganizationalStructureTree.vue.d.ts +5 -2
- package/dist/types/src/components/sortable-group/SortableGroup.vue.d.ts +1 -1
- package/dist/types/src/field/businees-audit/FormBizAuditField.vue.d.ts +1 -1
- package/dist/types/src/field/cascader/DefaultCascader.vue.d.ts +1 -1
- package/dist/types/src/field/detail/date/DetailWeekPickerFieldWidget.d.ts +3 -0
- package/dist/types/src/field/detail/date/index.d.ts +1 -0
- package/dist/types/src/field/detail/index.d.ts +1 -1
- package/dist/types/src/field/detail/m2m/table/DetailM2MTableFieldWidget.d.ts +1 -0
- package/dist/types/src/field/detail/number/DetailFloatFieldWidget.d.ts +3 -0
- package/dist/types/src/field/detail/number/DetailIntegerFieldWidget.d.ts +3 -0
- package/dist/types/src/field/detail/number/DetailMoneyFieldWidget.d.ts +3 -0
- package/dist/types/src/field/detail/number/index.d.ts +4 -0
- package/dist/types/src/field/detail/o2m/table/DetailO2MTableFieldWidget.d.ts +1 -0
- package/dist/types/src/field/form/abstract/department/AbstractFormDepartmentFieldWidget.d.ts +4 -0
- package/dist/types/src/field/form/abstract/employee/AbstractFormEmployeeFieldWidget.d.ts +4 -0
- package/dist/types/src/field/form/abstract/radio/FormRelationFieldRadioWidget.d.ts +2 -1
- package/dist/types/src/field/form/abstract/role/AbstractFormRoleFieldWidget.d.ts +4 -0
- package/dist/types/src/field/form/abstract/select/DefaultMultipleSelect.vue.d.ts +2 -1
- package/dist/types/src/field/form/abstract/select/DefaultSingleSelect.vue.d.ts +2 -1
- package/dist/types/src/field/form/date/DefaultDatePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/DefaultDateTimePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/DefaultTimePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/DefaultYearPicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/range/DefaultDateRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/range/DefaultDateTimeRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/range/DefaultTimeRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/date/range/DefaultYearRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/form/enum/select/multi/MultiEnumSelect.vue.d.ts +1 -1
- package/dist/types/src/field/form/enum/select/single/EnumSelect.vue.d.ts +1 -1
- package/dist/types/src/field/form/enum/thumbnail/FormEnumThumbnail.vue.d.ts +2 -1
- package/dist/types/src/field/form/string/expression/model-field-select/modelFieldSelectControlWidget.d.ts +2 -0
- package/dist/types/src/field/form/text/DomainExpGenerator/DomainExpGenerator.vue.d.ts +1 -1
- package/dist/types/src/field/form/text/DomainExpGenerator/ExpItem.vue.d.ts +4 -0
- package/dist/types/src/field/form/text/DomainExpGenerator/ExpRight.vue.d.ts +1 -1
- package/dist/types/src/field/gallery/number/GalleryFloatFieldWidget.d.ts +3 -0
- package/dist/types/src/field/gallery/number/GalleryIntegerFieldWidget.d.ts +3 -0
- package/dist/types/src/field/gallery/number/GalleryMoneyFieldWidget.d.ts +3 -0
- package/dist/types/src/field/gallery/number/index.d.ts +3 -0
- package/dist/types/src/field/prop/RelationSelectProps.d.ts +1 -0
- package/dist/types/src/field/resource/language-badge/FormResourceLangBadge.vue.d.ts +2 -1
- package/dist/types/src/field/search/enum/TabSelect.vue.d.ts +1 -1
- package/dist/types/src/field/search/enum/TagSelect.vue.d.ts +1 -1
- package/dist/types/src/field/table/date/TableWeekPickerFieldWidget.d.ts +3 -0
- package/dist/types/src/field/table/date/index.d.ts +1 -0
- package/dist/types/src/field/table/date/range/editor/DefaultEditorDateRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/table/date/range/editor/DefaultEditorDateTimeRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/table/date/range/editor/DefaultEditorTimeRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/table/date/range/editor/DefaultEditorYearRangePicker.vue.d.ts +1 -1
- package/dist/types/src/field/table/html/TableRichText.vue.d.ts +1 -1
- package/dist/types/src/field/table/number/TableFloatFieldWidget.d.ts +3 -0
- package/dist/types/src/field/table/number/TableIntegerFieldWidget.d.ts +3 -0
- package/dist/types/src/field/table/number/index.d.ts +2 -0
- package/dist/types/src/field/table-layout-column/TableLayoutColumnWidget.d.ts +8 -5
- package/dist/types/src/field/table-operation-column/TableOperationColumn.vue.d.ts +1 -1
- package/dist/types/src/field/tree-select/DefaultTreeSelect.vue.d.ts +1 -1
- package/dist/types/src/permission/permission/field/FieldPermission.vue.d.ts +1 -1
- package/dist/types/src/permission/permission/field/index.d.ts +0 -2
- package/dist/types/src/permission/permission/index.d.ts +0 -1
- package/dist/types/src/permission/system-permission/field/permission-field/FieldPermission.vue.d.ts +1 -1
- package/dist/types/src/permission/system-permission/field/permission-user/UserPermission.vue.d.ts +1 -1
- package/dist/types/src/permission/system-permission/service/index.d.ts +3 -0
- package/dist/types/src/util/jumpDesignerPage.d.ts +0 -9
- package/dist/types/src/view/application-screen/apps-business-screen/components/Card.vue.d.ts +1 -1
- package/dist/types/src/view/application-screen/apps-business-screen/components/CardList.vue.d.ts +1 -1
- package/dist/types/src/view/application-screen/gallery/AppsGalleryWidget.d.ts +0 -2
- package/dist/types/src/view/application-screen/gallery/Gallery.vue.d.ts +1 -1
- package/dist/types/src/view/detail/DefaultDetail.vue.d.ts +9 -0
- package/dist/types/src/view/detail/DetailWidget.d.ts +1 -0
- package/dist/types/src/view/gallery/GalleryWidget.d.ts +2 -2
- package/dist/types/src/view/homepage-setting/components/MultiSelect.vue.d.ts +2 -1
- package/dist/types/src/view/homepage-setting/components/SingleSelect.vue.d.ts +2 -1
- package/dist/types/src/view/homepage-setting/field/HomepageSettingFieldWidget.d.ts +1 -1
- package/dist/types/src/view/homepage-setting/view/advanced-homepage-setting/AdvancedHomepageSetting.vue.d.ts +84 -0
- package/dist/types/src/view/iframe-view/menu/Menu.vue.d.ts +73 -1
- package/dist/types/src/view/index.d.ts +0 -2
- package/dist/types/src/view/login/BaseLoginWidget.d.ts +3 -2
- package/dist/types/src/view/login/LoginWidget.d.ts +0 -1
- package/dist/types/src/view/reset-password/FirstResetPassword.vue.d.ts +1 -1
- package/dist/types/src/view/reset-password/ForgetPassword.vue.d.ts +1 -1
- package/dist/types/src/view/search/SearchPrefer.vue.d.ts +1 -1
- package/dist/types/src/view/table/DefaultTable.vue.d.ts +28 -1
- package/dist/types/src/view/table/TableWidget.d.ts +3 -1
- package/dist/types/src/view/view/DetailView.d.ts +1 -0
- package/dist/types/src/view/workbench/Workbench.vue.d.ts +1 -1
- package/package.json +22 -22
- package/src/action/client-actions/SaveDraftActionWidget.ts +42 -27
- package/src/action/component/action/ActionWidget.ts +4 -4
- package/src/action/component/action/DefaultAction.vue +6 -1
- package/src/action/component/action-bar/ActionBarWidget.ts +13 -0
- package/src/action/component/action-bar/DefaultActionBar.vue +27 -9
- package/src/action/component/action-bar/DefaultMoreActionItem.vue +2 -2
- package/src/action/component/action-bar/style/index.scss +16 -0
- package/src/action/server-actions/ServerActionWidget.ts +2 -2
- package/src/action/url-actions/UrlActionWidget.ts +1 -1
- package/src/action/view-actions/BackActionWidget.ts +2 -3
- package/src/action/view-actions/biz-audit/RegisterDetail.ts +2 -2
- package/src/action/view-actions/biz-audit/service.ts +1 -1
- package/src/action/view-actions/popup/util.ts +1 -1
- package/src/basic/element/BaseElementListViewWidget.ts +4 -1
- package/src/basic/element/BaseElementObjectViewWidget.ts +4 -1
- package/src/basic/field/complex/select/SelectFieldWidget.ts +9 -0
- package/src/basic/form/DefaultForm.vue +17 -2
- package/src/basic/form-item/DefaultFormItem.vue +4 -4
- package/src/basic/form-item/style/index.scss +2 -2
- package/src/basic/table/BaseTableWidget.ts +8 -12
- package/src/basic/table-column/BaseTableColumnWidget.ts +86 -2
- package/src/basic/table-column/BaseTableFieldWidget.ts +1 -86
- package/src/basic/table-column/DefaultGroupCell.vue +21 -31
- package/src/basic/token/BaseFieldWidget.ts +32 -1
- package/src/basic/token/BaseView.ts +1 -0
- package/src/components/index.scss +1 -0
- package/src/components/oio-manage-group/OioManageGroup.vue +3 -2
- package/src/components/select/base/BaseSelect.vue +44 -8
- package/src/components/select/base/index.ts +1 -0
- package/src/components/select/base/useSelectId.ts +7 -0
- package/src/components/select/company-select/CompanySelect.vue +1 -0
- package/src/components/select/department-select/DepartmentModal.vue +7 -5
- package/src/components/select/department-select/DepartmentTree.vue +2 -2
- package/src/components/select/employee-select/DepartmentEmployeeSelectPanel.vue +0 -1
- package/src/components/select/modal-select/ModalSelect.vue +50 -6
- package/src/components/select/modal-select/style/index.scss +5 -0
- package/src/components/select/organizational-structure-tree/OrganizationalStructureTree.vue +31 -5
- package/src/components/select/table-select/TableSelect.vue +10 -1
- package/src/components/sortable-group/SortableGroup.vue +1 -1
- package/src/components/upload/UploadDraggable.vue +1 -1
- package/src/components/user-prefer/SimpleUserPreferSetting.vue +2 -1
- package/src/container/collapse/DefaultCollapsePanel.vue +1 -0
- package/src/container/group/DefaultGroup.vue +3 -4
- package/src/container/tabs/DefaultTabWidget.ts +2 -1
- package/src/field/detail/date/DetailWeekPickerFieldWidget.ts +13 -0
- package/src/field/detail/date/index.ts +1 -0
- package/src/field/detail/date/range/use-date-time-range-picker.ts +1 -1
- package/src/field/detail/date/use-date-time-picker.ts +1 -1
- package/src/field/detail/index.ts +1 -1
- package/src/field/detail/m2m/table/DetailM2MTableFieldWidget.ts +16 -0
- package/src/field/detail/number/DetailFloatFieldWidget.ts +12 -0
- package/src/field/detail/number/DetailIntegerFieldWidget.ts +12 -0
- package/src/field/detail/number/DetailMoneyFieldWidget.ts +12 -0
- package/src/field/detail/number/DetailNumberWidget.ts +0 -9
- package/src/field/detail/number/index.ts +4 -0
- package/src/field/detail/o2m/table/DetailO2MTableFieldWidget.ts +16 -0
- package/src/field/detail/string/color/DefaultColorPicker.vue +2 -3
- package/src/field/form/abstract/department/AbstractFormDepartmentFieldWidget.ts +11 -0
- package/src/field/form/abstract/employee/AbstractFormEmployeeFieldWidget.ts +11 -0
- package/src/field/form/abstract/radio/FormRelationFieldRadioWidget.ts +3 -1
- package/src/field/form/abstract/role/AbstractFormRoleFieldWidget.ts +11 -0
- package/src/field/form/abstract/select/DefaultMultipleSelect.vue +1 -0
- package/src/field/form/abstract/select/DefaultSingleSelect.vue +1 -0
- package/src/field/form/enum/thumbnail/FormEnumThumbnail.vue +15 -3
- package/src/field/form/integer/FormIntegerSliderFieldWidget.ts +1 -1
- package/src/field/form/m2m/upload/FormM2MUploadDraggableFieldWidget.ts +3 -3
- package/src/field/form/m2o/upload/FormM2OUploadDraggableFieldWidget.ts +3 -3
- package/src/field/form/o2m/upload/FormO2MUploadDraggableFieldWidget.ts +3 -3
- package/src/field/form/o2o/upload/FormO2OUploadDraggableFieldWidget.ts +3 -3
- package/src/field/form/string/color/DefaultColorPicker.vue +2 -3
- package/src/field/form/string/download/FormStringDownloadFieldWidget.ts +2 -2
- package/src/field/form/string/expression/model-field-select/modelFieldSelectControlWidget.ts +3 -0
- package/src/field/form/string/upload/FormStringUploadDraggableFieldWidget.ts +2 -2
- package/src/field/form/text/DomainExpGenerator/ExpRight.vue +2 -2
- package/src/field/gallery/number/GalleryFloatFieldWidget.ts +12 -0
- package/src/field/gallery/number/GalleryIntegerFieldWidget.ts +12 -0
- package/src/field/gallery/number/GalleryMoneyFieldWidget.ts +12 -0
- package/src/field/gallery/number/GalleryNumberWidget.ts +0 -9
- package/src/field/gallery/number/index.ts +3 -0
- package/src/field/prop/RelationSelectProps.ts +34 -0
- package/src/field/resource/resource-date-time-format/constant.ts +4 -4
- package/src/field/resource/resource-date-time-format/resource-date-format/FormResourceDateFormat.vue +61 -1
- package/src/field/table/date/TableWeekPickerFieldWidget.ts +13 -0
- package/src/field/table/date/TableYearFieldWidget.ts +1 -1
- package/src/field/table/date/index.ts +1 -0
- package/src/field/table/date/range/TableDateTimeRangeFieldWidget.ts +1 -1
- package/src/field/table/enum/TableEnum.vue +3 -3
- package/src/field/table/number/TableFloatFieldWidget.ts +12 -0
- package/src/field/table/number/TableIntegerFieldWidget.ts +12 -0
- package/src/field/table/number/TableNumberWidget.ts +1 -9
- package/src/field/table/number/index.ts +2 -0
- package/src/field/table-layout-column/TableLayoutColumnWidget.ts +37 -17
- package/src/file/excel/service/ExcelExportService.ts +1 -1
- package/src/file/print/service/PrintService.ts +1 -1
- package/src/icon-manage/view/search/IconSearch.vue +29 -35
- package/src/icon-manage/view/search/style/IconSearch.scss +37 -33
- package/src/main-view/DefaultMetadataMainViewWidget.ts +1 -1
- package/src/permission/permission/field/FieldPermissionWidget.ts +2 -4
- package/src/permission/permission/field/index.ts +0 -2
- package/src/permission/permission/index.ts +0 -1
- package/src/permission/system-permission/PermissionWidget.ts +12 -11
- package/src/permission/system-permission/components/Config.vue +17 -7
- package/src/permission/system-permission/components/Empty.vue +1 -1
- package/src/permission/system-permission/components/RoleDialog.vue +4 -4
- package/src/permission/system-permission/service/index.ts +77 -60
- package/src/plugins/translate.ts +6 -3
- package/src/shim-translate.d.ts +4 -1
- package/src/style/antdComponents/All.scss +0 -27
- package/src/style/root.scss +1 -1
- package/src/tags/context/runtime-context-helper.ts +6 -6
- package/src/tags/resolve/internal/widget-resolve.ts +5 -1
- package/src/util/collection-actions.ts +1 -1
- package/src/util/jumpDesignerPage.ts +11 -24
- package/src/view/application-screen/apps-business-screen/components/Card.vue +2 -2
- package/src/view/application-screen/apps-business-screen/components/RelationGraph.vue +2 -2
- package/src/view/application-screen/gallery/AppsGalleryWidget.ts +108 -133
- package/src/view/application-screen/gallery/Gallery.vue +2 -2
- package/src/view/company-setting/CompanySetting.vue +16 -14
- package/src/view/detail/DefaultDetail.vue +6 -5
- package/src/view/detail/DetailWidget.ts +12 -1
- package/src/view/gallery/GalleryWidget.ts +3 -3
- package/src/view/homepage-setting/field/HomepageSettingFieldWidget.ts +5 -5
- package/src/view/homepage-setting/hook/useHomepageSetting.ts +1 -1
- package/src/view/index.ts +0 -2
- package/src/view/login/BaseLoginWidget.ts +12 -6
- package/src/view/login/LoginWidget.ts +0 -2
- package/src/view/login/SSOLoginWidget.ts +1 -3
- package/src/view/login-page-setting/LoginPageSetting.vue +6 -7
- package/src/view/paas-install/PaaSInstall.vue +2 -2
- package/src/view/paas-manager/PaaSManager.vue +2 -2
- package/src/view/popup/PopupWidget.ts +2 -2
- package/src/view/quick-fill/Excel.vue +2 -1
- package/src/view/quick-fill/QuickFill.vue +9 -10
- package/src/view/system-style/localData.ts +8 -8
- package/src/view/table/DefaultTable.vue +81 -43
- package/src/view/table/DefaultTableFooterOperator.vue +2 -2
- package/src/view/table/TableUserPrefer.vue +1 -1
- package/src/view/table/TableWidget.ts +16 -5
- package/src/view/table/style/index.scss +6 -0
- package/src/view/unauthorized/Unauthorized.vue +1 -1
- package/src/view/view/DetailView.ts +12 -0
- package/src/view/view-control/card-col-control/DefaultCardColControl.vue +2 -2
- package/src/view/view-control/group-control/DefaultGroupControl.vue +2 -2
- package/src/view/view-control/sort-control/DefaultSortControl.vue +2 -2
- package/src/view/workbench/Workbench.vue +2 -2
- package/dist/types/src/permission/permission/action/PermissionSubmitActionWidget.d.ts +0 -7
- package/dist/types/src/permission/permission/action/index.d.ts +0 -1
- package/dist/types/src/permission/permission/field/ActionPermissionWidget.d.ts +0 -65
- package/dist/types/src/permission/permission/field/DataPermissionWidget.d.ts +0 -19
- package/dist/types/src/view/paas-install/PaaSInstall.d.ts +0 -6
- package/dist/types/src/view/paas-install/PaaSInstall.vue.d.ts +0 -22
- package/dist/types/src/view/paas-install/field/custom-table/CodeFoucsTable.vue.d.ts +0 -24
- package/dist/types/src/view/paas-install/field/custom-table/CustomTable.d.ts +0 -13
- package/dist/types/src/view/paas-install/field/index.d.ts +0 -2
- package/dist/types/src/view/paas-install/field/upload-and-select/UploadAndSelect.d.ts +0 -6
- package/dist/types/src/view/paas-install/field/upload-and-select/UploadAndSelect.vue.d.ts +0 -65
- package/dist/types/src/view/paas-install/index.d.ts +0 -2
- package/dist/types/src/view/paas-install/service.d.ts +0 -2
- package/dist/types/src/view/paas-manager/PaaSManager.d.ts +0 -6
- package/dist/types/src/view/paas-manager/PaaSManager.vue.d.ts +0 -23
- package/dist/types/src/view/paas-manager/service.d.ts +0 -2
- package/src/permission/permission/action/PermissionSubmitActionWidget.ts +0 -161
- package/src/permission/permission/action/index.ts +0 -1
- package/src/permission/permission/field/ActionPermissionWidget.ts +0 -472
- package/src/permission/permission/field/DataPermissionWidget.ts +0 -135
- package/src/view/login/view.vue +0 -7
- package/src/view/paas-install/PaaSInstall.ts +0 -23
- package/src/view/paas-install/README.md +0 -1
- package/src/view/paas-install/field/custom-table/CodeFoucsTable.vue +0 -115
- package/src/view/paas-install/field/custom-table/CustomTable.ts +0 -166
- package/src/view/paas-install/field/index.ts +0 -2
- package/src/view/paas-install/field/upload-and-select/UploadAndSelect.ts +0 -29
- package/src/view/paas-install/field/upload-and-select/UploadAndSelect.vue +0 -157
- package/src/view/paas-install/index.ts +0 -2
- package/src/view/paas-install/service.ts +0 -37
- package/src/view/paas-manager/PaaSManager.ts +0 -23
- package/src/view/paas-manager/service.ts +0 -37
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="extra-container">
|
|
3
|
-
<div class="extra-container-header">
|
|
4
|
-
<div class="extra-container-label">{{ extraLabel }}</div>
|
|
5
|
-
<div class="extra-container-desc" v-if="extraField">{{ extraField.label }}: {{ extraFieldValue || '-' }}</div>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="extra-container-content">
|
|
8
|
-
<a-steps v-if="extraAction && extraAction.length">
|
|
9
|
-
<a-step status="finish" v-for="action in extraAction">
|
|
10
|
-
<template #icon>
|
|
11
|
-
<div class="extra-container-content-action-icon">
|
|
12
|
-
<oio-icon :icon="`oinone-${action.icon}`" size="30px" color="#fff" />
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
<template #title>
|
|
16
|
-
<oio-button
|
|
17
|
-
type="primary"
|
|
18
|
-
:disabled="loading"
|
|
19
|
-
@click="executeAction(action.actionName, action.displayName)"
|
|
20
|
-
>
|
|
21
|
-
{{ action.displayName }}
|
|
22
|
-
</oio-button>
|
|
23
|
-
</template>
|
|
24
|
-
<template #description>
|
|
25
|
-
<div class="extra-container-content-action-desc">{{ action.desc }}</div>
|
|
26
|
-
</template>
|
|
27
|
-
</a-step>
|
|
28
|
-
</a-steps>
|
|
29
|
-
</div>
|
|
30
|
-
<slot />
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<script lang="ts">
|
|
34
|
-
import { defineComponent } from 'vue';
|
|
35
|
-
import { OioButton, OioIcon } from '@oinone/kunlun-vue-ui-antd';
|
|
36
|
-
import InlineTable from '../../../../components/common/inline-table/InlineTable.vue';
|
|
37
|
-
|
|
38
|
-
export default defineComponent({
|
|
39
|
-
name: 'CodeFocusTable',
|
|
40
|
-
props: [
|
|
41
|
-
'loading',
|
|
42
|
-
'extraLabel',
|
|
43
|
-
'extraField',
|
|
44
|
-
'extraFieldValue',
|
|
45
|
-
'extraAction',
|
|
46
|
-
'executeAction',
|
|
47
|
-
'viewTemplate',
|
|
48
|
-
'metaViewNodeCode'
|
|
49
|
-
],
|
|
50
|
-
components: { OioButton, OioIcon, InlineTable },
|
|
51
|
-
inheritAttrs: false
|
|
52
|
-
});
|
|
53
|
-
</script>
|
|
54
|
-
|
|
55
|
-
<style lang="scss">
|
|
56
|
-
.extra-container {
|
|
57
|
-
&-header {
|
|
58
|
-
display: flex;
|
|
59
|
-
width: 100%;
|
|
60
|
-
line-height: 20px;
|
|
61
|
-
align-items: center;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-label {
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
color: var(--oio-text-color);
|
|
67
|
-
font-weight: 500;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-desc {
|
|
71
|
-
font-size: 12px;
|
|
72
|
-
color: var(--oio-text-color);
|
|
73
|
-
line-height: 18px;
|
|
74
|
-
font-weight: 400;
|
|
75
|
-
margin-left: 12px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-content {
|
|
79
|
-
padding: 16px 0;
|
|
80
|
-
display: flex;
|
|
81
|
-
justify-content: space-between;
|
|
82
|
-
|
|
83
|
-
&-action {
|
|
84
|
-
display: flex;
|
|
85
|
-
|
|
86
|
-
&-desc {
|
|
87
|
-
font-size: 14px;
|
|
88
|
-
color: var(--oio-text-color);
|
|
89
|
-
line-height: 20px;
|
|
90
|
-
margin-top: 8px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&-icon {
|
|
94
|
-
background: #005ae3;
|
|
95
|
-
width: 40px;
|
|
96
|
-
height: 40px;
|
|
97
|
-
border-radius: 4px;
|
|
98
|
-
margin-right: 4px;
|
|
99
|
-
display: flex;
|
|
100
|
-
justify-content: center;
|
|
101
|
-
align-items: center;
|
|
102
|
-
|
|
103
|
-
i {
|
|
104
|
-
font-size: 30px;
|
|
105
|
-
color: white;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title:after {
|
|
112
|
-
background: var(--oio-primary-color);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
</style>
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Dialog,
|
|
3
|
-
executeServerAction,
|
|
4
|
-
executeViewAction,
|
|
5
|
-
translateValueByKey,
|
|
6
|
-
ViewActionCache
|
|
7
|
-
} from '@oinone/kunlun-engine';
|
|
8
|
-
import { ActionType, type IModel, ModelFieldType, ViewActionTarget, ViewType } from '@oinone/kunlun-meta';
|
|
9
|
-
import { type ObjectValue } from '@oinone/kunlun-request';
|
|
10
|
-
import { customMutation, getModel } from '@oinone/kunlun-service';
|
|
11
|
-
import { SPI } from '@oinone/kunlun-spi';
|
|
12
|
-
import { OioNotification } from '@oinone/kunlun-vue-ui-antd';
|
|
13
|
-
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
14
|
-
import { FormFieldWidget } from '../../../../basic';
|
|
15
|
-
import { FormO2MTableFieldWidget } from '../../../../field';
|
|
16
|
-
import { createRuntimeContextForWidget } from '../../../../tags';
|
|
17
|
-
import { FormWidget } from '../../../form';
|
|
18
|
-
import CodeFocusTable from './CodeFoucsTable.vue';
|
|
19
|
-
|
|
20
|
-
@SPI.ClassFactory(
|
|
21
|
-
FormFieldWidget.Token({
|
|
22
|
-
viewType: [ViewType.Form, ViewType.Detail],
|
|
23
|
-
ttype: ModelFieldType.OneToMany,
|
|
24
|
-
widget: ['CodeFuseTable']
|
|
25
|
-
})
|
|
26
|
-
)
|
|
27
|
-
export class CodeFuseTable extends FormO2MTableFieldWidget {
|
|
28
|
-
private dialogViewAction: FormWidget | undefined;
|
|
29
|
-
|
|
30
|
-
public initialize(props: Record<string, unknown>) {
|
|
31
|
-
super.initialize(props);
|
|
32
|
-
this.setComponent(CodeFocusTable);
|
|
33
|
-
return this;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@Widget.Reactive()
|
|
37
|
-
private extraLabel = '';
|
|
38
|
-
|
|
39
|
-
@Widget.Reactive()
|
|
40
|
-
private extraField = {};
|
|
41
|
-
|
|
42
|
-
@Widget.Reactive()
|
|
43
|
-
private extraFieldValue = '';
|
|
44
|
-
|
|
45
|
-
@Widget.Reactive()
|
|
46
|
-
private extraAction: any[] = [];
|
|
47
|
-
|
|
48
|
-
private getActionByModel(model: IModel, actionName: string): any {
|
|
49
|
-
const actions = [
|
|
50
|
-
...(model.viewActionList || []),
|
|
51
|
-
...(model.urlActionList || []),
|
|
52
|
-
...(model.serverActionList || [])
|
|
53
|
-
];
|
|
54
|
-
return actions.find((action) => action.name === actionName);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@Widget.Reactive()
|
|
58
|
-
private async executeAction(actionName, actionTip) {
|
|
59
|
-
const model = await getModel(this.field.model);
|
|
60
|
-
const action = this.getActionByModel(model, actionName);
|
|
61
|
-
const item = { ...this.formData };
|
|
62
|
-
|
|
63
|
-
if (this.dialogViewAction) {
|
|
64
|
-
this.dialogViewAction?.dispose();
|
|
65
|
-
}
|
|
66
|
-
if (action) {
|
|
67
|
-
if (action.target === ViewActionTarget.Dialog) {
|
|
68
|
-
const viewAction = await ViewActionCache.get(model.model, actionName)!;
|
|
69
|
-
const resView = viewAction?.resView;
|
|
70
|
-
if (resView) {
|
|
71
|
-
const runtimeContext = createRuntimeContextForWidget(resView, { mergeLayout: true });
|
|
72
|
-
const runtimeContextHandle = runtimeContext.handle;
|
|
73
|
-
const dialogWidget = Dialog.create();
|
|
74
|
-
dialogWidget.on('ok', async () => {
|
|
75
|
-
await this.load(async () => {
|
|
76
|
-
let result;
|
|
77
|
-
dialogWidget.onVisibleChange(false);
|
|
78
|
-
const param = this.dialogViewAction?.activeRecords?.[0] as ObjectValue;
|
|
79
|
-
if (!param) {
|
|
80
|
-
throw new Error('invalid param.');
|
|
81
|
-
}
|
|
82
|
-
// 上传jar包
|
|
83
|
-
if (actionName === 'uploadJarView') {
|
|
84
|
-
result = await customMutation('paas.codeFuse.CodeFuseModuleExtProject', 'uploadJar', param);
|
|
85
|
-
}
|
|
86
|
-
// 创建分支
|
|
87
|
-
if (actionName === 'buildGitBranchView') {
|
|
88
|
-
result = await customMutation('paas.codeFuse.CodeFuseModuleExtProject', 'buildGitBranch', param);
|
|
89
|
-
}
|
|
90
|
-
if (result) {
|
|
91
|
-
this.parentRefreshProcess && (await this.parentRefreshProcess());
|
|
92
|
-
this.refreshParentProcess();
|
|
93
|
-
}
|
|
94
|
-
return result;
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
dialogWidget.on('cancel', () => {
|
|
98
|
-
// do something for click cancel.
|
|
99
|
-
dialogWidget.onVisibleChange(false);
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
this.dialogViewAction = dialogWidget.createWidget(FormWidget, undefined, {
|
|
103
|
-
metadataHandle: runtimeContextHandle,
|
|
104
|
-
rootHandle: runtimeContextHandle,
|
|
105
|
-
template: runtimeContext.viewTemplate,
|
|
106
|
-
internal: true,
|
|
107
|
-
inline: true,
|
|
108
|
-
dataSource: item,
|
|
109
|
-
activeRecords: item
|
|
110
|
-
});
|
|
111
|
-
dialogWidget.setTitle(resView.title!);
|
|
112
|
-
dialogWidget.onVisibleChange(true);
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
if (action.actionType === ActionType.View) {
|
|
118
|
-
return executeViewAction(action, null, null, { id: item.id });
|
|
119
|
-
}
|
|
120
|
-
//
|
|
121
|
-
if (action.actionType === ActionType.Server) {
|
|
122
|
-
this.loading = true;
|
|
123
|
-
try {
|
|
124
|
-
OioNotification.info(
|
|
125
|
-
'',
|
|
126
|
-
`${translateValueByKey('正在')}${actionTip}, ${translateValueByKey('请稍后,请勿重复操作')}`
|
|
127
|
-
);
|
|
128
|
-
await executeServerAction(action, item);
|
|
129
|
-
OioNotification.success('', `${actionTip}${translateValueByKey('成功')}`);
|
|
130
|
-
this.loading = false;
|
|
131
|
-
} catch (error) {
|
|
132
|
-
this.loading = false;
|
|
133
|
-
}
|
|
134
|
-
} else {
|
|
135
|
-
console.error('跳转异常');
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@Widget.Watch('formData', { immediate: true, deep: true })
|
|
141
|
-
public async getExtraConfig() {
|
|
142
|
-
const { extraLabel, extraField, extraAction } = this.getDsl();
|
|
143
|
-
const model = await getModel(this.field.model);
|
|
144
|
-
if (extraLabel) {
|
|
145
|
-
this.extraLabel = extraLabel;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
if (extraField) {
|
|
149
|
-
const field = model.modelFields.find((f) => f.name === extraField);
|
|
150
|
-
if (field) {
|
|
151
|
-
this.extraFieldValue = this.formData[field!.name] as string;
|
|
152
|
-
this.extraField = field!;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
if (extraAction) {
|
|
157
|
-
const field = model.modelFields.find((f) => f.name === extraAction);
|
|
158
|
-
this.extraAction = this.formData[field!.name] as any;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
public async mounted() {
|
|
163
|
-
super.mounted();
|
|
164
|
-
this.getExtraConfig();
|
|
165
|
-
}
|
|
166
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
3
|
-
import { ModelFieldType, ViewType } from '@oinone/kunlun-meta';
|
|
4
|
-
import { FormFieldWidget } from '../../../../basic';
|
|
5
|
-
import { FormM2OConstructSelectFieldWidget } from '../../../../field';
|
|
6
|
-
import UploadAndSelectView from './UploadAndSelect.vue';
|
|
7
|
-
|
|
8
|
-
@SPI.ClassFactory(
|
|
9
|
-
FormFieldWidget.Token({
|
|
10
|
-
viewType: [ViewType.Form, ViewType.Search, ViewType.Detail],
|
|
11
|
-
ttype: ModelFieldType.ManyToOne,
|
|
12
|
-
widget: ['PaaSInstallSelect']
|
|
13
|
-
})
|
|
14
|
-
)
|
|
15
|
-
export class PaaSInstallConstructSelectFieldWidget extends FormM2OConstructSelectFieldWidget {
|
|
16
|
-
public initialize(props) {
|
|
17
|
-
super.initialize(props);
|
|
18
|
-
this.setComponent(UploadAndSelectView);
|
|
19
|
-
return this;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@Widget.Reactive()
|
|
23
|
-
private uploadImgUrl!: string;
|
|
24
|
-
|
|
25
|
-
protected async mounted() {
|
|
26
|
-
super.mounted();
|
|
27
|
-
this.uploadImgUrl = this.formData.icon as string;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="PaaSInstallSelectWrapper">
|
|
3
|
-
<div
|
|
4
|
-
class="PaaSModuleIcon"
|
|
5
|
-
:style="{
|
|
6
|
-
'background-image': `url(${uploadImgUrl})`
|
|
7
|
-
}"
|
|
8
|
-
></div>
|
|
9
|
-
<div class="form-single-select">
|
|
10
|
-
<div class="readonly" v-if="readonly && !disabled">
|
|
11
|
-
<a-select
|
|
12
|
-
class="oio-select"
|
|
13
|
-
popup-class-name="oio-select-dropdown"
|
|
14
|
-
label-in-value
|
|
15
|
-
:value="currentValue"
|
|
16
|
-
:options="options"
|
|
17
|
-
/>
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
<div v-else>
|
|
21
|
-
<a-select
|
|
22
|
-
class="oio-select"
|
|
23
|
-
popup-class-name="oio-select-dropdown"
|
|
24
|
-
show-search
|
|
25
|
-
:allowClear="showClear"
|
|
26
|
-
:disabled="disabled"
|
|
27
|
-
:value="currentValue"
|
|
28
|
-
:filter-option="false"
|
|
29
|
-
:not-found-content="null"
|
|
30
|
-
:default-active-first-option="false"
|
|
31
|
-
label-in-value
|
|
32
|
-
:options="options"
|
|
33
|
-
:placeholder="placeholder"
|
|
34
|
-
@change="change"
|
|
35
|
-
@search="search"
|
|
36
|
-
@blur="blur"
|
|
37
|
-
>
|
|
38
|
-
<template #dropdownRender="{ menuNode: menu }">
|
|
39
|
-
<v-nodes :vnodes="menu" />
|
|
40
|
-
<div @mousedown="(e) => e.preventDefault()">
|
|
41
|
-
<oio-button type="primary" @click="loadMore" :disabled="loadMoreLoading" v-if="showMoreButton"
|
|
42
|
-
>{{ translateValueByKey('加载更多') }}
|
|
43
|
-
</oio-button>
|
|
44
|
-
</div>
|
|
45
|
-
</template>
|
|
46
|
-
</a-select>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</template>
|
|
51
|
-
<script lang="ts">
|
|
52
|
-
import { BooleanHelper, OioButton } from '@oinone/kunlun-vue-ui-antd';
|
|
53
|
-
import { translateValueByKey } from '@oinone/kunlun-engine';
|
|
54
|
-
import { computed, defineComponent } from 'vue';
|
|
55
|
-
import { enumFetchLabelByValue } from '../../../../field';
|
|
56
|
-
import { usePlaceholderProps } from '../../../../basic';
|
|
57
|
-
|
|
58
|
-
export default defineComponent({
|
|
59
|
-
inheritAttrs: false,
|
|
60
|
-
props: [
|
|
61
|
-
'value',
|
|
62
|
-
'options',
|
|
63
|
-
'change',
|
|
64
|
-
'search',
|
|
65
|
-
'focus',
|
|
66
|
-
'blur',
|
|
67
|
-
'loadMore',
|
|
68
|
-
'loadMoreLoading',
|
|
69
|
-
'readonly',
|
|
70
|
-
'disabled',
|
|
71
|
-
'viewType',
|
|
72
|
-
'fromTable',
|
|
73
|
-
'field',
|
|
74
|
-
'invisible',
|
|
75
|
-
'validation',
|
|
76
|
-
'required',
|
|
77
|
-
'placeholder',
|
|
78
|
-
'showMoreButton',
|
|
79
|
-
'showClear',
|
|
80
|
-
'uploadImgUrl'
|
|
81
|
-
],
|
|
82
|
-
components: {
|
|
83
|
-
OioButton,
|
|
84
|
-
VNodes: (_, { attrs }) => {
|
|
85
|
-
return attrs.vnodes;
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
setup(props) {
|
|
89
|
-
const readonly = computed(() => BooleanHelper.toBoolean(props.readonly));
|
|
90
|
-
|
|
91
|
-
const disabled = computed(() => BooleanHelper.toBoolean(props.disabled));
|
|
92
|
-
|
|
93
|
-
const currentValue = computed(() => {
|
|
94
|
-
if (props.value && props.value.id) {
|
|
95
|
-
return { value: props.value.id };
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return null;
|
|
99
|
-
});
|
|
100
|
-
const currentValueLabel = computed(() => {
|
|
101
|
-
if (props.value && props.value.id) {
|
|
102
|
-
return enumFetchLabelByValue(props.value.id, props.options);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
return null;
|
|
106
|
-
});
|
|
107
|
-
const { placeholder } = usePlaceholderProps(props);
|
|
108
|
-
return {
|
|
109
|
-
placeholder,
|
|
110
|
-
readonly,
|
|
111
|
-
disabled,
|
|
112
|
-
currentValue,
|
|
113
|
-
currentValueLabel,
|
|
114
|
-
translateValueByKey
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
</script>
|
|
119
|
-
<style lang="scss">
|
|
120
|
-
.PaaSInstallSelectWrapper {
|
|
121
|
-
width: 160px;
|
|
122
|
-
height: 128px;
|
|
123
|
-
position: relative;
|
|
124
|
-
border: solid 1px #d9d9d9;
|
|
125
|
-
border-bottom: none;
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-wrap: wrap;
|
|
128
|
-
justify-content: center;
|
|
129
|
-
|
|
130
|
-
.PaaSModuleIcon {
|
|
131
|
-
width: 80px;
|
|
132
|
-
height: 80px;
|
|
133
|
-
margin: 4px 0;
|
|
134
|
-
background-size: contain;
|
|
135
|
-
object-fit: contain;
|
|
136
|
-
display: flex;
|
|
137
|
-
justify-content: center;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.form-single-select {
|
|
141
|
-
position: absolute;
|
|
142
|
-
bottom: 0;
|
|
143
|
-
width: 100%;
|
|
144
|
-
|
|
145
|
-
.ant-select-selector {
|
|
146
|
-
height: 40px;
|
|
147
|
-
border-radius: inherit !important;
|
|
148
|
-
border-left: none;
|
|
149
|
-
border-right: none;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.ant-select-selection-item {
|
|
153
|
-
line-height: 40px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
</style>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@oinone/kunlun-request';
|
|
2
|
-
|
|
3
|
-
const http = HttpClient.getInstance();
|
|
4
|
-
|
|
5
|
-
const getInstallPaaSModules = async (actionId: string) => {
|
|
6
|
-
// fixme @zbh 20221125 改版
|
|
7
|
-
// const action = Action.getActionById(actionId) as IViewAction;
|
|
8
|
-
//
|
|
9
|
-
// if (!action) {
|
|
10
|
-
// console.error('not find actionId in query page for card ');
|
|
11
|
-
// }
|
|
12
|
-
|
|
13
|
-
// rsql: "${action.domain || ''}"
|
|
14
|
-
const query = `query{
|
|
15
|
-
middlewareAppForCardQuery{
|
|
16
|
-
queryPageForCard(
|
|
17
|
-
page:{
|
|
18
|
-
currentPage: 1,
|
|
19
|
-
size: 10000
|
|
20
|
-
} queryWrapper:{}){
|
|
21
|
-
content{
|
|
22
|
-
categoryDisplayName
|
|
23
|
-
middlewareAppForCardList{
|
|
24
|
-
icon
|
|
25
|
-
appName
|
|
26
|
-
appDesc
|
|
27
|
-
appCode
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}`;
|
|
33
|
-
const result = await http.query('paas', query);
|
|
34
|
-
return result.data['middlewareAppForCardQuery']['queryPageForCard']['content'] as any;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export { getInstallPaaSModules };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { MaskWidget } from '@oinone/kunlun-vue-admin-layout';
|
|
3
|
-
import { useMatched } from '@oinone/kunlun-vue-router';
|
|
4
|
-
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
5
|
-
import PaaSManagerView from './PaaSManager.vue';
|
|
6
|
-
|
|
7
|
-
@SPI.ClassFactory(MaskWidget.Token({ widget: 'PaaSManager' }))
|
|
8
|
-
export class PaaSManagerWidget extends MaskWidget {
|
|
9
|
-
@Widget.Reactive()
|
|
10
|
-
public viewModel = '';
|
|
11
|
-
|
|
12
|
-
public initialize(props) {
|
|
13
|
-
super.initialize(props);
|
|
14
|
-
this.setComponent(PaaSManagerView);
|
|
15
|
-
return this;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
async mounted() {
|
|
19
|
-
super.mounted();
|
|
20
|
-
const model = useMatched().matched.segmentParams.page.model;
|
|
21
|
-
this.viewModel = model as string;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@oinone/kunlun-request';
|
|
2
|
-
|
|
3
|
-
const http = HttpClient.getInstance();
|
|
4
|
-
|
|
5
|
-
const getPaaSModules = async () => {
|
|
6
|
-
const query = `query{
|
|
7
|
-
middlewareConsoleQuery{
|
|
8
|
-
queryPageForCard(
|
|
9
|
-
page:{
|
|
10
|
-
currentPage: 1,
|
|
11
|
-
size: 10000
|
|
12
|
-
}
|
|
13
|
-
queryWrapper:{
|
|
14
|
-
rsql: "(installStatus == INSTALL_SUCC or installStatus == UPDATE_SUCC)"
|
|
15
|
-
}
|
|
16
|
-
){
|
|
17
|
-
content{
|
|
18
|
-
categoryDisplayName
|
|
19
|
-
middlewareConsoleList{
|
|
20
|
-
icon
|
|
21
|
-
displayName
|
|
22
|
-
ip
|
|
23
|
-
id
|
|
24
|
-
port{port}
|
|
25
|
-
version
|
|
26
|
-
webUrl
|
|
27
|
-
viewActionName
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}`;
|
|
33
|
-
const result = await http.query('paas', query);
|
|
34
|
-
return result.data['middlewareConsoleQuery']['queryPageForCard']['content'] as any;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export { getPaaSModules };
|