@epxing/business 0.0.0-stage → 5.3.0-beta.2

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.
Files changed (861) hide show
  1. package/API.md +111 -0
  2. package/README.md +43 -2
  3. package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
  4. package/dist/_virtual/preload-helper.js +88 -0
  5. package/dist/assets/0-C_2vdOtO.png +0 -0
  6. package/dist/assets/1-CsiSr5nw.png +0 -0
  7. package/dist/assets/2-C9hZOTyC.png +0 -0
  8. package/dist/assets/ai-CcPHuAhD.jpg +0 -0
  9. package/dist/assets/app-DBNIokDP.png +0 -0
  10. package/dist/assets/approval-DGcBv-re.png +0 -0
  11. package/dist/assets/aurorablue-N56tat3G.png +0 -0
  12. package/dist/assets/basepage-BF4dvOT8.png +0 -0
  13. package/dist/assets/classicblue-BdgPGKXa.png +0 -0
  14. package/dist/assets/create_market_system-BH__UVbt.png +0 -0
  15. package/dist/assets/create_system-irg--ePh.png +0 -0
  16. package/dist/assets/custom-C-ujlHz1.png +0 -0
  17. package/dist/assets/data-BDvuB-m7.png +0 -0
  18. package/dist/assets/deepblue-B78G_DNb.png +0 -0
  19. package/dist/assets/default-icon-2193FMjv.png +0 -0
  20. package/dist/assets/ex_link-4fYPd9nh.png +0 -0
  21. package/dist/assets/forestgreen-B2YR4xgz.png +0 -0
  22. package/dist/assets/hall_banner-Dc5YRV5A.webp +0 -0
  23. package/dist/assets/import-tfKWbWVS.png +0 -0
  24. package/dist/assets/link-BeD2ZGO9.png +0 -0
  25. package/dist/assets/m_hall_banner-Cf1Qwhh3.webp +0 -0
  26. package/dist/assets/orange-wT0uHIyo.png +0 -0
  27. package/dist/assets/palevioletred-DZXBQKru.png +0 -0
  28. package/dist/assets/photo-uscRzRXF.png +0 -0
  29. package/dist/assets/purple-CXrRrENi.png +0 -0
  30. package/dist/assets/role_select-DTqRlFNz.webp +0 -0
  31. package/dist/assets/skyblue-DPPlKPXU.png +0 -0
  32. package/dist/assets/snapshot-history-BsVY9cVj.png +0 -0
  33. package/dist/assets/snapshot-manual-DBRfFHYI.png +0 -0
  34. package/dist/assets/snapshot-realtime-DjHnJI6C.png +0 -0
  35. package/dist/assets/sync_loading-D7LoNPFP.png +0 -0
  36. package/dist/assets/tiffanyblue-DkyBoUQf.png +0 -0
  37. package/dist/assets/topbg-C_5lVpoA.webp +0 -0
  38. package/dist/assets/zxmb-CkPnmDaV.png +0 -0
  39. package/dist/src/assets/customTranslate/customTranslate.js +11 -0
  40. package/dist/src/assets/customTranslate/translations.js +219 -0
  41. package/dist/src/assets/images/addmenu/basepage.png.js +4 -0
  42. package/dist/src/assets/images/addmenu/data.png.js +4 -0
  43. package/dist/src/assets/images/addmenu/link.png.js +4 -0
  44. package/dist/src/assets/images/addmenu/list.png.js +4 -0
  45. package/dist/src/assets/images/addmenu/menu.png.js +4 -0
  46. package/dist/src/assets/images/addmenu/zxmb.png.js +4 -0
  47. package/dist/src/assets/images/ai.jpg.js +4 -0
  48. package/dist/src/assets/images/app.png.js +4 -0
  49. package/dist/src/assets/images/approval.png.js +4 -0
  50. package/dist/src/assets/images/create_market_system.png.js +4 -0
  51. package/dist/src/assets/images/create_system.png.js +4 -0
  52. package/dist/src/assets/images/custom.png.js +4 -0
  53. package/dist/src/assets/images/default-icon.png.js +4 -0
  54. package/dist/src/assets/images/ex_link.png.js +4 -0
  55. package/dist/src/assets/images/hall_banner.webp.js +4 -0
  56. package/dist/src/assets/images/hr.png.js +4 -0
  57. package/dist/src/assets/images/import.png.js +4 -0
  58. package/dist/src/assets/images/m_hall_banner.webp.js +4 -0
  59. package/dist/src/assets/images/nav/0.png.js +4 -0
  60. package/dist/src/assets/images/nav/1.png.js +4 -0
  61. package/dist/src/assets/images/nav/2.png.js +4 -0
  62. package/dist/src/assets/images/nav/3.svg.js +4 -0
  63. package/dist/src/assets/images/photo.png.js +4 -0
  64. package/dist/src/assets/images/snapshot-history.png.js +4 -0
  65. package/dist/src/assets/images/snapshot-manual.png.js +4 -0
  66. package/dist/src/assets/images/snapshot-realtime.png.js +4 -0
  67. package/dist/src/assets/images/sync_loading.png.js +4 -0
  68. package/dist/src/assets/images/theme/aurorablue.png.js +4 -0
  69. package/dist/src/assets/images/theme/classicblue.png.js +4 -0
  70. package/dist/src/assets/images/theme/deepblue.png.js +4 -0
  71. package/dist/src/assets/images/theme/forestgreen.png.js +4 -0
  72. package/dist/src/assets/images/theme/orange.png.js +4 -0
  73. package/dist/src/assets/images/theme/palevioletred.png.js +4 -0
  74. package/dist/src/assets/images/theme/purple.png.js +4 -0
  75. package/dist/src/assets/images/theme/skyblue.png.js +4 -0
  76. package/dist/src/assets/images/theme/tiffanyblue.png.js +4 -0
  77. package/dist/src/base/AiPromptDesigner.js +685 -0
  78. package/dist/src/base/AiPromptView.js +363 -0
  79. package/dist/src/base/AiSkillEditor.js +1029 -0
  80. package/dist/src/base/AiSkillEditor.vue.js +1176 -0
  81. package/dist/src/base/AppConfigFormItem.js +8 -0
  82. package/dist/src/base/AppConfigFormItem.vue.js +407 -0
  83. package/dist/src/base/AppMarket.js +212 -0
  84. package/dist/src/base/AppMarketList.js +8 -0
  85. package/dist/src/base/AppMarketList.vue.js +214 -0
  86. package/dist/src/base/AppMarketSystemDetail.js +293 -0
  87. package/dist/src/base/AttributeSubAdd.js +26 -0
  88. package/dist/src/base/ChooseApplication.js +132 -0
  89. package/dist/src/base/ClientAppItem.js +190 -0
  90. package/dist/src/base/ClientApplication.js +360 -0
  91. package/dist/src/base/ClientApplicationList.js +126 -0
  92. package/dist/src/base/ClientModule.js +119 -0
  93. package/dist/src/base/ClientModuleIndex.js +295 -0
  94. package/dist/src/base/ClientSystemDetail.js +203 -0
  95. package/dist/src/base/ClientSystemList.js +8 -0
  96. package/dist/src/base/ClientSystemList.vue.js +450 -0
  97. package/dist/src/base/CommonFieldList.js +11 -0
  98. package/dist/src/base/CommonFieldList.vue.js +530 -0
  99. package/dist/src/base/CommonSearchList.js +5 -0
  100. package/dist/src/base/CommonSearchList.vue.js +253 -0
  101. package/dist/src/base/CompayDetail.js +116 -0
  102. package/dist/src/base/ComponentGlobalSet.js +8 -0
  103. package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
  104. package/dist/src/base/ComponentParamsTree.js +335 -0
  105. package/dist/src/base/ConfigModuleIndex.js +135 -0
  106. package/dist/src/base/CurrentClientApplication.js +54 -0
  107. package/dist/src/base/CurrentVersionInfo.js +98 -0
  108. package/dist/src/base/EntityMatchCompare.js +533 -0
  109. package/dist/src/base/FieldRelationFormItem.js +8 -0
  110. package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
  111. package/dist/src/base/HelpDocSet.js +363 -0
  112. package/dist/src/base/HelpDocSet.vue.js +685 -0
  113. package/dist/src/base/IndexFormItem.js +5 -0
  114. package/dist/src/base/IndexFormItem.vue.js +230 -0
  115. package/dist/src/base/JobFormItem.js +8 -0
  116. package/dist/src/base/JobFormItem.vue.js +131 -0
  117. package/dist/src/base/ManageAppNav.js +9 -0
  118. package/dist/src/base/ManageAppNav.vue.js +1178 -0
  119. package/dist/src/base/ManageMenu.js +916 -0
  120. package/dist/src/base/ManageMenuItem.js +551 -0
  121. package/dist/src/base/NoInstallSystemList.js +5 -0
  122. package/dist/src/base/NoInstallSystemList.vue.js +159 -0
  123. package/dist/src/base/PageList.js +48 -0
  124. package/dist/src/base/PasswordFormItem.js +8 -0
  125. package/dist/src/base/PasswordFormItem.vue.js +125 -0
  126. package/dist/src/base/ProcessFormItem.js +148 -0
  127. package/dist/src/base/PublishSystemApplyFormItem.js +5 -0
  128. package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
  129. package/dist/src/base/RequestLog.js +170 -0
  130. package/dist/src/base/RightRiskList.js +8 -0
  131. package/dist/src/base/RightRiskList.vue.js +224 -0
  132. package/dist/src/base/RoleAccredit.js +1087 -0
  133. package/dist/src/base/RoleRightList.js +8 -0
  134. package/dist/src/base/RoleRightList.vue.js +118 -0
  135. package/dist/src/base/RoleUserManage.js +8 -0
  136. package/dist/src/base/RoleUserManage.vue.js +146 -0
  137. package/dist/src/base/ServiceAccredit.js +1075 -0
  138. package/dist/src/base/ServiceMenu.js +399 -0
  139. package/dist/src/base/ServiceMenuFormItem.js +20 -0
  140. package/dist/src/base/ServiceOperate.js +1003 -0
  141. package/dist/src/base/SystemHelpTreeFind.js +44 -0
  142. package/dist/src/base/aiPromptMode.js +145 -0
  143. package/dist/src/base/data-check/DataChckDetail.js +243 -0
  144. package/dist/src/base/data-check/DataCheck.js +308 -0
  145. package/dist/src/base/data-check/DataCheckList.js +364 -0
  146. package/dist/src/base/data-check/DataCheckSubList.js +6 -0
  147. package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
  148. package/dist/src/base/entity-view/EntityViewFormItem.js +5 -0
  149. package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
  150. package/dist/src/base/entity-view/EntityViewSubList.js +5 -0
  151. package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
  152. package/dist/src/base/entity-view-config/BasicInfoDialog.js +208 -0
  153. package/dist/src/base/entity-view-config/FieldPanel.js +692 -0
  154. package/dist/src/base/entity-view-config/FieldPropForm.js +786 -0
  155. package/dist/src/base/entity-view-config/FormulaDialog.js +143 -0
  156. package/dist/src/base/entity-view-config/ObjectFieldDialog.js +271 -0
  157. package/dist/src/base/entity-view-config/RelationPanel.js +779 -0
  158. package/dist/src/base/entity-view-config/SourceManagerDialog.js +658 -0
  159. package/dist/src/base/entity-view-config/SqlPanel.js +62 -0
  160. package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
  161. package/dist/src/base/entity-view-config/UnionPanel.js +1082 -0
  162. package/dist/src/base/entity-view-config/ViewConfig.js +586 -0
  163. package/dist/src/base/entity-view-config/constants.js +146 -0
  164. package/dist/src/base/user-type/UserTypeFormItem.js +5 -0
  165. package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
  166. package/dist/src/components/AddPageFormItem.js +5 -0
  167. package/dist/src/components/AddPageFormItem.vue.js +92 -0
  168. package/dist/src/components/AddUsedInterface.js +214 -0
  169. package/dist/src/components/AiDocFormItem.js +6 -0
  170. package/dist/src/components/AiDocFormItem.vue.js +271 -0
  171. package/dist/src/components/AiList.js +8 -0
  172. package/dist/src/components/AiList.vue.js +93 -0
  173. package/dist/src/components/AiPermissionAssistant.js +284 -0
  174. package/dist/src/components/AppList.js +414 -0
  175. package/dist/src/components/Apply/AIApplyIndex.js +179 -0
  176. package/dist/src/components/Apply/ApplyIndex.js +282 -0
  177. package/dist/src/components/AttributeList.js +870 -0
  178. package/dist/src/components/Banner.js +26 -0
  179. package/dist/src/components/BatchAddFieldDialog.js +425 -0
  180. package/dist/src/components/CardO.js +47 -0
  181. package/dist/src/components/CheckForm.js +34 -0
  182. package/dist/src/components/ClientAdminFormItem.js +47 -0
  183. package/dist/src/components/ClientAdminList.js +9 -0
  184. package/dist/src/components/ClientAdminList.vue.js +221 -0
  185. package/dist/src/components/ClientFormItem.js +48 -0
  186. package/dist/src/components/ClientList.js +6 -0
  187. package/dist/src/components/ClientList.vue.js +216 -0
  188. package/dist/src/components/CodeDetail.js +454 -0
  189. package/dist/src/components/CodeManage.js +1030 -0
  190. package/dist/src/components/ComponentFind.js +210 -0
  191. package/dist/src/components/ComponentList.js +499 -0
  192. package/dist/src/components/ConfigParamFormItem.js +8 -0
  193. package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
  194. package/dist/src/components/CreatePage.js +298 -0
  195. package/dist/src/components/DashboardCreate.js +106 -0
  196. package/dist/src/components/DataLog.js +169 -0
  197. package/dist/src/components/DataLogTimeline.js +111 -0
  198. package/dist/src/components/DataSnapshot.js +207 -0
  199. package/dist/src/components/DataSnapshotList.js +75 -0
  200. package/dist/src/components/DataSyncInit.js +173 -0
  201. package/dist/src/components/DblogList.js +6 -0
  202. package/dist/src/components/DblogList.vue.js +143 -0
  203. package/dist/src/components/DeptFind.js +8 -0
  204. package/dist/src/components/DeptFind.vue.js +109 -0
  205. package/dist/src/components/DynamicUserList.js +5 -0
  206. package/dist/src/components/DynamicUserList.vue.js +89 -0
  207. package/dist/src/components/EntityCheckboxFind.js +5 -0
  208. package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
  209. package/dist/src/components/EntityRelationAdd.js +388 -0
  210. package/dist/src/components/EntityRelationAddFormItem.js +5 -0
  211. package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
  212. package/dist/src/components/EntityRightFormItem.js +10 -0
  213. package/dist/src/components/EntityRightFormItem.vue.js +401 -0
  214. package/dist/src/components/EntityRightSubList.js +640 -0
  215. package/dist/src/components/EntityTagSubList.js +5 -0
  216. package/dist/src/components/EntityTagSubList.vue.js +103 -0
  217. package/dist/src/components/EntityTreeManage.js +865 -0
  218. package/dist/src/components/ExportSystemConfig.js +167 -0
  219. package/dist/src/components/FieldTreeFind.js +41 -0
  220. package/dist/src/components/FormulaEditor.js +8 -0
  221. package/dist/src/components/FormulaEditor.vue.js +1235 -0
  222. package/dist/src/components/GenTestData.js +638 -0
  223. package/dist/src/components/HallNav.js +6 -0
  224. package/dist/src/components/HallNav.vue.js +156 -0
  225. package/dist/src/components/HeaderNav.js +369 -0
  226. package/dist/src/components/IconCard.js +98 -0
  227. package/dist/src/components/IconFontLibrary.js +5 -0
  228. package/dist/src/components/IconFontLibrary.vue.js +67 -0
  229. package/dist/src/components/IconFontList.js +5 -0
  230. package/dist/src/components/IconFontList.vue.js +79 -0
  231. package/dist/src/components/IdentifyList.js +33 -0
  232. package/dist/src/components/ImportSystemConfig.js +303 -0
  233. package/dist/src/components/InterfaceSubList.js +320 -0
  234. package/dist/src/components/JsPanel.js +101 -0
  235. package/dist/src/components/LanguageImportPage.js +590 -0
  236. package/dist/src/components/LanguageSetting.js +545 -0
  237. package/dist/src/components/List/LinkItem.js +113 -0
  238. package/dist/src/components/List/List.js +18 -0
  239. package/dist/src/components/List/ListItem.js +31 -0
  240. package/dist/src/components/MenuTreeFind.js +8 -0
  241. package/dist/src/components/MenuTreeFind.vue.js +81 -0
  242. package/dist/src/components/MessageList.js +8 -0
  243. package/dist/src/components/MessageList.vue.js +101 -0
  244. package/dist/src/components/MessageRuleFormItem.js +60 -0
  245. package/dist/src/components/MessageRuleReceiverFormItem.js +224 -0
  246. package/dist/src/components/MessageTemplate.js +395 -0
  247. package/dist/src/components/MessageTemplate.vue.js +693 -0
  248. package/dist/src/components/MetaList.js +5 -0
  249. package/dist/src/components/MetaList.vue.js +100 -0
  250. package/dist/src/components/Nav.js +496 -0
  251. package/dist/src/components/NavFormCatalogItem.js +7 -0
  252. package/dist/src/components/NumList.js +60 -0
  253. package/dist/src/components/OperateLog.js +133 -0
  254. package/dist/src/components/PageCatalog.js +8 -0
  255. package/dist/src/components/PageCatalog.vue.js +292 -0
  256. package/dist/src/components/PageChart.js +213 -0
  257. package/dist/src/components/PageSwipes.js +132 -0
  258. package/dist/src/components/PersonFormItem.js +5 -0
  259. package/dist/src/components/PersonFormItem.vue.js +96 -0
  260. package/dist/src/components/Popup.js +239 -0
  261. package/dist/src/components/PrintFormList.js +9 -0
  262. package/dist/src/components/PrintFormList.vue.js +203 -0
  263. package/dist/src/components/PublishEntity.js +114 -0
  264. package/dist/src/components/RelyFieldTreeFind.js +52 -0
  265. package/dist/src/components/ReportFormList.js +236 -0
  266. package/dist/src/components/ReportList.js +9 -0
  267. package/dist/src/components/ReportList.vue.js +248 -0
  268. package/dist/src/components/RightSubList.js +8 -0
  269. package/dist/src/components/RightSubList.vue.js +150 -0
  270. package/dist/src/components/RoleAddUser.js +55 -0
  271. package/dist/src/components/RoleApplicationCard.js +138 -0
  272. package/dist/src/components/RoleApplicationList.js +937 -0
  273. package/dist/src/components/RoleApplicationSet.js +1001 -0
  274. package/dist/src/components/Search.js +254 -0
  275. package/dist/src/components/ServiceFormItem.js +33 -0
  276. package/dist/src/components/SnapshotDataList.js +73 -0
  277. package/dist/src/components/SystemAdminList.js +8 -0
  278. package/dist/src/components/SystemAdminList.vue.js +198 -0
  279. package/dist/src/components/SystemFormItem.js +8 -0
  280. package/dist/src/components/SystemFormItem.vue.js +170 -0
  281. package/dist/src/components/SystemNav.js +30 -0
  282. package/dist/src/components/TaskNumCard.js +23 -0
  283. package/dist/src/components/TimerRuleFormItem.js +333 -0
  284. package/dist/src/components/TodoList.js +8 -0
  285. package/dist/src/components/TodoList.vue.js +327 -0
  286. package/dist/src/components/UpdateSystemConfig.js +241 -0
  287. package/dist/src/components/UserCard.js +83 -0
  288. package/dist/src/components/UserFind.js +6 -0
  289. package/dist/src/components/UserFind.vue.js +592 -0
  290. package/dist/src/components/UserFormItem.js +9 -0
  291. package/dist/src/components/UserFormItem.vue.js +609 -0
  292. package/dist/src/components/UserList.js +5 -0
  293. package/dist/src/components/UserList.vue.js +23 -0
  294. package/dist/src/components/UserManage.js +802 -0
  295. package/dist/src/components/UserRoleList.js +579 -0
  296. package/dist/src/components/ValidateRuleFormItem.js +109 -0
  297. package/dist/src/components/ViewFieldDefine.js +747 -0
  298. package/dist/src/components/WikiSpaceList.js +5 -0
  299. package/dist/src/components/WikiSpaceList.vue.js +330 -0
  300. package/dist/src/components/WikiWorkbench.js +647 -0
  301. package/dist/src/components/authorization/AddApiPermiss.js +231 -0
  302. package/dist/src/components/authorization/AddAuthorization.js +161 -0
  303. package/dist/src/components/authorization/AddEntityFind.js +62 -0
  304. package/dist/src/components/authorization/AddNoApi.js +191 -0
  305. package/dist/src/components/authorization/AddRoleScope.js +337 -0
  306. package/dist/src/components/authorization/AiRolePlan.js +672 -0
  307. package/dist/src/components/authorization/ApiShareOtherList.js +397 -0
  308. package/dist/src/components/authorization/ApiSystemList.js +242 -0
  309. package/dist/src/components/authorization/AuthorizationInterface.js +622 -0
  310. package/dist/src/components/authorization/AuthorizationRoleSystem.js +850 -0
  311. package/dist/src/components/authorization/EntityConstraintFormItem.js +284 -0
  312. package/dist/src/components/authorization/OtherShareApiList.js +247 -0
  313. package/dist/src/components/authorization/PermissCommonRoleTabs.js +114 -0
  314. package/dist/src/components/authorization/PermissRoleAuthorization.js +1286 -0
  315. package/dist/src/components/authorization/PermissRoleTabs.js +113 -0
  316. package/dist/src/components/authorization/RoleLevel.js +5 -0
  317. package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
  318. package/dist/src/components/authorization/RoleLevelScope.js +270 -0
  319. package/dist/src/components/authorization/SystemAddNoApi.js +187 -0
  320. package/dist/src/components/card/CardList.js +65 -0
  321. package/dist/src/components/card/CardListItem.js +97 -0
  322. package/dist/src/components/card/Title.js +42 -0
  323. package/dist/src/components/custom-bpmn/CustomContextPad.js +54 -0
  324. package/dist/src/components/custom-bpmn/CustomPalette.js +5 -0
  325. package/dist/src/components/custom-bpmn/CustomRenderer.js +5 -0
  326. package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +88 -0
  327. package/dist/src/components/custom-bpmn/PropertiesView.js +12560 -0
  328. package/dist/src/components/custom-bpmn/components/AiModel.js +353 -0
  329. package/dist/src/components/custom-bpmn/components/Api.js +376 -0
  330. package/dist/src/components/custom-bpmn/components/BatchOperation.js +209 -0
  331. package/dist/src/components/custom-bpmn/components/Copy.js +653 -0
  332. package/dist/src/components/custom-bpmn/components/DataTransform.js +442 -0
  333. package/dist/src/components/custom-bpmn/components/Demo.js +63 -0
  334. package/dist/src/components/custom-bpmn/components/EditDiv.js +358 -0
  335. package/dist/src/components/custom-bpmn/components/GenScope.js +259 -0
  336. package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +76 -0
  337. package/dist/src/components/custom-bpmn/components/Knowledges.js +238 -0
  338. package/dist/src/components/custom-bpmn/components/Login.js +591 -0
  339. package/dist/src/components/custom-bpmn/components/MessageQueue.js +221 -0
  340. package/dist/src/components/custom-bpmn/components/MetaSelect.js +160 -0
  341. package/dist/src/components/custom-bpmn/components/NumStatistic.js +408 -0
  342. package/dist/src/components/custom-bpmn/components/ObjectTransform.js +789 -0
  343. package/dist/src/components/custom-bpmn/components/OutPut.js +395 -0
  344. package/dist/src/components/custom-bpmn/components/ParamsMachining.js +889 -0
  345. package/dist/src/components/custom-bpmn/components/ParamsOutput.js +161 -0
  346. package/dist/src/components/custom-bpmn/components/ProcessAudit.js +796 -0
  347. package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1040 -0
  348. package/dist/src/components/custom-bpmn/components/TestDialog.js +861 -0
  349. package/dist/src/components/custom-bpmn/img/chaxun.png.js +4 -0
  350. package/dist/src/components/custom-bpmn/img/fasong.png.js +4 -0
  351. package/dist/src/components/custom-bpmn/img/gengxin.png.js +4 -0
  352. package/dist/src/components/custom-bpmn/img/jiagong.png.js +4 -0
  353. package/dist/src/components/custom-bpmn/img/jiekou.png.js +4 -0
  354. package/dist/src/components/custom-bpmn/img/shanchu.png.js +4 -0
  355. package/dist/src/components/custom-bpmn/img/tongbu.png.js +4 -0
  356. package/dist/src/components/custom-bpmn/img/xinzeng.png.js +4 -0
  357. package/dist/src/components/custom-bpmn/img/xunhuanend.png.js +4 -0
  358. package/dist/src/components/custom-bpmn/img/xunhuanstart.png.js +4 -0
  359. package/dist/src/components/custom-bpmn/img/ywgz.png.js +4 -0
  360. package/dist/src/components/custom-bpmn/index.js +5 -0
  361. package/dist/src/components/custom-bpmn/palette.js +13 -0
  362. package/dist/src/components/custom-bpmn/util.js +7 -0
  363. package/dist/src/components/dashboard-create.js +20 -0
  364. package/dist/src/components/entity-relation-diagram/Er.js +340 -0
  365. package/dist/src/components/entity-relation-diagram/renderErNode.js +36 -0
  366. package/dist/src/components/expand/AddForm.js +86 -0
  367. package/dist/src/components/expand/AddFormItem.js +149 -0
  368. package/dist/src/components/filter/Filter.js +720 -0
  369. package/dist/src/components/filter/FilterItem.js +493 -0
  370. package/dist/src/components/hall/AppCollect.js +121 -0
  371. package/dist/src/components/hall/AppList.js +480 -0
  372. package/dist/src/components/hall/AppVisitRecord.js +113 -0
  373. package/dist/src/components/hall/Banner.js +33 -0
  374. package/dist/src/components/hall/ServiceCard.js +124 -0
  375. package/dist/src/components/hall/UserCard.js +81 -0
  376. package/dist/src/components/permiss/AddApi.js +143 -0
  377. package/dist/src/components/permiss/AddNoEntityApi.js +180 -0
  378. package/dist/src/components/permiss/AddSystemPermiss.js +131 -0
  379. package/dist/src/components/permiss/AllocateRole.js +131 -0
  380. package/dist/src/components/permiss/ApiSubList.js +151 -0
  381. package/dist/src/components/permiss/CommonRoleMenu.js +591 -0
  382. package/dist/src/components/permiss/FieldScope.js +200 -0
  383. package/dist/src/components/permiss/PermissManage.js +88 -0
  384. package/dist/src/components/permiss/RoleAppList.js +36 -0
  385. package/dist/src/components/permiss/RoleMenu.js +518 -0
  386. package/dist/src/components/permiss/RoleSubList.js +5 -0
  387. package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
  388. package/dist/src/components/permiss/jurisdiction.js +359 -0
  389. package/dist/src/components/process-healthcheck/HealthcheckChart.js +234 -0
  390. package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
  391. package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +36 -0
  392. package/dist/src/components/process-healthcheck/index.js +8 -0
  393. package/dist/src/components/report/Config.js +1708 -0
  394. package/dist/src/components/report/Design.js +4632 -0
  395. package/dist/src/components/report/StatList.js +217 -0
  396. package/dist/src/components/right/EntityOtherSystemList.js +82 -0
  397. package/dist/src/components/right/SystemInterfaceList.js +418 -0
  398. package/dist/src/components/right/SystemList.js +1017 -0
  399. package/dist/src/components/upLoad.js +71 -0
  400. package/dist/src/components/viewport/LookViewList.js +22 -0
  401. package/dist/src/components/viewport/ViewAddForm.js +142 -0
  402. package/dist/src/components/viewport/ViewDefineList.js +50 -0
  403. package/dist/src/components/viewport/ViewFiedList.js +723 -0
  404. package/dist/src/components/viewport/ViewScope.js +116 -0
  405. package/dist/src/components/wiki-workbench/WikiCites.js +301 -0
  406. package/dist/src/components/wiki-workbench/WikiIntake.js +308 -0
  407. package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
  408. package/dist/src/components/wiki-workbench/WikiJobs.js +195 -0
  409. package/dist/src/components/wiki-workbench/WikiRevisions.js +229 -0
  410. package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +59 -0
  411. package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
  412. package/dist/src/components/wiki-workbench/codes.js +27 -0
  413. package/dist/src/components/wiki-workbench/index.js +13 -0
  414. package/dist/src/index.js +42 -0
  415. package/dist/src/popup.js +68 -0
  416. package/dist/src/public-components.js +20 -0
  417. package/dist/src/remote.entry.js +31 -0
  418. package/dist/src/route-components.js +12 -0
  419. package/dist/src/system.component.index.js +5 -0
  420. package/dist/src/system.component.js +342 -0
  421. package/dist/src/system.component.lazy.js +50 -0
  422. package/dist/src/views/Add.js +8 -0
  423. package/dist/src/views/Add.vue.js +734 -0
  424. package/dist/src/views/AiToolManager.js +2530 -0
  425. package/dist/src/views/App.js +48 -0
  426. package/dist/src/views/AppRoleSelect.js +233 -0
  427. package/dist/src/views/BatchEdit.js +256 -0
  428. package/dist/src/views/Bpmn.js +319 -0
  429. package/dist/src/views/Bpmn.vue.js +1196 -0
  430. package/dist/src/views/EntityCheckPage.js +49 -0
  431. package/dist/src/views/EntityDetailPage.js +5 -0
  432. package/dist/src/views/EntityDetailPage.vue.js +73 -0
  433. package/dist/src/views/EntityEditPage.js +10 -0
  434. package/dist/src/views/EntitySubListPage.js +41 -0
  435. package/dist/src/views/EntityTreePage.js +32 -0
  436. package/dist/src/views/Error.js +210 -0
  437. package/dist/src/views/ExcelDesign.js +2730 -0
  438. package/dist/src/views/ExcelDesign.vue.js +2165 -0
  439. package/dist/src/views/ExcelPreviewPage.js +166 -0
  440. package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
  441. package/dist/src/views/ExportFilePage.js +21 -0
  442. package/dist/src/views/ExportPage.js +21 -0
  443. package/dist/src/views/FormDesign.js +1033 -0
  444. package/dist/src/views/FormDesign.vue.js +1564 -0
  445. package/dist/src/views/I18nWorkbench.js +521 -0
  446. package/dist/src/views/ImportFilePage.js +21 -0
  447. package/dist/src/views/ImportPage.js +21 -0
  448. package/dist/src/views/MEntityListPage.js +66 -0
  449. package/dist/src/views/MEntitySubListPage.js +41 -0
  450. package/dist/src/views/MinePage.js +16 -0
  451. package/dist/src/views/Module.js +173 -0
  452. package/dist/src/views/PageAttributeTreePage.js +421 -0
  453. package/dist/src/views/PageConfig.js +177 -0
  454. package/dist/src/views/Permission.js +742 -0
  455. package/dist/src/views/PersonalInfo.js +792 -0
  456. package/dist/src/views/QyWechat.js +62 -0
  457. package/dist/src/views/ReportFormListPage.js +77 -0
  458. package/dist/src/views/TaskPage.js +180 -0
  459. package/dist/src/views/WikiBinding.js +614 -0
  460. package/dist/src/views/client/AddForm.js +55 -0
  461. package/dist/src/views/client/AppMarket.js +290 -0
  462. package/dist/src/views/client/ClientIndex.js +209 -0
  463. package/dist/src/views/client/ClientModuleIndexPage.js +5 -0
  464. package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
  465. package/dist/src/views/client/CopySystem.js +136 -0
  466. package/dist/src/views/client/CreateAppFormItem.js +8 -0
  467. package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
  468. package/dist/src/views/client/CreateMethod.js +76 -0
  469. package/dist/src/views/client/InstallSystem.js +309 -0
  470. package/dist/src/views/client/ManageList.js +5 -0
  471. package/dist/src/views/client/ManageList.vue.js +211 -0
  472. package/dist/src/views/client/OpenClientManage.js +51 -0
  473. package/dist/src/views/client/OpenSystemManage.js +56 -0
  474. package/dist/src/views/client/PageTabsCyclic.js +92 -0
  475. package/dist/src/views/client/SelfBuiltSystem.js +444 -0
  476. package/dist/src/views/client/StandardProduct.js +233 -0
  477. package/dist/src/views/client/SystemAppAccredit.js +561 -0
  478. package/dist/src/views/client/SystemAppManager.js +293 -0
  479. package/dist/src/views/client/SystemAppManager.vue.js +559 -0
  480. package/dist/src/views/client/SystemManager.js +452 -0
  481. package/dist/src/views/client/SystemManager.vue.js +522 -0
  482. package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +230 -0
  483. package/dist/src/views/i18n/I18nPublishDialog.js +451 -0
  484. package/dist/src/views/i18n/I18nTranslationList.js +8 -0
  485. package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
  486. package/dist/src/views/i18n/i18n-workbench-text.js +11 -0
  487. package/dist/src/views/layout/CardList.js +96 -0
  488. package/dist/src/views/layout/Grid.js +138 -0
  489. package/dist/src/views/match/AddTargetField.js +8 -0
  490. package/dist/src/views/match/AddTargetField.vue.js +127 -0
  491. package/dist/src/views/match/MatchAddFormItem.js +5 -0
  492. package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
  493. package/dist/src/views/match/conversion.js +805 -0
  494. package/dist/src/views/match/customize.js +391 -0
  495. package/dist/src/views/match/fieldMatch.js +8 -0
  496. package/dist/src/views/match/fieldMatch.vue.js +610 -0
  497. package/dist/src/views/report/AddFormItem.js +60 -0
  498. package/dist/src/views/report/DesignReport.js +1392 -0
  499. package/dist/src/views/report/ReportTreeFind.js +8 -0
  500. package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
  501. package/dist/style.css +33364 -0
  502. package/package.json +133 -3
  503. package/src/base/AiPromptDesigner.vue +653 -0
  504. package/src/base/AiPromptView.vue +467 -0
  505. package/src/base/AiSkillEditor.vue +2125 -0
  506. package/src/base/AppConfigFormItem.vue +404 -0
  507. package/src/base/AppMarket.vue +264 -0
  508. package/src/base/AppMarketList.vue +233 -0
  509. package/src/base/AppMarketSystemDetail.vue +380 -0
  510. package/src/base/AttributeSubAdd.vue +29 -0
  511. package/src/base/ChooseApplication.vue +176 -0
  512. package/src/base/ClientAppItem.vue +247 -0
  513. package/src/base/ClientApplication.vue +447 -0
  514. package/src/base/ClientApplicationList.vue +180 -0
  515. package/src/base/ClientModule.vue +69 -0
  516. package/src/base/ClientModuleIndex.vue +437 -0
  517. package/src/base/ClientSystemDetail.vue +319 -0
  518. package/src/base/ClientSystemList.vue +435 -0
  519. package/src/base/CommonFieldList.vue +1397 -0
  520. package/src/base/CommonSearchList.vue +191 -0
  521. package/src/base/CompayDetail.vue +199 -0
  522. package/src/base/ComponentGlobalSet.vue +842 -0
  523. package/src/base/ComponentParamsTree.vue +310 -0
  524. package/src/base/ConfigModuleIndex.vue +121 -0
  525. package/src/base/CurrentClientApplication.vue +37 -0
  526. package/src/base/CurrentVersionInfo.vue +107 -0
  527. package/src/base/EntityMatchCompare.vue +442 -0
  528. package/src/base/FieldRelationFormItem.vue +260 -0
  529. package/src/base/HelpDocSet.vue +1217 -0
  530. package/src/base/IndexFormItem.vue +197 -0
  531. package/src/base/JobFormItem.vue +101 -0
  532. package/src/base/ManageAppNav.vue +1190 -0
  533. package/src/base/ManageMenu.vue +935 -0
  534. package/src/base/ManageMenuItem.vue +399 -0
  535. package/src/base/NoInstallSystemList.vue +114 -0
  536. package/src/base/PageList.vue +47 -0
  537. package/src/base/PasswordFormItem.vue +94 -0
  538. package/src/base/ProcessFormItem.vue +129 -0
  539. package/src/base/PublishSystemApplyFormItem.vue +87 -0
  540. package/src/base/RequestLog.vue +198 -0
  541. package/src/base/RightRiskList.vue +212 -0
  542. package/src/base/RoleAccredit.vue +961 -0
  543. package/src/base/RoleRightList.vue +159 -0
  544. package/src/base/RoleUserManage.vue +186 -0
  545. package/src/base/ServiceAccredit.vue +956 -0
  546. package/src/base/ServiceMenu.vue +420 -0
  547. package/src/base/ServiceMenuFormItem.vue +22 -0
  548. package/src/base/ServiceOperate.vue +929 -0
  549. package/src/base/SystemHelpTreeFind.vue +50 -0
  550. package/src/base/aiPromptMode.js +153 -0
  551. package/src/base/data-check/DataChckDetail.vue +281 -0
  552. package/src/base/data-check/DataCheck.vue +261 -0
  553. package/src/base/data-check/DataCheckList.vue +327 -0
  554. package/src/base/data-check/DataCheckSubList.vue +160 -0
  555. package/src/base/entity-view/EntityViewFormItem.vue +170 -0
  556. package/src/base/entity-view/EntityViewSubList.vue +149 -0
  557. package/src/base/entity-view-config/BasicInfoDialog.vue +156 -0
  558. package/src/base/entity-view-config/FieldPanel.vue +742 -0
  559. package/src/base/entity-view-config/FieldPropForm.vue +687 -0
  560. package/src/base/entity-view-config/FormulaDialog.vue +153 -0
  561. package/src/base/entity-view-config/ObjectFieldDialog.vue +367 -0
  562. package/src/base/entity-view-config/RelationPanel.vue +951 -0
  563. package/src/base/entity-view-config/SourceManagerDialog.vue +428 -0
  564. package/src/base/entity-view-config/SqlPanel.vue +138 -0
  565. package/src/base/entity-view-config/UnionPanel.vue +1037 -0
  566. package/src/base/entity-view-config/ViewConfig.vue +661 -0
  567. package/src/base/entity-view-config/constants.js +139 -0
  568. package/src/base/user-type/UserTypeFormItem.vue +134 -0
  569. package/src/components/AddPageFormItem.vue +82 -0
  570. package/src/components/AddUsedInterface.vue +154 -0
  571. package/src/components/AiDocFormItem.vue +293 -0
  572. package/src/components/AiList.vue +132 -0
  573. package/src/components/AiPermissionAssistant.vue +304 -0
  574. package/src/components/AppList.vue +330 -0
  575. package/src/components/Apply/AIApplyIndex.vue +458 -0
  576. package/src/components/Apply/ApplyIndex.vue +358 -0
  577. package/src/components/AttributeList.vue +667 -0
  578. package/src/components/Banner.vue +24 -0
  579. package/src/components/BatchAddFieldDialog.vue +590 -0
  580. package/src/components/CardO.vue +112 -0
  581. package/src/components/CheckForm.vue +32 -0
  582. package/src/components/ClientAdminFormItem.vue +49 -0
  583. package/src/components/ClientAdminList.vue +434 -0
  584. package/src/components/ClientFormItem.vue +49 -0
  585. package/src/components/ClientList.vue +155 -0
  586. package/src/components/CodeDetail.vue +465 -0
  587. package/src/components/CodeManage.vue +1004 -0
  588. package/src/components/ComponentFind.vue +222 -0
  589. package/src/components/ComponentList.vue +526 -0
  590. package/src/components/ConfigParamFormItem.vue +383 -0
  591. package/src/components/CreatePage.vue +348 -0
  592. package/src/components/DashboardCreate.vue +73 -0
  593. package/src/components/DataLog.vue +181 -0
  594. package/src/components/DataLogTimeline.vue +202 -0
  595. package/src/components/DataSnapshot.vue +264 -0
  596. package/src/components/DataSnapshotList.vue +79 -0
  597. package/src/components/DataSyncInit.vue +97 -0
  598. package/src/components/DblogList.vue +163 -0
  599. package/src/components/DeptFind.vue +203 -0
  600. package/src/components/DynamicUserList.vue +72 -0
  601. package/src/components/EntityCheckboxFind.vue +90 -0
  602. package/src/components/EntityRelationAdd.vue +201 -0
  603. package/src/components/EntityRelationAddFormItem.vue +235 -0
  604. package/src/components/EntityRightFormItem.vue +618 -0
  605. package/src/components/EntityRightSubList.vue +740 -0
  606. package/src/components/EntityTagSubList.vue +72 -0
  607. package/src/components/EntityTreeManage.vue +988 -0
  608. package/src/components/ExportSystemConfig.vue +131 -0
  609. package/src/components/FieldTreeFind.vue +48 -0
  610. package/src/components/FormulaEditor.vue +1220 -0
  611. package/src/components/GenTestData.vue +787 -0
  612. package/src/components/HallNav.vue +539 -0
  613. package/src/components/HeaderNav.vue +447 -0
  614. package/src/components/IconCard.vue +158 -0
  615. package/src/components/IconFontLibrary.vue +61 -0
  616. package/src/components/IconFontList.vue +75 -0
  617. package/src/components/IdentifyList.vue +33 -0
  618. package/src/components/ImportSystemConfig.vue +234 -0
  619. package/src/components/InterfaceSubList.vue +295 -0
  620. package/src/components/JsPanel.vue +111 -0
  621. package/src/components/LanguageImportPage.vue +601 -0
  622. package/src/components/LanguageSetting.vue +451 -0
  623. package/src/components/List/LinkItem.vue +98 -0
  624. package/src/components/List/List.vue +17 -0
  625. package/src/components/List/ListItem.vue +52 -0
  626. package/src/components/MenuTreeFind.vue +128 -0
  627. package/src/components/MessageList.vue +198 -0
  628. package/src/components/MessageRuleFormItem.vue +60 -0
  629. package/src/components/MessageRuleReceiverFormItem.vue +179 -0
  630. package/src/components/MessageTemplate.vue +949 -0
  631. package/src/components/MetaList.vue +108 -0
  632. package/src/components/Nav.vue +604 -0
  633. package/src/components/NavFormCatalogItem.vue +9 -0
  634. package/src/components/NumList.vue +108 -0
  635. package/src/components/OperateLog.vue +168 -0
  636. package/src/components/PageCatalog.vue +458 -0
  637. package/src/components/PageChart.vue +339 -0
  638. package/src/components/PageSwipes.vue +234 -0
  639. package/src/components/PersonFormItem.vue +94 -0
  640. package/src/components/Popup.vue +393 -0
  641. package/src/components/PrintFormList.vue +529 -0
  642. package/src/components/PublishEntity.vue +87 -0
  643. package/src/components/RelyFieldTreeFind.vue +57 -0
  644. package/src/components/ReportFormList.vue +247 -0
  645. package/src/components/ReportList.vue +647 -0
  646. package/src/components/RightSubList.vue +256 -0
  647. package/src/components/RoleAddUser.vue +56 -0
  648. package/src/components/RoleApplicationCard.vue +299 -0
  649. package/src/components/RoleApplicationList.vue +766 -0
  650. package/src/components/RoleApplicationSet.vue +845 -0
  651. package/src/components/Search.vue +272 -0
  652. package/src/components/ServiceFormItem.vue +35 -0
  653. package/src/components/SnapshotDataList.vue +78 -0
  654. package/src/components/SystemAdminList.vue +497 -0
  655. package/src/components/SystemFormItem.vue +125 -0
  656. package/src/components/SystemNav.vue +29 -0
  657. package/src/components/TaskNumCard.vue +26 -0
  658. package/src/components/TimerRuleFormItem.vue +227 -0
  659. package/src/components/TodoList.vue +424 -0
  660. package/src/components/UpdateSystemConfig.vue +200 -0
  661. package/src/components/UserCard.vue +110 -0
  662. package/src/components/UserFind.vue +702 -0
  663. package/src/components/UserFormItem.vue +762 -0
  664. package/src/components/UserList.vue +19 -0
  665. package/src/components/UserManage.vue +758 -0
  666. package/src/components/UserRoleList.vue +497 -0
  667. package/src/components/ValidateRuleFormItem.vue +90 -0
  668. package/src/components/ViewFieldDefine.vue +703 -0
  669. package/src/components/WikiSpaceList.vue +270 -0
  670. package/src/components/WikiWorkbench.vue +717 -0
  671. package/src/components/authorization/AddApiPermiss.vue +179 -0
  672. package/src/components/authorization/AddAuthorization.vue +135 -0
  673. package/src/components/authorization/AddEntityFind.vue +68 -0
  674. package/src/components/authorization/AddNoApi.vue +143 -0
  675. package/src/components/authorization/AddRoleScope.vue +291 -0
  676. package/src/components/authorization/AiRolePlan.vue +751 -0
  677. package/src/components/authorization/ApiShareOtherList.vue +353 -0
  678. package/src/components/authorization/ApiSystemList.vue +314 -0
  679. package/src/components/authorization/AuthorizationInterface.vue +668 -0
  680. package/src/components/authorization/AuthorizationRoleSystem.vue +713 -0
  681. package/src/components/authorization/EntityConstraintFormItem.vue +257 -0
  682. package/src/components/authorization/OtherShareApiList.vue +248 -0
  683. package/src/components/authorization/PermissCommonRoleTabs.vue +122 -0
  684. package/src/components/authorization/PermissRoleAuthorization.vue +1097 -0
  685. package/src/components/authorization/PermissRoleTabs.vue +121 -0
  686. package/src/components/authorization/RoleLevel.vue +113 -0
  687. package/src/components/authorization/RoleLevelScope.vue +247 -0
  688. package/src/components/authorization/SystemAddNoApi.vue +139 -0
  689. package/src/components/card/CardList.vue +78 -0
  690. package/src/components/card/CardListItem.vue +147 -0
  691. package/src/components/card/Title.vue +38 -0
  692. package/src/components/custom-bpmn/CustomContextPad.js +58 -0
  693. package/src/components/custom-bpmn/CustomPalette.js +1 -0
  694. package/src/components/custom-bpmn/CustomRenderer.js +1 -0
  695. package/src/components/custom-bpmn/CustomRendererBpmn.js +84 -0
  696. package/src/components/custom-bpmn/PropertiesView.vue +7879 -0
  697. package/src/components/custom-bpmn/components/AiModel.vue +373 -0
  698. package/src/components/custom-bpmn/components/Api.vue +290 -0
  699. package/src/components/custom-bpmn/components/BatchOperation.vue +145 -0
  700. package/src/components/custom-bpmn/components/Copy.vue +440 -0
  701. package/src/components/custom-bpmn/components/DataTransform.vue +260 -0
  702. package/src/components/custom-bpmn/components/Demo.vue +64 -0
  703. package/src/components/custom-bpmn/components/EditDiv.vue +466 -0
  704. package/src/components/custom-bpmn/components/GenScope.vue +252 -0
  705. package/src/components/custom-bpmn/components/GlobalParamsTree.vue +61 -0
  706. package/src/components/custom-bpmn/components/Knowledges.vue +182 -0
  707. package/src/components/custom-bpmn/components/Login.vue +372 -0
  708. package/src/components/custom-bpmn/components/MessageQueue.vue +167 -0
  709. package/src/components/custom-bpmn/components/MetaSelect.vue +136 -0
  710. package/src/components/custom-bpmn/components/NumStatistic.vue +245 -0
  711. package/src/components/custom-bpmn/components/ObjectTransform.vue +454 -0
  712. package/src/components/custom-bpmn/components/OutPut.vue +412 -0
  713. package/src/components/custom-bpmn/components/ParamsMachining.vue +644 -0
  714. package/src/components/custom-bpmn/components/ParamsOutput.vue +130 -0
  715. package/src/components/custom-bpmn/components/ProcessAudit.vue +443 -0
  716. package/src/components/custom-bpmn/components/SingleMultipleFind.vue +637 -0
  717. package/src/components/custom-bpmn/components/TestDialog.vue +1068 -0
  718. package/src/components/custom-bpmn/img/chaxun.png +0 -0
  719. package/src/components/custom-bpmn/img/fasong.png +0 -0
  720. package/src/components/custom-bpmn/img/gengxin.png +0 -0
  721. package/src/components/custom-bpmn/img/jiagong.png +0 -0
  722. package/src/components/custom-bpmn/img/jiekou.png +0 -0
  723. package/src/components/custom-bpmn/img/shanchu.png +0 -0
  724. package/src/components/custom-bpmn/img/tongbu.png +0 -0
  725. package/src/components/custom-bpmn/img/xinzeng.png +0 -0
  726. package/src/components/custom-bpmn/img/xunhuanend.png +0 -0
  727. package/src/components/custom-bpmn/img/xunhuanstart.png +0 -0
  728. package/src/components/custom-bpmn/img/ywgz.png +0 -0
  729. package/src/components/custom-bpmn/index.js +1 -0
  730. package/src/components/custom-bpmn/palette.js +18 -0
  731. package/src/components/custom-bpmn/util.js +5 -0
  732. package/src/components/dashboard-create.js +17 -0
  733. package/src/components/entity-relation-diagram/Er.vue +360 -0
  734. package/src/components/entity-relation-diagram/renderErNode.js +32 -0
  735. package/src/components/expand/AddForm.vue +91 -0
  736. package/src/components/expand/AddFormItem.vue +150 -0
  737. package/src/components/filter/Filter.vue +739 -0
  738. package/src/components/filter/FilterItem.vue +516 -0
  739. package/src/components/hall/AppCollect.vue +190 -0
  740. package/src/components/hall/AppList.vue +513 -0
  741. package/src/components/hall/AppVisitRecord.vue +171 -0
  742. package/src/components/hall/Banner.vue +21 -0
  743. package/src/components/hall/ServiceCard.vue +204 -0
  744. package/src/components/hall/UserCard.vue +114 -0
  745. package/src/components/permiss/AddApi.vue +119 -0
  746. package/src/components/permiss/AddNoEntityApi.vue +131 -0
  747. package/src/components/permiss/AddSystemPermiss.vue +107 -0
  748. package/src/components/permiss/AllocateRole.vue +107 -0
  749. package/src/components/permiss/ApiSubList.vue +193 -0
  750. package/src/components/permiss/CommonRoleMenu.vue +631 -0
  751. package/src/components/permiss/FieldScope.vue +138 -0
  752. package/src/components/permiss/PermissManage.vue +96 -0
  753. package/src/components/permiss/RoleAppList.vue +52 -0
  754. package/src/components/permiss/RoleMenu.vue +547 -0
  755. package/src/components/permiss/RoleSubList.vue +263 -0
  756. package/src/components/permiss/jurisdiction.vue +425 -0
  757. package/src/components/process-healthcheck/HealthcheckChart.vue +529 -0
  758. package/src/components/process-healthcheck/HealthcheckRenderer.js +41 -0
  759. package/src/components/process-healthcheck/index.js +8 -0
  760. package/src/components/report/Config.vue +1654 -0
  761. package/src/components/report/Design.vue +3528 -0
  762. package/src/components/report/StatList.vue +234 -0
  763. package/src/components/right/EntityOtherSystemList.vue +73 -0
  764. package/src/components/right/SystemInterfaceList.vue +413 -0
  765. package/src/components/right/SystemList.vue +848 -0
  766. package/src/components/upLoad.vue +69 -0
  767. package/src/components/viewport/LookViewList.vue +28 -0
  768. package/src/components/viewport/ViewAddForm.vue +151 -0
  769. package/src/components/viewport/ViewDefineList.vue +53 -0
  770. package/src/components/viewport/ViewFiedList.vue +646 -0
  771. package/src/components/viewport/ViewScope.vue +112 -0
  772. package/src/components/wiki-workbench/WikiCites.vue +234 -0
  773. package/src/components/wiki-workbench/WikiIntake.vue +505 -0
  774. package/src/components/wiki-workbench/WikiJobs.vue +175 -0
  775. package/src/components/wiki-workbench/WikiRevisions.vue +208 -0
  776. package/src/components/wiki-workbench/WikiSpaceSettings.vue +137 -0
  777. package/src/components/wiki-workbench/codes.js +43 -0
  778. package/src/components/wiki-workbench/index.js +15 -0
  779. package/src/index.js +20 -0
  780. package/src/popup.js +86 -0
  781. package/src/public-components.js +8 -0
  782. package/src/remote.entry.js +42 -0
  783. package/src/route-components.js +8 -0
  784. package/src/system.component.index.js +3 -0
  785. package/src/system.component.js +46 -0
  786. package/src/system.component.lazy.js +68 -0
  787. package/src/system.component.visual.js +18 -0
  788. package/src/views/Add.vue +827 -0
  789. package/src/views/AiToolManager.vue +2372 -0
  790. package/src/views/App.vue +53 -0
  791. package/src/views/AppRoleSelect.vue +334 -0
  792. package/src/views/BatchEdit.vue +238 -0
  793. package/src/views/Bpmn.vue +1713 -0
  794. package/src/views/EntityCheckPage.vue +52 -0
  795. package/src/views/EntityDetailPage.vue +79 -0
  796. package/src/views/EntityEditPage.vue +13 -0
  797. package/src/views/EntitySubListPage.vue +44 -0
  798. package/src/views/EntityTreePage.vue +37 -0
  799. package/src/views/Error.vue +63 -0
  800. package/src/views/ExcelDesign.vue +3350 -0
  801. package/src/views/ExcelPreviewPage.vue +590 -0
  802. package/src/views/ExportFilePage.vue +19 -0
  803. package/src/views/ExportPage.vue +19 -0
  804. package/src/views/FormDesign.vue +2301 -0
  805. package/src/views/I18nWorkbench.vue +508 -0
  806. package/src/views/ImportFilePage.vue +19 -0
  807. package/src/views/ImportPage.vue +19 -0
  808. package/src/views/MEntityListPage.vue +83 -0
  809. package/src/views/MEntitySubListPage.vue +44 -0
  810. package/src/views/MinePage.vue +18 -0
  811. package/src/views/Module.vue +210 -0
  812. package/src/views/PageAttributeTreePage.vue +437 -0
  813. package/src/views/PageConfig.vue +259 -0
  814. package/src/views/Permission.vue +695 -0
  815. package/src/views/PersonalInfo.vue +693 -0
  816. package/src/views/QyWechat.vue +69 -0
  817. package/src/views/ReportFormListPage.vue +82 -0
  818. package/src/views/TaskPage.vue +199 -0
  819. package/src/views/WikiBinding.vue +740 -0
  820. package/src/views/client/AddForm.vue +64 -0
  821. package/src/views/client/AppMarket.vue +380 -0
  822. package/src/views/client/ClientIndex.vue +261 -0
  823. package/src/views/client/ClientModuleIndexPage.vue +35 -0
  824. package/src/views/client/CopySystem.vue +179 -0
  825. package/src/views/client/CreateAppFormItem.vue +285 -0
  826. package/src/views/client/CreateMethod.vue +114 -0
  827. package/src/views/client/InstallSystem.vue +295 -0
  828. package/src/views/client/ManageList.vue +178 -0
  829. package/src/views/client/OpenClientManage.vue +54 -0
  830. package/src/views/client/OpenSystemManage.vue +57 -0
  831. package/src/views/client/PageTabsCyclic.vue +121 -0
  832. package/src/views/client/SelfBuiltSystem.vue +497 -0
  833. package/src/views/client/StandardProduct.vue +325 -0
  834. package/src/views/client/SystemAppAccredit.vue +607 -0
  835. package/src/views/client/SystemAppManager.vue +967 -0
  836. package/src/views/client/SystemManager.vue +998 -0
  837. package/src/views/i18n/I18nAiTaskHistoryDialog.vue +173 -0
  838. package/src/views/i18n/I18nPublishDialog.vue +360 -0
  839. package/src/views/i18n/I18nTranslationList.vue +195 -0
  840. package/src/views/i18n/i18n-workbench-text.js +7 -0
  841. package/src/views/layout/CardList.vue +122 -0
  842. package/src/views/layout/Grid.vue +176 -0
  843. package/src/views/match/AddTargetField.vue +136 -0
  844. package/src/views/match/MatchAddFormItem.vue +87 -0
  845. package/src/views/match/conversion.vue +740 -0
  846. package/src/views/match/customize.vue +374 -0
  847. package/src/views/match/fieldMatch.vue +734 -0
  848. package/src/views/report/AddFormItem.vue +66 -0
  849. package/src/views/report/DesignReport.vue +1229 -0
  850. package/src/views/report/ReportTreeFind.vue +195 -0
  851. package/types/dept-find.d.ts +1 -0
  852. package/types/entity-tree-manage.d.ts +1 -0
  853. package/types/excel-preview-page.d.ts +1 -0
  854. package/types/header-nav.d.ts +1 -0
  855. package/types/index.d.ts +14 -0
  856. package/types/page-catalog.d.ts +1 -0
  857. package/types/popup.d.ts +2 -0
  858. package/types/report-form-list-page.d.ts +1 -0
  859. package/types/report-form-list.d.ts +1 -0
  860. package/types/route-components.d.ts +1 -0
  861. package/types/user-find.d.ts +1 -0
