@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,1713 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="container">
|
|
3
|
+
<!-- 导航 -->
|
|
4
|
+
<div class="report-header">
|
|
5
|
+
<div class="report-title">
|
|
6
|
+
<i class="report-back el-icon-arrow-left" @click="backPage"></i>
|
|
7
|
+
<span class="report-name">
|
|
8
|
+
<span>{{processInfo.NAME}}</span>
|
|
9
|
+
</span>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="report-operate">
|
|
12
|
+
<el-button v-if="isLogicFlow" size="default" :loading="testLoading" @click="openTest"><i class="el-icon-cpu"></i> 测试</el-button>
|
|
13
|
+
<el-button size="default" @click="processSetting"><i class="el-icon-setting"></i> 流程设置</el-button>
|
|
14
|
+
<el-button size="default" type="primary" @click="submit(false)">保存</el-button>
|
|
15
|
+
<el-button size="default" type="primary" @click="submit(true)">保存并发布</el-button>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="containers" ref="content">
|
|
19
|
+
<div class="left-tools" ref="leftTools">
|
|
20
|
+
<div class="tools-search-con">
|
|
21
|
+
<el-input v-model="leftNodesSearchText" @change="searchLeftNodes" clearable placeholder="请输入" suffix-icon="el-icon-search"></el-input>
|
|
22
|
+
</div>
|
|
23
|
+
<div v-for="group in leftNodeArr" :key="group.code">
|
|
24
|
+
<div class="group-name">{{group.name}}</div>
|
|
25
|
+
<div @click="handleNodeClick($event,node)" class="left-tools-item" v-for="(node,index) in group.children" :key="index">
|
|
26
|
+
<div class="left-tools-icon" :style="{background:group.groupColor}"><i :class="node.className"></i></div>
|
|
27
|
+
<div>{{node.name}}</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="node-tools" ref="nodeTools">
|
|
32
|
+
<el-popover
|
|
33
|
+
title=""
|
|
34
|
+
width="400"
|
|
35
|
+
ref="popover"
|
|
36
|
+
trigger="manual"
|
|
37
|
+
placement="right-start"
|
|
38
|
+
v-model:visible="popoverVisiable"
|
|
39
|
+
>
|
|
40
|
+
<div class="node-tools-content">
|
|
41
|
+
<div class="tools-search-con">
|
|
42
|
+
<el-input v-model="nodeToolsSearchTexr" @change="searchNodesTools" clearable placeholder="请输入" suffix-icon="el-icon-search"></el-input>
|
|
43
|
+
</div>
|
|
44
|
+
<div v-for="group in nodeToolsArr" :key="group.code">
|
|
45
|
+
<div class="group-name">{{group.name}}</div>
|
|
46
|
+
<div class="group-children">
|
|
47
|
+
<div @click="addNode(node)" class="node-tools-item left-tools-item" v-for="(node,index) in group.children" :key="index">
|
|
48
|
+
<div class="left-tools-icon" :style="{background:group.groupColor}"><i :class="node.className"></i></div>
|
|
49
|
+
<div>{{node.name}}</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</el-popover>
|
|
55
|
+
<el-popover
|
|
56
|
+
title=""
|
|
57
|
+
width="100"
|
|
58
|
+
ref="popoverset"
|
|
59
|
+
trigger="manual"
|
|
60
|
+
placement="right-start"
|
|
61
|
+
v-model:visible="setPopoverVisiable"
|
|
62
|
+
>
|
|
63
|
+
<div class="set-type-content">
|
|
64
|
+
<div @click="editNodeTypeHandler(node)" class="left-tools-item" v-for="(node,index) in editNodeTypeArr" :key="index">
|
|
65
|
+
<div class="left-tools-icon" ><i :class="node.icon"></i></div>
|
|
66
|
+
<div>{{node.name}}</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</el-popover>
|
|
70
|
+
<div class="node-tools-add-icon" v-popover:popoverset v-if="nodeElement&&nodeElement.type.includes('Gateway')" @click="clickShowsetPopover"><i class="el-icon-s-tools"></i></div>
|
|
71
|
+
<div class="node-tools-add-icon" v-popover:popover v-if="nodeElement&&nodeElement.type !== 'bpmn:SequenceFlow'" @click="clickShowPopover"><i class="el-icon-circle-plus"></i></div>
|
|
72
|
+
<div class="node-tools-add-icon" @click="connectNode" v-if="nodeElement&&nodeElement.type !== 'bpmn:SequenceFlow'"><i class="epx-icon-lianjie1"></i></div>
|
|
73
|
+
<div class="node-tools-delete-icon" @click="deleteNode" v-if="nodeElement&&nodeElement.type !== 'bpmn:StartEvent'"><i class="el-icon-delete-solid"></i></div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="palette-fold" @click="platteFoldHandler" ref="platteFold"><i :class="{'el-icon-s-unfold':isFold,'el-icon-s-fold':!isFold}"></i></div>
|
|
76
|
+
<div class="canvas" ref="canvas"></div>
|
|
77
|
+
<!-- <el-drawer
|
|
78
|
+
:visible.sync="drawer"
|
|
79
|
+
:with-header="false"
|
|
80
|
+
size="500px"
|
|
81
|
+
> -->
|
|
82
|
+
<div id="properties-panel">
|
|
83
|
+
<epx-properties-view v-if="bpmnModeler" class="epx-properties-panel" ref="propertiesPanel" :modeler="bpmnModeler" :businessMetaId="$query.businessMetaId" :businessMeta="businessMeta" :treeFieldStore="treeFieldStore"
|
|
84
|
+
:nodeArr="nodeArr"
|
|
85
|
+
:statusCodeKey="statusCodeKey" :processInfo="processInfo" @update:processInfo="(v) => (processInfo = { ...processInfo, ...v })"
|
|
86
|
+
:processExtendInfo="processExtendInfo" @closePanel="closePanel" @update:processExtendInfo="(v) => (processExtendInfo = { ...processExtendInfo, ...v })"
|
|
87
|
+
></epx-properties-view>
|
|
88
|
+
</div>
|
|
89
|
+
<!-- </el-drawer> -->
|
|
90
|
+
</div>
|
|
91
|
+
<!-- <div v-html="svg"></div> -->
|
|
92
|
+
<el-dialog class="dialog__only__content" v-model="dialogVisible" :width="pageMetaId === 'FM_RIGHT' ? '50%' : '70%'">
|
|
93
|
+
<epx-page v-if="dialogVisible" :class="pageMetaId === 'FM_RIGHT' ? 'tree_find' : 'find'" :flag="pageMetaId === 'FM_RIGHT' ? 'v_tree_find' : 'v_find'" :fieldConfig="{ codeKey: pageMetaId }"
|
|
94
|
+
:metaId="pageMetaId" :component="
|
|
95
|
+
pageMetaId === 'FM_RIGHT' ? 'entity-tree-find' : 'entity-find'
|
|
96
|
+
" :change="changeSelect" />
|
|
97
|
+
</el-dialog>
|
|
98
|
+
<!-- 逻辑编排测试 -->
|
|
99
|
+
<epx-bpmn-test-dialog
|
|
100
|
+
v-model:visible="testVisible"
|
|
101
|
+
:process-info="processInfo"
|
|
102
|
+
:in-param-data="testInParamData"
|
|
103
|
+
:business-meta="businessMeta"
|
|
104
|
+
:business-meta-id="$query.businessMetaId"
|
|
105
|
+
:business-meta-name="businessMetaName"
|
|
106
|
+
:tree-field-store="treeFieldStore"
|
|
107
|
+
></epx-bpmn-test-dialog>
|
|
108
|
+
</div>
|
|
109
|
+
</template>
|
|
110
|
+
|
|
111
|
+
<script>
|
|
112
|
+
// 引入相关的依赖
|
|
113
|
+
import { markRaw } from 'vue'
|
|
114
|
+
import { SWITCH_MENU_SHOW, ADD_LIST, ADD_META } from '@epxing/core/src/store/actions'
|
|
115
|
+
|
|
116
|
+
// 「谁最后一个把菜单藏起来,谁才有资格还原」——模块级所有权令牌。
|
|
117
|
+
//
|
|
118
|
+
// 为什么需要它:菜单显隐是**全局**状态,而「卸载」不等于「用户离开了本页」。多标签场景下
|
|
119
|
+
// 关掉一个后台标签、或标签数超过 MOUNTED_TAB_MAX 被 LRU 淘汰内容,都会走 beforeUnmount;
|
|
120
|
+
// 那时若无条件还原,会把用户当前正在看的那个页面的菜单一起弹出来。
|
|
121
|
+
//
|
|
122
|
+
// ⚠️ 上一版用的判据是「本页此刻在 DOM 里可见」($el.getClientRects().length > 0),
|
|
123
|
+
// 那个判据**在正常的「点返回」路径上永远为假**,还原因此成了死代码——用户实测:
|
|
124
|
+
// 系统配置中心 → 进流程 → 返回,左侧菜单再也不出来。原因见 RouterView.destoryPage 的注释:
|
|
125
|
+
// 被关掉的那一页要等这次渲染刷完、**被 KeepAlive deactivate 进缓存**之后才真卸载,
|
|
126
|
+
// 而 deactivate 会把它的 DOM 移进 KeepAlive 的游离存储容器 —— 游离元素没有任何 client rect。
|
|
127
|
+
// 于是「后台标签」和「用户刚离开的当前页」在这个判据下长得一模一样,分不开。
|
|
128
|
+
//
|
|
129
|
+
// 所有权令牌不依赖 DOM/布局,两种情形天然分得开:后台标签被淘汰时令牌早已易主,直接放弃还原。
|
|
130
|
+
let menuOwner = null
|
|
131
|
+
// 第一个隐藏者进来**之前**的菜单显隐。只在无人持有时采集:否则第二个流程页会采到
|
|
132
|
+
// 已被前一个改成的 false,等它离开时又把 false 还原回去,菜单依旧不出来。
|
|
133
|
+
let menuShowBeforeHide = true
|
|
134
|
+
|
|
135
|
+
export default {
|
|
136
|
+
name: 'epx-bpmn',
|
|
137
|
+
style: {
|
|
138
|
+
margin: '0'
|
|
139
|
+
},
|
|
140
|
+
data () {
|
|
141
|
+
return {
|
|
142
|
+
// bpmn建模器
|
|
143
|
+
bpmnModeler: null,
|
|
144
|
+
container: null,
|
|
145
|
+
canvas: null,
|
|
146
|
+
xmlStr: null,
|
|
147
|
+
processName: '',
|
|
148
|
+
dialogVisible: false,
|
|
149
|
+
svg: null,
|
|
150
|
+
bpmnData: [],
|
|
151
|
+
processInfo: {},
|
|
152
|
+
processExtendInfo: {},
|
|
153
|
+
statusCodeKey: '',
|
|
154
|
+
businessMeta: [],
|
|
155
|
+
treeFieldStore: [],
|
|
156
|
+
isFold: true,
|
|
157
|
+
nodeArr: [
|
|
158
|
+
{
|
|
159
|
+
name: '流程节点',
|
|
160
|
+
code: 'model',
|
|
161
|
+
groupColor: '#FFA300',
|
|
162
|
+
children: [
|
|
163
|
+
{
|
|
164
|
+
group: 'model',
|
|
165
|
+
className: 'epx-icon-wangguan',
|
|
166
|
+
createType: 'bpmn:ExclusiveGateway',
|
|
167
|
+
type: 'bpmn:ExclusiveGateway',
|
|
168
|
+
name: '网关',
|
|
169
|
+
handler: 'createTask'
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
group: 'model',
|
|
173
|
+
className: 'el-icon-video-play',
|
|
174
|
+
createType: 'bpmn:InclusiveGateway',
|
|
175
|
+
type: 'bpmn:InclusiveGateway',
|
|
176
|
+
name: '循环开始',
|
|
177
|
+
img: require('../components/custom-bpmn/img/xunhuanstart.png'),
|
|
178
|
+
typeId: '11',
|
|
179
|
+
handler: 'createTask'
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
group: 'model',
|
|
183
|
+
className: 'epx-icon-jieshu',
|
|
184
|
+
createType: 'bpmn:InclusiveGateway',
|
|
185
|
+
type: 'bpmn:InclusiveGateway',
|
|
186
|
+
name: '循环结束',
|
|
187
|
+
img: require('../components/custom-bpmn/img/xunhuanend.png'),
|
|
188
|
+
typeId: '12',
|
|
189
|
+
handler: 'createTask'
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
group: 'model',
|
|
193
|
+
className: 'epx-icon-jieshu',
|
|
194
|
+
createType: 'bpmn:ManualTask',
|
|
195
|
+
type: 'bpmn:ManualTask',
|
|
196
|
+
name: '循环中断',
|
|
197
|
+
img: require('../components/custom-bpmn/img/xunhuanend.png'),
|
|
198
|
+
typeId: '29',
|
|
199
|
+
handler: 'createTask'
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
group: 'model',
|
|
203
|
+
className: 'epx-icon-yonghurenwu',
|
|
204
|
+
createType: 'bpmn:UserTask',
|
|
205
|
+
type: 'bpmn:UserTask',
|
|
206
|
+
name: '用户任务',
|
|
207
|
+
handler: 'createTask'
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
group: 'model',
|
|
211
|
+
className: 'epx-icon-jieshu',
|
|
212
|
+
createType: 'bpmn:EndEvent',
|
|
213
|
+
type: 'bpmn:EndEvent',
|
|
214
|
+
name: '结束',
|
|
215
|
+
handler: 'createTask'
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: '大模型能力',
|
|
221
|
+
code: 'ai',
|
|
222
|
+
groupColor: '#00B389',
|
|
223
|
+
children: [
|
|
224
|
+
{
|
|
225
|
+
group: 'ai',
|
|
226
|
+
className: 'el-icon-s-opportunity',
|
|
227
|
+
createType: 'bpmn:ManualTask',
|
|
228
|
+
type: 'bpmn:ManualTask',
|
|
229
|
+
name: '大模型访问',
|
|
230
|
+
img: require('../components/custom-bpmn/img/xinzeng.png'),
|
|
231
|
+
typeId: '14',
|
|
232
|
+
handler: 'createTask'
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
group: 'ai',
|
|
236
|
+
className: 'el-icon-s-opportunity',
|
|
237
|
+
createType: 'bpmn:ManualTask',
|
|
238
|
+
type: 'bpmn:ManualTask',
|
|
239
|
+
name: '对象识别',
|
|
240
|
+
img: require('../components/custom-bpmn/img/xinzeng.png'),
|
|
241
|
+
typeId: '32',
|
|
242
|
+
handler: 'createTask'
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
group: 'ai',
|
|
246
|
+
className: 'el-icon-s-management',
|
|
247
|
+
createType: 'bpmn:ManualTask',
|
|
248
|
+
type: 'bpmn:ManualTask',
|
|
249
|
+
name: '知识库检索',
|
|
250
|
+
img: require('../components/custom-bpmn/img/xinzeng.png'),
|
|
251
|
+
typeId: '15',
|
|
252
|
+
handler: 'createTask'
|
|
253
|
+
},
|
|
254
|
+
// 外部接口
|
|
255
|
+
{
|
|
256
|
+
group: 'ai',
|
|
257
|
+
className: 'el-icon-chat-line-round',
|
|
258
|
+
createType: 'bpmn:ManualTask',
|
|
259
|
+
type: 'bpmn:ManualTask',
|
|
260
|
+
name: '对话输出',
|
|
261
|
+
img: require('../components/custom-bpmn/img/fasong.png'),
|
|
262
|
+
typeId: '16',
|
|
263
|
+
handler: 'createTask'
|
|
264
|
+
},
|
|
265
|
+
// 条件生成
|
|
266
|
+
{
|
|
267
|
+
group: 'ai',
|
|
268
|
+
className: 'el-icon-document-checked',
|
|
269
|
+
createType: 'bpmn:ManualTask',
|
|
270
|
+
type: 'bpmn:ManualTask',
|
|
271
|
+
name: '条件生成',
|
|
272
|
+
img: require('../components/custom-bpmn/img/chaxun.png'),
|
|
273
|
+
typeId: '31',
|
|
274
|
+
handler: 'createTask'
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: '数据操作',
|
|
280
|
+
code: 'definetask',
|
|
281
|
+
groupColor: '#00B389',
|
|
282
|
+
children: [
|
|
283
|
+
{
|
|
284
|
+
group: 'definetask',
|
|
285
|
+
className: 'el-icon-s-tools',
|
|
286
|
+
createType: 'bpmn:ManualTask',
|
|
287
|
+
type: 'bpmn:ManualTask',
|
|
288
|
+
name: '参数加工',
|
|
289
|
+
img: require('../components/custom-bpmn/img/jiagong.png'),
|
|
290
|
+
typeId: '17',
|
|
291
|
+
docId: 'C07980E630414E92A9C70DD4B1A056E5',
|
|
292
|
+
handler: 'createTask'
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
group: 'definetask',
|
|
296
|
+
className: 'el-icon-search',
|
|
297
|
+
createType: 'bpmn:ManualTask',
|
|
298
|
+
type: 'bpmn:ManualTask',
|
|
299
|
+
name: '单条查询',
|
|
300
|
+
img: require('../components/custom-bpmn/img/chaxun.png'),
|
|
301
|
+
typeId: '19',
|
|
302
|
+
docId: 'C07980E630414E92A9C70DD4B1A056E5',
|
|
303
|
+
handler: 'createTask'
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
group: 'definetask',
|
|
307
|
+
className: 'el-icon-search',
|
|
308
|
+
createType: 'bpmn:ManualTask',
|
|
309
|
+
type: 'bpmn:ManualTask',
|
|
310
|
+
name: '多条查询',
|
|
311
|
+
img: require('../components/custom-bpmn/img/chaxun.png'),
|
|
312
|
+
typeId: '20',
|
|
313
|
+
docId: '9E22963612764220B1721DDD0E034443',
|
|
314
|
+
handler: 'createTask'
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
group: 'definetask',
|
|
318
|
+
className: 'el-icon-plus',
|
|
319
|
+
createType: 'bpmn:ManualTask',
|
|
320
|
+
type: 'bpmn:ManualTask',
|
|
321
|
+
name: '新增记录',
|
|
322
|
+
img: require('../components/custom-bpmn/img/xinzeng.png'),
|
|
323
|
+
typeId: '1',
|
|
324
|
+
docId: 'DCD5924EE5F34D5DBDC393B5D9289CA8',
|
|
325
|
+
handler: 'createTask'
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
group: 'definetask',
|
|
329
|
+
className: 'el-icon-refresh',
|
|
330
|
+
createType: 'bpmn:ManualTask',
|
|
331
|
+
type: 'bpmn:ManualTask',
|
|
332
|
+
name: '编辑记录',
|
|
333
|
+
img: require('../components/custom-bpmn/img/gengxin.png'),
|
|
334
|
+
typeId: '3',
|
|
335
|
+
docId: '9AB882C8E9C5489FBF151460620925AE',
|
|
336
|
+
handler: 'createTask'
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
group: 'definetask',
|
|
340
|
+
className: 'el-icon-document-copy',
|
|
341
|
+
createType: 'bpmn:ManualTask',
|
|
342
|
+
type: 'bpmn:ManualTask',
|
|
343
|
+
name: '数据复制',
|
|
344
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
345
|
+
typeId: '21',
|
|
346
|
+
docId: '44EAE3CF6FA74AB395E8531C5CD80268',
|
|
347
|
+
handler: 'createTask'
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
group: 'definetask',
|
|
351
|
+
className: 'el-icon-delete-solid',
|
|
352
|
+
createType: 'bpmn:ManualTask',
|
|
353
|
+
type: 'bpmn:ManualTask',
|
|
354
|
+
name: '数据删除',
|
|
355
|
+
img: require('../components/custom-bpmn/img/shanchu.png'),
|
|
356
|
+
typeId: '2',
|
|
357
|
+
docId: 'B4FB747C452542A88D36531B67DB2BF9',
|
|
358
|
+
handler: 'createTask'
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
group: 'definetask',
|
|
362
|
+
className: 'el-icon-upload',
|
|
363
|
+
createType: 'bpmn:ManualTask',
|
|
364
|
+
type: 'bpmn:ManualTask',
|
|
365
|
+
name: '数据同步',
|
|
366
|
+
img: require('../components/custom-bpmn/img/tongbu.png'),
|
|
367
|
+
typeId: '4',
|
|
368
|
+
docId: '5666183BE58F435391582CC5C8345929',
|
|
369
|
+
handler: 'createTask'
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
group: 'definetask',
|
|
373
|
+
className: 'el-icon-upload',
|
|
374
|
+
createType: 'bpmn:ManualTask',
|
|
375
|
+
type: 'bpmn:ManualTask',
|
|
376
|
+
name: '数据转换',
|
|
377
|
+
img: require('../components/custom-bpmn/img/tongbu.png'),
|
|
378
|
+
typeId: '24',
|
|
379
|
+
docId: 'CF50E039192F46E3BA47774C952F1F4C',
|
|
380
|
+
handler: 'createTask'
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
group: 'definetask',
|
|
384
|
+
className: 'el-icon-document-copy',
|
|
385
|
+
createType: 'bpmn:ManualTask',
|
|
386
|
+
type: 'bpmn:ManualTask',
|
|
387
|
+
name: '批量操作',
|
|
388
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
389
|
+
typeId: '25',
|
|
390
|
+
docId: 'AE8DCB6156094CE387BC32DCB3674C0E',
|
|
391
|
+
handler: 'createTask'
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
group: 'definetask',
|
|
395
|
+
className: 'el-icon-search',
|
|
396
|
+
createType: 'bpmn:ManualTask',
|
|
397
|
+
type: 'bpmn:ManualTask',
|
|
398
|
+
name: '数据统计',
|
|
399
|
+
img: require('../components/custom-bpmn/img/chaxun.png'),
|
|
400
|
+
typeId: '27',
|
|
401
|
+
handler: 'createTask'
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
group: 'definetask',
|
|
405
|
+
className: 'el-icon-refresh',
|
|
406
|
+
createType: 'bpmn:ManualTask',
|
|
407
|
+
type: 'bpmn:ManualTask',
|
|
408
|
+
name: '对象转换',
|
|
409
|
+
img: require('../components/custom-bpmn/img/gengxin.png'),
|
|
410
|
+
typeId: '28',
|
|
411
|
+
handler: 'createTask'
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
name: '审批流程',
|
|
417
|
+
code: 'handlertask',
|
|
418
|
+
groupColor: '#00B389',
|
|
419
|
+
children: [
|
|
420
|
+
{
|
|
421
|
+
group: 'handlertask',
|
|
422
|
+
className: 'el-icon-s-promotion',
|
|
423
|
+
createType: 'bpmn:ManualTask',
|
|
424
|
+
type: 'bpmn:ManualTask',
|
|
425
|
+
name: '发起流程',
|
|
426
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
427
|
+
typeId: '10',
|
|
428
|
+
docId: 'AFA250D6C4814FF5B7E6C82227A3BAA6',
|
|
429
|
+
handler: 'createTask'
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
group: 'handlertask',
|
|
433
|
+
className: 'epx-icon-pingtaijiekou',
|
|
434
|
+
createType: 'bpmn:ManualTask',
|
|
435
|
+
type: 'bpmn:ManualTask',
|
|
436
|
+
name: '外部接口',
|
|
437
|
+
img: require('../components/custom-bpmn/img/jiekou.png'),
|
|
438
|
+
typeId: '23',
|
|
439
|
+
docId: '097C269014BD45A8A2A9E28143C40E68',
|
|
440
|
+
handler: 'createTask'
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
group: 'handlertask',
|
|
444
|
+
className: 'el-icon-s-order',
|
|
445
|
+
createType: 'bpmn:ManualTask',
|
|
446
|
+
type: 'bpmn:ManualTask',
|
|
447
|
+
name: '调用业务规则',
|
|
448
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
449
|
+
typeId: '9',
|
|
450
|
+
docId: 'CE540E8864D24FD0AC9A281F5B02F1CE',
|
|
451
|
+
handler: 'createTask'
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
group: 'handlertask',
|
|
455
|
+
className: 'el-icon-s-order',
|
|
456
|
+
createType: 'bpmn:ManualTask',
|
|
457
|
+
type: 'bpmn:ManualTask',
|
|
458
|
+
name: '流程审批',
|
|
459
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
460
|
+
typeId: '22',
|
|
461
|
+
docId: 'D5E1A7B3271C4AAFA9C18EAE504F8C0A',
|
|
462
|
+
handler: 'createTask'
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: '其他节点',
|
|
468
|
+
code: 'other',
|
|
469
|
+
groupColor: '#00B389',
|
|
470
|
+
children: [
|
|
471
|
+
{
|
|
472
|
+
group: 'other',
|
|
473
|
+
className: 'el-icon-s-comment',
|
|
474
|
+
createType: 'bpmn:ManualTask',
|
|
475
|
+
type: 'bpmn:ManualTask',
|
|
476
|
+
name: '消息发送',
|
|
477
|
+
img: require('../components/custom-bpmn/img/fasong.png'),
|
|
478
|
+
typeId: '7',
|
|
479
|
+
docId: '6D3FFC1563004FD5B5EF8364032C9970',
|
|
480
|
+
handler: 'createTask'
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
group: 'other',
|
|
484
|
+
className: 'epx-icon-tongzhi',
|
|
485
|
+
createType: 'bpmn:ManualTask',
|
|
486
|
+
type: 'bpmn:ManualTask',
|
|
487
|
+
name: '消息队列',
|
|
488
|
+
img: require('../components/custom-bpmn/img/fasong.png'),
|
|
489
|
+
typeId: '13',
|
|
490
|
+
docId: '3B97708EAD444FA1ADD0FEF3E58BCF5A',
|
|
491
|
+
handler: 'createTask'
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
group: 'other',
|
|
495
|
+
className: 'el-icon-chat-line-round',
|
|
496
|
+
createType: 'bpmn:ManualTask',
|
|
497
|
+
type: 'bpmn:ManualTask',
|
|
498
|
+
name: '参数输出',
|
|
499
|
+
img: require('../components/custom-bpmn/img/fasong.png'),
|
|
500
|
+
typeId: '18',
|
|
501
|
+
docId: '9ECDD2D622B24C43965D4C712E8C96BF',
|
|
502
|
+
handler: 'createTask'
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
group: 'definetask',
|
|
506
|
+
className: 'el-icon-document-copy',
|
|
507
|
+
createType: 'bpmn:ManualTask',
|
|
508
|
+
type: 'bpmn:ManualTask',
|
|
509
|
+
name: '登录',
|
|
510
|
+
img: require('../components/custom-bpmn/img/ywgz.png'),
|
|
511
|
+
typeId: '26',
|
|
512
|
+
docId: 'DBA580EA3F73464A9C808185C206819D',
|
|
513
|
+
handler: 'createTask'
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
name: '兼容节点(不推荐再使用)',
|
|
519
|
+
code: 'jrjd',
|
|
520
|
+
groupColor: '#00B389',
|
|
521
|
+
children: [
|
|
522
|
+
{
|
|
523
|
+
group: 'jrjd',
|
|
524
|
+
className: 'el-icon-search',
|
|
525
|
+
createType: 'bpmn:ManualTask',
|
|
526
|
+
type: 'bpmn:ManualTask',
|
|
527
|
+
name: '数据查询',
|
|
528
|
+
img: require('../components/custom-bpmn/img/chaxun.png'),
|
|
529
|
+
typeId: '6',
|
|
530
|
+
handler: 'createTask'
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
group: 'jrjd',
|
|
534
|
+
className: 'el-icon-s-tools',
|
|
535
|
+
createType: 'bpmn:ManualTask',
|
|
536
|
+
type: 'bpmn:ManualTask',
|
|
537
|
+
name: '数据加工',
|
|
538
|
+
img: require('../components/custom-bpmn/img/jiagong.png'),
|
|
539
|
+
typeId: '5',
|
|
540
|
+
handler: 'createTask'
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
group: 'handlertask',
|
|
544
|
+
className: 'epx-icon-pingtaijiekou',
|
|
545
|
+
createType: 'bpmn:ManualTask',
|
|
546
|
+
type: 'bpmn:ManualTask',
|
|
547
|
+
name: '调用接口',
|
|
548
|
+
img: require('../components/custom-bpmn/img/jiekou.png'),
|
|
549
|
+
typeId: '8',
|
|
550
|
+
handler: 'createTask'
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
leftNodeArr: [],
|
|
556
|
+
nodeToolsArr: [],
|
|
557
|
+
hoverTimeout: null,
|
|
558
|
+
nodeElement: null,
|
|
559
|
+
popoverVisiable: false,
|
|
560
|
+
setPopoverVisiable: false,
|
|
561
|
+
leftNodesSearchText: '',
|
|
562
|
+
nodeToolsSearchTexr: '',
|
|
563
|
+
editNodeType: {
|
|
564
|
+
Gateway: [
|
|
565
|
+
{
|
|
566
|
+
name: '互斥网关',
|
|
567
|
+
type: 'bpmn:ExclusiveGateway',
|
|
568
|
+
icon: 'el-icon-orange'
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
name: '并行网关',
|
|
572
|
+
type: 'bpmn:ParallelGateway',
|
|
573
|
+
icon: 'el-icon-orange'
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
name: '包容网关',
|
|
577
|
+
type: 'bpmn:InclusiveGateway',
|
|
578
|
+
icon: 'el-icon-orange'
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
name: '事件网关',
|
|
582
|
+
type: 'bpmn:EventBasedGateway',
|
|
583
|
+
icon: 'el-icon-orange'
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
name: '复杂网关',
|
|
587
|
+
type: 'bpmn:ComplexGateway',
|
|
588
|
+
icon: 'el-icon-orange'
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
// BoundaryEvent: [
|
|
592
|
+
// {
|
|
593
|
+
// name: '定时边界事件',
|
|
594
|
+
// type: 'bpmn:TimerEventDefinition',
|
|
595
|
+
// icon: 'el-icon-orange'
|
|
596
|
+
// },
|
|
597
|
+
// {
|
|
598
|
+
// name: '定时中间捕获',
|
|
599
|
+
// type: 'bpmn:IntermediateThrowEvent',
|
|
600
|
+
// icon: 'el-icon-orange'
|
|
601
|
+
// }
|
|
602
|
+
// ]
|
|
603
|
+
},
|
|
604
|
+
editNodeTypeArr: [],
|
|
605
|
+
drawer: false,
|
|
606
|
+
// 逻辑编排测试弹窗
|
|
607
|
+
testVisible: false,
|
|
608
|
+
testInParamData: [],
|
|
609
|
+
// 打开测试前保存流程的 loading
|
|
610
|
+
testLoading: false
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
components: {
|
|
614
|
+
},
|
|
615
|
+
computed: {
|
|
616
|
+
// 是否逻辑编排类型(CATEGORY === '2');普通流程类型不显示测试按钮
|
|
617
|
+
isLogicFlow () {
|
|
618
|
+
return this.processInfo.CATEGORY === '2'
|
|
619
|
+
},
|
|
620
|
+
businessMetaName () {
|
|
621
|
+
const { businessMetaId } = this.$query
|
|
622
|
+
const meta = this.metas && this.metas[businessMetaId]
|
|
623
|
+
return (meta && meta.name) || (this.processInfo && this.processInfo['ENTITY#']) || ''
|
|
624
|
+
},
|
|
625
|
+
pageMetaId () {
|
|
626
|
+
if (this.dialogVisible === 'camunda:assigneePage') {
|
|
627
|
+
return 'FM_PAGE_CONFIG'
|
|
628
|
+
} else if (this.dialogVisible === 'camunda:candidateGroups') {
|
|
629
|
+
return 'FM_ROLE'
|
|
630
|
+
} else if (this.dialogVisible === 'camunda:taskRight') {
|
|
631
|
+
return 'FM_RIGHT'
|
|
632
|
+
} else {
|
|
633
|
+
return 'FM_USER'
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
methods: {
|
|
638
|
+
searchLeftNodes (v) {
|
|
639
|
+
if (v) {
|
|
640
|
+
const arr = []
|
|
641
|
+
this.nodeArr.forEach(item => {
|
|
642
|
+
const obj = { ...item }
|
|
643
|
+
obj.children = item.children.filter(item => item.name.includes(v))
|
|
644
|
+
arr.push(obj)
|
|
645
|
+
})
|
|
646
|
+
this.leftNodeArr = arr.filter(item => item.children.length > 0)
|
|
647
|
+
} else {
|
|
648
|
+
this.leftNodeArr = [...this.nodeArr]
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
searchNodesTools (v) {
|
|
652
|
+
if (v) {
|
|
653
|
+
const arr = []
|
|
654
|
+
this.nodeArr.forEach(item => {
|
|
655
|
+
const obj = { ...item }
|
|
656
|
+
obj.children = item.children.filter(item => item.name.includes(v))
|
|
657
|
+
arr.push(obj)
|
|
658
|
+
})
|
|
659
|
+
this.nodeToolsArr = arr.filter(item => item.children.length > 0)
|
|
660
|
+
} else {
|
|
661
|
+
this.nodeToolsArr = [...this.nodeArr]
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
createNewDiagram (bpmnXmlStr) {
|
|
665
|
+
// 将字符串转换成图显示出来。T35 bpmn-js 6→18:importXML 的回调形态在 v8 移除,只回 Promise。
|
|
666
|
+
// (原回调里还有个笔误 this.$messgae + 普通 function 丢 this —— 报错分支其实从没弹过消息)
|
|
667
|
+
this.bpmnModeler.importXML(bpmnXmlStr).catch(err => {
|
|
668
|
+
console.error(err)
|
|
669
|
+
this.$message.error(String(err && err.message ? err.message : err))
|
|
670
|
+
})
|
|
671
|
+
},
|
|
672
|
+
initSvg () {
|
|
673
|
+
const _this = this
|
|
674
|
+
// 获取a标签dom节点
|
|
675
|
+
const downloadLink = this.$refs.saveDiagram
|
|
676
|
+
const downloadSvgLink = this.$refs.saveSvg
|
|
677
|
+
// 给图绑定事件,当图有发生改变就会触发这个事件
|
|
678
|
+
this.bpmnModeler.on('commandStack.changed', function () {
|
|
679
|
+
_this.saveSVG(function (err, svg) {
|
|
680
|
+
_this.svg = svg
|
|
681
|
+
_this.setEncoded(downloadSvgLink, 'diagram.svg', err ? null : svg)
|
|
682
|
+
})
|
|
683
|
+
|
|
684
|
+
_this.saveDiagram(function (err, xml) {
|
|
685
|
+
_this.setEncoded(downloadLink, 'diagram.bpmn', err ? null : xml)
|
|
686
|
+
})
|
|
687
|
+
})
|
|
688
|
+
},
|
|
689
|
+
// 下载为SVG格式。T35:v8 起 saveSVG 只回 Promise<{svg}> —— 包装内部转接,
|
|
690
|
+
// 对外保持 done(err, svg) 回调公共面(调用方零改动)。
|
|
691
|
+
saveSVG (done) {
|
|
692
|
+
this.bpmnModeler.saveSVG()
|
|
693
|
+
.then(({ svg }) => done(null, svg))
|
|
694
|
+
.catch(err => done(err))
|
|
695
|
+
},
|
|
696
|
+
// 下载 XML。T35:v8 起 saveXML 只回 Promise<{xml}>,同上转接。
|
|
697
|
+
saveDiagram (done) {
|
|
698
|
+
this.bpmnModeler.saveXML({ format: true })
|
|
699
|
+
.then(({ xml }) => done(null, xml))
|
|
700
|
+
.catch(err => done(err))
|
|
701
|
+
},
|
|
702
|
+
// 当图发生改变的时候会调用这个函数,这个data就是图的xml
|
|
703
|
+
setEncoded (link, name, data) {
|
|
704
|
+
// 把xml转换为URI,下载要用到的
|
|
705
|
+
// const encodedData = encodeURIComponent(data)
|
|
706
|
+
this.xmlStr = data
|
|
707
|
+
// if (data) {
|
|
708
|
+
// link.className = 'active'
|
|
709
|
+
// link.href = 'data:application/bpmn20-xml;charset=UTF-8,' + encodedData
|
|
710
|
+
// link.download = name
|
|
711
|
+
// }
|
|
712
|
+
},
|
|
713
|
+
changeSelect (v) {
|
|
714
|
+
// 更改文本框内容
|
|
715
|
+
this.updateProperties({ [this.dialogVisible]: v.id, [this.dialogVisible + '-name']: v.name })
|
|
716
|
+
document.getElementsByName(this.dialogVisible + '-name')[0].value = v.name
|
|
717
|
+
// 设置当前节点属性
|
|
718
|
+
this.dialogVisible = false
|
|
719
|
+
},
|
|
720
|
+
/**
|
|
721
|
+
* 更新元素属性
|
|
722
|
+
* @param { Object } 要更新的属性, 例如 { name: '' }
|
|
723
|
+
*/
|
|
724
|
+
updateProperties (properties) {
|
|
725
|
+
const { element } = this
|
|
726
|
+
const modeling = this.bpmnModeler.get('modeling')
|
|
727
|
+
modeling.updateProperties(element, properties)
|
|
728
|
+
},
|
|
729
|
+
initBpmn ({ BpmnViewer, BpmnModeler, camundaModdleDescriptor, customTranslate, customModule }) {
|
|
730
|
+
// 获取到属性ref为“content”的dom节点
|
|
731
|
+
this.container = this.$refs.content
|
|
732
|
+
// 获取到属性ref为“canvas”的dom节点
|
|
733
|
+
const canvas = this.$refs.canvas
|
|
734
|
+
var customTranslateModule = {
|
|
735
|
+
translate: ['value', customTranslate]
|
|
736
|
+
}
|
|
737
|
+
// 建模,官方文档这里讲的很详细
|
|
738
|
+
// markRaw:Vue3 深度 reactive 会连同 elementRegistry 的图元一起包 Proxy,
|
|
739
|
+
// 图元的 labels 等只读不可配置属性触发 Proxy 不变量 TypeError(Vue2 defineProperty 会静默跳过)
|
|
740
|
+
this.bpmnModeler = markRaw(new BpmnModeler({
|
|
741
|
+
container: canvas,
|
|
742
|
+
// 添加控制板
|
|
743
|
+
// propertiesPanel: {
|
|
744
|
+
// parent: '#properties-panel'
|
|
745
|
+
// },
|
|
746
|
+
additionalModules: [
|
|
747
|
+
customTranslateModule,
|
|
748
|
+
customModule
|
|
749
|
+
],
|
|
750
|
+
moddleExtensions: {
|
|
751
|
+
camunda: camundaModdleDescriptor
|
|
752
|
+
}
|
|
753
|
+
}))
|
|
754
|
+
},
|
|
755
|
+
// 打开逻辑编排测试弹窗:先保存最新流程,再从 Process 元素读取已定义的全局参数(camunda:inParam)
|
|
756
|
+
async openTest () {
|
|
757
|
+
if (!this.bpmnModeler) {
|
|
758
|
+
this.$message.error('流程尚未初始化完成,请稍后再试')
|
|
759
|
+
return
|
|
760
|
+
}
|
|
761
|
+
// 先保存当前流程图,保证试运行的是最新流程配置
|
|
762
|
+
this.testLoading = true
|
|
763
|
+
try {
|
|
764
|
+
await this.saveTestModel()
|
|
765
|
+
} catch (err) {
|
|
766
|
+
this.$message.error((err && err.message) || '保存流程失败,请重试')
|
|
767
|
+
return
|
|
768
|
+
} finally {
|
|
769
|
+
this.testLoading = false
|
|
770
|
+
}
|
|
771
|
+
this.testInParamData = this.buildTestInParam()
|
|
772
|
+
this.testVisible = true
|
|
773
|
+
},
|
|
774
|
+
// 构建测试全局参数:流程已定义参数 + (存在大模型访问节点时)默认补充「用户输入」query 参数
|
|
775
|
+
buildTestInParam () {
|
|
776
|
+
const inParam = this.getProcessInParam()
|
|
777
|
+
if (this.hasAiModelNode() && !inParam.some(item => item.id === 'query')) {
|
|
778
|
+
inParam.unshift({ id: 'query', name: '用户输入', type: '1' })
|
|
779
|
+
}
|
|
780
|
+
return inParam
|
|
781
|
+
},
|
|
782
|
+
// 流程中是否存在「大模型访问」节点(camunda:formTypeId === '14')
|
|
783
|
+
hasAiModelNode () {
|
|
784
|
+
try {
|
|
785
|
+
const elementRegistry = this.bpmnModeler.get('elementRegistry')
|
|
786
|
+
return elementRegistry.filter(el => {
|
|
787
|
+
const bo = el.businessObject
|
|
788
|
+
return bo && bo.$attrs && bo.$attrs['camunda:formTypeId'] === '14'
|
|
789
|
+
}).length > 0
|
|
790
|
+
} catch (e) {
|
|
791
|
+
return false
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
// 保存最新流程模型(流程信息 + 流程图 XML),返回 Promise
|
|
795
|
+
saveTestModel () {
|
|
796
|
+
this.saveProcessInfo()
|
|
797
|
+
return new Promise((resolve, reject) => {
|
|
798
|
+
this.saveDiagram((err, xml) => {
|
|
799
|
+
if (err) {
|
|
800
|
+
reject(err)
|
|
801
|
+
return
|
|
802
|
+
}
|
|
803
|
+
this.xmlStr = xml
|
|
804
|
+
this.$http.save({
|
|
805
|
+
action: 'updateModel',
|
|
806
|
+
entityId: this.$metaId,
|
|
807
|
+
modelId: this.$query.id,
|
|
808
|
+
xml
|
|
809
|
+
}).then(resolve).catch(reject)
|
|
810
|
+
})
|
|
811
|
+
})
|
|
812
|
+
},
|
|
813
|
+
getProcessElement () {
|
|
814
|
+
const elementRegistry = this.bpmnModeler.get('elementRegistry')
|
|
815
|
+
let element = this.processInfo.KEY ? elementRegistry.get(this.processInfo.KEY) : null
|
|
816
|
+
if (!element) {
|
|
817
|
+
element = elementRegistry.filter(item => item.type === 'bpmn:Process')[0]
|
|
818
|
+
}
|
|
819
|
+
return element
|
|
820
|
+
},
|
|
821
|
+
getProcessInParam () {
|
|
822
|
+
try {
|
|
823
|
+
const element = this.getProcessElement()
|
|
824
|
+
const $attrs = (element && element.businessObject && element.businessObject.$attrs) || {}
|
|
825
|
+
const inParamStr = $attrs['camunda:inParam']
|
|
826
|
+
return inParamStr ? JSON.parse(inParamStr) : []
|
|
827
|
+
} catch (e) {
|
|
828
|
+
console.error(e)
|
|
829
|
+
return []
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
processSetting () {
|
|
833
|
+
const propertiesPanel = document.getElementById('properties-panel')
|
|
834
|
+
if (this.processInfo.KEY) {
|
|
835
|
+
propertiesPanel.style.display = 'block'
|
|
836
|
+
// 获取流程元素
|
|
837
|
+
const elementRegistry = this.bpmnModeler.get('elementRegistry')
|
|
838
|
+
const processElement = elementRegistry.get(this.processInfo.KEY)
|
|
839
|
+
// 选中流程元素
|
|
840
|
+
const selection = this.bpmnModeler.get('selection')
|
|
841
|
+
selection.select(processElement)
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
closePanel () {
|
|
845
|
+
// 获取属性面板的 DOM 元素
|
|
846
|
+
const propertiesPanel = document.getElementById('properties-panel')
|
|
847
|
+
// 隐藏属性面板
|
|
848
|
+
propertiesPanel.style.display = 'none'
|
|
849
|
+
},
|
|
850
|
+
addEventListeners () {
|
|
851
|
+
// 获取属性面板的 DOM 元素
|
|
852
|
+
const propertiesPanel = document.getElementById('properties-panel')
|
|
853
|
+
|
|
854
|
+
// T35:原此处有 #js-properties-panel 的点击监听 —— 那是 fork 属性面板的 DOM id,
|
|
855
|
+
// 本文件模板从来没有该元素(panelElem 恒 null,监听从未绑上)。随 fork 摘除一并删。
|
|
856
|
+
this.bpmnModeler.on('selection.changed', e => {
|
|
857
|
+
this.selectedElements = e.newSelection
|
|
858
|
+
this.element = e.newSelection[0]
|
|
859
|
+
if (this.element) {
|
|
860
|
+
const { $attrs = {} } = this.element.businessObject || {}
|
|
861
|
+
for (const key in $attrs) {
|
|
862
|
+
const timer = setTimeout(() => {
|
|
863
|
+
if (document.getElementsByName(key)[0]) {
|
|
864
|
+
document.getElementsByName(key)[0].value = $attrs[key]
|
|
865
|
+
}
|
|
866
|
+
clearTimeout(timer)
|
|
867
|
+
}, 100)
|
|
868
|
+
}
|
|
869
|
+
// 不存在
|
|
870
|
+
}
|
|
871
|
+
})
|
|
872
|
+
this.bpmnModeler.on('element.changed', e => {
|
|
873
|
+
const { element } = e
|
|
874
|
+
// propertiesPanel.style.display = 'block'
|
|
875
|
+
const { element: currentElement } = this
|
|
876
|
+
if (!currentElement) {
|
|
877
|
+
return
|
|
878
|
+
}
|
|
879
|
+
// update panel, if currently selected element changed
|
|
880
|
+
if (element.id === currentElement.id) {
|
|
881
|
+
this.element = element
|
|
882
|
+
// 获取自定义参数 赋值
|
|
883
|
+
const { $attrs = {} } = this.element.businessObject
|
|
884
|
+
const arr = ['candidateUsers', 'assignee', 'candidateGroups', 'camunda:taskRight', 'camunda:assigneePage']
|
|
885
|
+
arr.forEach(key => {
|
|
886
|
+
if (!this.element.businessObject[key] && !$attrs[key]) {
|
|
887
|
+
const nameKey = key.includes('camunda:') ? key + '-name' : 'camunda:' + key + '-name'
|
|
888
|
+
if (this.element.businessObject.$attrs[nameKey]) {
|
|
889
|
+
// this.updateProperties({ [nameKey]: '' })
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
})
|
|
893
|
+
for (const key in this.element.businessObject.$attrs) {
|
|
894
|
+
const timer = setTimeout(() => {
|
|
895
|
+
if (document.getElementsByName(key)[0]) {
|
|
896
|
+
document.getElementsByName(key)[0].value = $attrs[key]
|
|
897
|
+
}
|
|
898
|
+
clearTimeout(timer)
|
|
899
|
+
}, 100)
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
})
|
|
903
|
+
|
|
904
|
+
const canvas = this.bpmnModeler.get('canvas')
|
|
905
|
+
const nodeTools = this.$refs.nodeTools
|
|
906
|
+
// 监听悬停事件
|
|
907
|
+
this.bpmnModeler.on('element.hover', (event) => {
|
|
908
|
+
const element = event.element
|
|
909
|
+
const { type } = element
|
|
910
|
+
// bpmn:SequenceFlow 连线
|
|
911
|
+
// if (type === 'bpmn:StartEvent' || type === 'bpmn:SequenceFlow') {
|
|
912
|
+
if (type !== 'bpmn:Process' && type !== 'label' && !this.popoverVisiable) {
|
|
913
|
+
// clearTimeout(this.hoverTimeout)
|
|
914
|
+
|
|
915
|
+
// this.hoverTimeout = setTimeout(() => {
|
|
916
|
+
const elementPosition = canvas.getAbsoluteBBox(element)
|
|
917
|
+
// 显示 Context Pad
|
|
918
|
+
const padPosition = {
|
|
919
|
+
x: elementPosition.x + elementPosition.width + 5,
|
|
920
|
+
y: elementPosition.y
|
|
921
|
+
}
|
|
922
|
+
if (type === 'bpmn:SequenceFlow') {
|
|
923
|
+
padPosition.x = elementPosition.x + elementPosition.width / 2
|
|
924
|
+
padPosition.y = elementPosition.y + 10
|
|
925
|
+
}
|
|
926
|
+
nodeTools.style.display = 'block'
|
|
927
|
+
nodeTools.style.left = padPosition.x + 'px'
|
|
928
|
+
nodeTools.style.top = padPosition.y + 'px'
|
|
929
|
+
this.nodeElement = markRaw(element)
|
|
930
|
+
}
|
|
931
|
+
})
|
|
932
|
+
|
|
933
|
+
this.bpmnModeler.on('element.click', (event) => {
|
|
934
|
+
const element = event.element
|
|
935
|
+
const { type } = element
|
|
936
|
+
|
|
937
|
+
this.nodeElement = markRaw(element)
|
|
938
|
+
if (type === 'bpmn:Process') {
|
|
939
|
+
propertiesPanel.style.display = 'none'
|
|
940
|
+
this.hiddenNodeTools()
|
|
941
|
+
this.popoverVisiable = false
|
|
942
|
+
this.setPopoverVisiable = false
|
|
943
|
+
} else {
|
|
944
|
+
propertiesPanel.style.display = 'block'
|
|
945
|
+
}
|
|
946
|
+
})
|
|
947
|
+
|
|
948
|
+
// this.bpmnModeler.on('canvas.click', (event) => {
|
|
949
|
+
// })
|
|
950
|
+
this.bpmnModeler.on('canvas.viewbox.changed', (event) => {
|
|
951
|
+
this.hiddenNodeTools()
|
|
952
|
+
})
|
|
953
|
+
// this.bpmnModeler.on('shape.move.end', (event) => {
|
|
954
|
+
// this.hiddenNodeTools()
|
|
955
|
+
// })
|
|
956
|
+
},
|
|
957
|
+
hiddenNodeTools () {
|
|
958
|
+
this.nodeElement = null
|
|
959
|
+
const nodeTools = this.$refs.nodeTools
|
|
960
|
+
nodeTools.style.display = 'none'
|
|
961
|
+
},
|
|
962
|
+
editNodeTypeHandler (node) {
|
|
963
|
+
const element = this.nodeElement
|
|
964
|
+
const bpmnReplace = this.bpmnModeler.get('bpmnReplace')
|
|
965
|
+
bpmnReplace.replaceElement(element, {
|
|
966
|
+
type: node.type
|
|
967
|
+
})
|
|
968
|
+
this.setPopoverVisiable = false
|
|
969
|
+
this.hiddenNodeTools()
|
|
970
|
+
},
|
|
971
|
+
clickShowsetPopover (e) {
|
|
972
|
+
const { type } = this.nodeElement
|
|
973
|
+
let arr = []
|
|
974
|
+
if (type.includes('Gateway')) {
|
|
975
|
+
arr = this.editNodeType.Gateway
|
|
976
|
+
}
|
|
977
|
+
this.editNodeTypeArr = arr.filter(item => item.type !== type)
|
|
978
|
+
this.setPopoverVisiable = false
|
|
979
|
+
this.$refs.popoverset.doDestroy(true)
|
|
980
|
+
this.$nextTick(() => {
|
|
981
|
+
this.$refs.popoverset.referenceElm = e.target
|
|
982
|
+
this.setPopoverVisiable = true
|
|
983
|
+
})
|
|
984
|
+
},
|
|
985
|
+
clickShowPopover (e) {
|
|
986
|
+
this.popoverVisiable = false
|
|
987
|
+
// this.$nextTick(() => {
|
|
988
|
+
// this.popoverVisiable = true
|
|
989
|
+
// })
|
|
990
|
+
this.$refs.popover.doDestroy(true)
|
|
991
|
+
this.$nextTick(() => {
|
|
992
|
+
this.$refs.popover.referenceElm = e.target
|
|
993
|
+
this.popoverVisiable = true
|
|
994
|
+
})
|
|
995
|
+
},
|
|
996
|
+
addNode (node) {
|
|
997
|
+
const canvas = this.bpmnModeler.get('canvas')
|
|
998
|
+
const elementFactory = this.bpmnModeler.get('elementFactory')
|
|
999
|
+
const modeling = this.bpmnModeler.get('modeling')
|
|
1000
|
+
const moddle = this.bpmnModeler.get('moddle')
|
|
1001
|
+
const element = this.nodeElement
|
|
1002
|
+
if (node.group === 'tools') {
|
|
1003
|
+
if (node.type === 'globalConnect') {
|
|
1004
|
+
// 获取 connectTool 模块
|
|
1005
|
+
const connectTool = this.bpmnModeler.get('connect')
|
|
1006
|
+
// 激活连线工具
|
|
1007
|
+
connectTool.start(event, element) // sourceElement 是连线的起点元素
|
|
1008
|
+
} else {
|
|
1009
|
+
this.createTopTask(null, node)
|
|
1010
|
+
}
|
|
1011
|
+
} else {
|
|
1012
|
+
const createNode = node
|
|
1013
|
+
const createObj = { type: createNode.type }
|
|
1014
|
+
const bpmnFactory = this.bpmnModeler.get('bpmnFactory')
|
|
1015
|
+
const businessObject = bpmnFactory.create(createNode.createType)
|
|
1016
|
+
if (createNode.createType === 'bpmn:UserTask') {
|
|
1017
|
+
// 赋默认值 或签
|
|
1018
|
+
const loopCharacteristicsObject = moddle.create('bpmn:MultiInstanceLoopCharacteristics')
|
|
1019
|
+
businessObject.loopCharacteristics = loopCharacteristicsObject
|
|
1020
|
+
businessObject.$attrs['camunda:spStyle'] = '1'
|
|
1021
|
+
const spOperate = ['agree', 'return', 'disagree']
|
|
1022
|
+
businessObject.$attrs['camunda:spOperate'] = JSON.stringify(spOperate)
|
|
1023
|
+
|
|
1024
|
+
// if (createNode.type === 'bpmn:ServiceTask') {
|
|
1025
|
+
// businessObject.$attrs['camunda:beanName'] = 'BEAN'
|
|
1026
|
+
// }
|
|
1027
|
+
} else {
|
|
1028
|
+
createObj.typeId = createNode.typeId
|
|
1029
|
+
businessObject.name = createNode.name
|
|
1030
|
+
businessObject.className = createNode.className || ''
|
|
1031
|
+
businessObject.img = createNode.img
|
|
1032
|
+
businessObject.$attrs['camunda:formTypeId'] = createNode.typeId
|
|
1033
|
+
}
|
|
1034
|
+
const x = element.x + element.width + 150
|
|
1035
|
+
let y = element.y
|
|
1036
|
+
const length = element.outgoing.length
|
|
1037
|
+
if (length > 0) {
|
|
1038
|
+
const lastEle = element.outgoing[length - 1].target
|
|
1039
|
+
y = lastEle.y + 100
|
|
1040
|
+
}
|
|
1041
|
+
const taskShape = elementFactory.createShape({
|
|
1042
|
+
...createObj,
|
|
1043
|
+
x,
|
|
1044
|
+
y,
|
|
1045
|
+
businessObject
|
|
1046
|
+
})
|
|
1047
|
+
|
|
1048
|
+
// 将网关添加到画布上
|
|
1049
|
+
modeling.createShape(taskShape, { x, y: y + 40 }, canvas.getRootElement())
|
|
1050
|
+
// 创建一个顺序流连接起始事件和网关
|
|
1051
|
+
const sequenceFlow = elementFactory.createConnection({
|
|
1052
|
+
type: 'bpmn:SequenceFlow',
|
|
1053
|
+
source: element,
|
|
1054
|
+
target: taskShape
|
|
1055
|
+
// waypoints: [ // 连线的路径点
|
|
1056
|
+
// { x: element.x + element.width, y: element.y + element.height / 2 },
|
|
1057
|
+
// { x: taskShape.x, y: taskShape.y + taskShape.height / 2 }
|
|
1058
|
+
// ]
|
|
1059
|
+
})
|
|
1060
|
+
// 将顺序流添加到画布上
|
|
1061
|
+
modeling.createConnection(element, taskShape, sequenceFlow, canvas.getRootElement())
|
|
1062
|
+
}
|
|
1063
|
+
this.popoverVisiable = false
|
|
1064
|
+
this.hiddenNodeTools()
|
|
1065
|
+
},
|
|
1066
|
+
connectNode () {
|
|
1067
|
+
const element = this.nodeElement
|
|
1068
|
+
// 获取 connectTool 模块
|
|
1069
|
+
const connectTool = this.bpmnModeler.get('connect')
|
|
1070
|
+
// 激活连线工具
|
|
1071
|
+
connectTool.start(event, element)
|
|
1072
|
+
this.hiddenNodeTools()
|
|
1073
|
+
},
|
|
1074
|
+
deleteNode () {
|
|
1075
|
+
// 获取 modeling 模块
|
|
1076
|
+
const modeling = this.bpmnModeler.get('modeling')
|
|
1077
|
+
// 手动删除元素
|
|
1078
|
+
modeling.removeElements([this.nodeElement])
|
|
1079
|
+
this.nodeElement = null
|
|
1080
|
+
const nodeTools = this.$refs.nodeTools
|
|
1081
|
+
nodeTools.style.display = 'none'
|
|
1082
|
+
},
|
|
1083
|
+
getProcessInfo () {
|
|
1084
|
+
this.$http.get({
|
|
1085
|
+
entityId: this.$metaId,
|
|
1086
|
+
id: this.$query.id
|
|
1087
|
+
})
|
|
1088
|
+
.then(data => {
|
|
1089
|
+
if (data && data.data) {
|
|
1090
|
+
const { META_INFO } = data.data
|
|
1091
|
+
this.processInfo = { ...data.data }
|
|
1092
|
+
if (this.processInfo.CATEGORY === '2') {
|
|
1093
|
+
this.nodeArr = this.nodeArr.map(item => {
|
|
1094
|
+
if (item.code === 'model' && item.children) {
|
|
1095
|
+
item.children = item.children.filter(child => child.type !== 'bpmn:UserTask')
|
|
1096
|
+
}
|
|
1097
|
+
return item
|
|
1098
|
+
})
|
|
1099
|
+
} else {
|
|
1100
|
+
this.nodeArr = this.nodeArr.filter(item => item.code === 'model')
|
|
1101
|
+
}
|
|
1102
|
+
this.leftNodeArr = [...this.nodeArr]
|
|
1103
|
+
this.nodeToolsArr = [...this.nodeArr]
|
|
1104
|
+
if (META_INFO) {
|
|
1105
|
+
this.processExtendInfo = JSON.parse(META_INFO)
|
|
1106
|
+
}
|
|
1107
|
+
if (this.processInfo.ENTITY) {
|
|
1108
|
+
this.$store.dispatch({
|
|
1109
|
+
type: ADD_META,
|
|
1110
|
+
metaId: this.processInfo.ENTITY
|
|
1111
|
+
})
|
|
1112
|
+
.then(meta => {
|
|
1113
|
+
if (this.processInfo.STATE_CODE) {
|
|
1114
|
+
this.$store.dispatch({
|
|
1115
|
+
type: ADD_LIST,
|
|
1116
|
+
key: this.processInfo.STATE_CODE,
|
|
1117
|
+
dataType: 'list'
|
|
1118
|
+
})
|
|
1119
|
+
this.statusCodeKey = this.processInfo.STATE_CODE
|
|
1120
|
+
} else {
|
|
1121
|
+
const attributes = meta.getAttributes()
|
|
1122
|
+
const attribute = Object.values(attributes).find(item => item.id === this.processInfo.STATUS_FIELD) || {}
|
|
1123
|
+
this.statusCodeKey = attribute.codeKey
|
|
1124
|
+
if (this.statusCodeKey) {
|
|
1125
|
+
// 获取对应代码表
|
|
1126
|
+
this.$store.dispatch({
|
|
1127
|
+
type: ADD_LIST,
|
|
1128
|
+
key: attribute.codeKey,
|
|
1129
|
+
dataType: 'list'
|
|
1130
|
+
})
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
})
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
})
|
|
1137
|
+
},
|
|
1138
|
+
saveProcessInfo () {
|
|
1139
|
+
const params = {}
|
|
1140
|
+
for (const key in this.processInfo) {
|
|
1141
|
+
if (!key.includes('#')) {
|
|
1142
|
+
params[`bean.${key}`] = this.processInfo[key] || ''
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
const metaInfo = {}
|
|
1146
|
+
for (const key in this.processExtendInfo) {
|
|
1147
|
+
if (!key.includes('#') || key === 'auditorFields#') {
|
|
1148
|
+
metaInfo[key] = this.processExtendInfo[key] || ''
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
params['bean.META_INFO'] = JSON.stringify(metaInfo)
|
|
1152
|
+
this.$http.update({
|
|
1153
|
+
entityId: this.$metaId,
|
|
1154
|
+
...params
|
|
1155
|
+
})
|
|
1156
|
+
},
|
|
1157
|
+
getProcess () {
|
|
1158
|
+
this.$http.$request({
|
|
1159
|
+
action: 'getModelEditorXml',
|
|
1160
|
+
entityId: this.$metaId,
|
|
1161
|
+
modelId: this.$query.id
|
|
1162
|
+
})
|
|
1163
|
+
.then(data => {
|
|
1164
|
+
// 获取到xml文件初始化bpmn
|
|
1165
|
+
this.xmlStr = data.xml
|
|
1166
|
+
this.createNewDiagram(data.xml)
|
|
1167
|
+
})
|
|
1168
|
+
.catch(() => {
|
|
1169
|
+
this.createNewDiagram(`<?xml version="1.0" encoding="UTF-8"?>
|
|
1170
|
+
<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">
|
|
1171
|
+
<bpmn:process id="Process_0ln6l2x" isExecutable="true">
|
|
1172
|
+
<bpmn:startEvent id="StartEvent_019dxqo" />
|
|
1173
|
+
</bpmn:process>
|
|
1174
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
1175
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0ln6l2x">
|
|
1176
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_019dxqo">
|
|
1177
|
+
<dc:Bounds x="156" y="81" width="36" height="36" />
|
|
1178
|
+
</bpmndi:BPMNShape>
|
|
1179
|
+
</bpmndi:BPMNPlane>
|
|
1180
|
+
</bpmndi:BPMNDiagram>
|
|
1181
|
+
</bpmn:definitions>
|
|
1182
|
+
`)
|
|
1183
|
+
this.$message.error('初始化失败')
|
|
1184
|
+
})
|
|
1185
|
+
},
|
|
1186
|
+
publishProcess () {
|
|
1187
|
+
return this.$http.save({
|
|
1188
|
+
action: 'publish',
|
|
1189
|
+
entityId: this.$metaId,
|
|
1190
|
+
id: this.processInfo.ID
|
|
1191
|
+
})
|
|
1192
|
+
.catch(err => {
|
|
1193
|
+
this.$message.error(err.message)
|
|
1194
|
+
})
|
|
1195
|
+
},
|
|
1196
|
+
submit (publish) {
|
|
1197
|
+
// 提交xml文件
|
|
1198
|
+
this.saveProcessInfo()
|
|
1199
|
+
this.$http.save({
|
|
1200
|
+
action: 'updateModel',
|
|
1201
|
+
entityId: this.$metaId,
|
|
1202
|
+
modelId: this.$query.id,
|
|
1203
|
+
xml: this.xmlStr
|
|
1204
|
+
})
|
|
1205
|
+
.then(async () => {
|
|
1206
|
+
if (publish) await this.publishProcess()
|
|
1207
|
+
this.$message.success(publish ? '保存并发布成功' : '保存成功')
|
|
1208
|
+
this.backPage({ reload: true })
|
|
1209
|
+
})
|
|
1210
|
+
.catch(err => {
|
|
1211
|
+
this.$message.error(err.message)
|
|
1212
|
+
})
|
|
1213
|
+
},
|
|
1214
|
+
async getBusinessMeta () {
|
|
1215
|
+
const { businessMetaId } = this.$query
|
|
1216
|
+
this.$store.dispatch({
|
|
1217
|
+
type: 'ADD_META_VIEW_FIELDS',
|
|
1218
|
+
metaId: businessMetaId
|
|
1219
|
+
})
|
|
1220
|
+
.then(data => {
|
|
1221
|
+
this.treeFieldStore = data
|
|
1222
|
+
})
|
|
1223
|
+
let busmeta = null
|
|
1224
|
+
if (this.metas[businessMetaId]) {
|
|
1225
|
+
busmeta = this.metas[businessMetaId]
|
|
1226
|
+
} else {
|
|
1227
|
+
await this.$store.dispatch({
|
|
1228
|
+
type: 'ADD_META',
|
|
1229
|
+
metaId: businessMetaId
|
|
1230
|
+
}).then(meta => {
|
|
1231
|
+
busmeta = meta
|
|
1232
|
+
})
|
|
1233
|
+
}
|
|
1234
|
+
this.$FieldFactory.createFields({
|
|
1235
|
+
meta: busmeta,
|
|
1236
|
+
metaId: businessMetaId
|
|
1237
|
+
})
|
|
1238
|
+
.then(data => {
|
|
1239
|
+
this.businessMeta = [...data]
|
|
1240
|
+
})
|
|
1241
|
+
},
|
|
1242
|
+
handleNodeClick (event, node) {
|
|
1243
|
+
this[node.handler](event, node)
|
|
1244
|
+
},
|
|
1245
|
+
createTask (event, node) {
|
|
1246
|
+
// const createNode = this.jiedina[type]
|
|
1247
|
+
const createNode = node
|
|
1248
|
+
const createObj = { type: createNode.type }
|
|
1249
|
+
const elementFactory = this.bpmnModeler.get('elementFactory')
|
|
1250
|
+
const bpmnFactory = this.bpmnModeler.get('bpmnFactory')
|
|
1251
|
+
const moddle = this.bpmnModeler.get('moddle')
|
|
1252
|
+
const businessObject = bpmnFactory.create(createNode.createType)
|
|
1253
|
+
const create = this.bpmnModeler.get('create')
|
|
1254
|
+
if (createNode.createType === 'bpmn:UserTask') {
|
|
1255
|
+
// 赋默认值 或签
|
|
1256
|
+
const loopCharacteristicsObject = moddle.create('bpmn:MultiInstanceLoopCharacteristics')
|
|
1257
|
+
businessObject.loopCharacteristics = loopCharacteristicsObject
|
|
1258
|
+
businessObject.$attrs['camunda:spStyle'] = '1'
|
|
1259
|
+
const spOperate = ['agree', 'return', 'disagree']
|
|
1260
|
+
businessObject.$attrs['camunda:spOperate'] = JSON.stringify(spOperate)
|
|
1261
|
+
// if (createNode.type === 'bpmn:ServiceTask') {
|
|
1262
|
+
// businessObject.$attrs['camunda:beanName'] = 'BEAN'
|
|
1263
|
+
// }
|
|
1264
|
+
} else {
|
|
1265
|
+
createObj.typeId = createNode.typeId
|
|
1266
|
+
businessObject.name = createNode.name
|
|
1267
|
+
businessObject.className = createNode.className || ''
|
|
1268
|
+
businessObject.img = createNode.img
|
|
1269
|
+
businessObject.$attrs['camunda:formTypeId'] = createNode.typeId
|
|
1270
|
+
}
|
|
1271
|
+
const taskShape = elementFactory.createShape({
|
|
1272
|
+
...createObj,
|
|
1273
|
+
businessObject
|
|
1274
|
+
})
|
|
1275
|
+
create.start(event, taskShape)
|
|
1276
|
+
},
|
|
1277
|
+
createTopTask (event, node) {
|
|
1278
|
+
const { type } = node
|
|
1279
|
+
// 获取所需模块
|
|
1280
|
+
const handTool = this.bpmnModeler.get(type)
|
|
1281
|
+
if (type === 'handTool') {
|
|
1282
|
+
// // 激活抓手工具
|
|
1283
|
+
handTool.activateHand(event)
|
|
1284
|
+
} else if (type === 'lassoTool' || type === 'spaceTool') {
|
|
1285
|
+
// 激活套索工具
|
|
1286
|
+
handTool.activateSelection(event)
|
|
1287
|
+
} else {
|
|
1288
|
+
// connectTool.start(event, sourceElement); // sourceElement 是连线的起点元素
|
|
1289
|
+
// 激活连线工具
|
|
1290
|
+
handTool.start(event)
|
|
1291
|
+
// 切换到连线工具
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
// const toolManager = this.bpmnModeler.get('toolManager')
|
|
1295
|
+
// toolManager.activateTool('connect')
|
|
1296
|
+
|
|
1297
|
+
// 使用 toolManager 切换工具
|
|
1298
|
+
// toolManager._active('hand') // 切换到抓手工具
|
|
1299
|
+
// toolManager.activateTool('lasso') // 切换到套索工具
|
|
1300
|
+
},
|
|
1301
|
+
platteFoldHandler () {
|
|
1302
|
+
this.popoverVisiable = false
|
|
1303
|
+
this.setPopoverVisiable = false
|
|
1304
|
+
this.hiddenNodeTools()
|
|
1305
|
+
this.isFold = !this.isFold
|
|
1306
|
+
const iconEle = this.$refs.platteFold
|
|
1307
|
+
iconEle.style.left = this.isFold ? 0 : '220px'
|
|
1308
|
+
const leftTools = this.$refs.leftTools
|
|
1309
|
+
leftTools.style.left = this.isFold ? '-220px' : 0
|
|
1310
|
+
// const canvas = this.$refs.canvas
|
|
1311
|
+
// const djsPalette = canvas.children[0].children[1].children[4]
|
|
1312
|
+
// djsPalette.style.left = this.isFold ? '-120px' : '10px'
|
|
1313
|
+
},
|
|
1314
|
+
adjustPalette () {
|
|
1315
|
+
// 调整左侧工具栏排版。
|
|
1316
|
+
// ⚠️ 历史遗留:本平台的样式里 .djs-palette.open { display:none } —— **原生 palette 是隐藏的**,
|
|
1317
|
+
// 添加节点走自研「节点工具箱」(.node-tools)。本函数在给隐藏元素排版,无可见效果;
|
|
1318
|
+
// 保留是防某些配置态显示原生 palette(改动已适配 diagram-js 15 的 DOM)。
|
|
1319
|
+
try {
|
|
1320
|
+
// 获取 bpmn 设计器实例
|
|
1321
|
+
const canvas = this.$refs.canvas
|
|
1322
|
+
// T35 bpmn-js 6→18:djs 容器的 DOM 层级变了,硬编码下标走位(children[0][1][4])
|
|
1323
|
+
// 必然取错节点(原代码靠外层 try/catch 静默兜底)。改按类名取。
|
|
1324
|
+
// diagram-js 15 的 palette 空间不足会自动收起为 toggle —— 强制展开(服务 API)。
|
|
1325
|
+
const paletteService = this.bpmnModeler.get('palette')
|
|
1326
|
+
if (paletteService && !paletteService.isOpen()) paletteService.open()
|
|
1327
|
+
const djsPalette = canvas.querySelector('.djs-palette')
|
|
1328
|
+
const djsPalStyle = {
|
|
1329
|
+
width: '120px',
|
|
1330
|
+
padding: '5px 5px 20px',
|
|
1331
|
+
background: '#fafafa',
|
|
1332
|
+
left: '-120px',
|
|
1333
|
+
borderRadius: '2px',
|
|
1334
|
+
position: 'absolute',
|
|
1335
|
+
top: '20px',
|
|
1336
|
+
// bottom: '20px',
|
|
1337
|
+
overflow: 'auto',
|
|
1338
|
+
maxHeight: 'calc(100% - 40px)'
|
|
1339
|
+
}
|
|
1340
|
+
for (var key in djsPalStyle) {
|
|
1341
|
+
djsPalette.style[key] = djsPalStyle[key]
|
|
1342
|
+
}
|
|
1343
|
+
// diagram-js 15:.djs-palette 的第一个子元素是 toggle 按钮,条目在 .djs-palette-entries
|
|
1344
|
+
const palette = djsPalette.querySelector('.djs-palette-entries') || djsPalette.children[0]
|
|
1345
|
+
const allGroups = palette.children
|
|
1346
|
+
// allGroups[0].style.display = 'none'
|
|
1347
|
+
// 修改控件样式
|
|
1348
|
+
for (var gKey in allGroups) {
|
|
1349
|
+
const group = allGroups[gKey]
|
|
1350
|
+
for (var cKey in group.children) {
|
|
1351
|
+
const control = group.children[cKey]
|
|
1352
|
+
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')) {
|
|
1353
|
+
continue
|
|
1354
|
+
}
|
|
1355
|
+
const controlStyle = {
|
|
1356
|
+
display: 'flex',
|
|
1357
|
+
justifyContent: 'flex-start',
|
|
1358
|
+
alignItems: 'center',
|
|
1359
|
+
width: '100%',
|
|
1360
|
+
paddingTop: '5px',
|
|
1361
|
+
paddingBottom: '5px'
|
|
1362
|
+
}
|
|
1363
|
+
if (control.className && control.dataset && control.className.indexOf('entry') !== -1) {
|
|
1364
|
+
control.innerHTML = `<div style='font-size: 10px;margin-left:8px'><p style='line-height: 10px;padding-top:5px'>${control.title}</p></div>`
|
|
1365
|
+
for (var csKey in controlStyle) {
|
|
1366
|
+
control.style[csKey] = controlStyle[csKey]
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
} catch (e) {
|
|
1372
|
+
console.log(e)
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
created () {
|
|
1377
|
+
// 取得菜单所有权:只有最后一个隐藏者有资格在卸载时还原(见文件顶部 menuOwner 注释)。
|
|
1378
|
+
// 隐藏前的值只在无人持有时采集,避免第二个流程页采到已被改成的 false。
|
|
1379
|
+
if (!menuOwner) menuShowBeforeHide = this.$store.state.config.showMenu !== false
|
|
1380
|
+
menuOwner = this
|
|
1381
|
+
this.$store.commit(SWITCH_MENU_SHOW, false)
|
|
1382
|
+
this.getProcessInfo()
|
|
1383
|
+
this.getBusinessMeta()
|
|
1384
|
+
},
|
|
1385
|
+
mounted () {
|
|
1386
|
+
require.ensure([], () => {
|
|
1387
|
+
const BpmnViewer = require('bpmn-js').default
|
|
1388
|
+
const BpmnModeler = require('bpmn-js/lib/Modeler').default
|
|
1389
|
+
const camundaModdleDescriptor = require('camunda-bpmn-moddle/resources/camunda')
|
|
1390
|
+
const customTranslate = require('@/assets/customTranslate/customTranslate').default
|
|
1391
|
+
const customModule = require('@epxing/business/src/components/custom-bpmn/palette').default
|
|
1392
|
+
require('bpmn-js/dist/assets/diagram-js.css')
|
|
1393
|
+
require('bpmn-js/dist/assets/bpmn-font/css/bpmn.css')
|
|
1394
|
+
require('bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css')
|
|
1395
|
+
require('bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css')
|
|
1396
|
+
// T35:epx-bpmn-js-properties-panel(公司 fork 的旧版属性面板)整体摘除 —— 其 panel 配置
|
|
1397
|
+
// 早已注释(parent 从未挂载),真属性 UI 是自研 epx-properties-view;fork 只是白载。
|
|
1398
|
+
// bpmn-js 11+ 需要 bpmn-js.css(弹出菜单/基础元素样式)。
|
|
1399
|
+
require('bpmn-js/dist/assets/bpmn-js.css')
|
|
1400
|
+
// 初始化bpmn
|
|
1401
|
+
this.initBpmn({ BpmnViewer, BpmnModeler, camundaModdleDescriptor, customTranslate, customModule })
|
|
1402
|
+
// 添加bpmn监听事件
|
|
1403
|
+
this.addEventListeners()
|
|
1404
|
+
this.initSvg()
|
|
1405
|
+
this.adjustPalette()
|
|
1406
|
+
this.getProcess()
|
|
1407
|
+
}, () => {
|
|
1408
|
+
this.$message.error('插件初始化失败,请重新打开页面')
|
|
1409
|
+
}, 'bpmn')
|
|
1410
|
+
},
|
|
1411
|
+
beforeUnmount () {
|
|
1412
|
+
// 两道判据同时满足才还原:
|
|
1413
|
+
// ① 菜单所有权还在我手上:后台标签被 LRU 淘汰、或另一个流程页已接管时,令牌早已易主,
|
|
1414
|
+
// 直接放弃(否则会把用户当前正在看的那个页面的菜单弹出来)。
|
|
1415
|
+
// ⚠️ 别改回「本页在 DOM 里可见」那种判据 —— 见文件顶部注释:keep-alive 先 deactivate
|
|
1416
|
+
// 再真卸载,DOM 那时已经游离,正常返回路径上它永远为假,还原会变成死代码。
|
|
1417
|
+
// ② 全局值仍是隐藏态:否则说明别的页面已经把菜单打开了,不该覆盖它。
|
|
1418
|
+
if (menuOwner !== this) return
|
|
1419
|
+
menuOwner = null
|
|
1420
|
+
if (this.$store.state.config.showMenu === false) {
|
|
1421
|
+
this.$store.commit(SWITCH_MENU_SHOW, menuShowBeforeHide)
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
</script>
|
|
1426
|
+
<style scoped lang="scss">
|
|
1427
|
+
.container {
|
|
1428
|
+
display: flex;
|
|
1429
|
+
height: 100%;
|
|
1430
|
+
position: relative;
|
|
1431
|
+
flex-direction: column;
|
|
1432
|
+
position: absolute;
|
|
1433
|
+
left: 0;
|
|
1434
|
+
top: 0;
|
|
1435
|
+
width: 100%;
|
|
1436
|
+
height: 100%;
|
|
1437
|
+
}
|
|
1438
|
+
.report-header {
|
|
1439
|
+
position: relative;
|
|
1440
|
+
height: 56px;
|
|
1441
|
+
background: var(--epx-bg-card);
|
|
1442
|
+
padding: 0 20px;
|
|
1443
|
+
display: flex;
|
|
1444
|
+
align-items: center;
|
|
1445
|
+
justify-content: space-between;
|
|
1446
|
+
border-bottom: 1px solid var(--epx-border);
|
|
1447
|
+
// margin-bottom: 10px;
|
|
1448
|
+
}
|
|
1449
|
+
.report-title {
|
|
1450
|
+
display: flex;
|
|
1451
|
+
}
|
|
1452
|
+
.report-back {
|
|
1453
|
+
font-size: var(--epx-font-size-xl);
|
|
1454
|
+
cursor: pointer;
|
|
1455
|
+
position: relative;
|
|
1456
|
+
top: 1px;
|
|
1457
|
+
}
|
|
1458
|
+
.report-name {
|
|
1459
|
+
color: var(--epx-text);
|
|
1460
|
+
font-size: var(--epx-font-size-l);
|
|
1461
|
+
margin: 0 12px 0 6px;
|
|
1462
|
+
display: flex;
|
|
1463
|
+
align-items: center;
|
|
1464
|
+
white-space: nowrap;
|
|
1465
|
+
i {
|
|
1466
|
+
font-size: 18px;
|
|
1467
|
+
color: #444;
|
|
1468
|
+
cursor: pointer;
|
|
1469
|
+
margin-left: 8px;
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
.report-operate {
|
|
1473
|
+
display: flex;
|
|
1474
|
+
}
|
|
1475
|
+
.palette-fold{
|
|
1476
|
+
width: 36px;
|
|
1477
|
+
height: 36px;
|
|
1478
|
+
line-height: 36px;
|
|
1479
|
+
text-align: center;
|
|
1480
|
+
cursor: pointer;
|
|
1481
|
+
@include bg_color_primary;
|
|
1482
|
+
color: #fff;
|
|
1483
|
+
z-index: 2;
|
|
1484
|
+
position: absolute;
|
|
1485
|
+
top: 0;
|
|
1486
|
+
// left: 220px;
|
|
1487
|
+
left: 0;
|
|
1488
|
+
font-size: var(--epx-font-size-xl);
|
|
1489
|
+
}
|
|
1490
|
+
.left-tools{
|
|
1491
|
+
box-sizing: border-box;
|
|
1492
|
+
background: var(--epx-bg-card);
|
|
1493
|
+
box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15);
|
|
1494
|
+
width: 220px;
|
|
1495
|
+
height: 100%;
|
|
1496
|
+
padding: 16px;
|
|
1497
|
+
overflow: auto;
|
|
1498
|
+
z-index: 2;
|
|
1499
|
+
position: absolute;
|
|
1500
|
+
top: 0;
|
|
1501
|
+
// left: 0;
|
|
1502
|
+
left: -220px;
|
|
1503
|
+
}
|
|
1504
|
+
.tools-search-con{
|
|
1505
|
+
margin-bottom: 10px;
|
|
1506
|
+
}
|
|
1507
|
+
.group-name{
|
|
1508
|
+
font-size: var(--epx-font-size-l);
|
|
1509
|
+
color: var(--epx-text-secondary);
|
|
1510
|
+
margin-bottom: 10px;
|
|
1511
|
+
}
|
|
1512
|
+
.left-tools-item{
|
|
1513
|
+
display: flex;
|
|
1514
|
+
align-items: center;
|
|
1515
|
+
font-size: var(--epx-font-size-l);
|
|
1516
|
+
color: #444444;
|
|
1517
|
+
margin-bottom: 10px;
|
|
1518
|
+
cursor: pointer;
|
|
1519
|
+
}
|
|
1520
|
+
.left-tools-item:hover{
|
|
1521
|
+
@include font_color_primary;
|
|
1522
|
+
}
|
|
1523
|
+
.node-tools-content{
|
|
1524
|
+
height: 580px;
|
|
1525
|
+
background: var(--epx-bg-card);
|
|
1526
|
+
overflow: auto;
|
|
1527
|
+
}
|
|
1528
|
+
.group-children{
|
|
1529
|
+
display: flex;
|
|
1530
|
+
flex-wrap: wrap;
|
|
1531
|
+
}
|
|
1532
|
+
.node-tools-item{
|
|
1533
|
+
width: 50%;
|
|
1534
|
+
}
|
|
1535
|
+
.left-tools-group-name{
|
|
1536
|
+
font-size: var(--epx-font-size-l);
|
|
1537
|
+
color: var(--epx-text-secondary);
|
|
1538
|
+
}
|
|
1539
|
+
.left-tools-icon{
|
|
1540
|
+
width: 30px;
|
|
1541
|
+
height: 30px;
|
|
1542
|
+
background: #3698FF;
|
|
1543
|
+
border-radius: var(--epx-radius-base);
|
|
1544
|
+
margin-right: 8px;
|
|
1545
|
+
text-align: center;
|
|
1546
|
+
line-height: 30px;
|
|
1547
|
+
color: #fff;
|
|
1548
|
+
font-size: var(--epx-font-size-l);
|
|
1549
|
+
}
|
|
1550
|
+
.node-tools{
|
|
1551
|
+
position: absolute;
|
|
1552
|
+
display: none;
|
|
1553
|
+
z-index: 2;
|
|
1554
|
+
background: var(--epx-bg-card);
|
|
1555
|
+
padding: 4px;
|
|
1556
|
+
box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15);
|
|
1557
|
+
border-radius: var(--epx-radius-base);
|
|
1558
|
+
i{
|
|
1559
|
+
cursor: pointer;
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
.node-tools-add-icon{
|
|
1563
|
+
color: #0076EF;
|
|
1564
|
+
font-size: 24px;
|
|
1565
|
+
}
|
|
1566
|
+
.node-tools-delete-icon{
|
|
1567
|
+
color: #FF2222;
|
|
1568
|
+
font-size: 24px;
|
|
1569
|
+
}
|
|
1570
|
+
#properties-panel{
|
|
1571
|
+
display: none;
|
|
1572
|
+
}
|
|
1573
|
+
</style>
|
|
1574
|
+
<style lang="scss">
|
|
1575
|
+
/*左边工具栏以及编辑节点的样式*/
|
|
1576
|
+
// .djs-palette .entry:before{
|
|
1577
|
+
// @include bg_color_primary;
|
|
1578
|
+
// color: #fff;
|
|
1579
|
+
// padding: 6px;
|
|
1580
|
+
// width: 30px;
|
|
1581
|
+
// height: 30px;
|
|
1582
|
+
// box-sizing: border-box;
|
|
1583
|
+
// font-size: var(--epx-font-size-l);
|
|
1584
|
+
// }
|
|
1585
|
+
/* 隐藏 contextPad */
|
|
1586
|
+
.djs-context-pad {
|
|
1587
|
+
display: none !important;
|
|
1588
|
+
}
|
|
1589
|
+
.djs-palette.open {
|
|
1590
|
+
display: none;
|
|
1591
|
+
}
|
|
1592
|
+
.bpmn-icon-data-store {
|
|
1593
|
+
display: none;
|
|
1594
|
+
}
|
|
1595
|
+
.bpmn-icon-space-tool {
|
|
1596
|
+
display: none;
|
|
1597
|
+
}
|
|
1598
|
+
.bpmn-icon-subprocess-expanded {
|
|
1599
|
+
display: none;
|
|
1600
|
+
}
|
|
1601
|
+
.bpmn-icon-group {
|
|
1602
|
+
display: none;
|
|
1603
|
+
}
|
|
1604
|
+
.bpmn-icon-participant {
|
|
1605
|
+
display: none;
|
|
1606
|
+
}
|
|
1607
|
+
.bpmn-icon-intermediate-event-none {
|
|
1608
|
+
display: none;
|
|
1609
|
+
}
|
|
1610
|
+
.bpmn-icon-data-object {
|
|
1611
|
+
display: none;
|
|
1612
|
+
}
|
|
1613
|
+
// .epx-icon-lc-xinzengjilu:before{
|
|
1614
|
+
// line-height: 1em;
|
|
1615
|
+
// }
|
|
1616
|
+
[class^="epx-icon-lc-"]:before, [class*=" epx-icon-lc-"]:before{
|
|
1617
|
+
line-height: 1em;
|
|
1618
|
+
}
|
|
1619
|
+
.djs-palette.two-column.open {
|
|
1620
|
+
width: 47px;
|
|
1621
|
+
}
|
|
1622
|
+
.djs-container{
|
|
1623
|
+
background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+")
|
|
1624
|
+
repeat !important;
|
|
1625
|
+
}
|
|
1626
|
+
.containers {
|
|
1627
|
+
position: relative;
|
|
1628
|
+
background-color: var(--epx-bg-card);
|
|
1629
|
+
flex: 1;
|
|
1630
|
+
// width: 100%;
|
|
1631
|
+
// height: 100%;
|
|
1632
|
+
overflow: hidden;
|
|
1633
|
+
}
|
|
1634
|
+
.canvas {
|
|
1635
|
+
width: 100%;
|
|
1636
|
+
height: 100%;
|
|
1637
|
+
}
|
|
1638
|
+
.panel {
|
|
1639
|
+
position: absolute;
|
|
1640
|
+
right: 0;
|
|
1641
|
+
top: 0;
|
|
1642
|
+
width: 300px;
|
|
1643
|
+
height: 100%;
|
|
1644
|
+
overflow-y: scroll;
|
|
1645
|
+
}
|
|
1646
|
+
.buttons {
|
|
1647
|
+
position: absolute;
|
|
1648
|
+
left: 50%;
|
|
1649
|
+
transform: translateX(-50%);
|
|
1650
|
+
bottom: 20px;
|
|
1651
|
+
& > li {
|
|
1652
|
+
display: inline-block;
|
|
1653
|
+
margin: 5px;
|
|
1654
|
+
& > a {
|
|
1655
|
+
color: var(--epx-text-secondary);
|
|
1656
|
+
background: #eee;
|
|
1657
|
+
cursor: not-allowed;
|
|
1658
|
+
padding: 8px;
|
|
1659
|
+
border: 1px solid #ccc;
|
|
1660
|
+
&.active {
|
|
1661
|
+
color: var(--epx-text);
|
|
1662
|
+
background: var(--epx-bg-card);
|
|
1663
|
+
cursor: pointer;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
.epx-properties-panel{
|
|
1669
|
+
// display: none;
|
|
1670
|
+
}
|
|
1671
|
+
.bjs-powered-by {
|
|
1672
|
+
display: none;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
.dialog__only__content {
|
|
1676
|
+
.el-dialog__header {
|
|
1677
|
+
display: none;
|
|
1678
|
+
}
|
|
1679
|
+
.el-dialog__body {
|
|
1680
|
+
padding: 0;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
.camunda-object-name {
|
|
1684
|
+
position: absolute;
|
|
1685
|
+
top: 0;
|
|
1686
|
+
left: 0;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
div.find {
|
|
1690
|
+
max-height: 600px;
|
|
1691
|
+
overflow-y: auto;
|
|
1692
|
+
}
|
|
1693
|
+
div.tree_find {
|
|
1694
|
+
min-height: 400px;
|
|
1695
|
+
padding: 24px;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
@media screen and (min-width: 992px) {
|
|
1699
|
+
div.find {
|
|
1700
|
+
|
|
1701
|
+
:deep(.list) {
|
|
1702
|
+
width: 800px;
|
|
1703
|
+
}
|
|
1704
|
+
:deep(.search-container) {
|
|
1705
|
+
margin-bottom: 0;
|
|
1706
|
+
}
|
|
1707
|
+
:deep(.table-container) {
|
|
1708
|
+
padding: 0 16px 16px;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
</style>
|