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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (861) hide show
  1. package/API.md +111 -0
  2. package/README.md +43 -2
  3. package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
  4. package/dist/_virtual/preload-helper.js +88 -0
  5. package/dist/assets/0-C_2vdOtO.png +0 -0
  6. package/dist/assets/1-CsiSr5nw.png +0 -0
  7. package/dist/assets/2-C9hZOTyC.png +0 -0
  8. package/dist/assets/ai-CcPHuAhD.jpg +0 -0
  9. package/dist/assets/app-DBNIokDP.png +0 -0
  10. package/dist/assets/approval-DGcBv-re.png +0 -0
  11. package/dist/assets/aurorablue-N56tat3G.png +0 -0
  12. package/dist/assets/basepage-BF4dvOT8.png +0 -0
  13. package/dist/assets/classicblue-BdgPGKXa.png +0 -0
  14. package/dist/assets/create_market_system-BH__UVbt.png +0 -0
  15. package/dist/assets/create_system-irg--ePh.png +0 -0
  16. package/dist/assets/custom-C-ujlHz1.png +0 -0
  17. package/dist/assets/data-BDvuB-m7.png +0 -0
  18. package/dist/assets/deepblue-B78G_DNb.png +0 -0
  19. package/dist/assets/default-icon-2193FMjv.png +0 -0
  20. package/dist/assets/ex_link-4fYPd9nh.png +0 -0
  21. package/dist/assets/forestgreen-B2YR4xgz.png +0 -0
  22. package/dist/assets/hall_banner-Dc5YRV5A.webp +0 -0
  23. package/dist/assets/import-tfKWbWVS.png +0 -0
  24. package/dist/assets/link-BeD2ZGO9.png +0 -0
  25. package/dist/assets/m_hall_banner-Cf1Qwhh3.webp +0 -0
  26. package/dist/assets/orange-wT0uHIyo.png +0 -0
  27. package/dist/assets/palevioletred-DZXBQKru.png +0 -0
  28. package/dist/assets/photo-uscRzRXF.png +0 -0
  29. package/dist/assets/purple-CXrRrENi.png +0 -0
  30. package/dist/assets/role_select-DTqRlFNz.webp +0 -0
  31. package/dist/assets/skyblue-DPPlKPXU.png +0 -0
  32. package/dist/assets/snapshot-history-BsVY9cVj.png +0 -0
  33. package/dist/assets/snapshot-manual-DBRfFHYI.png +0 -0
  34. package/dist/assets/snapshot-realtime-DjHnJI6C.png +0 -0
  35. package/dist/assets/sync_loading-D7LoNPFP.png +0 -0
  36. package/dist/assets/tiffanyblue-DkyBoUQf.png +0 -0
  37. package/dist/assets/topbg-C_5lVpoA.webp +0 -0
  38. package/dist/assets/zxmb-CkPnmDaV.png +0 -0
  39. package/dist/src/assets/customTranslate/customTranslate.js +11 -0
  40. package/dist/src/assets/customTranslate/translations.js +219 -0
  41. package/dist/src/assets/images/addmenu/basepage.png.js +4 -0
  42. package/dist/src/assets/images/addmenu/data.png.js +4 -0
  43. package/dist/src/assets/images/addmenu/link.png.js +4 -0
  44. package/dist/src/assets/images/addmenu/list.png.js +4 -0
  45. package/dist/src/assets/images/addmenu/menu.png.js +4 -0
  46. package/dist/src/assets/images/addmenu/zxmb.png.js +4 -0
  47. package/dist/src/assets/images/ai.jpg.js +4 -0
  48. package/dist/src/assets/images/app.png.js +4 -0
  49. package/dist/src/assets/images/approval.png.js +4 -0
  50. package/dist/src/assets/images/create_market_system.png.js +4 -0
  51. package/dist/src/assets/images/create_system.png.js +4 -0
  52. package/dist/src/assets/images/custom.png.js +4 -0
  53. package/dist/src/assets/images/default-icon.png.js +4 -0
  54. package/dist/src/assets/images/ex_link.png.js +4 -0
  55. package/dist/src/assets/images/hall_banner.webp.js +4 -0
  56. package/dist/src/assets/images/hr.png.js +4 -0
  57. package/dist/src/assets/images/import.png.js +4 -0
  58. package/dist/src/assets/images/m_hall_banner.webp.js +4 -0
  59. package/dist/src/assets/images/nav/0.png.js +4 -0
  60. package/dist/src/assets/images/nav/1.png.js +4 -0
  61. package/dist/src/assets/images/nav/2.png.js +4 -0
  62. package/dist/src/assets/images/nav/3.svg.js +4 -0
  63. package/dist/src/assets/images/photo.png.js +4 -0
  64. package/dist/src/assets/images/snapshot-history.png.js +4 -0
  65. package/dist/src/assets/images/snapshot-manual.png.js +4 -0
  66. package/dist/src/assets/images/snapshot-realtime.png.js +4 -0
  67. package/dist/src/assets/images/sync_loading.png.js +4 -0
  68. package/dist/src/assets/images/theme/aurorablue.png.js +4 -0
  69. package/dist/src/assets/images/theme/classicblue.png.js +4 -0
  70. package/dist/src/assets/images/theme/deepblue.png.js +4 -0
  71. package/dist/src/assets/images/theme/forestgreen.png.js +4 -0
  72. package/dist/src/assets/images/theme/orange.png.js +4 -0
  73. package/dist/src/assets/images/theme/palevioletred.png.js +4 -0
  74. package/dist/src/assets/images/theme/purple.png.js +4 -0
  75. package/dist/src/assets/images/theme/skyblue.png.js +4 -0
  76. package/dist/src/assets/images/theme/tiffanyblue.png.js +4 -0
  77. package/dist/src/base/AiPromptDesigner.js +685 -0
  78. package/dist/src/base/AiPromptView.js +363 -0
  79. package/dist/src/base/AiSkillEditor.js +1029 -0
  80. package/dist/src/base/AiSkillEditor.vue.js +1176 -0
  81. package/dist/src/base/AppConfigFormItem.js +8 -0
  82. package/dist/src/base/AppConfigFormItem.vue.js +407 -0
  83. package/dist/src/base/AppMarket.js +212 -0
  84. package/dist/src/base/AppMarketList.js +8 -0
  85. package/dist/src/base/AppMarketList.vue.js +214 -0
  86. package/dist/src/base/AppMarketSystemDetail.js +293 -0
  87. package/dist/src/base/AttributeSubAdd.js +26 -0
  88. package/dist/src/base/ChooseApplication.js +132 -0
  89. package/dist/src/base/ClientAppItem.js +190 -0
  90. package/dist/src/base/ClientApplication.js +360 -0
  91. package/dist/src/base/ClientApplicationList.js +126 -0
  92. package/dist/src/base/ClientModule.js +119 -0
  93. package/dist/src/base/ClientModuleIndex.js +295 -0
  94. package/dist/src/base/ClientSystemDetail.js +203 -0
  95. package/dist/src/base/ClientSystemList.js +8 -0
  96. package/dist/src/base/ClientSystemList.vue.js +450 -0
  97. package/dist/src/base/CommonFieldList.js +11 -0
  98. package/dist/src/base/CommonFieldList.vue.js +530 -0
  99. package/dist/src/base/CommonSearchList.js +5 -0
  100. package/dist/src/base/CommonSearchList.vue.js +253 -0
  101. package/dist/src/base/CompayDetail.js +116 -0
  102. package/dist/src/base/ComponentGlobalSet.js +8 -0
  103. package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
  104. package/dist/src/base/ComponentParamsTree.js +335 -0
  105. package/dist/src/base/ConfigModuleIndex.js +135 -0
  106. package/dist/src/base/CurrentClientApplication.js +54 -0
  107. package/dist/src/base/CurrentVersionInfo.js +98 -0
  108. package/dist/src/base/EntityMatchCompare.js +533 -0
  109. package/dist/src/base/FieldRelationFormItem.js +8 -0
  110. package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
  111. package/dist/src/base/HelpDocSet.js +363 -0
  112. package/dist/src/base/HelpDocSet.vue.js +685 -0
  113. package/dist/src/base/IndexFormItem.js +5 -0
  114. package/dist/src/base/IndexFormItem.vue.js +230 -0
  115. package/dist/src/base/JobFormItem.js +8 -0
  116. package/dist/src/base/JobFormItem.vue.js +131 -0
  117. package/dist/src/base/ManageAppNav.js +9 -0
  118. package/dist/src/base/ManageAppNav.vue.js +1178 -0
  119. package/dist/src/base/ManageMenu.js +916 -0
  120. package/dist/src/base/ManageMenuItem.js +551 -0
  121. package/dist/src/base/NoInstallSystemList.js +5 -0
  122. package/dist/src/base/NoInstallSystemList.vue.js +159 -0
  123. package/dist/src/base/PageList.js +48 -0
  124. package/dist/src/base/PasswordFormItem.js +8 -0
  125. package/dist/src/base/PasswordFormItem.vue.js +125 -0
  126. package/dist/src/base/ProcessFormItem.js +148 -0
  127. package/dist/src/base/PublishSystemApplyFormItem.js +5 -0
  128. package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
  129. package/dist/src/base/RequestLog.js +170 -0
  130. package/dist/src/base/RightRiskList.js +8 -0
  131. package/dist/src/base/RightRiskList.vue.js +224 -0
  132. package/dist/src/base/RoleAccredit.js +1087 -0
  133. package/dist/src/base/RoleRightList.js +8 -0
  134. package/dist/src/base/RoleRightList.vue.js +118 -0
  135. package/dist/src/base/RoleUserManage.js +8 -0
  136. package/dist/src/base/RoleUserManage.vue.js +146 -0
  137. package/dist/src/base/ServiceAccredit.js +1075 -0
  138. package/dist/src/base/ServiceMenu.js +399 -0
  139. package/dist/src/base/ServiceMenuFormItem.js +20 -0
  140. package/dist/src/base/ServiceOperate.js +1003 -0
  141. package/dist/src/base/SystemHelpTreeFind.js +44 -0
  142. package/dist/src/base/aiPromptMode.js +145 -0
  143. package/dist/src/base/data-check/DataChckDetail.js +243 -0
  144. package/dist/src/base/data-check/DataCheck.js +308 -0
  145. package/dist/src/base/data-check/DataCheckList.js +364 -0
  146. package/dist/src/base/data-check/DataCheckSubList.js +6 -0
  147. package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
  148. package/dist/src/base/entity-view/EntityViewFormItem.js +5 -0
  149. package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
  150. package/dist/src/base/entity-view/EntityViewSubList.js +5 -0
  151. package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
  152. package/dist/src/base/entity-view-config/BasicInfoDialog.js +208 -0
  153. package/dist/src/base/entity-view-config/FieldPanel.js +692 -0
  154. package/dist/src/base/entity-view-config/FieldPropForm.js +786 -0
  155. package/dist/src/base/entity-view-config/FormulaDialog.js +143 -0
  156. package/dist/src/base/entity-view-config/ObjectFieldDialog.js +271 -0
  157. package/dist/src/base/entity-view-config/RelationPanel.js +779 -0
  158. package/dist/src/base/entity-view-config/SourceManagerDialog.js +658 -0
  159. package/dist/src/base/entity-view-config/SqlPanel.js +62 -0
  160. package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
  161. package/dist/src/base/entity-view-config/UnionPanel.js +1082 -0
  162. package/dist/src/base/entity-view-config/ViewConfig.js +586 -0
  163. package/dist/src/base/entity-view-config/constants.js +146 -0
  164. package/dist/src/base/user-type/UserTypeFormItem.js +5 -0
  165. package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
  166. package/dist/src/components/AddPageFormItem.js +5 -0
  167. package/dist/src/components/AddPageFormItem.vue.js +92 -0
  168. package/dist/src/components/AddUsedInterface.js +214 -0
  169. package/dist/src/components/AiDocFormItem.js +6 -0
  170. package/dist/src/components/AiDocFormItem.vue.js +271 -0
  171. package/dist/src/components/AiList.js +8 -0
  172. package/dist/src/components/AiList.vue.js +93 -0
  173. package/dist/src/components/AiPermissionAssistant.js +284 -0
  174. package/dist/src/components/AppList.js +414 -0
  175. package/dist/src/components/Apply/AIApplyIndex.js +179 -0
  176. package/dist/src/components/Apply/ApplyIndex.js +282 -0
  177. package/dist/src/components/AttributeList.js +870 -0
  178. package/dist/src/components/Banner.js +26 -0
  179. package/dist/src/components/BatchAddFieldDialog.js +425 -0
  180. package/dist/src/components/CardO.js +47 -0
  181. package/dist/src/components/CheckForm.js +34 -0
  182. package/dist/src/components/ClientAdminFormItem.js +47 -0
  183. package/dist/src/components/ClientAdminList.js +9 -0
  184. package/dist/src/components/ClientAdminList.vue.js +221 -0
  185. package/dist/src/components/ClientFormItem.js +48 -0
  186. package/dist/src/components/ClientList.js +6 -0
  187. package/dist/src/components/ClientList.vue.js +216 -0
  188. package/dist/src/components/CodeDetail.js +454 -0
  189. package/dist/src/components/CodeManage.js +1030 -0
  190. package/dist/src/components/ComponentFind.js +210 -0
  191. package/dist/src/components/ComponentList.js +499 -0
  192. package/dist/src/components/ConfigParamFormItem.js +8 -0
  193. package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
  194. package/dist/src/components/CreatePage.js +298 -0
  195. package/dist/src/components/DashboardCreate.js +106 -0
  196. package/dist/src/components/DataLog.js +169 -0
  197. package/dist/src/components/DataLogTimeline.js +111 -0
  198. package/dist/src/components/DataSnapshot.js +207 -0
  199. package/dist/src/components/DataSnapshotList.js +75 -0
  200. package/dist/src/components/DataSyncInit.js +173 -0
  201. package/dist/src/components/DblogList.js +6 -0
  202. package/dist/src/components/DblogList.vue.js +143 -0
  203. package/dist/src/components/DeptFind.js +8 -0
  204. package/dist/src/components/DeptFind.vue.js +109 -0
  205. package/dist/src/components/DynamicUserList.js +5 -0
  206. package/dist/src/components/DynamicUserList.vue.js +89 -0
  207. package/dist/src/components/EntityCheckboxFind.js +5 -0
  208. package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
  209. package/dist/src/components/EntityRelationAdd.js +388 -0
  210. package/dist/src/components/EntityRelationAddFormItem.js +5 -0
  211. package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
  212. package/dist/src/components/EntityRightFormItem.js +10 -0
  213. package/dist/src/components/EntityRightFormItem.vue.js +401 -0
  214. package/dist/src/components/EntityRightSubList.js +640 -0
  215. package/dist/src/components/EntityTagSubList.js +5 -0
  216. package/dist/src/components/EntityTagSubList.vue.js +103 -0
  217. package/dist/src/components/EntityTreeManage.js +865 -0
  218. package/dist/src/components/ExportSystemConfig.js +167 -0
  219. package/dist/src/components/FieldTreeFind.js +41 -0
  220. package/dist/src/components/FormulaEditor.js +8 -0
  221. package/dist/src/components/FormulaEditor.vue.js +1235 -0
  222. package/dist/src/components/GenTestData.js +638 -0
  223. package/dist/src/components/HallNav.js +6 -0
  224. package/dist/src/components/HallNav.vue.js +156 -0
  225. package/dist/src/components/HeaderNav.js +369 -0
  226. package/dist/src/components/IconCard.js +98 -0
  227. package/dist/src/components/IconFontLibrary.js +5 -0
  228. package/dist/src/components/IconFontLibrary.vue.js +67 -0
  229. package/dist/src/components/IconFontList.js +5 -0
  230. package/dist/src/components/IconFontList.vue.js +79 -0
  231. package/dist/src/components/IdentifyList.js +33 -0
  232. package/dist/src/components/ImportSystemConfig.js +303 -0
  233. package/dist/src/components/InterfaceSubList.js +320 -0
  234. package/dist/src/components/JsPanel.js +101 -0
  235. package/dist/src/components/LanguageImportPage.js +590 -0
  236. package/dist/src/components/LanguageSetting.js +545 -0
  237. package/dist/src/components/List/LinkItem.js +113 -0
  238. package/dist/src/components/List/List.js +18 -0
  239. package/dist/src/components/List/ListItem.js +31 -0
  240. package/dist/src/components/MenuTreeFind.js +8 -0
  241. package/dist/src/components/MenuTreeFind.vue.js +81 -0
  242. package/dist/src/components/MessageList.js +8 -0
  243. package/dist/src/components/MessageList.vue.js +101 -0
  244. package/dist/src/components/MessageRuleFormItem.js +60 -0
  245. package/dist/src/components/MessageRuleReceiverFormItem.js +224 -0
  246. package/dist/src/components/MessageTemplate.js +395 -0
  247. package/dist/src/components/MessageTemplate.vue.js +693 -0
  248. package/dist/src/components/MetaList.js +5 -0
  249. package/dist/src/components/MetaList.vue.js +100 -0
  250. package/dist/src/components/Nav.js +496 -0
  251. package/dist/src/components/NavFormCatalogItem.js +7 -0
  252. package/dist/src/components/NumList.js +60 -0
  253. package/dist/src/components/OperateLog.js +133 -0
  254. package/dist/src/components/PageCatalog.js +8 -0
  255. package/dist/src/components/PageCatalog.vue.js +292 -0
  256. package/dist/src/components/PageChart.js +213 -0
  257. package/dist/src/components/PageSwipes.js +132 -0
  258. package/dist/src/components/PersonFormItem.js +5 -0
  259. package/dist/src/components/PersonFormItem.vue.js +96 -0
  260. package/dist/src/components/Popup.js +239 -0
  261. package/dist/src/components/PrintFormList.js +9 -0
  262. package/dist/src/components/PrintFormList.vue.js +203 -0
  263. package/dist/src/components/PublishEntity.js +114 -0
  264. package/dist/src/components/RelyFieldTreeFind.js +52 -0
  265. package/dist/src/components/ReportFormList.js +236 -0
  266. package/dist/src/components/ReportList.js +9 -0
  267. package/dist/src/components/ReportList.vue.js +248 -0
  268. package/dist/src/components/RightSubList.js +8 -0
  269. package/dist/src/components/RightSubList.vue.js +150 -0
  270. package/dist/src/components/RoleAddUser.js +55 -0
  271. package/dist/src/components/RoleApplicationCard.js +138 -0
  272. package/dist/src/components/RoleApplicationList.js +937 -0
  273. package/dist/src/components/RoleApplicationSet.js +1001 -0
  274. package/dist/src/components/Search.js +254 -0
  275. package/dist/src/components/ServiceFormItem.js +33 -0
  276. package/dist/src/components/SnapshotDataList.js +73 -0
  277. package/dist/src/components/SystemAdminList.js +8 -0
  278. package/dist/src/components/SystemAdminList.vue.js +198 -0
  279. package/dist/src/components/SystemFormItem.js +8 -0
  280. package/dist/src/components/SystemFormItem.vue.js +170 -0
  281. package/dist/src/components/SystemNav.js +30 -0
  282. package/dist/src/components/TaskNumCard.js +23 -0
  283. package/dist/src/components/TimerRuleFormItem.js +333 -0
  284. package/dist/src/components/TodoList.js +8 -0
  285. package/dist/src/components/TodoList.vue.js +327 -0
  286. package/dist/src/components/UpdateSystemConfig.js +241 -0
  287. package/dist/src/components/UserCard.js +83 -0
  288. package/dist/src/components/UserFind.js +6 -0
  289. package/dist/src/components/UserFind.vue.js +592 -0
  290. package/dist/src/components/UserFormItem.js +9 -0
  291. package/dist/src/components/UserFormItem.vue.js +609 -0
  292. package/dist/src/components/UserList.js +5 -0
  293. package/dist/src/components/UserList.vue.js +23 -0
  294. package/dist/src/components/UserManage.js +802 -0
  295. package/dist/src/components/UserRoleList.js +579 -0
  296. package/dist/src/components/ValidateRuleFormItem.js +109 -0
  297. package/dist/src/components/ViewFieldDefine.js +747 -0
  298. package/dist/src/components/WikiSpaceList.js +5 -0
  299. package/dist/src/components/WikiSpaceList.vue.js +330 -0
  300. package/dist/src/components/WikiWorkbench.js +647 -0
  301. package/dist/src/components/authorization/AddApiPermiss.js +231 -0
  302. package/dist/src/components/authorization/AddAuthorization.js +161 -0
  303. package/dist/src/components/authorization/AddEntityFind.js +62 -0
  304. package/dist/src/components/authorization/AddNoApi.js +191 -0
  305. package/dist/src/components/authorization/AddRoleScope.js +337 -0
  306. package/dist/src/components/authorization/AiRolePlan.js +672 -0
  307. package/dist/src/components/authorization/ApiShareOtherList.js +397 -0
  308. package/dist/src/components/authorization/ApiSystemList.js +242 -0
  309. package/dist/src/components/authorization/AuthorizationInterface.js +622 -0
  310. package/dist/src/components/authorization/AuthorizationRoleSystem.js +850 -0
  311. package/dist/src/components/authorization/EntityConstraintFormItem.js +284 -0
  312. package/dist/src/components/authorization/OtherShareApiList.js +247 -0
  313. package/dist/src/components/authorization/PermissCommonRoleTabs.js +114 -0
  314. package/dist/src/components/authorization/PermissRoleAuthorization.js +1286 -0
  315. package/dist/src/components/authorization/PermissRoleTabs.js +113 -0
  316. package/dist/src/components/authorization/RoleLevel.js +5 -0
  317. package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
  318. package/dist/src/components/authorization/RoleLevelScope.js +270 -0
  319. package/dist/src/components/authorization/SystemAddNoApi.js +187 -0
  320. package/dist/src/components/card/CardList.js +65 -0
  321. package/dist/src/components/card/CardListItem.js +97 -0
  322. package/dist/src/components/card/Title.js +42 -0
  323. package/dist/src/components/custom-bpmn/CustomContextPad.js +54 -0
  324. package/dist/src/components/custom-bpmn/CustomPalette.js +5 -0
  325. package/dist/src/components/custom-bpmn/CustomRenderer.js +5 -0
  326. package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +88 -0
  327. package/dist/src/components/custom-bpmn/PropertiesView.js +12560 -0
  328. package/dist/src/components/custom-bpmn/components/AiModel.js +353 -0
  329. package/dist/src/components/custom-bpmn/components/Api.js +376 -0
  330. package/dist/src/components/custom-bpmn/components/BatchOperation.js +209 -0
  331. package/dist/src/components/custom-bpmn/components/Copy.js +653 -0
  332. package/dist/src/components/custom-bpmn/components/DataTransform.js +442 -0
  333. package/dist/src/components/custom-bpmn/components/Demo.js +63 -0
  334. package/dist/src/components/custom-bpmn/components/EditDiv.js +358 -0
  335. package/dist/src/components/custom-bpmn/components/GenScope.js +259 -0
  336. package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +76 -0
  337. package/dist/src/components/custom-bpmn/components/Knowledges.js +238 -0
  338. package/dist/src/components/custom-bpmn/components/Login.js +591 -0
  339. package/dist/src/components/custom-bpmn/components/MessageQueue.js +221 -0
  340. package/dist/src/components/custom-bpmn/components/MetaSelect.js +160 -0
  341. package/dist/src/components/custom-bpmn/components/NumStatistic.js +408 -0
  342. package/dist/src/components/custom-bpmn/components/ObjectTransform.js +789 -0
  343. package/dist/src/components/custom-bpmn/components/OutPut.js +395 -0
  344. package/dist/src/components/custom-bpmn/components/ParamsMachining.js +889 -0
  345. package/dist/src/components/custom-bpmn/components/ParamsOutput.js +161 -0
  346. package/dist/src/components/custom-bpmn/components/ProcessAudit.js +796 -0
  347. package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1040 -0
  348. package/dist/src/components/custom-bpmn/components/TestDialog.js +861 -0
  349. package/dist/src/components/custom-bpmn/img/chaxun.png.js +4 -0
  350. package/dist/src/components/custom-bpmn/img/fasong.png.js +4 -0
  351. package/dist/src/components/custom-bpmn/img/gengxin.png.js +4 -0
  352. package/dist/src/components/custom-bpmn/img/jiagong.png.js +4 -0
  353. package/dist/src/components/custom-bpmn/img/jiekou.png.js +4 -0
  354. package/dist/src/components/custom-bpmn/img/shanchu.png.js +4 -0
  355. package/dist/src/components/custom-bpmn/img/tongbu.png.js +4 -0
  356. package/dist/src/components/custom-bpmn/img/xinzeng.png.js +4 -0
  357. package/dist/src/components/custom-bpmn/img/xunhuanend.png.js +4 -0
  358. package/dist/src/components/custom-bpmn/img/xunhuanstart.png.js +4 -0
  359. package/dist/src/components/custom-bpmn/img/ywgz.png.js +4 -0
  360. package/dist/src/components/custom-bpmn/index.js +5 -0
  361. package/dist/src/components/custom-bpmn/palette.js +13 -0
  362. package/dist/src/components/custom-bpmn/util.js +7 -0
  363. package/dist/src/components/dashboard-create.js +20 -0
  364. package/dist/src/components/entity-relation-diagram/Er.js +340 -0
  365. package/dist/src/components/entity-relation-diagram/renderErNode.js +36 -0
  366. package/dist/src/components/expand/AddForm.js +86 -0
  367. package/dist/src/components/expand/AddFormItem.js +149 -0
  368. package/dist/src/components/filter/Filter.js +720 -0
  369. package/dist/src/components/filter/FilterItem.js +493 -0
  370. package/dist/src/components/hall/AppCollect.js +121 -0
  371. package/dist/src/components/hall/AppList.js +480 -0
  372. package/dist/src/components/hall/AppVisitRecord.js +113 -0
  373. package/dist/src/components/hall/Banner.js +33 -0
  374. package/dist/src/components/hall/ServiceCard.js +124 -0
  375. package/dist/src/components/hall/UserCard.js +81 -0
  376. package/dist/src/components/permiss/AddApi.js +143 -0
  377. package/dist/src/components/permiss/AddNoEntityApi.js +180 -0
  378. package/dist/src/components/permiss/AddSystemPermiss.js +131 -0
  379. package/dist/src/components/permiss/AllocateRole.js +131 -0
  380. package/dist/src/components/permiss/ApiSubList.js +151 -0
  381. package/dist/src/components/permiss/CommonRoleMenu.js +591 -0
  382. package/dist/src/components/permiss/FieldScope.js +200 -0
  383. package/dist/src/components/permiss/PermissManage.js +88 -0
  384. package/dist/src/components/permiss/RoleAppList.js +36 -0
  385. package/dist/src/components/permiss/RoleMenu.js +518 -0
  386. package/dist/src/components/permiss/RoleSubList.js +5 -0
  387. package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
  388. package/dist/src/components/permiss/jurisdiction.js +359 -0
  389. package/dist/src/components/process-healthcheck/HealthcheckChart.js +234 -0
  390. package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
  391. package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +36 -0
  392. package/dist/src/components/process-healthcheck/index.js +8 -0
  393. package/dist/src/components/report/Config.js +1708 -0
  394. package/dist/src/components/report/Design.js +4632 -0
  395. package/dist/src/components/report/StatList.js +217 -0
  396. package/dist/src/components/right/EntityOtherSystemList.js +82 -0
  397. package/dist/src/components/right/SystemInterfaceList.js +418 -0
  398. package/dist/src/components/right/SystemList.js +1017 -0
  399. package/dist/src/components/upLoad.js +71 -0
  400. package/dist/src/components/viewport/LookViewList.js +22 -0
  401. package/dist/src/components/viewport/ViewAddForm.js +142 -0
  402. package/dist/src/components/viewport/ViewDefineList.js +50 -0
  403. package/dist/src/components/viewport/ViewFiedList.js +723 -0
  404. package/dist/src/components/viewport/ViewScope.js +116 -0
  405. package/dist/src/components/wiki-workbench/WikiCites.js +301 -0
  406. package/dist/src/components/wiki-workbench/WikiIntake.js +308 -0
  407. package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
  408. package/dist/src/components/wiki-workbench/WikiJobs.js +195 -0
  409. package/dist/src/components/wiki-workbench/WikiRevisions.js +229 -0
  410. package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +59 -0
  411. package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
  412. package/dist/src/components/wiki-workbench/codes.js +27 -0
  413. package/dist/src/components/wiki-workbench/index.js +13 -0
  414. package/dist/src/index.js +42 -0
  415. package/dist/src/popup.js +68 -0
  416. package/dist/src/public-components.js +20 -0
  417. package/dist/src/remote.entry.js +31 -0
  418. package/dist/src/route-components.js +12 -0
  419. package/dist/src/system.component.index.js +5 -0
  420. package/dist/src/system.component.js +342 -0
  421. package/dist/src/system.component.lazy.js +50 -0
  422. package/dist/src/views/Add.js +8 -0
  423. package/dist/src/views/Add.vue.js +734 -0
  424. package/dist/src/views/AiToolManager.js +2530 -0
  425. package/dist/src/views/App.js +48 -0
  426. package/dist/src/views/AppRoleSelect.js +233 -0
  427. package/dist/src/views/BatchEdit.js +256 -0
  428. package/dist/src/views/Bpmn.js +319 -0
  429. package/dist/src/views/Bpmn.vue.js +1196 -0
  430. package/dist/src/views/EntityCheckPage.js +49 -0
  431. package/dist/src/views/EntityDetailPage.js +5 -0
  432. package/dist/src/views/EntityDetailPage.vue.js +73 -0
  433. package/dist/src/views/EntityEditPage.js +10 -0
  434. package/dist/src/views/EntitySubListPage.js +41 -0
  435. package/dist/src/views/EntityTreePage.js +32 -0
  436. package/dist/src/views/Error.js +210 -0
  437. package/dist/src/views/ExcelDesign.js +2730 -0
  438. package/dist/src/views/ExcelDesign.vue.js +2165 -0
  439. package/dist/src/views/ExcelPreviewPage.js +166 -0
  440. package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
  441. package/dist/src/views/ExportFilePage.js +21 -0
  442. package/dist/src/views/ExportPage.js +21 -0
  443. package/dist/src/views/FormDesign.js +1033 -0
  444. package/dist/src/views/FormDesign.vue.js +1564 -0
  445. package/dist/src/views/I18nWorkbench.js +521 -0
  446. package/dist/src/views/ImportFilePage.js +21 -0
  447. package/dist/src/views/ImportPage.js +21 -0
  448. package/dist/src/views/MEntityListPage.js +66 -0
  449. package/dist/src/views/MEntitySubListPage.js +41 -0
  450. package/dist/src/views/MinePage.js +16 -0
  451. package/dist/src/views/Module.js +173 -0
  452. package/dist/src/views/PageAttributeTreePage.js +421 -0
  453. package/dist/src/views/PageConfig.js +177 -0
  454. package/dist/src/views/Permission.js +742 -0
  455. package/dist/src/views/PersonalInfo.js +792 -0
  456. package/dist/src/views/QyWechat.js +62 -0
  457. package/dist/src/views/ReportFormListPage.js +77 -0
  458. package/dist/src/views/TaskPage.js +180 -0
  459. package/dist/src/views/WikiBinding.js +614 -0
  460. package/dist/src/views/client/AddForm.js +55 -0
  461. package/dist/src/views/client/AppMarket.js +290 -0
  462. package/dist/src/views/client/ClientIndex.js +209 -0
  463. package/dist/src/views/client/ClientModuleIndexPage.js +5 -0
  464. package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
  465. package/dist/src/views/client/CopySystem.js +136 -0
  466. package/dist/src/views/client/CreateAppFormItem.js +8 -0
  467. package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
  468. package/dist/src/views/client/CreateMethod.js +76 -0
  469. package/dist/src/views/client/InstallSystem.js +309 -0
  470. package/dist/src/views/client/ManageList.js +5 -0
  471. package/dist/src/views/client/ManageList.vue.js +211 -0
  472. package/dist/src/views/client/OpenClientManage.js +51 -0
  473. package/dist/src/views/client/OpenSystemManage.js +56 -0
  474. package/dist/src/views/client/PageTabsCyclic.js +92 -0
  475. package/dist/src/views/client/SelfBuiltSystem.js +444 -0
  476. package/dist/src/views/client/StandardProduct.js +233 -0
  477. package/dist/src/views/client/SystemAppAccredit.js +561 -0
  478. package/dist/src/views/client/SystemAppManager.js +293 -0
  479. package/dist/src/views/client/SystemAppManager.vue.js +559 -0
  480. package/dist/src/views/client/SystemManager.js +452 -0
  481. package/dist/src/views/client/SystemManager.vue.js +522 -0
  482. package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +230 -0
  483. package/dist/src/views/i18n/I18nPublishDialog.js +451 -0
  484. package/dist/src/views/i18n/I18nTranslationList.js +8 -0
  485. package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
  486. package/dist/src/views/i18n/i18n-workbench-text.js +11 -0
  487. package/dist/src/views/layout/CardList.js +96 -0
  488. package/dist/src/views/layout/Grid.js +138 -0
  489. package/dist/src/views/match/AddTargetField.js +8 -0
  490. package/dist/src/views/match/AddTargetField.vue.js +127 -0
  491. package/dist/src/views/match/MatchAddFormItem.js +5 -0
  492. package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
  493. package/dist/src/views/match/conversion.js +805 -0
  494. package/dist/src/views/match/customize.js +391 -0
  495. package/dist/src/views/match/fieldMatch.js +8 -0
  496. package/dist/src/views/match/fieldMatch.vue.js +610 -0
  497. package/dist/src/views/report/AddFormItem.js +60 -0
  498. package/dist/src/views/report/DesignReport.js +1392 -0
  499. package/dist/src/views/report/ReportTreeFind.js +8 -0
  500. package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
  501. package/dist/style.css +33364 -0
  502. package/package.json +133 -3
  503. package/src/base/AiPromptDesigner.vue +653 -0
  504. package/src/base/AiPromptView.vue +467 -0
  505. package/src/base/AiSkillEditor.vue +2125 -0
  506. package/src/base/AppConfigFormItem.vue +404 -0
  507. package/src/base/AppMarket.vue +264 -0
  508. package/src/base/AppMarketList.vue +233 -0
  509. package/src/base/AppMarketSystemDetail.vue +380 -0
  510. package/src/base/AttributeSubAdd.vue +29 -0
  511. package/src/base/ChooseApplication.vue +176 -0
  512. package/src/base/ClientAppItem.vue +247 -0
  513. package/src/base/ClientApplication.vue +447 -0
  514. package/src/base/ClientApplicationList.vue +180 -0
  515. package/src/base/ClientModule.vue +69 -0
  516. package/src/base/ClientModuleIndex.vue +437 -0
  517. package/src/base/ClientSystemDetail.vue +319 -0
  518. package/src/base/ClientSystemList.vue +435 -0
  519. package/src/base/CommonFieldList.vue +1397 -0
  520. package/src/base/CommonSearchList.vue +191 -0
  521. package/src/base/CompayDetail.vue +199 -0
  522. package/src/base/ComponentGlobalSet.vue +842 -0
  523. package/src/base/ComponentParamsTree.vue +310 -0
  524. package/src/base/ConfigModuleIndex.vue +121 -0
  525. package/src/base/CurrentClientApplication.vue +37 -0
  526. package/src/base/CurrentVersionInfo.vue +107 -0
  527. package/src/base/EntityMatchCompare.vue +442 -0
  528. package/src/base/FieldRelationFormItem.vue +260 -0
  529. package/src/base/HelpDocSet.vue +1217 -0
  530. package/src/base/IndexFormItem.vue +197 -0
  531. package/src/base/JobFormItem.vue +101 -0
  532. package/src/base/ManageAppNav.vue +1190 -0
  533. package/src/base/ManageMenu.vue +935 -0
  534. package/src/base/ManageMenuItem.vue +399 -0
  535. package/src/base/NoInstallSystemList.vue +114 -0
  536. package/src/base/PageList.vue +47 -0
  537. package/src/base/PasswordFormItem.vue +94 -0
  538. package/src/base/ProcessFormItem.vue +129 -0
  539. package/src/base/PublishSystemApplyFormItem.vue +87 -0
  540. package/src/base/RequestLog.vue +198 -0
  541. package/src/base/RightRiskList.vue +212 -0
  542. package/src/base/RoleAccredit.vue +961 -0
  543. package/src/base/RoleRightList.vue +159 -0
  544. package/src/base/RoleUserManage.vue +186 -0
  545. package/src/base/ServiceAccredit.vue +956 -0
  546. package/src/base/ServiceMenu.vue +420 -0
  547. package/src/base/ServiceMenuFormItem.vue +22 -0
  548. package/src/base/ServiceOperate.vue +929 -0
  549. package/src/base/SystemHelpTreeFind.vue +50 -0
  550. package/src/base/aiPromptMode.js +153 -0
  551. package/src/base/data-check/DataChckDetail.vue +281 -0
  552. package/src/base/data-check/DataCheck.vue +261 -0
  553. package/src/base/data-check/DataCheckList.vue +327 -0
  554. package/src/base/data-check/DataCheckSubList.vue +160 -0
  555. package/src/base/entity-view/EntityViewFormItem.vue +170 -0
  556. package/src/base/entity-view/EntityViewSubList.vue +149 -0
  557. package/src/base/entity-view-config/BasicInfoDialog.vue +156 -0
  558. package/src/base/entity-view-config/FieldPanel.vue +742 -0
  559. package/src/base/entity-view-config/FieldPropForm.vue +687 -0
  560. package/src/base/entity-view-config/FormulaDialog.vue +153 -0
  561. package/src/base/entity-view-config/ObjectFieldDialog.vue +367 -0
  562. package/src/base/entity-view-config/RelationPanel.vue +951 -0
  563. package/src/base/entity-view-config/SourceManagerDialog.vue +428 -0
  564. package/src/base/entity-view-config/SqlPanel.vue +138 -0
  565. package/src/base/entity-view-config/UnionPanel.vue +1037 -0
  566. package/src/base/entity-view-config/ViewConfig.vue +661 -0
  567. package/src/base/entity-view-config/constants.js +139 -0
  568. package/src/base/user-type/UserTypeFormItem.vue +134 -0
  569. package/src/components/AddPageFormItem.vue +82 -0
  570. package/src/components/AddUsedInterface.vue +154 -0
  571. package/src/components/AiDocFormItem.vue +293 -0
  572. package/src/components/AiList.vue +132 -0
  573. package/src/components/AiPermissionAssistant.vue +304 -0
  574. package/src/components/AppList.vue +330 -0
  575. package/src/components/Apply/AIApplyIndex.vue +458 -0
  576. package/src/components/Apply/ApplyIndex.vue +358 -0
  577. package/src/components/AttributeList.vue +667 -0
  578. package/src/components/Banner.vue +24 -0
  579. package/src/components/BatchAddFieldDialog.vue +590 -0
  580. package/src/components/CardO.vue +112 -0
  581. package/src/components/CheckForm.vue +32 -0
  582. package/src/components/ClientAdminFormItem.vue +49 -0
  583. package/src/components/ClientAdminList.vue +434 -0
  584. package/src/components/ClientFormItem.vue +49 -0
  585. package/src/components/ClientList.vue +155 -0
  586. package/src/components/CodeDetail.vue +465 -0
  587. package/src/components/CodeManage.vue +1004 -0
  588. package/src/components/ComponentFind.vue +222 -0
  589. package/src/components/ComponentList.vue +526 -0
  590. package/src/components/ConfigParamFormItem.vue +383 -0
  591. package/src/components/CreatePage.vue +348 -0
  592. package/src/components/DashboardCreate.vue +73 -0
  593. package/src/components/DataLog.vue +181 -0
  594. package/src/components/DataLogTimeline.vue +202 -0
  595. package/src/components/DataSnapshot.vue +264 -0
  596. package/src/components/DataSnapshotList.vue +79 -0
  597. package/src/components/DataSyncInit.vue +97 -0
  598. package/src/components/DblogList.vue +163 -0
  599. package/src/components/DeptFind.vue +203 -0
  600. package/src/components/DynamicUserList.vue +72 -0
  601. package/src/components/EntityCheckboxFind.vue +90 -0
  602. package/src/components/EntityRelationAdd.vue +201 -0
  603. package/src/components/EntityRelationAddFormItem.vue +235 -0
  604. package/src/components/EntityRightFormItem.vue +618 -0
  605. package/src/components/EntityRightSubList.vue +740 -0
  606. package/src/components/EntityTagSubList.vue +72 -0
  607. package/src/components/EntityTreeManage.vue +988 -0
  608. package/src/components/ExportSystemConfig.vue +131 -0
  609. package/src/components/FieldTreeFind.vue +48 -0
  610. package/src/components/FormulaEditor.vue +1220 -0
  611. package/src/components/GenTestData.vue +787 -0
  612. package/src/components/HallNav.vue +539 -0
  613. package/src/components/HeaderNav.vue +447 -0
  614. package/src/components/IconCard.vue +158 -0
  615. package/src/components/IconFontLibrary.vue +61 -0
  616. package/src/components/IconFontList.vue +75 -0
  617. package/src/components/IdentifyList.vue +33 -0
  618. package/src/components/ImportSystemConfig.vue +234 -0
  619. package/src/components/InterfaceSubList.vue +295 -0
  620. package/src/components/JsPanel.vue +111 -0
  621. package/src/components/LanguageImportPage.vue +601 -0
  622. package/src/components/LanguageSetting.vue +451 -0
  623. package/src/components/List/LinkItem.vue +98 -0
  624. package/src/components/List/List.vue +17 -0
  625. package/src/components/List/ListItem.vue +52 -0
  626. package/src/components/MenuTreeFind.vue +128 -0
  627. package/src/components/MessageList.vue +198 -0
  628. package/src/components/MessageRuleFormItem.vue +60 -0
  629. package/src/components/MessageRuleReceiverFormItem.vue +179 -0
  630. package/src/components/MessageTemplate.vue +949 -0
  631. package/src/components/MetaList.vue +108 -0
  632. package/src/components/Nav.vue +604 -0
  633. package/src/components/NavFormCatalogItem.vue +9 -0
  634. package/src/components/NumList.vue +108 -0
  635. package/src/components/OperateLog.vue +168 -0
  636. package/src/components/PageCatalog.vue +458 -0
  637. package/src/components/PageChart.vue +339 -0
  638. package/src/components/PageSwipes.vue +234 -0
  639. package/src/components/PersonFormItem.vue +94 -0
  640. package/src/components/Popup.vue +393 -0
  641. package/src/components/PrintFormList.vue +529 -0
  642. package/src/components/PublishEntity.vue +87 -0
  643. package/src/components/RelyFieldTreeFind.vue +57 -0
  644. package/src/components/ReportFormList.vue +247 -0
  645. package/src/components/ReportList.vue +647 -0
  646. package/src/components/RightSubList.vue +256 -0
  647. package/src/components/RoleAddUser.vue +56 -0
  648. package/src/components/RoleApplicationCard.vue +299 -0
  649. package/src/components/RoleApplicationList.vue +766 -0
  650. package/src/components/RoleApplicationSet.vue +845 -0
  651. package/src/components/Search.vue +272 -0
  652. package/src/components/ServiceFormItem.vue +35 -0
  653. package/src/components/SnapshotDataList.vue +78 -0
  654. package/src/components/SystemAdminList.vue +497 -0
  655. package/src/components/SystemFormItem.vue +125 -0
  656. package/src/components/SystemNav.vue +29 -0
  657. package/src/components/TaskNumCard.vue +26 -0
  658. package/src/components/TimerRuleFormItem.vue +227 -0
  659. package/src/components/TodoList.vue +424 -0
  660. package/src/components/UpdateSystemConfig.vue +200 -0
  661. package/src/components/UserCard.vue +110 -0
  662. package/src/components/UserFind.vue +702 -0
  663. package/src/components/UserFormItem.vue +762 -0
  664. package/src/components/UserList.vue +19 -0
  665. package/src/components/UserManage.vue +758 -0
  666. package/src/components/UserRoleList.vue +497 -0
  667. package/src/components/ValidateRuleFormItem.vue +90 -0
  668. package/src/components/ViewFieldDefine.vue +703 -0
  669. package/src/components/WikiSpaceList.vue +270 -0
  670. package/src/components/WikiWorkbench.vue +717 -0
  671. package/src/components/authorization/AddApiPermiss.vue +179 -0
  672. package/src/components/authorization/AddAuthorization.vue +135 -0
  673. package/src/components/authorization/AddEntityFind.vue +68 -0
  674. package/src/components/authorization/AddNoApi.vue +143 -0
  675. package/src/components/authorization/AddRoleScope.vue +291 -0
  676. package/src/components/authorization/AiRolePlan.vue +751 -0
  677. package/src/components/authorization/ApiShareOtherList.vue +353 -0
  678. package/src/components/authorization/ApiSystemList.vue +314 -0
  679. package/src/components/authorization/AuthorizationInterface.vue +668 -0
  680. package/src/components/authorization/AuthorizationRoleSystem.vue +713 -0
  681. package/src/components/authorization/EntityConstraintFormItem.vue +257 -0
  682. package/src/components/authorization/OtherShareApiList.vue +248 -0
  683. package/src/components/authorization/PermissCommonRoleTabs.vue +122 -0
  684. package/src/components/authorization/PermissRoleAuthorization.vue +1097 -0
  685. package/src/components/authorization/PermissRoleTabs.vue +121 -0
  686. package/src/components/authorization/RoleLevel.vue +113 -0
  687. package/src/components/authorization/RoleLevelScope.vue +247 -0
  688. package/src/components/authorization/SystemAddNoApi.vue +139 -0
  689. package/src/components/card/CardList.vue +78 -0
  690. package/src/components/card/CardListItem.vue +147 -0
  691. package/src/components/card/Title.vue +38 -0
  692. package/src/components/custom-bpmn/CustomContextPad.js +58 -0
  693. package/src/components/custom-bpmn/CustomPalette.js +1 -0
  694. package/src/components/custom-bpmn/CustomRenderer.js +1 -0
  695. package/src/components/custom-bpmn/CustomRendererBpmn.js +84 -0
  696. package/src/components/custom-bpmn/PropertiesView.vue +7879 -0
  697. package/src/components/custom-bpmn/components/AiModel.vue +373 -0
  698. package/src/components/custom-bpmn/components/Api.vue +290 -0
  699. package/src/components/custom-bpmn/components/BatchOperation.vue +145 -0
  700. package/src/components/custom-bpmn/components/Copy.vue +440 -0
  701. package/src/components/custom-bpmn/components/DataTransform.vue +260 -0
  702. package/src/components/custom-bpmn/components/Demo.vue +64 -0
  703. package/src/components/custom-bpmn/components/EditDiv.vue +466 -0
  704. package/src/components/custom-bpmn/components/GenScope.vue +252 -0
  705. package/src/components/custom-bpmn/components/GlobalParamsTree.vue +61 -0
  706. package/src/components/custom-bpmn/components/Knowledges.vue +182 -0
  707. package/src/components/custom-bpmn/components/Login.vue +372 -0
  708. package/src/components/custom-bpmn/components/MessageQueue.vue +167 -0
  709. package/src/components/custom-bpmn/components/MetaSelect.vue +136 -0
  710. package/src/components/custom-bpmn/components/NumStatistic.vue +245 -0
  711. package/src/components/custom-bpmn/components/ObjectTransform.vue +454 -0
  712. package/src/components/custom-bpmn/components/OutPut.vue +412 -0
  713. package/src/components/custom-bpmn/components/ParamsMachining.vue +644 -0
  714. package/src/components/custom-bpmn/components/ParamsOutput.vue +130 -0
  715. package/src/components/custom-bpmn/components/ProcessAudit.vue +443 -0
  716. package/src/components/custom-bpmn/components/SingleMultipleFind.vue +637 -0
  717. package/src/components/custom-bpmn/components/TestDialog.vue +1068 -0
  718. package/src/components/custom-bpmn/img/chaxun.png +0 -0
  719. package/src/components/custom-bpmn/img/fasong.png +0 -0
  720. package/src/components/custom-bpmn/img/gengxin.png +0 -0
  721. package/src/components/custom-bpmn/img/jiagong.png +0 -0
  722. package/src/components/custom-bpmn/img/jiekou.png +0 -0
  723. package/src/components/custom-bpmn/img/shanchu.png +0 -0
  724. package/src/components/custom-bpmn/img/tongbu.png +0 -0
  725. package/src/components/custom-bpmn/img/xinzeng.png +0 -0
  726. package/src/components/custom-bpmn/img/xunhuanend.png +0 -0
  727. package/src/components/custom-bpmn/img/xunhuanstart.png +0 -0
  728. package/src/components/custom-bpmn/img/ywgz.png +0 -0
  729. package/src/components/custom-bpmn/index.js +1 -0
  730. package/src/components/custom-bpmn/palette.js +18 -0
  731. package/src/components/custom-bpmn/util.js +5 -0
  732. package/src/components/dashboard-create.js +17 -0
  733. package/src/components/entity-relation-diagram/Er.vue +360 -0
  734. package/src/components/entity-relation-diagram/renderErNode.js +32 -0
  735. package/src/components/expand/AddForm.vue +91 -0
  736. package/src/components/expand/AddFormItem.vue +150 -0
  737. package/src/components/filter/Filter.vue +739 -0
  738. package/src/components/filter/FilterItem.vue +516 -0
  739. package/src/components/hall/AppCollect.vue +190 -0
  740. package/src/components/hall/AppList.vue +513 -0
  741. package/src/components/hall/AppVisitRecord.vue +171 -0
  742. package/src/components/hall/Banner.vue +21 -0
  743. package/src/components/hall/ServiceCard.vue +204 -0
  744. package/src/components/hall/UserCard.vue +114 -0
  745. package/src/components/permiss/AddApi.vue +119 -0
  746. package/src/components/permiss/AddNoEntityApi.vue +131 -0
  747. package/src/components/permiss/AddSystemPermiss.vue +107 -0
  748. package/src/components/permiss/AllocateRole.vue +107 -0
  749. package/src/components/permiss/ApiSubList.vue +193 -0
  750. package/src/components/permiss/CommonRoleMenu.vue +631 -0
  751. package/src/components/permiss/FieldScope.vue +138 -0
  752. package/src/components/permiss/PermissManage.vue +96 -0
  753. package/src/components/permiss/RoleAppList.vue +52 -0
  754. package/src/components/permiss/RoleMenu.vue +547 -0
  755. package/src/components/permiss/RoleSubList.vue +263 -0
  756. package/src/components/permiss/jurisdiction.vue +425 -0
  757. package/src/components/process-healthcheck/HealthcheckChart.vue +529 -0
  758. package/src/components/process-healthcheck/HealthcheckRenderer.js +41 -0
  759. package/src/components/process-healthcheck/index.js +8 -0
  760. package/src/components/report/Config.vue +1654 -0
  761. package/src/components/report/Design.vue +3528 -0
  762. package/src/components/report/StatList.vue +234 -0
  763. package/src/components/right/EntityOtherSystemList.vue +73 -0
  764. package/src/components/right/SystemInterfaceList.vue +413 -0
  765. package/src/components/right/SystemList.vue +848 -0
  766. package/src/components/upLoad.vue +69 -0
  767. package/src/components/viewport/LookViewList.vue +28 -0
  768. package/src/components/viewport/ViewAddForm.vue +151 -0
  769. package/src/components/viewport/ViewDefineList.vue +53 -0
  770. package/src/components/viewport/ViewFiedList.vue +646 -0
  771. package/src/components/viewport/ViewScope.vue +112 -0
  772. package/src/components/wiki-workbench/WikiCites.vue +234 -0
  773. package/src/components/wiki-workbench/WikiIntake.vue +505 -0
  774. package/src/components/wiki-workbench/WikiJobs.vue +175 -0
  775. package/src/components/wiki-workbench/WikiRevisions.vue +208 -0
  776. package/src/components/wiki-workbench/WikiSpaceSettings.vue +137 -0
  777. package/src/components/wiki-workbench/codes.js +43 -0
  778. package/src/components/wiki-workbench/index.js +15 -0
  779. package/src/index.js +20 -0
  780. package/src/popup.js +86 -0
  781. package/src/public-components.js +8 -0
  782. package/src/remote.entry.js +42 -0
  783. package/src/route-components.js +8 -0
  784. package/src/system.component.index.js +3 -0
  785. package/src/system.component.js +46 -0
  786. package/src/system.component.lazy.js +68 -0
  787. package/src/system.component.visual.js +18 -0
  788. package/src/views/Add.vue +827 -0
  789. package/src/views/AiToolManager.vue +2372 -0
  790. package/src/views/App.vue +53 -0
  791. package/src/views/AppRoleSelect.vue +334 -0
  792. package/src/views/BatchEdit.vue +238 -0
  793. package/src/views/Bpmn.vue +1713 -0
  794. package/src/views/EntityCheckPage.vue +52 -0
  795. package/src/views/EntityDetailPage.vue +79 -0
  796. package/src/views/EntityEditPage.vue +13 -0
  797. package/src/views/EntitySubListPage.vue +44 -0
  798. package/src/views/EntityTreePage.vue +37 -0
  799. package/src/views/Error.vue +63 -0
  800. package/src/views/ExcelDesign.vue +3350 -0
  801. package/src/views/ExcelPreviewPage.vue +590 -0
  802. package/src/views/ExportFilePage.vue +19 -0
  803. package/src/views/ExportPage.vue +19 -0
  804. package/src/views/FormDesign.vue +2301 -0
  805. package/src/views/I18nWorkbench.vue +508 -0
  806. package/src/views/ImportFilePage.vue +19 -0
  807. package/src/views/ImportPage.vue +19 -0
  808. package/src/views/MEntityListPage.vue +83 -0
  809. package/src/views/MEntitySubListPage.vue +44 -0
  810. package/src/views/MinePage.vue +18 -0
  811. package/src/views/Module.vue +210 -0
  812. package/src/views/PageAttributeTreePage.vue +437 -0
  813. package/src/views/PageConfig.vue +259 -0
  814. package/src/views/Permission.vue +695 -0
  815. package/src/views/PersonalInfo.vue +693 -0
  816. package/src/views/QyWechat.vue +69 -0
  817. package/src/views/ReportFormListPage.vue +82 -0
  818. package/src/views/TaskPage.vue +199 -0
  819. package/src/views/WikiBinding.vue +740 -0
  820. package/src/views/client/AddForm.vue +64 -0
  821. package/src/views/client/AppMarket.vue +380 -0
  822. package/src/views/client/ClientIndex.vue +261 -0
  823. package/src/views/client/ClientModuleIndexPage.vue +35 -0
  824. package/src/views/client/CopySystem.vue +179 -0
  825. package/src/views/client/CreateAppFormItem.vue +285 -0
  826. package/src/views/client/CreateMethod.vue +114 -0
  827. package/src/views/client/InstallSystem.vue +295 -0
  828. package/src/views/client/ManageList.vue +178 -0
  829. package/src/views/client/OpenClientManage.vue +54 -0
  830. package/src/views/client/OpenSystemManage.vue +57 -0
  831. package/src/views/client/PageTabsCyclic.vue +121 -0
  832. package/src/views/client/SelfBuiltSystem.vue +497 -0
  833. package/src/views/client/StandardProduct.vue +325 -0
  834. package/src/views/client/SystemAppAccredit.vue +607 -0
  835. package/src/views/client/SystemAppManager.vue +967 -0
  836. package/src/views/client/SystemManager.vue +998 -0
  837. package/src/views/i18n/I18nAiTaskHistoryDialog.vue +173 -0
  838. package/src/views/i18n/I18nPublishDialog.vue +360 -0
  839. package/src/views/i18n/I18nTranslationList.vue +195 -0
  840. package/src/views/i18n/i18n-workbench-text.js +7 -0
  841. package/src/views/layout/CardList.vue +122 -0
  842. package/src/views/layout/Grid.vue +176 -0
  843. package/src/views/match/AddTargetField.vue +136 -0
  844. package/src/views/match/MatchAddFormItem.vue +87 -0
  845. package/src/views/match/conversion.vue +740 -0
  846. package/src/views/match/customize.vue +374 -0
  847. package/src/views/match/fieldMatch.vue +734 -0
  848. package/src/views/report/AddFormItem.vue +66 -0
  849. package/src/views/report/DesignReport.vue +1229 -0
  850. package/src/views/report/ReportTreeFind.vue +195 -0
  851. package/types/dept-find.d.ts +1 -0
  852. package/types/entity-tree-manage.d.ts +1 -0
  853. package/types/excel-preview-page.d.ts +1 -0
  854. package/types/header-nav.d.ts +1 -0
  855. package/types/index.d.ts +14 -0
  856. package/types/page-catalog.d.ts +1 -0
  857. package/types/popup.d.ts +2 -0
  858. package/types/report-form-list-page.d.ts +1 -0
  859. package/types/report-form-list.d.ts +1 -0
  860. package/types/route-components.d.ts +1 -0
  861. package/types/user-find.d.ts +1 -0
