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

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