@@ -0,0 +1,2530 @@
1
+ import '../../style.css';
2
+ import __cjsReq0 from "../assets/images/app.png.js";
3
+ import draggable from "@epxing/core/src/components/draggable";
4
+ import component from "@epxing/core/src/mixins/component";
5
+ import { resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, toDisplayString, createVNode, withModifiers, createBlock, withCtx, createTextVNode, createCommentVNode, mergeProps } from "vue";
6
+ /* empty css */
7
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
8
+ const _sfc_main = {
9
+ name: "epx-ai-tool-manager",
10
+ mixins: [component],
11
+ components: {
12
+ draggable
13
+ },
14
+ computed: {
15
+ // 子智能体拖拽配置:仅卡片可拖,删除按钮不触发拖拽
16
+ subAgentDragOptions() {
17
+ return {
18
+ animation: 200,
19
+ draggable: ".subagent-card",
20
+ filter: ".card-delete-btn",
21
+ preventOnFilter: false,
22
+ ghostClass: "subagent-ghost"
23
+ };
24
+ },
25
+ // 获取子智能体图标URL
26
+ getSubAgentIcon() {
27
+ return (tool) => {
28
+ const imageId = tool["SUB_AGENT|IMAGE"];
29
+ if (imageId) {
30
+ return this.$util.getFileUrl(imageId);
31
+ }
32
+ return __cjsReq0;
33
+ };
34
+ },
35
+ // 获取已选择子智能体图标URL
36
+ getSelectedAgentIcon() {
37
+ return (agent) => {
38
+ if (agent.IMAGE) {
39
+ return this.$util.getFileUrl(agent.IMAGE);
40
+ }
41
+ return __cjsReq0;
42
+ };
43
+ }
44
+ },
45
+ data() {
46
+ return {
47
+ interfaceTools: [],
48
+ externalTools: [],
49
+ mcpTools: [],
50
+ subAgentTools: [],
51
+ skillTools: [],
52
+ sysTools: [],
53
+ dialogVisible: false,
54
+ dialogTitle: "新增工具",
55
+ isEdit: false,
56
+ submitLoading: false,
57
+ fileList: [],
58
+ // 对象接口选择对话框
59
+ apiDialogVisible: false,
60
+ apiActiveTab: "frame",
61
+ apiList: [],
62
+ apiTotal: 0,
63
+ apiCurrentPage: 1,
64
+ apiPageSize: 10,
65
+ apiSearchKeyword: "",
66
+ selectedApis: [],
67
+ selectedEntity: null,
68
+ // 通用接口
69
+ frameApiList: [],
70
+ frameApiTotal: 0,
71
+ frameApiCurrentPage: 1,
72
+ frameApiPageSize: 10,
73
+ // 外部接口选择对话框
74
+ externalApiDialogVisible: false,
75
+ externalApiList: [],
76
+ externalApiTotal: 0,
77
+ externalApiCurrentPage: 1,
78
+ externalApiPageSize: 10,
79
+ selectedExternalApis: [],
80
+ // 子智能体选择对话框
81
+ subAgentDialogVisible: false,
82
+ subAgentList: [],
83
+ subAgentTotal: 0,
84
+ subAgentCurrentPage: 1,
85
+ subAgentPageSize: 10,
86
+ selectedSubAgents: [],
87
+ // 技能选择对话框
88
+ skillDialogVisible: false,
89
+ skillActiveTab: "system",
90
+ skillList: [],
91
+ skillTotal: 0,
92
+ skillCurrentPage: 1,
93
+ skillPageSize: 10,
94
+ selectedSkills: [],
95
+ // MCP选择对话框
96
+ mcpDialogVisible: false,
97
+ mcpList: [],
98
+ mcpTotal: 0,
99
+ mcpCurrentPage: 1,
100
+ mcpPageSize: 10,
101
+ selectedMcps: [],
102
+ // 内置工具选择对话框
103
+ sysToolDialogVisible: false,
104
+ sysToolList: [],
105
+ sysToolTotal: 0,
106
+ sysToolCurrentPage: 1,
107
+ sysToolPageSize: 10,
108
+ selectedSysTools: [],
109
+ formData: {
110
+ ID: "",
111
+ NAME: "",
112
+ TYPE: "",
113
+ DESC: "",
114
+ ACTION: "",
115
+ META: "",
116
+ API: "",
117
+ TOKEN: "",
118
+ MCP_URL: "",
119
+ WORKFLOW: "",
120
+ SKILL_FILE: "",
121
+ ENABLE: 1,
122
+ CONFIRM: 0,
123
+ FORM_PAGE: "",
124
+ RESULT_PAGE: "",
125
+ USE_FORM_PAGE: 0,
126
+ USE_RESULT_PAGE: 0
127
+ },
128
+ formRules: {
129
+ NAME: [
130
+ { required: true, message: "请输入工具名称", trigger: "blur" }
131
+ ],
132
+ TYPE: [
133
+ { required: true, message: "请选择工具类型", trigger: "change" }
134
+ ],
135
+ DESC: [
136
+ { required: true, message: "请输入工具描述", trigger: "blur" }
137
+ ]
138
+ }
139
+ };
140
+ },
141
+ mounted() {
142
+ this.loadTools();
143
+ },
144
+ methods: {
145
+ // 加载工具列表
146
+ loadTools() {
147
+ this.$http.list({
148
+ action: "list",
149
+ entityId: "FM_AI_TOOL",
150
+ "scope.AGENT": this.$query.id,
151
+ order_field: "ORDER",
152
+ order_mode: "asc",
153
+ 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"
154
+ }).then((data) => {
155
+ const tools = data.entitys || [];
156
+ this.interfaceTools = tools.filter((t) => t.TYPE === "function");
157
+ this.externalTools = tools.filter((t) => t.TYPE === "api");
158
+ this.mcpTools = tools.filter((t) => t.TYPE === "mcp");
159
+ this.subAgentTools = tools.filter((t) => t.TYPE === "subagent");
160
+ this.skillTools = tools.filter((t) => t.TYPE === "skills");
161
+ this.sysTools = tools.filter((t) => t.TYPE === "sys_tool");
162
+ }).catch((err) => {
163
+ this.$message.error(err.message || "加载工具列表失败");
164
+ });
165
+ },
166
+ // 新增工具
167
+ handleAdd(type) {
168
+ if (type === "interface") {
169
+ this.showApiDialog();
170
+ } else if (type === "external") {
171
+ this.showExternalApiDialog();
172
+ } else if (type === "subagent") {
173
+ this.showSubAgentDialog();
174
+ } else if (type === "skill") {
175
+ this.showSkillDialog();
176
+ } else if (type === "mcp") {
177
+ this.showMcpDialog();
178
+ } else if (type === "systool") {
179
+ this.showSysToolDialog();
180
+ } else {
181
+ this.isEdit = false;
182
+ this.dialogTitle = "新增工具";
183
+ this.dialogVisible = true;
184
+ this.fileList = [];
185
+ this.formData = {
186
+ ID: "",
187
+ NAME: "",
188
+ TYPE: type,
189
+ DESC: "",
190
+ ACTION: "",
191
+ META: "",
192
+ API: "",
193
+ TOKEN: "",
194
+ MCP_URL: "",
195
+ WORKFLOW: "",
196
+ SKILL_FILE: "",
197
+ ENABLE: 1,
198
+ CONFIRM: 0,
199
+ FORM_PAGE: "",
200
+ RESULT_PAGE: "",
201
+ USE_FORM_PAGE: 0,
202
+ USE_RESULT_PAGE: 0
203
+ };
204
+ }
205
+ },
206
+ // 编辑工具
207
+ handleEdit(tool) {
208
+ this.isEdit = true;
209
+ this.dialogTitle = "编辑工具";
210
+ this.dialogVisible = true;
211
+ this.fileList = tool.SKILL_FILE ? [{ name: tool.SKILL_FILE }] : [];
212
+ this.formData = { ...tool };
213
+ },
214
+ // 删除工具
215
+ handleDelete(tool) {
216
+ this.$confirm("确定要删除该工具吗?", "提示", {
217
+ confirmButtonText: "确定",
218
+ cancelButtonText: "取消",
219
+ type: "warning"
220
+ }).then(() => {
221
+ this.$http.removeMulti({
222
+ entityId: "FM_AI_TOOL",
223
+ ids: tool.ID
224
+ }).then(() => {
225
+ this.$message.success("删除成功");
226
+ this.loadTools();
227
+ }).catch((err) => {
228
+ this.$message.error(err.message || "删除失败");
229
+ });
230
+ }).catch(() => {
231
+ });
232
+ },
233
+ // 下拉菜单命令
234
+ handleCommand(command, tool) {
235
+ if (command === "edit") {
236
+ this.handleEdit(tool);
237
+ } else if (command === "delete") {
238
+ this.handleDelete(tool);
239
+ }
240
+ },
241
+ // 文件上传
242
+ handleFileChange(file, fileList) {
243
+ this.fileList = fileList;
244
+ this.formData.SKILL_FILE = file.name;
245
+ },
246
+ // 显示对象接口选择对话框
247
+ showApiDialog() {
248
+ this.apiDialogVisible = true;
249
+ this.apiSearchKeyword = "";
250
+ this.apiCurrentPage = 1;
251
+ this.selectedApis = [];
252
+ this.selectedEntity = null;
253
+ this.apiList = [];
254
+ this.apiTotal = 0;
255
+ this.apiActiveTab = "frame";
256
+ this.frameApiCurrentPage = 1;
257
+ this.frameApiList = [];
258
+ this.frameApiTotal = 0;
259
+ this.loadFrameApiList();
260
+ },
261
+ // 标签页切换
262
+ handleApiTabChange(tab) {
263
+ if (tab.name === "frame" && this.frameApiList.length === 0) {
264
+ this.loadFrameApiList();
265
+ }
266
+ },
267
+ // 加载通用接口列表
268
+ loadFrameApiList() {
269
+ this.$http.list({
270
+ action: "list",
271
+ entityId: "FM_ENTITY_API",
272
+ page: this.frameApiCurrentPage,
273
+ limit: this.frameApiPageSize,
274
+ "scope.FRAME_API": "1",
275
+ columnFieldNames: "ID,ENTITY#,NAME,LABEL#,PARAM_EXPLAIN,FRAME_API"
276
+ }).then((data) => {
277
+ this.frameApiList = data.entitys || [];
278
+ this.frameApiTotal = data.total || 0;
279
+ }).catch((err) => {
280
+ this.$message.error(err.message || "加载通用接口列表失败");
281
+ });
282
+ },
283
+ // 通用接口分页切换
284
+ handleFrameApiPageChange(page) {
285
+ this.frameApiCurrentPage = page;
286
+ this.loadFrameApiList();
287
+ },
288
+ // 对象选择变化
289
+ handleEntityChange(value) {
290
+ this.selectedEntity = value;
291
+ this.apiCurrentPage = 1;
292
+ this.loadApiList();
293
+ },
294
+ // 加载对象接口列表
295
+ loadApiList() {
296
+ if (!this.selectedEntity) {
297
+ this.apiList = [];
298
+ this.apiTotal = 0;
299
+ return;
300
+ }
301
+ const params = {
302
+ action: "getEntityAllApi",
303
+ entityId: "FM_ENTITY_API",
304
+ metaId: this.selectedEntity.id || this.selectedEntity
305
+ };
306
+ this.$http.list(params).then((data) => {
307
+ this.apiList = data.entitys || [];
308
+ this.apiTotal = this.apiList.length;
309
+ }).catch((err) => {
310
+ this.$message.error(err.message || "加载接口列表失败");
311
+ });
312
+ },
313
+ // 搜索接口
314
+ handleApiSearch() {
315
+ this.apiCurrentPage = 1;
316
+ this.loadApiList();
317
+ },
318
+ // 分页切换
319
+ handleApiPageChange(page) {
320
+ this.apiCurrentPage = page;
321
+ this.loadApiList();
322
+ },
323
+ // 接口选择变化
324
+ handleApiSelectionChange(selection) {
325
+ const isFrame = this.apiActiveTab === "frame";
326
+ const tagged = selection.map((item) => ({ ...item, _isFrame: isFrame }));
327
+ const otherTab = this.selectedApis.filter((a) => a._isFrame !== isFrame);
328
+ this.selectedApis = [...otherTab, ...tagged];
329
+ },
330
+ // 移除已选择的接口
331
+ removeSelectedApi(index) {
332
+ this.selectedApis.splice(index, 1);
333
+ this.$refs.apiTable.clearSelection();
334
+ this.selectedApis.forEach((api) => {
335
+ const row = this.apiList.find((item) => item.ID === api.ID);
336
+ if (row) {
337
+ this.$refs.apiTable.toggleRowSelection(row, true);
338
+ }
339
+ });
340
+ },
341
+ // 确认接口选择
342
+ confirmApiSelection() {
343
+ if (this.selectedApis.length === 0) {
344
+ this.$message.warning("请至少选择一个接口");
345
+ return;
346
+ }
347
+ const promises = this.selectedApis.map((api) => {
348
+ const toolData = {
349
+ NAME: api.LABEL,
350
+ TYPE: "function",
351
+ DESC: api.PARAM_EXPLAIN || api.LABEL,
352
+ ACTION: api.ID,
353
+ META: api.ENTITY || this.selectedEntity.id,
354
+ AGENT: this.$query.id,
355
+ CLIENT: this.CLIENT,
356
+ SYSTEM: this.SYSTEM,
357
+ ENABLE: "1"
358
+ };
359
+ return this.$http.save({
360
+ action: "save",
361
+ entityId: "FM_AI_TOOL",
362
+ bean: toolData
363
+ });
364
+ });
365
+ Promise.all(promises).then(() => {
366
+ this.$message.success(`成功创建 ${this.selectedApis.length} 个工具`);
367
+ this.apiDialogVisible = false;
368
+ this.loadTools();
369
+ }).catch((err) => {
370
+ this.$message.error(err.message || "创建工具失败");
371
+ });
372
+ },
373
+ // 显示外部接口选择对话框
374
+ showExternalApiDialog() {
375
+ this.externalApiDialogVisible = true;
376
+ this.externalApiCurrentPage = 1;
377
+ this.selectedExternalApis = [];
378
+ this.loadExternalApiList();
379
+ },
380
+ // 加载外部接口列表
381
+ loadExternalApiList() {
382
+ const params = {
383
+ action: "list",
384
+ entityId: "FM_API_IN",
385
+ page: this.externalApiCurrentPage,
386
+ limit: this.externalApiPageSize,
387
+ columnFieldNames: "ID,CLIENT#,SYSTEM#,ENV#,NAME#,URL,NOTICE,METHOD,CONTENT_TYPE,ENABLE_RETRY,RETRY_COUNT,REQUEST_TIMEOUT,ASSERTION,ERROR_MSG,API_TYPE#,NEED_AUTH"
388
+ };
389
+ this.$http.list(params).then((data) => {
390
+ this.externalApiList = data.entitys || [];
391
+ this.externalApiTotal = data.total || 0;
392
+ }).catch((err) => {
393
+ this.$message.error(err.message || "加载外部接口列表失败");
394
+ });
395
+ },
396
+ // 外部接口分页切换
397
+ handleExternalApiPageChange(page) {
398
+ this.externalApiCurrentPage = page;
399
+ this.loadExternalApiList();
400
+ },
401
+ // 外部接口选择变化
402
+ handleExternalApiSelectionChange(selection) {
403
+ this.selectedExternalApis = selection;
404
+ },
405
+ // 移除已选择的外部接口
406
+ removeSelectedExternalApi(index) {
407
+ this.selectedExternalApis.splice(index, 1);
408
+ this.$refs.externalApiTable.clearSelection();
409
+ this.selectedExternalApis.forEach((api) => {
410
+ const row = this.externalApiList.find((item) => item.ID === api.ID);
411
+ if (row) {
412
+ this.$refs.externalApiTable.toggleRowSelection(row, true);
413
+ }
414
+ });
415
+ },
416
+ // 确认外部接口选择
417
+ confirmExternalApiSelection() {
418
+ if (this.selectedExternalApis.length === 0) {
419
+ this.$message.warning("请至少选择一个接口");
420
+ return;
421
+ }
422
+ const promises = this.selectedExternalApis.map((api) => {
423
+ const toolData = {
424
+ NAME: api.NAME,
425
+ TYPE: "api",
426
+ DESC: api.NOTICE || api.NAME,
427
+ API: api.ID,
428
+ AGENT: this.$query.id,
429
+ CLIENT: this.CLIENT,
430
+ SYSTEM: this.SYSTEM,
431
+ ENABLE: "1"
432
+ };
433
+ return this.$http.save({
434
+ action: "save",
435
+ entityId: "FM_AI_TOOL",
436
+ bean: toolData
437
+ });
438
+ });
439
+ Promise.all(promises).then(() => {
440
+ this.$message.success(`成功创建 ${this.selectedExternalApis.length} 个工具`);
441
+ this.externalApiDialogVisible = false;
442
+ this.loadTools();
443
+ }).catch((err) => {
444
+ this.$message.error(err.message || "创建工具失败");
445
+ });
446
+ },
447
+ // 显示子智能体选择对话框
448
+ showSubAgentDialog() {
449
+ this.subAgentDialogVisible = true;
450
+ this.subAgentCurrentPage = 1;
451
+ this.selectedSubAgents = [];
452
+ this.loadSubAgentList();
453
+ },
454
+ // 加载子智能体列表
455
+ loadSubAgentList() {
456
+ const params = {
457
+ action: "list",
458
+ entityId: "FM_SERVICE",
459
+ page: this.subAgentCurrentPage,
460
+ limit: this.subAgentPageSize,
461
+ "scope.TYPE": "agent",
462
+ columnFieldNames: "ID,CLIENT#,SYSTEM#,NAME#,CODE,STATUS#,AGENT_PROMPT,AGENT_TYPE,IMAGE"
463
+ };
464
+ this.$http.list(params).then((data) => {
465
+ this.subAgentList = data.entitys || [];
466
+ this.subAgentTotal = data.total || 0;
467
+ }).catch((err) => {
468
+ this.$message.error(err.message || "加载子智能体列表失败");
469
+ });
470
+ },
471
+ // 子智能体分页切换
472
+ handleSubAgentPageChange(page) {
473
+ this.subAgentCurrentPage = page;
474
+ this.loadSubAgentList();
475
+ },
476
+ // 子智能体拖拽排序结束,保存新的排序号
477
+ handleSubAgentDragEnd(evt) {
478
+ if (evt.oldIndex === evt.newIndex) return;
479
+ const orderString = this.subAgentTools.reduce((str, tool, index) => str += tool.ID + ":" + (index + 1) + ",", "");
480
+ this.$http.$post({
481
+ action: "moveList",
482
+ entityId: "FM_AI_TOOL",
483
+ orderString
484
+ }).then(() => {
485
+ this.$message.success("排序成功");
486
+ this.loadTools();
487
+ }).catch((err) => {
488
+ this.$message.error(err.message || "排序失败");
489
+ this.loadTools();
490
+ });
491
+ },
492
+ // 子智能体选择变化
493
+ handleSubAgentSelectionChange(selection) {
494
+ this.selectedSubAgents = selection;
495
+ },
496
+ // 移除已选择的子智能体
497
+ removeSelectedSubAgent(index) {
498
+ this.selectedSubAgents.splice(index, 1);
499
+ this.$refs.subAgentTable.clearSelection();
500
+ this.selectedSubAgents.forEach((agent) => {
501
+ const row = this.subAgentList.find((item) => item.ID === agent.ID);
502
+ if (row) {
503
+ this.$refs.subAgentTable.toggleRowSelection(row, true);
504
+ }
505
+ });
506
+ },
507
+ // 确认子智能体选择
508
+ confirmSubAgentSelection() {
509
+ if (this.selectedSubAgents.length === 0) {
510
+ this.$message.warning("请至少选择一个子智能体");
511
+ return;
512
+ }
513
+ const promises = this.selectedSubAgents.map((agent) => {
514
+ const toolData = {
515
+ NAME: agent.NAME,
516
+ TYPE: "subagent",
517
+ DESC: agent.AGENT_PROMPT || agent.NAME,
518
+ SUB_AGENT: agent.ID,
519
+ AGENT: this.$query.id,
520
+ CLIENT: this.CLIENT,
521
+ SYSTEM: this.SYSTEM,
522
+ ENABLE: "1"
523
+ };
524
+ return this.$http.save({
525
+ action: "save",
526
+ entityId: "FM_AI_TOOL",
527
+ bean: toolData
528
+ });
529
+ });
530
+ Promise.all(promises).then(() => {
531
+ this.$message.success(`成功创建 ${this.selectedSubAgents.length} 个工具`);
532
+ this.subAgentDialogVisible = false;
533
+ this.loadTools();
534
+ }).catch((err) => {
535
+ this.$message.error(err.message || "创建工具失败");
536
+ });
537
+ },
538
+ // 显示技能选择对话框
539
+ showSkillDialog() {
540
+ this.skillDialogVisible = true;
541
+ this.skillActiveTab = "system";
542
+ this.skillCurrentPage = 1;
543
+ this.selectedSkills = [];
544
+ this.loadSkillList();
545
+ },
546
+ // 加载技能列表
547
+ loadSkillList() {
548
+ const params = {
549
+ action: "list",
550
+ entityId: "FM_AI_SKILL",
551
+ page: this.skillCurrentPage,
552
+ limit: this.skillPageSize,
553
+ "scope.STATUS": "1",
554
+ columnFieldNames: "ID,NAME#,CODE,TYPE#,DESC,STATUS"
555
+ };
556
+ if (this.skillActiveTab === "platform") {
557
+ params["scope.SYSTEM|CODE"] = window.BASE_SYSTEM_ID;
558
+ } else {
559
+ params["scope.SYSTEM"] = this.SYSTEM;
560
+ }
561
+ this.$http.list(params).then((data) => {
562
+ this.skillList = data.entitys || [];
563
+ this.skillTotal = data.total || 0;
564
+ this.$nextTick(() => this.syncSkillTableSelection());
565
+ }).catch((err) => {
566
+ this.$message.error(err.message || "加载技能列表失败");
567
+ });
568
+ },
569
+ // 同步表格选中状态(保留跨标签页/分页的已选项)
570
+ syncSkillTableSelection() {
571
+ if (!this.$refs.skillTable) return;
572
+ this.$refs.skillTable.clearSelection();
573
+ this.selectedSkills.forEach((skill) => {
574
+ const row = this.skillList.find((item) => item.ID === skill.ID);
575
+ if (row) {
576
+ this.$refs.skillTable.toggleRowSelection(row, true);
577
+ }
578
+ });
579
+ },
580
+ // 技能标签页切换
581
+ handleSkillTabChange() {
582
+ this.skillCurrentPage = 1;
583
+ this.loadSkillList();
584
+ },
585
+ // 技能分页切换
586
+ handleSkillPageChange(page) {
587
+ this.skillCurrentPage = page;
588
+ this.loadSkillList();
589
+ },
590
+ // 单行勾选/取消勾选
591
+ handleSkillSelect(selection, row) {
592
+ const isSelected = selection.includes(row);
593
+ const idx = this.selectedSkills.findIndex((s) => s.ID === row.ID);
594
+ if (isSelected) {
595
+ if (idx === -1) {
596
+ this.selectedSkills.push({ ...row, _tab: this.skillActiveTab });
597
+ }
598
+ } else if (idx >= 0) {
599
+ this.selectedSkills.splice(idx, 1);
600
+ }
601
+ },
602
+ // 全选/取消全选(仅影响当前列表内的项)
603
+ handleSkillSelectAll(selection) {
604
+ const currentTab = this.skillActiveTab;
605
+ const currentIds = this.skillList.map((item) => item.ID);
606
+ const others = this.selectedSkills.filter((s) => !currentIds.includes(s.ID));
607
+ const tagged = selection.map((item) => ({ ...item, _tab: currentTab }));
608
+ this.selectedSkills = [...others, ...tagged];
609
+ },
610
+ // 移除已选择的技能
611
+ removeSelectedSkill(index) {
612
+ this.selectedSkills.splice(index, 1);
613
+ this.syncSkillTableSelection();
614
+ },
615
+ // 确认技能选择
616
+ confirmSkillSelection() {
617
+ if (this.selectedSkills.length === 0) {
618
+ this.$message.warning("请至少选择一个技能");
619
+ return;
620
+ }
621
+ const promises = this.selectedSkills.map((skill) => {
622
+ const toolData = {
623
+ NAME: skill.NAME,
624
+ TYPE: "skills",
625
+ DESC: skill.DESC || skill.NAME,
626
+ SKILL: skill.ID,
627
+ AGENT: this.$query.id,
628
+ CLIENT: this.CLIENT,
629
+ SYSTEM: this.SYSTEM,
630
+ ENABLE: "1"
631
+ };
632
+ return this.$http.save({
633
+ action: "save",
634
+ entityId: "FM_AI_TOOL",
635
+ bean: toolData
636
+ });
637
+ });
638
+ Promise.all(promises).then(() => {
639
+ this.$message.success(`成功创建 ${this.selectedSkills.length} 个技能`);
640
+ this.skillDialogVisible = false;
641
+ this.loadTools();
642
+ }).catch((err) => {
643
+ this.$message.error(err.message || "创建技能失败");
644
+ });
645
+ },
646
+ // 显示MCP选择对话框
647
+ showMcpDialog() {
648
+ this.mcpDialogVisible = true;
649
+ this.mcpCurrentPage = 1;
650
+ this.selectedMcps = [];
651
+ this.loadMcpList();
652
+ },
653
+ // 加载MCP列表
654
+ loadMcpList() {
655
+ this.$http.list({
656
+ action: "list",
657
+ entityId: "FM_AI_MCP",
658
+ page: this.mcpCurrentPage,
659
+ limit: this.mcpPageSize,
660
+ "scope.ENABLE": "1",
661
+ columnFieldNames: "ID,NAME#,CODE,TYPE#,URL,COMMAND,TOKEN,ENABLE"
662
+ }).then((data) => {
663
+ this.mcpList = data.entitys || [];
664
+ this.mcpTotal = data.total || 0;
665
+ }).catch((err) => {
666
+ this.$message.error(err.message || "加载MCP列表失败");
667
+ });
668
+ },
669
+ // MCP分页切换
670
+ handleMcpPageChange(page) {
671
+ this.mcpCurrentPage = page;
672
+ this.loadMcpList();
673
+ },
674
+ // MCP选择变化
675
+ handleMcpSelectionChange(selection) {
676
+ this.selectedMcps = selection;
677
+ },
678
+ // 移除已选择的MCP
679
+ removeSelectedMcp(index) {
680
+ this.selectedMcps.splice(index, 1);
681
+ this.$refs.mcpTable.clearSelection();
682
+ this.selectedMcps.forEach((mcp) => {
683
+ const row = this.mcpList.find((item) => item.ID === mcp.ID);
684
+ if (row) {
685
+ this.$refs.mcpTable.toggleRowSelection(row, true);
686
+ }
687
+ });
688
+ },
689
+ // 确认MCP选择
690
+ confirmMcpSelection() {
691
+ if (this.selectedMcps.length === 0) {
692
+ this.$message.warning("请至少选择一个MCP");
693
+ return;
694
+ }
695
+ const promises = this.selectedMcps.map((mcp) => {
696
+ const toolData = {
697
+ NAME: mcp.NAME,
698
+ TYPE: "mcp",
699
+ DESC: mcp.NAME,
700
+ MCP: mcp.ID,
701
+ AGENT: this.$query.id,
702
+ CLIENT: this.CLIENT,
703
+ SYSTEM: this.SYSTEM,
704
+ ENABLE: "1"
705
+ };
706
+ return this.$http.save({
707
+ action: "save",
708
+ entityId: "FM_AI_TOOL",
709
+ bean: toolData
710
+ });
711
+ });
712
+ Promise.all(promises).then(() => {
713
+ this.$message.success(`成功创建 ${this.selectedMcps.length} 个MCP工具`);
714
+ this.mcpDialogVisible = false;
715
+ this.loadTools();
716
+ }).catch((err) => {
717
+ this.$message.error(err.message || "创建MCP工具失败");
718
+ });
719
+ },
720
+ // 显示内置工具选择对话框
721
+ showSysToolDialog() {
722
+ this.sysToolDialogVisible = true;
723
+ this.sysToolCurrentPage = 1;
724
+ this.selectedSysTools = [];
725
+ this.loadSysToolList();
726
+ },
727
+ // 加载内置工具列表
728
+ loadSysToolList() {
729
+ this.$http.list({
730
+ action: "list",
731
+ entityId: "FM_AI_SYS_TOOL",
732
+ page: this.sysToolCurrentPage,
733
+ limit: this.sysToolPageSize,
734
+ "scope.ENABLE": "1",
735
+ columnFieldNames: "ID,NAME,CODE,DESC,ENABLE"
736
+ }).then((data) => {
737
+ this.sysToolList = data.entitys || [];
738
+ this.sysToolTotal = data.total || 0;
739
+ }).catch((err) => {
740
+ this.$message.error(err.message || "加载内置工具列表失败");
741
+ });
742
+ },
743
+ // 内置工具分页切换
744
+ handleSysToolPageChange(page) {
745
+ this.sysToolCurrentPage = page;
746
+ this.loadSysToolList();
747
+ },
748
+ // 内置工具选择变化
749
+ handleSysToolSelectionChange(selection) {
750
+ this.selectedSysTools = selection;
751
+ },
752
+ // 移除已选择的内置工具
753
+ removeSelectedSysTool(index) {
754
+ this.selectedSysTools.splice(index, 1);
755
+ this.$refs.sysToolTable.clearSelection();
756
+ this.selectedSysTools.forEach((sysTool) => {
757
+ const row = this.sysToolList.find((item) => item.ID === sysTool.ID);
758
+ if (row) {
759
+ this.$refs.sysToolTable.toggleRowSelection(row, true);
760
+ }
761
+ });
762
+ },
763
+ // 确认内置工具选择
764
+ confirmSysToolSelection() {
765
+ if (this.selectedSysTools.length === 0) {
766
+ this.$message.warning("请至少选择一个内置工具");
767
+ return;
768
+ }
769
+ const promises = this.selectedSysTools.map((sysTool) => {
770
+ const toolData = {
771
+ NAME: sysTool.NAME,
772
+ TYPE: "sys_tool",
773
+ DESC: sysTool.DESC || sysTool.NAME,
774
+ SYS_TOOL: sysTool.ID,
775
+ AGENT: this.$query.id,
776
+ CLIENT: this.CLIENT,
777
+ SYSTEM: this.SYSTEM,
778
+ ENABLE: "1"
779
+ };
780
+ return this.$http.save({
781
+ action: "save",
782
+ entityId: "FM_AI_TOOL",
783
+ bean: toolData
784
+ });
785
+ });
786
+ Promise.all(promises).then(() => {
787
+ this.$message.success(`成功创建 ${this.selectedSysTools.length} 个内置工具`);
788
+ this.sysToolDialogVisible = false;
789
+ this.loadTools();
790
+ }).catch((err) => {
791
+ this.$message.error(err.message || "创建内置工具失败");
792
+ });
793
+ },
794
+ // 提交表单
795
+ handleSubmit() {
796
+ this.$refs.toolForm.validate((valid) => {
797
+ if (valid) {
798
+ this.submitLoading = true;
799
+ const action = this.isEdit ? "update" : "save";
800
+ this.$http[action]({
801
+ action,
802
+ entityId: "FM_AI_TOOL",
803
+ entity: JSON.stringify(this.formData)
804
+ }).then(() => {
805
+ this.$message.success(this.isEdit ? "更新成功" : "新增成功");
806
+ this.dialogVisible = false;
807
+ this.loadTools();
808
+ }).catch((err) => {
809
+ this.$message.error(err.message || "操作失败");
810
+ }).finally(() => {
811
+ this.submitLoading = false;
812
+ });
813
+ }
814
+ });
815
+ },
816
+ // 点击技能卡片打开页面弹窗
817
+ handleSkillClick(skill) {
818
+ if (!this.$configs.skillPageId) {
819
+ this.$message.warning("未配置技能页面");
820
+ return;
821
+ }
822
+ this.goPage({
823
+ pageId: this.$configs.skillPageId,
824
+ openMode: "2",
825
+ params: {
826
+ id: skill.SKILL
827
+ }
828
+ });
829
+ },
830
+ // 点击对象接口查看接口文档
831
+ handleApiClick(tool) {
832
+ if (!this.$configs.apiPageId) {
833
+ this.$message.warning("未配置接口文档页面");
834
+ return;
835
+ }
836
+ this.goPage({
837
+ pageId: this.$configs.apiPageId,
838
+ openMode: "2",
839
+ params: {
840
+ metaId: tool["API|ENTITY"] || tool.META,
841
+ api: tool["API|NAME"]
842
+ }
843
+ });
844
+ }
845
+ }
846
+ };
847
+ const _hoisted_1 = { class: "ai-tool-manager" };
848
+ const _hoisted_2 = { class: "tool-section" };
849
+ const _hoisted_3 = { class: "tool-cards" };
850
+ const _hoisted_4 = ["onClick"];
851
+ const _hoisted_5 = { class: "card-header" };
852
+ const _hoisted_6 = { class: "card-title-group" };
853
+ const _hoisted_7 = { class: "card-title" };
854
+ const _hoisted_8 = { class: "card-code" };
855
+ const _hoisted_9 = { class: "card-content" };
856
+ const _hoisted_10 = { class: "card-line" };
857
+ const _hoisted_11 = { class: "tool-section" };
858
+ const _hoisted_12 = { class: "tool-cards" };
859
+ const _hoisted_13 = ["onClick"];
860
+ const _hoisted_14 = { class: "card-header" };
861
+ const _hoisted_15 = { class: "card-title-group" };
862
+ const _hoisted_16 = { class: "card-title" };
863
+ const _hoisted_17 = { class: "card-code" };
864
+ const _hoisted_18 = { class: "card-content" };
865
+ const _hoisted_19 = { class: "card-line" };
866
+ const _hoisted_20 = { class: "card-line" };
867
+ const _hoisted_21 = { class: "tool-section" };
868
+ const _hoisted_22 = { class: "tool-cards" };
869
+ const _hoisted_23 = { class: "card-header" };
870
+ const _hoisted_24 = { class: "card-title-group" };
871
+ const _hoisted_25 = { class: "card-title" };
872
+ const _hoisted_26 = { class: "card-content" };
873
+ const _hoisted_27 = { class: "card-line" };
874
+ const _hoisted_28 = { class: "tool-section" };
875
+ const _hoisted_29 = { class: "tool-cards" };
876
+ const _hoisted_30 = { class: "card-header" };
877
+ const _hoisted_31 = { class: "card-title-group" };
878
+ const _hoisted_32 = { class: "card-title" };
879
+ const _hoisted_33 = { class: "card-code" };
880
+ const _hoisted_34 = { class: "card-content" };
881
+ const _hoisted_35 = { class: "card-line" };
882
+ const _hoisted_36 = { class: "tool-section" };
883
+ const _hoisted_37 = { class: "tool-cards" };
884
+ const _hoisted_38 = { class: "card-header" };
885
+ const _hoisted_39 = { class: "card-title-group" };
886
+ const _hoisted_40 = { class: "card-title" };
887
+ const _hoisted_41 = { class: "card-code" };
888
+ const _hoisted_42 = { class: "card-content" };
889
+ const _hoisted_43 = { class: "card-line" };
890
+ const _hoisted_44 = { class: "card-line" };
891
+ const _hoisted_45 = { class: "tool-section" };
892
+ const _hoisted_46 = { class: "card-icon-wrapper" };
893
+ const _hoisted_47 = ["src"];
894
+ const _hoisted_48 = { class: "card-main" };
895
+ const _hoisted_49 = { class: "card-header" };
896
+ const _hoisted_50 = { class: "card-title-group" };
897
+ const _hoisted_51 = { class: "card-title" };
898
+ const _hoisted_52 = { class: "card-code" };
899
+ const _hoisted_53 = { class: "card-content" };
900
+ const _hoisted_54 = { class: "card-line" };
901
+ const _hoisted_55 = { class: "dialog-footer" };
902
+ const _hoisted_56 = { class: "api-dialog-content" };
903
+ const _hoisted_57 = { class: "api-list-panel" };
904
+ const _hoisted_58 = { class: "filter-bar" };
905
+ const _hoisted_59 = { class: "filter-item" };
906
+ const _hoisted_60 = {
907
+ key: 1,
908
+ class: "empty-table-tip"
909
+ };
910
+ const _hoisted_61 = { class: "api-selected-panel" };
911
+ const _hoisted_62 = { class: "selected-list" };
912
+ const _hoisted_63 = { class: "item-header" };
913
+ const _hoisted_64 = { class: "item-title" };
914
+ const _hoisted_65 = { class: "item-content" };
915
+ const _hoisted_66 = { class: "content-line" };
916
+ const _hoisted_67 = { class: "content-line" };
917
+ const _hoisted_68 = {
918
+ key: 0,
919
+ class: "empty-tip"
920
+ };
921
+ const _hoisted_69 = { class: "panel-footer" };
922
+ const _hoisted_70 = { class: "count-text" };
923
+ const _hoisted_71 = { class: "footer-actions" };
924
+ const _hoisted_72 = { class: "api-dialog-content" };
925
+ const _hoisted_73 = { class: "api-list-panel" };
926
+ const _hoisted_74 = { class: "api-selected-panel" };
927
+ const _hoisted_75 = { class: "selected-list" };
928
+ const _hoisted_76 = { class: "item-header" };
929
+ const _hoisted_77 = { class: "item-title" };
930
+ const _hoisted_78 = { class: "item-content" };
931
+ const _hoisted_79 = { class: "content-line" };
932
+ const _hoisted_80 = {
933
+ key: 0,
934
+ class: "empty-tip"
935
+ };
936
+ const _hoisted_81 = { class: "panel-footer" };
937
+ const _hoisted_82 = { class: "count-text" };
938
+ const _hoisted_83 = { class: "footer-actions" };
939
+ const _hoisted_84 = { class: "api-dialog-content" };
940
+ const _hoisted_85 = { class: "api-list-panel" };
941
+ const _hoisted_86 = { class: "api-selected-panel" };
942
+ const _hoisted_87 = { class: "selected-list" };
943
+ const _hoisted_88 = { class: "item-header" };
944
+ const _hoisted_89 = { class: "item-header-left" };
945
+ const _hoisted_90 = { class: "item-icon" };
946
+ const _hoisted_91 = ["src"];
947
+ const _hoisted_92 = { class: "item-title" };
948
+ const _hoisted_93 = { class: "item-content" };
949
+ const _hoisted_94 = { class: "content-line" };
950
+ const _hoisted_95 = { class: "content-line" };
951
+ const _hoisted_96 = {
952
+ key: 0,
953
+ class: "empty-tip"
954
+ };
955
+ const _hoisted_97 = { class: "panel-footer" };
956
+ const _hoisted_98 = { class: "count-text" };
957
+ const _hoisted_99 = { class: "footer-actions" };
958
+ const _hoisted_100 = { class: "api-dialog-content" };
959
+ const _hoisted_101 = { class: "api-list-panel" };
960
+ const _hoisted_102 = { class: "api-selected-panel" };
961
+ const _hoisted_103 = { class: "selected-list" };
962
+ const _hoisted_104 = { class: "item-header" };
963
+ const _hoisted_105 = { class: "item-title" };
964
+ const _hoisted_106 = { class: "item-content" };
965
+ const _hoisted_107 = { class: "content-line" };
966
+ const _hoisted_108 = { class: "content-line" };
967
+ const _hoisted_109 = {
968
+ key: 0,
969
+ class: "empty-tip"
970
+ };
971
+ const _hoisted_110 = { class: "panel-footer" };
972
+ const _hoisted_111 = { class: "count-text" };
973
+ const _hoisted_112 = { class: "footer-actions" };
974
+ const _hoisted_113 = { class: "api-dialog-content" };
975
+ const _hoisted_114 = { class: "api-list-panel" };
976
+ const _hoisted_115 = { class: "api-selected-panel" };
977
+ const _hoisted_116 = { class: "selected-list" };
978
+ const _hoisted_117 = { class: "item-header" };
979
+ const _hoisted_118 = { class: "item-title" };
980
+ const _hoisted_119 = { class: "item-content" };
981
+ const _hoisted_120 = { class: "content-line" };
982
+ const _hoisted_121 = { class: "content-line" };
983
+ const _hoisted_122 = {
984
+ key: 0,
985
+ class: "empty-tip"
986
+ };
987
+ const _hoisted_123 = { class: "panel-footer" };
988
+ const _hoisted_124 = { class: "count-text" };
989
+ const _hoisted_125 = { class: "footer-actions" };
990
+ const _hoisted_126 = { class: "api-dialog-content" };
991
+ const _hoisted_127 = { class: "api-list-panel" };
992
+ const _hoisted_128 = { class: "api-selected-panel" };
993
+ const _hoisted_129 = { class: "selected-list" };
994
+ const _hoisted_130 = { class: "item-header" };
995
+ const _hoisted_131 = { class: "item-title" };
996
+ const _hoisted_132 = { class: "item-content" };
997
+ const _hoisted_133 = { class: "content-line" };
998
+ const _hoisted_134 = { class: "content-line" };
999
+ const _hoisted_135 = { class: "content-line" };
1000
+ const _hoisted_136 = {
1001
+ key: 0,
1002
+ class: "empty-tip"
1003
+ };
1004
+ const _hoisted_137 = { class: "panel-footer" };
1005
+ const _hoisted_138 = { class: "count-text" };
1006
+ const _hoisted_139 = { class: "footer-actions" };
1007
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1008
+ const _component_el_button = resolveComponent("el-button");
1009
+ const _component_el_tag = resolveComponent("el-tag");
1010
+ const _component_draggable = resolveComponent("draggable");
1011
+ const _component_el_input = resolveComponent("el-input");
1012
+ const _component_el_form_item = resolveComponent("el-form-item");
1013
+ const _component_el_option = resolveComponent("el-option");
1014
+ const _component_el_select = resolveComponent("el-select");
1015
+ const _component_el_upload = resolveComponent("el-upload");
1016
+ const _component_el_switch = resolveComponent("el-switch");
1017
+ const _component_el_form = resolveComponent("el-form");
1018
+ const _component_el_dialog = resolveComponent("el-dialog");
1019
+ const _component_el_table_column = resolveComponent("el-table-column");
1020
+ const _component_el_link = resolveComponent("el-link");
1021
+ const _component_el_table = resolveComponent("el-table");
1022
+ const _component_el_pagination = resolveComponent("el-pagination");
1023
+ const _component_el_tab_pane = resolveComponent("el-tab-pane");
1024
+ const _component_epx_object = resolveComponent("epx-object");
1025
+ const _component_el_tabs = resolveComponent("el-tabs");
1026
+ return openBlock(), createElementBlock("div", _hoisted_1, [
1027
+ createElementVNode("div", _hoisted_2, [
1028
+ _cache[46] || (_cache[46] = createElementVNode("div", { class: "section-header" }, [
1029
+ createElementVNode("span", { class: "section-title" }, "技能")
1030
+ ], -1)),
1031
+ createElementVNode("div", _hoisted_3, [
1032
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.skillTools, (skill) => {
1033
+ return openBlock(), createElementBlock("div", {
1034
+ key: skill.ID,
1035
+ class: "tool-card skill-card",
1036
+ onClick: ($event) => $options.handleSkillClick(skill)
1037
+ }, [
1038
+ createElementVNode("div", _hoisted_5, [
1039
+ createElementVNode("div", _hoisted_6, [
1040
+ createElementVNode("span", _hoisted_7, toDisplayString(skill["SKILL|NAME"] || skill.NAME), 1),
1041
+ createElementVNode("span", _hoisted_8, "| " + toDisplayString(skill["SKILL|CODE"]), 1)
1042
+ ]),
1043
+ createVNode(_component_el_button, {
1044
+ type: "primary",
1045
+ link: "",
1046
+ icon: "el-icon-delete-solid",
1047
+ class: "card-delete-btn",
1048
+ onClick: withModifiers(($event) => $options.handleDelete(skill), ["stop"])
1049
+ }, null, 8, ["onClick"])
1050
+ ]),
1051
+ createElementVNode("div", _hoisted_9, [
1052
+ createElementVNode("div", _hoisted_10, "技能描述:" + toDisplayString(skill["SKILL|DESC"]), 1)
1053
+ ])
1054
+ ], 8, _hoisted_4);
1055
+ }), 128)),
1056
+ createElementVNode("div", {
1057
+ class: "tool-card add-card",
1058
+ onClick: _cache[0] || (_cache[0] = ($event) => $options.handleAdd("skill"))
1059
+ }, [..._cache[45] || (_cache[45] = [
1060
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1061
+ createElementVNode("div", { class: "add-text" }, "添加技能", -1)
1062
+ ])])
1063
+ ])
1064
+ ]),
1065
+ createElementVNode("div", _hoisted_11, [
1066
+ _cache[49] || (_cache[49] = createElementVNode("div", { class: "section-header" }, [
1067
+ createElementVNode("span", { class: "section-title" }, "对象接口工具")
1068
+ ], -1)),
1069
+ createElementVNode("div", _hoisted_12, [
1070
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.interfaceTools, (tool) => {
1071
+ return openBlock(), createElementBlock("div", {
1072
+ key: tool.ID,
1073
+ class: "tool-card interface-card clickable",
1074
+ onClick: ($event) => $options.handleApiClick(tool)
1075
+ }, [
1076
+ createElementVNode("div", _hoisted_14, [
1077
+ createElementVNode("div", _hoisted_15, [
1078
+ tool["API|FRAME_API"] ? (openBlock(), createBlock(_component_el_tag, {
1079
+ key: 0,
1080
+ size: "small",
1081
+ type: "warning"
1082
+ }, {
1083
+ default: withCtx(() => [..._cache[47] || (_cache[47] = [
1084
+ createTextVNode("通用", -1)
1085
+ ])]),
1086
+ _: 1
1087
+ })) : createCommentVNode("", true),
1088
+ createElementVNode("span", _hoisted_16, toDisplayString(tool["API|LABEL"] || tool.NAME), 1),
1089
+ createElementVNode("span", _hoisted_17, "| " + toDisplayString(tool["API|NAME"]), 1)
1090
+ ]),
1091
+ createVNode(_component_el_button, {
1092
+ type: "primary",
1093
+ link: "",
1094
+ icon: "el-icon-delete-solid",
1095
+ class: "card-delete-btn",
1096
+ onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
1097
+ }, null, 8, ["onClick"])
1098
+ ]),
1099
+ createElementVNode("div", _hoisted_18, [
1100
+ createElementVNode("div", _hoisted_19, "所属对象:" + toDisplayString(tool["API|ENTITY#"] || tool["META#"]), 1),
1101
+ createElementVNode("div", _hoisted_20, "接口说明:" + toDisplayString(tool["API|PARAM_EXPLAIN"]), 1)
1102
+ ])
1103
+ ], 8, _hoisted_13);
1104
+ }), 128)),
1105
+ createElementVNode("div", {
1106
+ class: "tool-card add-card",
1107
+ onClick: _cache[1] || (_cache[1] = ($event) => $options.handleAdd("interface"))
1108
+ }, [..._cache[48] || (_cache[48] = [
1109
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1110
+ createElementVNode("div", { class: "add-text" }, "添加对象接口工具", -1)
1111
+ ])])
1112
+ ])
1113
+ ]),
1114
+ createElementVNode("div", _hoisted_21, [
1115
+ _cache[51] || (_cache[51] = createElementVNode("div", { class: "section-header" }, [
1116
+ createElementVNode("span", { class: "section-title" }, "外部接口工具")
1117
+ ], -1)),
1118
+ createElementVNode("div", _hoisted_22, [
1119
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.externalTools, (tool) => {
1120
+ return openBlock(), createElementBlock("div", {
1121
+ key: tool.ID,
1122
+ class: "tool-card external-card"
1123
+ }, [
1124
+ createElementVNode("div", _hoisted_23, [
1125
+ createElementVNode("div", _hoisted_24, [
1126
+ createElementVNode("span", _hoisted_25, toDisplayString(tool["OUT_API|NAME"] || tool.NAME), 1)
1127
+ ]),
1128
+ createVNode(_component_el_button, {
1129
+ type: "primary",
1130
+ link: "",
1131
+ icon: "el-icon-delete-solid",
1132
+ class: "card-delete-btn",
1133
+ onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
1134
+ }, null, 8, ["onClick"])
1135
+ ]),
1136
+ createElementVNode("div", _hoisted_26, [
1137
+ createElementVNode("div", _hoisted_27, "接口说明:" + toDisplayString(tool["OUT_API|NOTICE"]), 1)
1138
+ ])
1139
+ ]);
1140
+ }), 128)),
1141
+ createElementVNode("div", {
1142
+ class: "tool-card add-card",
1143
+ onClick: _cache[2] || (_cache[2] = ($event) => $options.handleAdd("external"))
1144
+ }, [..._cache[50] || (_cache[50] = [
1145
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1146
+ createElementVNode("div", { class: "add-text" }, "添加外部接口工具", -1)
1147
+ ])])
1148
+ ])
1149
+ ]),
1150
+ createElementVNode("div", _hoisted_28, [
1151
+ _cache[53] || (_cache[53] = createElementVNode("div", { class: "section-header" }, [
1152
+ createElementVNode("span", { class: "section-title" }, "内置工具")
1153
+ ], -1)),
1154
+ createElementVNode("div", _hoisted_29, [
1155
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.sysTools, (tool) => {
1156
+ return openBlock(), createElementBlock("div", {
1157
+ key: tool.ID,
1158
+ class: "tool-card sys-tool-card"
1159
+ }, [
1160
+ createElementVNode("div", _hoisted_30, [
1161
+ createElementVNode("div", _hoisted_31, [
1162
+ createElementVNode("span", _hoisted_32, toDisplayString(tool["SYS_TOOL|NAME"] || tool.NAME), 1),
1163
+ createElementVNode("span", _hoisted_33, "| " + toDisplayString(tool["SYS_TOOL|CODE"]), 1)
1164
+ ]),
1165
+ createVNode(_component_el_button, {
1166
+ type: "text",
1167
+ icon: "el-icon-delete-solid",
1168
+ class: "card-delete-btn",
1169
+ onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
1170
+ }, null, 8, ["onClick"])
1171
+ ]),
1172
+ createElementVNode("div", _hoisted_34, [
1173
+ createElementVNode("div", _hoisted_35, "工具描述:" + toDisplayString(tool["SYS_TOOL|DESC"]), 1)
1174
+ ])
1175
+ ]);
1176
+ }), 128)),
1177
+ createElementVNode("div", {
1178
+ class: "tool-card add-card",
1179
+ onClick: _cache[3] || (_cache[3] = ($event) => $options.handleAdd("systool"))
1180
+ }, [..._cache[52] || (_cache[52] = [
1181
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1182
+ createElementVNode("div", { class: "add-text" }, "添加内置工具", -1)
1183
+ ])])
1184
+ ])
1185
+ ]),
1186
+ createElementVNode("div", _hoisted_36, [
1187
+ _cache[55] || (_cache[55] = createElementVNode("div", { class: "section-header" }, [
1188
+ createElementVNode("span", { class: "section-title" }, "MCP工具")
1189
+ ], -1)),
1190
+ createElementVNode("div", _hoisted_37, [
1191
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.mcpTools, (tool) => {
1192
+ return openBlock(), createElementBlock("div", {
1193
+ key: tool.ID,
1194
+ class: "tool-card mcp-card"
1195
+ }, [
1196
+ createElementVNode("div", _hoisted_38, [
1197
+ createElementVNode("div", _hoisted_39, [
1198
+ createElementVNode("span", _hoisted_40, toDisplayString(tool["MCP|NAME"] || tool.NAME), 1),
1199
+ createElementVNode("span", _hoisted_41, "| " + toDisplayString(tool["MCP|CODE"]), 1)
1200
+ ]),
1201
+ createVNode(_component_el_button, {
1202
+ type: "primary",
1203
+ link: "",
1204
+ icon: "el-icon-delete-solid",
1205
+ class: "card-delete-btn",
1206
+ onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
1207
+ }, null, 8, ["onClick"])
1208
+ ]),
1209
+ createElementVNode("div", _hoisted_42, [
1210
+ createElementVNode("div", _hoisted_43, "请求类型:" + toDisplayString(tool["MCP|TYPE"]), 1),
1211
+ createElementVNode("div", _hoisted_44, "地址/命令:" + toDisplayString(tool["MCP|URL"] || tool["MCP|COMMAND"]), 1)
1212
+ ])
1213
+ ]);
1214
+ }), 128)),
1215
+ createElementVNode("div", {
1216
+ class: "tool-card add-card",
1217
+ onClick: _cache[4] || (_cache[4] = ($event) => $options.handleAdd("mcp"))
1218
+ }, [..._cache[54] || (_cache[54] = [
1219
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1220
+ createElementVNode("div", { class: "add-text" }, "添加MCP工具", -1)
1221
+ ])])
1222
+ ])
1223
+ ]),
1224
+ createElementVNode("div", _hoisted_45, [
1225
+ _cache[57] || (_cache[57] = createElementVNode("div", { class: "section-header" }, [
1226
+ createElementVNode("span", { class: "section-title" }, "子智能体工具")
1227
+ ], -1)),
1228
+ createVNode(_component_draggable, mergeProps({
1229
+ modelValue: $data.subAgentTools,
1230
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.subAgentTools = $event),
1231
+ class: "tool-cards"
1232
+ }, $options.subAgentDragOptions, { onEnd: $options.handleSubAgentDragEnd }), {
1233
+ footer: withCtx(() => [
1234
+ createElementVNode("div", {
1235
+ class: "tool-card add-card",
1236
+ onClick: _cache[5] || (_cache[5] = ($event) => $options.handleAdd("subagent"))
1237
+ }, [..._cache[56] || (_cache[56] = [
1238
+ createElementVNode("div", { class: "add-icon" }, "+", -1),
1239
+ createElementVNode("div", { class: "add-text" }, "添加子智能体", -1)
1240
+ ])])
1241
+ ]),
1242
+ default: withCtx(() => [
1243
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.subAgentTools, (tool) => {
1244
+ return openBlock(), createElementBlock("div", {
1245
+ key: tool.ID,
1246
+ class: "tool-card subagent-card"
1247
+ }, [
1248
+ createElementVNode("div", _hoisted_46, [
1249
+ createElementVNode("img", {
1250
+ src: $options.getSubAgentIcon(tool),
1251
+ alt: "icon"
1252
+ }, null, 8, _hoisted_47)
1253
+ ]),
1254
+ createElementVNode("div", _hoisted_48, [
1255
+ createElementVNode("div", _hoisted_49, [
1256
+ createElementVNode("div", _hoisted_50, [
1257
+ createElementVNode("span", _hoisted_51, toDisplayString(tool["SUB_AGENT|NAME"] || tool.NAME), 1),
1258
+ createElementVNode("span", _hoisted_52, "| " + toDisplayString(tool["SUB_AGENT|CODE"]), 1)
1259
+ ]),
1260
+ createVNode(_component_el_button, {
1261
+ type: "primary",
1262
+ link: "",
1263
+ icon: "el-icon-delete-solid",
1264
+ class: "card-delete-btn",
1265
+ onClick: withModifiers(($event) => $options.handleDelete(tool), ["stop"])
1266
+ }, null, 8, ["onClick"])
1267
+ ]),
1268
+ createElementVNode("div", _hoisted_53, [
1269
+ createElementVNode("div", _hoisted_54, "应用简介:" + toDisplayString(tool["SUB_AGENT|AGENT_PROMPT"]), 1)
1270
+ ])
1271
+ ])
1272
+ ]);
1273
+ }), 128))
1274
+ ]),
1275
+ _: 1
1276
+ }, 16, ["modelValue", "onEnd"])
1277
+ ]),
1278
+ createVNode(_component_el_dialog, {
1279
+ title: $data.dialogTitle,
1280
+ modelValue: $data.dialogVisible,
1281
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $data.dialogVisible = $event),
1282
+ width: "600px",
1283
+ "close-on-click-modal": false
1284
+ }, {
1285
+ footer: withCtx(() => [
1286
+ createElementVNode("div", _hoisted_55, [
1287
+ createVNode(_component_el_button, {
1288
+ onClick: _cache[22] || (_cache[22] = ($event) => $data.dialogVisible = false)
1289
+ }, {
1290
+ default: withCtx(() => [..._cache[60] || (_cache[60] = [
1291
+ createTextVNode("取消", -1)
1292
+ ])]),
1293
+ _: 1
1294
+ }),
1295
+ createVNode(_component_el_button, {
1296
+ type: "primary",
1297
+ loading: $data.submitLoading,
1298
+ onClick: $options.handleSubmit
1299
+ }, {
1300
+ default: withCtx(() => [..._cache[61] || (_cache[61] = [
1301
+ createTextVNode("确定", -1)
1302
+ ])]),
1303
+ _: 1
1304
+ }, 8, ["loading", "onClick"])
1305
+ ])
1306
+ ]),
1307
+ default: withCtx(() => [
1308
+ createVNode(_component_el_form, {
1309
+ ref: "toolForm",
1310
+ model: $data.formData,
1311
+ rules: $data.formRules,
1312
+ "label-width": "120px"
1313
+ }, {
1314
+ default: withCtx(() => [
1315
+ createVNode(_component_el_form_item, {
1316
+ label: "工具名称",
1317
+ prop: "NAME"
1318
+ }, {
1319
+ default: withCtx(() => [
1320
+ createVNode(_component_el_input, {
1321
+ modelValue: $data.formData.NAME,
1322
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.formData.NAME = $event),
1323
+ placeholder: "请输入工具名称"
1324
+ }, null, 8, ["modelValue"])
1325
+ ]),
1326
+ _: 1
1327
+ }),
1328
+ createVNode(_component_el_form_item, {
1329
+ label: "工具类型",
1330
+ prop: "TYPE"
1331
+ }, {
1332
+ default: withCtx(() => [
1333
+ createVNode(_component_el_select, {
1334
+ modelValue: $data.formData.TYPE,
1335
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.formData.TYPE = $event),
1336
+ placeholder: "请选择工具类型",
1337
+ style: { "width": "100%" },
1338
+ disabled: ""
1339
+ }, {
1340
+ default: withCtx(() => [
1341
+ createVNode(_component_el_option, {
1342
+ label: "对象接口工具",
1343
+ value: "interface"
1344
+ }),
1345
+ createVNode(_component_el_option, {
1346
+ label: "外部接口工具",
1347
+ value: "external"
1348
+ }),
1349
+ createVNode(_component_el_option, {
1350
+ label: "MCP工具",
1351
+ value: "mcp"
1352
+ }),
1353
+ createVNode(_component_el_option, {
1354
+ label: "子智能体工具",
1355
+ value: "subagent"
1356
+ })
1357
+ ]),
1358
+ _: 1
1359
+ }, 8, ["modelValue"])
1360
+ ]),
1361
+ _: 1
1362
+ }),
1363
+ createVNode(_component_el_form_item, {
1364
+ label: "工具描述",
1365
+ prop: "DESC"
1366
+ }, {
1367
+ default: withCtx(() => [
1368
+ createVNode(_component_el_input, {
1369
+ modelValue: $data.formData.DESC,
1370
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.formData.DESC = $event),
1371
+ type: "textarea",
1372
+ rows: 3,
1373
+ placeholder: "请输入工具描述"
1374
+ }, null, 8, ["modelValue"])
1375
+ ]),
1376
+ _: 1
1377
+ }),
1378
+ $data.formData.TYPE === "interface" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1379
+ createVNode(_component_el_form_item, {
1380
+ label: "对象接口",
1381
+ prop: "ACTION"
1382
+ }, {
1383
+ default: withCtx(() => [
1384
+ createVNode(_component_el_input, {
1385
+ modelValue: $data.formData.ACTION,
1386
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $data.formData.ACTION = $event),
1387
+ placeholder: "请选择对象接口",
1388
+ readonly: ""
1389
+ }, {
1390
+ append: withCtx(() => [
1391
+ createVNode(_component_el_button, {
1392
+ icon: "el-icon-search",
1393
+ onClick: $options.showApiDialog
1394
+ }, {
1395
+ default: withCtx(() => [..._cache[58] || (_cache[58] = [
1396
+ createTextVNode("选择接口", -1)
1397
+ ])]),
1398
+ _: 1
1399
+ }, 8, ["onClick"])
1400
+ ]),
1401
+ _: 1
1402
+ }, 8, ["modelValue"])
1403
+ ]),
1404
+ _: 1
1405
+ }),
1406
+ createVNode(_component_el_form_item, {
1407
+ label: "对象",
1408
+ prop: "META"
1409
+ }, {
1410
+ default: withCtx(() => [
1411
+ createVNode(_component_el_input, {
1412
+ modelValue: $data.formData.META,
1413
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $data.formData.META = $event),
1414
+ placeholder: "对象名称",
1415
+ readonly: ""
1416
+ }, null, 8, ["modelValue"])
1417
+ ]),
1418
+ _: 1
1419
+ })
1420
+ ], 64)) : createCommentVNode("", true),
1421
+ $data.formData.TYPE === "external" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1422
+ createVNode(_component_el_form_item, {
1423
+ label: "外部接口",
1424
+ prop: "API"
1425
+ }, {
1426
+ default: withCtx(() => [
1427
+ createVNode(_component_el_input, {
1428
+ modelValue: $data.formData.API,
1429
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $data.formData.API = $event),
1430
+ placeholder: "请输入外部接口地址"
1431
+ }, null, 8, ["modelValue"])
1432
+ ]),
1433
+ _: 1
1434
+ }),
1435
+ createVNode(_component_el_form_item, {
1436
+ label: "认证票据",
1437
+ prop: "TOKEN"
1438
+ }, {
1439
+ default: withCtx(() => [
1440
+ createVNode(_component_el_input, {
1441
+ modelValue: $data.formData.TOKEN,
1442
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $data.formData.TOKEN = $event),
1443
+ placeholder: "请输入认证票据"
1444
+ }, null, 8, ["modelValue"])
1445
+ ]),
1446
+ _: 1
1447
+ })
1448
+ ], 64)) : createCommentVNode("", true),
1449
+ $data.formData.TYPE === "mcp" ? (openBlock(), createBlock(_component_el_form_item, {
1450
+ key: 2,
1451
+ label: "MCP地址",
1452
+ prop: "MCP_URL"
1453
+ }, {
1454
+ default: withCtx(() => [
1455
+ createVNode(_component_el_input, {
1456
+ modelValue: $data.formData.MCP_URL,
1457
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $data.formData.MCP_URL = $event),
1458
+ placeholder: "请输入MCP地址"
1459
+ }, null, 8, ["modelValue"])
1460
+ ]),
1461
+ _: 1
1462
+ })) : createCommentVNode("", true),
1463
+ $data.formData.TYPE === "subagent" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
1464
+ createVNode(_component_el_form_item, {
1465
+ label: "工作流",
1466
+ prop: "WORKFLOW"
1467
+ }, {
1468
+ default: withCtx(() => [
1469
+ createVNode(_component_el_input, {
1470
+ modelValue: $data.formData.WORKFLOW,
1471
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $data.formData.WORKFLOW = $event),
1472
+ type: "textarea",
1473
+ rows: 3,
1474
+ placeholder: "请输入工作流配置"
1475
+ }, null, 8, ["modelValue"])
1476
+ ]),
1477
+ _: 1
1478
+ }),
1479
+ createVNode(_component_el_form_item, {
1480
+ label: "Skills文件",
1481
+ prop: "SKILL_FILE"
1482
+ }, {
1483
+ default: withCtx(() => [
1484
+ createVNode(_component_el_upload, {
1485
+ class: "upload-demo",
1486
+ action: "#",
1487
+ "auto-upload": false,
1488
+ "on-change": $options.handleFileChange,
1489
+ "file-list": $data.fileList
1490
+ }, {
1491
+ default: withCtx(() => [
1492
+ createVNode(_component_el_button, {
1493
+ size: "small",
1494
+ type: "primary"
1495
+ }, {
1496
+ default: withCtx(() => [..._cache[59] || (_cache[59] = [
1497
+ createTextVNode("选择文件", -1)
1498
+ ])]),
1499
+ _: 1
1500
+ })
1501
+ ]),
1502
+ _: 1
1503
+ }, 8, ["on-change", "file-list"])
1504
+ ]),
1505
+ _: 1
1506
+ })
1507
+ ], 64)) : createCommentVNode("", true),
1508
+ createVNode(_component_el_form_item, {
1509
+ label: "是否启用",
1510
+ prop: "ENABLE"
1511
+ }, {
1512
+ default: withCtx(() => [
1513
+ createVNode(_component_el_switch, {
1514
+ modelValue: $data.formData.ENABLE,
1515
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $data.formData.ENABLE = $event),
1516
+ "active-value": 1,
1517
+ "inactive-value": 0
1518
+ }, null, 8, ["modelValue"])
1519
+ ]),
1520
+ _: 1
1521
+ }),
1522
+ createVNode(_component_el_form_item, {
1523
+ label: "需要用户确认",
1524
+ prop: "CONFIRM"
1525
+ }, {
1526
+ default: withCtx(() => [
1527
+ createVNode(_component_el_switch, {
1528
+ modelValue: $data.formData.CONFIRM,
1529
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $data.formData.CONFIRM = $event),
1530
+ "active-value": 1,
1531
+ "inactive-value": 0
1532
+ }, null, 8, ["modelValue"])
1533
+ ]),
1534
+ _: 1
1535
+ }),
1536
+ createVNode(_component_el_form_item, {
1537
+ label: "表单页面",
1538
+ prop: "FORM_PAGE"
1539
+ }, {
1540
+ default: withCtx(() => [
1541
+ createVNode(_component_el_input, {
1542
+ modelValue: $data.formData.FORM_PAGE,
1543
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $data.formData.FORM_PAGE = $event),
1544
+ placeholder: "请输入表单页面ID"
1545
+ }, null, 8, ["modelValue"])
1546
+ ]),
1547
+ _: 1
1548
+ }),
1549
+ createVNode(_component_el_form_item, {
1550
+ label: "结果页面",
1551
+ prop: "RESULT_PAGE"
1552
+ }, {
1553
+ default: withCtx(() => [
1554
+ createVNode(_component_el_input, {
1555
+ modelValue: $data.formData.RESULT_PAGE,
1556
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $data.formData.RESULT_PAGE = $event),
1557
+ placeholder: "请输入结果页面ID"
1558
+ }, null, 8, ["modelValue"])
1559
+ ]),
1560
+ _: 1
1561
+ }),
1562
+ createVNode(_component_el_form_item, {
1563
+ label: "使用表单页面",
1564
+ prop: "USE_FORM_PAGE"
1565
+ }, {
1566
+ default: withCtx(() => [
1567
+ createVNode(_component_el_switch, {
1568
+ modelValue: $data.formData.USE_FORM_PAGE,
1569
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $data.formData.USE_FORM_PAGE = $event),
1570
+ "active-value": 1,
1571
+ "inactive-value": 0
1572
+ }, null, 8, ["modelValue"])
1573
+ ]),
1574
+ _: 1
1575
+ }),
1576
+ createVNode(_component_el_form_item, {
1577
+ label: "使用结果页面",
1578
+ prop: "USE_RESULT_PAGE"
1579
+ }, {
1580
+ default: withCtx(() => [
1581
+ createVNode(_component_el_switch, {
1582
+ modelValue: $data.formData.USE_RESULT_PAGE,
1583
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $data.formData.USE_RESULT_PAGE = $event),
1584
+ "active-value": 1,
1585
+ "inactive-value": 0
1586
+ }, null, 8, ["modelValue"])
1587
+ ]),
1588
+ _: 1
1589
+ })
1590
+ ]),
1591
+ _: 1
1592
+ }, 8, ["model", "rules"])
1593
+ ]),
1594
+ _: 1
1595
+ }, 8, ["title", "modelValue"]),
1596
+ createVNode(_component_el_dialog, {
1597
+ title: "添加对象接口工具",
1598
+ modelValue: $data.apiDialogVisible,
1599
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => $data.apiDialogVisible = $event),
1600
+ width: "1100px",
1601
+ "close-on-click-modal": false,
1602
+ class: "api-select-dialog"
1603
+ }, {
1604
+ default: withCtx(() => [
1605
+ createElementVNode("div", _hoisted_56, [
1606
+ createElementVNode("div", _hoisted_57, [
1607
+ createVNode(_component_el_tabs, {
1608
+ modelValue: $data.apiActiveTab,
1609
+ "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => $data.apiActiveTab = $event),
1610
+ onTabClick: $options.handleApiTabChange,
1611
+ class: "api-tabs"
1612
+ }, {
1613
+ default: withCtx(() => [
1614
+ createVNode(_component_el_tab_pane, {
1615
+ label: "通用接口",
1616
+ name: "frame"
1617
+ }, {
1618
+ default: withCtx(() => [
1619
+ createVNode(_component_el_table, {
1620
+ ref: "frameApiTable",
1621
+ data: $data.frameApiList,
1622
+ height: "380",
1623
+ onSelectionChange: $options.handleApiSelectionChange
1624
+ }, {
1625
+ default: withCtx(() => [
1626
+ createVNode(_component_el_table_column, {
1627
+ type: "selection",
1628
+ width: "50",
1629
+ align: "center"
1630
+ }),
1631
+ createVNode(_component_el_table_column, {
1632
+ type: "index",
1633
+ label: "序号",
1634
+ width: "70",
1635
+ align: "center"
1636
+ }),
1637
+ createVNode(_component_el_table_column, {
1638
+ prop: "LABEL",
1639
+ label: "接口名称",
1640
+ "min-width": "140",
1641
+ "show-overflow-tooltip": ""
1642
+ }, {
1643
+ default: withCtx((scope) => [
1644
+ createVNode(_component_el_link, {
1645
+ type: "primary",
1646
+ underline: false
1647
+ }, {
1648
+ default: withCtx(() => [
1649
+ createTextVNode(toDisplayString(scope.row.LABEL), 1)
1650
+ ]),
1651
+ _: 2
1652
+ }, 1024)
1653
+ ]),
1654
+ _: 1
1655
+ }),
1656
+ createVNode(_component_el_table_column, {
1657
+ prop: "NAME",
1658
+ label: "接口命令",
1659
+ width: "120",
1660
+ "show-overflow-tooltip": ""
1661
+ }),
1662
+ createVNode(_component_el_table_column, {
1663
+ prop: "ENTITY#",
1664
+ label: "所属对象",
1665
+ width: "120",
1666
+ "show-overflow-tooltip": ""
1667
+ }),
1668
+ createVNode(_component_el_table_column, {
1669
+ prop: "PARAM_EXPLAIN",
1670
+ label: "接口说明",
1671
+ "min-width": "220",
1672
+ "show-overflow-tooltip": ""
1673
+ })
1674
+ ]),
1675
+ _: 1
1676
+ }, 8, ["data", "onSelectionChange"]),
1677
+ $data.frameApiTotal > $data.frameApiPageSize ? (openBlock(), createBlock(_component_el_pagination, {
1678
+ key: 0,
1679
+ "current-page": $data.frameApiCurrentPage,
1680
+ "onUpdate:currentPage": _cache[24] || (_cache[24] = ($event) => $data.frameApiCurrentPage = $event),
1681
+ "page-size": $data.frameApiPageSize,
1682
+ layout: "total, prev, pager, next",
1683
+ total: $data.frameApiTotal,
1684
+ onCurrentChange: $options.handleFrameApiPageChange,
1685
+ style: { "margin-top": "12px", "text-align": "right" }
1686
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
1687
+ ]),
1688
+ _: 1
1689
+ }),
1690
+ createVNode(_component_el_tab_pane, {
1691
+ label: "对象接口",
1692
+ name: "entity"
1693
+ }, {
1694
+ default: withCtx(() => [
1695
+ createElementVNode("div", _hoisted_58, [
1696
+ createElementVNode("div", _hoisted_59, [
1697
+ _cache[62] || (_cache[62] = createElementVNode("label", null, "选择对象:", -1)),
1698
+ createVNode(_component_epx_object, {
1699
+ modelValue: $data.selectedEntity,
1700
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $data.selectedEntity = $event),
1701
+ fieldConfigs: {
1702
+ attriLabel: "",
1703
+ codeKey: "FM_ENTITY",
1704
+ state: "EDIT",
1705
+ placeholder: "请选择对象",
1706
+ isMultiple: "0"
1707
+ },
1708
+ onChange: $options.handleEntityChange
1709
+ }, null, 8, ["modelValue", "onChange"])
1710
+ ])
1711
+ ]),
1712
+ $data.selectedEntity ? (openBlock(), createBlock(_component_el_table, {
1713
+ key: 0,
1714
+ ref: "apiTable",
1715
+ data: $data.apiList,
1716
+ height: "330",
1717
+ onSelectionChange: $options.handleApiSelectionChange
1718
+ }, {
1719
+ default: withCtx(() => [
1720
+ createVNode(_component_el_table_column, {
1721
+ type: "selection",
1722
+ width: "50",
1723
+ align: "center"
1724
+ }),
1725
+ createVNode(_component_el_table_column, {
1726
+ type: "index",
1727
+ label: "序号",
1728
+ width: "70",
1729
+ align: "center"
1730
+ }),
1731
+ createVNode(_component_el_table_column, {
1732
+ prop: "LABEL",
1733
+ label: "接口名称",
1734
+ "min-width": "140",
1735
+ "show-overflow-tooltip": ""
1736
+ }, {
1737
+ default: withCtx((scope) => [
1738
+ createVNode(_component_el_link, {
1739
+ type: "primary",
1740
+ underline: false
1741
+ }, {
1742
+ default: withCtx(() => [
1743
+ createTextVNode(toDisplayString(scope.row.LABEL), 1)
1744
+ ]),
1745
+ _: 2
1746
+ }, 1024)
1747
+ ]),
1748
+ _: 1
1749
+ }),
1750
+ createVNode(_component_el_table_column, {
1751
+ prop: "NAME",
1752
+ label: "接口命令",
1753
+ width: "120",
1754
+ "show-overflow-tooltip": ""
1755
+ }),
1756
+ createVNode(_component_el_table_column, {
1757
+ prop: "PARAM_EXPLAIN",
1758
+ label: "接口说明",
1759
+ "min-width": "220",
1760
+ "show-overflow-tooltip": ""
1761
+ })
1762
+ ]),
1763
+ _: 1
1764
+ }, 8, ["data", "onSelectionChange"])) : createCommentVNode("", true),
1765
+ !$data.selectedEntity ? (openBlock(), createElementBlock("div", _hoisted_60, [..._cache[63] || (_cache[63] = [
1766
+ createElementVNode("i", { class: "el-icon-info" }, null, -1),
1767
+ createElementVNode("p", null, "请先选择对象", -1)
1768
+ ])])) : createCommentVNode("", true)
1769
+ ]),
1770
+ _: 1
1771
+ })
1772
+ ]),
1773
+ _: 1
1774
+ }, 8, ["modelValue", "onTabClick"])
1775
+ ]),
1776
+ createElementVNode("div", _hoisted_61, [
1777
+ _cache[67] || (_cache[67] = createElementVNode("div", { class: "panel-header" }, [
1778
+ createElementVNode("span", null, "已选择")
1779
+ ], -1)),
1780
+ createElementVNode("div", _hoisted_62, [
1781
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedApis, (api, index) => {
1782
+ return openBlock(), createElementBlock("div", {
1783
+ key: api.ID,
1784
+ class: "selected-item"
1785
+ }, [
1786
+ createElementVNode("div", _hoisted_63, [
1787
+ api._isFrame ? (openBlock(), createBlock(_component_el_tag, {
1788
+ key: 0,
1789
+ size: "small",
1790
+ type: "success",
1791
+ class: "frame-tag"
1792
+ }, {
1793
+ default: withCtx(() => [..._cache[64] || (_cache[64] = [
1794
+ createTextVNode("通用", -1)
1795
+ ])]),
1796
+ _: 1
1797
+ })) : createCommentVNode("", true),
1798
+ createElementVNode("span", _hoisted_64, toDisplayString(api.LABEL) + " | " + toDisplayString(api.NAME), 1),
1799
+ createVNode(_component_el_button, {
1800
+ type: "primary",
1801
+ link: "",
1802
+ icon: "el-icon-delete-solid",
1803
+ class: "delete-btn",
1804
+ onClick: ($event) => $options.removeSelectedApi(index)
1805
+ }, null, 8, ["onClick"])
1806
+ ]),
1807
+ createElementVNode("div", _hoisted_65, [
1808
+ createElementVNode("div", _hoisted_66, "所属对象:" + toDisplayString(api["ENTITY#"] || $data.selectedEntity && $data.selectedEntity.name), 1),
1809
+ createElementVNode("div", _hoisted_67, "接口说明:" + toDisplayString(api.PARAM_EXPLAIN), 1)
1810
+ ])
1811
+ ]);
1812
+ }), 128)),
1813
+ $data.selectedApis.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_68, " 请从左侧选择接口 ")) : createCommentVNode("", true)
1814
+ ]),
1815
+ createElementVNode("div", _hoisted_69, [
1816
+ createElementVNode("span", _hoisted_70, "已选择 " + toDisplayString($data.selectedApis.length) + " 个", 1),
1817
+ createElementVNode("div", _hoisted_71, [
1818
+ createVNode(_component_el_button, {
1819
+ size: "small",
1820
+ onClick: _cache[27] || (_cache[27] = ($event) => $data.apiDialogVisible = false)
1821
+ }, {
1822
+ default: withCtx(() => [..._cache[65] || (_cache[65] = [
1823
+ createTextVNode("取消", -1)
1824
+ ])]),
1825
+ _: 1
1826
+ }),
1827
+ createVNode(_component_el_button, {
1828
+ size: "small",
1829
+ type: "primary",
1830
+ onClick: $options.confirmApiSelection
1831
+ }, {
1832
+ default: withCtx(() => [..._cache[66] || (_cache[66] = [
1833
+ createTextVNode("保存", -1)
1834
+ ])]),
1835
+ _: 1
1836
+ }, 8, ["onClick"])
1837
+ ])
1838
+ ])
1839
+ ])
1840
+ ])
1841
+ ]),
1842
+ _: 1
1843
+ }, 8, ["modelValue"]),
1844
+ createVNode(_component_el_dialog, {
1845
+ title: "添加外部接口工具",
1846
+ modelValue: $data.externalApiDialogVisible,
1847
+ "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => $data.externalApiDialogVisible = $event),
1848
+ width: "1100px",
1849
+ "close-on-click-modal": false,
1850
+ class: "api-select-dialog"
1851
+ }, {
1852
+ default: withCtx(() => [
1853
+ createElementVNode("div", _hoisted_72, [
1854
+ createElementVNode("div", _hoisted_73, [
1855
+ createVNode(_component_el_table, {
1856
+ ref: "externalApiTable",
1857
+ data: $data.externalApiList,
1858
+ height: "420",
1859
+ onSelectionChange: $options.handleExternalApiSelectionChange
1860
+ }, {
1861
+ default: withCtx(() => [
1862
+ createVNode(_component_el_table_column, {
1863
+ type: "selection",
1864
+ width: "50",
1865
+ align: "center"
1866
+ }),
1867
+ createVNode(_component_el_table_column, {
1868
+ type: "index",
1869
+ label: "序号",
1870
+ width: "70",
1871
+ align: "center"
1872
+ }),
1873
+ createVNode(_component_el_table_column, {
1874
+ prop: "NAME",
1875
+ label: "接口名称",
1876
+ "min-width": "180",
1877
+ "show-overflow-tooltip": ""
1878
+ }, {
1879
+ default: withCtx((scope) => [
1880
+ createVNode(_component_el_link, {
1881
+ type: "primary",
1882
+ underline: false
1883
+ }, {
1884
+ default: withCtx(() => [
1885
+ createTextVNode(toDisplayString(scope.row.NAME), 1)
1886
+ ]),
1887
+ _: 2
1888
+ }, 1024)
1889
+ ]),
1890
+ _: 1
1891
+ }),
1892
+ createVNode(_component_el_table_column, {
1893
+ prop: "NOTICE",
1894
+ label: "接口说明",
1895
+ "min-width": "300",
1896
+ "show-overflow-tooltip": ""
1897
+ })
1898
+ ]),
1899
+ _: 1
1900
+ }, 8, ["data", "onSelectionChange"]),
1901
+ $data.externalApiTotal > $data.externalApiPageSize ? (openBlock(), createBlock(_component_el_pagination, {
1902
+ key: 0,
1903
+ "current-page": $data.externalApiCurrentPage,
1904
+ "onUpdate:currentPage": _cache[29] || (_cache[29] = ($event) => $data.externalApiCurrentPage = $event),
1905
+ "page-size": $data.externalApiPageSize,
1906
+ layout: "total, prev, pager, next",
1907
+ total: $data.externalApiTotal,
1908
+ onCurrentChange: $options.handleExternalApiPageChange,
1909
+ style: { "margin-top": "12px", "text-align": "right" }
1910
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
1911
+ ]),
1912
+ createElementVNode("div", _hoisted_74, [
1913
+ _cache[70] || (_cache[70] = createElementVNode("div", { class: "panel-header" }, [
1914
+ createElementVNode("span", null, "已选择")
1915
+ ], -1)),
1916
+ createElementVNode("div", _hoisted_75, [
1917
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedExternalApis, (api, index) => {
1918
+ return openBlock(), createElementBlock("div", {
1919
+ key: api.ID,
1920
+ class: "selected-item"
1921
+ }, [
1922
+ createElementVNode("div", _hoisted_76, [
1923
+ createElementVNode("span", _hoisted_77, toDisplayString(api.NAME), 1),
1924
+ createVNode(_component_el_button, {
1925
+ type: "primary",
1926
+ link: "",
1927
+ icon: "el-icon-delete-solid",
1928
+ class: "delete-btn",
1929
+ onClick: ($event) => $options.removeSelectedExternalApi(index)
1930
+ }, null, 8, ["onClick"])
1931
+ ]),
1932
+ createElementVNode("div", _hoisted_78, [
1933
+ createElementVNode("div", _hoisted_79, "接口说明:" + toDisplayString(api.NOTICE), 1)
1934
+ ])
1935
+ ]);
1936
+ }), 128)),
1937
+ $data.selectedExternalApis.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_80, " 请从左侧选择接口 ")) : createCommentVNode("", true)
1938
+ ]),
1939
+ createElementVNode("div", _hoisted_81, [
1940
+ createElementVNode("span", _hoisted_82, "已选择 " + toDisplayString($data.selectedExternalApis.length) + " 个", 1),
1941
+ createElementVNode("div", _hoisted_83, [
1942
+ createVNode(_component_el_button, {
1943
+ size: "small",
1944
+ onClick: _cache[30] || (_cache[30] = ($event) => $data.externalApiDialogVisible = false)
1945
+ }, {
1946
+ default: withCtx(() => [..._cache[68] || (_cache[68] = [
1947
+ createTextVNode("取消", -1)
1948
+ ])]),
1949
+ _: 1
1950
+ }),
1951
+ createVNode(_component_el_button, {
1952
+ size: "small",
1953
+ type: "primary",
1954
+ onClick: $options.confirmExternalApiSelection
1955
+ }, {
1956
+ default: withCtx(() => [..._cache[69] || (_cache[69] = [
1957
+ createTextVNode("保存", -1)
1958
+ ])]),
1959
+ _: 1
1960
+ }, 8, ["onClick"])
1961
+ ])
1962
+ ])
1963
+ ])
1964
+ ])
1965
+ ]),
1966
+ _: 1
1967
+ }, 8, ["modelValue"]),
1968
+ createVNode(_component_el_dialog, {
1969
+ title: "添加子智能体工具",
1970
+ modelValue: $data.subAgentDialogVisible,
1971
+ "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => $data.subAgentDialogVisible = $event),
1972
+ width: "1100px",
1973
+ "close-on-click-modal": false,
1974
+ class: "api-select-dialog"
1975
+ }, {
1976
+ default: withCtx(() => [
1977
+ createElementVNode("div", _hoisted_84, [
1978
+ createElementVNode("div", _hoisted_85, [
1979
+ createVNode(_component_el_table, {
1980
+ ref: "subAgentTable",
1981
+ data: $data.subAgentList,
1982
+ height: "420",
1983
+ onSelectionChange: $options.handleSubAgentSelectionChange
1984
+ }, {
1985
+ default: withCtx(() => [
1986
+ createVNode(_component_el_table_column, {
1987
+ type: "selection",
1988
+ width: "50",
1989
+ align: "center"
1990
+ }),
1991
+ createVNode(_component_el_table_column, {
1992
+ type: "index",
1993
+ label: "序号",
1994
+ width: "70",
1995
+ align: "center"
1996
+ }),
1997
+ createVNode(_component_el_table_column, {
1998
+ prop: "NAME",
1999
+ label: "应用名称",
2000
+ "min-width": "140",
2001
+ "show-overflow-tooltip": ""
2002
+ }, {
2003
+ default: withCtx((scope) => [
2004
+ createVNode(_component_el_link, {
2005
+ type: "primary",
2006
+ underline: false
2007
+ }, {
2008
+ default: withCtx(() => [
2009
+ createTextVNode(toDisplayString(scope.row.NAME), 1)
2010
+ ]),
2011
+ _: 2
2012
+ }, 1024)
2013
+ ]),
2014
+ _: 1
2015
+ }),
2016
+ createVNode(_component_el_table_column, {
2017
+ prop: "CODE",
2018
+ label: "应用编号",
2019
+ width: "120",
2020
+ "show-overflow-tooltip": ""
2021
+ }),
2022
+ createVNode(_component_el_table_column, {
2023
+ prop: "AGENT_PROMPT",
2024
+ label: "应用简介",
2025
+ "min-width": "220",
2026
+ "show-overflow-tooltip": ""
2027
+ })
2028
+ ]),
2029
+ _: 1
2030
+ }, 8, ["data", "onSelectionChange"]),
2031
+ $data.subAgentTotal > $data.subAgentPageSize ? (openBlock(), createBlock(_component_el_pagination, {
2032
+ key: 0,
2033
+ "current-page": $data.subAgentCurrentPage,
2034
+ "onUpdate:currentPage": _cache[32] || (_cache[32] = ($event) => $data.subAgentCurrentPage = $event),
2035
+ "page-size": $data.subAgentPageSize,
2036
+ layout: "total, prev, pager, next",
2037
+ total: $data.subAgentTotal,
2038
+ onCurrentChange: $options.handleSubAgentPageChange,
2039
+ style: { "margin-top": "12px", "text-align": "right" }
2040
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
2041
+ ]),
2042
+ createElementVNode("div", _hoisted_86, [
2043
+ _cache[73] || (_cache[73] = createElementVNode("div", { class: "panel-header" }, [
2044
+ createElementVNode("span", null, "已选择")
2045
+ ], -1)),
2046
+ createElementVNode("div", _hoisted_87, [
2047
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSubAgents, (agent, index) => {
2048
+ return openBlock(), createElementBlock("div", {
2049
+ key: agent.ID,
2050
+ class: "selected-item"
2051
+ }, [
2052
+ createElementVNode("div", _hoisted_88, [
2053
+ createElementVNode("div", _hoisted_89, [
2054
+ createElementVNode("div", _hoisted_90, [
2055
+ createElementVNode("img", {
2056
+ src: $options.getSelectedAgentIcon(agent),
2057
+ alt: "icon"
2058
+ }, null, 8, _hoisted_91)
2059
+ ]),
2060
+ createElementVNode("span", _hoisted_92, toDisplayString(agent.NAME), 1)
2061
+ ]),
2062
+ createVNode(_component_el_button, {
2063
+ type: "primary",
2064
+ link: "",
2065
+ icon: "el-icon-delete-solid",
2066
+ class: "delete-btn",
2067
+ onClick: ($event) => $options.removeSelectedSubAgent(index)
2068
+ }, null, 8, ["onClick"])
2069
+ ]),
2070
+ createElementVNode("div", _hoisted_93, [
2071
+ createElementVNode("div", _hoisted_94, "应用编号:" + toDisplayString(agent.CODE), 1),
2072
+ createElementVNode("div", _hoisted_95, "应用简介:" + toDisplayString(agent.AGENT_PROMPT), 1)
2073
+ ])
2074
+ ]);
2075
+ }), 128)),
2076
+ $data.selectedSubAgents.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_96, " 请从左侧选择子智能体 ")) : createCommentVNode("", true)
2077
+ ]),
2078
+ createElementVNode("div", _hoisted_97, [
2079
+ createElementVNode("span", _hoisted_98, "已选择 " + toDisplayString($data.selectedSubAgents.length) + " 个", 1),
2080
+ createElementVNode("div", _hoisted_99, [
2081
+ createVNode(_component_el_button, {
2082
+ size: "small",
2083
+ onClick: _cache[33] || (_cache[33] = ($event) => $data.subAgentDialogVisible = false)
2084
+ }, {
2085
+ default: withCtx(() => [..._cache[71] || (_cache[71] = [
2086
+ createTextVNode("取消", -1)
2087
+ ])]),
2088
+ _: 1
2089
+ }),
2090
+ createVNode(_component_el_button, {
2091
+ size: "small",
2092
+ type: "primary",
2093
+ onClick: $options.confirmSubAgentSelection
2094
+ }, {
2095
+ default: withCtx(() => [..._cache[72] || (_cache[72] = [
2096
+ createTextVNode("保存", -1)
2097
+ ])]),
2098
+ _: 1
2099
+ }, 8, ["onClick"])
2100
+ ])
2101
+ ])
2102
+ ])
2103
+ ])
2104
+ ]),
2105
+ _: 1
2106
+ }, 8, ["modelValue"]),
2107
+ createVNode(_component_el_dialog, {
2108
+ title: "添加技能",
2109
+ modelValue: $data.skillDialogVisible,
2110
+ "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => $data.skillDialogVisible = $event),
2111
+ width: "1100px",
2112
+ "close-on-click-modal": false,
2113
+ class: "api-select-dialog"
2114
+ }, {
2115
+ default: withCtx(() => [
2116
+ createElementVNode("div", _hoisted_100, [
2117
+ createElementVNode("div", _hoisted_101, [
2118
+ createVNode(_component_el_tabs, {
2119
+ modelValue: $data.skillActiveTab,
2120
+ "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => $data.skillActiveTab = $event),
2121
+ onTabClick: $options.handleSkillTabChange,
2122
+ class: "api-tabs"
2123
+ }, {
2124
+ default: withCtx(() => [
2125
+ createVNode(_component_el_tab_pane, {
2126
+ label: "系统技能",
2127
+ name: "system"
2128
+ }),
2129
+ createVNode(_component_el_tab_pane, {
2130
+ label: "平台技能",
2131
+ name: "platform"
2132
+ })
2133
+ ]),
2134
+ _: 1
2135
+ }, 8, ["modelValue", "onTabClick"]),
2136
+ createVNode(_component_el_table, {
2137
+ ref: "skillTable",
2138
+ data: $data.skillList,
2139
+ height: "380",
2140
+ onSelect: $options.handleSkillSelect,
2141
+ onSelectAll: $options.handleSkillSelectAll
2142
+ }, {
2143
+ default: withCtx(() => [
2144
+ createVNode(_component_el_table_column, {
2145
+ type: "selection",
2146
+ width: "50",
2147
+ align: "center"
2148
+ }),
2149
+ createVNode(_component_el_table_column, {
2150
+ type: "index",
2151
+ label: "序号",
2152
+ width: "70",
2153
+ align: "center"
2154
+ }),
2155
+ createVNode(_component_el_table_column, {
2156
+ prop: "NAME",
2157
+ label: "技能名称",
2158
+ "min-width": "140",
2159
+ "show-overflow-tooltip": ""
2160
+ }, {
2161
+ default: withCtx((scope) => [
2162
+ createVNode(_component_el_link, {
2163
+ type: "primary",
2164
+ underline: false
2165
+ }, {
2166
+ default: withCtx(() => [
2167
+ createTextVNode(toDisplayString(scope.row.NAME), 1)
2168
+ ]),
2169
+ _: 2
2170
+ }, 1024)
2171
+ ]),
2172
+ _: 1
2173
+ }),
2174
+ createVNode(_component_el_table_column, {
2175
+ prop: "CODE",
2176
+ label: "编号",
2177
+ width: "120",
2178
+ "show-overflow-tooltip": ""
2179
+ }),
2180
+ createVNode(_component_el_table_column, {
2181
+ prop: "DESC",
2182
+ label: "技能描述",
2183
+ "min-width": "220",
2184
+ "show-overflow-tooltip": ""
2185
+ })
2186
+ ]),
2187
+ _: 1
2188
+ }, 8, ["data", "onSelect", "onSelectAll"]),
2189
+ $data.skillTotal > $data.skillPageSize ? (openBlock(), createBlock(_component_el_pagination, {
2190
+ key: 0,
2191
+ "current-page": $data.skillCurrentPage,
2192
+ "onUpdate:currentPage": _cache[36] || (_cache[36] = ($event) => $data.skillCurrentPage = $event),
2193
+ "page-size": $data.skillPageSize,
2194
+ layout: "total, prev, pager, next",
2195
+ total: $data.skillTotal,
2196
+ onCurrentChange: $options.handleSkillPageChange,
2197
+ style: { "margin-top": "12px", "text-align": "right" }
2198
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
2199
+ ]),
2200
+ createElementVNode("div", _hoisted_102, [
2201
+ _cache[76] || (_cache[76] = createElementVNode("div", { class: "panel-header" }, [
2202
+ createElementVNode("span", null, "已选择")
2203
+ ], -1)),
2204
+ createElementVNode("div", _hoisted_103, [
2205
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSkills, (skill, index) => {
2206
+ return openBlock(), createElementBlock("div", {
2207
+ key: skill.ID,
2208
+ class: "selected-item"
2209
+ }, [
2210
+ createElementVNode("div", _hoisted_104, [
2211
+ createElementVNode("span", _hoisted_105, toDisplayString(skill.NAME), 1),
2212
+ createVNode(_component_el_button, {
2213
+ type: "primary",
2214
+ link: "",
2215
+ icon: "el-icon-delete-solid",
2216
+ class: "delete-btn",
2217
+ onClick: ($event) => $options.removeSelectedSkill(index)
2218
+ }, null, 8, ["onClick"])
2219
+ ]),
2220
+ createElementVNode("div", _hoisted_106, [
2221
+ createElementVNode("div", _hoisted_107, "编号:" + toDisplayString(skill.CODE), 1),
2222
+ createElementVNode("div", _hoisted_108, "技能描述:" + toDisplayString(skill.DESC), 1)
2223
+ ])
2224
+ ]);
2225
+ }), 128)),
2226
+ $data.selectedSkills.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_109, " 请从左侧选择技能 ")) : createCommentVNode("", true)
2227
+ ]),
2228
+ createElementVNode("div", _hoisted_110, [
2229
+ createElementVNode("span", _hoisted_111, "已选择 " + toDisplayString($data.selectedSkills.length) + " 个", 1),
2230
+ createElementVNode("div", _hoisted_112, [
2231
+ createVNode(_component_el_button, {
2232
+ size: "small",
2233
+ onClick: _cache[37] || (_cache[37] = ($event) => $data.skillDialogVisible = false)
2234
+ }, {
2235
+ default: withCtx(() => [..._cache[74] || (_cache[74] = [
2236
+ createTextVNode("取消", -1)
2237
+ ])]),
2238
+ _: 1
2239
+ }),
2240
+ createVNode(_component_el_button, {
2241
+ size: "small",
2242
+ type: "primary",
2243
+ onClick: $options.confirmSkillSelection
2244
+ }, {
2245
+ default: withCtx(() => [..._cache[75] || (_cache[75] = [
2246
+ createTextVNode("保存", -1)
2247
+ ])]),
2248
+ _: 1
2249
+ }, 8, ["onClick"])
2250
+ ])
2251
+ ])
2252
+ ])
2253
+ ])
2254
+ ]),
2255
+ _: 1
2256
+ }, 8, ["modelValue"]),
2257
+ createVNode(_component_el_dialog, {
2258
+ title: "添加内置工具",
2259
+ modelValue: $data.sysToolDialogVisible,
2260
+ "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => $data.sysToolDialogVisible = $event),
2261
+ width: "1100px",
2262
+ "close-on-click-modal": false,
2263
+ class: "api-select-dialog"
2264
+ }, {
2265
+ default: withCtx(() => [
2266
+ createElementVNode("div", _hoisted_113, [
2267
+ createElementVNode("div", _hoisted_114, [
2268
+ createVNode(_component_el_table, {
2269
+ ref: "sysToolTable",
2270
+ data: $data.sysToolList,
2271
+ height: "420",
2272
+ onSelectionChange: $options.handleSysToolSelectionChange
2273
+ }, {
2274
+ default: withCtx(() => [
2275
+ createVNode(_component_el_table_column, {
2276
+ type: "selection",
2277
+ width: "50",
2278
+ align: "center"
2279
+ }),
2280
+ createVNode(_component_el_table_column, {
2281
+ type: "index",
2282
+ label: "序号",
2283
+ width: "70",
2284
+ align: "center"
2285
+ }),
2286
+ createVNode(_component_el_table_column, {
2287
+ prop: "NAME",
2288
+ label: "名称",
2289
+ "min-width": "140",
2290
+ "show-overflow-tooltip": ""
2291
+ }, {
2292
+ default: withCtx((scope) => [
2293
+ createVNode(_component_el_link, {
2294
+ type: "primary",
2295
+ underline: false
2296
+ }, {
2297
+ default: withCtx(() => [
2298
+ createTextVNode(toDisplayString(scope.row.NAME), 1)
2299
+ ]),
2300
+ _: 2
2301
+ }, 1024)
2302
+ ]),
2303
+ _: 1
2304
+ }),
2305
+ createVNode(_component_el_table_column, {
2306
+ prop: "CODE",
2307
+ label: "工具标识",
2308
+ width: "160",
2309
+ "show-overflow-tooltip": ""
2310
+ }),
2311
+ createVNode(_component_el_table_column, {
2312
+ prop: "DESC",
2313
+ label: "工具描述",
2314
+ "min-width": "220",
2315
+ "show-overflow-tooltip": ""
2316
+ })
2317
+ ]),
2318
+ _: 1
2319
+ }, 8, ["data", "onSelectionChange"]),
2320
+ $data.sysToolTotal > $data.sysToolPageSize ? (openBlock(), createBlock(_component_el_pagination, {
2321
+ key: 0,
2322
+ "current-page": $data.sysToolCurrentPage,
2323
+ "onUpdate:currentPage": _cache[39] || (_cache[39] = ($event) => $data.sysToolCurrentPage = $event),
2324
+ "page-size": $data.sysToolPageSize,
2325
+ layout: "total, prev, pager, next",
2326
+ total: $data.sysToolTotal,
2327
+ onCurrentChange: $options.handleSysToolPageChange,
2328
+ style: { "margin-top": "12px", "text-align": "right" }
2329
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
2330
+ ]),
2331
+ createElementVNode("div", _hoisted_115, [
2332
+ _cache[79] || (_cache[79] = createElementVNode("div", { class: "panel-header" }, [
2333
+ createElementVNode("span", null, "已选择")
2334
+ ], -1)),
2335
+ createElementVNode("div", _hoisted_116, [
2336
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedSysTools, (sysTool, index) => {
2337
+ return openBlock(), createElementBlock("div", {
2338
+ key: sysTool.ID,
2339
+ class: "selected-item"
2340
+ }, [
2341
+ createElementVNode("div", _hoisted_117, [
2342
+ createElementVNode("span", _hoisted_118, toDisplayString(sysTool.NAME), 1),
2343
+ createVNode(_component_el_button, {
2344
+ type: "text",
2345
+ icon: "el-icon-delete-solid",
2346
+ class: "delete-btn",
2347
+ onClick: ($event) => $options.removeSelectedSysTool(index)
2348
+ }, null, 8, ["onClick"])
2349
+ ]),
2350
+ createElementVNode("div", _hoisted_119, [
2351
+ createElementVNode("div", _hoisted_120, "工具标识:" + toDisplayString(sysTool.CODE), 1),
2352
+ createElementVNode("div", _hoisted_121, "工具描述:" + toDisplayString(sysTool.DESC), 1)
2353
+ ])
2354
+ ]);
2355
+ }), 128)),
2356
+ $data.selectedSysTools.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_122, " 请从左侧选择内置工具 ")) : createCommentVNode("", true)
2357
+ ]),
2358
+ createElementVNode("div", _hoisted_123, [
2359
+ createElementVNode("span", _hoisted_124, "已选择 " + toDisplayString($data.selectedSysTools.length) + " 个", 1),
2360
+ createElementVNode("div", _hoisted_125, [
2361
+ createVNode(_component_el_button, {
2362
+ size: "small",
2363
+ onClick: _cache[40] || (_cache[40] = ($event) => $data.sysToolDialogVisible = false)
2364
+ }, {
2365
+ default: withCtx(() => [..._cache[77] || (_cache[77] = [
2366
+ createTextVNode("取消", -1)
2367
+ ])]),
2368
+ _: 1
2369
+ }),
2370
+ createVNode(_component_el_button, {
2371
+ size: "small",
2372
+ type: "primary",
2373
+ onClick: $options.confirmSysToolSelection
2374
+ }, {
2375
+ default: withCtx(() => [..._cache[78] || (_cache[78] = [
2376
+ createTextVNode("保存", -1)
2377
+ ])]),
2378
+ _: 1
2379
+ }, 8, ["onClick"])
2380
+ ])
2381
+ ])
2382
+ ])
2383
+ ])
2384
+ ]),
2385
+ _: 1
2386
+ }, 8, ["modelValue"]),
2387
+ createVNode(_component_el_dialog, {
2388
+ title: "添加MCP工具",
2389
+ modelValue: $data.mcpDialogVisible,
2390
+ "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => $data.mcpDialogVisible = $event),
2391
+ width: "1100px",
2392
+ "close-on-click-modal": false,
2393
+ class: "api-select-dialog"
2394
+ }, {
2395
+ default: withCtx(() => [
2396
+ createElementVNode("div", _hoisted_126, [
2397
+ createElementVNode("div", _hoisted_127, [
2398
+ createVNode(_component_el_table, {
2399
+ ref: "mcpTable",
2400
+ data: $data.mcpList,
2401
+ height: "420",
2402
+ onSelectionChange: $options.handleMcpSelectionChange
2403
+ }, {
2404
+ default: withCtx(() => [
2405
+ createVNode(_component_el_table_column, {
2406
+ type: "selection",
2407
+ width: "50",
2408
+ align: "center"
2409
+ }),
2410
+ createVNode(_component_el_table_column, {
2411
+ type: "index",
2412
+ label: "序号",
2413
+ width: "70",
2414
+ align: "center"
2415
+ }),
2416
+ createVNode(_component_el_table_column, {
2417
+ prop: "NAME",
2418
+ label: "名称",
2419
+ "min-width": "140",
2420
+ "show-overflow-tooltip": ""
2421
+ }, {
2422
+ default: withCtx((scope) => [
2423
+ createVNode(_component_el_link, {
2424
+ type: "primary",
2425
+ underline: false
2426
+ }, {
2427
+ default: withCtx(() => [
2428
+ createTextVNode(toDisplayString(scope.row.NAME), 1)
2429
+ ]),
2430
+ _: 2
2431
+ }, 1024)
2432
+ ]),
2433
+ _: 1
2434
+ }),
2435
+ createVNode(_component_el_table_column, {
2436
+ prop: "CODE",
2437
+ label: "编号",
2438
+ width: "120",
2439
+ "show-overflow-tooltip": ""
2440
+ }),
2441
+ createVNode(_component_el_table_column, {
2442
+ prop: "TYPE",
2443
+ label: "请求类型",
2444
+ width: "100",
2445
+ "show-overflow-tooltip": ""
2446
+ }),
2447
+ createVNode(_component_el_table_column, {
2448
+ prop: "URL",
2449
+ label: "地址",
2450
+ "min-width": "180",
2451
+ "show-overflow-tooltip": ""
2452
+ })
2453
+ ]),
2454
+ _: 1
2455
+ }, 8, ["data", "onSelectionChange"]),
2456
+ $data.mcpTotal > $data.mcpPageSize ? (openBlock(), createBlock(_component_el_pagination, {
2457
+ key: 0,
2458
+ "current-page": $data.mcpCurrentPage,
2459
+ "onUpdate:currentPage": _cache[42] || (_cache[42] = ($event) => $data.mcpCurrentPage = $event),
2460
+ "page-size": $data.mcpPageSize,
2461
+ layout: "total, prev, pager, next",
2462
+ total: $data.mcpTotal,
2463
+ onCurrentChange: $options.handleMcpPageChange,
2464
+ style: { "margin-top": "12px", "text-align": "right" }
2465
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])) : createCommentVNode("", true)
2466
+ ]),
2467
+ createElementVNode("div", _hoisted_128, [
2468
+ _cache[82] || (_cache[82] = createElementVNode("div", { class: "panel-header" }, [
2469
+ createElementVNode("span", null, "已选择")
2470
+ ], -1)),
2471
+ createElementVNode("div", _hoisted_129, [
2472
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedMcps, (mcp, index) => {
2473
+ return openBlock(), createElementBlock("div", {
2474
+ key: mcp.ID,
2475
+ class: "selected-item"
2476
+ }, [
2477
+ createElementVNode("div", _hoisted_130, [
2478
+ createElementVNode("span", _hoisted_131, toDisplayString(mcp.NAME), 1),
2479
+ createVNode(_component_el_button, {
2480
+ type: "primary",
2481
+ link: "",
2482
+ icon: "el-icon-delete-solid",
2483
+ class: "delete-btn",
2484
+ onClick: ($event) => $options.removeSelectedMcp(index)
2485
+ }, null, 8, ["onClick"])
2486
+ ]),
2487
+ createElementVNode("div", _hoisted_132, [
2488
+ createElementVNode("div", _hoisted_133, "编号:" + toDisplayString(mcp.CODE), 1),
2489
+ createElementVNode("div", _hoisted_134, "请求类型:" + toDisplayString(mcp.TYPE), 1),
2490
+ createElementVNode("div", _hoisted_135, "地址:" + toDisplayString(mcp.URL), 1)
2491
+ ])
2492
+ ]);
2493
+ }), 128)),
2494
+ $data.selectedMcps.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_136, " 请从左侧选择MCP ")) : createCommentVNode("", true)
2495
+ ]),
2496
+ createElementVNode("div", _hoisted_137, [
2497
+ createElementVNode("span", _hoisted_138, "已选择 " + toDisplayString($data.selectedMcps.length) + " 个", 1),
2498
+ createElementVNode("div", _hoisted_139, [
2499
+ createVNode(_component_el_button, {
2500
+ size: "small",
2501
+ onClick: _cache[43] || (_cache[43] = ($event) => $data.mcpDialogVisible = false)
2502
+ }, {
2503
+ default: withCtx(() => [..._cache[80] || (_cache[80] = [
2504
+ createTextVNode("取消", -1)
2505
+ ])]),
2506
+ _: 1
2507
+ }),
2508
+ createVNode(_component_el_button, {
2509
+ size: "small",
2510
+ type: "primary",
2511
+ onClick: $options.confirmMcpSelection
2512
+ }, {
2513
+ default: withCtx(() => [..._cache[81] || (_cache[81] = [
2514
+ createTextVNode("保存", -1)
2515
+ ])]),
2516
+ _: 1
2517
+ }, 8, ["onClick"])
2518
+ ])
2519
+ ])
2520
+ ])
2521
+ ])
2522
+ ]),
2523
+ _: 1
2524
+ }, 8, ["modelValue"])
2525
+ ]);
2526
+ }
2527
+ const AiToolManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-840c0713"]]);
2528
+ export {
2529
+ AiToolManager as default
2530
+ };