@epxing/business 5.3.0-beta.1 → 5.3.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/API.md +11 -6
  2. package/README.md +44 -43
  3. package/dist/src/base/AiPromptDesigner.js +1 -0
  4. package/dist/src/base/AiPromptView.js +1 -0
  5. package/dist/src/base/AiSkillEditor.js +2 -1
  6. package/dist/src/base/AiSkillEditor.vue.js +2 -0
  7. package/dist/src/base/AppConfigFormItem.js +2 -3
  8. package/dist/src/base/AppConfigFormItem.vue.js +210 -85
  9. package/dist/src/base/AppMarket.js +1 -0
  10. package/dist/src/base/AppMarketList.js +1 -0
  11. package/dist/src/base/AppMarketSystemDetail.js +1 -0
  12. package/dist/src/base/AttributeSubAdd.js +1 -0
  13. package/dist/src/base/ChooseApplication.js +1 -0
  14. package/dist/src/base/ClientAppItem.js +1 -0
  15. package/dist/src/base/ClientApplication.js +1 -0
  16. package/dist/src/base/ClientApplicationList.js +1 -0
  17. package/dist/src/base/ClientModule.js +1 -0
  18. package/dist/src/base/ClientModuleIndex.js +1 -0
  19. package/dist/src/base/ClientSystemDetail.js +1 -0
  20. package/dist/src/base/ClientSystemList.js +1 -0
  21. package/dist/src/base/CommonFieldList.js +2 -1
  22. package/dist/src/base/CommonFieldList.vue.js +2 -1
  23. package/dist/src/base/CommonSearchList.js +1 -0
  24. package/dist/src/base/CompayDetail.js +1 -0
  25. package/dist/src/base/ComponentGlobalSet.js +1 -0
  26. package/dist/src/base/ComponentParamsTree.js +1 -0
  27. package/dist/src/base/ConfigModuleIndex.js +39 -1
  28. package/dist/src/base/CurrentClientApplication.js +1 -0
  29. package/dist/src/base/CurrentVersionInfo.js +1 -0
  30. package/dist/src/base/EntityMatchCompare.js +1 -0
  31. package/dist/src/base/FieldRelationFormItem.js +1 -0
  32. package/dist/src/base/HelpDocSet.js +1 -0
  33. package/dist/src/base/IndexFormItem.js +1 -0
  34. package/dist/src/base/JobFormItem.js +1 -0
  35. package/dist/src/base/ManageAppNav.js +2 -1
  36. package/dist/src/base/ManageMenu.js +2 -1
  37. package/dist/src/base/ManageMenuItem.js +1 -0
  38. package/dist/src/base/NoInstallSystemList.js +1 -0
  39. package/dist/src/base/PageList.js +1 -0
  40. package/dist/src/base/PasswordFormItem.js +1 -0
  41. package/dist/src/base/ProcessFormItem.js +1 -0
  42. package/dist/src/base/PublishSystemApplyFormItem.js +1 -0
  43. package/dist/src/base/RequestLog.js +1 -0
  44. package/dist/src/base/RightRiskList.js +1 -0
  45. package/dist/src/base/RoleAccredit.js +1 -0
  46. package/dist/src/base/RoleBindTrace.js +253 -0
  47. package/dist/src/base/RoleGroupManage.js +1037 -0
  48. package/dist/src/base/RoleRightList.js +1 -0
  49. package/dist/src/base/RoleUserManage.js +1 -0
  50. package/dist/src/base/ServiceAccredit.js +1 -0
  51. package/dist/src/base/ServiceMenu.js +8 -6
  52. package/dist/src/base/ServiceMenuFormItem.js +1 -0
  53. package/dist/src/base/ServiceOperate.js +1 -0
  54. package/dist/src/base/SystemHelpTreeFind.js +1 -0
  55. package/dist/src/base/aiPromptMode.js +1 -0
  56. package/dist/src/base/data-check/DataChckDetail.js +1 -0
  57. package/dist/src/base/data-check/DataCheck.js +1 -0
  58. package/dist/src/base/data-check/DataCheckList.js +1 -0
  59. package/dist/src/base/data-check/DataCheckSubList.js +1 -0
  60. package/dist/src/base/entity-view/EntityViewFormItem.js +1 -0
  61. package/dist/src/base/entity-view/EntityViewSubList.js +1 -0
  62. package/dist/src/base/entity-view-config/BasicInfoDialog.js +1 -0
  63. package/dist/src/base/entity-view-config/FieldPanel.js +1 -0
  64. package/dist/src/base/entity-view-config/FieldPropForm.js +1 -0
  65. package/dist/src/base/entity-view-config/FormulaDialog.js +1 -0
  66. package/dist/src/base/entity-view-config/ObjectFieldDialog.js +1 -0
  67. package/dist/src/base/entity-view-config/RelationPanel.js +1 -0
  68. package/dist/src/base/entity-view-config/SourceManagerDialog.js +1 -0
  69. package/dist/src/base/entity-view-config/SqlPanel.js +1 -0
  70. package/dist/src/base/entity-view-config/UnionPanel.js +1 -0
  71. package/dist/src/base/entity-view-config/ViewConfig.js +1 -0
  72. package/dist/src/base/entity-view-config/constants.js +1 -0
  73. package/dist/src/base/user-type/UserTypeFormItem.js +1 -0
  74. package/dist/src/components/AddPageFormItem.js +1 -0
  75. package/dist/src/components/AddUsedInterface.js +1 -0
  76. package/dist/src/components/AiDocFormItem.js +1 -0
  77. package/dist/src/components/AiList.js +1279 -3
  78. package/dist/src/components/AiPermissionAssistant.js +1 -0
  79. package/dist/src/components/AppList.js +1 -0
  80. package/dist/src/components/Apply/AIApplyIndex.js +1 -0
  81. package/dist/src/components/Apply/ApplyIndex.js +1 -0
  82. package/dist/src/components/AttributeList.js +1 -0
  83. package/dist/src/components/Banner.js +1 -0
  84. package/dist/src/components/BatchAddFieldDialog.js +1 -0
  85. package/dist/src/components/CardO.js +1 -0
  86. package/dist/src/components/CheckForm.js +1 -0
  87. package/dist/src/components/ClientAdminFormItem.js +1 -0
  88. package/dist/src/components/ClientAdminList.js +1 -0
  89. package/dist/src/components/ClientFormItem.js +1 -0
  90. package/dist/src/components/ClientList.js +1 -0
  91. package/dist/src/components/CodeDetail.js +1 -0
  92. package/dist/src/components/CodeManage.js +1 -0
  93. package/dist/src/components/ComponentFind.js +1 -0
  94. package/dist/src/components/ComponentList.js +1 -0
  95. package/dist/src/components/ConfigParamFormItem.js +1 -0
  96. package/dist/src/components/CreatePage.js +1 -0
  97. package/dist/src/components/DashboardCreate.js +1 -0
  98. package/dist/src/components/DataLog.js +1 -0
  99. package/dist/src/components/DataLogTimeline.js +1 -0
  100. package/dist/src/components/DataSnapshot.js +1 -0
  101. package/dist/src/components/DataSnapshotList.js +1 -0
  102. package/dist/src/components/DataSyncInit.js +1 -0
  103. package/dist/src/components/DblogList.js +1 -0
  104. package/dist/src/components/DeptFind.js +1 -0
  105. package/dist/src/components/DynamicUserList.js +1 -0
  106. package/dist/src/components/EntityCheckboxFind.js +1 -0
  107. package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
  108. package/dist/src/components/EntityRelationAdd.js +1 -0
  109. package/dist/src/components/EntityRelationAddFormItem.js +1 -0
  110. package/dist/src/components/EntityRightFormItem.js +2 -5
  111. package/dist/src/components/EntityRightFormItem.vue.js +3 -1
  112. package/dist/src/components/EntityRightSubList.js +1 -0
  113. package/dist/src/components/EntitySystemEr.js +492 -0
  114. package/dist/src/components/EntityTagSubList.js +1 -0
  115. package/dist/src/components/EntityTreeManage.js +1 -0
  116. package/dist/src/components/ExportSystemConfig.js +1 -0
  117. package/dist/src/components/FieldTreeFind.js +1 -0
  118. package/dist/src/components/FormulaEditor.js +1 -0
  119. package/dist/src/components/GenTestData.js +1 -0
  120. package/dist/src/components/HallNav.js +1 -0
  121. package/dist/src/components/HallNav.vue.js +7 -36
  122. package/dist/src/components/HeaderNav.js +1 -0
  123. package/dist/src/components/IconCard.js +1 -0
  124. package/dist/src/components/IconFontLibrary.js +23 -1
  125. package/dist/src/components/IconFontList.js +22 -1
  126. package/dist/src/components/IdentifyList.js +1 -0
  127. package/dist/src/components/ImportSystemConfig.js +1 -0
  128. package/dist/src/components/InterfaceSubList.js +1 -0
  129. package/dist/src/components/JsPanel.js +1 -0
  130. package/dist/src/components/LanguageImportPage.js +1 -0
  131. package/dist/src/components/LanguageSetting.js +1 -0
  132. package/dist/src/components/List/LinkItem.js +1 -0
  133. package/dist/src/components/List/List.js +1 -0
  134. package/dist/src/components/List/ListItem.js +1 -0
  135. package/dist/src/components/MenuTreeFind.js +1 -0
  136. package/dist/src/components/MessageList.js +1 -0
  137. package/dist/src/components/MessageRuleFormItem.js +1 -0
  138. package/dist/src/components/MessageRuleReceiverFormItem.js +1 -0
  139. package/dist/src/components/MessageTemplate.js +1 -0
  140. package/dist/src/components/MetaList.js +1 -0
  141. package/dist/src/components/Nav.js +1 -0
  142. package/dist/src/components/NavFormCatalogItem.js +1 -0
  143. package/dist/src/components/NumList.js +1 -0
  144. package/dist/src/components/OperateLog.js +1 -0
  145. package/dist/src/components/PageCatalog.js +1 -0
  146. package/dist/src/components/PageChart.js +1 -0
  147. package/dist/src/components/PageSwipes.js +1 -0
  148. package/dist/src/components/PersonFormItem.js +1 -0
  149. package/dist/src/components/Popup.js +1 -0
  150. package/dist/src/components/PrintFormList.js +3 -1
  151. package/dist/src/components/PrintFormList.vue.js +3 -1
  152. package/dist/src/components/PublishEntity.js +1 -0
  153. package/dist/src/components/RelyFieldTreeFind.js +1 -0
  154. package/dist/src/components/ReportFormList.js +1 -0
  155. package/dist/src/components/ReportList.js +1 -0
  156. package/dist/src/components/RightSubList.js +1 -0
  157. package/dist/src/components/RoleAddUser.js +1 -0
  158. package/dist/src/components/RoleApplicationCard.js +1 -0
  159. package/dist/src/components/RoleApplicationList.js +1 -0
  160. package/dist/src/components/RoleApplicationSet.js +1 -0
  161. package/dist/src/components/Search.js +1 -0
  162. package/dist/src/components/ServiceFormItem.js +1 -0
  163. package/dist/src/components/SnapshotDataList.js +1 -0
  164. package/dist/src/components/SystemAdminList.js +1 -0
  165. package/dist/src/components/SystemFormItem.js +1 -0
  166. package/dist/src/components/SystemNav.js +1 -0
  167. package/dist/src/components/TaskNumCard.js +1 -0
  168. package/dist/src/components/TimerRuleFormItem.js +1 -0
  169. package/dist/src/components/TodoList.js +1 -0
  170. package/dist/src/components/UpdateSystemConfig.js +1 -0
  171. package/dist/src/components/UserCard.js +1 -0
  172. package/dist/src/components/UserFind.js +1 -0
  173. package/dist/src/components/UserFormItem.js +1 -0
  174. package/dist/src/components/UserList.js +1 -0
  175. package/dist/src/components/UserManage.js +1 -0
  176. package/dist/src/components/UserRoleList.js +1 -0
  177. package/dist/src/components/ValidateRuleFormItem.js +1 -0
  178. package/dist/src/components/ViewFieldDefine.js +1 -0
  179. package/dist/src/components/WikiSpaceList.js +1 -0
  180. package/dist/src/components/WikiWorkbench.js +154 -129
  181. package/dist/src/components/authorization/AddApiPermiss.js +1 -0
  182. package/dist/src/components/authorization/AddAuthorization.js +1 -0
  183. package/dist/src/components/authorization/AddEntityFind.js +1 -0
  184. package/dist/src/components/authorization/AddNoApi.js +1 -0
  185. package/dist/src/components/authorization/AddRoleScope.js +1 -0
  186. package/dist/src/components/authorization/AiRolePlan.js +1 -0
  187. package/dist/src/components/authorization/ApiShareOtherList.js +1 -0
  188. package/dist/src/components/authorization/ApiSystemList.js +1 -0
  189. package/dist/src/components/authorization/AuthorizationInterface.js +4 -1
  190. package/dist/src/components/authorization/AuthorizationRoleSystem.js +1 -0
  191. package/dist/src/components/authorization/EntityConstraintFormItem.js +1 -0
  192. package/dist/src/components/authorization/OtherShareApiList.js +1 -0
  193. package/dist/src/components/authorization/PermissCommonRoleTabs.js +1 -0
  194. package/dist/src/components/authorization/PermissRoleAuthorization.js +1 -0
  195. package/dist/src/components/authorization/PermissRoleTabs.js +1 -0
  196. package/dist/src/components/authorization/RoleLevel.js +1 -0
  197. package/dist/src/components/authorization/RoleLevelScope.js +1 -0
  198. package/dist/src/components/authorization/SystemAddNoApi.js +1 -0
  199. package/dist/src/components/card/CardList.js +1 -0
  200. package/dist/src/components/card/CardListItem.js +1 -0
  201. package/dist/src/components/card/Title.js +1 -0
  202. package/dist/src/components/custom-bpmn/CustomContextPad.js +1 -0
  203. package/dist/src/components/custom-bpmn/CustomPalette.js +1 -0
  204. package/dist/src/components/custom-bpmn/CustomRenderer.js +1 -0
  205. package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +1 -0
  206. package/dist/src/components/custom-bpmn/PropertiesView.js +1992 -1942
  207. package/dist/src/components/custom-bpmn/components/AiModel.js +1 -0
  208. package/dist/src/components/custom-bpmn/components/Api.js +1 -0
  209. package/dist/src/components/custom-bpmn/components/BatchOperation.js +1 -0
  210. package/dist/src/components/custom-bpmn/components/Copy.js +1 -0
  211. package/dist/src/components/custom-bpmn/components/DataTransform.js +1 -0
  212. package/dist/src/components/custom-bpmn/components/Demo.js +1 -0
  213. package/dist/src/components/custom-bpmn/components/EditDiv.js +1 -0
  214. package/dist/src/components/custom-bpmn/components/GenScope.js +1 -0
  215. package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +1 -0
  216. package/dist/src/components/custom-bpmn/components/Knowledges.js +1 -0
  217. package/dist/src/components/custom-bpmn/components/Login.js +1 -0
  218. package/dist/src/components/custom-bpmn/components/MessageQueue.js +1 -0
  219. package/dist/src/components/custom-bpmn/components/MetaSelect.js +1 -0
  220. package/dist/src/components/custom-bpmn/components/NumStatistic.js +1 -0
  221. package/dist/src/components/custom-bpmn/components/ObjectTransform.js +1 -0
  222. package/dist/src/components/custom-bpmn/components/OutPut.js +1 -0
  223. package/dist/src/components/custom-bpmn/components/ParamsMachining.js +1 -0
  224. package/dist/src/components/custom-bpmn/components/ParamsOutput.js +1 -0
  225. package/dist/src/components/custom-bpmn/components/ProcessAudit.js +1 -0
  226. package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1 -0
  227. package/dist/src/components/custom-bpmn/components/TestDialog.js +1 -0
  228. package/dist/src/components/custom-bpmn/index.js +1 -0
  229. package/dist/src/components/custom-bpmn/palette.js +1 -0
  230. package/dist/src/components/custom-bpmn/util.js +1 -0
  231. package/dist/src/components/dashboard-create.js +1 -0
  232. package/dist/src/components/entity-relation-diagram/Er.js +1 -0
  233. package/dist/src/components/entity-relation-diagram/renderErNode.js +1 -0
  234. package/dist/src/components/expand/AddForm.js +1 -0
  235. package/dist/src/components/expand/AddFormItem.js +1 -0
  236. package/dist/src/components/filter/Filter.js +1 -0
  237. package/dist/src/components/filter/FilterItem.js +1 -0
  238. package/dist/src/components/hall/AppCollect.js +1 -0
  239. package/dist/src/components/hall/AppList.js +1 -0
  240. package/dist/src/components/hall/AppVisitRecord.js +1 -0
  241. package/dist/src/components/hall/Banner.js +1 -0
  242. package/dist/src/components/hall/ServiceCard.js +1 -0
  243. package/dist/src/components/hall/UserCard.js +1 -0
  244. package/dist/src/components/icon-gallery/IconGallery.js +193 -0
  245. package/dist/src/components/icon-gallery/mixin.js +150 -0
  246. package/dist/src/components/permiss/AddApi.js +1 -0
  247. package/dist/src/components/permiss/AddNoEntityApi.js +1 -0
  248. package/dist/src/components/permiss/AddSystemPermiss.js +1 -0
  249. package/dist/src/components/permiss/AllocateRole.js +1 -0
  250. package/dist/src/components/permiss/ApiSubList.js +1 -0
  251. package/dist/src/components/permiss/CommonRoleMenu.js +1 -0
  252. package/dist/src/components/permiss/FieldScope.js +1 -0
  253. package/dist/src/components/permiss/PermissManage.js +1 -0
  254. package/dist/src/components/permiss/RoleAppList.js +1 -0
  255. package/dist/src/components/permiss/RoleMenu.js +1 -0
  256. package/dist/src/components/permiss/RoleSubList.js +1 -0
  257. package/dist/src/components/permiss/jurisdiction.js +1 -0
  258. package/dist/src/components/process-healthcheck/HealthcheckChart.js +1 -0
  259. package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +1 -0
  260. package/dist/src/components/process-healthcheck/index.js +1 -0
  261. package/dist/src/components/report/Config.js +1 -0
  262. package/dist/src/components/report/Design.js +1 -0
  263. package/dist/src/components/report/StatList.js +1 -0
  264. package/dist/src/components/right/EntityOtherSystemList.js +1 -0
  265. package/dist/src/components/right/SystemInterfaceList.js +1 -0
  266. package/dist/src/components/right/SystemList.js +1 -0
  267. package/dist/src/components/upLoad.js +1 -0
  268. package/dist/src/components/viewport/LookViewList.js +1 -0
  269. package/dist/src/components/viewport/ViewAddForm.js +1 -0
  270. package/dist/src/components/viewport/ViewDefineList.js +1 -0
  271. package/dist/src/components/viewport/ViewFiedList.js +1 -0
  272. package/dist/src/components/viewport/ViewScope.js +1 -0
  273. package/dist/src/components/wiki-workbench/WikiCites.js +1 -0
  274. package/dist/src/components/wiki-workbench/WikiIntake.js +87 -93
  275. package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
  276. package/dist/src/components/wiki-workbench/WikiJobs.js +1 -0
  277. package/dist/src/components/wiki-workbench/WikiRevisions.js +1 -0
  278. package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +1 -0
  279. package/dist/src/components/wiki-workbench/codes.js +1 -0
  280. package/dist/src/components/wiki-workbench/index.js +1 -0
  281. package/dist/src/index.js +27 -20
  282. package/dist/src/popup.js +1 -0
  283. package/dist/src/public-components.js +17 -14
  284. package/dist/src/remote.entry.js +1 -0
  285. package/dist/src/route-components.js +6 -5
  286. package/dist/src/system.component.index.js +2 -1
  287. package/dist/src/system.component.js +9 -3
  288. package/dist/src/system.component.lazy.js +2 -1
  289. package/dist/src/views/Add.js +2 -1
  290. package/dist/src/views/Add.vue.js +8 -3
  291. package/dist/src/views/AiToolManager.js +793 -317
  292. package/dist/src/views/App.js +4 -45
  293. package/dist/src/views/AppRoleSelect.js +4 -230
  294. package/dist/src/views/BatchEdit.js +1 -0
  295. package/dist/src/views/Bpmn.js +1 -0
  296. package/dist/src/views/EntityCheckPage.js +1 -0
  297. package/dist/src/views/EntityDetailPage.js +1 -0
  298. package/dist/src/views/EntityEditPage.js +1 -0
  299. package/dist/src/views/EntitySubListPage.js +1 -0
  300. package/dist/src/views/EntityTreePage.js +1 -0
  301. package/dist/src/views/Error.js +4 -207
  302. package/dist/src/views/ExcelDesign.js +327 -316
  303. package/dist/src/views/ExcelPreviewPage.js +1 -0
  304. package/dist/src/views/ExportFilePage.js +1 -0
  305. package/dist/src/views/ExportPage.js +1 -0
  306. package/dist/src/views/FormDesign.js +1 -0
  307. package/dist/src/views/I18nWorkbench.js +1 -0
  308. package/dist/src/views/ImportFilePage.js +1 -0
  309. package/dist/src/views/ImportPage.js +1 -0
  310. package/dist/src/views/JvmMemoryMonitor.js +463 -0
  311. package/dist/src/views/MEntityListPage.js +1 -0
  312. package/dist/src/views/MEntitySubListPage.js +1 -0
  313. package/dist/src/views/MinePage.js +1 -0
  314. package/dist/src/views/Module.js +4 -170
  315. package/dist/src/views/PageAttributeTreePage.js +1 -0
  316. package/dist/src/views/PageConfig.js +1 -0
  317. package/dist/src/views/Permission.js +1 -0
  318. package/dist/src/views/PersonalInfo.js +1 -0
  319. package/dist/src/views/QyWechat.js +1 -0
  320. package/dist/src/views/ReportFormListPage.js +1 -0
  321. package/dist/src/views/TaskPage.js +1 -0
  322. package/dist/src/views/WikiBinding.js +89 -25
  323. package/dist/src/views/client/AddForm.js +1 -0
  324. package/dist/src/views/client/AppMarket.js +1 -0
  325. package/dist/src/views/client/ClientIndex.js +1 -0
  326. package/dist/src/views/client/ClientModuleIndexPage.js +1 -0
  327. package/dist/src/views/client/CopySystem.js +1 -0
  328. package/dist/src/views/client/CreateAppFormItem.js +1 -0
  329. package/dist/src/views/client/CreateMethod.js +1 -0
  330. package/dist/src/views/client/InstallSystem.js +1 -0
  331. package/dist/src/views/client/ManageList.js +1 -0
  332. package/dist/src/views/client/OpenClientManage.js +1 -0
  333. package/dist/src/views/client/OpenSystemManage.js +1 -0
  334. package/dist/src/views/client/PageTabsCyclic.js +1 -0
  335. package/dist/src/views/client/SelfBuiltSystem.js +1 -0
  336. package/dist/src/views/client/StandardProduct.js +1 -0
  337. package/dist/src/views/client/SystemAppAccredit.js +1 -0
  338. package/dist/src/views/client/SystemAppManager.js +1 -0
  339. package/dist/src/views/client/SystemManager.js +1 -0
  340. package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +1 -0
  341. package/dist/src/views/i18n/I18nPublishDialog.js +1 -0
  342. package/dist/src/views/i18n/I18nTranslationList.js +1 -0
  343. package/dist/src/views/i18n/i18n-workbench-text.js +1 -0
  344. package/dist/src/views/layout/CardList.js +1 -0
  345. package/dist/src/views/layout/Grid.js +1 -0
  346. package/dist/src/views/match/AddTargetField.js +1 -0
  347. package/dist/src/views/match/MatchAddFormItem.js +1 -0
  348. package/dist/src/views/match/conversion.js +1 -0
  349. package/dist/src/views/match/customize.js +1 -0
  350. package/dist/src/views/match/fieldMatch.js +1 -0
  351. package/dist/src/views/report/AddFormItem.js +1 -0
  352. package/dist/src/views/report/DesignReport.js +1 -0
  353. package/dist/src/views/report/ReportTreeFind.js +1 -0
  354. package/dist/style.css +2867 -1487
  355. package/package.json +14 -7
  356. package/src/base/AiSkillEditor.vue +2 -0
  357. package/src/base/AppConfigFormItem.vue +211 -145
  358. package/src/base/CommonFieldList.vue +9 -6
  359. package/src/base/ConfigModuleIndex.vue +37 -1
  360. package/src/base/ManageAppNav.vue +1188 -1188
  361. package/src/base/ManageMenu.vue +933 -933
  362. package/src/base/RoleBindTrace.vue +364 -0
  363. package/src/base/RoleGroupManage.vue +1160 -0
  364. package/src/base/ServiceMenu.vue +6 -5
  365. package/src/components/AiList.vue +439 -113
  366. package/src/components/EntityCheckboxFind.vue +12 -8
  367. package/src/components/EntityRightFormItem.vue +9 -10
  368. package/src/components/EntitySystemEr.vue +517 -0
  369. package/src/components/HallNav.vue +6 -33
  370. package/src/components/IconFontLibrary.vue +27 -60
  371. package/src/components/IconFontList.vue +13 -64
  372. package/src/components/PrintFormList.vue +33 -27
  373. package/src/components/WikiWorkbench.vue +90 -60
  374. package/src/components/authorization/AuthorizationInterface.vue +2 -0
  375. package/src/components/custom-bpmn/CustomPalette.js +1 -1
  376. package/src/components/custom-bpmn/CustomRenderer.js +1 -1
  377. package/src/components/custom-bpmn/PropertiesView.vue +35 -4
  378. package/src/components/custom-bpmn/index.js +1 -1
  379. package/src/components/icon-gallery/IconGallery.vue +130 -0
  380. package/src/components/icon-gallery/mixin.jsx +109 -0
  381. package/src/components/wiki-workbench/WikiIntake.vue +178 -104
  382. package/src/index.js +24 -20
  383. package/src/public-components.js +1 -0
  384. package/src/route-components.js +4 -4
  385. package/src/system.component.index.js +1 -1
  386. package/src/views/Add.vue +8 -5
  387. package/src/views/AiToolManager.vue +326 -4
  388. package/src/views/App.vue +4 -53
  389. package/src/views/AppRoleSelect.vue +4 -334
  390. package/src/views/Error.vue +4 -63
  391. package/src/views/ExcelDesign.vue +24 -7
  392. package/src/views/JvmMemoryMonitor.vue +284 -0
  393. package/src/views/Module.vue +4 -210
  394. package/src/views/WikiBinding.vue +42 -0
  395. package/types/app.d.ts +1 -0
  396. package/types/dept-find.d.ts +1 -1
  397. package/types/index.d.ts +15 -14
  398. package/types/popup.d.ts +2 -2
  399. package/types/route-components.d.ts +1 -1
  400. package/types/user-find.d.ts +1 -1
  401. package/dist/assets/role_select-DTqRlFNz.webp +0 -0
  402. package/dist/src/components/AiList.vue.js +0 -93
  403. package/dist/src/components/IconFontLibrary.vue.js +0 -67
  404. package/dist/src/components/IconFontList.vue.js +0 -79
