@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,1229 @@
1
+ <template>
2
+ <div class="container" @click="showPopover=null">
3
+ <div class="design-operates" v-if="designOperates.length>0">
4
+ <div class="button-group">
5
+ <template v-for="operate in designOperates" :key="operate.text">
6
+ <el-dropdown v-if="operate.children&&operate.children.length>0" trigger="click">
7
+ <el-button type="primary" size="default">
8
+ {{operate.text}}<i class="el-icon-arrow-down el-icon--right"></i>
9
+ </el-button>
10
+ <template v-slot:dropdown><el-dropdown-menu>
11
+ <template v-for="itemChildren in operate.children" :key="itemChildren.text">
12
+ <el-dropdown-item @click="handler(itemChildren)">{{itemChildren.text}}</el-dropdown-item>
13
+ </template>
14
+ </el-dropdown-menu></template>
15
+ </el-dropdown>
16
+ <template v-else>
17
+ <el-button v-if="checkShow(operate)" size="default" :key="operate.text" :type="operate.ui" @click="handler(operate)">{{operate.text}}</el-button>
18
+ </template>
19
+ </template>
20
+ </div>
21
+ </div>
22
+ <div class="design-content">
23
+ <div class="content-left">
24
+ <div class="left-top">
25
+ <div class="left-title" v-if="!isOne">横向统计项</div>
26
+ <div class="left-top-content">
27
+ <div class="top-button">
28
+ <el-button plain size="small" @click="volumeAdd('1')">批量添加</el-button>
29
+ <el-button plain size="small" @click="singleAdd('1')">添加</el-button>
30
+ <el-button plain size="small" @click="singleEdit('row')">编辑</el-button>
31
+ <el-button plain size="small" @click="deleteItem('row')">删除</el-button>
32
+ </div>
33
+ <div class="tree-content">
34
+ <el-tree
35
+ :data="rowList"
36
+ show-checkbox
37
+ :check-strictly="true"
38
+ default-expand-all
39
+ :props="{label: 'title', children: 'children'}"
40
+ node-key="id"
41
+ ref="treerow"
42
+ @node-contextmenu="showContextmenu"
43
+ >
44
+ <template v-slot="{ node, data }"><span>
45
+ <el-popover
46
+ popper-class="tree-opera-popover"
47
+ :value="showPopover===data.id"
48
+ trigger="manual"
49
+ placement="right-start"
50
+ >
51
+ <template v-slot:reference><span class="tree-node">
52
+ <span>{{ node.label }}</span>
53
+ </span></template>
54
+ <ul class="opera-list">
55
+ <li @click="statisticsSetting('editStatistics',data,'1')">编辑统计项</li>
56
+ <li @click="statisticsSetting('addSameLeval',data,'1')">添加同级统计项</li>
57
+ <li @click="statisticsSetting('addChildren',data,'1')">添加子级统计项</li>
58
+ <li @click="statisticsSetting('volumeAddChildren',data,'1')">批量添加子级统计项</li>
59
+ <li @click="statisticsSetting('deteleStatistics',data,'1')">删除统计项</li>
60
+ </ul>
61
+ </el-popover>
62
+ </span></template>
63
+ </el-tree>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ <div class="left-bottom" v-if="!isOne">
68
+ <div>纵向统计项</div>
69
+ <div class="left-top-content">
70
+ <div class="top-button">
71
+ <el-button plain size="small" @click="volumeAdd('2')">批量添加</el-button>
72
+ <el-button plain size="small" @click="singleAdd('2')">添加</el-button>
73
+ <el-button plain size="small" @click="singleEdit('col')">编辑</el-button>
74
+ <el-button plain size="small" @click="deleteItem('col')">删除</el-button>
75
+ </div>
76
+ <div class="tree-content">
77
+ <el-tree
78
+ :data="columnList"
79
+ show-checkbox
80
+ :check-strictly="true"
81
+ default-expand-all
82
+ :props="{label: 'title', children: 'children'}"
83
+ node-key="id"
84
+ ref="treeclo"
85
+ @node-contextmenu="showContextmenu"
86
+ >
87
+ <template v-slot="{ node, data }"><span>
88
+ <el-popover
89
+ popper-class="tree-opera-popover"
90
+ :value="showPopover===data.id"
91
+ trigger="manual"
92
+ placement="right-start"
93
+ >
94
+ <template v-slot:reference><span class="tree-node">
95
+ <span>{{ node.label }}</span>
96
+ </span></template>
97
+ <ul class="opera-list">
98
+ <li @click="statisticsSetting('editStatistics',data,'2')">编辑统计项</li>
99
+ <li @click="statisticsSetting('addSameLeval',data,'2')">添加同级统计项</li>
100
+ <li @click="statisticsSetting('addChildren',data,'2')">添加子级统计项</li>
101
+ <li @click="statisticsSetting('volumeAddChildren',data,'2')">批量添加子级统计项</li>
102
+ <li @click="statisticsSetting('deteleStatistics',data,'2')">删除统计项</li>
103
+ </ul>
104
+ </el-popover>
105
+ </span></template>
106
+ </el-tree>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ <div class="content-right">
112
+ <epx-page v-if="component&&showComponent" @refreshData="refreshData" @update="v=>updateCondition(v)" :designMode="true" :metaId="$metaId" :inline="true" :component="component" :init-config='initConfig'></epx-page>
113
+ <!-- <epx-page :flag="route.flag" :metaId="route.metaId" :inline="true" :component="component"></epx-page> -->
114
+ </div>
115
+ </div>
116
+ <!-- 批量添加 -->
117
+ <el-dialog title="批量添加统计项" v-model="dialogVolumeAddVisible" width="60%" append-to-body>
118
+ <div class="dialog-content batch-dialog-con">
119
+ <el-form :inline="true" :model="formInline" class="demo-form-inline">
120
+ <el-divider content-position="left">字段选择</el-divider>
121
+ <div class="choose-field">
122
+ <el-form-item label="统计字段:">
123
+ <el-popover
124
+ popper-class="object-popover"
125
+ ref="popover"
126
+ class="popover"
127
+ trigger="click"
128
+ >
129
+ <template v-slot:reference><el-input v-model="formInline.fieldText" placeholder="上一级统计项" suffix-icon="el-icon-search"></el-input></template>
130
+ <div class="poper-tree" v-if="fieldList.length>0">
131
+ <el-tree
132
+ :data="fieldList"
133
+ :props="{label: 'text', children: 'children'}"
134
+ node-key="code"
135
+ @node-click="handleNodeClick"
136
+ :default-expanded-keys="defaultExpandKey"
137
+ ></el-tree>
138
+ </div>
139
+ <div class="no-data" v-else>
140
+ 暂未获取到数据
141
+ </div>
142
+ </el-popover>
143
+ </el-form-item>
144
+ <el-form-item label="上一级统计项:" v-if="!isOne">
145
+ <el-popover
146
+ popper-class="object-popover"
147
+ ref="popoverUp"
148
+ class="popover"
149
+ trigger="click"
150
+ >
151
+ <template v-slot:reference><el-input v-model="formInline.parentText" placeholder="上一级统计项" suffix-icon="el-icon-search"></el-input></template>
152
+ <div class="poper-tree">
153
+ <el-tree
154
+ :data="upList"
155
+ :props="{label: 'text', children: 'children'}"
156
+ @node-click="getUp"
157
+ ></el-tree>
158
+ </div>
159
+ </el-popover>
160
+ </el-form-item>
161
+ <el-form-item label="树状模式" v-if="fieldValue.dataType==='object'||fieldValue.dataType==='treeList'">
162
+ <el-radio-group v-model="treeMode">
163
+ <el-radio label="1" value="1">平铺</el-radio>
164
+ <el-radio label="2" value="2">树状</el-radio>
165
+ </el-radio-group>
166
+ </el-form-item>
167
+ </div>
168
+ <el-divider content-position="left">字段值选择</el-divider>
169
+ <div :class="['field-value',fieldValue.dataType==='object'?'field-list-value':'']">
170
+ <template v-if="fieldValue.dataType==='list'||fieldValue.dataType === 'radio'">
171
+ <div style="margin: 5px 0;"></div>
172
+ <el-checkbox-group v-model="checkList">
173
+ <el-checkbox v-for="option in fieldValueList" :key="option.ID" :label="option.CODE" :value="option.CODE">{{option.NAME}}</el-checkbox>
174
+ </el-checkbox-group>
175
+ <template v-if="fieldValueList.length===0">
176
+ <div>
177
+ 数据为空
178
+ </div>
179
+ </template>
180
+ </template>
181
+ <template v-if="fieldValue.dataType==='treeList'">
182
+ <!-- <div style="margin: 5px 0;"></div> -->
183
+ <epx-page
184
+ class="field-treelist"
185
+ :flag="fieldValue.dataType==='treeList'? 'v_filter_tree_find': 'v_filter_find'"
186
+ :metaId="fieldValue.codeKey"
187
+ :component="fieldValue.dataType==='treeList'? 'entity-tree-find': 'entity-find'"
188
+ multiple
189
+ :halfCheckNodes="true"
190
+ :fieldConfig="{attriName: fieldValue.attriName, dataType: fieldValue.dataType, codeKey: fieldValue.codeKey}"
191
+ :value="fieldValue.value? fieldValue.value: []"
192
+ :change="changeObject"
193
+ />
194
+ </template>
195
+ <template v-if="fieldValue.dataType==='object'">
196
+ <epx-page
197
+ v-if="refresh"
198
+ :multiple="true"
199
+ :metaId="fieldValue.relatedEntity"
200
+ flag="v_report_find"
201
+ component="entity-find"
202
+ :change="change"
203
+ >
204
+ </epx-page>
205
+ </template>
206
+ </div>
207
+ <div class="dialog-button-group">
208
+ <el-button size="default" type="primary" @click.stop="chooseData">选中数据</el-button>
209
+ <el-button size="default" type="primary" @click="chooseAllData">全部数据</el-button>
210
+ <el-button size="default" @click="()=>{dialogVolumeAddVisible=false}">取消</el-button>
211
+ </div>
212
+ </el-form>
213
+ </div>
214
+ </el-dialog>
215
+ <!-- 添加 -->
216
+ <el-dialog title="添加统计项" v-model="dialogSingleAddVisible" width="60%" append-to-body>
217
+ <div class="dialog-content">
218
+ <epx-page v-if="dialogSingleAddVisible" :singleScope="singleScope" :pageTypes="pageTypes" :staObject="staObject" :singleSearchParams="singleSearchParams" :singleSearchParamCN="singleSearchParamCN" :closeDialog="closeDialog" :closeDialogRefresh="closeDialogRefresh" flag="v_add" metaId="FM_REPORT_ITEM" :inline="true" component="report-single-add" :default-value="defaultValue" :currentQuery="$query"></epx-page>
219
+ </div>
220
+ </el-dialog>
221
+ <!-- 全局范围 -->
222
+ <epx-scope-drawer v-model:visible="filterDrawer" :metaId="staObject" ref="globalfilterDrawer" :params="searchParams" :modeType="true">
223
+ <template v-slot:button><div class="filter-button">
224
+ <el-button type="primary" @click="saveRange()">保存</el-button>
225
+ </div></template>
226
+ </epx-scope-drawer>
227
+ <!-- <el-drawer
228
+ class="table-container__drawer"
229
+ :visible.sync="filterDrawer"
230
+ size="600px"
231
+ direction="rtl"
232
+ >
233
+ <epx-filter ref="filter" :showFilter="false" :metaId="staObject" :fields="filterFields" :params.sync="searchParams" :init-condition="initCondition">
234
+ <div slot="button" class="filter-button">
235
+ <el-button type="primary" @click="saveRange()">保存</el-button>
236
+ </div>
237
+ </epx-filter>
238
+ </el-drawer> -->
239
+ <!-- 单个范围 -->
240
+ <epx-scope-drawer v-model:visible="singleFilterDrawer" :metaId="staObject" ref="filterDrawer" :params="singleSearchParams" :modeType="true">
241
+ <template v-slot:button><div class="filter-button">
242
+ <el-button type="primary" @click="saveSingleRange()">保存</el-button>
243
+ </div></template>
244
+ </epx-scope-drawer>
245
+ <!-- <el-drawer
246
+ class="table-container__drawer"
247
+ :visible.sync="singleFilterDrawer"
248
+ size="600px"
249
+ direction="rtl"
250
+ >
251
+ <epx-filter ref="filter" v-if="singleDrawar" :showFilter="false" :metaId="staObject" :fields="singleFilterFields" :params.sync="singleSearchParams" :init-condition="singleInitCondition">
252
+ <div slot="button" class="filter-button">
253
+ <el-button type="primary" @click="saveSingleRange()">保存</el-button>
254
+ </div>
255
+ </epx-filter>
256
+ </el-drawer> -->
257
+ </div>
258
+ </template>
259
+
260
+ <script>
261
+ // import { SET_ROUTER_QUERY } from '@epxing/core/src/store/actions'
262
+ import { markRaw } from 'vue'
263
+ import { SET_TAB_QUERY, ADD_META } from '@epxing/core/src/store/actions'
264
+ import { mapGetters } from 'vuex'
265
+ export default {
266
+ name: 'epx-report-design-report',
267
+ provide () {
268
+ return {
269
+ reportId: this.reportId,
270
+ staObject: this.staObject
271
+ }
272
+ },
273
+ designOperates: [
274
+ {
275
+ text: '全局设置',
276
+ ui: 'primary',
277
+ // handler: 'globalSetting',
278
+ children: [{
279
+ text: '全局范围',
280
+ handler: 'globalScope'
281
+ }]
282
+ },
283
+ {
284
+ text: '预览',
285
+ ui: 'primary',
286
+ pageFlag: 'v_report_look',
287
+ handler: 'preview',
288
+ check: false
289
+ },
290
+ {
291
+ text: '导出',
292
+ ui: 'primary',
293
+ handler: 'entityExport',
294
+ check: true
295
+ },
296
+ {
297
+ text: '返回',
298
+ handler: 'backPage'
299
+ }
300
+ ],
301
+ props: {
302
+ id: String
303
+ },
304
+ data () {
305
+ return {
306
+ component: '',
307
+ initConfig: {},
308
+ rowList: [],
309
+ isOne: false,
310
+ columnList: [],
311
+ dialogVolumeAddVisible: false,
312
+ dialogSingleAddVisible: false,
313
+ formInline: {
314
+ fieldText: '',
315
+ parentText: ''
316
+ },
317
+ fieldList: [],
318
+ defaultExpandKey: [],
319
+ fieldValueList: [],
320
+ checkList: [],
321
+ // codeList: [],
322
+ checkObjectList: [],
323
+ fieldValue: {},
324
+ position: '',
325
+ showComponent: true,
326
+ upList: [],
327
+ up: '',
328
+ defaultValue: {},
329
+ pageTypes: '',
330
+ filterDrawer: false,
331
+ searchParams: [],
332
+ initCondition: [],
333
+ filterFields: [],
334
+ singleFilterDrawer: false,
335
+ singleSearchParams: [],
336
+ singleInitCondition: [],
337
+ singleFilterFields: [],
338
+ // singleSearchParam: {},
339
+ singleSearchParamCN: '',
340
+ singleDrawar: true,
341
+ refresh: true,
342
+ showPopover: '',
343
+ treeMode: '',
344
+ reportData: {},
345
+ staObject: ''
346
+ }
347
+ },
348
+ computed: {
349
+ ...mapGetters([
350
+ 'getCodeById',
351
+ 'getTreeById',
352
+ 'getTreeCountById'
353
+ ]),
354
+ designOperates () {
355
+ const { designOperates = [] } = this.pageConfig
356
+ return designOperates
357
+ },
358
+ reportId () {
359
+ return this.$query.reportId || this.id
360
+ },
361
+ checkShow () {
362
+ return operate => {
363
+ if (operate.check) {
364
+ if (this.reportData.TYPE === '1') {
365
+ return true
366
+ } else {
367
+ return false
368
+ }
369
+ } else {
370
+ return true
371
+ }
372
+ }
373
+ },
374
+ codeList () {
375
+ return (codeKey, value) => {
376
+ const code = this.getCodeById(codeKey)
377
+ if (code) {
378
+ // const arr = this.getCode(code, value)
379
+ const name = this.getCodeName(code, value)
380
+ return name || ''
381
+ } else {
382
+ return ''
383
+ }
384
+ }
385
+ }
386
+ // codeList () {
387
+ // return (codeKey, value) => {
388
+ // const code = this.getCodeById(codeKey)
389
+ // if (code) {
390
+ // const arr = code.find(item => {
391
+ // return item.id === value
392
+ // })
393
+ // return arr.name
394
+ // } else {
395
+ // return ''
396
+ // }
397
+ // }
398
+ // }
399
+ },
400
+ methods: {
401
+ changeObject (check, parent) {
402
+ this.checkObjectList = [...check, ...parent]
403
+ },
404
+ statisticsSetting (key, data, position) {
405
+ const value = { id: data.id, up: data.parent, position: position }
406
+ this[key](value)
407
+ },
408
+ getCodeName (code, value) {
409
+ for (let i = 0; i < code.length; i++) {
410
+ const item = code[i]
411
+ if (item.id === value) {
412
+ return item.name
413
+ } else {
414
+ if (item.children) {
415
+ const name = this.getCodeName(item.children, value)
416
+ if (name) return name
417
+ }
418
+ }
419
+ }
420
+ },
421
+ showContextmenu (event, node) {
422
+ if (this.reportData.TYPE === '1') {
423
+ this.showPopover = node.id
424
+ }
425
+ },
426
+ updateCondition (params) {
427
+ const { key, value } = params
428
+ this[key](value)
429
+ },
430
+ deteleStatistics (params) {
431
+ this.$confirm('是否删除?', {
432
+ confirmButtonText: this.$t('confirm'),
433
+ cancelButtonText: this.$t('cancel'),
434
+ type: 'warning'
435
+ }).then(() => {
436
+ this.$http.$request({
437
+ action: 'removeMulti',
438
+ entityId: 'FM_REPORT_ITEM',
439
+ ids: params.id
440
+ })
441
+ .then(data => {
442
+ this.getTree()
443
+ this.$message.success('删除成功')
444
+ this.showComponent = false
445
+ this.$nextTick(() => {
446
+ const timer = setTimeout(() => {
447
+ this.showComponent = true
448
+ clearTimeout(timer)
449
+ }, 0)
450
+ })
451
+ })
452
+ }).catch(() => {
453
+ this.$message({
454
+ type: 'info',
455
+ message: '已取消删除'
456
+ })
457
+ })
458
+ },
459
+ volumeAddChildren (params) {
460
+ this.$http.$request({
461
+ action: 'getLabel',
462
+ entityId: 'FM_REPORT_ITEM',
463
+ id: params.id
464
+ })
465
+ .then(data => {
466
+ // this.position = '1'
467
+ this.position = params.position
468
+ this.checkList = []
469
+ this.fieldValue = {}
470
+ this.up = params.id
471
+ this.formInline = {
472
+ fieldText: '',
473
+ parentText: data.label
474
+ }
475
+ this.dialogVolumeAddVisible = true
476
+ this.getFieldList()
477
+ if (!this.isOne) {
478
+ this.getUpList()
479
+ }
480
+ })
481
+ },
482
+ addChildren (params) {
483
+ // const position = '1'
484
+ const position = params.position
485
+ this.singleDrawar = false
486
+ this.$nextTick(() => {
487
+ const timer = setTimeout(() => {
488
+ this.singleDrawar = true
489
+ clearTimeout(timer)
490
+ }, 0)
491
+ })
492
+ this.$http.$request({
493
+ action: 'getLabel',
494
+ entityId: 'FM_REPORT_ITEM',
495
+ id: params.id
496
+ })
497
+ .then(data => {
498
+ this.$store.commit(SET_TAB_QUERY, { key: this.$tab.key, query: { position: position } })
499
+ const obj = { POSITION: position, UP: params.id, 'UP#': data.label }
500
+ if (position === '1') {
501
+ obj['POSITION#'] = '横向'
502
+ } else if (position === '2') {
503
+ obj['POSITION#'] = '纵向'
504
+ }
505
+ this.pageTypes = 'ADD'
506
+ this.dialogSingleAddVisible = true
507
+ this.defaultValue = { REPORT: this.reportId, 'REPORT#': this.reportData.NAME, MODE: 'COUNT', 'MODE#': '数量', MODEL: '1', 'MODEL#': '固定', ...obj }
508
+ })
509
+ },
510
+ addSameLeval (params) {
511
+ // const position = '1'
512
+ const position = params.position
513
+ this.singleDrawar = false
514
+ this.$nextTick(() => {
515
+ const timer = setTimeout(() => {
516
+ this.singleDrawar = true
517
+ clearTimeout(timer)
518
+ }, 0)
519
+ })
520
+ this.$http.$request({
521
+ action: 'getLabel',
522
+ entityId: 'FM_REPORT_ITEM',
523
+ id: params.up
524
+ })
525
+ .then(data => {
526
+ this.$store.commit(SET_TAB_QUERY, { key: this.$tab.key, query: { position: position } })
527
+ const obj = { POSITION: position, UP: params.up, 'UP#': data.label }
528
+ if (position === '1') {
529
+ obj['POSITION#'] = '横向'
530
+ } else if (position === '2') {
531
+ obj['POSITION#'] = '纵向'
532
+ }
533
+ this.pageTypes = 'ADD'
534
+ this.dialogSingleAddVisible = true
535
+ this.defaultValue = { REPORT: this.reportId, 'REPORT#': this.reportData.NAME, MODE: 'COUNT', 'MODE#': '数量', MODEL: '1', 'MODEL#': '固定', ...obj }
536
+ })
537
+ },
538
+ editStatistics (value) {
539
+ const itemType = '1'
540
+ this.singleDrawar = false
541
+ this.$nextTick(() => {
542
+ const timer = setTimeout(() => {
543
+ this.singleDrawar = true
544
+ clearTimeout(timer)
545
+ }, 0)
546
+ })
547
+ this.$http.$request({
548
+ action: 'getItemScope',
549
+ entityId: 'FM_REPORT_BASE',
550
+ reportId: this.reportId,
551
+ itemId: value.id,
552
+ itemType: itemType
553
+ })
554
+ .then(data => {
555
+ this.singleFilterFields = []
556
+ this.singleInitCondition = []
557
+ this.singleInitCondition = data.scope.data
558
+ this.singleInitCondition.forEach(item => {
559
+ this.singleFilterFields.push(item.attriName)
560
+ })
561
+ })
562
+ this.$http.get({
563
+ entityId: 'FM_REPORT_ITEM',
564
+ id: value.id
565
+ })
566
+ .then(data => {
567
+ this.pageTypes = 'EDIT'
568
+ this.dialogSingleAddVisible = true
569
+ this.defaultValue = {
570
+ REPORT: this.reportId,
571
+ 'REPORT#': this.reportData.NAME,
572
+ ...data.data
573
+ }
574
+ })
575
+ },
576
+ refreshData () {
577
+ this.getTree()
578
+ this.showComponent = false
579
+ this.$nextTick(() => {
580
+ const timer = setTimeout(() => {
581
+ this.showComponent = true
582
+ clearTimeout(timer)
583
+ }, 0)
584
+ })
585
+ },
586
+ singleScope () {
587
+ this.singleFilterDrawer = true
588
+ },
589
+ saveSingleRange () {
590
+ const scopeParams = this.$refs.filterDrawer.scopeParams || []
591
+ let scopeText = ''
592
+ // 防止数据获取不到
593
+ const _scopeParmas = scopeParams.map(item => {
594
+ const { lb = '', field, mode, values, rb = '', link, label, 'mode#': modelLabel = '是', 'values#': valueLabel, 'link#': linkLabel = '', valueType = '' } = item
595
+ const text = lb + label + modelLabel + (valueLabel || values) + rb + linkLabel
596
+ scopeText += text
597
+ if (valueType) {
598
+ return { lb, field, mode, valueType, values, rb, link }
599
+ }
600
+ return { lb, field, mode, values, rb, link }
601
+ })
602
+ this.singleSearchParams = _scopeParmas
603
+ this.singleSearchParamCN = scopeText
604
+ this.singleFilterDrawer = false
605
+ },
606
+ saveRange () {
607
+ const params = {
608
+ // action: 'updateScope',
609
+ entityId: this.$metaId,
610
+ 'bean.ID': this.reportId,
611
+ staObject: this.staObject
612
+ }
613
+ const scopeParams = this.$refs.globalfilterDrawer.scopeParams || []
614
+ // let scopeText = ''
615
+ // 防止数据获取不到
616
+ const _scopeParmas = scopeParams.map(item => {
617
+ const { lb = '', field, mode, values, rb = '', link, label, 'mode#': modelLabel = '是', 'values#': valueLabel, 'link#': linkLabel = '', valueType = '' } = item
618
+ const text = lb + label + modelLabel + (valueLabel || values) + rb + linkLabel
619
+ // scopeText += text
620
+ if (valueType) {
621
+ return { lb, field, mode, valueType, values, rb, text, link }
622
+ }
623
+ return { lb, field, mode, values, rb, text, link }
624
+ })
625
+ const scopeInfo = JSON.stringify({
626
+ scopeParams: _scopeParmas
627
+ // scopeText
628
+ })
629
+ params['bean.SCOPE'] = scopeInfo
630
+ // params['bean.SCOPE_CN'] = scopeText
631
+ this.filterDrawer = false
632
+ this.$http.update(params)
633
+ .then(data => {
634
+ this.$message.success('保存成功')
635
+ this.closeDialogRefresh()
636
+ })
637
+ .catch(err => {
638
+ this.$message.error(err.message || '保存失败')
639
+ })
640
+ },
641
+ handler (buttonConfigs) {
642
+ const { handler } = buttonConfigs
643
+ this[handler](buttonConfigs)
644
+ },
645
+ globalScope (operate) {
646
+ this.$http.get({
647
+ entityId: this.$metaId,
648
+ id: this.reportId
649
+ })
650
+ .then(data => {
651
+ if (data.data && data.data.SCOPE) {
652
+ this.searchParams = JSON.parse(data.data.SCOPE).scopeParams
653
+ } else {
654
+ this.searchParams = []
655
+ }
656
+ this.filterDrawer = true
657
+ })
658
+ // this.$http.$request({
659
+ // action: 'getScope',
660
+ // entityId: this.$metaId,
661
+ // reportId: this.reportId
662
+ // })
663
+ // .then(data => {
664
+ // if (data && data.scope) {
665
+ // this.initCondition = data.scope.data
666
+ // this.initCondition.forEach(item => {
667
+ // this.filterFields.push(item.attriName)
668
+ // })
669
+ // }
670
+ // this.filterDrawer = true
671
+ // })
672
+ // .catch(err => {
673
+ // this.$message.error(err.message || '操作失败')
674
+ // })
675
+ },
676
+ preview (operate) {
677
+ const { pageFlag: designPageFlag } = operate
678
+ const query = { ...this.$query }
679
+ query.flag = designPageFlag
680
+ this.$createPage({
681
+ ...query
682
+ })
683
+ },
684
+ async entityExport () {
685
+ let meta = null
686
+ const staObject = this.reportData.OBJECT
687
+ if (staObject) {
688
+ meta = this.metas[staObject]
689
+ if (!meta) {
690
+ meta = await this.$store.dispatch({
691
+ type: ADD_META,
692
+ metaId: staObject
693
+ })
694
+ }
695
+ } else {
696
+ meta = this.$meta
697
+ }
698
+ const url = this.$util.getRequestUrl({
699
+ action: 'getReportData',
700
+ entityId: staObject,
701
+ reportId: this.reportId,
702
+ reportType: 'toExcel'
703
+ })
704
+ window.open(encodeURI(url))
705
+ },
706
+ closeDialog () {
707
+ this.dialogSingleAddVisible = false
708
+ },
709
+ closeDialogRefresh () {
710
+ this.getTree()
711
+ this.showComponent = false
712
+ this.$nextTick(() => {
713
+ const timer = setTimeout(() => {
714
+ this.showComponent = true
715
+ clearTimeout(timer)
716
+ }, 0)
717
+ })
718
+ this.dialogSingleAddVisible = false
719
+ },
720
+ deleteItem (type) {
721
+ let check = []
722
+ if (type === 'row') {
723
+ check = this.$refs.treerow.getCheckedKeys()
724
+ } else {
725
+ check = this.$refs.treeclo.getCheckedKeys()
726
+ }
727
+ if (check.length === 0) {
728
+ this.$message.error('您未选择数据')
729
+ return
730
+ }
731
+ this.$confirm('是否删除?', {
732
+ confirmButtonText: this.$t('confirm'),
733
+ cancelButtonText: this.$t('cancel'),
734
+ type: 'warning'
735
+ }).then(() => {
736
+ // let check = []
737
+ // if (type === 'row') {
738
+ // check = this.$refs.treerow.getCheckedKeys()
739
+ // } else {
740
+ // check = this.$refs.treeclo.getCheckedKeys()
741
+ // }
742
+ const ids = check.join(',')
743
+ const params = {
744
+ action: 'removeMulti',
745
+ entityId: 'FM_REPORT_ITEM',
746
+ ids: ids
747
+ }
748
+ this.$http.$request(params)
749
+ .then(data => {
750
+ this.getTree()
751
+ this.$message.success('删除成功')
752
+ this.showComponent = false
753
+ this.$nextTick(() => {
754
+ const timer = setTimeout(() => {
755
+ this.showComponent = true
756
+ clearTimeout(timer)
757
+ }, 0)
758
+ })
759
+ })
760
+ }).catch(() => {
761
+ this.$message({
762
+ type: 'info',
763
+ message: '已取消删除'
764
+ })
765
+ })
766
+ },
767
+ singleAdd (position) {
768
+ this.position = position
769
+ this.singleDrawar = false
770
+ this.$nextTick(() => {
771
+ const timer = setTimeout(() => {
772
+ this.singleDrawar = true
773
+ clearTimeout(timer)
774
+ }, 0)
775
+ })
776
+ this.singleInitCondition = []
777
+ this.singleFilterFields = []
778
+ this.singleSearchParams = []
779
+ // this.$store.commit(SET_ROUTER_QUERY, { position: position })
780
+ this.$store.commit(SET_TAB_QUERY, { key: this.$tab.key, query: { position: position } })
781
+ const obj = { POSITION: position }
782
+ if (position === '1') {
783
+ obj['POSITION#'] = '横向'
784
+ } else if (position === '2') {
785
+ obj['POSITION#'] = '纵向'
786
+ }
787
+ this.pageTypes = 'ADD'
788
+ this.dialogSingleAddVisible = true
789
+ this.defaultValue = { CLIENT: this.$tab.CLIENT, SYSTEM: this.$tab.SYSTEM, REPORT: this.reportId, 'REPORT#': this.reportData.NAME, MODE: 'COUNT', 'MODE#': '数量', MODEL: '1', 'MODEL#': '固定', ...obj }
790
+ },
791
+ singleEdit (type) {
792
+ let choose = []
793
+ // let itemType = ''
794
+ if (type === 'row') {
795
+ choose = this.$refs.treerow.getCheckedKeys()
796
+ // itemType = '1'
797
+ } else {
798
+ choose = this.$refs.treeclo.getCheckedKeys()
799
+ // itemType = '2'
800
+ }
801
+ if (choose.length === 0) {
802
+ this.$message.error('您未选择数据')
803
+ return
804
+ }
805
+ this.singleDrawar = false
806
+ this.$nextTick(() => {
807
+ const timer = setTimeout(() => {
808
+ this.singleDrawar = true
809
+ clearTimeout(timer)
810
+ }, 0)
811
+ })
812
+ // this.$http.$request({
813
+ // action: 'getItemScope',
814
+ // entityId: 'FM_REPORT_BASE',
815
+ // reportId: this.reportId,
816
+ // itemId: choose[0],
817
+ // itemType: itemType
818
+ // })
819
+ // .then(data => {
820
+ // this.singleFilterFields = []
821
+ // this.singleInitCondition = []
822
+ // this.singleInitCondition = data.scope.data
823
+ // this.singleInitCondition.forEach(item => {
824
+ // this.singleFilterFields.push(item.attriName)
825
+ // })
826
+ // })
827
+ this.$http.get({
828
+ entityId: 'FM_REPORT_ITEM',
829
+ id: choose[0]
830
+ })
831
+ .then(data => {
832
+ this.pageTypes = 'EDIT'
833
+ this.dialogSingleAddVisible = true
834
+ this.defaultValue = {
835
+ REPORT: this.reportId,
836
+ 'REPORT#': this.reportData.NAME,
837
+ ...data.data
838
+ }
839
+ if (data.data.SCOPE) {
840
+ this.singleSearchParams = JSON.parse(data.data.SCOPE)
841
+ } else {
842
+ this.singleSearchParams = []
843
+ }
844
+ if (!this.defaultValue.CLIENT) {
845
+ this.defaultValue.CLIENT = this.$tab.CLIENT
846
+ }
847
+ if (!this.defaultValue.SYSTEM) {
848
+ this.defaultValue.SYSTEM = this.$tab.SYSTEM
849
+ }
850
+ })
851
+ },
852
+ // 父统计项
853
+ getUp (item) {
854
+ this.up = item.id
855
+ this.formInline.parentText = item.text
856
+ this.$refs.popoverUp.doClose()
857
+ },
858
+ getUpList () {
859
+ const params = {
860
+ action: 'getTree',
861
+ entityId: 'FM_REPORT_ITEM',
862
+ up_field: 'UP_ID',
863
+ multiFlag: 'false',
864
+ showLevel: '0',
865
+ reportId: this.reportId,
866
+ position: this.position,
867
+ node: 'root'
868
+ }
869
+ this.$http.getTree(params)
870
+ .then(data => {
871
+ // 只读树:markRaw 掐掉整棵树的深度响应式(省的是依赖收集,不是 Proxy 本身)。将来若要改
872
+ // 树里某个节点并期望 UI 跟着变,正确做法是重新赋一份新数组,而不是把 markRaw 摘掉。
873
+ this.upList = data && markRaw(data)
874
+ })
875
+ },
876
+ // 批量添加全部数据
877
+ chooseAllData () {
878
+ if (!this.fieldValue.code) {
879
+ this.$message.error('请选择统计字段')
880
+ } else {
881
+ const params = {
882
+ action: 'batchAddItems',
883
+ entityId: 'FM_REPORT_ITEM',
884
+ reportId: this.reportId,
885
+ staObject: this.staObject,
886
+ position: this.position,
887
+ submitType: 'ALL',
888
+ field: this.fieldValue.code,
889
+ up: this.up
890
+ }
891
+ if (this.fieldValue.dataType === 'object' || this.fieldValue.dataType === 'treeList') {
892
+ params.treeMode = this.treeMode
893
+ }
894
+ this.$http.$request(params)
895
+ .then(data => {
896
+ this.getTree()
897
+ this.$message.success('添加成功')
898
+ this.showComponent = false
899
+ this.$nextTick(() => {
900
+ const timer = setTimeout(() => {
901
+ this.showComponent = true
902
+ clearTimeout(timer)
903
+ }, 0)
904
+ })
905
+ this.dialogVolumeAddVisible = false
906
+ })
907
+ .catch(() => {
908
+ this.$message.error('添加失败')
909
+ })
910
+ }
911
+ },
912
+ // 批量添加选中数据
913
+ chooseData () {
914
+ if (this.fieldValue.dataType === 'list' && this.checkList.length === 0) {
915
+ this.$message.error('请选择统计字段统计值')
916
+ return
917
+ }
918
+ if ((this.fieldValue.dataType === 'object' || this.fieldValue.dataType === 'treeList') && this.checkObjectList.length === 0) {
919
+ this.$message.error('请选择统计字段统计值')
920
+ return
921
+ }
922
+ // if (this.fieldValue.dataType === 'list' && this.checkList.length > 0) {
923
+ // this.dialogVolumeAddVisible = false
924
+ let strData = ''
925
+ if (this.fieldValue.dataType === 'object' || this.fieldValue.dataType === 'treeList') {
926
+ strData = this.checkObjectList.map(item => item.id).join(',')
927
+ } else {
928
+ strData = this.checkList.join(',')
929
+ }
930
+ const params = {
931
+ action: 'batchAddItems',
932
+ entityId: 'FM_REPORT_ITEM',
933
+ reportId: this.reportId,
934
+ staObject: this.staObject,
935
+ position: this.position,
936
+ data: strData,
937
+ submitType: 'CHOOSE',
938
+ field: this.fieldValue.code,
939
+ up: this.up
940
+ }
941
+ if (this.fieldValue.dataType === 'object' || this.fieldValue.dataType === 'treeList') {
942
+ params.treeMode = this.treeMode
943
+ }
944
+ this.$http.$request(params)
945
+ .then(data => {
946
+ this.getTree()
947
+ this.$message.success('添加成功')
948
+ this.showComponent = false
949
+ this.$nextTick(() => {
950
+ const timer = setTimeout(() => {
951
+ this.showComponent = true
952
+ clearTimeout(timer)
953
+ }, 0)
954
+ })
955
+ this.dialogVolumeAddVisible = false
956
+ })
957
+ .catch(() => {
958
+ this.$message.error('添加失败')
959
+ })
960
+ // }
961
+ if (this.fieldValue.dataType === 'object' && this.checkObjectList.length > 0) {
962
+ this.dialogVolumeAddVisible = false
963
+ }
964
+ },
965
+ change (item) {
966
+ this.checkObjectList = [...item]
967
+ },
968
+ handleNodeClick (item) {
969
+ if (!item.leaf) return
970
+ this.fieldValue = item
971
+ this.formInline.fieldText = item.text
972
+ this.$refs.popover.doClose()
973
+ this.checkList = []
974
+ this.treeMode = ''
975
+ this.checkObjectList = []
976
+ if (item.dataType === 'list' || item.dataType === 'treeList' || item.dataType === 'radio') {
977
+ this.$http.list({
978
+ entityId: 'FM_CODE_PUB',
979
+ 'scope.CODE_DEFINE': item.codeKey,
980
+ order_field: 'ORDER_NUM',
981
+ order_mode: 'ASC'
982
+ })
983
+ .then(data => {
984
+ this.fieldValueList = data.entitys
985
+ // this.codeList = this.fieldValueList.map((item) => item.CODE)
986
+ })
987
+ } else if (item.dataType === 'object') {
988
+ this.refresh = false
989
+ this.$nextTick(() => {
990
+ const timer = setTimeout(() => {
991
+ this.refresh = true
992
+ clearTimeout(timer)
993
+ }, 0)
994
+ })
995
+ }
996
+ },
997
+ // 批量添加
998
+ volumeAdd (position) {
999
+ this.position = position
1000
+ this.checkList = []
1001
+ this.fieldValue = {}
1002
+ this.up = ''
1003
+ this.formInline = {
1004
+ fieldText: '',
1005
+ parentText: ''
1006
+ }
1007
+ this.dialogVolumeAddVisible = true
1008
+ this.getFieldList()
1009
+ if (!this.isOne) {
1010
+ this.getUpList()
1011
+ }
1012
+ },
1013
+ getFieldList () {
1014
+ this.$http.entityFieldTreeStore({
1015
+ metaId: this.staObject,
1016
+ attributeType: 'list,treeList,multibox,object,radio',
1017
+ node: -1
1018
+ })
1019
+ .then(data => {
1020
+ // eslint-disable-next-line no-eval
1021
+ this.fieldList = eval('(' + data + ')')
1022
+ this.defaultExpandKey = [this.fieldList[0].code]
1023
+ })
1024
+ },
1025
+ getTree () {
1026
+ const params = {
1027
+ action: 'getTree',
1028
+ entityId: 'FM_REPORT_ITEM',
1029
+ reportId: this.reportId,
1030
+ multiFlag: true,
1031
+ dir: 'ASC',
1032
+ mysort: 'ORDER_NUM',
1033
+ node: 'root'
1034
+ }
1035
+ // 只读树:markRaw 掐掉整棵树的深度响应式(省的是依赖收集,不是 Proxy 本身)。下面两棵树的
1036
+ // el-tree(:35 / :78)都没开 draggable,节点只被读、不被原地改。将来若要改树里某个节点并期望
1037
+ // UI 跟着变,正确做法是重新赋一份新数组,而不是把 markRaw 摘掉。
1038
+ this.$http.getTree({
1039
+ ...params,
1040
+ position: '1'
1041
+ })
1042
+ .then(data => {
1043
+ this.rowList = data && markRaw(data)
1044
+ })
1045
+ this.$http.getTree({
1046
+ ...params,
1047
+ position: '2'
1048
+ })
1049
+ .then(data => {
1050
+ this.columnList = data && markRaw(data)
1051
+ })
1052
+ },
1053
+ getReportInfo () {
1054
+ this.$http.get({
1055
+ entityId: this.$metaId,
1056
+ id: this.reportId
1057
+ })
1058
+ .then(data => {
1059
+ if (data && data.data) {
1060
+ this.reportData = data.data
1061
+ const { ID, CHART_TYPE, TYPE, OBJECT, NAME } = this.reportData
1062
+ this.staObject = OBJECT
1063
+ if (TYPE === '1') { // 统计表
1064
+ this.component = 'design-report-table'
1065
+ this.initConfig = { ...this.$query, reportId: ID, reportType: TYPE, staObject: OBJECT, reportName: NAME }
1066
+ } else if (TYPE === '2') { // 统计图
1067
+ if (CHART_TYPE === 'pie' || CHART_TYPE === 'circularPie') {
1068
+ this.initConfig = { ...this.$query, reportId: ID, reportType: TYPE, staObject: OBJECT, reportName: NAME, chartType: CHART_TYPE }
1069
+ this.component = 'design-chart-pie'
1070
+ this.isOne = true
1071
+ }
1072
+ if (CHART_TYPE === 'column' || CHART_TYPE === 'horiColumn') {
1073
+ this.initConfig = { ...this.$query, reportId: ID, reportType: TYPE, staObject: OBJECT, reportName: NAME, chartType: CHART_TYPE }
1074
+ this.component = 'design-chart-column'
1075
+ // this.isOne = true
1076
+ }
1077
+ if (CHART_TYPE === 'line') {
1078
+ this.initConfig = { ...this.$query, reportId: ID, reportType: TYPE, staObject: OBJECT, reportName: NAME, chartType: CHART_TYPE }
1079
+ this.component = 'design-chart-line'
1080
+ // this.isOne = true
1081
+ }
1082
+ }
1083
+ }
1084
+ })
1085
+ }
1086
+ },
1087
+ created () {
1088
+ // 获取报表信息
1089
+ this.staObject = this.$query.staObject
1090
+ this.getReportInfo()
1091
+ this.getTree()
1092
+ }
1093
+ }
1094
+ </script>
1095
+
1096
+ <style lang="scss" scoped>
1097
+ .container{
1098
+ background-color: var(--epx-bg-card);
1099
+ }
1100
+ .design-operates{
1101
+ width: 100%;
1102
+ box-sizing: border-box;
1103
+ height: 44px;
1104
+ border-bottom: 1px solid var(--epx-border);
1105
+ }
1106
+ .button-group{
1107
+ margin: 6px 8px;
1108
+ .el-dropdown{
1109
+ margin-right: 10px;
1110
+ }
1111
+ }
1112
+ .design-content{
1113
+ width: 100%;
1114
+ // height: calc(100% - 44px);
1115
+ height: calc(100% - 50px);
1116
+ box-sizing: border-box;
1117
+ padding: 10px;
1118
+ display: flex;
1119
+ }
1120
+ .content-left{
1121
+ width: 300px;
1122
+ height: 100%;
1123
+ }
1124
+ .left-top{
1125
+ width: 100%;
1126
+ height: 50%;
1127
+ }
1128
+ .left-bottom{
1129
+ width: 100%;
1130
+ height: 50%;
1131
+ }
1132
+ .left-title{
1133
+ color: var(--epx-text);
1134
+ // font-size: var(--epx-font-size-l);
1135
+ height: 23px;
1136
+ }
1137
+ .left-top-content{
1138
+ border: 1px solid var(--epx-border);
1139
+ height: calc(100% - 30px);
1140
+ overflow: auto;
1141
+ }
1142
+ .top-button{
1143
+ width: 100%;
1144
+ text-align: center;
1145
+ padding: 5px 0;
1146
+ border-bottom: 2px solid var(--epx-border);
1147
+ }
1148
+ .tree-content{
1149
+ height: calc(100% - 45px);
1150
+ overflow: auto;
1151
+ }
1152
+ .content-right{
1153
+ width: calc(100% - 300px);
1154
+ height: 100%;
1155
+ }
1156
+ .dialog-content{
1157
+ height: 545px;
1158
+ }
1159
+ .batch-dialog-con{
1160
+ padding: 20px 0;
1161
+ overflow: auto;
1162
+ }
1163
+ .el-divider--horizontal{
1164
+ margin: 0;
1165
+ margin-bottom: 20px;
1166
+ }
1167
+ .choose-field{
1168
+ margin-left: 40px;
1169
+
1170
+ :deep(.el-input) {
1171
+ width: 170px;
1172
+ }
1173
+
1174
+ }
1175
+ .field-value{
1176
+ height: 410px;
1177
+ // padding: 10px 19px;
1178
+ padding-left: 40px;
1179
+ overflow: auto;
1180
+ line-height: 28px;
1181
+ }
1182
+ .field-list-value{
1183
+ padding-left: 0;
1184
+
1185
+ :deep(.container) {
1186
+ box-shadow: none;
1187
+ }
1188
+
1189
+ }
1190
+ .field-treelist{
1191
+
1192
+ :deep(.container) {
1193
+ width: 100%;
1194
+ }
1195
+
1196
+ }
1197
+ .dialog-button-group{
1198
+ height: 50px;
1199
+ line-height: 63px;
1200
+ text-align: center;
1201
+ border-top: 1px solid var(--epx-border);
1202
+ }
1203
+ .poper-tree{
1204
+ height: 300px;
1205
+ overflow: auto;
1206
+ width: 146px;
1207
+ }
1208
+ .filter-button{
1209
+ text-align: center;
1210
+ margin: 10px 0;
1211
+ }
1212
+ .opera-list {
1213
+ li {
1214
+ line-height: 36px;
1215
+ cursor: pointer;
1216
+ padding: 0 20px;
1217
+ color: var(--epx-text);
1218
+ &:hover {
1219
+ @include bg_color_primary(.2);
1220
+ }
1221
+ }
1222
+ }
1223
+
1224
+ :deep(.filter-condition__list) {
1225
+ max-height: 76vh;
1226
+ overflow: auto;
1227
+ }
1228
+
1229
+ </style>