@epxing/business 5.3.0-beta.1 → 5.3.0-beta.3
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/API.md +11 -6
- package/README.md +44 -43
- package/dist/src/base/AiPromptDesigner.js +1 -0
- package/dist/src/base/AiPromptView.js +1 -0
- package/dist/src/base/AiSkillEditor.js +2 -1
- package/dist/src/base/AiSkillEditor.vue.js +2 -0
- package/dist/src/base/AppConfigFormItem.js +2 -3
- package/dist/src/base/AppConfigFormItem.vue.js +210 -85
- package/dist/src/base/AppMarket.js +1 -0
- package/dist/src/base/AppMarketList.js +1 -0
- package/dist/src/base/AppMarketSystemDetail.js +1 -0
- package/dist/src/base/AttributeSubAdd.js +1 -0
- package/dist/src/base/ChooseApplication.js +1 -0
- package/dist/src/base/ClientAppItem.js +1 -0
- package/dist/src/base/ClientApplication.js +1 -0
- package/dist/src/base/ClientApplicationList.js +1 -0
- package/dist/src/base/ClientModule.js +1 -0
- package/dist/src/base/ClientModuleIndex.js +1 -0
- package/dist/src/base/ClientSystemDetail.js +1 -0
- package/dist/src/base/ClientSystemList.js +1 -0
- package/dist/src/base/CommonFieldList.js +2 -1
- package/dist/src/base/CommonFieldList.vue.js +2 -1
- package/dist/src/base/CommonSearchList.js +1 -0
- package/dist/src/base/CompayDetail.js +1 -0
- package/dist/src/base/ComponentGlobalSet.js +1 -0
- package/dist/src/base/ComponentParamsTree.js +1 -0
- package/dist/src/base/ConfigModuleIndex.js +39 -1
- package/dist/src/base/CurrentClientApplication.js +1 -0
- package/dist/src/base/CurrentVersionInfo.js +1 -0
- package/dist/src/base/EntityMatchCompare.js +1 -0
- package/dist/src/base/FieldRelationFormItem.js +1 -0
- package/dist/src/base/HelpDocSet.js +1 -0
- package/dist/src/base/IndexFormItem.js +1 -0
- package/dist/src/base/JobFormItem.js +1 -0
- package/dist/src/base/ManageAppNav.js +2 -1
- package/dist/src/base/ManageMenu.js +2 -1
- package/dist/src/base/ManageMenuItem.js +1 -0
- package/dist/src/base/NoInstallSystemList.js +1 -0
- package/dist/src/base/PageList.js +1 -0
- package/dist/src/base/PasswordFormItem.js +1 -0
- package/dist/src/base/ProcessFormItem.js +1 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +1 -0
- package/dist/src/base/RequestLog.js +1 -0
- package/dist/src/base/RightRiskList.js +1 -0
- package/dist/src/base/RoleAccredit.js +1 -0
- package/dist/src/base/RoleBindTrace.js +253 -0
- package/dist/src/base/RoleGroupManage.js +1037 -0
- package/dist/src/base/RoleRightList.js +1 -0
- package/dist/src/base/RoleUserManage.js +1 -0
- package/dist/src/base/ServiceAccredit.js +1 -0
- package/dist/src/base/ServiceMenu.js +8 -6
- package/dist/src/base/ServiceMenuFormItem.js +1 -0
- package/dist/src/base/ServiceOperate.js +1 -0
- package/dist/src/base/SystemHelpTreeFind.js +1 -0
- package/dist/src/base/aiPromptMode.js +1 -0
- package/dist/src/base/data-check/DataChckDetail.js +1 -0
- package/dist/src/base/data-check/DataCheck.js +1 -0
- package/dist/src/base/data-check/DataCheckList.js +1 -0
- package/dist/src/base/data-check/DataCheckSubList.js +1 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +1 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +1 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +1 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +1 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +1 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +1 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +1 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +1 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +1 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +1 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +1 -0
- package/dist/src/base/entity-view-config/constants.js +1 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +1 -0
- package/dist/src/components/AddPageFormItem.js +1 -0
- package/dist/src/components/AddUsedInterface.js +1 -0
- package/dist/src/components/AiDocFormItem.js +1 -0
- package/dist/src/components/AiList.js +1279 -3
- package/dist/src/components/AiPermissionAssistant.js +1 -0
- package/dist/src/components/AppList.js +1 -0
- package/dist/src/components/Apply/AIApplyIndex.js +1 -0
- package/dist/src/components/Apply/ApplyIndex.js +1 -0
- package/dist/src/components/AttributeList.js +1 -0
- package/dist/src/components/Banner.js +1 -0
- package/dist/src/components/BatchAddFieldDialog.js +1 -0
- package/dist/src/components/CardO.js +1 -0
- package/dist/src/components/CheckForm.js +1 -0
- package/dist/src/components/ClientAdminFormItem.js +1 -0
- package/dist/src/components/ClientAdminList.js +1 -0
- package/dist/src/components/ClientFormItem.js +1 -0
- package/dist/src/components/ClientList.js +1 -0
- package/dist/src/components/CodeDetail.js +1 -0
- package/dist/src/components/CodeManage.js +1 -0
- package/dist/src/components/ComponentFind.js +1 -0
- package/dist/src/components/ComponentList.js +1 -0
- package/dist/src/components/ConfigParamFormItem.js +1 -0
- package/dist/src/components/CreatePage.js +1 -0
- package/dist/src/components/DashboardCreate.js +1 -0
- package/dist/src/components/DataLog.js +1 -0
- package/dist/src/components/DataLogTimeline.js +1 -0
- package/dist/src/components/DataSnapshot.js +1 -0
- package/dist/src/components/DataSnapshotList.js +1 -0
- package/dist/src/components/DataSyncInit.js +1 -0
- package/dist/src/components/DblogList.js +1 -0
- package/dist/src/components/DeptFind.js +1 -0
- package/dist/src/components/DynamicUserList.js +1 -0
- package/dist/src/components/EntityCheckboxFind.js +1 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
- package/dist/src/components/EntityRelationAdd.js +1 -0
- package/dist/src/components/EntityRelationAddFormItem.js +1 -0
- package/dist/src/components/EntityRightFormItem.js +2 -5
- package/dist/src/components/EntityRightFormItem.vue.js +3 -1
- package/dist/src/components/EntityRightSubList.js +1 -0
- package/dist/src/components/EntitySystemEr.js +492 -0
- package/dist/src/components/EntityTagSubList.js +1 -0
- package/dist/src/components/EntityTreeManage.js +1 -0
- package/dist/src/components/ExportSystemConfig.js +1 -0
- package/dist/src/components/FieldTreeFind.js +1 -0
- package/dist/src/components/FormulaEditor.js +1 -0
- package/dist/src/components/GenTestData.js +1 -0
- package/dist/src/components/HallNav.js +1 -0
- package/dist/src/components/HallNav.vue.js +7 -36
- package/dist/src/components/HeaderNav.js +1 -0
- package/dist/src/components/IconCard.js +1 -0
- package/dist/src/components/IconFontLibrary.js +23 -1
- package/dist/src/components/IconFontList.js +22 -1
- package/dist/src/components/IdentifyList.js +1 -0
- package/dist/src/components/ImportSystemConfig.js +1 -0
- package/dist/src/components/InterfaceSubList.js +1 -0
- package/dist/src/components/JsPanel.js +1 -0
- package/dist/src/components/LanguageImportPage.js +1 -0
- package/dist/src/components/LanguageSetting.js +1 -0
- package/dist/src/components/List/LinkItem.js +1 -0
- package/dist/src/components/List/List.js +1 -0
- package/dist/src/components/List/ListItem.js +1 -0
- package/dist/src/components/MenuTreeFind.js +1 -0
- package/dist/src/components/MessageList.js +1 -0
- package/dist/src/components/MessageRuleFormItem.js +1 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +1 -0
- package/dist/src/components/MessageTemplate.js +1 -0
- package/dist/src/components/MetaList.js +1 -0
- package/dist/src/components/Nav.js +1 -0
- package/dist/src/components/NavFormCatalogItem.js +1 -0
- package/dist/src/components/NumList.js +1 -0
- package/dist/src/components/OperateLog.js +1 -0
- package/dist/src/components/PageCatalog.js +1 -0
- package/dist/src/components/PageChart.js +1 -0
- package/dist/src/components/PageSwipes.js +1 -0
- package/dist/src/components/PersonFormItem.js +1 -0
- package/dist/src/components/Popup.js +1 -0
- package/dist/src/components/PrintFormList.js +3 -1
- package/dist/src/components/PrintFormList.vue.js +3 -1
- package/dist/src/components/PublishEntity.js +1 -0
- package/dist/src/components/RelyFieldTreeFind.js +1 -0
- package/dist/src/components/ReportFormList.js +1 -0
- package/dist/src/components/ReportList.js +1 -0
- package/dist/src/components/RightSubList.js +1 -0
- package/dist/src/components/RoleAddUser.js +1 -0
- package/dist/src/components/RoleApplicationCard.js +1 -0
- package/dist/src/components/RoleApplicationList.js +1 -0
- package/dist/src/components/RoleApplicationSet.js +1 -0
- package/dist/src/components/Search.js +1 -0
- package/dist/src/components/ServiceFormItem.js +1 -0
- package/dist/src/components/SnapshotDataList.js +1 -0
- package/dist/src/components/SystemAdminList.js +1 -0
- package/dist/src/components/SystemFormItem.js +1 -0
- package/dist/src/components/SystemNav.js +1 -0
- package/dist/src/components/TaskNumCard.js +1 -0
- package/dist/src/components/TimerRuleFormItem.js +1 -0
- package/dist/src/components/TodoList.js +1 -0
- package/dist/src/components/UpdateSystemConfig.js +1 -0
- package/dist/src/components/UserCard.js +1 -0
- package/dist/src/components/UserFind.js +1 -0
- package/dist/src/components/UserFormItem.js +1 -0
- package/dist/src/components/UserList.js +1 -0
- package/dist/src/components/UserManage.js +1 -0
- package/dist/src/components/UserRoleList.js +1 -0
- package/dist/src/components/ValidateRuleFormItem.js +1 -0
- package/dist/src/components/ViewFieldDefine.js +1 -0
- package/dist/src/components/WikiSpaceList.js +1 -0
- package/dist/src/components/WikiWorkbench.js +154 -129
- package/dist/src/components/authorization/AddApiPermiss.js +1 -0
- package/dist/src/components/authorization/AddAuthorization.js +1 -0
- package/dist/src/components/authorization/AddEntityFind.js +1 -0
- package/dist/src/components/authorization/AddNoApi.js +1 -0
- package/dist/src/components/authorization/AddRoleScope.js +1 -0
- package/dist/src/components/authorization/AiRolePlan.js +1 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +1 -0
- package/dist/src/components/authorization/ApiSystemList.js +1 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +4 -1
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +1 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +1 -0
- package/dist/src/components/authorization/OtherShareApiList.js +1 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +1 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +1 -0
- package/dist/src/components/authorization/RoleLevel.js +1 -0
- package/dist/src/components/authorization/RoleLevelScope.js +1 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +1 -0
- package/dist/src/components/card/CardList.js +1 -0
- package/dist/src/components/card/CardListItem.js +1 -0
- package/dist/src/components/card/Title.js +1 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +1 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +1 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +1992 -1942
- package/dist/src/components/custom-bpmn/components/AiModel.js +1 -0
- package/dist/src/components/custom-bpmn/components/Api.js +1 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +1 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +1 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +1 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +1 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +1 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +1 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +1 -0
- package/dist/src/components/custom-bpmn/components/Login.js +1 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +1 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +1 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +1 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +1 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +1 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +1 -0
- package/dist/src/components/custom-bpmn/index.js +1 -0
- package/dist/src/components/custom-bpmn/palette.js +1 -0
- package/dist/src/components/custom-bpmn/util.js +1 -0
- package/dist/src/components/dashboard-create.js +1 -0
- package/dist/src/components/entity-relation-diagram/Er.js +1 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +1 -0
- package/dist/src/components/expand/AddForm.js +1 -0
- package/dist/src/components/expand/AddFormItem.js +1 -0
- package/dist/src/components/filter/Filter.js +1 -0
- package/dist/src/components/filter/FilterItem.js +1 -0
- package/dist/src/components/hall/AppCollect.js +1 -0
- package/dist/src/components/hall/AppList.js +1 -0
- package/dist/src/components/hall/AppVisitRecord.js +1 -0
- package/dist/src/components/hall/Banner.js +1 -0
- package/dist/src/components/hall/ServiceCard.js +1 -0
- package/dist/src/components/hall/UserCard.js +1 -0
- package/dist/src/components/icon-gallery/IconGallery.js +193 -0
- package/dist/src/components/icon-gallery/mixin.js +150 -0
- package/dist/src/components/permiss/AddApi.js +1 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +1 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +1 -0
- package/dist/src/components/permiss/AllocateRole.js +1 -0
- package/dist/src/components/permiss/ApiSubList.js +1 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +1 -0
- package/dist/src/components/permiss/FieldScope.js +1 -0
- package/dist/src/components/permiss/PermissManage.js +1 -0
- package/dist/src/components/permiss/RoleAppList.js +1 -0
- package/dist/src/components/permiss/RoleMenu.js +1 -0
- package/dist/src/components/permiss/RoleSubList.js +1 -0
- package/dist/src/components/permiss/jurisdiction.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +1 -0
- package/dist/src/components/process-healthcheck/index.js +1 -0
- package/dist/src/components/report/Config.js +1 -0
- package/dist/src/components/report/Design.js +1 -0
- package/dist/src/components/report/StatList.js +1 -0
- package/dist/src/components/right/EntityOtherSystemList.js +1 -0
- package/dist/src/components/right/SystemInterfaceList.js +1 -0
- package/dist/src/components/right/SystemList.js +1 -0
- package/dist/src/components/upLoad.js +1 -0
- package/dist/src/components/viewport/LookViewList.js +1 -0
- package/dist/src/components/viewport/ViewAddForm.js +1 -0
- package/dist/src/components/viewport/ViewDefineList.js +1 -0
- package/dist/src/components/viewport/ViewFiedList.js +1 -0
- package/dist/src/components/viewport/ViewScope.js +1 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +1 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +87 -93
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
- package/dist/src/components/wiki-workbench/WikiJobs.js +1 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +1 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +1 -0
- package/dist/src/components/wiki-workbench/codes.js +1 -0
- package/dist/src/components/wiki-workbench/index.js +1 -0
- package/dist/src/index.js +27 -20
- package/dist/src/popup.js +1 -0
- package/dist/src/public-components.js +17 -14
- package/dist/src/remote.entry.js +1 -0
- package/dist/src/route-components.js +6 -5
- package/dist/src/system.component.index.js +2 -1
- package/dist/src/system.component.js +9 -3
- package/dist/src/system.component.lazy.js +2 -1
- package/dist/src/views/Add.js +2 -1
- package/dist/src/views/Add.vue.js +8 -3
- package/dist/src/views/AiToolManager.js +793 -317
- package/dist/src/views/App.js +4 -45
- package/dist/src/views/AppRoleSelect.js +4 -230
- package/dist/src/views/BatchEdit.js +1 -0
- package/dist/src/views/Bpmn.js +1 -0
- package/dist/src/views/EntityCheckPage.js +1 -0
- package/dist/src/views/EntityDetailPage.js +1 -0
- package/dist/src/views/EntityEditPage.js +1 -0
- package/dist/src/views/EntitySubListPage.js +1 -0
- package/dist/src/views/EntityTreePage.js +1 -0
- package/dist/src/views/Error.js +4 -207
- package/dist/src/views/ExcelDesign.js +327 -316
- package/dist/src/views/ExcelPreviewPage.js +1 -0
- package/dist/src/views/ExportFilePage.js +1 -0
- package/dist/src/views/ExportPage.js +1 -0
- package/dist/src/views/FormDesign.js +1 -0
- package/dist/src/views/I18nWorkbench.js +1 -0
- package/dist/src/views/ImportFilePage.js +1 -0
- package/dist/src/views/ImportPage.js +1 -0
- package/dist/src/views/JvmMemoryMonitor.js +463 -0
- package/dist/src/views/MEntityListPage.js +1 -0
- package/dist/src/views/MEntitySubListPage.js +1 -0
- package/dist/src/views/MinePage.js +1 -0
- package/dist/src/views/Module.js +4 -170
- package/dist/src/views/PageAttributeTreePage.js +1 -0
- package/dist/src/views/PageConfig.js +1 -0
- package/dist/src/views/Permission.js +1 -0
- package/dist/src/views/PersonalInfo.js +1 -0
- package/dist/src/views/QyWechat.js +1 -0
- package/dist/src/views/ReportFormListPage.js +1 -0
- package/dist/src/views/TaskPage.js +1 -0
- package/dist/src/views/WikiBinding.js +89 -25
- package/dist/src/views/client/AddForm.js +1 -0
- package/dist/src/views/client/AppMarket.js +1 -0
- package/dist/src/views/client/ClientIndex.js +1 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +1 -0
- package/dist/src/views/client/CopySystem.js +1 -0
- package/dist/src/views/client/CreateAppFormItem.js +1 -0
- package/dist/src/views/client/CreateMethod.js +1 -0
- package/dist/src/views/client/InstallSystem.js +1 -0
- package/dist/src/views/client/ManageList.js +1 -0
- package/dist/src/views/client/OpenClientManage.js +1 -0
- package/dist/src/views/client/OpenSystemManage.js +1 -0
- package/dist/src/views/client/PageTabsCyclic.js +1 -0
- package/dist/src/views/client/SelfBuiltSystem.js +1 -0
- package/dist/src/views/client/StandardProduct.js +1 -0
- package/dist/src/views/client/SystemAppAccredit.js +1 -0
- package/dist/src/views/client/SystemAppManager.js +1 -0
- package/dist/src/views/client/SystemManager.js +1 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +1 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +1 -0
- package/dist/src/views/i18n/I18nTranslationList.js +1 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +1 -0
- package/dist/src/views/layout/CardList.js +1 -0
- package/dist/src/views/layout/Grid.js +1 -0
- package/dist/src/views/match/AddTargetField.js +1 -0
- package/dist/src/views/match/MatchAddFormItem.js +1 -0
- package/dist/src/views/match/conversion.js +1 -0
- package/dist/src/views/match/customize.js +1 -0
- package/dist/src/views/match/fieldMatch.js +1 -0
- package/dist/src/views/report/AddFormItem.js +1 -0
- package/dist/src/views/report/DesignReport.js +1 -0
- package/dist/src/views/report/ReportTreeFind.js +1 -0
- package/dist/style.css +2867 -1487
- package/package.json +14 -7
- package/src/base/AiSkillEditor.vue +2 -0
- package/src/base/AppConfigFormItem.vue +211 -145
- package/src/base/CommonFieldList.vue +9 -6
- package/src/base/ConfigModuleIndex.vue +37 -1
- package/src/base/ManageAppNav.vue +1188 -1188
- package/src/base/ManageMenu.vue +933 -933
- package/src/base/RoleBindTrace.vue +364 -0
- package/src/base/RoleGroupManage.vue +1160 -0
- package/src/base/ServiceMenu.vue +6 -5
- package/src/components/AiList.vue +439 -113
- package/src/components/EntityCheckboxFind.vue +12 -8
- package/src/components/EntityRightFormItem.vue +9 -10
- package/src/components/EntitySystemEr.vue +517 -0
- package/src/components/HallNav.vue +6 -33
- package/src/components/IconFontLibrary.vue +27 -60
- package/src/components/IconFontList.vue +13 -64
- package/src/components/PrintFormList.vue +33 -27
- package/src/components/WikiWorkbench.vue +90 -60
- package/src/components/authorization/AuthorizationInterface.vue +2 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -1
- package/src/components/custom-bpmn/CustomRenderer.js +1 -1
- package/src/components/custom-bpmn/PropertiesView.vue +35 -4
- package/src/components/custom-bpmn/index.js +1 -1
- package/src/components/icon-gallery/IconGallery.vue +130 -0
- package/src/components/icon-gallery/mixin.jsx +109 -0
- package/src/components/wiki-workbench/WikiIntake.vue +178 -104
- package/src/index.js +24 -20
- package/src/public-components.js +1 -0
- package/src/route-components.js +4 -4
- package/src/system.component.index.js +1 -1
- package/src/views/Add.vue +8 -5
- package/src/views/AiToolManager.vue +326 -4
- package/src/views/App.vue +4 -53
- package/src/views/AppRoleSelect.vue +4 -334
- package/src/views/Error.vue +4 -63
- package/src/views/ExcelDesign.vue +24 -7
- package/src/views/JvmMemoryMonitor.vue +284 -0
- package/src/views/Module.vue +4 -210
- package/src/views/WikiBinding.vue +42 -0
- package/types/app.d.ts +1 -0
- package/types/dept-find.d.ts +1 -1
- package/types/index.d.ts +15 -14
- package/types/popup.d.ts +2 -2
- package/types/route-components.d.ts +1 -1
- package/types/user-find.d.ts +1 -1
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/src/components/AiList.vue.js +0 -93
- package/dist/src/components/IconFontLibrary.vue.js +0 -67
- package/dist/src/components/IconFontList.vue.js +0 -79
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import '../../style.css';
|
|
1
2
|
import __cjsReq0 from "../assets/images/app.png.js";
|
|
2
3
|
import draggable from "@epxing/core/src/components/draggable";
|
|
3
4
|
import component from "@epxing/core/src/mixins/component";
|
|
4
|
-
import { resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, toDisplayString, createVNode, withModifiers,
|
|
5
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, Fragment, renderList, toDisplayString, createVNode, withModifiers, withCtx, createTextVNode, createBlock, createCommentVNode, mergeProps, withKeys, withDirectives } from "vue";
|
|
5
6
|
/* empty css */
|
|
6
7
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
7
8
|
const _sfc_main = {
|
|
@@ -49,6 +50,21 @@ const _sfc_main = {
|
|
|
49
50
|
subAgentTools: [],
|
|
50
51
|
skillTools: [],
|
|
51
52
|
sysTools: [],
|
|
53
|
+
callMethodTools: [],
|
|
54
|
+
callMethodDialogVisible: false,
|
|
55
|
+
callMethodList: [],
|
|
56
|
+
callMethodKeyword: "",
|
|
57
|
+
callMethodPage: 1,
|
|
58
|
+
callMethodTotal: 0,
|
|
59
|
+
callMethodLoading: false,
|
|
60
|
+
callMethodSaving: false,
|
|
61
|
+
callMethodRequestId: 0,
|
|
62
|
+
selectedCallMethods: [],
|
|
63
|
+
// 确认设置按方法ID保留,跨页选择不会重置用户修改。
|
|
64
|
+
callMethodConfirm: {},
|
|
65
|
+
callMethodSettingsVisible: false,
|
|
66
|
+
callMethodSetting: {},
|
|
67
|
+
callMethodSettingConfirm: false,
|
|
52
68
|
dialogVisible: false,
|
|
53
69
|
dialogTitle: "新增工具",
|
|
54
70
|
isEdit: false,
|
|
@@ -143,14 +159,14 @@ const _sfc_main = {
|
|
|
143
159
|
methods: {
|
|
144
160
|
// 加载工具列表
|
|
145
161
|
loadTools() {
|
|
146
|
-
this.$http.list({
|
|
162
|
+
return this.$http.list({
|
|
147
163
|
action: "list",
|
|
148
164
|
entityId: "FM_AI_TOOL",
|
|
149
165
|
"scope.AGENT": this.$query.id,
|
|
150
166
|
order_field: "ORDER",
|
|
151
167
|
order_mode: "asc",
|
|
152
168
|
columnFieldNames: "ID,NAME#,TYPE,DESC,ORDER,ACTION,META#,API,TOKEN,MCP_URL,WORKFLOW,SKILL_FILE,ENABLE,CONFIRM,FORM_PAGE,RESULT_PAGE,USE_FORM_PAGE,USE_RESULT_PAGE,API|LABEL,API|NAME,API|ENTITY#,API|PARAM_EXPLAIN,API|FRAME_API,OUT_API|NOTICE,SUB_AGENT|NAME,SUB_AGENT|AGENT_PROMPT,SUB_AGENT|CODE,SUB_AGENT|IMAGE,SKILL,SKILL|NAME,SKILL|CODE,SKILL|DESC,MCP,MCP|NAME,MCP|CODE,MCP|TYPE,MCP|URL,MCP|COMMAND,SYS_TOOL,SYS_TOOL|NAME,SYS_TOOL|CODE,SYS_TOOL|DESC"
|
|
153
|
-
}).then((data) => {
|
|
169
|
+
}).then(async (data) => {
|
|
154
170
|
const tools = data.entitys || [];
|
|
155
171
|
this.interfaceTools = tools.filter((t) => t.TYPE === "function");
|
|
156
172
|
this.externalTools = tools.filter((t) => t.TYPE === "api");
|
|
@@ -158,10 +174,158 @@ const _sfc_main = {
|
|
|
158
174
|
this.subAgentTools = tools.filter((t) => t.TYPE === "subagent");
|
|
159
175
|
this.skillTools = tools.filter((t) => t.TYPE === "skills");
|
|
160
176
|
this.sysTools = tools.filter((t) => t.TYPE === "sys_tool");
|
|
177
|
+
await this.loadCallMethodTools(tools.filter((t) => t.TYPE === "call_method"));
|
|
161
178
|
}).catch((err) => {
|
|
162
179
|
this.$message.error(err.message || "加载工具列表失败");
|
|
163
180
|
});
|
|
164
181
|
},
|
|
182
|
+
callMethodTypeName(operation) {
|
|
183
|
+
return { CREATE: "数据新增", LIST: "列表分页查询", UPDATE: "数据编辑", DELETE: "数据删除", DETAIL: "详情", APPLY: "申请", APPROVE: "审核", PRINT: "报表打印" }[operation] || operation || "—";
|
|
184
|
+
},
|
|
185
|
+
// 仅存在此类绑定时读取新增关联字段,兼容尚未接入调用方法的旧配置。
|
|
186
|
+
async loadCallMethodTools(tools) {
|
|
187
|
+
this.callMethodTools = tools;
|
|
188
|
+
if (!tools.length) return;
|
|
189
|
+
const result = await this.$http.list({
|
|
190
|
+
entityId: this.$util.getSystemMeta("FM_AI_TOOL"),
|
|
191
|
+
"scope.AGENT": this.$query.id,
|
|
192
|
+
"scope.TYPE": "call_method",
|
|
193
|
+
limit: tools.length,
|
|
194
|
+
columnFieldNames: "ID,NAME,DESC,CONFIRM,CALL_METHOD,CALL_METHOD|NAME,CALL_METHOD|CODE,CALL_METHOD|DESCRIPTION,CALL_METHOD|OPERATION,CALL_METHOD|MAIN_ENTITY#"
|
|
195
|
+
});
|
|
196
|
+
this.callMethodTools = result.entitys || [];
|
|
197
|
+
},
|
|
198
|
+
showCallMethodDialog() {
|
|
199
|
+
if (!this.$query.id) {
|
|
200
|
+
this.$message.warning("请先保存智能体,再添加调用方法");
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
this.callMethodKeyword = "";
|
|
204
|
+
this.callMethodPage = 1;
|
|
205
|
+
this.callMethodList = [];
|
|
206
|
+
this.selectedCallMethods = [];
|
|
207
|
+
this.callMethodConfirm = {};
|
|
208
|
+
this.callMethodDialogVisible = true;
|
|
209
|
+
this.$nextTick(() => {
|
|
210
|
+
if (this.$refs.callMethodTable) this.$refs.callMethodTable.clearSelection();
|
|
211
|
+
this.loadCallMethods();
|
|
212
|
+
});
|
|
213
|
+
},
|
|
214
|
+
async loadCallMethods() {
|
|
215
|
+
const requestId = ++this.callMethodRequestId;
|
|
216
|
+
this.callMethodLoading = true;
|
|
217
|
+
try {
|
|
218
|
+
const result = await this.$http.list({
|
|
219
|
+
entityId: this.$util.getSystemMeta("FM_AI_CALL_METHOD"),
|
|
220
|
+
"scope.ENABLE": "1",
|
|
221
|
+
keywordValue: this.callMethodKeyword,
|
|
222
|
+
keywordFields: "NAME,CODE",
|
|
223
|
+
page: this.callMethodPage,
|
|
224
|
+
limit: 10,
|
|
225
|
+
columnFieldNames: "ID,NAME,CODE,DESCRIPTION,OPERATION,MAIN_ENTITY#",
|
|
226
|
+
order_field: "CODE",
|
|
227
|
+
order_mode: "asc"
|
|
228
|
+
});
|
|
229
|
+
if (requestId !== this.callMethodRequestId) return;
|
|
230
|
+
this.callMethodList = result.entitys || [];
|
|
231
|
+
this.callMethodTotal = result.total || 0;
|
|
232
|
+
} catch (err) {
|
|
233
|
+
if (requestId === this.callMethodRequestId) {
|
|
234
|
+
this.callMethodList = [];
|
|
235
|
+
this.callMethodTotal = 0;
|
|
236
|
+
this.$message.error(err.msg || err.message || "加载调用方法失败");
|
|
237
|
+
}
|
|
238
|
+
} finally {
|
|
239
|
+
if (requestId === this.callMethodRequestId) this.callMethodLoading = false;
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
searchCallMethods() {
|
|
243
|
+
this.callMethodPage = 1;
|
|
244
|
+
this.loadCallMethods();
|
|
245
|
+
},
|
|
246
|
+
changeCallMethodPage(page) {
|
|
247
|
+
this.callMethodPage = page;
|
|
248
|
+
this.loadCallMethods();
|
|
249
|
+
},
|
|
250
|
+
canSelectCallMethod(row) {
|
|
251
|
+
return !this.callMethodSaving && !this.callMethodTools.some((tool) => tool.CALL_METHOD === row.ID);
|
|
252
|
+
},
|
|
253
|
+
handleCallMethodSelectionChange(selection) {
|
|
254
|
+
this.selectedCallMethods = selection;
|
|
255
|
+
selection.forEach((method) => {
|
|
256
|
+
if (!Object.prototype.hasOwnProperty.call(this.callMethodConfirm, method.ID)) {
|
|
257
|
+
this.$set(this.callMethodConfirm, method.ID, method.OPERATION === "CREATE");
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
},
|
|
261
|
+
async confirmCallMethods() {
|
|
262
|
+
if (this.callMethodSaving || !this.selectedCallMethods.length) return;
|
|
263
|
+
this.callMethodSaving = true;
|
|
264
|
+
let saved = 0;
|
|
265
|
+
try {
|
|
266
|
+
for (const method of [...this.selectedCallMethods]) {
|
|
267
|
+
await this.$http.save({
|
|
268
|
+
entityId: this.$util.getSystemMeta("FM_AI_TOOL"),
|
|
269
|
+
bean: {
|
|
270
|
+
NAME: method.NAME,
|
|
271
|
+
DESC: method.DESCRIPTION || method.NAME,
|
|
272
|
+
TYPE: "call_method",
|
|
273
|
+
CALL_METHOD: method.ID,
|
|
274
|
+
AGENT: this.$query.id,
|
|
275
|
+
CLIENT: this.CLIENT,
|
|
276
|
+
SYSTEM: this.SYSTEM,
|
|
277
|
+
ENABLE: "1",
|
|
278
|
+
CONFIRM: this.callMethodConfirm[method.ID] ? "1" : "0"
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
saved++;
|
|
282
|
+
this.$refs.callMethodTable.toggleRowSelection(method, false);
|
|
283
|
+
}
|
|
284
|
+
this.callMethodDialogVisible = false;
|
|
285
|
+
this.$message.success(`已添加 ${saved} 个调用方法`);
|
|
286
|
+
} catch (err) {
|
|
287
|
+
this.$message.error(`${saved ? `已添加 ${saved} 个,其余未完成:` : ""}${err.msg || err.message || "添加调用方法失败"}`);
|
|
288
|
+
} finally {
|
|
289
|
+
await this.loadTools();
|
|
290
|
+
this.callMethodSaving = false;
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
showCallMethodSettings(tool) {
|
|
294
|
+
this.callMethodSetting = { ...tool };
|
|
295
|
+
this.callMethodSettingConfirm = String(tool.CONFIRM) === "1";
|
|
296
|
+
this.callMethodSettingsVisible = true;
|
|
297
|
+
},
|
|
298
|
+
async saveCallMethodSettings() {
|
|
299
|
+
if (this.callMethodSaving) return;
|
|
300
|
+
this.callMethodSaving = true;
|
|
301
|
+
try {
|
|
302
|
+
await this.$http.update({
|
|
303
|
+
entityId: this.$util.getSystemMeta("FM_AI_TOOL"),
|
|
304
|
+
bean: { ID: this.callMethodSetting.ID, CONFIRM: this.callMethodSettingConfirm ? "1" : "0" }
|
|
305
|
+
});
|
|
306
|
+
this.callMethodSettingsVisible = false;
|
|
307
|
+
this.$message.success("接入配置已保存");
|
|
308
|
+
await this.loadTools();
|
|
309
|
+
} catch (err) {
|
|
310
|
+
this.$message.error(err.msg || err.message || "保存接入配置失败");
|
|
311
|
+
} finally {
|
|
312
|
+
this.callMethodSaving = false;
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
async removeCallMethod(tool) {
|
|
316
|
+
try {
|
|
317
|
+
await this.$confirm(`确定解除“${tool["CALL_METHOD|NAME"] || tool.NAME}”的绑定吗?方法定义会保留。`, "解除绑定", { type: "warning" });
|
|
318
|
+
} catch (cancel) {
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
try {
|
|
322
|
+
await this.$http.removeMulti({ entityId: this.$util.getSystemMeta("FM_AI_TOOL"), ids: tool.ID });
|
|
323
|
+
this.$message.success("已解除绑定");
|
|
324
|
+
await this.loadTools();
|
|
325
|
+
} catch (err) {
|
|
326
|
+
this.$message.error(err.msg || err.message || "解除绑定失败");
|
|
327
|
+
}
|
|
328
|
+
},
|
|
165
329
|
// 新增工具
|
|
166
330
|
handleAdd(type) {
|
|
167
331
|
if (type === "interface") {
|
|
@@ -857,152 +1021,169 @@ const _hoisted_11 = { class: "tool-section" };
|
|
|
857
1021
|
const _hoisted_12 = { class: "tool-cards" };
|
|
858
1022
|
const _hoisted_13 = ["onClick"];
|
|
859
1023
|
const _hoisted_14 = { class: "card-header" };
|
|
860
|
-
const _hoisted_15 = { class: "card-title
|
|
861
|
-
const _hoisted_16 = { class: "card-
|
|
862
|
-
const _hoisted_17 = { class: "card-
|
|
863
|
-
const _hoisted_18 = { class: "card-
|
|
1024
|
+
const _hoisted_15 = { class: "card-title" };
|
|
1025
|
+
const _hoisted_16 = { class: "card-content" };
|
|
1026
|
+
const _hoisted_17 = { class: "card-line" };
|
|
1027
|
+
const _hoisted_18 = { class: "card-line" };
|
|
864
1028
|
const _hoisted_19 = { class: "card-line" };
|
|
865
1029
|
const _hoisted_20 = { class: "card-line" };
|
|
866
|
-
const _hoisted_21 = { class: "
|
|
867
|
-
const _hoisted_22 = { class: "tool-
|
|
868
|
-
const _hoisted_23 = { class: "
|
|
869
|
-
const _hoisted_24 =
|
|
870
|
-
const _hoisted_25 = { class: "card-
|
|
871
|
-
const _hoisted_26 = { class: "card-
|
|
872
|
-
const _hoisted_27 = { class: "card-
|
|
873
|
-
const _hoisted_28 = { class: "
|
|
874
|
-
const _hoisted_29 = { class: "
|
|
875
|
-
const _hoisted_30 = { class: "card-
|
|
876
|
-
const _hoisted_31 = { class: "card-
|
|
877
|
-
const _hoisted_32 = { class: "
|
|
878
|
-
const _hoisted_33 = { class: "
|
|
879
|
-
const _hoisted_34 = { class: "card-
|
|
880
|
-
const _hoisted_35 = { class: "card-
|
|
881
|
-
const _hoisted_36 = { class: "
|
|
882
|
-
const _hoisted_37 = { class: "
|
|
883
|
-
const _hoisted_38 = { class: "card-
|
|
884
|
-
const _hoisted_39 = { class: "
|
|
885
|
-
const _hoisted_40 = { class: "
|
|
886
|
-
const _hoisted_41 = { class: "card-
|
|
887
|
-
const _hoisted_42 = { class: "card-
|
|
888
|
-
const _hoisted_43 = { class: "card-
|
|
889
|
-
const _hoisted_44 = { class: "card-
|
|
890
|
-
const _hoisted_45 = { class: "
|
|
891
|
-
const _hoisted_46 = { class: "card-
|
|
892
|
-
const _hoisted_47 =
|
|
893
|
-
const _hoisted_48 = { class: "
|
|
1030
|
+
const _hoisted_21 = { class: "call-method-actions" };
|
|
1031
|
+
const _hoisted_22 = { class: "tool-section" };
|
|
1032
|
+
const _hoisted_23 = { class: "tool-cards" };
|
|
1033
|
+
const _hoisted_24 = ["onClick"];
|
|
1034
|
+
const _hoisted_25 = { class: "card-header" };
|
|
1035
|
+
const _hoisted_26 = { class: "card-title-group" };
|
|
1036
|
+
const _hoisted_27 = { class: "card-title" };
|
|
1037
|
+
const _hoisted_28 = { class: "card-code" };
|
|
1038
|
+
const _hoisted_29 = { class: "card-content" };
|
|
1039
|
+
const _hoisted_30 = { class: "card-line" };
|
|
1040
|
+
const _hoisted_31 = { class: "card-line" };
|
|
1041
|
+
const _hoisted_32 = { class: "tool-section" };
|
|
1042
|
+
const _hoisted_33 = { class: "tool-cards" };
|
|
1043
|
+
const _hoisted_34 = { class: "card-header" };
|
|
1044
|
+
const _hoisted_35 = { class: "card-title-group" };
|
|
1045
|
+
const _hoisted_36 = { class: "card-title" };
|
|
1046
|
+
const _hoisted_37 = { class: "card-content" };
|
|
1047
|
+
const _hoisted_38 = { class: "card-line" };
|
|
1048
|
+
const _hoisted_39 = { class: "tool-section" };
|
|
1049
|
+
const _hoisted_40 = { class: "tool-cards" };
|
|
1050
|
+
const _hoisted_41 = { class: "card-header" };
|
|
1051
|
+
const _hoisted_42 = { class: "card-title-group" };
|
|
1052
|
+
const _hoisted_43 = { class: "card-title" };
|
|
1053
|
+
const _hoisted_44 = { class: "card-code" };
|
|
1054
|
+
const _hoisted_45 = { class: "card-content" };
|
|
1055
|
+
const _hoisted_46 = { class: "card-line" };
|
|
1056
|
+
const _hoisted_47 = { class: "tool-section" };
|
|
1057
|
+
const _hoisted_48 = { class: "tool-cards" };
|
|
894
1058
|
const _hoisted_49 = { class: "card-header" };
|
|
895
1059
|
const _hoisted_50 = { class: "card-title-group" };
|
|
896
1060
|
const _hoisted_51 = { class: "card-title" };
|
|
897
1061
|
const _hoisted_52 = { class: "card-code" };
|
|
898
1062
|
const _hoisted_53 = { class: "card-content" };
|
|
899
1063
|
const _hoisted_54 = { class: "card-line" };
|
|
900
|
-
const _hoisted_55 = { class: "
|
|
901
|
-
const _hoisted_56 = { class: "
|
|
902
|
-
const _hoisted_57 = { class: "
|
|
903
|
-
const _hoisted_58 =
|
|
904
|
-
const _hoisted_59 = { class: "
|
|
905
|
-
const _hoisted_60 = {
|
|
1064
|
+
const _hoisted_55 = { class: "card-line" };
|
|
1065
|
+
const _hoisted_56 = { class: "tool-section" };
|
|
1066
|
+
const _hoisted_57 = { class: "card-icon-wrapper" };
|
|
1067
|
+
const _hoisted_58 = ["src"];
|
|
1068
|
+
const _hoisted_59 = { class: "card-main" };
|
|
1069
|
+
const _hoisted_60 = { class: "card-header" };
|
|
1070
|
+
const _hoisted_61 = { class: "card-title-group" };
|
|
1071
|
+
const _hoisted_62 = { class: "card-title" };
|
|
1072
|
+
const _hoisted_63 = { class: "card-code" };
|
|
1073
|
+
const _hoisted_64 = { class: "card-content" };
|
|
1074
|
+
const _hoisted_65 = { class: "card-line" };
|
|
1075
|
+
const _hoisted_66 = { class: "dialog-footer" };
|
|
1076
|
+
const _hoisted_67 = { class: "api-dialog-content" };
|
|
1077
|
+
const _hoisted_68 = { class: "api-list-panel" };
|
|
1078
|
+
const _hoisted_69 = { class: "filter-bar" };
|
|
1079
|
+
const _hoisted_70 = { class: "filter-item" };
|
|
1080
|
+
const _hoisted_71 = {
|
|
906
1081
|
key: 1,
|
|
907
1082
|
class: "empty-table-tip"
|
|
908
1083
|
};
|
|
909
|
-
const
|
|
910
|
-
const
|
|
911
|
-
const
|
|
912
|
-
const
|
|
913
|
-
const
|
|
914
|
-
const
|
|
915
|
-
const
|
|
916
|
-
const
|
|
1084
|
+
const _hoisted_72 = { class: "api-selected-panel" };
|
|
1085
|
+
const _hoisted_73 = { class: "selected-list" };
|
|
1086
|
+
const _hoisted_74 = { class: "item-header" };
|
|
1087
|
+
const _hoisted_75 = { class: "item-title" };
|
|
1088
|
+
const _hoisted_76 = { class: "item-content" };
|
|
1089
|
+
const _hoisted_77 = { class: "content-line" };
|
|
1090
|
+
const _hoisted_78 = { class: "content-line" };
|
|
1091
|
+
const _hoisted_79 = {
|
|
917
1092
|
key: 0,
|
|
918
1093
|
class: "empty-tip"
|
|
919
1094
|
};
|
|
920
|
-
const
|
|
921
|
-
const
|
|
922
|
-
const
|
|
923
|
-
const
|
|
924
|
-
const
|
|
925
|
-
const
|
|
926
|
-
const
|
|
927
|
-
const
|
|
928
|
-
const
|
|
929
|
-
const
|
|
930
|
-
const
|
|
931
|
-
const
|
|
1095
|
+
const _hoisted_80 = { class: "panel-footer" };
|
|
1096
|
+
const _hoisted_81 = { class: "count-text" };
|
|
1097
|
+
const _hoisted_82 = { class: "footer-actions" };
|
|
1098
|
+
const _hoisted_83 = { class: "api-dialog-content" };
|
|
1099
|
+
const _hoisted_84 = { class: "api-list-panel" };
|
|
1100
|
+
const _hoisted_85 = { class: "api-selected-panel" };
|
|
1101
|
+
const _hoisted_86 = { class: "selected-list" };
|
|
1102
|
+
const _hoisted_87 = { class: "item-header" };
|
|
1103
|
+
const _hoisted_88 = { class: "item-title" };
|
|
1104
|
+
const _hoisted_89 = { class: "item-content" };
|
|
1105
|
+
const _hoisted_90 = { class: "content-line" };
|
|
1106
|
+
const _hoisted_91 = {
|
|
932
1107
|
key: 0,
|
|
933
1108
|
class: "empty-tip"
|
|
934
1109
|
};
|
|
935
|
-
const
|
|
936
|
-
const
|
|
937
|
-
const
|
|
938
|
-
const
|
|
939
|
-
const
|
|
940
|
-
const
|
|
941
|
-
const
|
|
942
|
-
const
|
|
943
|
-
const
|
|
944
|
-
const
|
|
945
|
-
const
|
|
946
|
-
const
|
|
947
|
-
const
|
|
948
|
-
const
|
|
949
|
-
const
|
|
950
|
-
const
|
|
1110
|
+
const _hoisted_92 = { class: "panel-footer" };
|
|
1111
|
+
const _hoisted_93 = { class: "count-text" };
|
|
1112
|
+
const _hoisted_94 = { class: "footer-actions" };
|
|
1113
|
+
const _hoisted_95 = { class: "api-dialog-content" };
|
|
1114
|
+
const _hoisted_96 = { class: "api-list-panel" };
|
|
1115
|
+
const _hoisted_97 = { class: "api-selected-panel" };
|
|
1116
|
+
const _hoisted_98 = { class: "selected-list" };
|
|
1117
|
+
const _hoisted_99 = { class: "item-header" };
|
|
1118
|
+
const _hoisted_100 = { class: "item-header-left" };
|
|
1119
|
+
const _hoisted_101 = { class: "item-icon" };
|
|
1120
|
+
const _hoisted_102 = ["src"];
|
|
1121
|
+
const _hoisted_103 = { class: "item-title" };
|
|
1122
|
+
const _hoisted_104 = { class: "item-content" };
|
|
1123
|
+
const _hoisted_105 = { class: "content-line" };
|
|
1124
|
+
const _hoisted_106 = { class: "content-line" };
|
|
1125
|
+
const _hoisted_107 = {
|
|
951
1126
|
key: 0,
|
|
952
1127
|
class: "empty-tip"
|
|
953
1128
|
};
|
|
954
|
-
const
|
|
955
|
-
const
|
|
956
|
-
const
|
|
957
|
-
const
|
|
958
|
-
const
|
|
959
|
-
const
|
|
960
|
-
const
|
|
961
|
-
const
|
|
962
|
-
const
|
|
963
|
-
const
|
|
964
|
-
const
|
|
965
|
-
const
|
|
966
|
-
const
|
|
1129
|
+
const _hoisted_108 = { class: "panel-footer" };
|
|
1130
|
+
const _hoisted_109 = { class: "count-text" };
|
|
1131
|
+
const _hoisted_110 = { class: "footer-actions" };
|
|
1132
|
+
const _hoisted_111 = { class: "api-dialog-content" };
|
|
1133
|
+
const _hoisted_112 = { class: "api-list-panel" };
|
|
1134
|
+
const _hoisted_113 = { class: "api-selected-panel" };
|
|
1135
|
+
const _hoisted_114 = { class: "selected-list" };
|
|
1136
|
+
const _hoisted_115 = { class: "item-header" };
|
|
1137
|
+
const _hoisted_116 = { class: "item-title" };
|
|
1138
|
+
const _hoisted_117 = { class: "item-content" };
|
|
1139
|
+
const _hoisted_118 = { class: "content-line" };
|
|
1140
|
+
const _hoisted_119 = { class: "content-line" };
|
|
1141
|
+
const _hoisted_120 = {
|
|
967
1142
|
key: 0,
|
|
968
1143
|
class: "empty-tip"
|
|
969
1144
|
};
|
|
970
|
-
const
|
|
971
|
-
const
|
|
972
|
-
const
|
|
973
|
-
const
|
|
974
|
-
const
|
|
975
|
-
const
|
|
976
|
-
const
|
|
977
|
-
const
|
|
978
|
-
const
|
|
979
|
-
const
|
|
980
|
-
const
|
|
981
|
-
const
|
|
982
|
-
const
|
|
1145
|
+
const _hoisted_121 = { class: "panel-footer" };
|
|
1146
|
+
const _hoisted_122 = { class: "count-text" };
|
|
1147
|
+
const _hoisted_123 = { class: "footer-actions" };
|
|
1148
|
+
const _hoisted_124 = { class: "api-dialog-content" };
|
|
1149
|
+
const _hoisted_125 = { class: "api-list-panel" };
|
|
1150
|
+
const _hoisted_126 = { class: "api-selected-panel" };
|
|
1151
|
+
const _hoisted_127 = { class: "selected-list" };
|
|
1152
|
+
const _hoisted_128 = { class: "item-header" };
|
|
1153
|
+
const _hoisted_129 = { class: "item-title" };
|
|
1154
|
+
const _hoisted_130 = { class: "item-content" };
|
|
1155
|
+
const _hoisted_131 = { class: "content-line" };
|
|
1156
|
+
const _hoisted_132 = { class: "content-line" };
|
|
1157
|
+
const _hoisted_133 = {
|
|
983
1158
|
key: 0,
|
|
984
1159
|
class: "empty-tip"
|
|
985
1160
|
};
|
|
986
|
-
const
|
|
987
|
-
const
|
|
988
|
-
const
|
|
989
|
-
const
|
|
990
|
-
const
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
const
|
|
995
|
-
const
|
|
996
|
-
const
|
|
997
|
-
const
|
|
998
|
-
const
|
|
999
|
-
const
|
|
1161
|
+
const _hoisted_134 = { class: "panel-footer" };
|
|
1162
|
+
const _hoisted_135 = { class: "count-text" };
|
|
1163
|
+
const _hoisted_136 = { class: "footer-actions" };
|
|
1164
|
+
const _hoisted_137 = { class: "call-method-toolbar" };
|
|
1165
|
+
const _hoisted_138 = {
|
|
1166
|
+
key: 0,
|
|
1167
|
+
class: "call-method-selection"
|
|
1168
|
+
};
|
|
1169
|
+
const _hoisted_139 = { class: "call-method-selection-title" };
|
|
1170
|
+
const _hoisted_140 = { class: "api-dialog-content" };
|
|
1171
|
+
const _hoisted_141 = { class: "api-list-panel" };
|
|
1172
|
+
const _hoisted_142 = { class: "api-selected-panel" };
|
|
1173
|
+
const _hoisted_143 = { class: "selected-list" };
|
|
1174
|
+
const _hoisted_144 = { class: "item-header" };
|
|
1175
|
+
const _hoisted_145 = { class: "item-title" };
|
|
1176
|
+
const _hoisted_146 = { class: "item-content" };
|
|
1177
|
+
const _hoisted_147 = { class: "content-line" };
|
|
1178
|
+
const _hoisted_148 = { class: "content-line" };
|
|
1179
|
+
const _hoisted_149 = { class: "content-line" };
|
|
1180
|
+
const _hoisted_150 = {
|
|
1000
1181
|
key: 0,
|
|
1001
1182
|
class: "empty-tip"
|
|
1002
1183
|
};
|
|
1003
|
-
const
|
|
1004
|
-
const
|
|
1005
|
-
const
|
|
1184
|
+
const _hoisted_151 = { class: "panel-footer" };
|
|
1185
|
+
const _hoisted_152 = { class: "count-text" };
|
|
1186
|
+
const _hoisted_153 = { class: "footer-actions" };
|
|
1006
1187
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1007
1188
|
const _component_el_button = resolveComponent("el-button");
|
|
1008
1189
|
const _component_el_tag = resolveComponent("el-tag");
|
|
@@ -1022,9 +1203,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1022
1203
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
1023
1204
|
const _component_epx_object = resolveComponent("epx-object");
|
|
1024
1205
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
1206
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
1207
|
+
const _directive_loading = resolveDirective("loading");
|
|
1025
1208
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1026
1209
|
createElementVNode("div", _hoisted_2, [
|
|
1027
|
-
_cache[
|
|
1210
|
+
_cache[52] || (_cache[52] = createElementVNode("div", { class: "section-header" }, [
|
|
1028
1211
|
createElementVNode("span", { class: "section-title" }, "技能")
|
|
1029
1212
|
], -1)),
|
|
1030
1213
|
createElementVNode("div", _hoisted_3, [
|
|
@@ -1055,37 +1238,100 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1055
1238
|
createElementVNode("div", {
|
|
1056
1239
|
class: "tool-card add-card",
|
|
1057
1240
|
onClick: _cache[0] || (_cache[0] = ($event) => $options.handleAdd("skill"))
|
|
1058
|
-
}, [..._cache[
|
|
1241
|
+
}, [..._cache[51] || (_cache[51] = [
|
|
1059
1242
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1060
1243
|
createElementVNode("div", { class: "add-text" }, "添加技能", -1)
|
|
1061
1244
|
])])
|
|
1062
1245
|
])
|
|
1063
1246
|
]),
|
|
1064
1247
|
createElementVNode("div", _hoisted_11, [
|
|
1065
|
-
_cache[
|
|
1066
|
-
createElementVNode("span", { class: "section-title" }, "
|
|
1248
|
+
_cache[56] || (_cache[56] = createElementVNode("div", { class: "section-header" }, [
|
|
1249
|
+
createElementVNode("span", { class: "section-title" }, "调用方法"),
|
|
1250
|
+
createElementVNode("span", { class: "call-method-hint" }, "接入配置中心已启用的方法,供智能体调用")
|
|
1067
1251
|
], -1)),
|
|
1068
1252
|
createElementVNode("div", _hoisted_12, [
|
|
1253
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.callMethodTools, (tool) => {
|
|
1254
|
+
return openBlock(), createElementBlock("div", {
|
|
1255
|
+
key: tool.ID,
|
|
1256
|
+
class: "tool-card interface-card clickable",
|
|
1257
|
+
onClick: ($event) => $options.showCallMethodSettings(tool)
|
|
1258
|
+
}, [
|
|
1259
|
+
createElementVNode("div", _hoisted_14, [
|
|
1260
|
+
createElementVNode("span", _hoisted_15, toDisplayString(tool["CALL_METHOD|NAME"] || tool.NAME), 1),
|
|
1261
|
+
createVNode(_component_el_tag, {
|
|
1262
|
+
size: "small",
|
|
1263
|
+
type: String(tool.CONFIRM) === "1" ? "warning" : "info"
|
|
1264
|
+
}, {
|
|
1265
|
+
default: withCtx(() => [
|
|
1266
|
+
createTextVNode(toDisplayString(String(tool.CONFIRM) === "1" ? "执行前确认" : "直接执行"), 1)
|
|
1267
|
+
]),
|
|
1268
|
+
_: 2
|
|
1269
|
+
}, 1032, ["type"])
|
|
1270
|
+
]),
|
|
1271
|
+
createElementVNode("div", _hoisted_16, [
|
|
1272
|
+
createElementVNode("div", _hoisted_17, "方法标识:" + toDisplayString(tool["CALL_METHOD|CODE"] || "—"), 1),
|
|
1273
|
+
createElementVNode("div", _hoisted_18, "主对象:" + toDisplayString(tool["CALL_METHOD|MAIN_ENTITY#"] || "—"), 1),
|
|
1274
|
+
createElementVNode("div", _hoisted_19, "方法类型:" + toDisplayString($options.callMethodTypeName(tool["CALL_METHOD|OPERATION"])), 1),
|
|
1275
|
+
createElementVNode("div", _hoisted_20, toDisplayString(tool["CALL_METHOD|DESCRIPTION"] || tool.DESC), 1)
|
|
1276
|
+
]),
|
|
1277
|
+
createElementVNode("div", _hoisted_21, [
|
|
1278
|
+
createVNode(_component_el_button, {
|
|
1279
|
+
size: "small",
|
|
1280
|
+
class: "call-method-secondary",
|
|
1281
|
+
onClick: withModifiers(($event) => $options.showCallMethodSettings(tool), ["stop"])
|
|
1282
|
+
}, {
|
|
1283
|
+
default: withCtx(() => [..._cache[53] || (_cache[53] = [
|
|
1284
|
+
createTextVNode("接入配置", -1)
|
|
1285
|
+
])]),
|
|
1286
|
+
_: 1
|
|
1287
|
+
}, 8, ["onClick"]),
|
|
1288
|
+
createVNode(_component_el_button, {
|
|
1289
|
+
size: "small",
|
|
1290
|
+
class: "call-method-danger",
|
|
1291
|
+
onClick: withModifiers(($event) => $options.removeCallMethod(tool), ["stop"])
|
|
1292
|
+
}, {
|
|
1293
|
+
default: withCtx(() => [..._cache[54] || (_cache[54] = [
|
|
1294
|
+
createTextVNode("解除绑定", -1)
|
|
1295
|
+
])]),
|
|
1296
|
+
_: 1
|
|
1297
|
+
}, 8, ["onClick"])
|
|
1298
|
+
])
|
|
1299
|
+
], 8, _hoisted_13);
|
|
1300
|
+
}), 128)),
|
|
1301
|
+
createElementVNode("div", {
|
|
1302
|
+
class: "tool-card add-card",
|
|
1303
|
+
onClick: _cache[1] || (_cache[1] = (...args) => $options.showCallMethodDialog && $options.showCallMethodDialog(...args))
|
|
1304
|
+
}, [..._cache[55] || (_cache[55] = [
|
|
1305
|
+
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1306
|
+
createElementVNode("div", { class: "add-text" }, "添加调用方法", -1)
|
|
1307
|
+
])])
|
|
1308
|
+
])
|
|
1309
|
+
]),
|
|
1310
|
+
createElementVNode("div", _hoisted_22, [
|
|
1311
|
+
_cache[59] || (_cache[59] = createElementVNode("div", { class: "section-header" }, [
|
|
1312
|
+
createElementVNode("span", { class: "section-title" }, "对象接口工具")
|
|
1313
|
+
], -1)),
|
|
1314
|
+
createElementVNode("div", _hoisted_23, [
|
|
1069
1315
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.interfaceTools, (tool) => {
|
|
1070
1316
|
return openBlock(), createElementBlock("div", {
|
|
1071
1317
|
key: tool.ID,
|
|
1072
1318
|
class: "tool-card interface-card clickable",
|
|
1073
1319
|
onClick: ($event) => $options.handleApiClick(tool)
|
|
1074
1320
|
}, [
|
|
1075
|
-
createElementVNode("div",
|
|
1076
|
-
createElementVNode("div",
|
|
1321
|
+
createElementVNode("div", _hoisted_25, [
|
|
1322
|
+
createElementVNode("div", _hoisted_26, [
|
|
1077
1323
|
tool["API|FRAME_API"] ? (openBlock(), createBlock(_component_el_tag, {
|
|
1078
1324
|
key: 0,
|
|
1079
1325
|
size: "small",
|
|
1080
1326
|
type: "warning"
|
|
1081
1327
|
}, {
|
|
1082
|
-
default: withCtx(() => [..._cache[
|
|
1328
|
+
default: withCtx(() => [..._cache[57] || (_cache[57] = [
|
|
1083
1329
|
createTextVNode("通用", -1)
|
|
1084
1330
|
])]),
|
|
1085
1331
|
_: 1
|
|
1086
1332
|
})) : createCommentVNode("", true),
|
|
1087
|
-
createElementVNode("span",
|
|
1088
|
-
createElementVNode("span",
|
|
1333
|
+
createElementVNode("span", _hoisted_27, toDisplayString(tool["API|LABEL"] || tool.NAME), 1),
|
|
1334
|
+
createElementVNode("span", _hoisted_28, "| " + toDisplayString(tool["API|NAME"]), 1)
|
|
1089
1335
|
]),
|
|
1090
1336
|
createVNode(_component_el_button, {
|
|
1091
1337
|
type: "primary",
|
|
@@ -1095,34 +1341,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1095
1341
|
onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
|
|
1096
1342
|
}, null, 8, ["onClick"])
|
|
1097
1343
|
]),
|
|
1098
|
-
createElementVNode("div",
|
|
1099
|
-
createElementVNode("div",
|
|
1100
|
-
createElementVNode("div",
|
|
1344
|
+
createElementVNode("div", _hoisted_29, [
|
|
1345
|
+
createElementVNode("div", _hoisted_30, "所属对象:" + toDisplayString(tool["API|ENTITY#"] || tool["META#"]), 1),
|
|
1346
|
+
createElementVNode("div", _hoisted_31, "接口说明:" + toDisplayString(tool["API|PARAM_EXPLAIN"]), 1)
|
|
1101
1347
|
])
|
|
1102
|
-
], 8,
|
|
1348
|
+
], 8, _hoisted_24);
|
|
1103
1349
|
}), 128)),
|
|
1104
1350
|
createElementVNode("div", {
|
|
1105
1351
|
class: "tool-card add-card",
|
|
1106
|
-
onClick: _cache[
|
|
1107
|
-
}, [..._cache[
|
|
1352
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $options.handleAdd("interface"))
|
|
1353
|
+
}, [..._cache[58] || (_cache[58] = [
|
|
1108
1354
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1109
1355
|
createElementVNode("div", { class: "add-text" }, "添加对象接口工具", -1)
|
|
1110
1356
|
])])
|
|
1111
1357
|
])
|
|
1112
1358
|
]),
|
|
1113
|
-
createElementVNode("div",
|
|
1114
|
-
_cache[
|
|
1359
|
+
createElementVNode("div", _hoisted_32, [
|
|
1360
|
+
_cache[61] || (_cache[61] = createElementVNode("div", { class: "section-header" }, [
|
|
1115
1361
|
createElementVNode("span", { class: "section-title" }, "外部接口工具")
|
|
1116
1362
|
], -1)),
|
|
1117
|
-
createElementVNode("div",
|
|
1363
|
+
createElementVNode("div", _hoisted_33, [
|
|
1118
1364
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.externalTools, (tool) => {
|
|
1119
1365
|
return openBlock(), createElementBlock("div", {
|
|
1120
1366
|
key: tool.ID,
|
|
1121
1367
|
class: "tool-card external-card"
|
|
1122
1368
|
}, [
|
|
1123
|
-
createElementVNode("div",
|
|
1124
|
-
createElementVNode("div",
|
|
1125
|
-
createElementVNode("span",
|
|
1369
|
+
createElementVNode("div", _hoisted_34, [
|
|
1370
|
+
createElementVNode("div", _hoisted_35, [
|
|
1371
|
+
createElementVNode("span", _hoisted_36, toDisplayString(tool["OUT_API|NAME"] || tool.NAME), 1)
|
|
1126
1372
|
]),
|
|
1127
1373
|
createVNode(_component_el_button, {
|
|
1128
1374
|
type: "primary",
|
|
@@ -1132,34 +1378,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1132
1378
|
onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
|
|
1133
1379
|
}, null, 8, ["onClick"])
|
|
1134
1380
|
]),
|
|
1135
|
-
createElementVNode("div",
|
|
1136
|
-
createElementVNode("div",
|
|
1381
|
+
createElementVNode("div", _hoisted_37, [
|
|
1382
|
+
createElementVNode("div", _hoisted_38, "接口说明:" + toDisplayString(tool["OUT_API|NOTICE"]), 1)
|
|
1137
1383
|
])
|
|
1138
1384
|
]);
|
|
1139
1385
|
}), 128)),
|
|
1140
1386
|
createElementVNode("div", {
|
|
1141
1387
|
class: "tool-card add-card",
|
|
1142
|
-
onClick: _cache[
|
|
1143
|
-
}, [..._cache[
|
|
1388
|
+
onClick: _cache[3] || (_cache[3] = ($event) => $options.handleAdd("external"))
|
|
1389
|
+
}, [..._cache[60] || (_cache[60] = [
|
|
1144
1390
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1145
1391
|
createElementVNode("div", { class: "add-text" }, "添加外部接口工具", -1)
|
|
1146
1392
|
])])
|
|
1147
1393
|
])
|
|
1148
1394
|
]),
|
|
1149
|
-
createElementVNode("div",
|
|
1150
|
-
_cache[
|
|
1395
|
+
createElementVNode("div", _hoisted_39, [
|
|
1396
|
+
_cache[63] || (_cache[63] = createElementVNode("div", { class: "section-header" }, [
|
|
1151
1397
|
createElementVNode("span", { class: "section-title" }, "内置工具")
|
|
1152
1398
|
], -1)),
|
|
1153
|
-
createElementVNode("div",
|
|
1399
|
+
createElementVNode("div", _hoisted_40, [
|
|
1154
1400
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.sysTools, (tool) => {
|
|
1155
1401
|
return openBlock(), createElementBlock("div", {
|
|
1156
1402
|
key: tool.ID,
|
|
1157
1403
|
class: "tool-card sys-tool-card"
|
|
1158
1404
|
}, [
|
|
1159
|
-
createElementVNode("div",
|
|
1160
|
-
createElementVNode("div",
|
|
1161
|
-
createElementVNode("span",
|
|
1162
|
-
createElementVNode("span",
|
|
1405
|
+
createElementVNode("div", _hoisted_41, [
|
|
1406
|
+
createElementVNode("div", _hoisted_42, [
|
|
1407
|
+
createElementVNode("span", _hoisted_43, toDisplayString(tool["SYS_TOOL|NAME"] || tool.NAME), 1),
|
|
1408
|
+
createElementVNode("span", _hoisted_44, "| " + toDisplayString(tool["SYS_TOOL|CODE"]), 1)
|
|
1163
1409
|
]),
|
|
1164
1410
|
createVNode(_component_el_button, {
|
|
1165
1411
|
type: "text",
|
|
@@ -1168,34 +1414,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1168
1414
|
onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
|
|
1169
1415
|
}, null, 8, ["onClick"])
|
|
1170
1416
|
]),
|
|
1171
|
-
createElementVNode("div",
|
|
1172
|
-
createElementVNode("div",
|
|
1417
|
+
createElementVNode("div", _hoisted_45, [
|
|
1418
|
+
createElementVNode("div", _hoisted_46, "工具描述:" + toDisplayString(tool["SYS_TOOL|DESC"]), 1)
|
|
1173
1419
|
])
|
|
1174
1420
|
]);
|
|
1175
1421
|
}), 128)),
|
|
1176
1422
|
createElementVNode("div", {
|
|
1177
1423
|
class: "tool-card add-card",
|
|
1178
|
-
onClick: _cache[
|
|
1179
|
-
}, [..._cache[
|
|
1424
|
+
onClick: _cache[4] || (_cache[4] = ($event) => $options.handleAdd("systool"))
|
|
1425
|
+
}, [..._cache[62] || (_cache[62] = [
|
|
1180
1426
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1181
1427
|
createElementVNode("div", { class: "add-text" }, "添加内置工具", -1)
|
|
1182
1428
|
])])
|
|
1183
1429
|
])
|
|
1184
1430
|
]),
|
|
1185
|
-
createElementVNode("div",
|
|
1186
|
-
_cache[
|
|
1431
|
+
createElementVNode("div", _hoisted_47, [
|
|
1432
|
+
_cache[65] || (_cache[65] = createElementVNode("div", { class: "section-header" }, [
|
|
1187
1433
|
createElementVNode("span", { class: "section-title" }, "MCP工具")
|
|
1188
1434
|
], -1)),
|
|
1189
|
-
createElementVNode("div",
|
|
1435
|
+
createElementVNode("div", _hoisted_48, [
|
|
1190
1436
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.mcpTools, (tool) => {
|
|
1191
1437
|
return openBlock(), createElementBlock("div", {
|
|
1192
1438
|
key: tool.ID,
|
|
1193
1439
|
class: "tool-card mcp-card"
|
|
1194
1440
|
}, [
|
|
1195
|
-
createElementVNode("div",
|
|
1196
|
-
createElementVNode("div",
|
|
1197
|
-
createElementVNode("span",
|
|
1198
|
-
createElementVNode("span",
|
|
1441
|
+
createElementVNode("div", _hoisted_49, [
|
|
1442
|
+
createElementVNode("div", _hoisted_50, [
|
|
1443
|
+
createElementVNode("span", _hoisted_51, toDisplayString(tool["MCP|NAME"] || tool.NAME), 1),
|
|
1444
|
+
createElementVNode("span", _hoisted_52, "| " + toDisplayString(tool["MCP|CODE"]), 1)
|
|
1199
1445
|
]),
|
|
1200
1446
|
createVNode(_component_el_button, {
|
|
1201
1447
|
type: "primary",
|
|
@@ -1205,35 +1451,35 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1205
1451
|
onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
|
|
1206
1452
|
}, null, 8, ["onClick"])
|
|
1207
1453
|
]),
|
|
1208
|
-
createElementVNode("div",
|
|
1209
|
-
createElementVNode("div",
|
|
1210
|
-
createElementVNode("div",
|
|
1454
|
+
createElementVNode("div", _hoisted_53, [
|
|
1455
|
+
createElementVNode("div", _hoisted_54, "请求类型:" + toDisplayString(tool["MCP|TYPE"]), 1),
|
|
1456
|
+
createElementVNode("div", _hoisted_55, "地址/命令:" + toDisplayString(tool["MCP|URL"] || tool["MCP|COMMAND"]), 1)
|
|
1211
1457
|
])
|
|
1212
1458
|
]);
|
|
1213
1459
|
}), 128)),
|
|
1214
1460
|
createElementVNode("div", {
|
|
1215
1461
|
class: "tool-card add-card",
|
|
1216
|
-
onClick: _cache[
|
|
1217
|
-
}, [..._cache[
|
|
1462
|
+
onClick: _cache[5] || (_cache[5] = ($event) => $options.handleAdd("mcp"))
|
|
1463
|
+
}, [..._cache[64] || (_cache[64] = [
|
|
1218
1464
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1219
1465
|
createElementVNode("div", { class: "add-text" }, "添加MCP工具", -1)
|
|
1220
1466
|
])])
|
|
1221
1467
|
])
|
|
1222
1468
|
]),
|
|
1223
|
-
createElementVNode("div",
|
|
1224
|
-
_cache[
|
|
1469
|
+
createElementVNode("div", _hoisted_56, [
|
|
1470
|
+
_cache[67] || (_cache[67] = createElementVNode("div", { class: "section-header" }, [
|
|
1225
1471
|
createElementVNode("span", { class: "section-title" }, "子智能体工具")
|
|
1226
1472
|
], -1)),
|
|
1227
1473
|
createVNode(_component_draggable, mergeProps({
|
|
1228
1474
|
modelValue: $data.subAgentTools,
|
|
1229
|
-
"onUpdate:modelValue": _cache[
|
|
1475
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.subAgentTools = $event),
|
|
1230
1476
|
class: "tool-cards"
|
|
1231
1477
|
}, $options.subAgentDragOptions, { onEnd: $options.handleSubAgentDragEnd }), {
|
|
1232
1478
|
footer: withCtx(() => [
|
|
1233
1479
|
createElementVNode("div", {
|
|
1234
1480
|
class: "tool-card add-card",
|
|
1235
|
-
onClick: _cache[
|
|
1236
|
-
}, [..._cache[
|
|
1481
|
+
onClick: _cache[6] || (_cache[6] = ($event) => $options.handleAdd("subagent"))
|
|
1482
|
+
}, [..._cache[66] || (_cache[66] = [
|
|
1237
1483
|
createElementVNode("div", { class: "add-icon" }, "+", -1),
|
|
1238
1484
|
createElementVNode("div", { class: "add-text" }, "添加子智能体", -1)
|
|
1239
1485
|
])])
|
|
@@ -1244,17 +1490,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1244
1490
|
key: tool.ID,
|
|
1245
1491
|
class: "tool-card subagent-card"
|
|
1246
1492
|
}, [
|
|
1247
|
-
createElementVNode("div",
|
|
1493
|
+
createElementVNode("div", _hoisted_57, [
|
|
1248
1494
|
createElementVNode("img", {
|
|
1249
1495
|
src: $options.getSubAgentIcon(tool),
|
|
1250
1496
|
alt: "icon"
|
|
1251
|
-
}, null, 8,
|
|
1497
|
+
}, null, 8, _hoisted_58)
|
|
1252
1498
|
]),
|
|
1253
|
-
createElementVNode("div",
|
|
1254
|
-
createElementVNode("div",
|
|
1255
|
-
createElementVNode("div",
|
|
1256
|
-
createElementVNode("span",
|
|
1257
|
-
createElementVNode("span",
|
|
1499
|
+
createElementVNode("div", _hoisted_59, [
|
|
1500
|
+
createElementVNode("div", _hoisted_60, [
|
|
1501
|
+
createElementVNode("div", _hoisted_61, [
|
|
1502
|
+
createElementVNode("span", _hoisted_62, toDisplayString(tool["SUB_AGENT|NAME"] || tool.NAME), 1),
|
|
1503
|
+
createElementVNode("span", _hoisted_63, "| " + toDisplayString(tool["SUB_AGENT|CODE"]), 1)
|
|
1258
1504
|
]),
|
|
1259
1505
|
createVNode(_component_el_button, {
|
|
1260
1506
|
type: "primary",
|
|
@@ -1264,8 +1510,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1264
1510
|
onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
|
|
1265
1511
|
}, null, 8, ["onClick"])
|
|
1266
1512
|
]),
|
|
1267
|
-
createElementVNode("div",
|
|
1268
|
-
createElementVNode("div",
|
|
1513
|
+
createElementVNode("div", _hoisted_64, [
|
|
1514
|
+
createElementVNode("div", _hoisted_65, "应用简介:" + toDisplayString(tool["SUB_AGENT|AGENT_PROMPT"]), 1)
|
|
1269
1515
|
])
|
|
1270
1516
|
])
|
|
1271
1517
|
]);
|
|
@@ -1277,16 +1523,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1277
1523
|
createVNode(_component_el_dialog, {
|
|
1278
1524
|
title: $data.dialogTitle,
|
|
1279
1525
|
modelValue: $data.dialogVisible,
|
|
1280
|
-
"onUpdate:modelValue": _cache[
|
|
1526
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $data.dialogVisible = $event),
|
|
1281
1527
|
width: "600px",
|
|
1282
1528
|
"close-on-click-modal": false
|
|
1283
1529
|
}, {
|
|
1284
1530
|
footer: withCtx(() => [
|
|
1285
|
-
createElementVNode("div",
|
|
1531
|
+
createElementVNode("div", _hoisted_66, [
|
|
1286
1532
|
createVNode(_component_el_button, {
|
|
1287
|
-
onClick: _cache[
|
|
1533
|
+
onClick: _cache[23] || (_cache[23] = ($event) => $data.dialogVisible = false)
|
|
1288
1534
|
}, {
|
|
1289
|
-
default: withCtx(() => [..._cache[
|
|
1535
|
+
default: withCtx(() => [..._cache[70] || (_cache[70] = [
|
|
1290
1536
|
createTextVNode("取消", -1)
|
|
1291
1537
|
])]),
|
|
1292
1538
|
_: 1
|
|
@@ -1296,7 +1542,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1296
1542
|
loading: $data.submitLoading,
|
|
1297
1543
|
onClick: $options.handleSubmit
|
|
1298
1544
|
}, {
|
|
1299
|
-
default: withCtx(() => [..._cache[
|
|
1545
|
+
default: withCtx(() => [..._cache[71] || (_cache[71] = [
|
|
1300
1546
|
createTextVNode("确定", -1)
|
|
1301
1547
|
])]),
|
|
1302
1548
|
_: 1
|
|
@@ -1318,7 +1564,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1318
1564
|
default: withCtx(() => [
|
|
1319
1565
|
createVNode(_component_el_input, {
|
|
1320
1566
|
modelValue: $data.formData.NAME,
|
|
1321
|
-
"onUpdate:modelValue": _cache[
|
|
1567
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.formData.NAME = $event),
|
|
1322
1568
|
placeholder: "请输入工具名称"
|
|
1323
1569
|
}, null, 8, ["modelValue"])
|
|
1324
1570
|
]),
|
|
@@ -1331,7 +1577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1331
1577
|
default: withCtx(() => [
|
|
1332
1578
|
createVNode(_component_el_select, {
|
|
1333
1579
|
modelValue: $data.formData.TYPE,
|
|
1334
|
-
"onUpdate:modelValue": _cache[
|
|
1580
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.formData.TYPE = $event),
|
|
1335
1581
|
placeholder: "请选择工具类型",
|
|
1336
1582
|
style: { "width": "100%" },
|
|
1337
1583
|
disabled: ""
|
|
@@ -1366,7 +1612,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1366
1612
|
default: withCtx(() => [
|
|
1367
1613
|
createVNode(_component_el_input, {
|
|
1368
1614
|
modelValue: $data.formData.DESC,
|
|
1369
|
-
"onUpdate:modelValue": _cache[
|
|
1615
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $data.formData.DESC = $event),
|
|
1370
1616
|
type: "textarea",
|
|
1371
1617
|
rows: 3,
|
|
1372
1618
|
placeholder: "请输入工具描述"
|
|
@@ -1382,7 +1628,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1382
1628
|
default: withCtx(() => [
|
|
1383
1629
|
createVNode(_component_el_input, {
|
|
1384
1630
|
modelValue: $data.formData.ACTION,
|
|
1385
|
-
"onUpdate:modelValue": _cache[
|
|
1631
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $data.formData.ACTION = $event),
|
|
1386
1632
|
placeholder: "请选择对象接口",
|
|
1387
1633
|
readonly: ""
|
|
1388
1634
|
}, {
|
|
@@ -1391,7 +1637,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1391
1637
|
icon: "el-icon-search",
|
|
1392
1638
|
onClick: $options.showApiDialog
|
|
1393
1639
|
}, {
|
|
1394
|
-
default: withCtx(() => [..._cache[
|
|
1640
|
+
default: withCtx(() => [..._cache[68] || (_cache[68] = [
|
|
1395
1641
|
createTextVNode("选择接口", -1)
|
|
1396
1642
|
])]),
|
|
1397
1643
|
_: 1
|
|
@@ -1409,7 +1655,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1409
1655
|
default: withCtx(() => [
|
|
1410
1656
|
createVNode(_component_el_input, {
|
|
1411
1657
|
modelValue: $data.formData.META,
|
|
1412
|
-
"onUpdate:modelValue": _cache[
|
|
1658
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $data.formData.META = $event),
|
|
1413
1659
|
placeholder: "对象名称",
|
|
1414
1660
|
readonly: ""
|
|
1415
1661
|
}, null, 8, ["modelValue"])
|
|
@@ -1425,7 +1671,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1425
1671
|
default: withCtx(() => [
|
|
1426
1672
|
createVNode(_component_el_input, {
|
|
1427
1673
|
modelValue: $data.formData.API,
|
|
1428
|
-
"onUpdate:modelValue": _cache[
|
|
1674
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $data.formData.API = $event),
|
|
1429
1675
|
placeholder: "请输入外部接口地址"
|
|
1430
1676
|
}, null, 8, ["modelValue"])
|
|
1431
1677
|
]),
|
|
@@ -1438,7 +1684,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1438
1684
|
default: withCtx(() => [
|
|
1439
1685
|
createVNode(_component_el_input, {
|
|
1440
1686
|
modelValue: $data.formData.TOKEN,
|
|
1441
|
-
"onUpdate:modelValue": _cache[
|
|
1687
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $data.formData.TOKEN = $event),
|
|
1442
1688
|
placeholder: "请输入认证票据"
|
|
1443
1689
|
}, null, 8, ["modelValue"])
|
|
1444
1690
|
]),
|
|
@@ -1453,7 +1699,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1453
1699
|
default: withCtx(() => [
|
|
1454
1700
|
createVNode(_component_el_input, {
|
|
1455
1701
|
modelValue: $data.formData.MCP_URL,
|
|
1456
|
-
"onUpdate:modelValue": _cache[
|
|
1702
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $data.formData.MCP_URL = $event),
|
|
1457
1703
|
placeholder: "请输入MCP地址"
|
|
1458
1704
|
}, null, 8, ["modelValue"])
|
|
1459
1705
|
]),
|
|
@@ -1467,7 +1713,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1467
1713
|
default: withCtx(() => [
|
|
1468
1714
|
createVNode(_component_el_input, {
|
|
1469
1715
|
modelValue: $data.formData.WORKFLOW,
|
|
1470
|
-
"onUpdate:modelValue": _cache[
|
|
1716
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $data.formData.WORKFLOW = $event),
|
|
1471
1717
|
type: "textarea",
|
|
1472
1718
|
rows: 3,
|
|
1473
1719
|
placeholder: "请输入工作流配置"
|
|
@@ -1492,7 +1738,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1492
1738
|
size: "small",
|
|
1493
1739
|
type: "primary"
|
|
1494
1740
|
}, {
|
|
1495
|
-
default: withCtx(() => [..._cache[
|
|
1741
|
+
default: withCtx(() => [..._cache[69] || (_cache[69] = [
|
|
1496
1742
|
createTextVNode("选择文件", -1)
|
|
1497
1743
|
])]),
|
|
1498
1744
|
_: 1
|
|
@@ -1511,7 +1757,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1511
1757
|
default: withCtx(() => [
|
|
1512
1758
|
createVNode(_component_el_switch, {
|
|
1513
1759
|
modelValue: $data.formData.ENABLE,
|
|
1514
|
-
"onUpdate:modelValue": _cache[
|
|
1760
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $data.formData.ENABLE = $event),
|
|
1515
1761
|
"active-value": 1,
|
|
1516
1762
|
"inactive-value": 0
|
|
1517
1763
|
}, null, 8, ["modelValue"])
|
|
@@ -1525,7 +1771,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1525
1771
|
default: withCtx(() => [
|
|
1526
1772
|
createVNode(_component_el_switch, {
|
|
1527
1773
|
modelValue: $data.formData.CONFIRM,
|
|
1528
|
-
"onUpdate:modelValue": _cache[
|
|
1774
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $data.formData.CONFIRM = $event),
|
|
1529
1775
|
"active-value": 1,
|
|
1530
1776
|
"inactive-value": 0
|
|
1531
1777
|
}, null, 8, ["modelValue"])
|
|
@@ -1539,7 +1785,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1539
1785
|
default: withCtx(() => [
|
|
1540
1786
|
createVNode(_component_el_input, {
|
|
1541
1787
|
modelValue: $data.formData.FORM_PAGE,
|
|
1542
|
-
"onUpdate:modelValue": _cache[
|
|
1788
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $data.formData.FORM_PAGE = $event),
|
|
1543
1789
|
placeholder: "请输入表单页面ID"
|
|
1544
1790
|
}, null, 8, ["modelValue"])
|
|
1545
1791
|
]),
|
|
@@ -1552,7 +1798,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1552
1798
|
default: withCtx(() => [
|
|
1553
1799
|
createVNode(_component_el_input, {
|
|
1554
1800
|
modelValue: $data.formData.RESULT_PAGE,
|
|
1555
|
-
"onUpdate:modelValue": _cache[
|
|
1801
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $data.formData.RESULT_PAGE = $event),
|
|
1556
1802
|
placeholder: "请输入结果页面ID"
|
|
1557
1803
|
}, null, 8, ["modelValue"])
|
|
1558
1804
|
]),
|
|
@@ -1565,7 +1811,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1565
1811
|
default: withCtx(() => [
|
|
1566
1812
|
createVNode(_component_el_switch, {
|
|
1567
1813
|
modelValue: $data.formData.USE_FORM_PAGE,
|
|
1568
|
-
"onUpdate:modelValue": _cache[
|
|
1814
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $data.formData.USE_FORM_PAGE = $event),
|
|
1569
1815
|
"active-value": 1,
|
|
1570
1816
|
"inactive-value": 0
|
|
1571
1817
|
}, null, 8, ["modelValue"])
|
|
@@ -1579,7 +1825,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1579
1825
|
default: withCtx(() => [
|
|
1580
1826
|
createVNode(_component_el_switch, {
|
|
1581
1827
|
modelValue: $data.formData.USE_RESULT_PAGE,
|
|
1582
|
-
"onUpdate:modelValue": _cache[
|
|
1828
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $data.formData.USE_RESULT_PAGE = $event),
|
|
1583
1829
|
"active-value": 1,
|
|
1584
1830
|
"inactive-value": 0
|
|
1585
1831
|
}, null, 8, ["modelValue"])
|
|
@@ -1601,8 +1847,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1601
1847
|
class: "api-select-dialog"
|
|
1602
1848
|
}, {
|
|
1603
1849
|
default: withCtx(() => [
|
|
1604
|
-
createElementVNode("div",
|
|
1605
|
-
createElementVNode("div",
|
|
1850
|
+
createElementVNode("div", _hoisted_67, [
|
|
1851
|
+
createElementVNode("div", _hoisted_68, [
|
|
1606
1852
|
createVNode(_component_el_tabs, {
|
|
1607
1853
|
modelValue: $data.apiActiveTab,
|
|
1608
1854
|
"onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => $data.apiActiveTab = $event),
|
|
@@ -1676,7 +1922,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1676
1922
|
$data.frameApiTotal > $data.frameApiPageSize ? (openBlock(), createBlock(_component_el_pagination, {
|
|
1677
1923
|
key: 0,
|
|
1678
1924
|
"current-page": $data.frameApiCurrentPage,
|
|
1679
|
-
"onUpdate:currentPage": _cache[
|
|
1925
|
+
"onUpdate:currentPage": _cache[25] || (_cache[25] = ($event) => $data.frameApiCurrentPage = $event),
|
|
1680
1926
|
"page-size": $data.frameApiPageSize,
|
|
1681
1927
|
layout: "total, prev, pager, next",
|
|
1682
1928
|
total: $data.frameApiTotal,
|
|
@@ -1691,12 +1937,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1691
1937
|
name: "entity"
|
|
1692
1938
|
}, {
|
|
1693
1939
|
default: withCtx(() => [
|
|
1694
|
-
createElementVNode("div",
|
|
1695
|
-
createElementVNode("div",
|
|
1696
|
-
_cache[
|
|
1940
|
+
createElementVNode("div", _hoisted_69, [
|
|
1941
|
+
createElementVNode("div", _hoisted_70, [
|
|
1942
|
+
_cache[72] || (_cache[72] = createElementVNode("label", null, "选择对象:", -1)),
|
|
1697
1943
|
createVNode(_component_epx_object, {
|
|
1698
|
-
|
|
1699
|
-
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $data.selectedEntity = $event),
|
|
1944
|
+
"model-value": $data.selectedEntity,
|
|
1700
1945
|
fieldConfigs: {
|
|
1701
1946
|
attriLabel: "",
|
|
1702
1947
|
codeKey: "FM_ENTITY",
|
|
@@ -1704,8 +1949,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1704
1949
|
placeholder: "请选择对象",
|
|
1705
1950
|
isMultiple: "0"
|
|
1706
1951
|
},
|
|
1707
|
-
|
|
1708
|
-
}, null, 8, ["
|
|
1952
|
+
"onUpdate:modelValue": $options.handleEntityChange
|
|
1953
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
1709
1954
|
])
|
|
1710
1955
|
]),
|
|
1711
1956
|
$data.selectedEntity ? (openBlock(), createBlock(_component_el_table, {
|
|
@@ -1761,7 +2006,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1761
2006
|
]),
|
|
1762
2007
|
_: 1
|
|
1763
2008
|
}, 8, ["data", "onSelectionChange"])) : createCommentVNode("", true),
|
|
1764
|
-
!$data.selectedEntity ? (openBlock(), createElementBlock("div",
|
|
2009
|
+
!$data.selectedEntity ? (openBlock(), createElementBlock("div", _hoisted_71, [..._cache[73] || (_cache[73] = [
|
|
1765
2010
|
createElementVNode("i", { class: "el-icon-info" }, null, -1),
|
|
1766
2011
|
createElementVNode("p", null, "请先选择对象", -1)
|
|
1767
2012
|
])])) : createCommentVNode("", true)
|
|
@@ -1772,29 +2017,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1772
2017
|
_: 1
|
|
1773
2018
|
}, 8, ["modelValue", "onTabClick"])
|
|
1774
2019
|
]),
|
|
1775
|
-
createElementVNode("div",
|
|
1776
|
-
_cache[
|
|
2020
|
+
createElementVNode("div", _hoisted_72, [
|
|
2021
|
+
_cache[77] || (_cache[77] = createElementVNode("div", { class: "panel-header" }, [
|
|
1777
2022
|
createElementVNode("span", null, "已选择")
|
|
1778
2023
|
], -1)),
|
|
1779
|
-
createElementVNode("div",
|
|
2024
|
+
createElementVNode("div", _hoisted_73, [
|
|
1780
2025
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedApis, (api, index) => {
|
|
1781
2026
|
return openBlock(), createElementBlock("div", {
|
|
1782
2027
|
key: api.ID,
|
|
1783
2028
|
class: "selected-item"
|
|
1784
2029
|
}, [
|
|
1785
|
-
createElementVNode("div",
|
|
2030
|
+
createElementVNode("div", _hoisted_74, [
|
|
1786
2031
|
api._isFrame ? (openBlock(), createBlock(_component_el_tag, {
|
|
1787
2032
|
key: 0,
|
|
1788
2033
|
size: "small",
|
|
1789
2034
|
type: "success",
|
|
1790
2035
|
class: "frame-tag"
|
|
1791
2036
|
}, {
|
|
1792
|
-
default: withCtx(() => [..._cache[
|
|
2037
|
+
default: withCtx(() => [..._cache[74] || (_cache[74] = [
|
|
1793
2038
|
createTextVNode("通用", -1)
|
|
1794
2039
|
])]),
|
|
1795
2040
|
_: 1
|
|
1796
2041
|
})) : createCommentVNode("", true),
|
|
1797
|
-
createElementVNode("span",
|
|
2042
|
+
createElementVNode("span", _hoisted_75, toDisplayString(api.LABEL) + " | " + toDisplayString(api.NAME), 1),
|
|
1798
2043
|
createVNode(_component_el_button, {
|
|
1799
2044
|
type: "primary",
|
|
1800
2045
|
link: "",
|
|
@@ -1803,22 +2048,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1803
2048
|
onClick: ($event) => $options.removeSelectedApi(index)
|
|
1804
2049
|
}, null, 8, ["onClick"])
|
|
1805
2050
|
]),
|
|
1806
|
-
createElementVNode("div",
|
|
1807
|
-
createElementVNode("div",
|
|
1808
|
-
createElementVNode("div",
|
|
2051
|
+
createElementVNode("div", _hoisted_76, [
|
|
2052
|
+
createElementVNode("div", _hoisted_77, "所属对象:" + toDisplayString(api["ENTITY#"] || $data.selectedEntity && $data.selectedEntity.name), 1),
|
|
2053
|
+
createElementVNode("div", _hoisted_78, "接口说明:" + toDisplayString(api.PARAM_EXPLAIN), 1)
|
|
1809
2054
|
])
|
|
1810
2055
|
]);
|
|
1811
2056
|
}), 128)),
|
|
1812
|
-
$data.selectedApis.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2057
|
+
$data.selectedApis.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_79, " 请从左侧选择接口 ")) : createCommentVNode("", true)
|
|
1813
2058
|
]),
|
|
1814
|
-
createElementVNode("div",
|
|
1815
|
-
createElementVNode("span",
|
|
1816
|
-
createElementVNode("div",
|
|
2059
|
+
createElementVNode("div", _hoisted_80, [
|
|
2060
|
+
createElementVNode("span", _hoisted_81, "已选择 " + toDisplayString($data.selectedApis.length) + " 个", 1),
|
|
2061
|
+
createElementVNode("div", _hoisted_82, [
|
|
1817
2062
|
createVNode(_component_el_button, {
|
|
1818
2063
|
size: "small",
|
|
1819
2064
|
onClick: _cache[27] || (_cache[27] = ($event) => $data.apiDialogVisible = false)
|
|
1820
2065
|
}, {
|
|
1821
|
-
default: withCtx(() => [..._cache[
|
|
2066
|
+
default: withCtx(() => [..._cache[75] || (_cache[75] = [
|
|
1822
2067
|
createTextVNode("取消", -1)
|
|
1823
2068
|
])]),
|
|
1824
2069
|
_: 1
|
|
@@ -1828,7 +2073,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1828
2073
|
type: "primary",
|
|
1829
2074
|
onClick: $options.confirmApiSelection
|
|
1830
2075
|
}, {
|
|
1831
|
-
default: withCtx(() => [..._cache[
|
|
2076
|
+
default: withCtx(() => [..._cache[76] || (_cache[76] = [
|
|
1832
2077
|
createTextVNode("保存", -1)
|
|
1833
2078
|
])]),
|
|
1834
2079
|
_: 1
|
|
@@ -1849,8 +2094,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1849
2094
|
class: "api-select-dialog"
|
|
1850
2095
|
}, {
|
|
1851
2096
|
default: withCtx(() => [
|
|
1852
|
-
createElementVNode("div",
|
|
1853
|
-
createElementVNode("div",
|
|
2097
|
+
createElementVNode("div", _hoisted_83, [
|
|
2098
|
+
createElementVNode("div", _hoisted_84, [
|
|
1854
2099
|
createVNode(_component_el_table, {
|
|
1855
2100
|
ref: "externalApiTable",
|
|
1856
2101
|
data: $data.externalApiList,
|
|
@@ -1908,18 +2153,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1908
2153
|
style: { "margin-top": "12px", "text-align": "right" }
|
|
1909
2154
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
|
|
1910
2155
|
]),
|
|
1911
|
-
createElementVNode("div",
|
|
1912
|
-
_cache[
|
|
2156
|
+
createElementVNode("div", _hoisted_85, [
|
|
2157
|
+
_cache[80] || (_cache[80] = createElementVNode("div", { class: "panel-header" }, [
|
|
1913
2158
|
createElementVNode("span", null, "已选择")
|
|
1914
2159
|
], -1)),
|
|
1915
|
-
createElementVNode("div",
|
|
2160
|
+
createElementVNode("div", _hoisted_86, [
|
|
1916
2161
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedExternalApis, (api, index) => {
|
|
1917
2162
|
return openBlock(), createElementBlock("div", {
|
|
1918
2163
|
key: api.ID,
|
|
1919
2164
|
class: "selected-item"
|
|
1920
2165
|
}, [
|
|
1921
|
-
createElementVNode("div",
|
|
1922
|
-
createElementVNode("span",
|
|
2166
|
+
createElementVNode("div", _hoisted_87, [
|
|
2167
|
+
createElementVNode("span", _hoisted_88, toDisplayString(api.NAME), 1),
|
|
1923
2168
|
createVNode(_component_el_button, {
|
|
1924
2169
|
type: "primary",
|
|
1925
2170
|
link: "",
|
|
@@ -1928,21 +2173,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1928
2173
|
onClick: ($event) => $options.removeSelectedExternalApi(index)
|
|
1929
2174
|
}, null, 8, ["onClick"])
|
|
1930
2175
|
]),
|
|
1931
|
-
createElementVNode("div",
|
|
1932
|
-
createElementVNode("div",
|
|
2176
|
+
createElementVNode("div", _hoisted_89, [
|
|
2177
|
+
createElementVNode("div", _hoisted_90, "接口说明:" + toDisplayString(api.NOTICE), 1)
|
|
1933
2178
|
])
|
|
1934
2179
|
]);
|
|
1935
2180
|
}), 128)),
|
|
1936
|
-
$data.selectedExternalApis.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2181
|
+
$data.selectedExternalApis.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_91, " 请从左侧选择接口 ")) : createCommentVNode("", true)
|
|
1937
2182
|
]),
|
|
1938
|
-
createElementVNode("div",
|
|
1939
|
-
createElementVNode("span",
|
|
1940
|
-
createElementVNode("div",
|
|
2183
|
+
createElementVNode("div", _hoisted_92, [
|
|
2184
|
+
createElementVNode("span", _hoisted_93, "已选择 " + toDisplayString($data.selectedExternalApis.length) + " 个", 1),
|
|
2185
|
+
createElementVNode("div", _hoisted_94, [
|
|
1941
2186
|
createVNode(_component_el_button, {
|
|
1942
2187
|
size: "small",
|
|
1943
2188
|
onClick: _cache[30] || (_cache[30] = ($event) => $data.externalApiDialogVisible = false)
|
|
1944
2189
|
}, {
|
|
1945
|
-
default: withCtx(() => [..._cache[
|
|
2190
|
+
default: withCtx(() => [..._cache[78] || (_cache[78] = [
|
|
1946
2191
|
createTextVNode("取消", -1)
|
|
1947
2192
|
])]),
|
|
1948
2193
|
_: 1
|
|
@@ -1952,7 +2197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1952
2197
|
type: "primary",
|
|
1953
2198
|
onClick: $options.confirmExternalApiSelection
|
|
1954
2199
|
}, {
|
|
1955
|
-
default: withCtx(() => [..._cache[
|
|
2200
|
+
default: withCtx(() => [..._cache[79] || (_cache[79] = [
|
|
1956
2201
|
createTextVNode("保存", -1)
|
|
1957
2202
|
])]),
|
|
1958
2203
|
_: 1
|
|
@@ -1973,8 +2218,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1973
2218
|
class: "api-select-dialog"
|
|
1974
2219
|
}, {
|
|
1975
2220
|
default: withCtx(() => [
|
|
1976
|
-
createElementVNode("div",
|
|
1977
|
-
createElementVNode("div",
|
|
2221
|
+
createElementVNode("div", _hoisted_95, [
|
|
2222
|
+
createElementVNode("div", _hoisted_96, [
|
|
1978
2223
|
createVNode(_component_el_table, {
|
|
1979
2224
|
ref: "subAgentTable",
|
|
1980
2225
|
data: $data.subAgentList,
|
|
@@ -2038,25 +2283,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2038
2283
|
style: { "margin-top": "12px", "text-align": "right" }
|
|
2039
2284
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
|
|
2040
2285
|
]),
|
|
2041
|
-
createElementVNode("div",
|
|
2042
|
-
_cache[
|
|
2286
|
+
createElementVNode("div", _hoisted_97, [
|
|
2287
|
+
_cache[83] || (_cache[83] = createElementVNode("div", { class: "panel-header" }, [
|
|
2043
2288
|
createElementVNode("span", null, "已选择")
|
|
2044
2289
|
], -1)),
|
|
2045
|
-
createElementVNode("div",
|
|
2290
|
+
createElementVNode("div", _hoisted_98, [
|
|
2046
2291
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSubAgents, (agent, index) => {
|
|
2047
2292
|
return openBlock(), createElementBlock("div", {
|
|
2048
2293
|
key: agent.ID,
|
|
2049
2294
|
class: "selected-item"
|
|
2050
2295
|
}, [
|
|
2051
|
-
createElementVNode("div",
|
|
2052
|
-
createElementVNode("div",
|
|
2053
|
-
createElementVNode("div",
|
|
2296
|
+
createElementVNode("div", _hoisted_99, [
|
|
2297
|
+
createElementVNode("div", _hoisted_100, [
|
|
2298
|
+
createElementVNode("div", _hoisted_101, [
|
|
2054
2299
|
createElementVNode("img", {
|
|
2055
2300
|
src: $options.getSelectedAgentIcon(agent),
|
|
2056
2301
|
alt: "icon"
|
|
2057
|
-
}, null, 8,
|
|
2302
|
+
}, null, 8, _hoisted_102)
|
|
2058
2303
|
]),
|
|
2059
|
-
createElementVNode("span",
|
|
2304
|
+
createElementVNode("span", _hoisted_103, toDisplayString(agent.NAME), 1)
|
|
2060
2305
|
]),
|
|
2061
2306
|
createVNode(_component_el_button, {
|
|
2062
2307
|
type: "primary",
|
|
@@ -2066,22 +2311,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2066
2311
|
onClick: ($event) => $options.removeSelectedSubAgent(index)
|
|
2067
2312
|
}, null, 8, ["onClick"])
|
|
2068
2313
|
]),
|
|
2069
|
-
createElementVNode("div",
|
|
2070
|
-
createElementVNode("div",
|
|
2071
|
-
createElementVNode("div",
|
|
2314
|
+
createElementVNode("div", _hoisted_104, [
|
|
2315
|
+
createElementVNode("div", _hoisted_105, "应用编号:" + toDisplayString(agent.CODE), 1),
|
|
2316
|
+
createElementVNode("div", _hoisted_106, "应用简介:" + toDisplayString(agent.AGENT_PROMPT), 1)
|
|
2072
2317
|
])
|
|
2073
2318
|
]);
|
|
2074
2319
|
}), 128)),
|
|
2075
|
-
$data.selectedSubAgents.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2320
|
+
$data.selectedSubAgents.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_107, " 请从左侧选择子智能体 ")) : createCommentVNode("", true)
|
|
2076
2321
|
]),
|
|
2077
|
-
createElementVNode("div",
|
|
2078
|
-
createElementVNode("span",
|
|
2079
|
-
createElementVNode("div",
|
|
2322
|
+
createElementVNode("div", _hoisted_108, [
|
|
2323
|
+
createElementVNode("span", _hoisted_109, "已选择 " + toDisplayString($data.selectedSubAgents.length) + " 个", 1),
|
|
2324
|
+
createElementVNode("div", _hoisted_110, [
|
|
2080
2325
|
createVNode(_component_el_button, {
|
|
2081
2326
|
size: "small",
|
|
2082
2327
|
onClick: _cache[33] || (_cache[33] = ($event) => $data.subAgentDialogVisible = false)
|
|
2083
2328
|
}, {
|
|
2084
|
-
default: withCtx(() => [..._cache[
|
|
2329
|
+
default: withCtx(() => [..._cache[81] || (_cache[81] = [
|
|
2085
2330
|
createTextVNode("取消", -1)
|
|
2086
2331
|
])]),
|
|
2087
2332
|
_: 1
|
|
@@ -2091,7 +2336,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2091
2336
|
type: "primary",
|
|
2092
2337
|
onClick: $options.confirmSubAgentSelection
|
|
2093
2338
|
}, {
|
|
2094
|
-
default: withCtx(() => [..._cache[
|
|
2339
|
+
default: withCtx(() => [..._cache[82] || (_cache[82] = [
|
|
2095
2340
|
createTextVNode("保存", -1)
|
|
2096
2341
|
])]),
|
|
2097
2342
|
_: 1
|
|
@@ -2112,8 +2357,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2112
2357
|
class: "api-select-dialog"
|
|
2113
2358
|
}, {
|
|
2114
2359
|
default: withCtx(() => [
|
|
2115
|
-
createElementVNode("div",
|
|
2116
|
-
createElementVNode("div",
|
|
2360
|
+
createElementVNode("div", _hoisted_111, [
|
|
2361
|
+
createElementVNode("div", _hoisted_112, [
|
|
2117
2362
|
createVNode(_component_el_tabs, {
|
|
2118
2363
|
modelValue: $data.skillActiveTab,
|
|
2119
2364
|
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => $data.skillActiveTab = $event),
|
|
@@ -2196,18 +2441,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2196
2441
|
style: { "margin-top": "12px", "text-align": "right" }
|
|
2197
2442
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
|
|
2198
2443
|
]),
|
|
2199
|
-
createElementVNode("div",
|
|
2200
|
-
_cache[
|
|
2444
|
+
createElementVNode("div", _hoisted_113, [
|
|
2445
|
+
_cache[86] || (_cache[86] = createElementVNode("div", { class: "panel-header" }, [
|
|
2201
2446
|
createElementVNode("span", null, "已选择")
|
|
2202
2447
|
], -1)),
|
|
2203
|
-
createElementVNode("div",
|
|
2448
|
+
createElementVNode("div", _hoisted_114, [
|
|
2204
2449
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSkills, (skill, index) => {
|
|
2205
2450
|
return openBlock(), createElementBlock("div", {
|
|
2206
2451
|
key: skill.ID,
|
|
2207
2452
|
class: "selected-item"
|
|
2208
2453
|
}, [
|
|
2209
|
-
createElementVNode("div",
|
|
2210
|
-
createElementVNode("span",
|
|
2454
|
+
createElementVNode("div", _hoisted_115, [
|
|
2455
|
+
createElementVNode("span", _hoisted_116, toDisplayString(skill.NAME), 1),
|
|
2211
2456
|
createVNode(_component_el_button, {
|
|
2212
2457
|
type: "primary",
|
|
2213
2458
|
link: "",
|
|
@@ -2216,22 +2461,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2216
2461
|
onClick: ($event) => $options.removeSelectedSkill(index)
|
|
2217
2462
|
}, null, 8, ["onClick"])
|
|
2218
2463
|
]),
|
|
2219
|
-
createElementVNode("div",
|
|
2220
|
-
createElementVNode("div",
|
|
2221
|
-
createElementVNode("div",
|
|
2464
|
+
createElementVNode("div", _hoisted_117, [
|
|
2465
|
+
createElementVNode("div", _hoisted_118, "编号:" + toDisplayString(skill.CODE), 1),
|
|
2466
|
+
createElementVNode("div", _hoisted_119, "技能描述:" + toDisplayString(skill.DESC), 1)
|
|
2222
2467
|
])
|
|
2223
2468
|
]);
|
|
2224
2469
|
}), 128)),
|
|
2225
|
-
$data.selectedSkills.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2470
|
+
$data.selectedSkills.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_120, " 请从左侧选择技能 ")) : createCommentVNode("", true)
|
|
2226
2471
|
]),
|
|
2227
|
-
createElementVNode("div",
|
|
2228
|
-
createElementVNode("span",
|
|
2229
|
-
createElementVNode("div",
|
|
2472
|
+
createElementVNode("div", _hoisted_121, [
|
|
2473
|
+
createElementVNode("span", _hoisted_122, "已选择 " + toDisplayString($data.selectedSkills.length) + " 个", 1),
|
|
2474
|
+
createElementVNode("div", _hoisted_123, [
|
|
2230
2475
|
createVNode(_component_el_button, {
|
|
2231
2476
|
size: "small",
|
|
2232
2477
|
onClick: _cache[37] || (_cache[37] = ($event) => $data.skillDialogVisible = false)
|
|
2233
2478
|
}, {
|
|
2234
|
-
default: withCtx(() => [..._cache[
|
|
2479
|
+
default: withCtx(() => [..._cache[84] || (_cache[84] = [
|
|
2235
2480
|
createTextVNode("取消", -1)
|
|
2236
2481
|
])]),
|
|
2237
2482
|
_: 1
|
|
@@ -2241,7 +2486,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2241
2486
|
type: "primary",
|
|
2242
2487
|
onClick: $options.confirmSkillSelection
|
|
2243
2488
|
}, {
|
|
2244
|
-
default: withCtx(() => [..._cache[
|
|
2489
|
+
default: withCtx(() => [..._cache[85] || (_cache[85] = [
|
|
2245
2490
|
createTextVNode("保存", -1)
|
|
2246
2491
|
])]),
|
|
2247
2492
|
_: 1
|
|
@@ -2262,8 +2507,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2262
2507
|
class: "api-select-dialog"
|
|
2263
2508
|
}, {
|
|
2264
2509
|
default: withCtx(() => [
|
|
2265
|
-
createElementVNode("div",
|
|
2266
|
-
createElementVNode("div",
|
|
2510
|
+
createElementVNode("div", _hoisted_124, [
|
|
2511
|
+
createElementVNode("div", _hoisted_125, [
|
|
2267
2512
|
createVNode(_component_el_table, {
|
|
2268
2513
|
ref: "sysToolTable",
|
|
2269
2514
|
data: $data.sysToolList,
|
|
@@ -2327,18 +2572,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2327
2572
|
style: { "margin-top": "12px", "text-align": "right" }
|
|
2328
2573
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
|
|
2329
2574
|
]),
|
|
2330
|
-
createElementVNode("div",
|
|
2331
|
-
_cache[
|
|
2575
|
+
createElementVNode("div", _hoisted_126, [
|
|
2576
|
+
_cache[89] || (_cache[89] = createElementVNode("div", { class: "panel-header" }, [
|
|
2332
2577
|
createElementVNode("span", null, "已选择")
|
|
2333
2578
|
], -1)),
|
|
2334
|
-
createElementVNode("div",
|
|
2579
|
+
createElementVNode("div", _hoisted_127, [
|
|
2335
2580
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSysTools, (sysTool, index) => {
|
|
2336
2581
|
return openBlock(), createElementBlock("div", {
|
|
2337
2582
|
key: sysTool.ID,
|
|
2338
2583
|
class: "selected-item"
|
|
2339
2584
|
}, [
|
|
2340
|
-
createElementVNode("div",
|
|
2341
|
-
createElementVNode("span",
|
|
2585
|
+
createElementVNode("div", _hoisted_128, [
|
|
2586
|
+
createElementVNode("span", _hoisted_129, toDisplayString(sysTool.NAME), 1),
|
|
2342
2587
|
createVNode(_component_el_button, {
|
|
2343
2588
|
type: "text",
|
|
2344
2589
|
icon: "el-icon-delete-solid",
|
|
@@ -2346,22 +2591,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2346
2591
|
onClick: ($event) => $options.removeSelectedSysTool(index)
|
|
2347
2592
|
}, null, 8, ["onClick"])
|
|
2348
2593
|
]),
|
|
2349
|
-
createElementVNode("div",
|
|
2350
|
-
createElementVNode("div",
|
|
2351
|
-
createElementVNode("div",
|
|
2594
|
+
createElementVNode("div", _hoisted_130, [
|
|
2595
|
+
createElementVNode("div", _hoisted_131, "工具标识:" + toDisplayString(sysTool.CODE), 1),
|
|
2596
|
+
createElementVNode("div", _hoisted_132, "工具描述:" + toDisplayString(sysTool.DESC), 1)
|
|
2352
2597
|
])
|
|
2353
2598
|
]);
|
|
2354
2599
|
}), 128)),
|
|
2355
|
-
$data.selectedSysTools.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2600
|
+
$data.selectedSysTools.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_133, " 请从左侧选择内置工具 ")) : createCommentVNode("", true)
|
|
2356
2601
|
]),
|
|
2357
|
-
createElementVNode("div",
|
|
2358
|
-
createElementVNode("span",
|
|
2359
|
-
createElementVNode("div",
|
|
2602
|
+
createElementVNode("div", _hoisted_134, [
|
|
2603
|
+
createElementVNode("span", _hoisted_135, "已选择 " + toDisplayString($data.selectedSysTools.length) + " 个", 1),
|
|
2604
|
+
createElementVNode("div", _hoisted_136, [
|
|
2360
2605
|
createVNode(_component_el_button, {
|
|
2361
2606
|
size: "small",
|
|
2362
2607
|
onClick: _cache[40] || (_cache[40] = ($event) => $data.sysToolDialogVisible = false)
|
|
2363
2608
|
}, {
|
|
2364
|
-
default: withCtx(() => [..._cache[
|
|
2609
|
+
default: withCtx(() => [..._cache[87] || (_cache[87] = [
|
|
2365
2610
|
createTextVNode("取消", -1)
|
|
2366
2611
|
])]),
|
|
2367
2612
|
_: 1
|
|
@@ -2371,7 +2616,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2371
2616
|
type: "primary",
|
|
2372
2617
|
onClick: $options.confirmSysToolSelection
|
|
2373
2618
|
}, {
|
|
2374
|
-
default: withCtx(() => [..._cache[
|
|
2619
|
+
default: withCtx(() => [..._cache[88] || (_cache[88] = [
|
|
2375
2620
|
createTextVNode("保存", -1)
|
|
2376
2621
|
])]),
|
|
2377
2622
|
_: 1
|
|
@@ -2383,17 +2628,248 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2383
2628
|
]),
|
|
2384
2629
|
_: 1
|
|
2385
2630
|
}, 8, ["modelValue"]),
|
|
2631
|
+
createVNode(_component_el_dialog, {
|
|
2632
|
+
title: "添加调用方法",
|
|
2633
|
+
modelValue: $data.callMethodDialogVisible,
|
|
2634
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.callMethodDialogVisible = $event),
|
|
2635
|
+
width: "960px",
|
|
2636
|
+
"close-on-click-modal": false,
|
|
2637
|
+
"close-on-press-escape": !$data.callMethodSaving,
|
|
2638
|
+
"show-close": !$data.callMethodSaving
|
|
2639
|
+
}, {
|
|
2640
|
+
footer: withCtx(() => [
|
|
2641
|
+
createElementVNode("div", null, [
|
|
2642
|
+
createVNode(_component_el_button, {
|
|
2643
|
+
size: "small",
|
|
2644
|
+
class: "call-method-secondary",
|
|
2645
|
+
disabled: $data.callMethodSaving,
|
|
2646
|
+
onClick: _cache[43] || (_cache[43] = ($event) => $data.callMethodDialogVisible = false)
|
|
2647
|
+
}, {
|
|
2648
|
+
default: withCtx(() => [..._cache[93] || (_cache[93] = [
|
|
2649
|
+
createTextVNode("取消", -1)
|
|
2650
|
+
])]),
|
|
2651
|
+
_: 1
|
|
2652
|
+
}, 8, ["disabled"]),
|
|
2653
|
+
createVNode(_component_el_button, {
|
|
2654
|
+
size: "small",
|
|
2655
|
+
type: "primary",
|
|
2656
|
+
class: "call-method-primary",
|
|
2657
|
+
disabled: !$data.selectedCallMethods.length || $data.callMethodLoading,
|
|
2658
|
+
loading: $data.callMethodSaving,
|
|
2659
|
+
onClick: $options.confirmCallMethods
|
|
2660
|
+
}, {
|
|
2661
|
+
default: withCtx(() => [..._cache[94] || (_cache[94] = [
|
|
2662
|
+
createTextVNode("确认添加", -1)
|
|
2663
|
+
])]),
|
|
2664
|
+
_: 1
|
|
2665
|
+
}, 8, ["disabled", "loading", "onClick"])
|
|
2666
|
+
])
|
|
2667
|
+
]),
|
|
2668
|
+
default: withCtx(() => [
|
|
2669
|
+
createElementVNode("div", _hoisted_137, [
|
|
2670
|
+
createVNode(_component_el_input, {
|
|
2671
|
+
modelValue: $data.callMethodKeyword,
|
|
2672
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => $data.callMethodKeyword = $event),
|
|
2673
|
+
size: "small",
|
|
2674
|
+
placeholder: "搜索方法名称或标识",
|
|
2675
|
+
clearable: "",
|
|
2676
|
+
disabled: $data.callMethodSaving,
|
|
2677
|
+
onKeyup: withKeys($options.searchCallMethods, ["enter"]),
|
|
2678
|
+
onClear: $options.searchCallMethods
|
|
2679
|
+
}, null, 8, ["modelValue", "disabled", "onKeyup", "onClear"]),
|
|
2680
|
+
createVNode(_component_el_button, {
|
|
2681
|
+
size: "small",
|
|
2682
|
+
class: "call-method-secondary",
|
|
2683
|
+
disabled: $data.callMethodSaving,
|
|
2684
|
+
onClick: $options.searchCallMethods
|
|
2685
|
+
}, {
|
|
2686
|
+
default: withCtx(() => [..._cache[90] || (_cache[90] = [
|
|
2687
|
+
createTextVNode("查询", -1)
|
|
2688
|
+
])]),
|
|
2689
|
+
_: 1
|
|
2690
|
+
}, 8, ["disabled", "onClick"]),
|
|
2691
|
+
_cache[91] || (_cache[91] = createElementVNode("span", { class: "call-method-hint" }, "已接入的方法不可重复选择", -1))
|
|
2692
|
+
]),
|
|
2693
|
+
withDirectives((openBlock(), createBlock(_component_el_table, {
|
|
2694
|
+
ref: "callMethodTable",
|
|
2695
|
+
data: $data.callMethodList,
|
|
2696
|
+
"row-key": "ID",
|
|
2697
|
+
height: "340",
|
|
2698
|
+
onSelectionChange: $options.handleCallMethodSelectionChange
|
|
2699
|
+
}, {
|
|
2700
|
+
default: withCtx(() => [
|
|
2701
|
+
createVNode(_component_el_table_column, {
|
|
2702
|
+
type: "selection",
|
|
2703
|
+
width: "48",
|
|
2704
|
+
"reserve-selection": true,
|
|
2705
|
+
selectable: $options.canSelectCallMethod
|
|
2706
|
+
}, null, 8, ["selectable"]),
|
|
2707
|
+
createVNode(_component_el_table_column, {
|
|
2708
|
+
prop: "NAME",
|
|
2709
|
+
label: "方法名称",
|
|
2710
|
+
"min-width": "160",
|
|
2711
|
+
"show-overflow-tooltip": ""
|
|
2712
|
+
}),
|
|
2713
|
+
createVNode(_component_el_table_column, {
|
|
2714
|
+
prop: "CODE",
|
|
2715
|
+
label: "方法标识",
|
|
2716
|
+
"min-width": "170",
|
|
2717
|
+
"show-overflow-tooltip": ""
|
|
2718
|
+
}),
|
|
2719
|
+
createVNode(_component_el_table_column, {
|
|
2720
|
+
label: "方法类型",
|
|
2721
|
+
width: "120"
|
|
2722
|
+
}, {
|
|
2723
|
+
default: withCtx((scope) => [
|
|
2724
|
+
createTextVNode(toDisplayString($options.callMethodTypeName(scope.row.OPERATION)), 1)
|
|
2725
|
+
]),
|
|
2726
|
+
_: 1
|
|
2727
|
+
}),
|
|
2728
|
+
createVNode(_component_el_table_column, {
|
|
2729
|
+
prop: "MAIN_ENTITY#",
|
|
2730
|
+
label: "主对象",
|
|
2731
|
+
"min-width": "140",
|
|
2732
|
+
"show-overflow-tooltip": ""
|
|
2733
|
+
}),
|
|
2734
|
+
createVNode(_component_el_table_column, {
|
|
2735
|
+
prop: "DESCRIPTION",
|
|
2736
|
+
label: "方法描述",
|
|
2737
|
+
"min-width": "200",
|
|
2738
|
+
"show-overflow-tooltip": ""
|
|
2739
|
+
})
|
|
2740
|
+
]),
|
|
2741
|
+
_: 1
|
|
2742
|
+
}, 8, ["data", "onSelectionChange"])), [
|
|
2743
|
+
[_directive_loading, $data.callMethodLoading]
|
|
2744
|
+
]),
|
|
2745
|
+
createVNode(_component_el_pagination, {
|
|
2746
|
+
"current-page": $data.callMethodPage,
|
|
2747
|
+
"page-size": 10,
|
|
2748
|
+
layout: "total, prev, pager, next",
|
|
2749
|
+
total: $data.callMethodTotal,
|
|
2750
|
+
disabled: $data.callMethodSaving,
|
|
2751
|
+
onCurrentChange: $options.changeCallMethodPage
|
|
2752
|
+
}, null, 8, ["current-page", "total", "disabled", "onCurrentChange"]),
|
|
2753
|
+
$data.selectedCallMethods.length ? (openBlock(), createElementBlock("div", _hoisted_138, [
|
|
2754
|
+
createElementVNode("div", _hoisted_139, "已选择 " + toDisplayString($data.selectedCallMethods.length) + " 个方法 · 逐项设置执行前确认", 1),
|
|
2755
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedCallMethods, (method) => {
|
|
2756
|
+
return openBlock(), createElementBlock("div", {
|
|
2757
|
+
key: method.ID,
|
|
2758
|
+
class: "call-method-selection-row"
|
|
2759
|
+
}, [
|
|
2760
|
+
createElementVNode("span", null, toDisplayString(method.NAME), 1),
|
|
2761
|
+
createVNode(_component_el_checkbox, {
|
|
2762
|
+
modelValue: $data.callMethodConfirm[method.ID],
|
|
2763
|
+
"onUpdate:modelValue": ($event) => $data.callMethodConfirm[method.ID] = $event,
|
|
2764
|
+
disabled: $data.callMethodSaving
|
|
2765
|
+
}, {
|
|
2766
|
+
default: withCtx(() => [..._cache[92] || (_cache[92] = [
|
|
2767
|
+
createTextVNode("执行前确认", -1)
|
|
2768
|
+
])]),
|
|
2769
|
+
_: 1
|
|
2770
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
2771
|
+
]);
|
|
2772
|
+
}), 128))
|
|
2773
|
+
])) : createCommentVNode("", true)
|
|
2774
|
+
]),
|
|
2775
|
+
_: 1
|
|
2776
|
+
}, 8, ["modelValue", "close-on-press-escape", "show-close"]),
|
|
2777
|
+
createVNode(_component_el_dialog, {
|
|
2778
|
+
title: "调用方法接入配置",
|
|
2779
|
+
modelValue: $data.callMethodSettingsVisible,
|
|
2780
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => $data.callMethodSettingsVisible = $event),
|
|
2781
|
+
width: "600px",
|
|
2782
|
+
"close-on-click-modal": false,
|
|
2783
|
+
"close-on-press-escape": !$data.callMethodSaving,
|
|
2784
|
+
"show-close": !$data.callMethodSaving
|
|
2785
|
+
}, {
|
|
2786
|
+
footer: withCtx(() => [
|
|
2787
|
+
createElementVNode("div", null, [
|
|
2788
|
+
createVNode(_component_el_button, {
|
|
2789
|
+
size: "small",
|
|
2790
|
+
class: "call-method-secondary",
|
|
2791
|
+
disabled: $data.callMethodSaving,
|
|
2792
|
+
onClick: _cache[46] || (_cache[46] = ($event) => $data.callMethodSettingsVisible = false)
|
|
2793
|
+
}, {
|
|
2794
|
+
default: withCtx(() => [..._cache[95] || (_cache[95] = [
|
|
2795
|
+
createTextVNode("取消", -1)
|
|
2796
|
+
])]),
|
|
2797
|
+
_: 1
|
|
2798
|
+
}, 8, ["disabled"]),
|
|
2799
|
+
createVNode(_component_el_button, {
|
|
2800
|
+
size: "small",
|
|
2801
|
+
type: "primary",
|
|
2802
|
+
class: "call-method-primary",
|
|
2803
|
+
loading: $data.callMethodSaving,
|
|
2804
|
+
onClick: $options.saveCallMethodSettings
|
|
2805
|
+
}, {
|
|
2806
|
+
default: withCtx(() => [..._cache[96] || (_cache[96] = [
|
|
2807
|
+
createTextVNode("保存", -1)
|
|
2808
|
+
])]),
|
|
2809
|
+
_: 1
|
|
2810
|
+
}, 8, ["loading", "onClick"])
|
|
2811
|
+
])
|
|
2812
|
+
]),
|
|
2813
|
+
default: withCtx(() => [
|
|
2814
|
+
createVNode(_component_el_form, { "label-width": "100px" }, {
|
|
2815
|
+
default: withCtx(() => [
|
|
2816
|
+
createVNode(_component_el_form_item, { label: "方法名称" }, {
|
|
2817
|
+
default: withCtx(() => [
|
|
2818
|
+
createTextVNode(toDisplayString($data.callMethodSetting["CALL_METHOD|NAME"] || $data.callMethodSetting.NAME), 1)
|
|
2819
|
+
]),
|
|
2820
|
+
_: 1
|
|
2821
|
+
}),
|
|
2822
|
+
createVNode(_component_el_form_item, { label: "方法标识" }, {
|
|
2823
|
+
default: withCtx(() => [
|
|
2824
|
+
createTextVNode(toDisplayString($data.callMethodSetting["CALL_METHOD|CODE"] || "—"), 1)
|
|
2825
|
+
]),
|
|
2826
|
+
_: 1
|
|
2827
|
+
}),
|
|
2828
|
+
createVNode(_component_el_form_item, { label: "方法类型" }, {
|
|
2829
|
+
default: withCtx(() => [
|
|
2830
|
+
createTextVNode(toDisplayString($options.callMethodTypeName($data.callMethodSetting["CALL_METHOD|OPERATION"])), 1)
|
|
2831
|
+
]),
|
|
2832
|
+
_: 1
|
|
2833
|
+
}),
|
|
2834
|
+
createVNode(_component_el_form_item, { label: "主对象" }, {
|
|
2835
|
+
default: withCtx(() => [
|
|
2836
|
+
createTextVNode(toDisplayString($data.callMethodSetting["CALL_METHOD|MAIN_ENTITY#"] || "—"), 1)
|
|
2837
|
+
]),
|
|
2838
|
+
_: 1
|
|
2839
|
+
}),
|
|
2840
|
+
createVNode(_component_el_form_item, { label: "方法描述" }, {
|
|
2841
|
+
default: withCtx(() => [
|
|
2842
|
+
createTextVNode(toDisplayString($data.callMethodSetting["CALL_METHOD|DESCRIPTION"] || $data.callMethodSetting.DESC), 1)
|
|
2843
|
+
]),
|
|
2844
|
+
_: 1
|
|
2845
|
+
}),
|
|
2846
|
+
createVNode(_component_el_form_item, { label: "执行前确认" }, {
|
|
2847
|
+
default: withCtx(() => [
|
|
2848
|
+
createVNode(_component_el_switch, {
|
|
2849
|
+
modelValue: $data.callMethodSettingConfirm,
|
|
2850
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => $data.callMethodSettingConfirm = $event),
|
|
2851
|
+
disabled: $data.callMethodSaving
|
|
2852
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
2853
|
+
]),
|
|
2854
|
+
_: 1
|
|
2855
|
+
})
|
|
2856
|
+
]),
|
|
2857
|
+
_: 1
|
|
2858
|
+
})
|
|
2859
|
+
]),
|
|
2860
|
+
_: 1
|
|
2861
|
+
}, 8, ["modelValue", "close-on-press-escape", "show-close"]),
|
|
2386
2862
|
createVNode(_component_el_dialog, {
|
|
2387
2863
|
title: "添加MCP工具",
|
|
2388
2864
|
modelValue: $data.mcpDialogVisible,
|
|
2389
|
-
"onUpdate:modelValue": _cache[
|
|
2865
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => $data.mcpDialogVisible = $event),
|
|
2390
2866
|
width: "1100px",
|
|
2391
2867
|
"close-on-click-modal": false,
|
|
2392
2868
|
class: "api-select-dialog"
|
|
2393
2869
|
}, {
|
|
2394
2870
|
default: withCtx(() => [
|
|
2395
|
-
createElementVNode("div",
|
|
2396
|
-
createElementVNode("div",
|
|
2871
|
+
createElementVNode("div", _hoisted_140, [
|
|
2872
|
+
createElementVNode("div", _hoisted_141, [
|
|
2397
2873
|
createVNode(_component_el_table, {
|
|
2398
2874
|
ref: "mcpTable",
|
|
2399
2875
|
data: $data.mcpList,
|
|
@@ -2455,7 +2931,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2455
2931
|
$data.mcpTotal > $data.mcpPageSize ? (openBlock(), createBlock(_component_el_pagination, {
|
|
2456
2932
|
key: 0,
|
|
2457
2933
|
"current-page": $data.mcpCurrentPage,
|
|
2458
|
-
"onUpdate:currentPage": _cache[
|
|
2934
|
+
"onUpdate:currentPage": _cache[48] || (_cache[48] = ($event) => $data.mcpCurrentPage = $event),
|
|
2459
2935
|
"page-size": $data.mcpPageSize,
|
|
2460
2936
|
layout: "total, prev, pager, next",
|
|
2461
2937
|
total: $data.mcpTotal,
|
|
@@ -2463,18 +2939,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2463
2939
|
style: { "margin-top": "12px", "text-align": "right" }
|
|
2464
2940
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
|
|
2465
2941
|
]),
|
|
2466
|
-
createElementVNode("div",
|
|
2467
|
-
_cache[
|
|
2942
|
+
createElementVNode("div", _hoisted_142, [
|
|
2943
|
+
_cache[99] || (_cache[99] = createElementVNode("div", { class: "panel-header" }, [
|
|
2468
2944
|
createElementVNode("span", null, "已选择")
|
|
2469
2945
|
], -1)),
|
|
2470
|
-
createElementVNode("div",
|
|
2946
|
+
createElementVNode("div", _hoisted_143, [
|
|
2471
2947
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedMcps, (mcp, index) => {
|
|
2472
2948
|
return openBlock(), createElementBlock("div", {
|
|
2473
2949
|
key: mcp.ID,
|
|
2474
2950
|
class: "selected-item"
|
|
2475
2951
|
}, [
|
|
2476
|
-
createElementVNode("div",
|
|
2477
|
-
createElementVNode("span",
|
|
2952
|
+
createElementVNode("div", _hoisted_144, [
|
|
2953
|
+
createElementVNode("span", _hoisted_145, toDisplayString(mcp.NAME), 1),
|
|
2478
2954
|
createVNode(_component_el_button, {
|
|
2479
2955
|
type: "primary",
|
|
2480
2956
|
link: "",
|
|
@@ -2483,23 +2959,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2483
2959
|
onClick: ($event) => $options.removeSelectedMcp(index)
|
|
2484
2960
|
}, null, 8, ["onClick"])
|
|
2485
2961
|
]),
|
|
2486
|
-
createElementVNode("div",
|
|
2487
|
-
createElementVNode("div",
|
|
2488
|
-
createElementVNode("div",
|
|
2489
|
-
createElementVNode("div",
|
|
2962
|
+
createElementVNode("div", _hoisted_146, [
|
|
2963
|
+
createElementVNode("div", _hoisted_147, "编号:" + toDisplayString(mcp.CODE), 1),
|
|
2964
|
+
createElementVNode("div", _hoisted_148, "请求类型:" + toDisplayString(mcp.TYPE), 1),
|
|
2965
|
+
createElementVNode("div", _hoisted_149, "地址:" + toDisplayString(mcp.URL), 1)
|
|
2490
2966
|
])
|
|
2491
2967
|
]);
|
|
2492
2968
|
}), 128)),
|
|
2493
|
-
$data.selectedMcps.length === 0 ? (openBlock(), createElementBlock("div",
|
|
2969
|
+
$data.selectedMcps.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_150, " 请从左侧选择MCP ")) : createCommentVNode("", true)
|
|
2494
2970
|
]),
|
|
2495
|
-
createElementVNode("div",
|
|
2496
|
-
createElementVNode("span",
|
|
2497
|
-
createElementVNode("div",
|
|
2971
|
+
createElementVNode("div", _hoisted_151, [
|
|
2972
|
+
createElementVNode("span", _hoisted_152, "已选择 " + toDisplayString($data.selectedMcps.length) + " 个", 1),
|
|
2973
|
+
createElementVNode("div", _hoisted_153, [
|
|
2498
2974
|
createVNode(_component_el_button, {
|
|
2499
2975
|
size: "small",
|
|
2500
|
-
onClick: _cache[
|
|
2976
|
+
onClick: _cache[49] || (_cache[49] = ($event) => $data.mcpDialogVisible = false)
|
|
2501
2977
|
}, {
|
|
2502
|
-
default: withCtx(() => [..._cache[
|
|
2978
|
+
default: withCtx(() => [..._cache[97] || (_cache[97] = [
|
|
2503
2979
|
createTextVNode("取消", -1)
|
|
2504
2980
|
])]),
|
|
2505
2981
|
_: 1
|
|
@@ -2509,7 +2985,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2509
2985
|
type: "primary",
|
|
2510
2986
|
onClick: $options.confirmMcpSelection
|
|
2511
2987
|
}, {
|
|
2512
|
-
default: withCtx(() => [..._cache[
|
|
2988
|
+
default: withCtx(() => [..._cache[98] || (_cache[98] = [
|
|
2513
2989
|
createTextVNode("保存", -1)
|
|
2514
2990
|
])]),
|
|
2515
2991
|
_: 1
|
|
@@ -2523,7 +2999,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2523
2999
|
}, 8, ["modelValue"])
|
|
2524
3000
|
]);
|
|
2525
3001
|
}
|
|
2526
|
-
const AiToolManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
3002
|
+
const AiToolManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-587d3ea0"]]);
|
|
2527
3003
|
export {
|
|
2528
3004
|
AiToolManager as default
|
|
2529
3005
|
};
|