package/src/views/Add.vue CHANGED
@@ -482,11 +482,11 @@ export default {
482
482
  }
483
483
  },
484
484
  init () {
485
- if (this.linkAttrs && this.linkAttrs.length > 0) {
486
- // this.$bus.off('reload')
487
- this.$bus.on('reload', () => {
485
+ if (this.linkAttrs && this.linkAttrs.length > 0 && !this._reloadHandler) {
486
+ this._reloadHandler = () => {
488
487
  this.reload = true
489
- })
488
+ }
489
+ this.$bus.on('reload', this._reloadHandler)
490
490
  }
491
491
  this.getFieldConfig()
492
492
  // 获取其级联编辑页面
@@ -671,7 +671,10 @@ export default {
671
671
  )
672
672
  },
673
673
  beforeUnmount () {
674
- // this.$bus.off('reload')
674
+ if (this._reloadHandler) {
675
+ this.$bus.off('reload', this._reloadHandler)
676
+ this._reloadHandler = null
677
+ }
675
678
  // this.$bus.off('subAddEntity')
676
679
  // this.$bus.on('reload', this.reloadMenuPage)
677
680
  }
@@ -35,6 +35,36 @@
35
35
  </div>
36
36
  </div>
37
37
 
38
+ <!-- 调用方法沿用工具绑定,不复制方法定义 -->
39
+ <div class="tool-section">
40
+ <div class="section-header">
41
+ <span class="section-title">调用方法</span>
42
+ <span class="call-method-hint">接入配置中心已启用的方法,供智能体调用</span>
43
+ </div>
44
+ <div class="tool-cards">
45
+ <div v-for="tool in callMethodTools" :key="tool.ID" class="tool-card interface-card clickable" @click="showCallMethodSettings(tool)">
46
+ <div class="card-header">
47
+ <span class="card-title">{{ tool['CALL_METHOD|NAME'] || tool.NAME }}</span>
48
+ <el-tag size="small" :type="String(tool.CONFIRM) === '1' ? 'warning' : 'info'">{{ String(tool.CONFIRM) === '1' ? '执行前确认' : '直接执行' }}</el-tag>
49
+ </div>
50
+ <div class="card-content">
51
+ <div class="card-line">方法标识:{{ tool['CALL_METHOD|CODE'] || '—' }}</div>
52
+ <div class="card-line">主对象:{{ tool['CALL_METHOD|MAIN_ENTITY#'] || '—' }}</div>
53
+ <div class="card-line">方法类型:{{ callMethodTypeName(tool['CALL_METHOD|OPERATION']) }}</div>
54
+ <div class="card-line">{{ tool['CALL_METHOD|DESCRIPTION'] || tool.DESC }}</div>
55
+ </div>
56
+ <div class="call-method-actions">
57
+ <el-button size="small" class="call-method-secondary" @click.stop="showCallMethodSettings(tool)">接入配置</el-button>
58
+ <el-button size="small" class="call-method-danger" @click.stop="removeCallMethod(tool)">解除绑定</el-button>
59
+ </div>
60
+ </div>
61
+ <div class="tool-card add-card" @click="showCallMethodDialog">
62
+ <div class="add-icon">+</div>
63
+ <div class="add-text">添加调用方法</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+
38
68
  <!-- 对象接口工具 -->
39
69
  <div class="tool-section">
40
70
  <div class="section-header">
@@ -377,7 +407,7 @@
377
407
  <div class="filter-item">
378
408
  <label>选择对象:</label>
379
409
  <epx-object
380
- v-model="selectedEntity"
410
+ :model-value="selectedEntity"
381
411
  :fieldConfigs="{
382
412
  attriLabel: '',
383
413
  codeKey: 'FM_ENTITY',
@@ -385,7 +415,7 @@
385
415
  placeholder: '请选择对象',
386
416
  isMultiple: '0'
387
417
  }"
