@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.
- package/API.md +111 -0
- package/README.md +43 -2
- package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
- package/dist/_virtual/preload-helper.js +88 -0
- package/dist/assets/0-C_2vdOtO.png +0 -0
- package/dist/assets/1-CsiSr5nw.png +0 -0
- package/dist/assets/2-C9hZOTyC.png +0 -0
- package/dist/assets/ai-CcPHuAhD.jpg +0 -0
- package/dist/assets/app-DBNIokDP.png +0 -0
- package/dist/assets/approval-DGcBv-re.png +0 -0
- package/dist/assets/aurorablue-N56tat3G.png +0 -0
- package/dist/assets/basepage-BF4dvOT8.png +0 -0
- package/dist/assets/classicblue-BdgPGKXa.png +0 -0
- package/dist/assets/create_market_system-BH__UVbt.png +0 -0
- package/dist/assets/create_system-irg--ePh.png +0 -0
- package/dist/assets/custom-C-ujlHz1.png +0 -0
- package/dist/assets/data-BDvuB-m7.png +0 -0
- package/dist/assets/deepblue-B78G_DNb.png +0 -0
- package/dist/assets/default-icon-2193FMjv.png +0 -0
- package/dist/assets/ex_link-4fYPd9nh.png +0 -0
- package/dist/assets/forestgreen-B2YR4xgz.png +0 -0
- package/dist/assets/hall_banner-Dc5YRV5A.webp +0 -0
- package/dist/assets/import-tfKWbWVS.png +0 -0
- package/dist/assets/link-BeD2ZGO9.png +0 -0
- package/dist/assets/m_hall_banner-Cf1Qwhh3.webp +0 -0
- package/dist/assets/orange-wT0uHIyo.png +0 -0
- package/dist/assets/palevioletred-DZXBQKru.png +0 -0
- package/dist/assets/photo-uscRzRXF.png +0 -0
- package/dist/assets/purple-CXrRrENi.png +0 -0
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/assets/skyblue-DPPlKPXU.png +0 -0
- package/dist/assets/snapshot-history-BsVY9cVj.png +0 -0
- package/dist/assets/snapshot-manual-DBRfFHYI.png +0 -0
- package/dist/assets/snapshot-realtime-DjHnJI6C.png +0 -0
- package/dist/assets/sync_loading-D7LoNPFP.png +0 -0
- package/dist/assets/tiffanyblue-DkyBoUQf.png +0 -0
- package/dist/assets/topbg-C_5lVpoA.webp +0 -0
- package/dist/assets/zxmb-CkPnmDaV.png +0 -0
- package/dist/src/assets/customTranslate/customTranslate.js +11 -0
- package/dist/src/assets/customTranslate/translations.js +219 -0
- package/dist/src/assets/images/addmenu/basepage.png.js +4 -0
- package/dist/src/assets/images/addmenu/data.png.js +4 -0
- package/dist/src/assets/images/addmenu/link.png.js +4 -0
- package/dist/src/assets/images/addmenu/list.png.js +4 -0
- package/dist/src/assets/images/addmenu/menu.png.js +4 -0
- package/dist/src/assets/images/addmenu/zxmb.png.js +4 -0
- package/dist/src/assets/images/ai.jpg.js +4 -0
- package/dist/src/assets/images/app.png.js +4 -0
- package/dist/src/assets/images/approval.png.js +4 -0
- package/dist/src/assets/images/create_market_system.png.js +4 -0
- package/dist/src/assets/images/create_system.png.js +4 -0
- package/dist/src/assets/images/custom.png.js +4 -0
- package/dist/src/assets/images/default-icon.png.js +4 -0
- package/dist/src/assets/images/ex_link.png.js +4 -0
- package/dist/src/assets/images/hall_banner.webp.js +4 -0
- package/dist/src/assets/images/hr.png.js +4 -0
- package/dist/src/assets/images/import.png.js +4 -0
- package/dist/src/assets/images/m_hall_banner.webp.js +4 -0
- package/dist/src/assets/images/nav/0.png.js +4 -0
- package/dist/src/assets/images/nav/1.png.js +4 -0
- package/dist/src/assets/images/nav/2.png.js +4 -0
- package/dist/src/assets/images/nav/3.svg.js +4 -0
- package/dist/src/assets/images/photo.png.js +4 -0
- package/dist/src/assets/images/snapshot-history.png.js +4 -0
- package/dist/src/assets/images/snapshot-manual.png.js +4 -0
- package/dist/src/assets/images/snapshot-realtime.png.js +4 -0
- package/dist/src/assets/images/sync_loading.png.js +4 -0
- package/dist/src/assets/images/theme/aurorablue.png.js +4 -0
- package/dist/src/assets/images/theme/classicblue.png.js +4 -0
- package/dist/src/assets/images/theme/deepblue.png.js +4 -0
- package/dist/src/assets/images/theme/forestgreen.png.js +4 -0
- package/dist/src/assets/images/theme/orange.png.js +4 -0
- package/dist/src/assets/images/theme/palevioletred.png.js +4 -0
- package/dist/src/assets/images/theme/purple.png.js +4 -0
- package/dist/src/assets/images/theme/skyblue.png.js +4 -0
- package/dist/src/assets/images/theme/tiffanyblue.png.js +4 -0
- package/dist/src/base/AiPromptDesigner.js +685 -0
- package/dist/src/base/AiPromptView.js +363 -0
- package/dist/src/base/AiSkillEditor.js +1029 -0
- package/dist/src/base/AiSkillEditor.vue.js +1176 -0
- package/dist/src/base/AppConfigFormItem.js +8 -0
- package/dist/src/base/AppConfigFormItem.vue.js +407 -0
- package/dist/src/base/AppMarket.js +212 -0
- package/dist/src/base/AppMarketList.js +8 -0
- package/dist/src/base/AppMarketList.vue.js +214 -0
- package/dist/src/base/AppMarketSystemDetail.js +293 -0
- package/dist/src/base/AttributeSubAdd.js +26 -0
- package/dist/src/base/ChooseApplication.js +132 -0
- package/dist/src/base/ClientAppItem.js +190 -0
- package/dist/src/base/ClientApplication.js +360 -0
- package/dist/src/base/ClientApplicationList.js +126 -0
- package/dist/src/base/ClientModule.js +119 -0
- package/dist/src/base/ClientModuleIndex.js +295 -0
- package/dist/src/base/ClientSystemDetail.js +203 -0
- package/dist/src/base/ClientSystemList.js +8 -0
- package/dist/src/base/ClientSystemList.vue.js +450 -0
- package/dist/src/base/CommonFieldList.js +11 -0
- package/dist/src/base/CommonFieldList.vue.js +530 -0
- package/dist/src/base/CommonSearchList.js +5 -0
- package/dist/src/base/CommonSearchList.vue.js +253 -0
- package/dist/src/base/CompayDetail.js +116 -0
- package/dist/src/base/ComponentGlobalSet.js +8 -0
- package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
- package/dist/src/base/ComponentParamsTree.js +335 -0
- package/dist/src/base/ConfigModuleIndex.js +135 -0
- package/dist/src/base/CurrentClientApplication.js +54 -0
- package/dist/src/base/CurrentVersionInfo.js +98 -0
- package/dist/src/base/EntityMatchCompare.js +533 -0
- package/dist/src/base/FieldRelationFormItem.js +8 -0
- package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
- package/dist/src/base/HelpDocSet.js +363 -0
- package/dist/src/base/HelpDocSet.vue.js +685 -0
- package/dist/src/base/IndexFormItem.js +5 -0
- package/dist/src/base/IndexFormItem.vue.js +230 -0
- package/dist/src/base/JobFormItem.js +8 -0
- package/dist/src/base/JobFormItem.vue.js +131 -0
- package/dist/src/base/ManageAppNav.js +9 -0
- package/dist/src/base/ManageAppNav.vue.js +1178 -0
- package/dist/src/base/ManageMenu.js +916 -0
- package/dist/src/base/ManageMenuItem.js +551 -0
- package/dist/src/base/NoInstallSystemList.js +5 -0
- package/dist/src/base/NoInstallSystemList.vue.js +159 -0
- package/dist/src/base/PageList.js +48 -0
- package/dist/src/base/PasswordFormItem.js +8 -0
- package/dist/src/base/PasswordFormItem.vue.js +125 -0
- package/dist/src/base/ProcessFormItem.js +148 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +5 -0
- package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
- package/dist/src/base/RequestLog.js +170 -0
- package/dist/src/base/RightRiskList.js +8 -0
- package/dist/src/base/RightRiskList.vue.js +224 -0
- package/dist/src/base/RoleAccredit.js +1087 -0
- package/dist/src/base/RoleRightList.js +8 -0
- package/dist/src/base/RoleRightList.vue.js +118 -0
- package/dist/src/base/RoleUserManage.js +8 -0
- package/dist/src/base/RoleUserManage.vue.js +146 -0
- package/dist/src/base/ServiceAccredit.js +1075 -0
- package/dist/src/base/ServiceMenu.js +399 -0
- package/dist/src/base/ServiceMenuFormItem.js +20 -0
- package/dist/src/base/ServiceOperate.js +1003 -0
- package/dist/src/base/SystemHelpTreeFind.js +44 -0
- package/dist/src/base/aiPromptMode.js +145 -0
- package/dist/src/base/data-check/DataChckDetail.js +243 -0
- package/dist/src/base/data-check/DataCheck.js +308 -0
- package/dist/src/base/data-check/DataCheckList.js +364 -0
- package/dist/src/base/data-check/DataCheckSubList.js +6 -0
- package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +5 -0
- package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +5 -0
- package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +208 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +692 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +786 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +143 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +271 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +779 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +658 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +62 -0
- package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1082 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +586 -0
- package/dist/src/base/entity-view-config/constants.js +146 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +5 -0
- package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
- package/dist/src/components/AddPageFormItem.js +5 -0
- package/dist/src/components/AddPageFormItem.vue.js +92 -0
- package/dist/src/components/AddUsedInterface.js +214 -0
- package/dist/src/components/AiDocFormItem.js +6 -0
- package/dist/src/components/AiDocFormItem.vue.js +271 -0
- package/dist/src/components/AiList.js +8 -0
- package/dist/src/components/AiList.vue.js +93 -0
- package/dist/src/components/AiPermissionAssistant.js +284 -0
- package/dist/src/components/AppList.js +414 -0
- package/dist/src/components/Apply/AIApplyIndex.js +179 -0
- package/dist/src/components/Apply/ApplyIndex.js +282 -0
- package/dist/src/components/AttributeList.js +870 -0
- package/dist/src/components/Banner.js +26 -0
- package/dist/src/components/BatchAddFieldDialog.js +425 -0
- package/dist/src/components/CardO.js +47 -0
- package/dist/src/components/CheckForm.js +34 -0
- package/dist/src/components/ClientAdminFormItem.js +47 -0
- package/dist/src/components/ClientAdminList.js +9 -0
- package/dist/src/components/ClientAdminList.vue.js +221 -0
- package/dist/src/components/ClientFormItem.js +48 -0
- package/dist/src/components/ClientList.js +6 -0
- package/dist/src/components/ClientList.vue.js +216 -0
- package/dist/src/components/CodeDetail.js +454 -0
- package/dist/src/components/CodeManage.js +1030 -0
- package/dist/src/components/ComponentFind.js +210 -0
- package/dist/src/components/ComponentList.js +499 -0
- package/dist/src/components/ConfigParamFormItem.js +8 -0
- package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
- package/dist/src/components/CreatePage.js +298 -0
- package/dist/src/components/DashboardCreate.js +106 -0
- package/dist/src/components/DataLog.js +169 -0
- package/dist/src/components/DataLogTimeline.js +111 -0
- package/dist/src/components/DataSnapshot.js +207 -0
- package/dist/src/components/DataSnapshotList.js +75 -0
- package/dist/src/components/DataSyncInit.js +173 -0
- package/dist/src/components/DblogList.js +6 -0
- package/dist/src/components/DblogList.vue.js +143 -0
- package/dist/src/components/DeptFind.js +8 -0
- package/dist/src/components/DeptFind.vue.js +109 -0
- package/dist/src/components/DynamicUserList.js +5 -0
- package/dist/src/components/DynamicUserList.vue.js +89 -0
- package/dist/src/components/EntityCheckboxFind.js +5 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
- package/dist/src/components/EntityRelationAdd.js +388 -0
- package/dist/src/components/EntityRelationAddFormItem.js +5 -0
- package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
- package/dist/src/components/EntityRightFormItem.js +10 -0
- package/dist/src/components/EntityRightFormItem.vue.js +401 -0
- package/dist/src/components/EntityRightSubList.js +640 -0
- package/dist/src/components/EntityTagSubList.js +5 -0
- package/dist/src/components/EntityTagSubList.vue.js +103 -0
- package/dist/src/components/EntityTreeManage.js +865 -0
- package/dist/src/components/ExportSystemConfig.js +167 -0
- package/dist/src/components/FieldTreeFind.js +41 -0
- package/dist/src/components/FormulaEditor.js +8 -0
- package/dist/src/components/FormulaEditor.vue.js +1235 -0
- package/dist/src/components/GenTestData.js +638 -0
- package/dist/src/components/HallNav.js +6 -0
- package/dist/src/components/HallNav.vue.js +156 -0
- package/dist/src/components/HeaderNav.js +369 -0
- package/dist/src/components/IconCard.js +98 -0
- package/dist/src/components/IconFontLibrary.js +5 -0
- package/dist/src/components/IconFontLibrary.vue.js +67 -0
- package/dist/src/components/IconFontList.js +5 -0
- package/dist/src/components/IconFontList.vue.js +79 -0
- package/dist/src/components/IdentifyList.js +33 -0
- package/dist/src/components/ImportSystemConfig.js +303 -0
- package/dist/src/components/InterfaceSubList.js +320 -0
- package/dist/src/components/JsPanel.js +101 -0
- package/dist/src/components/LanguageImportPage.js +590 -0
- package/dist/src/components/LanguageSetting.js +545 -0
- package/dist/src/components/List/LinkItem.js +113 -0
- package/dist/src/components/List/List.js +18 -0
- package/dist/src/components/List/ListItem.js +31 -0
- package/dist/src/components/MenuTreeFind.js +8 -0
- package/dist/src/components/MenuTreeFind.vue.js +81 -0
- package/dist/src/components/MessageList.js +8 -0
- package/dist/src/components/MessageList.vue.js +101 -0
- package/dist/src/components/MessageRuleFormItem.js +60 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +224 -0
- package/dist/src/components/MessageTemplate.js +395 -0
- package/dist/src/components/MessageTemplate.vue.js +693 -0
- package/dist/src/components/MetaList.js +5 -0
- package/dist/src/components/MetaList.vue.js +100 -0
- package/dist/src/components/Nav.js +496 -0
- package/dist/src/components/NavFormCatalogItem.js +7 -0
- package/dist/src/components/NumList.js +60 -0
- package/dist/src/components/OperateLog.js +133 -0
- package/dist/src/components/PageCatalog.js +8 -0
- package/dist/src/components/PageCatalog.vue.js +292 -0
- package/dist/src/components/PageChart.js +213 -0
- package/dist/src/components/PageSwipes.js +132 -0
- package/dist/src/components/PersonFormItem.js +5 -0
- package/dist/src/components/PersonFormItem.vue.js +96 -0
- package/dist/src/components/Popup.js +239 -0
- package/dist/src/components/PrintFormList.js +9 -0
- package/dist/src/components/PrintFormList.vue.js +203 -0
- package/dist/src/components/PublishEntity.js +114 -0
- package/dist/src/components/RelyFieldTreeFind.js +52 -0
- package/dist/src/components/ReportFormList.js +236 -0
- package/dist/src/components/ReportList.js +9 -0
- package/dist/src/components/ReportList.vue.js +248 -0
- package/dist/src/components/RightSubList.js +8 -0
- package/dist/src/components/RightSubList.vue.js +150 -0
- package/dist/src/components/RoleAddUser.js +55 -0
- package/dist/src/components/RoleApplicationCard.js +138 -0
- package/dist/src/components/RoleApplicationList.js +937 -0
- package/dist/src/components/RoleApplicationSet.js +1001 -0
- package/dist/src/components/Search.js +254 -0
- package/dist/src/components/ServiceFormItem.js +33 -0
- package/dist/src/components/SnapshotDataList.js +73 -0
- package/dist/src/components/SystemAdminList.js +8 -0
- package/dist/src/components/SystemAdminList.vue.js +198 -0
- package/dist/src/components/SystemFormItem.js +8 -0
- package/dist/src/components/SystemFormItem.vue.js +170 -0
- package/dist/src/components/SystemNav.js +30 -0
- package/dist/src/components/TaskNumCard.js +23 -0
- package/dist/src/components/TimerRuleFormItem.js +333 -0
- package/dist/src/components/TodoList.js +8 -0
- package/dist/src/components/TodoList.vue.js +327 -0
- package/dist/src/components/UpdateSystemConfig.js +241 -0
- package/dist/src/components/UserCard.js +83 -0
- package/dist/src/components/UserFind.js +6 -0
- package/dist/src/components/UserFind.vue.js +592 -0
- package/dist/src/components/UserFormItem.js +9 -0
- package/dist/src/components/UserFormItem.vue.js +609 -0
- package/dist/src/components/UserList.js +5 -0
- package/dist/src/components/UserList.vue.js +23 -0
- package/dist/src/components/UserManage.js +802 -0
- package/dist/src/components/UserRoleList.js +579 -0
- package/dist/src/components/ValidateRuleFormItem.js +109 -0
- package/dist/src/components/ViewFieldDefine.js +747 -0
- package/dist/src/components/WikiSpaceList.js +5 -0
- package/dist/src/components/WikiSpaceList.vue.js +330 -0
- package/dist/src/components/WikiWorkbench.js +647 -0
- package/dist/src/components/authorization/AddApiPermiss.js +231 -0
- package/dist/src/components/authorization/AddAuthorization.js +161 -0
- package/dist/src/components/authorization/AddEntityFind.js +62 -0
- package/dist/src/components/authorization/AddNoApi.js +191 -0
- package/dist/src/components/authorization/AddRoleScope.js +337 -0
- package/dist/src/components/authorization/AiRolePlan.js +672 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +397 -0
- package/dist/src/components/authorization/ApiSystemList.js +242 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +622 -0
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +850 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +284 -0
- package/dist/src/components/authorization/OtherShareApiList.js +247 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +114 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1286 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +113 -0
- package/dist/src/components/authorization/RoleLevel.js +5 -0
- package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
- package/dist/src/components/authorization/RoleLevelScope.js +270 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +187 -0
- package/dist/src/components/card/CardList.js +65 -0
- package/dist/src/components/card/CardListItem.js +97 -0
- package/dist/src/components/card/Title.js +42 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +54 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +5 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +5 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +88 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +12560 -0
- package/dist/src/components/custom-bpmn/components/AiModel.js +353 -0
- package/dist/src/components/custom-bpmn/components/Api.js +376 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +209 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +653 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +442 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +63 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +358 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +259 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +76 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +238 -0
- package/dist/src/components/custom-bpmn/components/Login.js +591 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +221 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +160 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +408 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +789 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +395 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +889 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +161 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +796 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1040 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +861 -0
- package/dist/src/components/custom-bpmn/img/chaxun.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/fasong.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/gengxin.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/jiagong.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/jiekou.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/shanchu.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/tongbu.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xinzeng.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xunhuanend.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xunhuanstart.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/ywgz.png.js +4 -0
- package/dist/src/components/custom-bpmn/index.js +5 -0
- package/dist/src/components/custom-bpmn/palette.js +13 -0
- package/dist/src/components/custom-bpmn/util.js +7 -0
- package/dist/src/components/dashboard-create.js +20 -0
- package/dist/src/components/entity-relation-diagram/Er.js +340 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +36 -0
- package/dist/src/components/expand/AddForm.js +86 -0
- package/dist/src/components/expand/AddFormItem.js +149 -0
- package/dist/src/components/filter/Filter.js +720 -0
- package/dist/src/components/filter/FilterItem.js +493 -0
- package/dist/src/components/hall/AppCollect.js +121 -0
- package/dist/src/components/hall/AppList.js +480 -0
- package/dist/src/components/hall/AppVisitRecord.js +113 -0
- package/dist/src/components/hall/Banner.js +33 -0
- package/dist/src/components/hall/ServiceCard.js +124 -0
- package/dist/src/components/hall/UserCard.js +81 -0
- package/dist/src/components/permiss/AddApi.js +143 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +180 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +131 -0
- package/dist/src/components/permiss/AllocateRole.js +131 -0
- package/dist/src/components/permiss/ApiSubList.js +151 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +591 -0
- package/dist/src/components/permiss/FieldScope.js +200 -0
- package/dist/src/components/permiss/PermissManage.js +88 -0
- package/dist/src/components/permiss/RoleAppList.js +36 -0
- package/dist/src/components/permiss/RoleMenu.js +518 -0
- package/dist/src/components/permiss/RoleSubList.js +5 -0
- package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
- package/dist/src/components/permiss/jurisdiction.js +359 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +234 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +36 -0
- package/dist/src/components/process-healthcheck/index.js +8 -0
- package/dist/src/components/report/Config.js +1708 -0
- package/dist/src/components/report/Design.js +4632 -0
- package/dist/src/components/report/StatList.js +217 -0
- package/dist/src/components/right/EntityOtherSystemList.js +82 -0
- package/dist/src/components/right/SystemInterfaceList.js +418 -0
- package/dist/src/components/right/SystemList.js +1017 -0
- package/dist/src/components/upLoad.js +71 -0
- package/dist/src/components/viewport/LookViewList.js +22 -0
- package/dist/src/components/viewport/ViewAddForm.js +142 -0
- package/dist/src/components/viewport/ViewDefineList.js +50 -0
- package/dist/src/components/viewport/ViewFiedList.js +723 -0
- package/dist/src/components/viewport/ViewScope.js +116 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +301 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +308 -0
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
- package/dist/src/components/wiki-workbench/WikiJobs.js +195 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +229 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +59 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
- package/dist/src/components/wiki-workbench/codes.js +27 -0
- package/dist/src/components/wiki-workbench/index.js +13 -0
- package/dist/src/index.js +42 -0
- package/dist/src/popup.js +68 -0
- package/dist/src/public-components.js +20 -0
- package/dist/src/remote.entry.js +31 -0
- package/dist/src/route-components.js +12 -0
- package/dist/src/system.component.index.js +5 -0
- package/dist/src/system.component.js +342 -0
- package/dist/src/system.component.lazy.js +50 -0
- package/dist/src/views/Add.js +8 -0
- package/dist/src/views/Add.vue.js +734 -0
- package/dist/src/views/AiToolManager.js +2530 -0
- package/dist/src/views/App.js +48 -0
- package/dist/src/views/AppRoleSelect.js +233 -0
- package/dist/src/views/BatchEdit.js +256 -0
- package/dist/src/views/Bpmn.js +319 -0
- package/dist/src/views/Bpmn.vue.js +1196 -0
- package/dist/src/views/EntityCheckPage.js +49 -0
- package/dist/src/views/EntityDetailPage.js +5 -0
- package/dist/src/views/EntityDetailPage.vue.js +73 -0
- package/dist/src/views/EntityEditPage.js +10 -0
- package/dist/src/views/EntitySubListPage.js +41 -0
- package/dist/src/views/EntityTreePage.js +32 -0
- package/dist/src/views/Error.js +210 -0
- package/dist/src/views/ExcelDesign.js +2730 -0
- package/dist/src/views/ExcelDesign.vue.js +2165 -0
- package/dist/src/views/ExcelPreviewPage.js +166 -0
- package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
- package/dist/src/views/ExportFilePage.js +21 -0
- package/dist/src/views/ExportPage.js +21 -0
- package/dist/src/views/FormDesign.js +1033 -0
- package/dist/src/views/FormDesign.vue.js +1564 -0
- package/dist/src/views/I18nWorkbench.js +521 -0
- package/dist/src/views/ImportFilePage.js +21 -0
- package/dist/src/views/ImportPage.js +21 -0
- package/dist/src/views/MEntityListPage.js +66 -0
- package/dist/src/views/MEntitySubListPage.js +41 -0
- package/dist/src/views/MinePage.js +16 -0
- package/dist/src/views/Module.js +173 -0
- package/dist/src/views/PageAttributeTreePage.js +421 -0
- package/dist/src/views/PageConfig.js +177 -0
- package/dist/src/views/Permission.js +742 -0
- package/dist/src/views/PersonalInfo.js +792 -0
- package/dist/src/views/QyWechat.js +62 -0
- package/dist/src/views/ReportFormListPage.js +77 -0
- package/dist/src/views/TaskPage.js +180 -0
- package/dist/src/views/WikiBinding.js +614 -0
- package/dist/src/views/client/AddForm.js +55 -0
- package/dist/src/views/client/AppMarket.js +290 -0
- package/dist/src/views/client/ClientIndex.js +209 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +5 -0
- package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
- package/dist/src/views/client/CopySystem.js +136 -0
- package/dist/src/views/client/CreateAppFormItem.js +8 -0
- package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
- package/dist/src/views/client/CreateMethod.js +76 -0
- package/dist/src/views/client/InstallSystem.js +309 -0
- package/dist/src/views/client/ManageList.js +5 -0
- package/dist/src/views/client/ManageList.vue.js +211 -0
- package/dist/src/views/client/OpenClientManage.js +51 -0
- package/dist/src/views/client/OpenSystemManage.js +56 -0
- package/dist/src/views/client/PageTabsCyclic.js +92 -0
- package/dist/src/views/client/SelfBuiltSystem.js +444 -0
- package/dist/src/views/client/StandardProduct.js +233 -0
- package/dist/src/views/client/SystemAppAccredit.js +561 -0
- package/dist/src/views/client/SystemAppManager.js +293 -0
- package/dist/src/views/client/SystemAppManager.vue.js +559 -0
- package/dist/src/views/client/SystemManager.js +452 -0
- package/dist/src/views/client/SystemManager.vue.js +522 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +230 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +451 -0
- package/dist/src/views/i18n/I18nTranslationList.js +8 -0
- package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +11 -0
- package/dist/src/views/layout/CardList.js +96 -0
- package/dist/src/views/layout/Grid.js +138 -0
- package/dist/src/views/match/AddTargetField.js +8 -0
- package/dist/src/views/match/AddTargetField.vue.js +127 -0
- package/dist/src/views/match/MatchAddFormItem.js +5 -0
- package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
- package/dist/src/views/match/conversion.js +805 -0
- package/dist/src/views/match/customize.js +391 -0
- package/dist/src/views/match/fieldMatch.js +8 -0
- package/dist/src/views/match/fieldMatch.vue.js +610 -0
- package/dist/src/views/report/AddFormItem.js +60 -0
- package/dist/src/views/report/DesignReport.js +1392 -0
- package/dist/src/views/report/ReportTreeFind.js +8 -0
- package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
- package/dist/style.css +33364 -0
- package/package.json +133 -3
- package/src/base/AiPromptDesigner.vue +653 -0
- package/src/base/AiPromptView.vue +467 -0
- package/src/base/AiSkillEditor.vue +2125 -0
- package/src/base/AppConfigFormItem.vue +404 -0
- package/src/base/AppMarket.vue +264 -0
- package/src/base/AppMarketList.vue +233 -0
- package/src/base/AppMarketSystemDetail.vue +380 -0
- package/src/base/AttributeSubAdd.vue +29 -0
- package/src/base/ChooseApplication.vue +176 -0
- package/src/base/ClientAppItem.vue +247 -0
- package/src/base/ClientApplication.vue +447 -0
- package/src/base/ClientApplicationList.vue +180 -0
- package/src/base/ClientModule.vue +69 -0
- package/src/base/ClientModuleIndex.vue +437 -0
- package/src/base/ClientSystemDetail.vue +319 -0
- package/src/base/ClientSystemList.vue +435 -0
- package/src/base/CommonFieldList.vue +1397 -0
- package/src/base/CommonSearchList.vue +191 -0
- package/src/base/CompayDetail.vue +199 -0
- package/src/base/ComponentGlobalSet.vue +842 -0
- package/src/base/ComponentParamsTree.vue +310 -0
- package/src/base/ConfigModuleIndex.vue +121 -0
- package/src/base/CurrentClientApplication.vue +37 -0
- package/src/base/CurrentVersionInfo.vue +107 -0
- package/src/base/EntityMatchCompare.vue +442 -0
- package/src/base/FieldRelationFormItem.vue +260 -0
- package/src/base/HelpDocSet.vue +1217 -0
- package/src/base/IndexFormItem.vue +197 -0
- package/src/base/JobFormItem.vue +101 -0
- package/src/base/ManageAppNav.vue +1190 -0
- package/src/base/ManageMenu.vue +935 -0
- package/src/base/ManageMenuItem.vue +399 -0
- package/src/base/NoInstallSystemList.vue +114 -0
- package/src/base/PageList.vue +47 -0
- package/src/base/PasswordFormItem.vue +94 -0
- package/src/base/ProcessFormItem.vue +129 -0
- package/src/base/PublishSystemApplyFormItem.vue +87 -0
- package/src/base/RequestLog.vue +198 -0
- package/src/base/RightRiskList.vue +212 -0
- package/src/base/RoleAccredit.vue +961 -0
- package/src/base/RoleRightList.vue +159 -0
- package/src/base/RoleUserManage.vue +186 -0
- package/src/base/ServiceAccredit.vue +956 -0
- package/src/base/ServiceMenu.vue +420 -0
- package/src/base/ServiceMenuFormItem.vue +22 -0
- package/src/base/ServiceOperate.vue +929 -0
- package/src/base/SystemHelpTreeFind.vue +50 -0
- package/src/base/aiPromptMode.js +153 -0
- package/src/base/data-check/DataChckDetail.vue +281 -0
- package/src/base/data-check/DataCheck.vue +261 -0
- package/src/base/data-check/DataCheckList.vue +327 -0
- package/src/base/data-check/DataCheckSubList.vue +160 -0
- package/src/base/entity-view/EntityViewFormItem.vue +170 -0
- package/src/base/entity-view/EntityViewSubList.vue +149 -0
- package/src/base/entity-view-config/BasicInfoDialog.vue +156 -0
- package/src/base/entity-view-config/FieldPanel.vue +742 -0
- package/src/base/entity-view-config/FieldPropForm.vue +687 -0
- package/src/base/entity-view-config/FormulaDialog.vue +153 -0
- package/src/base/entity-view-config/ObjectFieldDialog.vue +367 -0
- package/src/base/entity-view-config/RelationPanel.vue +951 -0
- package/src/base/entity-view-config/SourceManagerDialog.vue +428 -0
- package/src/base/entity-view-config/SqlPanel.vue +138 -0
- package/src/base/entity-view-config/UnionPanel.vue +1037 -0
- package/src/base/entity-view-config/ViewConfig.vue +661 -0
- package/src/base/entity-view-config/constants.js +139 -0
- package/src/base/user-type/UserTypeFormItem.vue +134 -0
- package/src/components/AddPageFormItem.vue +82 -0
- package/src/components/AddUsedInterface.vue +154 -0
- package/src/components/AiDocFormItem.vue +293 -0
- package/src/components/AiList.vue +132 -0
- package/src/components/AiPermissionAssistant.vue +304 -0
- package/src/components/AppList.vue +330 -0
- package/src/components/Apply/AIApplyIndex.vue +458 -0
- package/src/components/Apply/ApplyIndex.vue +358 -0
- package/src/components/AttributeList.vue +667 -0
- package/src/components/Banner.vue +24 -0
- package/src/components/BatchAddFieldDialog.vue +590 -0
- package/src/components/CardO.vue +112 -0
- package/src/components/CheckForm.vue +32 -0
- package/src/components/ClientAdminFormItem.vue +49 -0
- package/src/components/ClientAdminList.vue +434 -0
- package/src/components/ClientFormItem.vue +49 -0
- package/src/components/ClientList.vue +155 -0
- package/src/components/CodeDetail.vue +465 -0
- package/src/components/CodeManage.vue +1004 -0
- package/src/components/ComponentFind.vue +222 -0
- package/src/components/ComponentList.vue +526 -0
- package/src/components/ConfigParamFormItem.vue +383 -0
- package/src/components/CreatePage.vue +348 -0
- package/src/components/DashboardCreate.vue +73 -0
- package/src/components/DataLog.vue +181 -0
- package/src/components/DataLogTimeline.vue +202 -0
- package/src/components/DataSnapshot.vue +264 -0
- package/src/components/DataSnapshotList.vue +79 -0
- package/src/components/DataSyncInit.vue +97 -0
- package/src/components/DblogList.vue +163 -0
- package/src/components/DeptFind.vue +203 -0
- package/src/components/DynamicUserList.vue +72 -0
- package/src/components/EntityCheckboxFind.vue +90 -0
- package/src/components/EntityRelationAdd.vue +201 -0
- package/src/components/EntityRelationAddFormItem.vue +235 -0
- package/src/components/EntityRightFormItem.vue +618 -0
- package/src/components/EntityRightSubList.vue +740 -0
- package/src/components/EntityTagSubList.vue +72 -0
- package/src/components/EntityTreeManage.vue +988 -0
- package/src/components/ExportSystemConfig.vue +131 -0
- package/src/components/FieldTreeFind.vue +48 -0
- package/src/components/FormulaEditor.vue +1220 -0
- package/src/components/GenTestData.vue +787 -0
- package/src/components/HallNav.vue +539 -0
- package/src/components/HeaderNav.vue +447 -0
- package/src/components/IconCard.vue +158 -0
- package/src/components/IconFontLibrary.vue +61 -0
- package/src/components/IconFontList.vue +75 -0
- package/src/components/IdentifyList.vue +33 -0
- package/src/components/ImportSystemConfig.vue +234 -0
- package/src/components/InterfaceSubList.vue +295 -0
- package/src/components/JsPanel.vue +111 -0
- package/src/components/LanguageImportPage.vue +601 -0
- package/src/components/LanguageSetting.vue +451 -0
- package/src/components/List/LinkItem.vue +98 -0
- package/src/components/List/List.vue +17 -0
- package/src/components/List/ListItem.vue +52 -0
- package/src/components/MenuTreeFind.vue +128 -0
- package/src/components/MessageList.vue +198 -0
- package/src/components/MessageRuleFormItem.vue +60 -0
- package/src/components/MessageRuleReceiverFormItem.vue +179 -0
- package/src/components/MessageTemplate.vue +949 -0
- package/src/components/MetaList.vue +108 -0
- package/src/components/Nav.vue +604 -0
- package/src/components/NavFormCatalogItem.vue +9 -0
- package/src/components/NumList.vue +108 -0
- package/src/components/OperateLog.vue +168 -0
- package/src/components/PageCatalog.vue +458 -0
- package/src/components/PageChart.vue +339 -0
- package/src/components/PageSwipes.vue +234 -0
- package/src/components/PersonFormItem.vue +94 -0
- package/src/components/Popup.vue +393 -0
- package/src/components/PrintFormList.vue +529 -0
- package/src/components/PublishEntity.vue +87 -0
- package/src/components/RelyFieldTreeFind.vue +57 -0
- package/src/components/ReportFormList.vue +247 -0
- package/src/components/ReportList.vue +647 -0
- package/src/components/RightSubList.vue +256 -0
- package/src/components/RoleAddUser.vue +56 -0
- package/src/components/RoleApplicationCard.vue +299 -0
- package/src/components/RoleApplicationList.vue +766 -0
- package/src/components/RoleApplicationSet.vue +845 -0
- package/src/components/Search.vue +272 -0
- package/src/components/ServiceFormItem.vue +35 -0
- package/src/components/SnapshotDataList.vue +78 -0
- package/src/components/SystemAdminList.vue +497 -0
- package/src/components/SystemFormItem.vue +125 -0
- package/src/components/SystemNav.vue +29 -0
- package/src/components/TaskNumCard.vue +26 -0
- package/src/components/TimerRuleFormItem.vue +227 -0
- package/src/components/TodoList.vue +424 -0
- package/src/components/UpdateSystemConfig.vue +200 -0
- package/src/components/UserCard.vue +110 -0
- package/src/components/UserFind.vue +702 -0
- package/src/components/UserFormItem.vue +762 -0
- package/src/components/UserList.vue +19 -0
- package/src/components/UserManage.vue +758 -0
- package/src/components/UserRoleList.vue +497 -0
- package/src/components/ValidateRuleFormItem.vue +90 -0
- package/src/components/ViewFieldDefine.vue +703 -0
- package/src/components/WikiSpaceList.vue +270 -0
- package/src/components/WikiWorkbench.vue +717 -0
- package/src/components/authorization/AddApiPermiss.vue +179 -0
- package/src/components/authorization/AddAuthorization.vue +135 -0
- package/src/components/authorization/AddEntityFind.vue +68 -0
- package/src/components/authorization/AddNoApi.vue +143 -0
- package/src/components/authorization/AddRoleScope.vue +291 -0
- package/src/components/authorization/AiRolePlan.vue +751 -0
- package/src/components/authorization/ApiShareOtherList.vue +353 -0
- package/src/components/authorization/ApiSystemList.vue +314 -0
- package/src/components/authorization/AuthorizationInterface.vue +668 -0
- package/src/components/authorization/AuthorizationRoleSystem.vue +713 -0
- package/src/components/authorization/EntityConstraintFormItem.vue +257 -0
- package/src/components/authorization/OtherShareApiList.vue +248 -0
- package/src/components/authorization/PermissCommonRoleTabs.vue +122 -0
- package/src/components/authorization/PermissRoleAuthorization.vue +1097 -0
- package/src/components/authorization/PermissRoleTabs.vue +121 -0
- package/src/components/authorization/RoleLevel.vue +113 -0
- package/src/components/authorization/RoleLevelScope.vue +247 -0
- package/src/components/authorization/SystemAddNoApi.vue +139 -0
- package/src/components/card/CardList.vue +78 -0
- package/src/components/card/CardListItem.vue +147 -0
- package/src/components/card/Title.vue +38 -0
- package/src/components/custom-bpmn/CustomContextPad.js +58 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -0
- package/src/components/custom-bpmn/CustomRenderer.js +1 -0
- package/src/components/custom-bpmn/CustomRendererBpmn.js +84 -0
- package/src/components/custom-bpmn/PropertiesView.vue +7879 -0
- package/src/components/custom-bpmn/components/AiModel.vue +373 -0
- package/src/components/custom-bpmn/components/Api.vue +290 -0
- package/src/components/custom-bpmn/components/BatchOperation.vue +145 -0
- package/src/components/custom-bpmn/components/Copy.vue +440 -0
- package/src/components/custom-bpmn/components/DataTransform.vue +260 -0
- package/src/components/custom-bpmn/components/Demo.vue +64 -0
- package/src/components/custom-bpmn/components/EditDiv.vue +466 -0
- package/src/components/custom-bpmn/components/GenScope.vue +252 -0
- package/src/components/custom-bpmn/components/GlobalParamsTree.vue +61 -0
- package/src/components/custom-bpmn/components/Knowledges.vue +182 -0
- package/src/components/custom-bpmn/components/Login.vue +372 -0
- package/src/components/custom-bpmn/components/MessageQueue.vue +167 -0
- package/src/components/custom-bpmn/components/MetaSelect.vue +136 -0
- package/src/components/custom-bpmn/components/NumStatistic.vue +245 -0
- package/src/components/custom-bpmn/components/ObjectTransform.vue +454 -0
- package/src/components/custom-bpmn/components/OutPut.vue +412 -0
- package/src/components/custom-bpmn/components/ParamsMachining.vue +644 -0
- package/src/components/custom-bpmn/components/ParamsOutput.vue +130 -0
- package/src/components/custom-bpmn/components/ProcessAudit.vue +443 -0
- package/src/components/custom-bpmn/components/SingleMultipleFind.vue +637 -0
- package/src/components/custom-bpmn/components/TestDialog.vue +1068 -0
- package/src/components/custom-bpmn/img/chaxun.png +0 -0
- package/src/components/custom-bpmn/img/fasong.png +0 -0
- package/src/components/custom-bpmn/img/gengxin.png +0 -0
- package/src/components/custom-bpmn/img/jiagong.png +0 -0
- package/src/components/custom-bpmn/img/jiekou.png +0 -0
- package/src/components/custom-bpmn/img/shanchu.png +0 -0
- package/src/components/custom-bpmn/img/tongbu.png +0 -0
- package/src/components/custom-bpmn/img/xinzeng.png +0 -0
- package/src/components/custom-bpmn/img/xunhuanend.png +0 -0
- package/src/components/custom-bpmn/img/xunhuanstart.png +0 -0
- package/src/components/custom-bpmn/img/ywgz.png +0 -0
- package/src/components/custom-bpmn/index.js +1 -0
- package/src/components/custom-bpmn/palette.js +18 -0
- package/src/components/custom-bpmn/util.js +5 -0
- package/src/components/dashboard-create.js +17 -0
- package/src/components/entity-relation-diagram/Er.vue +360 -0
- package/src/components/entity-relation-diagram/renderErNode.js +32 -0
- package/src/components/expand/AddForm.vue +91 -0
- package/src/components/expand/AddFormItem.vue +150 -0
- package/src/components/filter/Filter.vue +739 -0
- package/src/components/filter/FilterItem.vue +516 -0
- package/src/components/hall/AppCollect.vue +190 -0
- package/src/components/hall/AppList.vue +513 -0
- package/src/components/hall/AppVisitRecord.vue +171 -0
- package/src/components/hall/Banner.vue +21 -0
- package/src/components/hall/ServiceCard.vue +204 -0
- package/src/components/hall/UserCard.vue +114 -0
- package/src/components/permiss/AddApi.vue +119 -0
- package/src/components/permiss/AddNoEntityApi.vue +131 -0
- package/src/components/permiss/AddSystemPermiss.vue +107 -0
- package/src/components/permiss/AllocateRole.vue +107 -0
- package/src/components/permiss/ApiSubList.vue +193 -0
- package/src/components/permiss/CommonRoleMenu.vue +631 -0
- package/src/components/permiss/FieldScope.vue +138 -0
- package/src/components/permiss/PermissManage.vue +96 -0
- package/src/components/permiss/RoleAppList.vue +52 -0
- package/src/components/permiss/RoleMenu.vue +547 -0
- package/src/components/permiss/RoleSubList.vue +263 -0
- package/src/components/permiss/jurisdiction.vue +425 -0
- package/src/components/process-healthcheck/HealthcheckChart.vue +529 -0
- package/src/components/process-healthcheck/HealthcheckRenderer.js +41 -0
- package/src/components/process-healthcheck/index.js +8 -0
- package/src/components/report/Config.vue +1654 -0
- package/src/components/report/Design.vue +3528 -0
- package/src/components/report/StatList.vue +234 -0
- package/src/components/right/EntityOtherSystemList.vue +73 -0
- package/src/components/right/SystemInterfaceList.vue +413 -0
- package/src/components/right/SystemList.vue +848 -0
- package/src/components/upLoad.vue +69 -0
- package/src/components/viewport/LookViewList.vue +28 -0
- package/src/components/viewport/ViewAddForm.vue +151 -0
- package/src/components/viewport/ViewDefineList.vue +53 -0
- package/src/components/viewport/ViewFiedList.vue +646 -0
- package/src/components/viewport/ViewScope.vue +112 -0
- package/src/components/wiki-workbench/WikiCites.vue +234 -0
- package/src/components/wiki-workbench/WikiIntake.vue +505 -0
- package/src/components/wiki-workbench/WikiJobs.vue +175 -0
- package/src/components/wiki-workbench/WikiRevisions.vue +208 -0
- package/src/components/wiki-workbench/WikiSpaceSettings.vue +137 -0
- package/src/components/wiki-workbench/codes.js +43 -0
- package/src/components/wiki-workbench/index.js +15 -0
- package/src/index.js +20 -0
- package/src/popup.js +86 -0
- package/src/public-components.js +8 -0
- package/src/remote.entry.js +42 -0
- package/src/route-components.js +8 -0
- package/src/system.component.index.js +3 -0
- package/src/system.component.js +46 -0
- package/src/system.component.lazy.js +68 -0
- package/src/system.component.visual.js +18 -0
- package/src/views/Add.vue +827 -0
- package/src/views/AiToolManager.vue +2372 -0
- package/src/views/App.vue +53 -0
- package/src/views/AppRoleSelect.vue +334 -0
- package/src/views/BatchEdit.vue +238 -0
- package/src/views/Bpmn.vue +1713 -0
- package/src/views/EntityCheckPage.vue +52 -0
- package/src/views/EntityDetailPage.vue +79 -0
- package/src/views/EntityEditPage.vue +13 -0
- package/src/views/EntitySubListPage.vue +44 -0
- package/src/views/EntityTreePage.vue +37 -0
- package/src/views/Error.vue +63 -0
- package/src/views/ExcelDesign.vue +3350 -0
- package/src/views/ExcelPreviewPage.vue +590 -0
- package/src/views/ExportFilePage.vue +19 -0
- package/src/views/ExportPage.vue +19 -0
- package/src/views/FormDesign.vue +2301 -0
- package/src/views/I18nWorkbench.vue +508 -0
- package/src/views/ImportFilePage.vue +19 -0
- package/src/views/ImportPage.vue +19 -0
- package/src/views/MEntityListPage.vue +83 -0
- package/src/views/MEntitySubListPage.vue +44 -0
- package/src/views/MinePage.vue +18 -0
- package/src/views/Module.vue +210 -0
- package/src/views/PageAttributeTreePage.vue +437 -0
- package/src/views/PageConfig.vue +259 -0
- package/src/views/Permission.vue +695 -0
- package/src/views/PersonalInfo.vue +693 -0
- package/src/views/QyWechat.vue +69 -0
- package/src/views/ReportFormListPage.vue +82 -0
- package/src/views/TaskPage.vue +199 -0
- package/src/views/WikiBinding.vue +740 -0
- package/src/views/client/AddForm.vue +64 -0
- package/src/views/client/AppMarket.vue +380 -0
- package/src/views/client/ClientIndex.vue +261 -0
- package/src/views/client/ClientModuleIndexPage.vue +35 -0
- package/src/views/client/CopySystem.vue +179 -0
- package/src/views/client/CreateAppFormItem.vue +285 -0
- package/src/views/client/CreateMethod.vue +114 -0
- package/src/views/client/InstallSystem.vue +295 -0
- package/src/views/client/ManageList.vue +178 -0
- package/src/views/client/OpenClientManage.vue +54 -0
- package/src/views/client/OpenSystemManage.vue +57 -0
- package/src/views/client/PageTabsCyclic.vue +121 -0
- package/src/views/client/SelfBuiltSystem.vue +497 -0
- package/src/views/client/StandardProduct.vue +325 -0
- package/src/views/client/SystemAppAccredit.vue +607 -0
- package/src/views/client/SystemAppManager.vue +967 -0
- package/src/views/client/SystemManager.vue +998 -0
- package/src/views/i18n/I18nAiTaskHistoryDialog.vue +173 -0
- package/src/views/i18n/I18nPublishDialog.vue +360 -0
- package/src/views/i18n/I18nTranslationList.vue +195 -0
- package/src/views/i18n/i18n-workbench-text.js +7 -0
- package/src/views/layout/CardList.vue +122 -0
- package/src/views/layout/Grid.vue +176 -0
- package/src/views/match/AddTargetField.vue +136 -0
- package/src/views/match/MatchAddFormItem.vue +87 -0
- package/src/views/match/conversion.vue +740 -0
- package/src/views/match/customize.vue +374 -0
- package/src/views/match/fieldMatch.vue +734 -0
- package/src/views/report/AddFormItem.vue +66 -0
- package/src/views/report/DesignReport.vue +1229 -0
- package/src/views/report/ReportTreeFind.vue +195 -0
- package/types/dept-find.d.ts +1 -0
- package/types/entity-tree-manage.d.ts +1 -0
- package/types/excel-preview-page.d.ts +1 -0
- package/types/header-nav.d.ts +1 -0
- package/types/index.d.ts +14 -0
- package/types/page-catalog.d.ts +1 -0
- package/types/popup.d.ts +2 -0
- package/types/report-form-list-page.d.ts +1 -0
- package/types/report-form-list.d.ts +1 -0
- package/types/route-components.d.ts +1 -0
- package/types/user-find.d.ts +1 -0
|
@@ -0,0 +1,1196 @@
|
|
|
1
|
+
import "bpmn-js/dist/assets/diagram-js.css";
|
|
2
|
+
import "bpmn-js/dist/assets/bpmn-font/css/bpmn.css";
|
|
3
|
+
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css";
|
|
4
|
+
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
5
|
+
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
6
|
+
import __cjsReq0 from "../components/custom-bpmn/img/xunhuanstart.png.js";
|
|
7
|
+
import __cjsReq1 from "../components/custom-bpmn/img/xunhuanend.png.js";
|
|
8
|
+
import __cjsReq2 from "../components/custom-bpmn/img/xinzeng.png.js";
|
|
9
|
+
import __cjsReq3 from "../components/custom-bpmn/img/fasong.png.js";
|
|
10
|
+
import __cjsReq4 from "../components/custom-bpmn/img/chaxun.png.js";
|
|
11
|
+
import __cjsReq5 from "../components/custom-bpmn/img/jiagong.png.js";
|
|
12
|
+
import __cjsReq6 from "../components/custom-bpmn/img/gengxin.png.js";
|
|
13
|
+
import __cjsReq7 from "../components/custom-bpmn/img/ywgz.png.js";
|
|
14
|
+
import __cjsReq8 from "../components/custom-bpmn/img/shanchu.png.js";
|
|
15
|
+
import __cjsReq9 from "../components/custom-bpmn/img/tongbu.png.js";
|
|
16
|
+
import __cjsReq10 from "../components/custom-bpmn/img/jiekou.png.js";
|
|
17
|
+
import __cjsReq11 from "bpmn-js";
|
|
18
|
+
import __cjsReq12 from "bpmn-js/lib/Modeler";
|
|
19
|
+
import __cjsReq1$1 from "camunda-bpmn-moddle/resources/camunda";
|
|
20
|
+
import customTranslate from "../assets/customTranslate/customTranslate.js";
|
|
21
|
+
import __cjsReq15 from "../components/custom-bpmn/palette.js";
|
|
22
|
+
import { markRaw } from "vue";
|
|
23
|
+
import { SWITCH_MENU_SHOW, ADD_META, ADD_LIST } from "@epxing/core/src/store/actions";
|
|
24
|
+
const __compatRequireEnsure = (_deps, cb) => Promise.resolve().then(() => cb && cb());
|
|
25
|
+
let menuOwner = null;
|
|
26
|
+
let menuShowBeforeHide = true;
|
|
27
|
+
const _sfc_main = {
|
|
28
|
+
name: "epx-bpmn",
|
|
29
|
+
style: {
|
|
30
|
+
margin: "0"
|
|
31
|
+
},
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
// bpmn建模器
|
|
35
|
+
bpmnModeler: null,
|
|
36
|
+
container: null,
|
|
37
|
+
canvas: null,
|
|
38
|
+
xmlStr: null,
|
|
39
|
+
processName: "",
|
|
40
|
+
dialogVisible: false,
|
|
41
|
+
svg: null,
|
|
42
|
+
bpmnData: [],
|
|
43
|
+
processInfo: {},
|
|
44
|
+
processExtendInfo: {},
|
|
45
|
+
statusCodeKey: "",
|
|
46
|
+
businessMeta: [],
|
|
47
|
+
treeFieldStore: [],
|
|
48
|
+
isFold: true,
|
|
49
|
+
nodeArr: [{
|
|
50
|
+
name: "流程节点",
|
|
51
|
+
code: "model",
|
|
52
|
+
groupColor: "#FFA300",
|
|
53
|
+
children: [{
|
|
54
|
+
group: "model",
|
|
55
|
+
className: "epx-icon-wangguan",
|
|
56
|
+
createType: "bpmn:ExclusiveGateway",
|
|
57
|
+
type: "bpmn:ExclusiveGateway",
|
|
58
|
+
name: "网关",
|
|
59
|
+
handler: "createTask"
|
|
60
|
+
}, {
|
|
61
|
+
group: "model",
|
|
62
|
+
className: "el-icon-video-play",
|
|
63
|
+
createType: "bpmn:InclusiveGateway",
|
|
64
|
+
type: "bpmn:InclusiveGateway",
|
|
65
|
+
name: "循环开始",
|
|
66
|
+
img: __cjsReq0,
|
|
67
|
+
typeId: "11",
|
|
68
|
+
handler: "createTask"
|
|
69
|
+
}, {
|
|
70
|
+
group: "model",
|
|
71
|
+
className: "epx-icon-jieshu",
|
|
72
|
+
createType: "bpmn:InclusiveGateway",
|
|
73
|
+
type: "bpmn:InclusiveGateway",
|
|
74
|
+
name: "循环结束",
|
|
75
|
+
img: __cjsReq1,
|
|
76
|
+
typeId: "12",
|
|
77
|
+
handler: "createTask"
|
|
78
|
+
}, {
|
|
79
|
+
group: "model",
|
|
80
|
+
className: "epx-icon-jieshu",
|
|
81
|
+
createType: "bpmn:ManualTask",
|
|
82
|
+
type: "bpmn:ManualTask",
|
|
83
|
+
name: "循环中断",
|
|
84
|
+
img: __cjsReq1,
|
|
85
|
+
typeId: "29",
|
|
86
|
+
handler: "createTask"
|
|
87
|
+
}, {
|
|
88
|
+
group: "model",
|
|
89
|
+
className: "epx-icon-yonghurenwu",
|
|
90
|
+
createType: "bpmn:UserTask",
|
|
91
|
+
type: "bpmn:UserTask",
|
|
92
|
+
name: "用户任务",
|
|
93
|
+
handler: "createTask"
|
|
94
|
+
}, {
|
|
95
|
+
group: "model",
|
|
96
|
+
className: "epx-icon-jieshu",
|
|
97
|
+
createType: "bpmn:EndEvent",
|
|
98
|
+
type: "bpmn:EndEvent",
|
|
99
|
+
name: "结束",
|
|
100
|
+
handler: "createTask"
|
|
101
|
+
}]
|
|
102
|
+
}, {
|
|
103
|
+
name: "大模型能力",
|
|
104
|
+
code: "ai",
|
|
105
|
+
groupColor: "#00B389",
|
|
106
|
+
children: [
|
|
107
|
+
{
|
|
108
|
+
group: "ai",
|
|
109
|
+
className: "el-icon-s-opportunity",
|
|
110
|
+
createType: "bpmn:ManualTask",
|
|
111
|
+
type: "bpmn:ManualTask",
|
|
112
|
+
name: "大模型访问",
|
|
113
|
+
img: __cjsReq2,
|
|
114
|
+
typeId: "14",
|
|
115
|
+
handler: "createTask"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
group: "ai",
|
|
119
|
+
className: "el-icon-s-opportunity",
|
|
120
|
+
createType: "bpmn:ManualTask",
|
|
121
|
+
type: "bpmn:ManualTask",
|
|
122
|
+
name: "对象识别",
|
|
123
|
+
img: __cjsReq2,
|
|
124
|
+
typeId: "32",
|
|
125
|
+
handler: "createTask"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
group: "ai",
|
|
129
|
+
className: "el-icon-s-management",
|
|
130
|
+
createType: "bpmn:ManualTask",
|
|
131
|
+
type: "bpmn:ManualTask",
|
|
132
|
+
name: "知识库检索",
|
|
133
|
+
img: __cjsReq2,
|
|
134
|
+
typeId: "15",
|
|
135
|
+
handler: "createTask"
|
|
136
|
+
},
|
|
137
|
+
// 外部接口
|
|
138
|
+
{
|
|
139
|
+
group: "ai",
|
|
140
|
+
className: "el-icon-chat-line-round",
|
|
141
|
+
createType: "bpmn:ManualTask",
|
|
142
|
+
type: "bpmn:ManualTask",
|
|
143
|
+
name: "对话输出",
|
|
144
|
+
img: __cjsReq3,
|
|
145
|
+
typeId: "16",
|
|
146
|
+
handler: "createTask"
|
|
147
|
+
},
|
|
148
|
+
// 条件生成
|
|
149
|
+
{
|
|
150
|
+
group: "ai",
|
|
151
|
+
className: "el-icon-document-checked",
|
|
152
|
+
createType: "bpmn:ManualTask",
|
|
153
|
+
type: "bpmn:ManualTask",
|
|
154
|
+
name: "条件生成",
|
|
155
|
+
img: __cjsReq4,
|
|
156
|
+
typeId: "31",
|
|
157
|
+
handler: "createTask"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}, {
|
|
161
|
+
name: "数据操作",
|
|
162
|
+
code: "definetask",
|
|
163
|
+
groupColor: "#00B389",
|
|
164
|
+
children: [{
|
|
165
|
+
group: "definetask",
|
|
166
|
+
className: "el-icon-s-tools",
|
|
167
|
+
createType: "bpmn:ManualTask",
|
|
168
|
+
type: "bpmn:ManualTask",
|
|
169
|
+
name: "参数加工",
|
|
170
|
+
img: __cjsReq5,
|
|
171
|
+
typeId: "17",
|
|
172
|
+
docId: "C07980E630414E92A9C70DD4B1A056E5",
|
|
173
|
+
handler: "createTask"
|
|
174
|
+
}, {
|
|
175
|
+
group: "definetask",
|
|
176
|
+
className: "el-icon-search",
|
|
177
|
+
createType: "bpmn:ManualTask",
|
|
178
|
+
type: "bpmn:ManualTask",
|
|
179
|
+
name: "单条查询",
|
|
180
|
+
img: __cjsReq4,
|
|
181
|
+
typeId: "19",
|
|
182
|
+
docId: "C07980E630414E92A9C70DD4B1A056E5",
|
|
183
|
+
handler: "createTask"
|
|
184
|
+
}, {
|
|
185
|
+
group: "definetask",
|
|
186
|
+
className: "el-icon-search",
|
|
187
|
+
createType: "bpmn:ManualTask",
|
|
188
|
+
type: "bpmn:ManualTask",
|
|
189
|
+
name: "多条查询",
|
|
190
|
+
img: __cjsReq4,
|
|
191
|
+
typeId: "20",
|
|
192
|
+
docId: "9E22963612764220B1721DDD0E034443",
|
|
193
|
+
handler: "createTask"
|
|
194
|
+
}, {
|
|
195
|
+
group: "definetask",
|
|
196
|
+
className: "el-icon-plus",
|
|
197
|
+
createType: "bpmn:ManualTask",
|
|
198
|
+
type: "bpmn:ManualTask",
|
|
199
|
+
name: "新增记录",
|
|
200
|
+
img: __cjsReq2,
|
|
201
|
+
typeId: "1",
|
|
202
|
+
docId: "DCD5924EE5F34D5DBDC393B5D9289CA8",
|
|
203
|
+
handler: "createTask"
|
|
204
|
+
}, {
|
|
205
|
+
group: "definetask",
|
|
206
|
+
className: "el-icon-refresh",
|
|
207
|
+
createType: "bpmn:ManualTask",
|
|
208
|
+
type: "bpmn:ManualTask",
|
|
209
|
+
name: "编辑记录",
|
|
210
|
+
img: __cjsReq6,
|
|
211
|
+
typeId: "3",
|
|
212
|
+
docId: "9AB882C8E9C5489FBF151460620925AE",
|
|
213
|
+
handler: "createTask"
|
|
214
|
+
}, {
|
|
215
|
+
group: "definetask",
|
|
216
|
+
className: "el-icon-document-copy",
|
|
217
|
+
createType: "bpmn:ManualTask",
|
|
218
|
+
type: "bpmn:ManualTask",
|
|
219
|
+
name: "数据复制",
|
|
220
|
+
img: __cjsReq7,
|
|
221
|
+
typeId: "21",
|
|
222
|
+
docId: "44EAE3CF6FA74AB395E8531C5CD80268",
|
|
223
|
+
handler: "createTask"
|
|
224
|
+
}, {
|
|
225
|
+
group: "definetask",
|
|
226
|
+
className: "el-icon-delete-solid",
|
|
227
|
+
createType: "bpmn:ManualTask",
|
|
228
|
+
type: "bpmn:ManualTask",
|
|
229
|
+
name: "数据删除",
|
|
230
|
+
img: __cjsReq8,
|
|
231
|
+
typeId: "2",
|
|
232
|
+
docId: "B4FB747C452542A88D36531B67DB2BF9",
|
|
233
|
+
handler: "createTask"
|
|
234
|
+
}, {
|
|
235
|
+
group: "definetask",
|
|
236
|
+
className: "el-icon-upload",
|
|
237
|
+
createType: "bpmn:ManualTask",
|
|
238
|
+
type: "bpmn:ManualTask",
|
|
239
|
+
name: "数据同步",
|
|
240
|
+
img: __cjsReq9,
|
|
241
|
+
typeId: "4",
|
|
242
|
+
docId: "5666183BE58F435391582CC5C8345929",
|
|
243
|
+
handler: "createTask"
|
|
244
|
+
}, {
|
|
245
|
+
group: "definetask",
|
|
246
|
+
className: "el-icon-upload",
|
|
247
|
+
createType: "bpmn:ManualTask",
|
|
248
|
+
type: "bpmn:ManualTask",
|
|
249
|
+
name: "数据转换",
|
|
250
|
+
img: __cjsReq9,
|
|
251
|
+
typeId: "24",
|
|
252
|
+
docId: "CF50E039192F46E3BA47774C952F1F4C",
|
|
253
|
+
handler: "createTask"
|
|
254
|
+
}, {
|
|
255
|
+
group: "definetask",
|
|
256
|
+
className: "el-icon-document-copy",
|
|
257
|
+
createType: "bpmn:ManualTask",
|
|
258
|
+
type: "bpmn:ManualTask",
|
|
259
|
+
name: "批量操作",
|
|
260
|
+
img: __cjsReq7,
|
|
261
|
+
typeId: "25",
|
|
262
|
+
docId: "AE8DCB6156094CE387BC32DCB3674C0E",
|
|
263
|
+
handler: "createTask"
|
|
264
|
+
}, {
|
|
265
|
+
group: "definetask",
|
|
266
|
+
className: "el-icon-search",
|
|
267
|
+
createType: "bpmn:ManualTask",
|
|
268
|
+
type: "bpmn:ManualTask",
|
|
269
|
+
name: "数据统计",
|
|
270
|
+
img: __cjsReq4,
|
|
271
|
+
typeId: "27",
|
|
272
|
+
handler: "createTask"
|
|
273
|
+
}, {
|
|
274
|
+
group: "definetask",
|
|
275
|
+
className: "el-icon-refresh",
|
|
276
|
+
createType: "bpmn:ManualTask",
|
|
277
|
+
type: "bpmn:ManualTask",
|
|
278
|
+
name: "对象转换",
|
|
279
|
+
img: __cjsReq6,
|
|
280
|
+
typeId: "28",
|
|
281
|
+
handler: "createTask"
|
|
282
|
+
}]
|
|
283
|
+
}, {
|
|
284
|
+
name: "审批流程",
|
|
285
|
+
code: "handlertask",
|
|
286
|
+
groupColor: "#00B389",
|
|
287
|
+
children: [{
|
|
288
|
+
group: "handlertask",
|
|
289
|
+
className: "el-icon-s-promotion",
|
|
290
|
+
createType: "bpmn:ManualTask",
|
|
291
|
+
type: "bpmn:ManualTask",
|
|
292
|
+
name: "发起流程",
|
|
293
|
+
img: __cjsReq7,
|
|
294
|
+
typeId: "10",
|
|
295
|
+
docId: "AFA250D6C4814FF5B7E6C82227A3BAA6",
|
|
296
|
+
handler: "createTask"
|
|
297
|
+
}, {
|
|
298
|
+
group: "handlertask",
|
|
299
|
+
className: "epx-icon-pingtaijiekou",
|
|
300
|
+
createType: "bpmn:ManualTask",
|
|
301
|
+
type: "bpmn:ManualTask",
|
|
302
|
+
name: "外部接口",
|
|
303
|
+
img: __cjsReq10,
|
|
304
|
+
typeId: "23",
|
|
305
|
+
docId: "097C269014BD45A8A2A9E28143C40E68",
|
|
306
|
+
handler: "createTask"
|
|
307
|
+
}, {
|
|
308
|
+
group: "handlertask",
|
|
309
|
+
className: "el-icon-s-order",
|
|
310
|
+
createType: "bpmn:ManualTask",
|
|
311
|
+
type: "bpmn:ManualTask",
|
|
312
|
+
name: "调用业务规则",
|
|
313
|
+
img: __cjsReq7,
|
|
314
|
+
typeId: "9",
|
|
315
|
+
docId: "CE540E8864D24FD0AC9A281F5B02F1CE",
|
|
316
|
+
handler: "createTask"
|
|
317
|
+
}, {
|
|
318
|
+
group: "handlertask",
|
|
319
|
+
className: "el-icon-s-order",
|
|
320
|
+
createType: "bpmn:ManualTask",
|
|
321
|
+
type: "bpmn:ManualTask",
|
|
322
|
+
name: "流程审批",
|
|
323
|
+
img: __cjsReq7,
|
|
324
|
+
typeId: "22",
|
|
325
|
+
docId: "D5E1A7B3271C4AAFA9C18EAE504F8C0A",
|
|
326
|
+
handler: "createTask"
|
|
327
|
+
}]
|
|
328
|
+
}, {
|
|
329
|
+
name: "其他节点",
|
|
330
|
+
code: "other",
|
|
331
|
+
groupColor: "#00B389",
|
|
332
|
+
children: [{
|
|
333
|
+
group: "other",
|
|
334
|
+
className: "el-icon-s-comment",
|
|
335
|
+
createType: "bpmn:ManualTask",
|
|
336
|
+
type: "bpmn:ManualTask",
|
|
337
|
+
name: "消息发送",
|
|
338
|
+
img: __cjsReq3,
|
|
339
|
+
typeId: "7",
|
|
340
|
+
docId: "6D3FFC1563004FD5B5EF8364032C9970",
|
|
341
|
+
handler: "createTask"
|
|
342
|
+
}, {
|
|
343
|
+
group: "other",
|
|
344
|
+
className: "epx-icon-tongzhi",
|
|
345
|
+
createType: "bpmn:ManualTask",
|
|
346
|
+
type: "bpmn:ManualTask",
|
|
347
|
+
name: "消息队列",
|
|
348
|
+
img: __cjsReq3,
|
|
349
|
+
typeId: "13",
|
|
350
|
+
docId: "3B97708EAD444FA1ADD0FEF3E58BCF5A",
|
|
351
|
+
handler: "createTask"
|
|
352
|
+
}, {
|
|
353
|
+
group: "other",
|
|
354
|
+
className: "el-icon-chat-line-round",
|
|
355
|
+
createType: "bpmn:ManualTask",
|
|
356
|
+
type: "bpmn:ManualTask",
|
|
357
|
+
name: "参数输出",
|
|
358
|
+
img: __cjsReq3,
|
|
359
|
+
typeId: "18",
|
|
360
|
+
docId: "9ECDD2D622B24C43965D4C712E8C96BF",
|
|
361
|
+
handler: "createTask"
|
|
362
|
+
}, {
|
|
363
|
+
group: "definetask",
|
|
364
|
+
className: "el-icon-document-copy",
|
|
365
|
+
createType: "bpmn:ManualTask",
|
|
366
|
+
type: "bpmn:ManualTask",
|
|
367
|
+
name: "登录",
|
|
368
|
+
img: __cjsReq7,
|
|
369
|
+
typeId: "26",
|
|
370
|
+
docId: "DBA580EA3F73464A9C808185C206819D",
|
|
371
|
+
handler: "createTask"
|
|
372
|
+
}]
|
|
373
|
+
}, {
|
|
374
|
+
name: "兼容节点(不推荐再使用)",
|
|
375
|
+
code: "jrjd",
|
|
376
|
+
groupColor: "#00B389",
|
|
377
|
+
children: [{
|
|
378
|
+
group: "jrjd",
|
|
379
|
+
className: "el-icon-search",
|
|
380
|
+
createType: "bpmn:ManualTask",
|
|
381
|
+
type: "bpmn:ManualTask",
|
|
382
|
+
name: "数据查询",
|
|
383
|
+
img: __cjsReq4,
|
|
384
|
+
typeId: "6",
|
|
385
|
+
handler: "createTask"
|
|
386
|
+
}, {
|
|
387
|
+
group: "jrjd",
|
|
388
|
+
className: "el-icon-s-tools",
|
|
389
|
+
createType: "bpmn:ManualTask",
|
|
390
|
+
type: "bpmn:ManualTask",
|
|
391
|
+
name: "数据加工",
|
|
392
|
+
img: __cjsReq5,
|
|
393
|
+
typeId: "5",
|
|
394
|
+
handler: "createTask"
|
|
395
|
+
}, {
|
|
396
|
+
group: "handlertask",
|
|
397
|
+
className: "epx-icon-pingtaijiekou",
|
|
398
|
+
createType: "bpmn:ManualTask",
|
|
399
|
+
type: "bpmn:ManualTask",
|
|
400
|
+
name: "调用接口",
|
|
401
|
+
img: __cjsReq10,
|
|
402
|
+
typeId: "8",
|
|
403
|
+
handler: "createTask"
|
|
404
|
+
}]
|
|
405
|
+
}],
|
|
406
|
+
leftNodeArr: [],
|
|
407
|
+
nodeToolsArr: [],
|
|
408
|
+
hoverTimeout: null,
|
|
409
|
+
nodeElement: null,
|
|
410
|
+
popoverVisiable: false,
|
|
411
|
+
setPopoverVisiable: false,
|
|
412
|
+
leftNodesSearchText: "",
|
|
413
|
+
nodeToolsSearchTexr: "",
|
|
414
|
+
editNodeType: {
|
|
415
|
+
Gateway: [{
|
|
416
|
+
name: "互斥网关",
|
|
417
|
+
type: "bpmn:ExclusiveGateway",
|
|
418
|
+
icon: "el-icon-orange"
|
|
419
|
+
}, {
|
|
420
|
+
name: "并行网关",
|
|
421
|
+
type: "bpmn:ParallelGateway",
|
|
422
|
+
icon: "el-icon-orange"
|
|
423
|
+
}, {
|
|
424
|
+
name: "包容网关",
|
|
425
|
+
type: "bpmn:InclusiveGateway",
|
|
426
|
+
icon: "el-icon-orange"
|
|
427
|
+
}, {
|
|
428
|
+
name: "事件网关",
|
|
429
|
+
type: "bpmn:EventBasedGateway",
|
|
430
|
+
icon: "el-icon-orange"
|
|
431
|
+
}, {
|
|
432
|
+
name: "复杂网关",
|
|
433
|
+
type: "bpmn:ComplexGateway",
|
|
434
|
+
icon: "el-icon-orange"
|
|
435
|
+
}]
|
|
436
|
+
// BoundaryEvent: [
|
|
437
|
+
// {
|
|
438
|
+
// name: '定时边界事件',
|
|
439
|
+
// type: 'bpmn:TimerEventDefinition',
|
|
440
|
+
// icon: 'el-icon-orange'
|
|
441
|
+
// },
|
|
442
|
+
// {
|
|
443
|
+
// name: '定时中间捕获',
|
|
444
|
+
// type: 'bpmn:IntermediateThrowEvent',
|
|
445
|
+
// icon: 'el-icon-orange'
|
|
446
|
+
// }
|
|
447
|
+
// ]
|
|
448
|
+
},
|
|
449
|
+
editNodeTypeArr: [],
|
|
450
|
+
drawer: false,
|
|
451
|
+
// 逻辑编排测试弹窗
|
|
452
|
+
testVisible: false,
|
|
453
|
+
testInParamData: [],
|
|
454
|
+
// 打开测试前保存流程的 loading
|
|
455
|
+
testLoading: false
|
|
456
|
+
};
|
|
457
|
+
},
|
|
458
|
+
components: {},
|
|
459
|
+
computed: {
|
|
460
|
+
// 是否逻辑编排类型(CATEGORY === '2');普通流程类型不显示测试按钮
|
|
461
|
+
isLogicFlow() {
|
|
462
|
+
return this.processInfo.CATEGORY === "2";
|
|
463
|
+
},
|
|
464
|
+
businessMetaName() {
|
|
465
|
+
const {
|
|
466
|
+
businessMetaId
|
|
467
|
+
} = this.$query;
|
|
468
|
+
const meta = this.metas && this.metas[businessMetaId];
|
|
469
|
+
return meta && meta.name || this.processInfo && this.processInfo["ENTITY#"] || "";
|
|
470
|
+
},
|
|
471
|
+
pageMetaId() {
|
|
472
|
+
if (this.dialogVisible === "camunda:assigneePage") {
|
|
473
|
+
return "FM_PAGE_CONFIG";
|
|
474
|
+
} else if (this.dialogVisible === "camunda:candidateGroups") {
|
|
475
|
+
return "FM_ROLE";
|
|
476
|
+
} else if (this.dialogVisible === "camunda:taskRight") {
|
|
477
|
+
return "FM_RIGHT";
|
|
478
|
+
} else {
|
|
479
|
+
return "FM_USER";
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
methods: {
|
|
484
|
+
searchLeftNodes(v) {
|
|
485
|
+
if (v) {
|
|
486
|
+
const arr = [];
|
|
487
|
+
this.nodeArr.forEach((item) => {
|
|
488
|
+
const obj = {
|
|
489
|
+
...item
|
|
490
|
+
};
|
|
491
|
+
obj.children = item.children.filter((item2) => item2.name.includes(v));
|
|
492
|
+
arr.push(obj);
|
|
493
|
+
});
|
|
494
|
+
this.leftNodeArr = arr.filter((item) => item.children.length > 0);
|
|
495
|
+
} else {
|
|
496
|
+
this.leftNodeArr = [...this.nodeArr];
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
searchNodesTools(v) {
|
|
500
|
+
if (v) {
|
|
501
|
+
const arr = [];
|
|
502
|
+
this.nodeArr.forEach((item) => {
|
|
503
|
+
const obj = {
|
|
504
|
+
...item
|
|
505
|
+
};
|
|
506
|
+
obj.children = item.children.filter((item2) => item2.name.includes(v));
|
|
507
|
+
arr.push(obj);
|
|
508
|
+
});
|
|
509
|
+
this.nodeToolsArr = arr.filter((item) => item.children.length > 0);
|
|
510
|
+
} else {
|
|
511
|
+
this.nodeToolsArr = [...this.nodeArr];
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
createNewDiagram(bpmnXmlStr) {
|
|
515
|
+
this.bpmnModeler.importXML(bpmnXmlStr).catch((err) => {
|
|
516
|
+
console.error(err);
|
|
517
|
+
this.$message.error(String(err && err.message ? err.message : err));
|
|
518
|
+
});
|
|
519
|
+
},
|
|
520
|
+
initSvg() {
|
|
521
|
+
const _this = this;
|
|
522
|
+
const downloadLink = this.$refs.saveDiagram;
|
|
523
|
+
const downloadSvgLink = this.$refs.saveSvg;
|
|
524
|
+
this.bpmnModeler.on("commandStack.changed", function() {
|
|
525
|
+
_this.saveSVG(function(err, svg) {
|
|
526
|
+
_this.svg = svg;
|
|
527
|
+
_this.setEncoded(downloadSvgLink, "diagram.svg", err ? null : svg);
|
|
528
|
+
});
|
|
529
|
+
_this.saveDiagram(function(err, xml) {
|
|
530
|
+
_this.setEncoded(downloadLink, "diagram.bpmn", err ? null : xml);
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
// 下载为SVG格式。T35:v8 起 saveSVG 只回 Promise<{svg}> —— 包装内部转接,
|
|
535
|
+
// 对外保持 done(err, svg) 回调公共面(调用方零改动)。
|
|
536
|
+
saveSVG(done) {
|
|
537
|
+
this.bpmnModeler.saveSVG().then(({
|
|
538
|
+
svg
|
|
539
|
+
}) => done(null, svg)).catch((err) => done(err));
|
|
540
|
+
},
|
|
541
|
+
// 下载 XML。T35:v8 起 saveXML 只回 Promise<{xml}>,同上转接。
|
|
542
|
+
saveDiagram(done) {
|
|
543
|
+
this.bpmnModeler.saveXML({
|
|
544
|
+
format: true
|
|
545
|
+
}).then(({
|
|
546
|
+
xml
|
|
547
|
+
}) => done(null, xml)).catch((err) => done(err));
|
|
548
|
+
},
|
|
549
|
+
// 当图发生改变的时候会调用这个函数,这个data就是图的xml
|
|
550
|
+
setEncoded(link, name, data) {
|
|
551
|
+
this.xmlStr = data;
|
|
552
|
+
},
|
|
553
|
+
changeSelect(v) {
|
|
554
|
+
this.updateProperties({
|
|
555
|
+
[this.dialogVisible]: v.id,
|
|
556
|
+
[this.dialogVisible + "-name"]: v.name
|
|
557
|
+
});
|
|
558
|
+
document.getElementsByName(this.dialogVisible + "-name")[0].value = v.name;
|
|
559
|
+
this.dialogVisible = false;
|
|
560
|
+
},
|
|
561
|
+
/**
|
|
562
|
+
* 更新元素属性
|
|
563
|
+
* @param { Object } 要更新的属性, 例如 { name: '' }
|
|
564
|
+
*/
|
|
565
|
+
updateProperties(properties) {
|
|
566
|
+
const {
|
|
567
|
+
element
|
|
568
|
+
} = this;
|
|
569
|
+
const modeling = this.bpmnModeler.get("modeling");
|
|
570
|
+
modeling.updateProperties(element, properties);
|
|
571
|
+
},
|
|
572
|
+
initBpmn({
|
|
573
|
+
BpmnViewer,
|
|
574
|
+
BpmnModeler,
|
|
575
|
+
camundaModdleDescriptor,
|
|
576
|
+
customTranslate: customTranslate2,
|
|
577
|
+
customModule
|
|
578
|
+
}) {
|
|
579
|
+
this.container = this.$refs.content;
|
|
580
|
+
const canvas = this.$refs.canvas;
|
|
581
|
+
var customTranslateModule = {
|
|
582
|
+
translate: ["value", customTranslate2]
|
|
583
|
+
};
|
|
584
|
+
this.bpmnModeler = markRaw(new BpmnModeler({
|
|
585
|
+
container: canvas,
|
|
586
|
+
// 添加控制板
|
|
587
|
+
// propertiesPanel: {
|
|
588
|
+
// parent: '#properties-panel'
|
|
589
|
+
// },
|
|
590
|
+
additionalModules: [customTranslateModule, customModule],
|
|
591
|
+
moddleExtensions: {
|
|
592
|
+
camunda: camundaModdleDescriptor
|
|
593
|
+
}
|
|
594
|
+
}));
|
|
595
|
+
},
|
|
596
|
+
// 打开逻辑编排测试弹窗:先保存最新流程,再从 Process 元素读取已定义的全局参数(camunda:inParam)
|
|
597
|
+
async openTest() {
|
|
598
|
+
if (!this.bpmnModeler) {
|
|
599
|
+
this.$message.error("流程尚未初始化完成,请稍后再试");
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
this.testLoading = true;
|
|
603
|
+
try {
|
|
604
|
+
await this.saveTestModel();
|
|
605
|
+
} catch (err) {
|
|
606
|
+
this.$message.error(err && err.message || "保存流程失败,请重试");
|
|
607
|
+
return;
|
|
608
|
+
} finally {
|
|
609
|
+
this.testLoading = false;
|
|
610
|
+
}
|
|
611
|
+
this.testInParamData = this.buildTestInParam();
|
|
612
|
+
this.testVisible = true;
|
|
613
|
+
},
|
|
614
|
+
// 构建测试全局参数:流程已定义参数 + (存在大模型访问节点时)默认补充「用户输入」query 参数
|
|
615
|
+
buildTestInParam() {
|
|
616
|
+
const inParam = this.getProcessInParam();
|
|
617
|
+
if (this.hasAiModelNode() && !inParam.some((item) => item.id === "query")) {
|
|
618
|
+
inParam.unshift({
|
|
619
|
+
id: "query",
|
|
620
|
+
name: "用户输入",
|
|
621
|
+
type: "1"
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
return inParam;
|
|
625
|
+
},
|
|
626
|
+
// 流程中是否存在「大模型访问」节点(camunda:formTypeId === '14')
|
|
627
|
+
hasAiModelNode() {
|
|
628
|
+
try {
|
|
629
|
+
const elementRegistry = this.bpmnModeler.get("elementRegistry");
|
|
630
|
+
return elementRegistry.filter((el) => {
|
|
631
|
+
const bo = el.businessObject;
|
|
632
|
+
return bo && bo.$attrs && bo.$attrs["camunda:formTypeId"] === "14";
|
|
633
|
+
}).length > 0;
|
|
634
|
+
} catch (e) {
|
|
635
|
+
return false;
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
// 保存最新流程模型(流程信息 + 流程图 XML),返回 Promise
|
|
639
|
+
saveTestModel() {
|
|
640
|
+
this.saveProcessInfo();
|
|
641
|
+
return new Promise((resolve, reject) => {
|
|
642
|
+
this.saveDiagram((err, xml) => {
|
|
643
|
+
if (err) {
|
|
644
|
+
reject(err);
|
|
645
|
+
return;
|
|
646
|
+
}
|
|
647
|
+
this.xmlStr = xml;
|
|
648
|
+
this.$http.save({
|
|
649
|
+
action: "updateModel",
|
|
650
|
+
entityId: this.$metaId,
|
|
651
|
+
modelId: this.$query.id,
|
|
652
|
+
xml
|
|
653
|
+
}).then(resolve).catch(reject);
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
},
|
|
657
|
+
getProcessElement() {
|
|
658
|
+
const elementRegistry = this.bpmnModeler.get("elementRegistry");
|
|
659
|
+
let element = this.processInfo.KEY ? elementRegistry.get(this.processInfo.KEY) : null;
|
|
660
|
+
if (!element) {
|
|
661
|
+
element = elementRegistry.filter((item) => item.type === "bpmn:Process")[0];
|
|
662
|
+
}
|
|
663
|
+
return element;
|
|
664
|
+
},
|
|
665
|
+
getProcessInParam() {
|
|
666
|
+
try {
|
|
667
|
+
const element = this.getProcessElement();
|
|
668
|
+
const $attrs = element && element.businessObject && element.businessObject.$attrs || {};
|
|
669
|
+
const inParamStr = $attrs["camunda:inParam"];
|
|
670
|
+
return inParamStr ? JSON.parse(inParamStr) : [];
|
|
671
|
+
} catch (e) {
|
|
672
|
+
console.error(e);
|
|
673
|
+
return [];
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
processSetting() {
|
|
677
|
+
const propertiesPanel = document.getElementById("properties-panel");
|
|
678
|
+
if (this.processInfo.KEY) {
|
|
679
|
+
propertiesPanel.style.display = "block";
|
|
680
|
+
const elementRegistry = this.bpmnModeler.get("elementRegistry");
|
|
681
|
+
const processElement = elementRegistry.get(this.processInfo.KEY);
|
|
682
|
+
const selection = this.bpmnModeler.get("selection");
|
|
683
|
+
selection.select(processElement);
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
closePanel() {
|
|
687
|
+
const propertiesPanel = document.getElementById("properties-panel");
|
|
688
|
+
propertiesPanel.style.display = "none";
|
|
689
|
+
},
|
|
690
|
+
addEventListeners() {
|
|
691
|
+
const propertiesPanel = document.getElementById("properties-panel");
|
|
692
|
+
this.bpmnModeler.on("selection.changed", (e) => {
|
|
693
|
+
this.selectedElements = e.newSelection;
|
|
694
|
+
this.element = e.newSelection[0];
|
|
695
|
+
if (this.element) {
|
|
696
|
+
const {
|
|
697
|
+
$attrs = {}
|
|
698
|
+
} = this.element.businessObject || {};
|
|
699
|
+
for (const key in $attrs) {
|
|
700
|
+
const timer = setTimeout(() => {
|
|
701
|
+
if (document.getElementsByName(key)[0]) {
|
|
702
|
+
document.getElementsByName(key)[0].value = $attrs[key];
|
|
703
|
+
}
|
|
704
|
+
clearTimeout(timer);
|
|
705
|
+
}, 100);
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
});
|
|
709
|
+
this.bpmnModeler.on("element.changed", (e) => {
|
|
710
|
+
const {
|
|
711
|
+
element
|
|
712
|
+
} = e;
|
|
713
|
+
const {
|
|
714
|
+
element: currentElement
|
|
715
|
+
} = this;
|
|
716
|
+
if (!currentElement) {
|
|
717
|
+
return;
|
|
718
|
+
}
|
|
719
|
+
if (element.id === currentElement.id) {
|
|
720
|
+
this.element = element;
|
|
721
|
+
const {
|
|
722
|
+
$attrs = {}
|
|
723
|
+
} = this.element.businessObject;
|
|
724
|
+
const arr = ["candidateUsers", "assignee", "candidateGroups", "camunda:taskRight", "camunda:assigneePage"];
|
|
725
|
+
arr.forEach((key) => {
|
|
726
|
+
if (!this.element.businessObject[key] && !$attrs[key]) {
|
|
727
|
+
const nameKey = key.includes("camunda:") ? key + "-name" : "camunda:" + key + "-name";
|
|
728
|
+
if (this.element.businessObject.$attrs[nameKey]) ;
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
for (const key in this.element.businessObject.$attrs) {
|
|
732
|
+
const timer = setTimeout(() => {
|
|
733
|
+
if (document.getElementsByName(key)[0]) {
|
|
734
|
+
document.getElementsByName(key)[0].value = $attrs[key];
|
|
735
|
+
}
|
|
736
|
+
clearTimeout(timer);
|
|
737
|
+
}, 100);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
});
|
|
741
|
+
const canvas = this.bpmnModeler.get("canvas");
|
|
742
|
+
const nodeTools = this.$refs.nodeTools;
|
|
743
|
+
this.bpmnModeler.on("element.hover", (event2) => {
|
|
744
|
+
const element = event2.element;
|
|
745
|
+
const {
|
|
746
|
+
type
|
|
747
|
+
} = element;
|
|
748
|
+
if (type !== "bpmn:Process" && type !== "label" && !this.popoverVisiable) {
|
|
749
|
+
const elementPosition = canvas.getAbsoluteBBox(element);
|
|
750
|
+
const padPosition = {
|
|
751
|
+
x: elementPosition.x + elementPosition.width + 5,
|
|
752
|
+
y: elementPosition.y
|
|
753
|
+
};
|
|
754
|
+
if (type === "bpmn:SequenceFlow") {
|
|
755
|
+
padPosition.x = elementPosition.x + elementPosition.width / 2;
|
|
756
|
+
padPosition.y = elementPosition.y + 10;
|
|
757
|
+
}
|
|
758
|
+
nodeTools.style.display = "block";
|
|
759
|
+
nodeTools.style.left = padPosition.x + "px";
|
|
760
|
+
nodeTools.style.top = padPosition.y + "px";
|
|
761
|
+
this.nodeElement = markRaw(element);
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
this.bpmnModeler.on("element.click", (event2) => {
|
|
765
|
+
const element = event2.element;
|
|
766
|
+
const {
|
|
767
|
+
type
|
|
768
|
+
} = element;
|
|
769
|
+
this.nodeElement = markRaw(element);
|
|
770
|
+
if (type === "bpmn:Process") {
|
|
771
|
+
propertiesPanel.style.display = "none";
|
|
772
|
+
this.hiddenNodeTools();
|
|
773
|
+
this.popoverVisiable = false;
|
|
774
|
+
this.setPopoverVisiable = false;
|
|
775
|
+
} else {
|
|
776
|
+
propertiesPanel.style.display = "block";
|
|
777
|
+
}
|
|
778
|
+
});
|
|
779
|
+
this.bpmnModeler.on("canvas.viewbox.changed", (event2) => {
|
|
780
|
+
this.hiddenNodeTools();
|
|
781
|
+
});
|
|
782
|
+
},
|
|
783
|
+
hiddenNodeTools() {
|
|
784
|
+
this.nodeElement = null;
|
|
785
|
+
const nodeTools = this.$refs.nodeTools;
|
|
786
|
+
nodeTools.style.display = "none";
|
|
787
|
+
},
|
|
788
|
+
editNodeTypeHandler(node) {
|
|
789
|
+
const element = this.nodeElement;
|
|
790
|
+
const bpmnReplace = this.bpmnModeler.get("bpmnReplace");
|
|
791
|
+
bpmnReplace.replaceElement(element, {
|
|
792
|
+
type: node.type
|
|
793
|
+
});
|
|
794
|
+
this.setPopoverVisiable = false;
|
|
795
|
+
this.hiddenNodeTools();
|
|
796
|
+
},
|
|
797
|
+
clickShowsetPopover(e) {
|
|
798
|
+
const {
|
|
799
|
+
type
|
|
800
|
+
} = this.nodeElement;
|
|
801
|
+
let arr = [];
|
|
802
|
+
if (type.includes("Gateway")) {
|
|
803
|
+
arr = this.editNodeType.Gateway;
|
|
804
|
+
}
|
|
805
|
+
this.editNodeTypeArr = arr.filter((item) => item.type !== type);
|
|
806
|
+
this.setPopoverVisiable = false;
|
|
807
|
+
this.$refs.popoverset.doDestroy(true);
|
|
808
|
+
this.$nextTick(() => {
|
|
809
|
+
this.$refs.popoverset.referenceElm = e.target;
|
|
810
|
+
this.setPopoverVisiable = true;
|
|
811
|
+
});
|
|
812
|
+
},
|
|
813
|
+
clickShowPopover(e) {
|
|
814
|
+
this.popoverVisiable = false;
|
|
815
|
+
this.$refs.popover.doDestroy(true);
|
|
816
|
+
this.$nextTick(() => {
|
|
817
|
+
this.$refs.popover.referenceElm = e.target;
|
|
818
|
+
this.popoverVisiable = true;
|
|
819
|
+
});
|
|
820
|
+
},
|
|
821
|
+
addNode(node) {
|
|
822
|
+
const canvas = this.bpmnModeler.get("canvas");
|
|
823
|
+
const elementFactory = this.bpmnModeler.get("elementFactory");
|
|
824
|
+
const modeling = this.bpmnModeler.get("modeling");
|
|
825
|
+
const moddle = this.bpmnModeler.get("moddle");
|
|
826
|
+
const element = this.nodeElement;
|
|
827
|
+
if (node.group === "tools") {
|
|
828
|
+
if (node.type === "globalConnect") {
|
|
829
|
+
const connectTool = this.bpmnModeler.get("connect");
|
|
830
|
+
connectTool.start(event, element);
|
|
831
|
+
} else {
|
|
832
|
+
this.createTopTask(null, node);
|
|
833
|
+
}
|
|
834
|
+
} else {
|
|
835
|
+
const createNode = node;
|
|
836
|
+
const createObj = {
|
|
837
|
+
type: createNode.type
|
|
838
|
+
};
|
|
839
|
+
const bpmnFactory = this.bpmnModeler.get("bpmnFactory");
|
|
840
|
+
const businessObject = bpmnFactory.create(createNode.createType);
|
|
841
|
+
if (createNode.createType === "bpmn:UserTask") {
|
|
842
|
+
const loopCharacteristicsObject = moddle.create("bpmn:MultiInstanceLoopCharacteristics");
|
|
843
|
+
businessObject.loopCharacteristics = loopCharacteristicsObject;
|
|
844
|
+
businessObject.$attrs["camunda:spStyle"] = "1";
|
|
845
|
+
const spOperate = ["agree", "return", "disagree"];
|
|
846
|
+
businessObject.$attrs["camunda:spOperate"] = JSON.stringify(spOperate);
|
|
847
|
+
} else {
|
|
848
|
+
createObj.typeId = createNode.typeId;
|
|
849
|
+
businessObject.name = createNode.name;
|
|
850
|
+
businessObject.className = createNode.className || "";
|
|
851
|
+
businessObject.img = createNode.img;
|
|
852
|
+
businessObject.$attrs["camunda:formTypeId"] = createNode.typeId;
|
|
853
|
+
}
|
|
854
|
+
const x = element.x + element.width + 150;
|
|
855
|
+
let y = element.y;
|
|
856
|
+
const length = element.outgoing.length;
|
|
857
|
+
if (length > 0) {
|
|
858
|
+
const lastEle = element.outgoing[length - 1].target;
|
|
859
|
+
y = lastEle.y + 100;
|
|
860
|
+
}
|
|
861
|
+
const taskShape = elementFactory.createShape({
|
|
862
|
+
...createObj,
|
|
863
|
+
x,
|
|
864
|
+
y,
|
|
865
|
+
businessObject
|
|
866
|
+
});
|
|
867
|
+
modeling.createShape(taskShape, {
|
|
868
|
+
x,
|
|
869
|
+
y: y + 40
|
|
870
|
+
}, canvas.getRootElement());
|
|
871
|
+
const sequenceFlow = elementFactory.createConnection({
|
|
872
|
+
type: "bpmn:SequenceFlow",
|
|
873
|
+
source: element,
|
|
874
|
+
target: taskShape
|
|
875
|
+
// waypoints: [ // 连线的路径点
|
|
876
|
+
// { x: element.x + element.width, y: element.y + element.height / 2 },
|
|
877
|
+
// { x: taskShape.x, y: taskShape.y + taskShape.height / 2 }
|
|
878
|
+
// ]
|
|
879
|
+
});
|
|
880
|
+
modeling.createConnection(element, taskShape, sequenceFlow, canvas.getRootElement());
|
|
881
|
+
}
|
|
882
|
+
this.popoverVisiable = false;
|
|
883
|
+
this.hiddenNodeTools();
|
|
884
|
+
},
|
|
885
|
+
connectNode() {
|
|
886
|
+
const element = this.nodeElement;
|
|
887
|
+
const connectTool = this.bpmnModeler.get("connect");
|
|
888
|
+
connectTool.start(event, element);
|
|
889
|
+
this.hiddenNodeTools();
|
|
890
|
+
},
|
|
891
|
+
deleteNode() {
|
|
892
|
+
const modeling = this.bpmnModeler.get("modeling");
|
|
893
|
+
modeling.removeElements([this.nodeElement]);
|
|
894
|
+
this.nodeElement = null;
|
|
895
|
+
const nodeTools = this.$refs.nodeTools;
|
|
896
|
+
nodeTools.style.display = "none";
|
|
897
|
+
},
|
|
898
|
+
getProcessInfo() {
|
|
899
|
+
this.$http.get({
|
|
900
|
+
entityId: this.$metaId,
|
|
901
|
+
id: this.$query.id
|
|
902
|
+
}).then((data) => {
|
|
903
|
+
if (data && data.data) {
|
|
904
|
+
const {
|
|
905
|
+
META_INFO
|
|
906
|
+
} = data.data;
|
|
907
|
+
this.processInfo = {
|
|
908
|
+
...data.data
|
|
909
|
+
};
|
|
910
|
+
if (this.processInfo.CATEGORY === "2") {
|
|
911
|
+
this.nodeArr = this.nodeArr.map((item) => {
|
|
912
|
+
if (item.code === "model" && item.children) {
|
|
913
|
+
item.children = item.children.filter((child) => child.type !== "bpmn:UserTask");
|
|
914
|
+
}
|
|
915
|
+
return item;
|
|
916
|
+
});
|
|
917
|
+
} else {
|
|
918
|
+
this.nodeArr = this.nodeArr.filter((item) => item.code === "model");
|
|
919
|
+
}
|
|
920
|
+
this.leftNodeArr = [...this.nodeArr];
|
|
921
|
+
this.nodeToolsArr = [...this.nodeArr];
|
|
922
|
+
if (META_INFO) {
|
|
923
|
+
this.processExtendInfo = JSON.parse(META_INFO);
|
|
924
|
+
}
|
|
925
|
+
if (this.processInfo.ENTITY) {
|
|
926
|
+
this.$store.dispatch({
|
|
927
|
+
type: ADD_META,
|
|
928
|
+
metaId: this.processInfo.ENTITY
|
|
929
|
+
}).then((meta) => {
|
|
930
|
+
if (this.processInfo.STATE_CODE) {
|
|
931
|
+
this.$store.dispatch({
|
|
932
|
+
type: ADD_LIST,
|
|
933
|
+
key: this.processInfo.STATE_CODE,
|
|
934
|
+
dataType: "list"
|
|
935
|
+
});
|
|
936
|
+
this.statusCodeKey = this.processInfo.STATE_CODE;
|
|
937
|
+
} else {
|
|
938
|
+
const attributes = meta.getAttributes();
|
|
939
|
+
const attribute = Object.values(attributes).find((item) => item.id === this.processInfo.STATUS_FIELD) || {};
|
|
940
|
+
this.statusCodeKey = attribute.codeKey;
|
|
941
|
+
if (this.statusCodeKey) {
|
|
942
|
+
this.$store.dispatch({
|
|
943
|
+
type: ADD_LIST,
|
|
944
|
+
key: attribute.codeKey,
|
|
945
|
+
dataType: "list"
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
});
|
|
953
|
+
},
|
|
954
|
+
saveProcessInfo() {
|
|
955
|
+
const params = {};
|
|
956
|
+
for (const key in this.processInfo) {
|
|
957
|
+
if (!key.includes("#")) {
|
|
958
|
+
params[`bean.${key}`] = this.processInfo[key] || "";
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
const metaInfo = {};
|
|
962
|
+
for (const key in this.processExtendInfo) {
|
|
963
|
+
if (!key.includes("#") || key === "auditorFields#") {
|
|
964
|
+
metaInfo[key] = this.processExtendInfo[key] || "";
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
params["bean.META_INFO"] = JSON.stringify(metaInfo);
|
|
968
|
+
this.$http.update({
|
|
969
|
+
entityId: this.$metaId,
|
|
970
|
+
...params
|
|
971
|
+
});
|
|
972
|
+
},
|
|
973
|
+
getProcess() {
|
|
974
|
+
this.$http.$request({
|
|
975
|
+
action: "getModelEditorXml",
|
|
976
|
+
entityId: this.$metaId,
|
|
977
|
+
modelId: this.$query.id
|
|
978
|
+
}).then((data) => {
|
|
979
|
+
this.xmlStr = data.xml;
|
|
980
|
+
this.createNewDiagram(data.xml);
|
|
981
|
+
}).catch(() => {
|
|
982
|
+
this.createNewDiagram(`<?xml version="1.0" encoding="UTF-8"?>
|
|
983
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_17fimrd" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="7.3.0">
|
|
984
|
+
<bpmn:process id="Process_0ln6l2x" isExecutable="true">
|
|
985
|
+
<bpmn:startEvent id="StartEvent_019dxqo" />
|
|
986
|
+
</bpmn:process>
|
|
987
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
988
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0ln6l2x">
|
|
989
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_019dxqo">
|
|
990
|
+
<dc:Bounds x="156" y="81" width="36" height="36" />
|
|
991
|
+
</bpmndi:BPMNShape>
|
|
992
|
+
</bpmndi:BPMNPlane>
|
|
993
|
+
</bpmndi:BPMNDiagram>
|
|
994
|
+
</bpmn:definitions>
|
|
995
|
+
`);
|
|
996
|
+
this.$message.error("初始化失败");
|
|
997
|
+
});
|
|
998
|
+
},
|
|
999
|
+
publishProcess() {
|
|
1000
|
+
return this.$http.save({
|
|
1001
|
+
action: "publish",
|
|
1002
|
+
entityId: this.$metaId,
|
|
1003
|
+
id: this.processInfo.ID
|
|
1004
|
+
}).catch((err) => {
|
|
1005
|
+
this.$message.error(err.message);
|
|
1006
|
+
});
|
|
1007
|
+
},
|
|
1008
|
+
submit(publish) {
|
|
1009
|
+
this.saveProcessInfo();
|
|
1010
|
+
this.$http.save({
|
|
1011
|
+
action: "updateModel",
|
|
1012
|
+
entityId: this.$metaId,
|
|
1013
|
+
modelId: this.$query.id,
|
|
1014
|
+
xml: this.xmlStr
|
|
1015
|
+
}).then(async () => {
|
|
1016
|
+
if (publish) await this.publishProcess();
|
|
1017
|
+
this.$message.success(publish ? "保存并发布成功" : "保存成功");
|
|
1018
|
+
this.backPage({
|
|
1019
|
+
reload: true
|
|
1020
|
+
});
|
|
1021
|
+
}).catch((err) => {
|
|
1022
|
+
this.$message.error(err.message);
|
|
1023
|
+
});
|
|
1024
|
+
},
|
|
1025
|
+
async getBusinessMeta() {
|
|
1026
|
+
const {
|
|
1027
|
+
businessMetaId
|
|
1028
|
+
} = this.$query;
|
|
1029
|
+
this.$store.dispatch({
|
|
1030
|
+
type: "ADD_META_VIEW_FIELDS",
|
|
1031
|
+
metaId: businessMetaId
|
|
1032
|
+
}).then((data) => {
|
|
1033
|
+
this.treeFieldStore = data;
|
|
1034
|
+
});
|
|
1035
|
+
let busmeta = null;
|
|
1036
|
+
if (this.metas[businessMetaId]) {
|
|
1037
|
+
busmeta = this.metas[businessMetaId];
|
|
1038
|
+
} else {
|
|
1039
|
+
await this.$store.dispatch({
|
|
1040
|
+
type: "ADD_META",
|
|
1041
|
+
metaId: businessMetaId
|
|
1042
|
+
}).then((meta) => {
|
|
1043
|
+
busmeta = meta;
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
this.$FieldFactory.createFields({
|
|
1047
|
+
meta: busmeta,
|
|
1048
|
+
metaId: businessMetaId
|
|
1049
|
+
}).then((data) => {
|
|
1050
|
+
this.businessMeta = [...data];
|
|
1051
|
+
});
|
|
1052
|
+
},
|
|
1053
|
+
handleNodeClick(event2, node) {
|
|
1054
|
+
this[node.handler](event2, node);
|
|
1055
|
+
},
|
|
1056
|
+
createTask(event2, node) {
|
|
1057
|
+
const createNode = node;
|
|
1058
|
+
const createObj = {
|
|
1059
|
+
type: createNode.type
|
|
1060
|
+
};
|
|
1061
|
+
const elementFactory = this.bpmnModeler.get("elementFactory");
|
|
1062
|
+
const bpmnFactory = this.bpmnModeler.get("bpmnFactory");
|
|
1063
|
+
const moddle = this.bpmnModeler.get("moddle");
|
|
1064
|
+
const businessObject = bpmnFactory.create(createNode.createType);
|
|
1065
|
+
const create = this.bpmnModeler.get("create");
|
|
1066
|
+
if (createNode.createType === "bpmn:UserTask") {
|
|
1067
|
+
const loopCharacteristicsObject = moddle.create("bpmn:MultiInstanceLoopCharacteristics");
|
|
1068
|
+
businessObject.loopCharacteristics = loopCharacteristicsObject;
|
|
1069
|
+
businessObject.$attrs["camunda:spStyle"] = "1";
|
|
1070
|
+
const spOperate = ["agree", "return", "disagree"];
|
|
1071
|
+
businessObject.$attrs["camunda:spOperate"] = JSON.stringify(spOperate);
|
|
1072
|
+
} else {
|
|
1073
|
+
createObj.typeId = createNode.typeId;
|
|
1074
|
+
businessObject.name = createNode.name;
|
|
1075
|
+
businessObject.className = createNode.className || "";
|
|
1076
|
+
businessObject.img = createNode.img;
|
|
1077
|
+
businessObject.$attrs["camunda:formTypeId"] = createNode.typeId;
|
|
1078
|
+
}
|
|
1079
|
+
const taskShape = elementFactory.createShape({
|
|
1080
|
+
...createObj,
|
|
1081
|
+
businessObject
|
|
1082
|
+
});
|
|
1083
|
+
create.start(event2, taskShape);
|
|
1084
|
+
},
|
|
1085
|
+
createTopTask(event2, node) {
|
|
1086
|
+
const {
|
|
1087
|
+
type
|
|
1088
|
+
} = node;
|
|
1089
|
+
const handTool = this.bpmnModeler.get(type);
|
|
1090
|
+
if (type === "handTool") {
|
|
1091
|
+
handTool.activateHand(event2);
|
|
1092
|
+
} else if (type === "lassoTool" || type === "spaceTool") {
|
|
1093
|
+
handTool.activateSelection(event2);
|
|
1094
|
+
} else {
|
|
1095
|
+
handTool.start(event2);
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
platteFoldHandler() {
|
|
1099
|
+
this.popoverVisiable = false;
|
|
1100
|
+
this.setPopoverVisiable = false;
|
|
1101
|
+
this.hiddenNodeTools();
|
|
1102
|
+
this.isFold = !this.isFold;
|
|
1103
|
+
const iconEle = this.$refs.platteFold;
|
|
1104
|
+
iconEle.style.left = this.isFold ? 0 : "220px";
|
|
1105
|
+
const leftTools = this.$refs.leftTools;
|
|
1106
|
+
leftTools.style.left = this.isFold ? "-220px" : 0;
|
|
1107
|
+
},
|
|
1108
|
+
adjustPalette() {
|
|
1109
|
+
try {
|
|
1110
|
+
const canvas = this.$refs.canvas;
|
|
1111
|
+
const paletteService = this.bpmnModeler.get("palette");
|
|
1112
|
+
if (paletteService && !paletteService.isOpen()) paletteService.open();
|
|
1113
|
+
const djsPalette = canvas.querySelector(".djs-palette");
|
|
1114
|
+
const djsPalStyle = {
|
|
1115
|
+
width: "120px",
|
|
1116
|
+
padding: "5px 5px 20px",
|
|
1117
|
+
background: "#fafafa",
|
|
1118
|
+
left: "-120px",
|
|
1119
|
+
borderRadius: "2px",
|
|
1120
|
+
position: "absolute",
|
|
1121
|
+
top: "20px",
|
|
1122
|
+
// bottom: '20px',
|
|
1123
|
+
overflow: "auto",
|
|
1124
|
+
maxHeight: "calc(100% - 40px)"
|
|
1125
|
+
};
|
|
1126
|
+
for (var key in djsPalStyle) {
|
|
1127
|
+
djsPalette.style[key] = djsPalStyle[key];
|
|
1128
|
+
}
|
|
1129
|
+
const palette = djsPalette.querySelector(".djs-palette-entries") || djsPalette.children[0];
|
|
1130
|
+
const allGroups = palette.children;
|
|
1131
|
+
for (var gKey in allGroups) {
|
|
1132
|
+
const group = allGroups[gKey];
|
|
1133
|
+
for (var cKey in group.children) {
|
|
1134
|
+
const control = group.children[cKey];
|
|
1135
|
+
if (control.className && (control.className === "entry bpmn-icon-data-store" || control.className === "entry bpmn-icon-subprocess-expanded" || control.className === "entry bpmn-icon-group" || control.className === "entry bpmn-icon-participant" || control.className === "entry bpmn-icon-data-object")) {
|
|
1136
|
+
continue;
|
|
1137
|
+
}
|
|
1138
|
+
const controlStyle = {
|
|
1139
|
+
display: "flex",
|
|
1140
|
+
justifyContent: "flex-start",
|
|
1141
|
+
alignItems: "center",
|
|
1142
|
+
width: "100%",
|
|
1143
|
+
paddingTop: "5px",
|
|
1144
|
+
paddingBottom: "5px"
|
|
1145
|
+
};
|
|
1146
|
+
if (control.className && control.dataset && control.className.indexOf("entry") !== -1) {
|
|
1147
|
+
control.innerHTML = `<div style='font-size: 10px;margin-left:8px'><p style='line-height: 10px;padding-top:5px'>${control.title}</p></div>`;
|
|
1148
|
+
for (var csKey in controlStyle) {
|
|
1149
|
+
control.style[csKey] = controlStyle[csKey];
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
} catch (e) {
|
|
1155
|
+
console.log(e);
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
created() {
|
|
1160
|
+
if (!menuOwner) menuShowBeforeHide = this.$store.state.config.showMenu !== false;
|
|
1161
|
+
menuOwner = this;
|
|
1162
|
+
this.$store.commit(SWITCH_MENU_SHOW, false);
|
|
1163
|
+
this.getProcessInfo();
|
|
1164
|
+
this.getBusinessMeta();
|
|
1165
|
+
},
|
|
1166
|
+
mounted() {
|
|
1167
|
+
__compatRequireEnsure([], () => {
|
|
1168
|
+
const BpmnViewer = __cjsReq11;
|
|
1169
|
+
const BpmnModeler = __cjsReq12;
|
|
1170
|
+
const camundaModdleDescriptor = __cjsReq1$1;
|
|
1171
|
+
const customTranslate$1 = customTranslate;
|
|
1172
|
+
const customModule = __cjsReq15;
|
|
1173
|
+
this.initBpmn({
|
|
1174
|
+
BpmnViewer,
|
|
1175
|
+
BpmnModeler,
|
|
1176
|
+
camundaModdleDescriptor,
|
|
1177
|
+
customTranslate: customTranslate$1,
|
|
1178
|
+
customModule
|
|
1179
|
+
});
|
|
1180
|
+
this.addEventListeners();
|
|
1181
|
+
this.initSvg();
|
|
1182
|
+
this.adjustPalette();
|
|
1183
|
+
this.getProcess();
|
|
1184
|
+
});
|
|
1185
|
+
},
|
|
1186
|
+
beforeUnmount() {
|
|
1187
|
+
if (menuOwner !== this) return;
|
|
1188
|
+
menuOwner = null;
|
|
1189
|
+
if (this.$store.state.config.showMenu === false) {
|
|
1190
|
+
this.$store.commit(SWITCH_MENU_SHOW, menuShowBeforeHide);
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
};
|
|
1194
|
+
export {
|
|
1195
|
+
_sfc_main as default
|
|
1196
|
+
};
|