@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,529 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="process-healthcheck" v-loading="loading">
|
|
3
|
+
<div class="process-healthcheck__toolbar">
|
|
4
|
+
<div class="process-healthcheck__info">
|
|
5
|
+
<div v-if="processName" class="process-healthcheck__title">{{ processName }}</div>
|
|
6
|
+
<div class="process-healthcheck__summary">
|
|
7
|
+
<span>扫描在途实例:<b>{{ scannedInstanceCount }}</b></span>
|
|
8
|
+
<span>异常业务数据:<b :class="{ 'is-danger': totalRows > 0 }">{{ totalRows }}</b></span>
|
|
9
|
+
<span>异常节点:<b :class="{ 'is-danger': errorNodeIds.length > 0 }">{{ errorNodeIds.length }}</b></span>
|
|
10
|
+
<span v-if="healthLoaded && errorNodeIds.length === 0" class="is-success">未检测到异常节点</span>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="process-healthcheck__actions">
|
|
14
|
+
<el-button-group>
|
|
15
|
+
<el-button size="small" icon="el-icon-zoom-out" @click="zoomOut" />
|
|
16
|
+
<el-button size="small" icon="el-icon-zoom-in" @click="zoomIn" />
|
|
17
|
+
<el-button size="small" icon="el-icon-full-screen" @click="fitViewport" />
|
|
18
|
+
</el-button-group>
|
|
19
|
+
<el-button type="primary" size="small" icon="el-icon-refresh" @click="runHealthCheck">重新检测</el-button>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div class="process-healthcheck__canvas" ref="canvas"></div>
|
|
24
|
+
|
|
25
|
+
<el-dialog
|
|
26
|
+
class="dialog"
|
|
27
|
+
custom-class="phc-dialog"
|
|
28
|
+
:title="dialogTitle"
|
|
29
|
+
v-model="dialogVisible"
|
|
30
|
+
width="920px"
|
|
31
|
+
append-to-body
|
|
32
|
+
>
|
|
33
|
+
<el-table :data="activeRows" border size="small" max-height="500" :row-key="getRowKey" default-expand-all>
|
|
34
|
+
<el-table-column type="expand">
|
|
35
|
+
<template v-slot="scope">
|
|
36
|
+
<div class="phc-issues">
|
|
37
|
+
<div v-for="(item, i) in scope.row.__items" :key="i" class="phc-issue">
|
|
38
|
+
<el-tag size="small" :type="checkTypeTag(item.checkType)" class="phc-issue__tag">{{ item.checkTypeDesc || item.checkType }}</el-tag>
|
|
39
|
+
<div class="phc-issue__body">
|
|
40
|
+
<div class="phc-issue__detail">{{ item.detail || '-' }}</div>
|
|
41
|
+
<div v-if="affectedUserNames(item)" class="phc-issue__users">受影响用户:{{ affectedUserNames(item) }}</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
</el-table-column>
|
|
47
|
+
<el-table-column label="申请人" prop="applyUserName" min-width="160" show-overflow-tooltip />
|
|
48
|
+
<el-table-column label="业务主键" min-width="180">
|
|
49
|
+
<template v-slot="scope">
|
|
50
|
+
<span>{{ scope.row.businessKey || '-' }}</span>
|
|
51
|
+
<i
|
|
52
|
+
v-if="scope.row.businessKey"
|
|
53
|
+
class="el-icon-tickets phc-audit"
|
|
54
|
+
title="流程审核记录"
|
|
55
|
+
@click="openAuditHistory(scope.row)"
|
|
56
|
+
></i>
|
|
57
|
+
</template>
|
|
58
|
+
</el-table-column>
|
|
59
|
+
<el-table-column label="当前节点" prop="currentNodeName" min-width="120" show-overflow-tooltip />
|
|
60
|
+
<el-table-column label="启动时间" min-width="150">
|
|
61
|
+
<template v-slot="scope">{{ formatTime(scope.row.startTime) }}</template>
|
|
62
|
+
</el-table-column>
|
|
63
|
+
<el-table-column label="异常项" width="100" align="center">
|
|
64
|
+
<template v-slot="scope">
|
|
65
|
+
<el-tag size="small" type="danger">{{ (scope.row.__items || []).length }} 项</el-tag>
|
|
66
|
+
</template>
|
|
67
|
+
</el-table-column>
|
|
68
|
+
</el-table>
|
|
69
|
+
</el-dialog>
|
|
70
|
+
|
|
71
|
+
<el-dialog
|
|
72
|
+
class="dialog"
|
|
73
|
+
custom-class="phc-dialog"
|
|
74
|
+
title="流程审核记录"
|
|
75
|
+
v-model="auditDialogVisible"
|
|
76
|
+
width="1000px"
|
|
77
|
+
append-to-body
|
|
78
|
+
destroy-on-close
|
|
79
|
+
>
|
|
80
|
+
<epx-check-history
|
|
81
|
+
v-if="auditDialogVisible"
|
|
82
|
+
:meta-id="auditMetaId"
|
|
83
|
+
:form-data="auditFormData"
|
|
84
|
+
:comp-configs="{ type: 'table' }"
|
|
85
|
+
/>
|
|
86
|
+
</el-dialog>
|
|
87
|
+
</div>
|
|
88
|
+
</template>
|
|
89
|
+
|
|
90
|
+
<script>
|
|
91
|
+
import component from '@epxing/core/src/mixins/component'
|
|
92
|
+
|
|
93
|
+
const CHECK_TYPE_TAG = {
|
|
94
|
+
PERM_AUDIT_NO_DATA: 'danger',
|
|
95
|
+
PERM_AUDIT_NO_API: 'warning',
|
|
96
|
+
NO_OUTGOING_MATCH: 'danger',
|
|
97
|
+
EMPTY_AUDITOR: 'warning'
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export default {
|
|
101
|
+
name: 'epx-process-healthcheck-chart',
|
|
102
|
+
mixins: [component],
|
|
103
|
+
// 配置点默认值(后台配置面板覆盖)
|
|
104
|
+
processId: '', // 渲染流程定义图的模型ID(ACT_RE_MODEL.ID)
|
|
105
|
+
processCode: '', // 健康检查的流程编号(流程定义 key)
|
|
106
|
+
processInstanceId: '', // 单实例诊断模式(可选)
|
|
107
|
+
checkTypes: null, // 启用的检查项 code 列表(可选,不传则全部)
|
|
108
|
+
healthcheckParams: null, // 健康检查额外参数(如 startTime/endTime)
|
|
109
|
+
minZoom: 0.8, // 流程图自适应后的最小缩放比例,避免大图被压得过小
|
|
110
|
+
data () {
|
|
111
|
+
return {
|
|
112
|
+
viewer: null,
|
|
113
|
+
viewerReady: false,
|
|
114
|
+
healthLoaded: false,
|
|
115
|
+
loading: false,
|
|
116
|
+
markedNodeIds: [],
|
|
117
|
+
rows: [],
|
|
118
|
+
errorNodeMap: {},
|
|
119
|
+
scannedInstanceCount: 0,
|
|
120
|
+
totalRows: 0,
|
|
121
|
+
dialogVisible: false,
|
|
122
|
+
activeNodeId: '',
|
|
123
|
+
derivedProcessCode: '',
|
|
124
|
+
processName: '',
|
|
125
|
+
modelKey: '',
|
|
126
|
+
auditDialogVisible: false,
|
|
127
|
+
auditMetaId: '',
|
|
128
|
+
auditFormData: {},
|
|
129
|
+
// 提供给弹窗内 check-history 的"假 upPage",让它按所选业务数据查审核记录
|
|
130
|
+
auditUpPage: { $query: {} }
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
provide () {
|
|
134
|
+
return { upPage: this.auditUpPage }
|
|
135
|
+
},
|
|
136
|
+
computed: {
|
|
137
|
+
processIdValue () {
|
|
138
|
+
// object 类型配置点:可能是对象({ID})或直接是ID字符串
|
|
139
|
+
const p = this.$configs.processId
|
|
140
|
+
if (p && typeof p === 'object') return p.ID || p.id || ''
|
|
141
|
+
return p || this.$query.id
|
|
142
|
+
},
|
|
143
|
+
processCodeValue () {
|
|
144
|
+
// 流程编号优先取配置/URL,其次取模型KEY,最后由加载的流程图自动推导
|
|
145
|
+
return this.$configs.processCode || this.modelKey || this.derivedProcessCode || this.$query.processCode
|
|
146
|
+
},
|
|
147
|
+
processInstanceIdValue () {
|
|
148
|
+
return this.$configs.processInstanceId || this.$query.processInstanceId
|
|
149
|
+
},
|
|
150
|
+
errorNodeIds () {
|
|
151
|
+
return Object.keys(this.errorNodeMap)
|
|
152
|
+
},
|
|
153
|
+
activeNode () {
|
|
154
|
+
return this.errorNodeMap[this.activeNodeId] || {}
|
|
155
|
+
},
|
|
156
|
+
activeRows () {
|
|
157
|
+
return this.activeNode.rows || []
|
|
158
|
+
},
|
|
159
|
+
dialogTitle () {
|
|
160
|
+
return `${this.activeNode.nodeName || '异常节点'} - 异常业务数据(${this.activeRows.length})`
|
|
161
|
+
},
|
|
162
|
+
minZoom () {
|
|
163
|
+
return this.$configs.minZoom || 0.8
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
methods: {
|
|
167
|
+
initViewer ({ BpmnViewer, camundaModdleDescriptor, customTranslate, HealthcheckRenderer }) {
|
|
168
|
+
window.BPMN_CURRENT_LANGUAGE = this.$util.getCurrentLanguage()
|
|
169
|
+
window.BPMN_TRANSLATE = this.$t
|
|
170
|
+
this.viewer = new BpmnViewer({
|
|
171
|
+
container: this.$refs.canvas,
|
|
172
|
+
additionalModules: [
|
|
173
|
+
{ translate: ['value', customTranslate] },
|
|
174
|
+
// 还原 i18n 节点名称,否则图上看不出是哪个节点
|
|
175
|
+
{ __init__: ['healthcheckRenderer'], healthcheckRenderer: ['type', HealthcheckRenderer] }
|
|
176
|
+
],
|
|
177
|
+
moddleExtensions: { camunda: camundaModdleDescriptor }
|
|
178
|
+
})
|
|
179
|
+
this.loadProcessInfo()
|
|
180
|
+
this.loadXml()
|
|
181
|
+
},
|
|
182
|
+
loadProcessInfo () {
|
|
183
|
+
if (!this.processIdValue) return
|
|
184
|
+
this.$http.get({ entityId: 'ACT_RE_MODEL', id: this.processIdValue })
|
|
185
|
+
.then(res => {
|
|
186
|
+
// 兼容拦截器是否已剥壳两种返回
|
|
187
|
+
const rec = (res && res.data && typeof res.data === 'object') ? res.data : (res || {})
|
|
188
|
+
this.processName = rec.NAME || ''
|
|
189
|
+
if (rec.KEY) this.modelKey = rec.KEY
|
|
190
|
+
})
|
|
191
|
+
.catch(() => {})
|
|
192
|
+
},
|
|
193
|
+
getProcessCode () {
|
|
194
|
+
// 流程定义 key = bpmn:Process 元素的 id,即接口所需的 processCode
|
|
195
|
+
try {
|
|
196
|
+
const defs = this.viewer.getDefinitions()
|
|
197
|
+
const proc = (defs.rootElements || []).find(el => el.$type === 'bpmn:Process')
|
|
198
|
+
return proc ? proc.id : ''
|
|
199
|
+
} catch (e) {
|
|
200
|
+
return ''
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
loadXml () {
|
|
204
|
+
if (!this.processIdValue) {
|
|
205
|
+
this.$message.warning('未配置流程ID(processId)')
|
|
206
|
+
return
|
|
207
|
+
}
|
|
208
|
+
this.$http.$request({
|
|
209
|
+
action: 'getModelEditorXml',
|
|
210
|
+
entityId: 'ACT_RE_MODEL',
|
|
211
|
+
modelId: this.processIdValue
|
|
212
|
+
})
|
|
213
|
+
.then(data => {
|
|
214
|
+
this.viewer.importXML(data.xml, (err) => {
|
|
215
|
+
if (err) {
|
|
216
|
+
this.$message.error('流程图加载失败')
|
|
217
|
+
return
|
|
218
|
+
}
|
|
219
|
+
this.fitViewport()
|
|
220
|
+
this.derivedProcessCode = this.getProcessCode()
|
|
221
|
+
this.viewer.get('eventBus').on('element.click', this.onElementClick)
|
|
222
|
+
this.viewerReady = true
|
|
223
|
+
this.applyMarkers()
|
|
224
|
+
// 流程图就绪并拿到 processCode 后再发起健康检查
|
|
225
|
+
this.runHealthCheck()
|
|
226
|
+
})
|
|
227
|
+
})
|
|
228
|
+
},
|
|
229
|
+
runHealthCheck () {
|
|
230
|
+
if (!this.processCodeValue && !this.processInstanceIdValue) {
|
|
231
|
+
this.$message.warning('未配置流程编号(processCode)')
|
|
232
|
+
return
|
|
233
|
+
}
|
|
234
|
+
const body = { entityId: 'ACT_RE_MODEL', action: 'healthcheck' }
|
|
235
|
+
if (this.processCodeValue) body.processCode = this.processCodeValue
|
|
236
|
+
if (this.processInstanceIdValue) body.processInstanceId = this.processInstanceIdValue
|
|
237
|
+
const { checkTypes, healthcheckParams } = this.$configs
|
|
238
|
+
if (checkTypes && checkTypes.length) body.checkTypes = checkTypes
|
|
239
|
+
let extraParams = healthcheckParams
|
|
240
|
+
if (typeof extraParams === 'string') {
|
|
241
|
+
try { extraParams = JSON.parse(extraParams) } catch (e) { extraParams = null }
|
|
242
|
+
}
|
|
243
|
+
if (extraParams && typeof extraParams === 'object') Object.assign(body, extraParams)
|
|
244
|
+
this.loading = true
|
|
245
|
+
this.$http.$post(body)
|
|
246
|
+
.then(data => {
|
|
247
|
+
const result = data || {}
|
|
248
|
+
this.scannedInstanceCount = result.scannedInstanceCount || 0
|
|
249
|
+
this.totalRows = result.totalRows || 0
|
|
250
|
+
this.rows = result.rows || []
|
|
251
|
+
this.buildErrorMap()
|
|
252
|
+
this.healthLoaded = true
|
|
253
|
+
this.applyMarkers()
|
|
254
|
+
})
|
|
255
|
+
.catch(err => {
|
|
256
|
+
this.$message.error((err && err.message) || '异常检测失败')
|
|
257
|
+
})
|
|
258
|
+
.finally(() => {
|
|
259
|
+
this.loading = false
|
|
260
|
+
})
|
|
261
|
+
},
|
|
262
|
+
buildErrorMap () {
|
|
263
|
+
const map = {}
|
|
264
|
+
for (const row of this.rows) {
|
|
265
|
+
for (const group of (row.nodeIssues || [])) {
|
|
266
|
+
if (!group.nodeId) continue
|
|
267
|
+
if (!map[group.nodeId]) {
|
|
268
|
+
map[group.nodeId] = {
|
|
269
|
+
nodeId: group.nodeId,
|
|
270
|
+
nodeName: group.nodeName,
|
|
271
|
+
current: group.current,
|
|
272
|
+
rows: []
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
map[group.nodeId].rows.push({ ...row, __items: group.items || [] })
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
this.errorNodeMap = map
|
|
279
|
+
},
|
|
280
|
+
applyMarkers () {
|
|
281
|
+
if (!this.viewerReady || !this.viewer) return
|
|
282
|
+
const canvas = this.viewer.get('canvas')
|
|
283
|
+
const registry = this.viewer.get('elementRegistry')
|
|
284
|
+
const overlays = this.viewer.get('overlays')
|
|
285
|
+
// 清除上一次的标记与角标
|
|
286
|
+
this.markedNodeIds.forEach(id => {
|
|
287
|
+
try { canvas.removeMarker(id, 'process-healthcheck-error') } catch (e) {}
|
|
288
|
+
})
|
|
289
|
+
this.markedNodeIds = []
|
|
290
|
+
try { overlays.clear() } catch (e) {}
|
|
291
|
+
this.errorNodeIds.forEach(nodeId => {
|
|
292
|
+
if (!registry.get(nodeId)) return
|
|
293
|
+
try {
|
|
294
|
+
canvas.addMarker(nodeId, 'process-healthcheck-error')
|
|
295
|
+
this.markedNodeIds.push(nodeId)
|
|
296
|
+
// 在异常节点上直接展示异常业务数据条数
|
|
297
|
+
const count = (this.errorNodeMap[nodeId].rows || []).length
|
|
298
|
+
overlays.add(nodeId, 'phc-badge', {
|
|
299
|
+
position: { top: -10, right: 10 },
|
|
300
|
+
html: `<div class="phc-node-badge" title="异常业务数据 ${count} 条">${count}</div>`
|
|
301
|
+
})
|
|
302
|
+
} catch (e) {}
|
|
303
|
+
})
|
|
304
|
+
},
|
|
305
|
+
fitViewport () {
|
|
306
|
+
if (!this.viewer) return
|
|
307
|
+
const canvas = this.viewer.get('canvas')
|
|
308
|
+
try {
|
|
309
|
+
canvas.zoom('fit-viewport', 'auto')
|
|
310
|
+
// 大图被压得过小时给一个下限,配合拖拽平移查看
|
|
311
|
+
if (canvas.zoom() < this.minZoom) canvas.zoom(this.minZoom)
|
|
312
|
+
} catch (e) {}
|
|
313
|
+
},
|
|
314
|
+
setZoom (delta) {
|
|
315
|
+
if (!this.viewer) return
|
|
316
|
+
const canvas = this.viewer.get('canvas')
|
|
317
|
+
const next = Math.max(0.2, Math.min(4, canvas.zoom() + delta))
|
|
318
|
+
canvas.zoom(next)
|
|
319
|
+
},
|
|
320
|
+
zoomIn () {
|
|
321
|
+
this.setZoom(0.1)
|
|
322
|
+
},
|
|
323
|
+
zoomOut () {
|
|
324
|
+
this.setZoom(-0.1)
|
|
325
|
+
},
|
|
326
|
+
onElementClick (e) {
|
|
327
|
+
const element = e && e.element
|
|
328
|
+
if (!element || !this.errorNodeMap[element.id]) return
|
|
329
|
+
this.activeNodeId = element.id
|
|
330
|
+
this.dialogVisible = true
|
|
331
|
+
},
|
|
332
|
+
checkTypeTag (code) {
|
|
333
|
+
return CHECK_TYPE_TAG[code] || 'info'
|
|
334
|
+
},
|
|
335
|
+
getRowKey (row) {
|
|
336
|
+
return row.processInstanceId || row.businessKey
|
|
337
|
+
},
|
|
338
|
+
// 受影响用户默认显示用户名(affectedUserNames 为名称展示值),无则回退到 ID
|
|
339
|
+
affectedUserNames (item) {
|
|
340
|
+
const names = item.affectedUserNames
|
|
341
|
+
if (names) return Array.isArray(names) ? names.join('、') : names
|
|
342
|
+
return (item.affectedUserIds || []).join('、')
|
|
343
|
+
},
|
|
344
|
+
// 打开该业务数据的流程审核记录
|
|
345
|
+
async openAuditHistory (row) {
|
|
346
|
+
if (!row || !row.businessKey) return
|
|
347
|
+
this.auditMetaId = row.metaId || this.$metaId
|
|
348
|
+
let metaKey = 'ID'
|
|
349
|
+
if (this.auditMetaId) {
|
|
350
|
+
let meta = this.getMeta(this.auditMetaId)
|
|
351
|
+
if (!meta) {
|
|
352
|
+
await this.$store.dispatch({ type: 'ADD_META', metaId: this.auditMetaId })
|
|
353
|
+
meta = this.getMeta(this.auditMetaId)
|
|
354
|
+
}
|
|
355
|
+
metaKey = (meta && meta.getKey && meta.getKey()) || 'ID'
|
|
356
|
+
}
|
|
357
|
+
// check-history 优先取 upPage.$query.id,这里直接喂业务数据id;
|
|
358
|
+
// formData 双键作为兜底($metaKey 解析成 ID 或真实主键都能命中)
|
|
359
|
+
this.auditUpPage.$query = { id: row.businessKey }
|
|
360
|
+
this.auditFormData = { ID: row.businessKey, [metaKey]: row.businessKey }
|
|
361
|
+
this.auditDialogVisible = true
|
|
362
|
+
},
|
|
363
|
+
formatTime (ts) {
|
|
364
|
+
return ts ? this.$moment(ts).format('YYYY-MM-DD HH:mm') : '-'
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
mounted () {
|
|
368
|
+
require.ensure([], () => {
|
|
369
|
+
const BpmnViewer = require('bpmn-js/lib/NavigatedViewer').default
|
|
370
|
+
const camundaModdleDescriptor = require('camunda-bpmn-moddle/resources/camunda')
|
|
371
|
+
const customTranslate = require('@/assets/customTranslate/customTranslate').default
|
|
372
|
+
const HealthcheckRenderer = require('./HealthcheckRenderer').default
|
|
373
|
+
this.initViewer({ BpmnViewer, camundaModdleDescriptor, customTranslate, HealthcheckRenderer })
|
|
374
|
+
}, () => {
|
|
375
|
+
this.$message.error('插件初始化失败,请重新打开页面')
|
|
376
|
+
}, 'bpmn')
|
|
377
|
+
},
|
|
378
|
+
beforeUnmount () {
|
|
379
|
+
if (this.viewer) {
|
|
380
|
+
try { this.viewer.destroy() } catch (e) {}
|
|
381
|
+
this.viewer = null
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
</script>
|
|
386
|
+
|
|
387
|
+
<style lang="scss" scoped>
|
|
388
|
+
.process-healthcheck {
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-direction: column;
|
|
391
|
+
height: 100%;
|
|
392
|
+
min-height: 700px;
|
|
393
|
+
background: #fff;
|
|
394
|
+
|
|
395
|
+
&__toolbar {
|
|
396
|
+
display: flex;
|
|
397
|
+
align-items: center;
|
|
398
|
+
justify-content: space-between;
|
|
399
|
+
padding: 12px 16px;
|
|
400
|
+
border-bottom: 1px solid #E3E3E3;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&__info {
|
|
404
|
+
display: flex;
|
|
405
|
+
flex-direction: row;
|
|
406
|
+
align-items: center;
|
|
407
|
+
flex-wrap: wrap;
|
|
408
|
+
gap: 24px;
|
|
409
|
+
min-width: 0;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
&__title {
|
|
413
|
+
font-size: $--font-size-large;
|
|
414
|
+
font-weight: 600;
|
|
415
|
+
color: var(--color-text-title);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&__summary {
|
|
419
|
+
display: flex;
|
|
420
|
+
align-items: center;
|
|
421
|
+
gap: 24px;
|
|
422
|
+
font-size: $--font-size-base;
|
|
423
|
+
color: var(--color-text-secondary);
|
|
424
|
+
|
|
425
|
+
b {
|
|
426
|
+
margin-left: 4px;
|
|
427
|
+
color: var(--color-text-title);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.is-danger {
|
|
431
|
+
color: #F56C6C;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.is-success {
|
|
435
|
+
color: #67C23A;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
&__actions {
|
|
440
|
+
display: flex;
|
|
441
|
+
align-items: center;
|
|
442
|
+
gap: 8px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
&__canvas {
|
|
446
|
+
position: relative;
|
|
447
|
+
flex: 1;
|
|
448
|
+
width: 100%;
|
|
449
|
+
min-height: 600px;
|
|
450
|
+
overflow: hidden;
|
|
451
|
+
cursor: move;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// bpmn-js 动态注入的节点 DOM 无 scoped data-v 属性,必须用 :deep() 命中
|
|
455
|
+
&__canvas :deep(.djs-element.process-healthcheck-error) {
|
|
456
|
+
cursor: pointer;
|
|
457
|
+
|
|
458
|
+
.djs-visual > :nth-child(1) {
|
|
459
|
+
stroke: #F56C6C !important;
|
|
460
|
+
fill: #FEF0F0 !important;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// 异常节点角标(bpmn overlays 注入的 HTML,需 :deep())
|
|
465
|
+
&__canvas :deep(.phc-node-badge) {
|
|
466
|
+
box-sizing: border-box;
|
|
467
|
+
min-width: 18px;
|
|
468
|
+
height: 18px;
|
|
469
|
+
padding: 0 5px;
|
|
470
|
+
border-radius: 9px;
|
|
471
|
+
background: #F56C6C;
|
|
472
|
+
color: #fff;
|
|
473
|
+
font-size: 12px;
|
|
474
|
+
line-height: 18px;
|
|
475
|
+
text-align: center;
|
|
476
|
+
box-shadow: 0 0 0 2px #fff;
|
|
477
|
+
pointer-events: none;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
</style>
|
|
481
|
+
|
|
482
|
+
<!-- 弹窗内容因 append-to-body 脱离了 scoped 作用域,单独用 phc-dialog 命名空间的全局样式 -->
|
|
483
|
+
<style lang="scss">
|
|
484
|
+
.phc-dialog {
|
|
485
|
+
.phc-audit {
|
|
486
|
+
margin-left: 6px;
|
|
487
|
+
cursor: pointer;
|
|
488
|
+
@include font_color_primary;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.phc-issues {
|
|
492
|
+
padding: 4px 12px;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.phc-issue {
|
|
496
|
+
display: flex;
|
|
497
|
+
align-items: flex-start;
|
|
498
|
+
gap: 8px;
|
|
499
|
+
padding: 6px 0;
|
|
500
|
+
|
|
501
|
+
& + .phc-issue {
|
|
502
|
+
border-top: 1px dashed #EBEEF5;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
&__tag {
|
|
506
|
+
flex: 0 0 auto;
|
|
507
|
+
margin-top: 2px;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
&__body {
|
|
511
|
+
flex: 1;
|
|
512
|
+
min-width: 0;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
&__detail {
|
|
516
|
+
line-height: 1.6;
|
|
517
|
+
color: var(--color-text-primary);
|
|
518
|
+
white-space: pre-wrap; // 异常详情允许换行展示
|
|
519
|
+
word-break: break-word;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&__users {
|
|
523
|
+
margin-top: 2px;
|
|
524
|
+
font-size: $--font-size-extra-small;
|
|
525
|
+
color: var(--color-text-secondary);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
</style>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer'
|
|
2
|
+
|
|
3
|
+
const HIGH_PRIORITY = 1500
|
|
4
|
+
|
|
5
|
+
// 平台节点名称以 camunda:name.i18n 形式存储,纯 Viewer 不会解析导致图上无名称。
|
|
6
|
+
// 这里在绘制前按当前语言把 businessObject.name 还原出来(逻辑对齐 custom-bpmn/CustomRenderer)。
|
|
7
|
+
export default class HealthcheckRenderer extends BaseRenderer {
|
|
8
|
+
constructor (eventBus, bpmnRenderer) {
|
|
9
|
+
super(eventBus, HIGH_PRIORITY)
|
|
10
|
+
this.bpmnRenderer = bpmnRenderer
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
canRender () {
|
|
14
|
+
return true
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
applyI18nName (element) {
|
|
18
|
+
try {
|
|
19
|
+
const { $attrs } = element.businessObject || {}
|
|
20
|
+
if (window.BPMN_CURRENT_LANGUAGE && $attrs && $attrs['camunda:name.i18n']) {
|
|
21
|
+
const nameI18n = JSON.parse($attrs['camunda:name.i18n'])
|
|
22
|
+
element.businessObject.name = nameI18n[window.BPMN_CURRENT_LANGUAGE] || element.businessObject.name
|
|
23
|
+
}
|
|
24
|
+
} catch (e) {}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
drawShape (parentNode, element) {
|
|
28
|
+
this.applyI18nName(element)
|
|
29
|
+
return this.bpmnRenderer.drawShape(parentNode, element)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
drawConnection (parentNode, element) {
|
|
33
|
+
return this.bpmnRenderer.drawConnection(parentNode, element)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
getShapePath (shape) {
|
|
37
|
+
return this.bpmnRenderer.getShapePath(shape)
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
HealthcheckRenderer.$inject = ['eventBus', 'bpmnRenderer']
|