388
- @change="handleEntityChange"
418
+ @update:modelValue="handleEntityChange"
389
419
  />
390
420
  </div>
391
421
  </div>
@@ -781,6 +811,49 @@
781
811
  </div>
782
812
  </el-dialog>
783
813
 
814
+ <el-dialog title="添加调用方法" v-model="callMethodDialogVisible" width="960px" :close-on-click-modal="false" :close-on-press-escape="!callMethodSaving" :show-close="!callMethodSaving">
815
+ <div class="call-method-toolbar">
816
+ <el-input v-model="callMethodKeyword" size="small" placeholder="搜索方法名称或标识" clearable :disabled="callMethodSaving" @keyup.enter="searchCallMethods" @clear="searchCallMethods" />
817
+ <el-button size="small" class="call-method-secondary" :disabled="callMethodSaving" @click="searchCallMethods">查询</el-button>
818
+ <span class="call-method-hint">已接入的方法不可重复选择</span>
819
+ </div>
820
+ <el-table ref="callMethodTable" v-loading="callMethodLoading" :data="callMethodList" row-key="ID" height="340" @selection-change="handleCallMethodSelectionChange">
821
+ <el-table-column type="selection" width="48" :reserve-selection="true" :selectable="canSelectCallMethod" />
822
+ <el-table-column prop="NAME" label="方法名称" min-width="160" show-overflow-tooltip />
823
+ <el-table-column prop="CODE" label="方法标识" min-width="170" show-overflow-tooltip />
824
+ <el-table-column label="方法类型" width="120"><template #default="scope">{{ callMethodTypeName(scope.row.OPERATION) }}</template></el-table-column>
825
+ <el-table-column prop="MAIN_ENTITY#" label="主对象" min-width="140" show-overflow-tooltip />
826
+ <el-table-column prop="DESCRIPTION" label="方法描述" min-width="200" show-overflow-tooltip />
827
+ </el-table>
828
+ <el-pagination :current-page="callMethodPage" :page-size="10" layout="total, prev, pager, next" :total="callMethodTotal" :disabled="callMethodSaving" @current-change="changeCallMethodPage" />
829
+ <div v-if="selectedCallMethods.length" class="call-method-selection">
830
+ <div class="call-method-selection-title">已选择 {{ selectedCallMethods.length }} 个方法 · 逐项设置执行前确认</div>
831
+ <div v-for="method in selectedCallMethods" :key="method.ID" class="call-method-selection-row">
832
+ <span>{{ method.NAME }}</span>
833
+ <el-checkbox v-model="callMethodConfirm[method.ID]" :disabled="callMethodSaving">执行前确认</el-checkbox>
834
+ </div>
835
+ </div>
836
+ <template #footer><div >
837
+ <el-button size="small" class="call-method-secondary" :disabled="callMethodSaving" @click="callMethodDialogVisible = false">取消</el-button>
838
+ <el-button size="small" type="primary" class="call-method-primary" :disabled="!selectedCallMethods.length || callMethodLoading" :loading="callMethodSaving" @click="confirmCallMethods">确认添加</el-button>
839
+ </div></template>
840
+ </el-dialog>
841
+
842
+ <el-dialog title="调用方法接入配置" v-model="callMethodSettingsVisible" width="600px" :close-on-click-modal="false" :close-on-press-escape="!callMethodSaving" :show-close="!callMethodSaving">
843
+ <el-form label-width="100px">
844
+ <el-form-item label="方法名称">{{ callMethodSetting['CALL_METHOD|NAME'] || callMethodSetting.NAME }}</el-form-item>
845
+ <el-form-item label="方法标识">{{ callMethodSetting['CALL_METHOD|CODE'] || '—' }}</el-form-item>
846
+ <el-form-item label="方法类型">{{ callMethodTypeName(callMethodSetting['CALL_METHOD|OPERATION']) }}</el-form-item>
847
+ <el-form-item label="主对象">{{ callMethodSetting['CALL_METHOD|MAIN_ENTITY#'] || '—' }}</el-form-item>
848
+ <el-form-item label="方法描述">{{ callMethodSetting['CALL_METHOD|DESCRIPTION'] || callMethodSetting.DESC }}</el-form-item>
849
+ <el-form-item label="执行前确认"><el-switch v-model="callMethodSettingConfirm" :disabled="callMethodSaving" /></el-form-item>
850
+ </el-form>
851
+ <template #footer><div >
852
+ <el-button size="small" class="call-method-secondary" :disabled="callMethodSaving" @click="callMethodSettingsVisible = false">取消</el-button>
853
+ <el-button size="small" type="primary" class="call-method-primary" :loading="callMethodSaving" @click="saveCallMethodSettings">保存</el-button>
854
+ </div></template>
855
+ </el-dialog>
856
+
784
857
  <!-- MCP选择对话框 -->