@@ -0,0 +1,1286 @@
1
+ import '../../../style.css';
2
+ import EntityList from "@epxing/components/src/entity-list";
3
+ import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, vShow } from "vue";
4
+ /* empty css */
5
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const _sfc_main = {
7
+ name: "epx-permiss-role-authorization",
8
+ pageSize: 10,
9
+ operateEllipsis: 6,
10
+ extends: EntityList,
11
+ computed: {
12
+ dataScope() {
13
+ return (scope) => {
14
+ if (scope) {
15
+ return JSON.parse(scope).scopeText;
16
+ } else {
17
+ return "/";
18
+ }
19
+ };
20
+ },
21
+ fieldScope() {
22
+ return (scope) => {
23
+ if (scope) {
24
+ return JSON.parse(scope).fieldNames;
25
+ } else {
26
+ return "/";
27
+ }
28
+ };
29
+ },
30
+ selection() {
31
+ return this.selectionList;
32
+ },
33
+ isSameDataRight() {
34
+ return (data) => {
35
+ const dataScopes = data.dataScopes;
36
+ if (!dataScopes || !dataScopes["1"] || !dataScopes["1"].data) return true;
37
+ const initData = dataScopes["1"].data;
38
+ return Object.values(dataScopes).every((item) => item.data && item.data.TYPE === initData.TYPE && item.data.DATA_SCOPE === initData.DATA_SCOPE && item.data.DEPT_ID === initData.DEPT_ID);
39
+ };
40
+ },
41
+ getRightText() {
42
+ return (data) => {
43
+ if (!data || !data.data) return "";
44
+ const { TYPE, DATA_SCOPE } = data.data;
45
+ if (TYPE === "7") {
46
+ if (DATA_SCOPE) {
47
+ let text = "";
48
+ const scope = JSON.parse(DATA_SCOPE);
49
+ if (scope.scopeParams) {
50
+ scope.scopeParams.map((item, index) => text += (item.text || "") + (index === scope.scopeParams.length - 1 ? "" : item.link === "or" ? " 或者 " : " 并且 "));
51
+ }
52
+ return text;
53
+ }
54
+ return "";
55
+ } else if (TYPE === "1") {
56
+ const { LEVEL } = this.roleInfo;
57
+ return LEVEL === "1" ? "默认(个人)" : LEVEL === "2" ? "默认(所属部门)" : "默认(全部)";
58
+ } else {
59
+ return this.dataScopeTypeMap[TYPE];
60
+ }
61
+ };
62
+ },
63
+ isSameFieldRight() {
64
+ return (data) => {
65
+ const fieldScopes = data.fieldScopes;
66
+ if (!fieldScopes || !fieldScopes["1"] || !fieldScopes["1"].data) return true;
67
+ const initData = fieldScopes["1"].data;
68
+ return Object.values(fieldScopes).every((item) => item.data && item.data.TYPE === initData.TYPE && item.data.FIELD_SCOPE === initData.FIELD_SCOPE);
69
+ };
70
+ },
71
+ getRightFieldText() {
72
+ return (data) => {
73
+ if (!data || !data.data) return "";
74
+ const { OPERATE_TYPE, TYPE, "FIELD_SCOPE#": fieldNames } = data.data;
75
+ if (TYPE === "1") {
76
+ return OPERATE_TYPE === "3" ? "无" : "全部";
77
+ } else {
78
+ return fieldNames;
79
+ }
80
+ };
81
+ },
82
+ detailSelectAll() {
83
+ return this.detailSelection.length === this.allFields.length;
84
+ },
85
+ editSelectAll() {
86
+ return this.editSelection.length === this.allFields.length;
87
+ }
88
+ },
89
+ data() {
90
+ return {
91
+ roleInfo: {},
92
+ tableData: [],
93
+ searchText: "",
94
+ selectionList: [],
95
+ editFieldScopeForm: {},
96
+ editItem: {},
97
+ editFieldDialog: false,
98
+ allFields: [],
99
+ detailSelection: [],
100
+ editSelection: [],
101
+ decryptSelection: [],
102
+ editDataDialog: false,
103
+ editDataScopeForm: {},
104
+ editDataScopeList: [],
105
+ dataConfigWay: "2",
106
+ dataAllConfigWay: "1",
107
+ dataAllConfig: null,
108
+ dataAllConfigDeptId: null,
109
+ dataScopeTypeList: [],
110
+ isSubmitDataLoading: false
111
+ };
112
+ },
113
+ watch: {
114
+ detailSelectAll(v) {
115
+ const input = this.$refs.detailSelectAll.$el.querySelector(".el-checkbox__input");
116
+ if (input) {
117
+ if (v) {
118
+ input.className += " is-checked";
119
+ } else {
120
+ input.className = "el-checkbox__input";
121
+ }
122
+ }
123
+ },
124
+ editSelectAll(v) {
125
+ const input = this.$refs.editSelectAll.$el.querySelector(".el-checkbox__input");
126
+ if (input) {
127
+ if (v) {
128
+ input.className += " is-checked";
129
+ } else {
130
+ input.className = "el-checkbox__input";
131
+ }
132
+ }
133
+ },
134
+ decryptSelectAll(v) {
135
+ const input = this.$refs.decryptSelectAll.$el.querySelector(".el-checkbox__input");
136
+ if (input) {
137
+ if (v) {
138
+ input.className += " is-checked";
139
+ } else {
140
+ input.className = "el-checkbox__input";
141
+ }
142
+ }
143
+ },
144
+ dataConfigWay(v) {
145
+ if (v === "1") {
146
+ const editDataScopeList = this.$_.cloneDeep(this.editDataScopeList);
147
+ editDataScopeList.forEach((item) => {
148
+ item.data.TYPE = this.dataAllConfigWay;
149
+ item.data.DATA_SCOPE = this.dataAllConfig ? JSON.stringify(this.dataAllConfig) : "";
150
+ item.data.DEPT_ID = Array.isArray(this.dataAllConfigDeptId) ? this.dataAllConfigDeptId.map((dept) => dept.id).join(",") : this.dataAllConfigDeptId;
151
+ });
152
+ this.editDataScopeList = editDataScopeList;
153
+ }
154
+ },
155
+ dataAllConfigWay(v) {
156
+ const editDataScopeList = this.$_.cloneDeep(this.editDataScopeList);
157
+ editDataScopeList.forEach((item) => {
158
+ item.data.TYPE = this.dataAllConfigWay;
159
+ item.data.DATA_SCOPE = this.dataAllConfig ? JSON.stringify(this.dataAllConfig) : "";
160
+ item.data.DEPT_ID = Array.isArray(this.dataAllConfigDeptId) ? this.dataAllConfigDeptId.map((dept) => dept.id).join(",") : this.dataAllConfigDeptId;
161
+ });
162
+ this.editDataScopeList = editDataScopeList;
163
+ },
164
+ dataAllConfig() {
165
+ const editDataScopeList = this.$_.cloneDeep(this.editDataScopeList);
166
+ editDataScopeList.forEach((item) => {
167
+ item.data.TYPE = this.dataAllConfigWay;
168
+ item.data.DATA_SCOPE = this.dataAllConfig;
169
+ item.data.DEPT_ID = this.dataAllConfigDeptId;
170
+ });
171
+ this.editDataScopeList = editDataScopeList;
172
+ },
173
+ dataAllConfigDeptId() {
174
+ const editDataScopeList = this.$_.cloneDeep(this.editDataScopeList);
175
+ editDataScopeList.forEach((item) => {
176
+ item.data.TYPE = this.dataAllConfigWay;
177
+ item.data.DATA_SCOPE = this.dataAllConfig;
178
+ item.data.DEPT_ID = Array.isArray(this.dataAllConfigDeptId) ? this.dataAllConfigDeptId.map((dept) => dept.id).join(",") : this.dataAllConfigDeptId;
179
+ });
180
+ this.editDataScopeList = editDataScopeList;
181
+ }
182
+ },
183
+ methods: {
184
+ getRoleInfo() {
185
+ this.$http.get({
186
+ entityId: "FM_ROLE",
187
+ id: this.$query.roleId
188
+ }).then((data) => {
189
+ this.roleInfo = data.data;
190
+ });
191
+ },
192
+ getDataScopeType() {
193
+ this.$store.dispatch({
194
+ type: "ADD_LIST",
195
+ key: "FM_DATASCOPE_TYPE"
196
+ }).then((data) => {
197
+ this.dataScopeTypeList = data;
198
+ const dataScopeTypeMap = {};
199
+ data.forEach((item) => {
200
+ dataScopeTypeMap[item.code] = item.name;
201
+ });
202
+ this.dataScopeTypeMap = dataScopeTypeMap;
203
+ });
204
+ },
205
+ search(scopeParams) {
206
+ if (scopeParams) {
207
+ this.searchScopeParams = scopeParams;
208
+ }
209
+ },
210
+ selectionAll(selection) {
211
+ if (selection.length === 0) {
212
+ this.selectionList = [];
213
+ } else {
214
+ const apis = this.tableData.reduce((arr, item) => [...arr, ...item.apis || []], []);
215
+ this.selectionList = apis;
216
+ }
217
+ },
218
+ selectionChange(selection, row) {
219
+ const index = selection.findIndex((item) => item.entityId === row.entityId);
220
+ const rowApis = row.apis || [];
221
+ if (index !== -1) {
222
+ this.selectionList = [.../* @__PURE__ */ new Set([...this.selectionList, ...rowApis])];
223
+ } else {
224
+ rowApis.forEach((api) => {
225
+ const apiIndex = this.selectionList.findIndex((item) => item.apiId === api.apiId);
226
+ if (apiIndex !== -1) this.selectionList.splice(apiIndex, 1);
227
+ });
228
+ }
229
+ },
230
+ checkApi(row, api) {
231
+ const index = this.selectionList.findIndex((item) => item.apiId === api.apiId);
232
+ const entityApis = row.apis || [];
233
+ if (index !== -1) {
234
+ this.selectionList.splice(index, 1);
235
+ const flag = entityApis.some((api2) => !this.selectionList.find((item) => item.apiId === api2.apiId));
236
+ if (flag) this.$refs.multipleTable.toggleRowSelection(row, false);
237
+ } else {
238
+ this.selectionList.push(api);
239
+ const flag = entityApis.every((api2) => this.selectionList.find((item) => item.apiId === api2.apiId));
240
+ if (flag) {
241
+ this.$refs.multipleTable.toggleRowSelection(row, true);
242
+ }
243
+ }
244
+ },
245
+ // 添加操作接口
246
+ addApi() {
247
+ this.$createPage({
248
+ title: "添加操作权限",
249
+ component: "authorization-add-no-api",
250
+ metaId: this.$metaId,
251
+ openType: "2",
252
+ roleId: this.$query.roleId,
253
+ systemId: this.$query.systemId,
254
+ systemType: this.$query.systemType
255
+ });
256
+ },
257
+ // 启用
258
+ startApi() {
259
+ if (this.selectionList.length === 0) {
260
+ this.$message.error("请至少选择一个记录");
261
+ return;
262
+ }
263
+ const apiRoleIds = this.selectionList.map((item) => item.apiRoleId).join(",");
264
+ const apiAuthStatus = this.selectionList.map((item) => item.apiAuthStatus).join(",");
265
+ if (apiAuthStatus.indexOf("disable") === -1) {
266
+ this.$message.error("接口已经为全部启用状态");
267
+ return;
268
+ }
269
+ this.$confirm("确定启用", {
270
+ confirmButtonText: this.$t("confirm"),
271
+ cancelButtonText: this.$t("cancel"),
272
+ type: "warning"
273
+ }).then(() => {
274
+ this.$http.$post({
275
+ action: "setRoleApiStatus",
276
+ entityId: this.$metaId,
277
+ ids: apiRoleIds,
278
+ status: "enable"
279
+ }).then(() => {
280
+ this.$refs.multipleTable.clearSelection();
281
+ this.selectionList = [];
282
+ this.getData();
283
+ this.$message({
284
+ type: "success",
285
+ message: "操作成功!"
286
+ });
287
+ });
288
+ });
289
+ },
290
+ // startApi () {
291
+ // if (this.selection.length > 1) {
292
+ // this.$message.error('请不要选择多个记录')
293
+ // return
294
+ // }
295
+ // if (this.selection.length === 0) {
296
+ // this.$message.error('请选择一个记录')
297
+ // return
298
+ // }
299
+ // const item = this.selection[0]
300
+ // if (item.apiAuthStatus === 'enable') {
301
+ // this.$message.error('该接口已经启用')
302
+ // return
303
+ // }
304
+ // this.$confirm('确定启用', {
305
+ // confirmButtonText: this.$t('confirm'),
306
+ // cancelButtonText: this.$t('cancel'),
307
+ // type: 'warning'
308
+ // }).then(() => {
309
+ // this.$http.update({
310
+ // entityId: this.$metaId,
311
+ // 'bean.ID': item.apiRoleId,
312
+ // 'bean.STATUS': 'enable'
313
+ // }).then(() => {
314
+ // item.apiAuthStatus = 'enable'
315
+ // this.selection.splice(0, 1, item)
316
+ // this.getData()
317
+ // this.$message({
318
+ // type: 'success',
319
+ // message: '操作成功!'
320
+ // })
321
+ // })
322
+ // })
323
+ // },
324
+ // 停用
325
+ stopApi() {
326
+ if (this.selectionList.length === 0) {
327
+ this.$message.error("请至少选择一个记录");
328
+ return;
329
+ }
330
+ const apiRoleIds = this.selectionList.map((item) => item.apiRoleId).join(",");
331
+ const apiAuthStatus = this.selectionList.map((item) => item.apiAuthStatus).join(",");
332
+ if (apiAuthStatus.indexOf("enable") === -1) {
333
+ this.$message.error("接口已经为全部停用状态");
334
+ return;
335
+ }
336
+ this.$confirm("确定停用", {
337
+ confirmButtonText: this.$t("confirm"),
338
+ cancelButtonText: this.$t("cancel"),
339
+ type: "warning"
340
+ }).then(() => {
341
+ this.$http.$post({
342
+ action: "setRoleApiStatus",
343
+ entityId: this.$metaId,
344
+ ids: apiRoleIds,
345
+ status: "disable"
346
+ }).then(() => {
347
+ this.$refs.multipleTable.clearSelection();
348
+ this.selectionList = [];
349
+ this.getData();
350
+ this.$message({
351
+ type: "success",
352
+ message: "操作成功!"
353
+ });
354
+ });
355
+ });
356
+ },
357
+ // stopApi () {
358
+ // if (this.selection.length > 1) {
359
+ // this.$message.error('请不要选择多个记录')
360
+ // return
361
+ // }
362
+ // if (this.selection.length === 0) {
363
+ // this.$message.error('请选择一个记录')
364
+ // return
365
+ // }
366
+ // const item = this.selection[0]
367
+ // if (item.apiAuthStatus === 'disable') {
368
+ // this.$message.error('该接口已经停用')
369
+ // return
370
+ // }
371
+ // this.$confirm('确定停用', {
372
+ // confirmButtonText: this.$t('confirm'),
373
+ // cancelButtonText: this.$t('cancel'),
374
+ // type: 'warning'
375
+ // }).then(() => {
376
+ // this.$http.update({
377
+ // entityId: this.$metaId,
378
+ // 'bean.ID': item.apiRoleId,
379
+ // 'bean.STATUS': 'disable'
380
+ // }).then(() => {
381
+ // item.apiAuthStatus = 'disable'
382
+ // this.selection.splice(0, 1, item)
383
+ // this.getData()
384
+ // this.$message({
385
+ // type: 'success',
386
+ // message: '操作成功!'
387
+ // })
388
+ // })
389
+ // })
390
+ // },
391
+ // 设置数据范围
392
+ settingDataScope(config, item) {
393
+ if (!item) {
394
+ if (this.selectionList.length > 1) {
395
+ this.$message.error("请不要选择多个记录");
396
+ return;
397
+ }
398
+ if (this.selectionList.length === 0) {
399
+ this.$message.error("请选择一个记录");
400
+ return;
401
+ }
402
+ item = this.selectionList[0];
403
+ }
404
+ this.$createPage({
405
+ title: "设置数据范围",
406
+ component: "add-role-scope",
407
+ // metaId: 'FM_ENTITY_RIGHT_ROLE',
408
+ metaId: this.$metaId,
409
+ entityId: item.entityId,
410
+ openType: "2",
411
+ comType: "role",
412
+ id: item.apiRoleId
413
+ });
414
+ },
415
+ // column删除
416
+ deleteAuthorizationRole(row) {
417
+ const id = (row.apis || []).map((item) => item.apiRoleId).join(",");
418
+ this.$confirm(this.$t("Confirm the deletion") + "?").then(() => {
419
+ this.$http.removeMulti({
420
+ entityId: this.$metaId,
421
+ ids: id
422
+ }).then(() => {
423
+ this.$message.success("删除成功");
424
+ this.$refs.multipleTable.clearSelection();
425
+ this.selectionList = [];
426
+ this.getData();
427
+ }).catch((err) => {
428
+ this.$message.error(err.message || "删除失败");
429
+ });
430
+ }).catch(() => {
431
+ });
432
+ },
433
+ deleteRoleApis() {
434
+ if (this.selectionList.length === 0) {
435
+ this.$message.error("请至少选择一个记录");
436
+ return;
437
+ }
438
+ const apiRoleIds = this.selectionList.map((item) => item.apiRoleId).join(",");
439
+ this.$confirm(this.$t("Confirm the deletion") + "?").then(() => {
440
+ this.$http.removeMulti({
441
+ entityId: this.$metaId,
442
+ ids: apiRoleIds
443
+ }).then(() => {
444
+ this.$message.success("删除成功");
445
+ this.$refs.multipleTable.clearSelection();
446
+ this.selectionList = [];
447
+ this.getData();
448
+ }).catch((err) => {
449
+ this.$message.error(err.message || "删除失败");
450
+ });
451
+ }).catch(() => {
452
+ });
453
+ },
454
+ // 设置字段范围
455
+ settingFieldScope() {
456
+ },
457
+ getDefaultOperates() {
458
+ const { editPage, operates, columnOperates } = this.$configs;
459
+ const defaultOperates = [
460
+ {
461
+ text: "添加操作接口",
462
+ handler: "addApi",
463
+ ui: "primary"
464
+ },
465
+ // {
466
+ // text: '启用',
467
+ // handler: 'startApi'
468
+ // },
469
+ // {
470
+ // text: '停用',
471
+ // handler: 'stopApi'
472
+ // },
473
+ // {
474
+ // text: '设置数据范围',
475
+ // handler: 'settingDataScope'
476
+ // },
477
+ // {
478
+ // text: '设置字段范围',
479
+ // handler: 'settingFieldScope'
480
+ // },
481
+ {
482
+ text: "删除",
483
+ handler: "deleteRoleApis",
484
+ action: "removeMulti",
485
+ num: "n",
486
+ confirmMsg: this.$t("Confirm the deletion") + "?",
487
+ successMsg: "删除成功",
488
+ params: {
489
+ ids: `#[${this.$metaKey}]`
490
+ }
491
+ }
492
+ ];
493
+ const defaultColumnOperates = [
494
+ {
495
+ text: "编辑",
496
+ handler: "goPage",
497
+ num: 1,
498
+ component: editPage,
499
+ openMode: "3",
500
+ params: {
501
+ callback: "$[getData]"
502
+ }
503
+ },
504
+ {
505
+ text: "删除",
506
+ handler: "commonAction",
507
+ action: "removeMulti",
508
+ num: "n",
509
+ confirmMsg: this.$t("Confirm the deletion") + "?",
510
+ successMsg: "删除成功",
511
+ params: {
512
+ ids: `#[${this.$metaKey}]`
513
+ }
514
+ }
515
+ ];
516
+ if (!operates) {
517
+ this.configs.operates = defaultOperates;
518
+ }
519
+ if (!columnOperates) {
520
+ this.configs.columnOperates = defaultColumnOperates;
521
+ }
522
+ },
523
+ addAuthorization(row) {
524
+ if (row.apiId) {
525
+ this.$createPage({
526
+ flag: "v_entity_api_authorization",
527
+ metaId: "FM_ENTITY_RIGHT",
528
+ id: row.apiId,
529
+ pageType: "DETAIL",
530
+ entityId: row.entityId
531
+ });
532
+ } else {
533
+ this.$message.error("该对象下没有接口");
534
+ }
535
+ },
536
+ // 合并行
537
+ objectSpanMethod({ row, column, rowIndex, columnIndex }) {
538
+ if (columnIndex <= 1) {
539
+ const apisLength = (row.apis || []).length;
540
+ if (row.merge && apisLength > 0) {
541
+ return {
542
+ rowspan: apisLength,
543
+ colspan: 1
544
+ };
545
+ } else if (row.merge && apisLength === 0) {
546
+ return {
547
+ rowspan: 1,
548
+ colspan: 1
549
+ };
550
+ } else {
551
+ return {
552
+ rowspan: 0,
553
+ colspan: 0
554
+ };
555
+ }
556
+ }
557
+ },
558
+ // tableRowClassName ({ row, rowIndex }) {
559
+ // console.log(rowIndex)
560
+ // if (rowIndex % 2 === 0) {
561
+ // return 'even-row'
562
+ // } else {
563
+ // return ''
564
+ // }
565
+ // },
566
+ getData(current, cb) {
567
+ let { queryParams = {}, pageFlag, orderFields, order_field: orderField = [], order_mode: orderMode = [], limit } = this.$configs;
568
+ const params = {
569
+ action: "getRoleLocalApiManagement",
570
+ roleId: this.$query.roleId,
571
+ entityId: this.$metaId,
572
+ searchText: this.searchText
573
+ };
574
+ if (this.$query.systemType === "others") {
575
+ params.action = "getRoleDesignatedSystemApiManagement";
576
+ params.systemId = this.$query.systemId;
577
+ }
578
+ const functionField = this.listFields.filter((item) => {
579
+ return item.function;
580
+ });
581
+ let functionList = [];
582
+ if (functionField.length > 0) {
583
+ functionList = functionField.map((item) => ({ dataIndex: item.attriName, function: item.function }));
584
+ params.fieldFunctions = JSON.stringify(functionList);
585
+ }
586
+ if (pageFlag) {
587
+ params.page = current || this.currentPage;
588
+ params.limit = this.pageSize;
589
+ }
590
+ if (limit) {
591
+ params.limit = limit;
592
+ }
593
+ if (this.scopeParams) {
594
+ params.scopeParams = JSON.stringify(this.scopeParams);
595
+ }
596
+ if (orderFields && orderFields.length > 0) {
597
+ orderField = orderFields.map((item) => item.attriName || item);
598
+ orderMode = orderFields.map((item) => item.sort || "asc");
599
+ }
600
+ if (this.loading) return;
601
+ this.loading = true;
602
+ this.$http.list({
603
+ ...params,
604
+ ...this.$formatParams(queryParams),
605
+ ...this.queryParams,
606
+ ...this.sortParams,
607
+ order_field: orderField.join(","),
608
+ order_mode: orderMode.join(",")
609
+ }).then((data) => {
610
+ this.initData = true;
611
+ this.loading = false;
612
+ if (current) this.currentPage = current;
613
+ this.tableData = data.entitys || [];
614
+ this.total = data.total || this.tableData.length;
615
+ this.$bus.emit("refreshCount", { total: this.total, index: this.$query.componentIndex });
616
+ if (cb) cb(this.data);
617
+ this.$dispatchPage("listData", [{ total: this.total, entitys: this.data }]);
618
+ this.$emit("listData", { total: this.total, entitys: this.data });
619
+ if (this.afterData) this.afterData(this.data);
620
+ }).catch(() => {
621
+ this.loading = false;
622
+ });
623
+ },
624
+ editFieldScope(scope) {
625
+ this.editFieldScopeForm = {
626
+ ...scope.fieldScopes
627
+ };
628
+ this.editItem = scope;
629
+ this.$store.dispatch({
630
+ type: "ADD_META",
631
+ metaId: scope.entityId
632
+ }).then((meta) => {
633
+ var _a, _b, _c;
634
+ this.allFields = meta.getAllFieldConfigs();
635
+ this.editFieldDialog = true;
636
+ const fieldScopes = scope.fieldScopes || {};
637
+ const detailData = ((_a = fieldScopes["1"]) == null ? void 0 : _a.data) || {};
638
+ const editData = ((_b = fieldScopes["2"]) == null ? void 0 : _b.data) || {};
639
+ const decryptData = ((_c = fieldScopes["3"]) == null ? void 0 : _c.data) || {};
640
+ if (detailData.TYPE === "1") {
641
+ this.detailSelection = this.allFields.map((item) => item.attribute.id);
642
+ } else {
643
+ const selects = detailData.FIELD_SCOPE ? detailData.FIELD_SCOPE.split(",") : [];
644
+ this.detailSelection = selects;
645
+ }
646
+ if (editData.TYPE === "1") {
647
+ this.editSelection = this.allFields.map((item) => item.attribute.id);
648
+ } else {
649
+ const selects = editData.FIELD_SCOPE ? editData.FIELD_SCOPE.split(",") : [];
650
+ this.editSelection = selects;
651
+ }
652
+ if (decryptData.TYPE === "1") {
653
+ this.decryptSelection = [];
654
+ } else {
655
+ const selects = decryptData.FIELD_SCOPE ? decryptData.FIELD_SCOPE.split(",") : [];
656
+ this.decryptSelection = selects;
657
+ }
658
+ });
659
+ },
660
+ changeSelect(row, type) {
661
+ if (type === "1") {
662
+ const index = this.detailSelection.findIndex((item) => item === row.attribute.id);
663
+ if (index !== -1) {
664
+ this.detailSelection.splice(index, 1);
665
+ } else {
666
+ this.detailSelection.push(row.attribute.id);
667
+ }
668
+ } else if (type === "2") {
669
+ const index = this.editSelection.findIndex((item) => item === row.attribute.id);
670
+ if (index !== -1) {
671
+ this.editSelection.splice(index, 1);
672
+ } else {
673
+ this.editSelection.push(row.attribute.id);
674
+ }
675
+ } else {
676
+ const index = this.decryptSelection.findIndex((item) => item === row.attribute.id);
677
+ if (index !== -1) {
678
+ this.decryptSelection.splice(index, 1);
679
+ } else {
680
+ this.decryptSelection.push(row.attribute.id);
681
+ }
682
+ }
683
+ },
684
+ changeSelectAll(v, type) {
685
+ if (type === "1") {
686
+ if (!this.detailSelectAll) {
687
+ this.detailSelection = this.allFields.map((item) => item.attribute.id);
688
+ } else {
689
+ this.detailSelection = [];
690
+ }
691
+ } else if (type === "2") {
692
+ if (!this.editSelectAll) {
693
+ this.editSelection = this.allFields.map((item) => item.attribute.id);
694
+ } else {
695
+ this.editSelection = [];
696
+ }
697
+ }
698
+ },
699
+ submitFieldScope() {
700
+ const entityList = Object.keys(this.editFieldScopeForm).filter((item) => item === "1" || item === "2" || item === "3").map((item) => {
701
+ const data = this.editFieldScopeForm[item].data;
702
+ const fieldList = item === "1" ? this.detailSelection : item === "2" ? this.editSelection : this.decryptSelection;
703
+ const type = fieldList.length === this.allFields.length ? "1" : "2";
704
+ return {
705
+ ID: data.ID,
706
+ TYPE: type,
707
+ FIELD_SCOPE: type === "1" ? "" : fieldList.join(","),
708
+ OPERATE_TYPE: item,
709
+ ENTITY: this.editItem.entityId,
710
+ ROLE: this.$query.roleId
711
+ };
712
+ });
713
+ this.$http.save({
714
+ action: "setRoleFieldScope",
715
+ entityId: "FM_ROLE_FIELDSCOPE",
716
+ entityList
717
+ }).then((data) => {
718
+ this.$message.success("修改成功");
719
+ this.editFieldDialog = false;
720
+ this.allFields = [];
721
+ this.editFieldScopeForm = {};
722
+ this.editItem = {};
723
+ this.getData();
724
+ }).catch((err) => {
725
+ this.$message.error(err.message);
726
+ });
727
+ },
728
+ editDataScope(scope, system) {
729
+ this.editDataDialog = true;
730
+ this.editDataSystem = this.$query.id;
731
+ this.editDataScopeForm = { ...scope.row };
732
+ const dataScopes = scope.row.dataScopes || {};
733
+ this.editDataScopeList = Object.keys(dataScopes).filter((item) => item === "1" || item === "2" || item === "3" || item === "4").map((item) => dataScopes[item]);
734
+ const isSame = this.isSameDataRight(scope.row);
735
+ if (isSame && this.editDataScopeList.length) {
736
+ this.dataConfigWay = "1";
737
+ this.dataAllConfigWay = this.editDataScopeList[0].data.TYPE || "1";
738
+ this.dataAllConfig = this.editDataScopeList[0].data.DATA_SCOPE;
739
+ this.dataAllConfigDeptId = this.editDataScopeList[0].data.DEPT_ID;
740
+ } else {
741
+ this.dataConfigWay = "2";
742
+ }
743
+ },
744
+ submitDataScope() {
745
+ this.isSubmitDataLoading = true;
746
+ this.$http.save({
747
+ action: "setRoleDataScope",
748
+ entityId: "FM_ROLE_DATASCOPE",
749
+ entityList: this.editDataScopeList.map((item) => ({
750
+ ID: item.data.ID,
751
+ TYPE: !item.data.DATA_SCOPE && item.data.TYPE === "7" ? "1" : item.data.TYPE,
752
+ DATA_SCOPE: item.data.DATA_SCOPE,
753
+ DEPT_ID: item.data.DEPT_ID
754
+ }))
755
+ }).then((data) => {
756
+ this.$message.success("修改成功");
757
+ this.editDataDialog = false;
758
+ this.editDataScopeList = [];
759
+ this.editDataScopeForm = {};
760
+ this.getData();
761
+ this.isSubmitDataLoading = false;
762
+ }).catch((err) => {
763
+ this.$message.error(err.message);
764
+ this.isSubmitDataLoading = false;
765
+ });
766
+ }
767
+ },
768
+ created() {
769
+ this.getRoleInfo();
770
+ this.getDataScopeType();
771
+ }
772
+ };
773
+ const _hoisted_1 = { class: "container" };
774
+ const _hoisted_2 = { class: "list-operates" };
775
+ const _hoisted_3 = {
776
+ key: 0,
777
+ class: "button-group"
778
+ };
779
+ const _hoisted_4 = { style: { display: "inline-block", maxWidth: "300px" } };
780
+ const _hoisted_5 = { style: { marginRight: "8px", cursor: "pointer" } };
781
+ const _hoisted_6 = { style: { display: "inline-block", maxWidth: "300px" } };
782
+ const _hoisted_7 = { style: { marginRight: "8px", cursor: "pointer" } };
783
+ const _hoisted_8 = { class: "right-item" };
784
+ const _hoisted_9 = { class: "right-item__title" };
785
+ const _hoisted_10 = ["onClick"];
786
+ const _hoisted_11 = { class: "right-item" };
787
+ const _hoisted_12 = { class: "right-item__title" };
788
+ const _hoisted_13 = ["onClick"];
789
+ const _hoisted_14 = { class: "pagination" };
790
+ const _hoisted_15 = { class: "scope-form" };
791
+ const _hoisted_16 = { class: "scope-form__item" };
792
+ const _hoisted_17 = { class: "dialog-footer" };
793
+ const _hoisted_18 = { class: "scope-form" };
794
+ const _hoisted_19 = { class: "scope-form__item" };
795
+ const _hoisted_20 = { class: "scope-form__item" };
796
+ const _hoisted_21 = { class: "scope-form__item" };
797
+ const _hoisted_22 = { class: "dialog-footer" };
798
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
799
+ const _component_el_button = resolveComponent("el-button");
800
+ const _component_el_input = resolveComponent("el-input");
801
+ const _component_el_table_column = resolveComponent("el-table-column");
802
+ const _component_el_popover = resolveComponent("el-popover");
803
+ const _component_el_checkbox = resolveComponent("el-checkbox");
804
+ const _component_el_table = resolveComponent("el-table");
805
+ const _component_el_pagination = resolveComponent("el-pagination");
806
+ const _component_el_dialog = resolveComponent("el-dialog");
807
+ const _component_el_radio = resolveComponent("el-radio");
808
+ const _component_el_radio_group = resolveComponent("el-radio-group");
809
+ const _component_epx_form_scope = resolveComponent("epx-form-scope");
810
+ const _component_epx_object = resolveComponent("epx-object");
811
+ const _directive_loading = resolveDirective("loading");
812
+ return openBlock(), createElementBlock("div", _hoisted_1, [
813
+ createElementVNode("div", _hoisted_2, [
814
+ !_ctx.readonly && _ctx.$configs.operateFlag && _ctx.checkRightOperates.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3, [
815
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.operates, (operate) => {
816
+ return openBlock(), createBlock(_component_el_button, {
817
+ key: operate.text,
818
+ size: "default",
819
+ type: operate.ui,
820
+ onClick: ($event) => _ctx.$handler(operate, null)
821
+ }, {
822
+ default: withCtx(() => [
823
+ createTextVNode(toDisplayString(operate.text), 1)
824
+ ]),
825
+ _: 2
826
+ }, 1032, ["type", "onClick"]);
827
+ }), 128))
828
+ ])) : createCommentVNode("", true),
829
+ createVNode(_component_el_input, {
830
+ onChange: _cache[0] || (_cache[0] = ($event) => $options.getData(1)),
831
+ style: { "width": "200px" },
832
+ clearable: "",
833
+ modelValue: $data.searchText,
834
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.searchText = $event),
835
+ placeholder: "请输入对象编号、对象名称"
836
+ }, null, 8, ["modelValue"])
837
+ ]),
838
+ createVNode(_component_el_table, {
839
+ ref: "multipleTable",
840
+ class: "list-table no-border",
841
+ data: $data.tableData,
842
+ height: "calc(100% - 128px)",
843
+ rowKey: "entityId",
844
+ onSelect: $options.selectionChange,
845
+ onSelectAll: $options.selectionAll,
846
+ border: ""
847
+ }, {
848
+ default: withCtx(() => [
849
+ !_ctx.readonly ? (openBlock(), createBlock(_component_el_table_column, {
850
+ key: 0,
851
+ type: "selection",
852
+ width: "55",
853
+ "reserve-selection": true
854
+ })) : createCommentVNode("", true),
855
+ createVNode(_component_el_table_column, { label: "对象名称" }, {
856
+ default: withCtx((scope) => [
857
+ createTextVNode(toDisplayString(scope.row.entityName) + "(" + toDisplayString(scope.row.entityCode) + ") ", 1)
858
+ ]),
859
+ _: 1
860
+ }),
861
+ createVNode(_component_el_table_column, { label: "功能权限" }, {
862
+ default: withCtx((scope) => [
863
+ _ctx.readonly ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(scope.row.apis, (api) => {
864
+ return openBlock(), createBlock(_component_el_popover, {
865
+ key: api.apiId,
866
+ placement: "top-start",
867
+ title: "",
868
+ style: { maxWidth: "200px" },
869
+ trigger: "hover"
870
+ }, {
871
+ reference: withCtx(() => [
872
+ createElementVNode("span", _hoisted_5, toDisplayString(api.apiLabel), 1)
873
+ ]),
874
+ default: withCtx(() => [
875
+ createElementVNode("div", _hoisted_4, toDisplayString(api.apiName.replace(/,/g, "、")), 1)
876
+ ]),
877
+ _: 2
878
+ }, 1024);
879
+ }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(scope.row.apis, (api) => {
880
+ return openBlock(), createBlock(_component_el_checkbox, {
881
+ key: api.apiId,
882
+ value: !!$data.selectionList.find((item) => item.apiId === api.apiId),
883
+ label: api.apiId,
884
+ onChange: ($event) => $options.checkApi(scope.row, api)
885
+ }, {
886
+ default: withCtx(() => [
887
+ createVNode(_component_el_popover, {
888
+ placement: "top-start",
889
+ title: "",
890
+ style: { maxWidth: "200px" },
891
+ trigger: "hover"
892
+ }, {
893
+ reference: withCtx(() => [
894
+ createElementVNode("span", _hoisted_7, toDisplayString(api.apiLabel), 1)
895
+ ]),
896
+ default: withCtx(() => [
897
+ createElementVNode("div", _hoisted_6, toDisplayString(api.apiName.replace(/,/g, "、")), 1)
898
+ ]),
899
+ _: 2
900
+ }, 1024)
901
+ ]),
902
+ _: 2
903
+ }, 1032, ["value", "label", "onChange"]);
904
+ }), 128))
905
+ ]),
906
+ _: 1
907
+ }),
908
+ createVNode(_component_el_table_column, { label: "数据权限" }, {
909
+ default: withCtx((scope) => [
910
+ createElementVNode("div", _hoisted_8, [
911
+ createElementVNode("div", null, [
912
+ scope.row.dataScopes && scope.row.dataScopes["1"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
913
+ $options.isSameDataRight(scope.row) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
914
+ createTextVNode(toDisplayString($options.getRightText(scope.row.dataScopes["1"])), 1)
915
+ ], 64)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(scope.row.dataScopes, (item, key) => {
916
+ return openBlock(), createElementBlock("p", {
917
+ key: item.id,
918
+ class: "right-item__sub"
919
+ }, [
920
+ createElementVNode("font", _hoisted_9, toDisplayString(key === "1" ? "新增" : key === "2" ? "查询" : key === "3" ? "删除" : "修改") + ":", 1),
921
+ createTextVNode(" " + toDisplayString($options.getRightText(item)), 1)
922
+ ]);
923
+ }), 128))
924
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
925
+ createTextVNode("/")
926
+ ], 64))
927
+ ]),
928
+ createElementVNode("i", {
929
+ class: "el-icon-setting",
930
+ onClick: ($event) => $options.editDataScope(scope)
931
+ }, null, 8, _hoisted_10)
932
+ ])
933
+ ]),
934
+ _: 1
935
+ }),
936
+ createVNode(_component_el_table_column, { label: "字段权限" }, {
937
+ default: withCtx((scope) => [
938
+ createElementVNode("div", _hoisted_11, [
939
+ createElementVNode("div", null, [
940
+ scope.row.fieldScopes && scope.row.fieldScopes["1"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
941
+ $options.isSameFieldRight(scope.row) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
942
+ createTextVNode(toDisplayString($options.getRightFieldText(scope.row.fieldScopes["1"])), 1)
943
+ ], 64)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(scope.row.fieldScopes, (item, key) => {
944
+ return openBlock(), createElementBlock("p", {
945
+ key: item.id,
946
+ class: "right-item__sub"
947
+ }, [
948
+ createElementVNode("font", _hoisted_12, toDisplayString(key === "1" ? "查看" : key === "2" ? "编辑" : "解密") + ":", 1),
949
+ createTextVNode(toDisplayString($options.getRightFieldText(item)), 1)
950
+ ]);
951
+ }), 128))
952
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
953
+ createTextVNode("/")
954
+ ], 64))
955
+ ]),
956
+ createElementVNode("i", {
957
+ class: "el-icon-setting",
958
+ onClick: ($event) => $options.editFieldScope(scope.row)
959
+ }, null, 8, _hoisted_13)
960
+ ])
961
+ ]),
962
+ _: 1
963
+ })
964
+ ]),
965
+ _: 1
966
+ }, 8, ["data", "onSelect", "onSelectAll"]),
967
+ createElementVNode("div", _hoisted_14, [
968
+ withDirectives(createVNode(_component_el_pagination, {
969
+ currentPage: _ctx.currentPage,
970
+ pageSizes: [5, 10, 15, 20, 30, 50, 100, 200],
971
+ pageSize: _ctx.pageSize,
972
+ layout: "prev, pager, next, jumper, sizes,total",
973
+ total: _ctx.total,
974
+ onSizeChange: _ctx.sizeChange,
975
+ onCurrentChange: _ctx.currentChange
976
+ }, null, 8, ["currentPage", "pageSize", "total", "onSizeChange", "onCurrentChange"]), [
977
+ [_directive_loading, _ctx.loading]
978
+ ])
979
+ ]),
980
+ createVNode(_component_el_dialog, {
981
+ width: "800px",
982
+ modelValue: $data.editFieldDialog,
983
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.editFieldDialog = $event),
984
+ "destroy-on-close": "",
985
+ title: "编辑字段权限"
986
+ }, {
987
+ footer: withCtx(() => [
988
+ createElementVNode("div", _hoisted_17, [
989
+ createVNode(_component_el_button, {
990
+ onClick: _cache[4] || (_cache[4] = ($event) => $data.editFieldDialog = false)
991
+ }, {
992
+ default: withCtx(() => [..._cache[20] || (_cache[20] = [
993
+ createTextVNode("取 消", -1)
994
+ ])]),
995
+ _: 1
996
+ }),
997
+ createVNode(_component_el_button, {
998
+ type: "primary",
999
+ onClick: $options.submitFieldScope
1000
+ }, {
1001
+ default: withCtx(() => [..._cache[21] || (_cache[21] = [
1002
+ createTextVNode("确 定", -1)
1003
+ ])]),
1004
+ _: 1
1005
+ }, 8, ["onClick"])
1006
+ ])
1007
+ ]),
1008
+ default: withCtx(() => [
1009
+ createElementVNode("div", _hoisted_15, [
1010
+ createElementVNode("div", _hoisted_16, [
1011
+ _cache[12] || (_cache[12] = createElementVNode("label", { for: "" }, "对象名称:", -1)),
1012
+ createElementVNode("span", null, toDisplayString($data.editItem.entityName), 1)
1013
+ ])
1014
+ ]),
1015
+ createVNode(_component_el_table, {
1016
+ class: "scope-table",
1017
+ height: "500px",
1018
+ border: "",
1019
+ data: $data.allFields
1020
+ }, {
1021
+ default: withCtx(() => [
1022
+ createVNode(_component_el_table_column, {
1023
+ width: "80px",
1024
+ label: this.$t("numerical order"),
1025
+ type: "index"
1026
+ }, null, 8, ["label"]),
1027
+ createVNode(_component_el_table_column, { label: "字段名称" }, {
1028
+ default: withCtx((scope) => [
1029
+ createTextVNode(toDisplayString(scope.row.attriLabel), 1)
1030
+ ]),
1031
+ _: 1
1032
+ }),
1033
+ createVNode(_component_el_table_column, { label: "查看" }, {
1034
+ header: withCtx(() => [
1035
+ _cache[14] || (_cache[14] = createElementVNode("span", { class: "scope-table__title" }, "查看", -1)),
1036
+ createVNode(_component_el_checkbox, {
1037
+ ref: "detailSelectAll",
1038
+ value: $options.detailSelectAll,
1039
+ onChange: _cache[2] || (_cache[2] = (v) => $options.changeSelectAll(v, "1"))
1040
+ }, {
1041
+ default: withCtx(() => [..._cache[13] || (_cache[13] = [
1042
+ createElementVNode("span", null, null, -1)
1043
+ ])]),
1044
+ _: 1
1045
+ }, 8, ["value"])
1046
+ ]),
1047
+ default: withCtx((scope) => [
1048
+ createVNode(_component_el_checkbox, {
1049
+ label: scope.row.attribute.id,
1050
+ value: $data.detailSelection.includes(scope.row.attribute.id),
1051
+ onChange: ($event) => $options.changeSelect(scope.row, "1")
1052
+ }, {
1053
+ default: withCtx(() => [..._cache[15] || (_cache[15] = [
1054
+ createElementVNode("span", null, null, -1)
1055
+ ])]),
1056
+ _: 1
1057
+ }, 8, ["label", "value", "onChange"])
1058
+ ]),
1059
+ _: 1
1060
+ }),
1061
+ createVNode(_component_el_table_column, { label: "编辑" }, {
1062
+ header: withCtx(() => [
1063
+ _cache[17] || (_cache[17] = createElementVNode("span", { class: "scope-table__title" }, "编辑", -1)),
1064
+ createVNode(_component_el_checkbox, {
1065
+ ref: "editSelectAll",
1066
+ value: $options.editSelectAll,
1067
+ onChange: _cache[3] || (_cache[3] = (v) => $options.changeSelectAll(v, "2"))
1068
+ }, {
1069
+ default: withCtx(() => [..._cache[16] || (_cache[16] = [
1070
+ createElementVNode("span", null, null, -1)
1071
+ ])]),
1072
+ _: 1
1073
+ }, 8, ["value"])
1074
+ ]),
1075
+ default: withCtx((scope) => [
1076
+ createVNode(_component_el_checkbox, {
1077
+ label: scope.row.attribute.id,
1078
+ value: $data.editSelection.includes(scope.row.attribute.id),
1079
+ onChange: ($event) => $options.changeSelect(scope.row, "2")
1080
+ }, {
1081
+ default: withCtx(() => [..._cache[18] || (_cache[18] = [
1082
+ createElementVNode("span", null, null, -1)
1083
+ ])]),
1084
+ _: 1
1085
+ }, 8, ["label", "value", "onChange"])
1086
+ ]),
1087
+ _: 1
1088
+ }),
1089
+ createVNode(_component_el_table_column, { label: "解密" }, {
1090
+ default: withCtx((scope) => [
1091
+ scope.row.attribute.isMasking === "1" ? (openBlock(), createBlock(_component_el_checkbox, {
1092
+ key: 0,
1093
+ label: scope.row.attribute.id,
1094
+ value: $data.decryptSelection.includes(scope.row.attribute.id),
1095
+ onChange: ($event) => $options.changeSelect(scope.row, "3")
1096
+ }, {
1097
+ default: withCtx(() => [..._cache[19] || (_cache[19] = [
1098
+ createElementVNode("span", null, null, -1)
1099
+ ])]),
1100
+ _: 1
1101
+ }, 8, ["label", "value", "onChange"])) : createCommentVNode("", true)
1102
+ ]),
1103
+ _: 1
1104
+ })
1105
+ ]),
1106
+ _: 1
1107
+ }, 8, ["data"])
1108
+ ]),
1109
+ _: 1
1110
+ }, 8, ["modelValue"]),
1111
+ createVNode(_component_el_dialog, {
1112
+ width: "960px",
1113
+ modelValue: $data.editDataDialog,
1114
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $data.editDataDialog = $event),
1115
+ title: "编辑数据权限"
1116
+ }, {
1117
+ footer: withCtx(() => [
1118
+ createElementVNode("div", _hoisted_22, [
1119
+ createVNode(_component_el_button, {
1120
+ onClick: _cache[10] || (_cache[10] = ($event) => $data.editDataDialog = false)
1121
+ }, {
1122
+ default: withCtx(() => [..._cache[27] || (_cache[27] = [
1123
+ createTextVNode("取 消", -1)
1124
+ ])]),
1125
+ _: 1
1126
+ }),
1127
+ createVNode(_component_el_button, {
1128
+ type: "primary",
1129
+ loading: $data.isSubmitDataLoading,
1130
+ onClick: $options.submitDataScope
1131
+ }, {
1132
+ default: withCtx(() => [..._cache[28] || (_cache[28] = [
1133
+ createTextVNode("确 定", -1)
1134
+ ])]),
1135
+ _: 1
1136
+ }, 8, ["loading", "onClick"])
1137
+ ])
1138
+ ]),
1139
+ default: withCtx(() => [
1140
+ createElementVNode("div", _hoisted_18, [
1141
+ createElementVNode("div", _hoisted_19, [
1142
+ _cache[22] || (_cache[22] = createElementVNode("label", { for: "" }, "对象名称:", -1)),
1143
+ createElementVNode("span", null, toDisplayString($data.editDataScopeForm.entityName), 1)
1144
+ ])
1145
+ ]),
1146
+ createElementVNode("div", _hoisted_20, [
1147
+ _cache[25] || (_cache[25] = createElementVNode("label", { for: "" }, "配置方式:", -1)),
1148
+ createVNode(_component_el_radio_group, {
1149
+ class: "scope-radio__group",
1150
+ modelValue: $data.dataConfigWay,
1151
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.dataConfigWay = $event)
1152
+ }, {
1153
+ default: withCtx(() => [
1154
+ createVNode(_component_el_radio, {
1155
+ label: "1",
1156
+ value: "1"
1157
+ }, {
1158
+ default: withCtx(() => [..._cache[23] || (_cache[23] = [
1159
+ createTextVNode("统一设置", -1)
1160
+ ])]),
1161
+ _: 1
1162
+ }),
1163
+ createVNode(_component_el_radio, {
1164
+ label: "2",
1165
+ value: "2"
1166
+ }, {
1167
+ default: withCtx(() => [..._cache[24] || (_cache[24] = [
1168
+ createTextVNode("单个设置", -1)
1169
+ ])]),
1170
+ _: 1
1171
+ })
1172
+ ]),
1173
+ _: 1
1174
+ }, 8, ["modelValue"])
1175
+ ]),
1176
+ withDirectives(createElementVNode("div", _hoisted_21, [
1177
+ _cache[26] || (_cache[26] = createElementVNode("label", { for: "" }, "统一配置方式:", -1)),
1178
+ createVNode(_component_el_radio_group, {
1179
+ class: "scope-radio__group",
1180
+ modelValue: $data.dataAllConfigWay,
1181
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.dataAllConfigWay = $event)
1182
+ }, {
1183
+ default: withCtx(() => [
1184
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.dataScopeTypeList, (item) => {
1185
+ return openBlock(), createBlock(_component_el_radio, {
1186
+ key: item.code,
1187
+ label: item.code,
1188
+ value: item.code
1189
+ }, {
1190
+ default: withCtx(() => [
1191
+ createTextVNode(toDisplayString(item.name), 1)
1192
+ ]),
1193
+ _: 2
1194
+ }, 1032, ["label", "value"]);
1195
+ }), 128))
1196
+ ]),
1197
+ _: 1
1198
+ }, 8, ["modelValue"])
1199
+ ], 512), [
1200
+ [vShow, $data.dataConfigWay === "1"]
1201
+ ]),
1202
+ $data.dataConfigWay === "1" && $data.dataAllConfigWay === "7" ? (openBlock(), createBlock(_component_epx_form_scope, {
1203
+ key: 0,
1204
+ modelValue: $data.dataAllConfig,
1205
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.dataAllConfig = $event),
1206
+ metaId: $data.editDataScopeForm.entityId,
1207
+ fieldConfigs: { state: "EDIT" }
1208
+ }, null, 8, ["modelValue", "metaId"])) : createCommentVNode("", true),
1209
+ $data.dataConfigWay === "1" && $data.dataAllConfigWay === "6" ? (openBlock(), createBlock(_component_epx_object, {
1210
+ key: 1,
1211
+ class: "scope-item__object",
1212
+ modelValue: $data.dataAllConfigDeptId,
1213
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.dataAllConfigDeptId = $event),
1214
+ fieldConfigs: { attriLabel: "部门", codeKey: "FM_DEPT", state: "EDIT", dataType: "object", isTree: "1", isMultiple: "1" }
1215
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true),
1216
+ createVNode(_component_el_table, {
1217
+ class: "scope-table",
1218
+ border: "",
1219
+ data: $data.editDataScopeList
1220
+ }, {
1221
+ default: withCtx(() => [
1222
+ createVNode(_component_el_table_column, {
1223
+ label: "数据操作",
1224
+ width: "100px"
1225
+ }, {
1226
+ default: withCtx((scope) => [
1227
+ createTextVNode(toDisplayString(scope.row.data.API_TYPE === "1" ? "新增" : scope.row.data.API_TYPE === "2" ? "查询" : scope.row.data.API_TYPE === "3" ? "删除" : "修改"), 1)
1228
+ ]),
1229
+ _: 1
1230
+ }),
1231
+ createVNode(_component_el_table_column, { label: "权限范围" }, {
1232
+ default: withCtx((scope) => [
1233
+ $data.dataConfigWay === "1" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1234
+ createTextVNode(toDisplayString($options.getRightText(scope.row)), 1)
1235
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1236
+ createVNode(_component_el_radio_group, {
1237
+ class: "scope-radio__group",
1238
+ modelValue: scope.row.data.TYPE,
1239
+ "onUpdate:modelValue": ($event) => scope.row.data.TYPE = $event
1240
+ }, {
1241
+ default: withCtx(() => [
1242
+ (openBlock(true), createElementBlock(Fragment, null, renderList($data.dataScopeTypeList, (item) => {
1243
+ return openBlock(), createBlock(_component_el_radio, {
1244
+ key: item.code,
1245
+ label: item.code,
1246
+ value: item.code
1247
+ }, {
1248
+ default: withCtx(() => [
1249
+ createTextVNode(toDisplayString(item.name), 1)
1250
+ ]),
1251
+ _: 2
1252
+ }, 1032, ["label", "value"]);
1253
+ }), 128))
1254
+ ]),
1255
+ _: 1
1256
+ }, 8, ["modelValue", "onUpdate:modelValue"]),
1257
+ scope.row.data.TYPE === "7" ? (openBlock(), createBlock(_component_epx_form_scope, {
1258
+ key: 0,
1259
+ modelValue: scope.row.data.DATA_SCOPE,
1260
+ "onUpdate:modelValue": ($event) => scope.row.data.DATA_SCOPE = $event,
1261
+ metaId: scope.row.data.ENTITY,
1262
+ fieldConfigs: { state: "EDIT" }
1263
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "metaId"])) : createCommentVNode("", true),
1264
+ scope.row.data.TYPE === "6" ? (openBlock(), createBlock(_component_epx_object, {
1265
+ key: 1,
1266
+ class: "scope-item__object",
1267
+ modelValue: scope.row.data.DEPT_ID,
1268
+ "onUpdate:modelValue": ($event) => scope.row.data.DEPT_ID = $event,
1269
+ fieldConfigs: { attriLabel: "部门", codeKey: "FM_DEPT", state: "EDIT", dataType: "object", isTree: "1", isMultiple: "1" }
1270
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true)
1271
+ ], 64))
1272
+ ]),
1273
+ _: 1
1274
+ })
1275
+ ]),
1276
+ _: 1
1277
+ }, 8, ["data"])
1278
+ ]),
1279
+ _: 1
1280
+ }, 8, ["modelValue"])
1281
+ ]);
1282
+ }
1283
+ const PermissRoleAuthorization = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-fae2cb09"]]);
1284
+ export {
1285
+ PermissRoleAuthorization as default
1286
+ };