@ximatai/muyun-web-app 0.26.14 → 0.26.16
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/BusinessActivityLogView-DVM_GB5y.js +18 -0
- package/dist/BusinessLogListDrawer-BciMLY9z.js +864 -0
- package/dist/ConfigurationTranslationView-B0FosDyz.js +197 -0
- package/dist/LoginAuditLogView-3tAozKlC.js +18 -0
- package/dist/ModuleActionManagementView-CJRNShGg.js +755 -0
- package/dist/ModuleGovernanceView-DsqR_Sj7.js +34098 -0
- package/dist/RequestErrorLogView-C4yH-TSX.js +18 -0
- package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +1435 -0
- package/dist/RuntimeLogView-CoKKpJ39.js +316 -0
- package/dist/WorkflowAdministrationView-DmUV6vWS.js +650 -0
- package/dist/WorkflowConfigurationView-pghDbWEh.js +975 -0
- package/dist/WorkflowWorkbenchView-BwWxyDen.js +747 -0
- package/dist/es-BST-ixpj.js +22621 -0
- package/dist/index.css +1 -1
- package/dist/index.js +920 -738
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
- package/dist/platform-components-Cl5ZZiuU.js +27139 -0
- package/dist/platform-workbench-CAHoriIf.js +20245 -0
- package/dist/rolldown-runtime-BAC7EHh5.js +20 -0
- package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +1 -1
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +2 -2
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +3 -0
- package/dist/types/app/businessNotificationNavigation.d.ts +4 -0
- package/dist/types/app/menuRouteCompiler.d.ts +3 -0
- package/dist/types/app/platformMessage.d.ts +3 -6
- package/dist/types/app/themeSkinPreference.d.ts +3 -2
- package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
- package/dist/types/app/workbenchStartup.d.ts +8 -4
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
- package/dist/types/consumer/index.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +4 -4
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +464 -1240
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +859 -1566
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +20 -3
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +7 -1
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +15 -1217
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +63 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +60 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +36 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +246 -1227
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +6 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +8 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +65 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +189 -0
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
- package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +7 -11
- package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -2
- package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -2
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +5 -3
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
- package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
- package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
- package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +30 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
- package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +15 -4
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
- package/dist/types/platform-components/platformDateTime.d.ts +2 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
- package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
- package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +23 -1
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +6 -1
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +20 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +9 -0
- package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
- package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
- package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
- package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
- package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
- package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
- package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +22 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +103 -0
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
- package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
- package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +452 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +40 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +21 -1
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
- package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -5
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
- package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
- package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +5 -2
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +23 -0
- package/dist/types/views/businessRuleGovernance.d.ts +20 -4
- package/dist/types/views/businessRuleSession.d.ts +64 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +148 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +3 -0
- package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
- package/dist/types/views/metadataChangeSetSubmission.d.ts +11 -0
- package/dist/types/views/metadataEditorSession.d.ts +658 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
- package/dist/types/views/metadataGovernanceEditor.d.ts +224 -0
- package/dist/types/views/metadataModelEditSession.d.ts +29 -3
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +10 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +32 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +1323 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +29 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +48 -0
- package/dist/types/views/pageCompositionComponents.d.ts +43 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +297 -14
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +27 -3
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +39 -0
- package/dist/types/views/pageCompositionSession.d.ts +1374 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2616 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +69 -0
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +3 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +3 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +9 -7
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +3 -1
- package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +6 -0
- package/dist/types/web-contracts/assistant.d.ts +29 -1
- package/dist/types/web-contracts/constructionPlan.d.ts +213 -0
- package/dist/types/web-contracts/index.d.ts +78 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-contracts/workflow.d.ts +346 -0
- package/dist/types/web-core/actionResult.d.ts +3 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +24 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +50 -0
- package/dist/types/web-core/assistantRuntime.d.ts +53 -7
- package/dist/types/web-core/assistantSurface.d.ts +80 -9
- package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +9 -3
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +14 -0
- package/dist/types/web-core/language.d.ts +54 -0
- package/dist/types/web-core/languagePreference.d.ts +8 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +54 -0
- package/dist/types/web-core/module/index.d.ts +2 -0
- package/dist/types/web-core/module/moduleContext.d.ts +4 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +32 -0
- package/dist/types/web-core/operationErrors.d.ts +23 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/presentationTexts.d.ts +16 -0
- package/dist/types/web-core/sha256.d.ts +2 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/types/web-core/workflow.d.ts +70 -0
- package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
- package/dist/workspaceViews-BIYGPUAO.js +3437 -0
- package/package.json +2 -4
- package/dist/BusinessActivityLogView-BUg5WTm-.js +0 -16
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +0 -825
- package/dist/LoginAuditLogView-DBNtvmIy.js +0 -16
- package/dist/ModuleActionManagementView-Bq1VO51Y.js +0 -673
- package/dist/ModuleGovernanceView-B8u4_erd.js +0 -29344
- package/dist/RequestErrorLogView-BrtH3ptj.js +0 -16
- package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +0 -1397
- package/dist/RuntimeLogView-s3X5CdHB.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
- package/dist/platform-components-Dt859Hbr.js +0 -18627
- package/dist/platform-workbench-DfqFnlm-.js +0 -14701
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-mGbuCAax.js +0 -187
- package/dist/workspaceViews-DijY4n32.js +0 -3623
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
import { E as e, v as t } from "./platform-workbench-CAHoriIf.js";
|
|
2
|
+
import { Bn as n, Gn as r, Kt as i, Ln as a, Mt as o, Ot as s, Qn as ee, Ui as c, Vn as l, Xn as te, Y as ne, Zn as u, _n as re, c as ie, cr as ae, dr as oe, hn as se, l as d, mn as ce, na as le, nn as f, nt as ue, oa as de, qn as fe, s as pe, u as me } from "./platform-components-Cl5ZZiuU.js";
|
|
3
|
+
import { Fragment as he, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, openBlock as x, ref as S, renderList as ge, toDisplayString as C, unref as w, watch as _e, withCtx as T } from "vue";
|
|
4
|
+
//#region src/views/WorkflowAdministrationView.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var ve = { class: "workflow-admin" }, ye = { key: 1 }, be = { class: "workflow-query-fields" }, xe = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "workflow-field"
|
|
8
|
+
}, Se = { class: "workflow-field" }, Ce = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "workflow-field"
|
|
11
|
+
}, we = { class: "workflow-field" }, Te = { class: "workflow-query-controls" }, Ee = { key: 2 }, De = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "workflow-empty-tasks"
|
|
14
|
+
}, Oe = { class: "workflow-map" }, ke = { key: 0 }, Ae = { class: "workflow-field" }, E = /*#__PURE__*/ fe(/* @__PURE__ */ b({
|
|
15
|
+
name: "WorkflowAdministrationView",
|
|
16
|
+
__name: "WorkflowAdministrationView",
|
|
17
|
+
setup(fe) {
|
|
18
|
+
let b = le();
|
|
19
|
+
function E(e) {
|
|
20
|
+
return me(e, b);
|
|
21
|
+
}
|
|
22
|
+
let D = oe({ moduleAlias: "platform.workflow_admin" }), O = t(), k = S(), A = S(""), j = S(""), M = S("running"), N = S(1), P = S(!1), F = S(!1), I = S(""), L = S(""), R = S({}), z = p(() => Object.fromEntries(Object.entries(R.value).map(([e, t]) => [e, c(t.title, t.titleText, b)]))), B = p(() => k.value ? de(D.http, { "X-MuYun-Tenant-Id": k.value }) : D.http), je = ae({
|
|
23
|
+
http: D.http,
|
|
24
|
+
language: b,
|
|
25
|
+
moduleAlias: "iam.tenant",
|
|
26
|
+
runtimeAccess: "REFERENCE"
|
|
27
|
+
}), V = S([]), H = S([]), U = S(), W = S([]), G = S([]), K = S(), q = S(""), J = S(), Y = p(() => u(B.value)), X = 0, Me = 0;
|
|
28
|
+
e(async (e) => {
|
|
29
|
+
let t = new Set(e.changes.filter((e) => e.type === "configuration-translations-changed").map((e) => e.moduleAlias)), n = U.value, r = !F.value && V.value.some((e) => t.has(e.moduleAlias)), i = n && t.has(n.instance.moduleAlias), a = Object.keys(R.value).some((e) => t.has(e));
|
|
30
|
+
if (!r && !i && !a) return;
|
|
31
|
+
let o = ++Me, s = X, c = F.value, l = K.value, te = O?.value?.userId;
|
|
32
|
+
try {
|
|
33
|
+
let [e, t, ne, u] = await Promise.all([
|
|
34
|
+
r ? Y.value.instances({
|
|
35
|
+
moduleAlias: A.value || void 0,
|
|
36
|
+
recordId: j.value || void 0,
|
|
37
|
+
instanceStatus: M.value,
|
|
38
|
+
page: {
|
|
39
|
+
pageNum: N.value,
|
|
40
|
+
pageSize: 30
|
|
41
|
+
}
|
|
42
|
+
}) : void 0,
|
|
43
|
+
i && l ? Y.value.bundle(l, c) : void 0,
|
|
44
|
+
i && l ? Y.value.events(l, c) : void 0,
|
|
45
|
+
a ? ee(B.value).workbenchModules() : void 0
|
|
46
|
+
]);
|
|
47
|
+
if (o !== Me || s !== X || l !== K.value || c !== F.value || te !== O?.value?.userId || (u && (R.value = Object.fromEntries(Object.entries(R.value).map(([e, t]) => {
|
|
48
|
+
let n = u.modules[e]?.titleText;
|
|
49
|
+
return [e, d(t.titleText, n) ? {
|
|
50
|
+
...t,
|
|
51
|
+
titleText: n
|
|
52
|
+
} : t];
|
|
53
|
+
}))), e && (V.value = V.value.map((t) => {
|
|
54
|
+
let n = e.find((e) => e.instanceId === t.instanceId && e.workflowVersionId === t.workflowVersionId);
|
|
55
|
+
return {
|
|
56
|
+
...t,
|
|
57
|
+
activeNodeLabels: t.activeNodeLabels?.map((e) => {
|
|
58
|
+
let t = n?.activeNodeLabels?.find((t) => t.nodeKey === e.nodeKey);
|
|
59
|
+
return d(e.titleText, t?.titleText) ? {
|
|
60
|
+
...e,
|
|
61
|
+
titleText: t?.titleText
|
|
62
|
+
} : e;
|
|
63
|
+
})
|
|
64
|
+
};
|
|
65
|
+
})), !n || !t || U.value?.instance.id !== n.instance.id)) return;
|
|
66
|
+
U.value = ie(U.value, t), W.value = W.value.map((e) => {
|
|
67
|
+
let n = t.nodes.find((t) => t.id === e.nodeInstanceId && t.nodeKey === e.nodeKey);
|
|
68
|
+
return d(e.nodeTitleText, n?.nodeTitleText) ? {
|
|
69
|
+
...e,
|
|
70
|
+
nodeTitleText: n?.nodeTitleText
|
|
71
|
+
} : e;
|
|
72
|
+
}), G.value = G.value.map((e) => {
|
|
73
|
+
let t = ne?.find((t) => t.id === e.id);
|
|
74
|
+
return d(e.messageText, t?.messageText) ? {
|
|
75
|
+
...e,
|
|
76
|
+
messageText: t?.messageText
|
|
77
|
+
} : e;
|
|
78
|
+
});
|
|
79
|
+
} catch (e) {
|
|
80
|
+
f(e, {
|
|
81
|
+
source: "workflow-text-resources",
|
|
82
|
+
phase: "load"
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
async function Ne() {
|
|
87
|
+
P.value || J.value && !await $() || await Z();
|
|
88
|
+
}
|
|
89
|
+
async function Z() {
|
|
90
|
+
let e = ++X;
|
|
91
|
+
P.value = !0, I.value = "", K.value = void 0, U.value = void 0, W.value = [], G.value = [], J.value = void 0;
|
|
92
|
+
try {
|
|
93
|
+
if (F.value) {
|
|
94
|
+
if (!A.value.trim()) {
|
|
95
|
+
H.value = [];
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
let t = await Y.value.history({
|
|
99
|
+
moduleAlias: A.value,
|
|
100
|
+
recordId: j.value || void 0,
|
|
101
|
+
page: {
|
|
102
|
+
pageNum: N.value,
|
|
103
|
+
pageSize: 30
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
e === X && (H.value = t);
|
|
107
|
+
} else {
|
|
108
|
+
let t = await Y.value.instances({
|
|
109
|
+
moduleAlias: A.value || void 0,
|
|
110
|
+
recordId: j.value || void 0,
|
|
111
|
+
instanceStatus: M.value,
|
|
112
|
+
page: {
|
|
113
|
+
pageNum: N.value,
|
|
114
|
+
pageSize: 30
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
e === X && (V.value = t);
|
|
118
|
+
}
|
|
119
|
+
} catch (t) {
|
|
120
|
+
if (e !== X) return;
|
|
121
|
+
I.value = b.t("platform.screen.WorkflowAdministrationView.load-failed", "流程加载失败,请重试。"), V.value = [], H.value = [], f(t, {
|
|
122
|
+
source: "workflow-admin",
|
|
123
|
+
phase: "load"
|
|
124
|
+
});
|
|
125
|
+
} finally {
|
|
126
|
+
e === X && (P.value = !1);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async function Pe(e) {
|
|
130
|
+
if (P.value || J.value && !await $()) return;
|
|
131
|
+
let t = ++X;
|
|
132
|
+
P.value = !0, K.value = e, J.value = void 0, U.value = void 0, W.value = [], G.value = [], L.value = "";
|
|
133
|
+
try {
|
|
134
|
+
let [n, r] = await Promise.all([Y.value.bundle(e, F.value), Y.value.events(e, F.value)]), i = F.value || n.instance?.instanceStatus !== "running" ? [] : await Y.value.activeTasks(e);
|
|
135
|
+
if (t !== X) return;
|
|
136
|
+
U.value = n, G.value = r, W.value = i;
|
|
137
|
+
} catch (e) {
|
|
138
|
+
if (t !== X) return;
|
|
139
|
+
L.value = b.t("platform.screen.WorkflowAdministrationView.detail-load-failed", "流程详情加载失败,请重试。"), f(e, {
|
|
140
|
+
source: "workflow-admin",
|
|
141
|
+
phase: "load"
|
|
142
|
+
});
|
|
143
|
+
} finally {
|
|
144
|
+
t === X && (P.value = !1);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
async function Fe(e = !1) {
|
|
148
|
+
P.value || J.value && !await $() || (J.value = void 0, e && (A.value = "", j.value = "", M.value = "running"), N.value === 1 ? await Z() : N.value = 1);
|
|
149
|
+
}
|
|
150
|
+
async function Ie() {
|
|
151
|
+
if (!P.value && J.value && K.value && q.value.trim()) {
|
|
152
|
+
P.value = !0;
|
|
153
|
+
try {
|
|
154
|
+
if (!await se({
|
|
155
|
+
title: b.t("platform.screen.WorkflowAdministrationView.confirm-action-title", "确认{operation}?", { operation: Ve(J.value.code) }),
|
|
156
|
+
content: b.t("platform.screen.WorkflowAdministrationView.confirm-action-content", "{impact} 原因:{reason}", {
|
|
157
|
+
impact: He(J.value.code),
|
|
158
|
+
reason: q.value.trim()
|
|
159
|
+
}),
|
|
160
|
+
danger: !0,
|
|
161
|
+
okText: b.t("platform.screen.WorkflowAdministrationView.confirm-execute", "确认执行")
|
|
162
|
+
}, b)) return;
|
|
163
|
+
await Y.value.execute(K.value, J.value.code, q.value, J.value.taskId), ce(b.t("platform.screen.WorkflowAdministrationView.operation-completed", "运维操作已完成并记录审计")), await Z();
|
|
164
|
+
} catch (e) {
|
|
165
|
+
f(e, {
|
|
166
|
+
source: "workflow-admin",
|
|
167
|
+
phase: "action"
|
|
168
|
+
});
|
|
169
|
+
} finally {
|
|
170
|
+
P.value = !1;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
_e(k, async (e, t, n) => {
|
|
175
|
+
let r = !0;
|
|
176
|
+
n(() => {
|
|
177
|
+
r = !1;
|
|
178
|
+
}), R.value = {}, A.value = "", j.value = "", N.value = 1;
|
|
179
|
+
try {
|
|
180
|
+
let e = await ee(B.value).workbenchModules();
|
|
181
|
+
r && (R.value = e.modules ?? {});
|
|
182
|
+
} catch (e) {
|
|
183
|
+
r && f(e, {
|
|
184
|
+
source: "workflow-module-titles",
|
|
185
|
+
phase: "load"
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
}, { immediate: !0 }), _e([
|
|
189
|
+
k,
|
|
190
|
+
F,
|
|
191
|
+
N
|
|
192
|
+
], () => void Ne(), { immediate: !0 });
|
|
193
|
+
let Q = p(() => F.value ? H.value.map((e) => ({
|
|
194
|
+
...e,
|
|
195
|
+
id: e.id,
|
|
196
|
+
moduleTitle: z.value[e.moduleAlias] ?? e.moduleAlias,
|
|
197
|
+
status: E(e.instanceStatus),
|
|
198
|
+
active: E("archived"),
|
|
199
|
+
assignees: "—",
|
|
200
|
+
starter: e.startedByTitle ?? "—",
|
|
201
|
+
started: Be(e.startedAt)
|
|
202
|
+
})) : V.value.map((e) => ({
|
|
203
|
+
...e,
|
|
204
|
+
id: e.instanceId,
|
|
205
|
+
moduleTitle: z.value[e.moduleAlias] ?? e.moduleAlias,
|
|
206
|
+
status: E(e.instanceStatus),
|
|
207
|
+
approval: E(e.approvalStatus),
|
|
208
|
+
active: e.activeNodeLabels?.length ? e.activeNodeLabels.map((e) => c(e.title, e.titleText, b)).join("、") : e.activeNodeTitles.join("、"),
|
|
209
|
+
assignees: e.currentAssigneeTitles.join("、"),
|
|
210
|
+
starter: e.startedByTitle,
|
|
211
|
+
urgency: E(e.overtimeStatus)
|
|
212
|
+
}))), Le = p(() => [
|
|
213
|
+
{
|
|
214
|
+
key: "moduleTitle",
|
|
215
|
+
title: b.t("platform.screen.WorkflowAdministrationView.business-module", "业务模块"),
|
|
216
|
+
dataIndex: "moduleTitle",
|
|
217
|
+
width: 160
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
key: "versionNo",
|
|
221
|
+
title: b.t("platform.screen.WorkflowAdministrationView.workflow-version", "流程版本"),
|
|
222
|
+
dataIndex: "versionNo",
|
|
223
|
+
width: 100
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: "status",
|
|
227
|
+
title: b.t("platform.screen.WorkflowAdministrationView.status", "状态"),
|
|
228
|
+
dataIndex: "status",
|
|
229
|
+
width: 100
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
key: "active",
|
|
233
|
+
title: b.t("platform.screen.WorkflowAdministrationView.current-node", "当前节点"),
|
|
234
|
+
dataIndex: "active",
|
|
235
|
+
width: 180
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
key: "assignees",
|
|
239
|
+
title: b.t("platform.screen.WorkflowAdministrationView.processors", "办理人"),
|
|
240
|
+
dataIndex: "assignees",
|
|
241
|
+
width: 180
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
key: "starter",
|
|
245
|
+
title: b.t("platform.screen.WorkflowAdministrationView.submitter", "发起人"),
|
|
246
|
+
dataIndex: "starter",
|
|
247
|
+
width: 110
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
key: "recordId",
|
|
251
|
+
title: b.t("platform.screen.WorkflowAdministrationView.record-id", "业务记录标识"),
|
|
252
|
+
dataIndex: "recordId",
|
|
253
|
+
width: 220
|
|
254
|
+
}
|
|
255
|
+
]), Re = p(() => [{
|
|
256
|
+
key: "nodeTitle",
|
|
257
|
+
title: b.t("platform.screen.WorkflowAdministrationView.node", "节点"),
|
|
258
|
+
dataIndex: "nodeTitle"
|
|
259
|
+
}, {
|
|
260
|
+
key: "assigneeTitle",
|
|
261
|
+
title: b.t("platform.screen.WorkflowAdministrationView.processors", "办理人"),
|
|
262
|
+
dataIndex: "assigneeTitle"
|
|
263
|
+
}]), ze = p(() => [...U.value?.instance?.instanceStatus === "running" ? [{
|
|
264
|
+
key: "forceTerminate",
|
|
265
|
+
title: b.t("platform.screen.WorkflowAdministrationView.terminate", "终止流程"),
|
|
266
|
+
danger: !0
|
|
267
|
+
}] : [], {
|
|
268
|
+
key: "reset",
|
|
269
|
+
title: b.t("platform.screen.WorkflowAdministrationView.reset-approval", "重置业务审批"),
|
|
270
|
+
danger: !0
|
|
271
|
+
}]);
|
|
272
|
+
function Be(e) {
|
|
273
|
+
return e ? new Date(e).toLocaleString("zh-CN", { hour12: !1 }) : "—";
|
|
274
|
+
}
|
|
275
|
+
function Ve(e) {
|
|
276
|
+
return e === "forceApprove" ? b.t("platform.screen.WorkflowAdministrationView.force-process", "强制办理") : e === "reset" ? b.t("platform.screen.WorkflowAdministrationView.reset-approval", "重置业务审批") : b.t("platform.screen.WorkflowAdministrationView.terminate", "终止流程");
|
|
277
|
+
}
|
|
278
|
+
function He(e) {
|
|
279
|
+
return e === "forceApprove" ? b.t("platform.screen.WorkflowAdministrationView.force-impact", "将替代原办理人推进当前任务,可能触发后续业务动作。") : e === "reset" ? b.t("platform.screen.WorkflowAdministrationView.reset-impact", "将归档当前流程并清除业务审批状态,允许重新发起。") : b.t("platform.screen.WorkflowAdministrationView.terminate-impact", "将终止当前流程并取消未完成任务。");
|
|
280
|
+
}
|
|
281
|
+
function Ue(e, t) {
|
|
282
|
+
J.value = {
|
|
283
|
+
code: e,
|
|
284
|
+
taskId: t
|
|
285
|
+
}, q.value = "";
|
|
286
|
+
}
|
|
287
|
+
te(() => b.t("platform.screen.WorkflowAdministrationView.workflow-administration", "工作流运维"), () => !!(J.value && q.value.trim()), () => P.value);
|
|
288
|
+
async function $() {
|
|
289
|
+
if (P.value) return !1;
|
|
290
|
+
let e = J.value, t = X;
|
|
291
|
+
return (!q.value.trim() || await se({
|
|
292
|
+
title: b.t("platform.screen.WorkflowAdministrationView.discard-operation", "放弃未执行的运维操作?"),
|
|
293
|
+
danger: !0,
|
|
294
|
+
okText: b.t("platform.screen.WorkflowAdministrationView.discard", "放弃填写")
|
|
295
|
+
}, b)) && !P.value && t === X && e === J.value;
|
|
296
|
+
}
|
|
297
|
+
async function We() {
|
|
298
|
+
return !J.value && !P.value;
|
|
299
|
+
}
|
|
300
|
+
function Ge(e) {
|
|
301
|
+
return e.title ?? e.id ?? "";
|
|
302
|
+
}
|
|
303
|
+
return (e, t) => (x(), g("section", ve, [
|
|
304
|
+
y(w(ue), {
|
|
305
|
+
tabs: [{
|
|
306
|
+
key: "current",
|
|
307
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.current-instances", "当前实例")
|
|
308
|
+
}, {
|
|
309
|
+
key: "history",
|
|
310
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.history", "历史归档")
|
|
311
|
+
}],
|
|
312
|
+
"active-key": F.value ? "history" : "current",
|
|
313
|
+
label: w(b).t("platform.screen.WorkflowAdministrationView.workflow-administration-scope", "工作流运维范围"),
|
|
314
|
+
disabled: P.value || !!J.value,
|
|
315
|
+
"onUpdate:activeKey": t[0] ||= (e) => {
|
|
316
|
+
F.value = e === "history", N.value = 1;
|
|
317
|
+
}
|
|
318
|
+
}, null, 8, [
|
|
319
|
+
"tabs",
|
|
320
|
+
"active-key",
|
|
321
|
+
"label",
|
|
322
|
+
"disabled"
|
|
323
|
+
]),
|
|
324
|
+
I.value ? (x(), m(w(re), {
|
|
325
|
+
key: 0,
|
|
326
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.unable-to-load-workflows", "无法加载流程"),
|
|
327
|
+
message: I.value
|
|
328
|
+
}, null, 8, ["title", "message"])) : h("v-if", !0),
|
|
329
|
+
F.value && !A.value ? (x(), g("p", ye, C(w(b).t("platform.screen.WorkflowAdministrationView.select-a-business-module-to-view-archived", "选择业务模块后查看归档流程。")), 1)) : h("v-if", !0),
|
|
330
|
+
y(w(o), {
|
|
331
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.workflow-administration", "工作流运维"),
|
|
332
|
+
subtitle: w(b).t("platform.screen.WorkflowAdministrationView.a-reason-is-required-for-exception-handling-all-operations-are", "异常处理需要明确原因,所有操作记录审计"),
|
|
333
|
+
columns: Le.value,
|
|
334
|
+
rows: Q.value,
|
|
335
|
+
"clickable-rows": "",
|
|
336
|
+
"selected-row-key": K.value,
|
|
337
|
+
pageable: !0,
|
|
338
|
+
"total-known": !1,
|
|
339
|
+
total: (N.value - 1) * 30 + Q.value.length,
|
|
340
|
+
pages: N.value + +(Q.value.length === 30),
|
|
341
|
+
"page-num": N.value,
|
|
342
|
+
"page-size": 30,
|
|
343
|
+
"page-size-options": [30],
|
|
344
|
+
"pagination-disabled": P.value || !!J.value,
|
|
345
|
+
onRowClick: t[7] ||= (e) => Pe(String(e.id)),
|
|
346
|
+
onPageChange: t[8] ||= (e) => N.value = e
|
|
347
|
+
}, {
|
|
348
|
+
operations: T(() => [y(w(r), {
|
|
349
|
+
loading: P.value,
|
|
350
|
+
onClick: Ne
|
|
351
|
+
}, {
|
|
352
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.refresh", "刷新")), 1)]),
|
|
353
|
+
_: 1
|
|
354
|
+
}, 8, ["loading"])]),
|
|
355
|
+
conditions: T(() => [_("div", be, [
|
|
356
|
+
w(O)?.system ? (x(), g("label", xe, [y(w(i), null, {
|
|
357
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.business-tenant", "业务租户")), 1)]),
|
|
358
|
+
_: 1
|
|
359
|
+
}), y(w(ne), {
|
|
360
|
+
value: k.value,
|
|
361
|
+
"onUpdate:value": t[1] ||= (e) => k.value = e,
|
|
362
|
+
context: w(je),
|
|
363
|
+
disabled: P.value || !!J.value,
|
|
364
|
+
"title-of": Ge,
|
|
365
|
+
mode: "list"
|
|
366
|
+
}, null, 8, [
|
|
367
|
+
"value",
|
|
368
|
+
"context",
|
|
369
|
+
"disabled"
|
|
370
|
+
])])) : h("v-if", !0),
|
|
371
|
+
_("label", Se, [y(w(i), { required: F.value }, {
|
|
372
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.business-module", "业务模块")), 1)]),
|
|
373
|
+
_: 1
|
|
374
|
+
}, 8, ["required"]), y(w(l), {
|
|
375
|
+
value: A.value,
|
|
376
|
+
"onUpdate:value": t[2] ||= (e) => A.value = e,
|
|
377
|
+
disabled: P.value || !!J.value,
|
|
378
|
+
"show-search": "",
|
|
379
|
+
options: Object.entries(z.value).map(([e, t]) => ({
|
|
380
|
+
value: e,
|
|
381
|
+
label: t
|
|
382
|
+
})),
|
|
383
|
+
placeholder: F.value ? w(b).t("platform.screen.WorkflowAdministrationView.select-a-business-module", "请选择业务模块") : w(b).t("platform.screen.WorkflowWorkbenchView.all-business-modules", "全部业务模块")
|
|
384
|
+
}, null, 8, [
|
|
385
|
+
"value",
|
|
386
|
+
"disabled",
|
|
387
|
+
"options",
|
|
388
|
+
"placeholder"
|
|
389
|
+
])]),
|
|
390
|
+
F.value ? h("v-if", !0) : (x(), g("label", Ce, [y(w(i), null, {
|
|
391
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.workflow-status", "流程状态")), 1)]),
|
|
392
|
+
_: 1
|
|
393
|
+
}), y(w(l), {
|
|
394
|
+
value: M.value,
|
|
395
|
+
"onUpdate:value": t[3] ||= (e) => M.value = e,
|
|
396
|
+
disabled: P.value || !!J.value,
|
|
397
|
+
options: [
|
|
398
|
+
{
|
|
399
|
+
value: "running",
|
|
400
|
+
label: w(b).t("platform.workflow.running", "进行中")
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
value: "completed",
|
|
404
|
+
label: w(b).t("platform.workflow.completed", "已完成")
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
value: "rejected",
|
|
408
|
+
label: w(b).t("platform.workflow.rejected", "已驳回")
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
value: "revoked",
|
|
412
|
+
label: w(b).t("platform.workflow.revoked", "已撤回")
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
value: "terminated",
|
|
416
|
+
label: w(b).t("platform.workflow.terminated", "已终止")
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
}, null, 8, [
|
|
420
|
+
"value",
|
|
421
|
+
"disabled",
|
|
422
|
+
"options"
|
|
423
|
+
])])),
|
|
424
|
+
_("label", we, [v(C(w(b).t("platform.screen.WorkflowAdministrationView.business-record-identifier", "业务记录标识")), 1), y(w(n), {
|
|
425
|
+
value: j.value,
|
|
426
|
+
"onUpdate:value": t[4] ||= (e) => j.value = e,
|
|
427
|
+
disabled: P.value || !!J.value,
|
|
428
|
+
placeholder: w(b).t("platform.screen.WorkflowAdministrationView.locate-a-specific-business-issue", "精确定位异常业务")
|
|
429
|
+
}, null, 8, [
|
|
430
|
+
"value",
|
|
431
|
+
"disabled",
|
|
432
|
+
"placeholder"
|
|
433
|
+
])]),
|
|
434
|
+
_("div", Te, [y(w(r), {
|
|
435
|
+
disabled: P.value || F.value && !A.value,
|
|
436
|
+
onClick: t[5] ||= (e) => Fe()
|
|
437
|
+
}, {
|
|
438
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.search", "查询")), 1)]),
|
|
439
|
+
_: 1
|
|
440
|
+
}, 8, ["disabled"]), y(w(r), {
|
|
441
|
+
disabled: P.value,
|
|
442
|
+
onClick: t[6] ||= (e) => Fe(!0)
|
|
443
|
+
}, {
|
|
444
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.reset", "重置")), 1)]),
|
|
445
|
+
_: 1
|
|
446
|
+
}, 8, ["disabled"])])
|
|
447
|
+
])]),
|
|
448
|
+
_: 1
|
|
449
|
+
}, 8, [
|
|
450
|
+
"title",
|
|
451
|
+
"subtitle",
|
|
452
|
+
"columns",
|
|
453
|
+
"rows",
|
|
454
|
+
"selected-row-key",
|
|
455
|
+
"total",
|
|
456
|
+
"pages",
|
|
457
|
+
"page-num",
|
|
458
|
+
"pagination-disabled"
|
|
459
|
+
]),
|
|
460
|
+
y(w(s), {
|
|
461
|
+
open: !!K.value,
|
|
462
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.workflow-administration-details", "流程运维详情"),
|
|
463
|
+
subtitle: U.value ? w(b).t("platform.screen.WorkflowAdministrationView.instance-title", "{module} · {status} · 版本 {version}", {
|
|
464
|
+
module: z.value[U.value.instance.moduleAlias] ?? U.value.instance.moduleAlias,
|
|
465
|
+
status: E(U.value.instance.instanceStatus),
|
|
466
|
+
version: U.value.instance.versionNo
|
|
467
|
+
}) : void 0,
|
|
468
|
+
width: "extraWide",
|
|
469
|
+
"before-close": We,
|
|
470
|
+
onClose: t[11] ||= (e) => K.value = void 0
|
|
471
|
+
}, {
|
|
472
|
+
operation: T(() => [U.value && !F.value ? (x(!0), g(he, { key: 0 }, ge(ze.value, (e) => (x(), m(w(r), {
|
|
473
|
+
key: e.key,
|
|
474
|
+
danger: e.danger,
|
|
475
|
+
disabled: P.value || !!J.value,
|
|
476
|
+
onClick: (t) => Ue(e.key)
|
|
477
|
+
}, {
|
|
478
|
+
default: T(() => [v(C(e.title), 1)]),
|
|
479
|
+
_: 2
|
|
480
|
+
}, 1032, [
|
|
481
|
+
"danger",
|
|
482
|
+
"disabled",
|
|
483
|
+
"onClick"
|
|
484
|
+
]))), 128)) : h("v-if", !0), y(w(r), {
|
|
485
|
+
disabled: P.value || !!J.value,
|
|
486
|
+
onClick: t[10] ||= (e) => K.value = void 0
|
|
487
|
+
}, {
|
|
488
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.close-details", "关闭详情")), 1)]),
|
|
489
|
+
_: 1
|
|
490
|
+
}, 8, ["disabled"])]),
|
|
491
|
+
default: T(() => [
|
|
492
|
+
L.value ? (x(), m(w(re), {
|
|
493
|
+
key: 0,
|
|
494
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.unable-to-load-details", "无法加载详情"),
|
|
495
|
+
message: L.value
|
|
496
|
+
}, null, 8, ["title", "message"])) : h("v-if", !0),
|
|
497
|
+
L.value ? (x(), m(w(r), {
|
|
498
|
+
key: 1,
|
|
499
|
+
onClick: t[9] ||= (e) => Pe(K.value)
|
|
500
|
+
}, {
|
|
501
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.retry", "重试")), 1)]),
|
|
502
|
+
_: 1
|
|
503
|
+
})) : h("v-if", !0),
|
|
504
|
+
P.value ? (x(), g("p", Ee, C(w(b).t("platform.screen.WorkflowAdministrationView.loading", "正在加载…")), 1)) : h("v-if", !0),
|
|
505
|
+
U.value ? (x(), g(he, { key: 3 }, [
|
|
506
|
+
!F.value && W.value.length ? (x(), m(w(o), {
|
|
507
|
+
key: 0,
|
|
508
|
+
embedded: "",
|
|
509
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.current-pending-tasks", "当前待办"),
|
|
510
|
+
columns: Re.value,
|
|
511
|
+
rows: W.value.map((e) => ({
|
|
512
|
+
...e,
|
|
513
|
+
id: e.taskId,
|
|
514
|
+
nodeTitle: w(c)(e.nodeTitle, e.nodeTitleText, w(b))
|
|
515
|
+
})),
|
|
516
|
+
pageable: !1,
|
|
517
|
+
"fill-height": !1,
|
|
518
|
+
"show-action-column": !0
|
|
519
|
+
}, {
|
|
520
|
+
rowActions: T(({ record: e }) => [e.canForceApprove ? (x(), m(w(r), {
|
|
521
|
+
key: 0,
|
|
522
|
+
danger: "",
|
|
523
|
+
disabled: P.value || !!J.value,
|
|
524
|
+
onClick: (t) => Ue("forceApprove", String(e.taskId))
|
|
525
|
+
}, {
|
|
526
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.force-processing", "强制办理")), 1)]),
|
|
527
|
+
_: 1
|
|
528
|
+
}, 8, ["disabled", "onClick"])) : h("v-if", !0)]),
|
|
529
|
+
_: 1
|
|
530
|
+
}, 8, [
|
|
531
|
+
"title",
|
|
532
|
+
"columns",
|
|
533
|
+
"rows"
|
|
534
|
+
])) : h("v-if", !0),
|
|
535
|
+
!F.value && !W.value.length ? (x(), g("p", De, C(w(b).t("platform.screen.WorkflowAdministrationView.there-are-no-pending-tasks", "当前没有待办任务")), 1)) : h("v-if", !0),
|
|
536
|
+
_("details", Oe, [_("summary", null, C(w(b).t("platform.screen.WorkflowAdministrationView.view-workflow-diagram", "查看流程图")), 1), y(w(pe), {
|
|
537
|
+
presentation: "detail",
|
|
538
|
+
nodes: U.value.nodes,
|
|
539
|
+
routes: U.value.routes,
|
|
540
|
+
"layout-json": U.value.layoutJson,
|
|
541
|
+
"semantic-json": U.value.semanticJson
|
|
542
|
+
}, null, 8, [
|
|
543
|
+
"nodes",
|
|
544
|
+
"routes",
|
|
545
|
+
"layout-json",
|
|
546
|
+
"semantic-json"
|
|
547
|
+
])]),
|
|
548
|
+
y(w(o), {
|
|
549
|
+
embedded: "",
|
|
550
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.administration-audit", "运维审计"),
|
|
551
|
+
columns: [
|
|
552
|
+
{
|
|
553
|
+
key: "occurred",
|
|
554
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.time", "时间"),
|
|
555
|
+
dataIndex: "occurred",
|
|
556
|
+
width: 170
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
key: "action",
|
|
560
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.operation", "操作"),
|
|
561
|
+
dataIndex: "action",
|
|
562
|
+
width: 120
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
key: "operatorTitle",
|
|
566
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.operator", "操作人"),
|
|
567
|
+
dataIndex: "operatorTitle",
|
|
568
|
+
width: 110
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
key: "message",
|
|
572
|
+
title: w(b).t("platform.screen.WorkflowAdministrationView.audit-reason", "原因与审计"),
|
|
573
|
+
dataIndex: "message"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
rows: G.value.map((e) => ({
|
|
577
|
+
...e,
|
|
578
|
+
action: E(e.actionCode ?? e.eventType),
|
|
579
|
+
message: w(c)(e.message ?? "", e.messageText, w(b)),
|
|
580
|
+
occurred: Be(e.occurredAt)
|
|
581
|
+
})),
|
|
582
|
+
"fill-height": !1,
|
|
583
|
+
pageable: !1
|
|
584
|
+
}, null, 8, [
|
|
585
|
+
"title",
|
|
586
|
+
"columns",
|
|
587
|
+
"rows"
|
|
588
|
+
])
|
|
589
|
+
], 64)) : h("v-if", !0)
|
|
590
|
+
]),
|
|
591
|
+
_: 1
|
|
592
|
+
}, 8, [
|
|
593
|
+
"open",
|
|
594
|
+
"title",
|
|
595
|
+
"subtitle"
|
|
596
|
+
]),
|
|
597
|
+
y(w(s), {
|
|
598
|
+
open: !!J.value,
|
|
599
|
+
title: Ve(J.value?.code ?? ""),
|
|
600
|
+
"before-close": $,
|
|
601
|
+
onClose: t[14] ||= (e) => J.value = void 0
|
|
602
|
+
}, {
|
|
603
|
+
operation: T(() => [y(w(r), {
|
|
604
|
+
type: "primary",
|
|
605
|
+
danger: "",
|
|
606
|
+
loading: P.value,
|
|
607
|
+
disabled: !q.value.trim(),
|
|
608
|
+
onClick: Ie
|
|
609
|
+
}, {
|
|
610
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.confirm-operation", "确认操作")), 1)]),
|
|
611
|
+
_: 1
|
|
612
|
+
}, 8, ["loading", "disabled"]), y(w(r), {
|
|
613
|
+
disabled: P.value,
|
|
614
|
+
onClick: t[13] ||= (e) => {
|
|
615
|
+
$().then((e) => {
|
|
616
|
+
e && (J.value = void 0);
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
}, {
|
|
620
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.cancel", "取消")), 1)]),
|
|
621
|
+
_: 1
|
|
622
|
+
}, 8, ["disabled"])]),
|
|
623
|
+
default: T(() => [
|
|
624
|
+
U.value ? (x(), g("p", ke, C(w(b).t("platform.screen.WorkflowAdministrationView.operation-record", "业务:{module} · 记录 {record}", {
|
|
625
|
+
module: z.value[U.value.instance.moduleAlias] ?? U.value.instance.moduleAlias,
|
|
626
|
+
record: U.value.instance.recordId
|
|
627
|
+
})), 1)) : h("v-if", !0),
|
|
628
|
+
_("p", null, C(He(J.value?.code ?? "")), 1),
|
|
629
|
+
_("p", null, C(w(b).t("platform.screen.WorkflowAdministrationView.operation-version-warning", "当前流程版本:{version}。操作成功后不可直接撤销,并记录操作人、时间和原因。", { version: U.value?.instance.versionNo ?? w(b).t("platform.screen.WorkflowAdministrationView.unknown-version", "未知") })), 1),
|
|
630
|
+
_("label", Ae, [y(w(i), { required: "" }, {
|
|
631
|
+
default: T(() => [v(C(w(b).t("platform.screen.WorkflowAdministrationView.administration-reason", "运维原因")), 1)]),
|
|
632
|
+
_: 1
|
|
633
|
+
}), y(w(a), {
|
|
634
|
+
value: q.value,
|
|
635
|
+
"onUpdate:value": t[12] ||= (e) => q.value = e,
|
|
636
|
+
disabled: P.value,
|
|
637
|
+
"aria-label": w(b).t("platform.screen.WorkflowAdministrationView.administration-reason", "运维原因")
|
|
638
|
+
}, null, 8, [
|
|
639
|
+
"value",
|
|
640
|
+
"disabled",
|
|
641
|
+
"aria-label"
|
|
642
|
+
])])
|
|
643
|
+
]),
|
|
644
|
+
_: 1
|
|
645
|
+
}, 8, ["open", "title"])
|
|
646
|
+
]));
|
|
647
|
+
}
|
|
648
|
+
}), [["__scopeId", "data-v-0ecf9f7e"]]);
|
|
649
|
+
//#endregion
|
|
650
|
+
export { E as default };
|