785
858
  <el-dialog
786
859
  title="添加MCP工具"
@@ -912,6 +985,21 @@ export default {
912
985
  subAgentTools: [],
913
986
  skillTools: [],
914
987
  sysTools: [],
988
+ callMethodTools: [],
989
+ callMethodDialogVisible: false,
990
+ callMethodList: [],
991
+ callMethodKeyword: '',
992
+ callMethodPage: 1,
993
+ callMethodTotal: 0,
994
+ callMethodLoading: false,
995
+ callMethodSaving: false,
996
+ callMethodRequestId: 0,
997
+ selectedCallMethods: [],
998
+ // 确认设置按方法ID保留,跨页选择不会重置用户修改。
999
+ callMethodConfirm: {},
1000
+ callMethodSettingsVisible: false,
1001
+ callMethodSetting: {},
1002
+ callMethodSettingConfirm: false,
915
1003
  dialogVisible: false,
916
1004
  dialogTitle: '新增工具',
917
1005
  isEdit: false,
@@ -1006,7 +1094,7 @@ export default {
1006
1094
  methods: {
1007
1095
  // 加载工具列表
1008
1096
  loadTools () {
1009
- this.$http.list({
1097
+ return this.$http.list({
1010
1098
  action: 'list',
1011
1099
  entityId: 'FM_AI_TOOL',
1012
1100
  'scope.AGENT': this.$query.id,
@@ -1014,7 +1102,7 @@ export default {
1014
1102
  order_mode: 'asc',
1015
1103
  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'
1016
1104
  })
1017
- .then(data => {
1105
+ .then(async data => {
1018
1106
  const tools = data.entitys || []
1019
1107
  this.interfaceTools = tools.filter(t => t.TYPE === 'function')
1020
1108
  this.externalTools = tools.filter(t => t.TYPE === 'api')
@@ -1022,12 +1110,174 @@ export default {
1022
1110
  this.subAgentTools = tools.filter(t => t.TYPE === 'subagent')
1023
1111
  this.skillTools = tools.filter(t => t.TYPE === 'skills')
1024
1112
  this.sysTools = tools.filter(t => t.TYPE === 'sys_tool')
1113
+ await this.loadCallMethodTools(tools.filter(t => t.TYPE === 'call_method'))
1025
1114
  })
1026
1115
  .catch(err => {
1027
1116
  this.$message.error(err.message || '加载工具列表失败')
1028
1117
  })
1029
1118
  },
1030
1119
 
1120
+ callMethodTypeName (operation) {
1121
+ return { CREATE: '数据新增', LIST: '列表分页查询', UPDATE: '数据编辑', DELETE: '数据删除', DETAIL: '详情', APPLY: '申请', APPROVE: '审核', PRINT: '报表打印' }[operation] || operation || '—'
1122
+ },
1123
+
1124
+ // 仅存在此类绑定时读取新增关联字段,兼容尚未接入调用方法的旧配置。
1125
+ async loadCallMethodTools (tools) {
1126
+ this.callMethodTools = tools
1127
+ if (!tools.length) return
1128
+ const result = await this.$http.list({
1129
+ entityId: this.$util.getSystemMeta('FM_AI_TOOL'),
1130
+ 'scope.AGENT': this.$query.id,
1131
+ 'scope.TYPE': 'call_method',
1132
+ limit: tools.length,
1133
+ columnFieldNames: 'ID,NAME,DESC,CONFIRM,CALL_METHOD,CALL_METHOD|NAME,CALL_METHOD|CODE,CALL_METHOD|DESCRIPTION,CALL_METHOD|OPERATION,CALL_METHOD|MAIN_ENTITY#'
1134
+ })
1135
+ this.callMethodTools = result.entitys || []
1136
+ },
1137
+
1138
+ showCallMethodDialog () {
1139
+ if (!this.$query.id) {
1140
+ this.$message.warning('请先保存智能体,再添加调用方法')
1141
+ return
1142
+ }
1143
+ this.callMethodKeyword = ''
1144
+ this.callMethodPage = 1
1145
+ this.callMethodList = []
1146
+ this.selectedCallMethods = []
1147
+ this.callMethodConfirm = {}
1148
+ this.callMethodDialogVisible = true
1149
+ this.$nextTick(() => {
1150
+ if (this.$refs.callMethodTable) this.$refs.callMethodTable.clearSelection()
1151
+ this.loadCallMethods()
1152
+ })
1153
+ },
1154
+
1155
+ async loadCallMethods () {
1156
+ const requestId = ++this.callMethodRequestId
1157
+ this.callMethodLoading = true
1158
+ try {
1159
+ // 只提供已启用的方法;list返回entitys和total,绑定仍由后端校验。
1160
+ const result = await this.$http.list({
1161
+ entityId: this.$util.getSystemMeta('FM_AI_CALL_METHOD'),
1162
+ 'scope.ENABLE': '1',
1163
+ keywordValue: this.callMethodKeyword,
1164
+ keywordFields: 'NAME,CODE',
1165
+ page: this.callMethodPage,
1166
+ limit: 10,
1167
+ columnFieldNames: 'ID,NAME,CODE,DESCRIPTION,OPERATION,MAIN_ENTITY#',
1168
+ order_field: 'CODE',
1169
+ order_mode: 'asc'
1170
+ })
1171
+ if (requestId !== this.callMethodRequestId) return
1172
+ this.callMethodList = result.entitys || []
1173
+ this.callMethodTotal = result.total || 0
1174
+ } catch (err) {
1175
+ if (requestId === this.callMethodRequestId) {
1176
+ this.callMethodList = []
1177
+ this.callMethodTotal = 0
1178
+ this.$message.error(err.msg || err.message || '加载调用方法失败')
1179
+ }
1180
+ } finally {
1181
+ if (requestId === this.callMethodRequestId) this.callMethodLoading = false
1182
+ }
1183
+ },
1184
+
1185
+ searchCallMethods () {
1186
+ this.callMethodPage = 1
1187
+ this.loadCallMethods()
1188
+ },
1189
+
1190
+ changeCallMethodPage (page) {
1191
+ this.callMethodPage = page
1192
+ this.loadCallMethods()
1193
+ },
1194
+
1195
+ canSelectCallMethod (row) {
1196
+ return !this.callMethodSaving && !this.callMethodTools.some(tool => tool.CALL_METHOD === row.ID)
1197
+ },
1198
+
1199
+ handleCallMethodSelectionChange (selection) {
1200
+ this.selectedCallMethods = selection
1201
+ selection.forEach(method => {
1202
+ if (!Object.prototype.hasOwnProperty.call(this.callMethodConfirm, method.ID)) {
1203
+ this.$set(this.callMethodConfirm, method.ID, method.OPERATION === 'CREATE')
1204
+ }
1205
+ })
1206
+ },
1207
+
1208
+ async confirmCallMethods () {
1209
+ if (this.callMethodSaving || !this.selectedCallMethods.length) return
1210
+ this.callMethodSaving = true
1211
+ let saved = 0
1212
+ try {
1213
+ // 每条保存成功即移出待选,部分失败时重试只处理未成功的绑定。
1214
+ for (const method of [...this.selectedCallMethods]) {
1215
+ await this.$http.save({
1216
+ entityId: this.$util.getSystemMeta('FM_AI_TOOL'),
1217
+ bean: {
1218
+ NAME: method.NAME,
1219
+ DESC: method.DESCRIPTION || method.NAME,
1220
+ TYPE: 'call_method',
1221
+ CALL_METHOD: method.ID,
1222
+ AGENT: this.$query.id,
1223
+ CLIENT: this.CLIENT,
1224
+ SYSTEM: this.SYSTEM,
1225
+ ENABLE: '1',
1226
+ CONFIRM: this.callMethodConfirm[method.ID] ? '1' : '0'
1227
+ }
1228
+ })
1229
+ saved++
1230
+ this.$refs.callMethodTable.toggleRowSelection(method, false)
1231
+ }
1232
+ this.callMethodDialogVisible = false
1233
+ this.$message.success(`已添加 ${saved} 个调用方法`)
1234
+ } catch (err) {
1235
+ this.$message.error(`${saved ? `已添加 ${saved} 个,其余未完成:` : ''}${err.msg || err.message || '添加调用方法失败'}`)
1236
+ } finally {
1237
+ await this.loadTools()
1238
+ this.callMethodSaving = false
1239
+ }
1240
+ },
1241
+
1242
+ showCallMethodSettings (tool) {
1243
+ this.callMethodSetting = { ...tool }
1244
+ this.callMethodSettingConfirm = String(tool.CONFIRM) === '1'
1245
+ this.callMethodSettingsVisible = true
1246
+ },
1247
+
1248
+ async saveCallMethodSettings () {
1249
+ if (this.callMethodSaving) return
1250
+ this.callMethodSaving = true
1251
+ try {
1252
+ await this.$http.update({
1253
+ entityId: this.$util.getSystemMeta('FM_AI_TOOL'),
1254
+ bean: { ID: this.callMethodSetting.ID, CONFIRM: this.callMethodSettingConfirm ? '1' : '0' }
1255
+ })
1256
+ this.callMethodSettingsVisible = false
1257
+ this.$message.success('接入配置已保存')
1258
+ await this.loadTools()
1259
+ } catch (err) {
1260
+ this.$message.error(err.msg || err.message || '保存接入配置失败')
1261
+ } finally {
1262
+ this.callMethodSaving = false
1263
+ }
1264
+ },
1265
+
1266
+ async removeCallMethod (tool) {
1267
+ try {
1268
+ await this.$confirm(`确定解除“${tool['CALL_METHOD|NAME'] || tool.NAME}”的绑定吗?方法定义会保留。`, '解除绑定', { type: 'warning' })
1269
+ } catch (cancel) {
1270
+ return
1271
+ }
1272
+ try {
1273
+ await this.$http.removeMulti({ entityId: this.$util.getSystemMeta('FM_AI_TOOL'), ids: tool.ID })
1274
+ this.$message.success('已解除绑定')
1275
+ await this.loadTools()
1276
+ } catch (err) {
1277
+ this.$message.error(err.msg || err.message || '解除绑定失败')
1278
+ }
1279
+ },
1280
+
1031
1281
  // 新增工具
1032
1282
  handleAdd (type) {
1033
1283
  if (type === 'interface') {
@@ -1861,6 +2111,78 @@ export default {
1861
2111
  color: var(--epx-text);
1862
2112
  }
1863
2113
 
2114
+ .call-method-hint {
2115
+ margin-left: 12px;
2116
+ font-size: 12px;
2117
+ color: var(--epx-text-secondary, #909399);
2118
+ }
2119
+
2120
+ .call-method-actions,
2121
+ .call-method-toolbar,
2122
+ .call-method-selection-row {
2123
+ display: flex;
2124
+ align-items: center;
2125
+ gap: 12px;
2126
+ }
2127
+
2128
+ .call-method-actions {
2129
+ margin-top: 12px;
2130
+ }
2131
+
2132
+ .call-method-toolbar {
2133
+ margin-bottom: 16px;
2134
+
2135
+ .el-input { width: 300px; }
2136
+ }
2137
+
2138
+ .call-method-selection {
2139
+ margin-top: 16px;
2140
+ padding: 12px 16px;
2141
+ background: var(--epx-bg-card, #f5f7fa);
2142
+ max-height: 180px;
2143
+ overflow-y: auto;
2144
+ }
2145
+
2146
+ .call-method-selection-title {
2147
+ margin-bottom: 8px;
2148
+ font-weight: 600;
2149
+ }
2150
+
2151
+ .call-method-selection-row {
2152
+ justify-content: space-between;
2153
+ padding: 6px 0;
2154
+ }
2155
+
2156
+ :deep(.el-button.call-method-secondary) ,
2157
+ :deep(.el-button.call-method-primary) ,
2158
+ :deep(.el-button.call-method-danger) {
2159
+ font-weight: 600;
2160
+ }
2161
+
2162
+ :deep(.el-button.call-method-secondary) {
2163
+ background: var(--epx-bg-card, #ecf5ff);
2164
+ border-color: var(--epx-border, #b3d8ff);
2165
+ color: var(--epx-text, #1670d2);
2166
+ }
2167
+
2168
+ :deep(.el-button.call-method-primary) {
2169
+ background: rgb(var(--color-primary, 8, 116, 231));
2170
+ border-color: rgb(var(--color-primary, 8, 116, 231));
2171
+ color: #fff;
2172
+
2173
+ &.is-disabled {
2174
+ background: var(--epx-bg, #d9e6f5);
2175
+ border-color: var(--epx-border, #d9e6f5);
2176
+ color: #fff;
2177
+ }
2178
+ }
2179
+
2180
+ :deep(.el-button.call-method-danger) {
2181
+ background: var(--epx-bg-card, #fef0f0);
2182
+ border-color: var(--epx-border, #fbc4c4);
2183
+ color: var(--epx-text-secondary, #d94b4b);
2184
+ }
2185
+
1864
2186
  .tool-cards {
1865
2187
  display: grid;
1866
2188
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
package/src/views/App.vue CHANGED
@@ -1,53 +1,4 @@
1
- <template>
2
- <!-- app入口 -->
3
- <component v-if="load" :is="component" :page="firstPage"></component>
4
- </template>
5
-
6
- <script>
7
- /**
8
- * 应用入口 获取应用配置模板
9
- */
10
- export default {
11
- name: 'epx-app',
12
- computed: {
13
- appConfig () {
14
- return this.$store.state.config.appConfig
15
- }
16
- },
17
-
18
- data () {
19
- return {
20
- load: false,
21
- component: 'epx-app-index',
22
- firstPage: {}
23
- }
24
- },
25
- methods: {
26
- getPage () {
27
- const { FIRST_PAGE, MOBILE_FIRST_PAGE } = this.appConfig
28
- this.$store.dispatch({ // 加回调
29
- type: 'ADD_PAGE',
30
- pageId: this.$isMobile ? MOBILE_FIRST_PAGE : FIRST_PAGE
31
- })
32
- .then((page = {}) => {
33
- const { pagePath } = page
34
- this.firstPage = page
35
- this.component = this.$loadComponent(pagePath, this.component)
36
- this.load = true
37
- })
38
- .catch(() => {
39
- // this.component = this.$loadComponent(null, this.component)
40
- this.load = true
41
- })
42
- }
43
- },
44
- created () {
45
- this.getPage()
46
- }
47
-
48
- }
49
- </script>
50
-
51
- <style>
52
-
53
- </style>
1
+ <script>
2
+ // 保留业务包旧路径,基础路由页统一由 core 提供。
3
+ export { default } from '@epxing/core/src/views/App.vue'
4
+ </script>