@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,1082 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
2
|
+
import FormulaDialog from "./FormulaDialog.js";
|
|
3
|
+
import { relTypeLabel, SQL_IDENTIFIER_RE, UNION_MAPPING_BEAN_KEYS, parseFormulaTokens, VALUE_FNS } from "./constants.js";
|
|
4
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, createTextVNode, toDisplayString, withModifiers, createVNode, withCtx, withDirectives, createBlock, createCommentVNode } from "vue";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const _sfc_main = {
|
|
8
|
+
name: "epx-base-entity-view-config-union-panel",
|
|
9
|
+
components: {
|
|
10
|
+
[FormulaDialog.name]: FormulaDialog
|
|
11
|
+
},
|
|
12
|
+
props: {
|
|
13
|
+
viewId: String,
|
|
14
|
+
system: String,
|
|
15
|
+
viewName: String,
|
|
16
|
+
// 已配置聚合对象 [{ id, code, metaId, metaName, metaCode, scope, sort }]
|
|
17
|
+
unions: {
|
|
18
|
+
type: Array,
|
|
19
|
+
default() {
|
|
20
|
+
return [];
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
// 可选聚合对象(与主对象同 DB_SOURCE)[{ metaId, name, code }]
|
|
24
|
+
unionCandidates: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default() {
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
// 候选对象加载失败原因(如接口权限未绑定),空表示加载成功
|
|
31
|
+
candidatesError: String,
|
|
32
|
+
// 全部关联源(含主段),按 ownerCode 分段
|
|
33
|
+
sources: {
|
|
34
|
+
type: Array,
|
|
35
|
+
default() {
|
|
36
|
+
return [];
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
// 各段主对象的关联候选:metaId -> candidates
|
|
40
|
+
candidatesMap: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default() {
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
fields: {
|
|
47
|
+
type: Array,
|
|
48
|
+
default() {
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
metaFieldsMap: {
|
|
53
|
+
type: Object,
|
|
54
|
+
default() {
|
|
55
|
+
return {};
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
// 字段类型代码表(FM_DATA_TYPE)编号 -> 名称
|
|
59
|
+
dataTypeMap: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default() {
|
|
62
|
+
return {};
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
// 各聚合对象的列映射(ViewConfig 统一加载):unionId -> FM_VIEW_UNION_FIELD data 数组
|
|
66
|
+
mappingsMap: {
|
|
67
|
+
type: Object,
|
|
68
|
+
default() {
|
|
69
|
+
return {};
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
mappingLoading: Boolean
|
|
73
|
+
},
|
|
74
|
+
data() {
|
|
75
|
+
return {
|
|
76
|
+
selId: "",
|
|
77
|
+
rows: [],
|
|
78
|
+
valueFns: VALUE_FNS,
|
|
79
|
+
saving: false,
|
|
80
|
+
addVisible: false,
|
|
81
|
+
addForm: { metaId: "", code: "" },
|
|
82
|
+
formulaVisible: false,
|
|
83
|
+
formulaRow: null,
|
|
84
|
+
codeMapVisible: false,
|
|
85
|
+
codeMapRow: null,
|
|
86
|
+
codeMapRows: [],
|
|
87
|
+
scopeVisible: false,
|
|
88
|
+
scopeTarget: null,
|
|
89
|
+
scopeParams: []
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
computed: {
|
|
93
|
+
sel() {
|
|
94
|
+
return this.unions.find((union) => union.id === this.selId) || null;
|
|
95
|
+
},
|
|
96
|
+
// 本聚合段的关联源(OWNER_CODE = 分支编号)
|
|
97
|
+
segSources() {
|
|
98
|
+
if (!this.sel) return [];
|
|
99
|
+
return this.sources.filter((source) => source.ownerCode === this.sel.code);
|
|
100
|
+
},
|
|
101
|
+
segCandidates() {
|
|
102
|
+
return this.sel && this.candidatesMap[this.sel.metaId] || [];
|
|
103
|
+
},
|
|
104
|
+
selMetaFields() {
|
|
105
|
+
return this.sel && this.metaFieldsMap[this.sel.metaId] || [];
|
|
106
|
+
},
|
|
107
|
+
selMappings() {
|
|
108
|
+
return this.mappingsMap[this.selId] || [];
|
|
109
|
+
},
|
|
110
|
+
// 通用对象字段(epx-object)配置:点击弹出对象查找页面,范围限定为 objectCandidates 返回的候选
|
|
111
|
+
unionObjectFieldConfigs() {
|
|
112
|
+
return {
|
|
113
|
+
state: "ADD",
|
|
114
|
+
attriName: "UNION_META_ID",
|
|
115
|
+
attriLabel: "聚合对象",
|
|
116
|
+
dataType: "object",
|
|
117
|
+
codeKey: "FM_ENTITY",
|
|
118
|
+
placeholder: "点击选择要并入视图的对象",
|
|
119
|
+
scopeParams: [{
|
|
120
|
+
field: "ID",
|
|
121
|
+
mode: "in",
|
|
122
|
+
values: this.unionCandidates.map((item) => item.metaId).join(",")
|
|
123
|
+
}]
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
mappedCount() {
|
|
127
|
+
return this.rows.filter((row) => row.ID).length;
|
|
128
|
+
},
|
|
129
|
+
scopeSummary() {
|
|
130
|
+
if (!this.sel) return "";
|
|
131
|
+
try {
|
|
132
|
+
const scope = this.sel.scope ? JSON.parse(this.sel.scope) : null;
|
|
133
|
+
const count = scope && scope.scopeParams ? scope.scopeParams.length : 0;
|
|
134
|
+
return count ? `${count} 个过滤条件` : "全部数据";
|
|
135
|
+
} catch (e) {
|
|
136
|
+
return "全部数据";
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
watch: {
|
|
141
|
+
unions: {
|
|
142
|
+
handler() {
|
|
143
|
+
if (!this.unions.some((union) => union.id === this.selId)) {
|
|
144
|
+
this.selId = this.unions.length ? this.unions[0].id : "";
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
immediate: true
|
|
148
|
+
},
|
|
149
|
+
selId: {
|
|
150
|
+
handler() {
|
|
151
|
+
this.buildRows();
|
|
152
|
+
},
|
|
153
|
+
immediate: true
|
|
154
|
+
},
|
|
155
|
+
selMappings() {
|
|
156
|
+
this.buildRows();
|
|
157
|
+
},
|
|
158
|
+
fields() {
|
|
159
|
+
this.buildRows();
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
methods: {
|
|
163
|
+
relTypeLabel,
|
|
164
|
+
requestOptions() {
|
|
165
|
+
return this.system ? { system: this.system } : {};
|
|
166
|
+
},
|
|
167
|
+
metaFieldLabel(metaId, attrId) {
|
|
168
|
+
const field = (this.metaFieldsMap[metaId] || []).find((item) => item.id === attrId || item.name === attrId);
|
|
169
|
+
return field ? field.label : attrId;
|
|
170
|
+
},
|
|
171
|
+
// ---- 列映射数据 ----
|
|
172
|
+
// 以主视图列为基准,按 FIELD_CODE 合并当前分支的映射
|
|
173
|
+
buildRows() {
|
|
174
|
+
if (!this.selId) {
|
|
175
|
+
this.rows = [];
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
const mappings = this.selMappings;
|
|
179
|
+
this.rows = this.fields.map((field) => {
|
|
180
|
+
const mapping = mappings.find((item) => item.FIELD_CODE === field.CODE) || {};
|
|
181
|
+
return {
|
|
182
|
+
NAME: field.NAME,
|
|
183
|
+
CODE: field.CODE,
|
|
184
|
+
VIEW_TYPE: field.VIEW_TYPE,
|
|
185
|
+
ID: mapping.ID || "",
|
|
186
|
+
DATA_SOURCE: mapping.DATA_SOURCE || "",
|
|
187
|
+
SOURCE_CODE: mapping.SOURCE_CODE || "",
|
|
188
|
+
// 保存期入参(不落库):改绑关联对象字段时设置,后端自动登记源
|
|
189
|
+
SOURCE_META_ID: "",
|
|
190
|
+
REL_FLAG: "",
|
|
191
|
+
SOURCE_FIELD: mapping.SOURCE_FIELD || "",
|
|
192
|
+
SOURCE_EXPR: mapping.SOURCE_EXPR || "",
|
|
193
|
+
VALUE_FN: mapping.VALUE_FN || "",
|
|
194
|
+
DISTINCT_FLAG: mapping.DISTINCT_FLAG || "",
|
|
195
|
+
FORMULA: mapping.FORMULA || "",
|
|
196
|
+
FIXED_VALUE: mapping.FIXED_VALUE || "",
|
|
197
|
+
CODE_MAP: mapping.CODE_MAP || "",
|
|
198
|
+
ORDER_FIELD: mapping.ORDER_FIELD || "",
|
|
199
|
+
ORDER_DIR: mapping.ORDER_DIR || ""
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
},
|
|
203
|
+
matched(row) {
|
|
204
|
+
return (row.DATA_SOURCE || "field") === "field" && !!row.SOURCE_FIELD;
|
|
205
|
+
},
|
|
206
|
+
// 下拉值:自身字段 `::字段id`;关联对象字段 `@flag::字段id`(存量按源编号的映射解析回 flag)
|
|
207
|
+
matchValue(row) {
|
|
208
|
+
if (!this.matched(row)) return "";
|
|
209
|
+
if (row.REL_FLAG) return `@${row.REL_FLAG}::${row.SOURCE_FIELD}`;
|
|
210
|
+
if (!row.SOURCE_CODE) return `::${row.SOURCE_FIELD}`;
|
|
211
|
+
const source = this.segSources.find((item) => item.code === row.SOURCE_CODE);
|
|
212
|
+
return source ? `@${source.flag}::${row.SOURCE_FIELD}` : "";
|
|
213
|
+
},
|
|
214
|
+
rowRelType(row) {
|
|
215
|
+
if (row.REL_FLAG) {
|
|
216
|
+
const candidate = this.segCandidates.find((item) => item.flag === row.REL_FLAG);
|
|
217
|
+
return candidate && candidate.relType || "";
|
|
218
|
+
}
|
|
219
|
+
if (!row.SOURCE_CODE) return "";
|
|
220
|
+
const source = this.segSources.find((item) => item.code === row.SOURCE_CODE);
|
|
221
|
+
return source && source.relType || "";
|
|
222
|
+
},
|
|
223
|
+
isManyRow(row) {
|
|
224
|
+
return this.rowRelType(row) === "1";
|
|
225
|
+
},
|
|
226
|
+
// 打开映射下拉时懒加载各关联候选对象的字段
|
|
227
|
+
onMatchDropdown(open) {
|
|
228
|
+
if (!open) return;
|
|
229
|
+
this.segCandidates.forEach((candidate) => {
|
|
230
|
+
if (!this.metaFieldsMap[candidate.relatedMetaId]) this.$emit("load-meta-fields", candidate.relatedMetaId);
|
|
231
|
+
});
|
|
232
|
+
},
|
|
233
|
+
formulaRefs(row) {
|
|
234
|
+
return parseFormulaTokens(row.FORMULA).map((token) => {
|
|
235
|
+
if (token.code) {
|
|
236
|
+
const field = this.fields.find((item) => item.CODE === token.code);
|
|
237
|
+
if (field) return field.NAME;
|
|
238
|
+
return `${this.sel.metaName}/${this.metaFieldLabel(this.sel.metaId, token.code)}`;
|
|
239
|
+
}
|
|
240
|
+
if (token.source === "MAIN") {
|
|
241
|
+
return `${this.sel.metaName}/${this.metaFieldLabel(this.sel.metaId, token.field)}`;
|
|
242
|
+
}
|
|
243
|
+
if (token.relFlag) {
|
|
244
|
+
const candidate = this.segCandidates.find((item) => item.flag === token.relFlag);
|
|
245
|
+
const name = candidate && (candidate.title || candidate.relatedName) || token.relFlag;
|
|
246
|
+
return `${name}/${this.metaFieldLabel(token.metaId, token.field)}`;
|
|
247
|
+
}
|
|
248
|
+
const source = this.segSources.find((item) => item.code === token.source);
|
|
249
|
+
return source ? `${source.name}/${this.metaFieldLabel(source.metaId, token.field)}` : `${token.source}.${token.field}`;
|
|
250
|
+
});
|
|
251
|
+
},
|
|
252
|
+
// ---- 列映射保存 ----
|
|
253
|
+
saveRow(row, patch) {
|
|
254
|
+
Object.assign(row, patch);
|
|
255
|
+
const params = {
|
|
256
|
+
"bean.ENTITY_ID": this.viewId,
|
|
257
|
+
"bean.UNION_ID": this.selId,
|
|
258
|
+
"bean.FIELD_CODE": row.CODE
|
|
259
|
+
};
|
|
260
|
+
if (row.ID) params["bean.ID"] = row.ID;
|
|
261
|
+
UNION_MAPPING_BEAN_KEYS.forEach((key) => {
|
|
262
|
+
params[`bean.${key}`] = row[key] === void 0 || row[key] === null ? "" : row[key];
|
|
263
|
+
});
|
|
264
|
+
this.$http.$post({
|
|
265
|
+
entityId: "FM_VIEW_UNION_FIELD",
|
|
266
|
+
action: "saveMapping",
|
|
267
|
+
...params
|
|
268
|
+
}, this.requestOptions()).then(() => {
|
|
269
|
+
this.$message.success("已保存");
|
|
270
|
+
this.$emit("change-mappings", this.selId);
|
|
271
|
+
this.$emit("state-change");
|
|
272
|
+
}).catch((error) => {
|
|
273
|
+
this.$message.error(error.message || "保存失败");
|
|
274
|
+
this.$emit("change-mappings", this.selId);
|
|
275
|
+
});
|
|
276
|
+
},
|
|
277
|
+
clearMapping(row) {
|
|
278
|
+
if (!row.ID) {
|
|
279
|
+
this.buildRows();
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
this.$confirm(`确定清除列「${row.NAME}」的映射吗?清除后该列在本分支输出 NULL`, "提示", { type: "warning" }).then(() => {
|
|
283
|
+
return this.$http.$post({
|
|
284
|
+
entityId: "FM_VIEW_UNION_FIELD",
|
|
285
|
+
action: "deleteMapping",
|
|
286
|
+
id: row.ID
|
|
287
|
+
}, this.requestOptions()).then(() => {
|
|
288
|
+
this.$message.success("已清除");
|
|
289
|
+
this.$emit("change-mappings", this.selId);
|
|
290
|
+
this.$emit("state-change");
|
|
291
|
+
}).catch((error) => {
|
|
292
|
+
this.$message.error(error.message || "清除失败");
|
|
293
|
+
});
|
|
294
|
+
}).catch(() => {
|
|
295
|
+
this.buildRows();
|
|
296
|
+
});
|
|
297
|
+
},
|
|
298
|
+
// 切换数据来源只改本地,待填入具体取值(字段/公式/固定值)后才保存
|
|
299
|
+
onDataSourceChange(row, value) {
|
|
300
|
+
Object.assign(row, { DATA_SOURCE: value });
|
|
301
|
+
},
|
|
302
|
+
onMatchChange(row, value) {
|
|
303
|
+
if (!value) {
|
|
304
|
+
this.clearMapping(row);
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
const [sourcePart, fieldId] = value.split("::");
|
|
308
|
+
const patch = {
|
|
309
|
+
DATA_SOURCE: "field",
|
|
310
|
+
SOURCE_CODE: "",
|
|
311
|
+
SOURCE_META_ID: "",
|
|
312
|
+
REL_FLAG: "",
|
|
313
|
+
SOURCE_FIELD: fieldId,
|
|
314
|
+
FORMULA: "",
|
|
315
|
+
FIXED_VALUE: ""
|
|
316
|
+
};
|
|
317
|
+
let relType = "";
|
|
318
|
+
if (sourcePart.startsWith("@")) {
|
|
319
|
+
const flag = sourcePart.slice(1);
|
|
320
|
+
const candidate = this.segCandidates.find((item) => item.flag === flag) || {};
|
|
321
|
+
patch.SOURCE_META_ID = candidate.relatedMetaId || "";
|
|
322
|
+
patch.REL_FLAG = flag;
|
|
323
|
+
relType = candidate.relType || "";
|
|
324
|
+
}
|
|
325
|
+
if (relType === "1") {
|
|
326
|
+
if (!row.VALUE_FN) patch.VALUE_FN = "raw";
|
|
327
|
+
} else {
|
|
328
|
+
patch.VALUE_FN = "";
|
|
329
|
+
patch.DISTINCT_FLAG = "";
|
|
330
|
+
patch.SOURCE_EXPR = "";
|
|
331
|
+
patch.ORDER_FIELD = "";
|
|
332
|
+
patch.ORDER_DIR = "";
|
|
333
|
+
}
|
|
334
|
+
this.saveRow(row, patch);
|
|
335
|
+
},
|
|
336
|
+
onValueFnChange(row, value) {
|
|
337
|
+
const patch = { VALUE_FN: value };
|
|
338
|
+
if (!["raw", "last", "concat"].includes(value)) {
|
|
339
|
+
patch.ORDER_FIELD = "";
|
|
340
|
+
patch.ORDER_DIR = "";
|
|
341
|
+
}
|
|
342
|
+
if (!["sum", "avg", "max", "min", "count"].includes(value)) {
|
|
343
|
+
patch.SOURCE_EXPR = "";
|
|
344
|
+
}
|
|
345
|
+
if (!["sum", "avg", "count"].includes(value)) {
|
|
346
|
+
patch.DISTINCT_FLAG = "";
|
|
347
|
+
}
|
|
348
|
+
this.saveRow(row, patch);
|
|
349
|
+
},
|
|
350
|
+
openFormula(row) {
|
|
351
|
+
this.formulaRow = row;
|
|
352
|
+
this.formulaVisible = true;
|
|
353
|
+
},
|
|
354
|
+
onFormulaConfirm(expr) {
|
|
355
|
+
if (!this.formulaRow) return;
|
|
356
|
+
this.saveRow(this.formulaRow, {
|
|
357
|
+
DATA_SOURCE: "formula",
|
|
358
|
+
FORMULA: expr,
|
|
359
|
+
SOURCE_CODE: "",
|
|
360
|
+
SOURCE_META_ID: "",
|
|
361
|
+
REL_FLAG: "",
|
|
362
|
+
SOURCE_FIELD: "",
|
|
363
|
+
VALUE_FN: "",
|
|
364
|
+
DISTINCT_FLAG: "",
|
|
365
|
+
SOURCE_EXPR: "",
|
|
366
|
+
FIXED_VALUE: "",
|
|
367
|
+
ORDER_FIELD: "",
|
|
368
|
+
ORDER_DIR: ""
|
|
369
|
+
});
|
|
370
|
+
this.formulaVisible = false;
|
|
371
|
+
},
|
|
372
|
+
codeMapCount(row) {
|
|
373
|
+
try {
|
|
374
|
+
const map = row.CODE_MAP ? JSON.parse(row.CODE_MAP) : {};
|
|
375
|
+
return Object.keys(map).length;
|
|
376
|
+
} catch (e) {
|
|
377
|
+
return 0;
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
openCodeMap(row) {
|
|
381
|
+
this.codeMapRow = row;
|
|
382
|
+
let map = {};
|
|
383
|
+
try {
|
|
384
|
+
map = row.CODE_MAP ? JSON.parse(row.CODE_MAP) : {};
|
|
385
|
+
} catch (e) {
|
|
386
|
+
map = {};
|
|
387
|
+
}
|
|
388
|
+
this.codeMapRows = Object.keys(map).map((key) => ({ key, value: map[key] }));
|
|
389
|
+
this.codeMapVisible = true;
|
|
390
|
+
},
|
|
391
|
+
saveCodeMap() {
|
|
392
|
+
const map = {};
|
|
393
|
+
this.codeMapRows.forEach((kvRow) => {
|
|
394
|
+
if (kvRow.key !== "") map[kvRow.key] = kvRow.value;
|
|
395
|
+
});
|
|
396
|
+
this.saveRow(this.codeMapRow, { CODE_MAP: Object.keys(map).length ? JSON.stringify(map) : "" });
|
|
397
|
+
this.codeMapVisible = false;
|
|
398
|
+
},
|
|
399
|
+
// ---- 聚合对象增删 ----
|
|
400
|
+
openAdd() {
|
|
401
|
+
this.addForm = { metaId: "", code: "" };
|
|
402
|
+
if (!this.unionCandidates.length) this.$emit("reload-candidates");
|
|
403
|
+
this.addVisible = true;
|
|
404
|
+
},
|
|
405
|
+
// 对象查找选中/清空:v = { id: metaId, name } | null
|
|
406
|
+
onPickObject(v) {
|
|
407
|
+
if (!v || !v.id) {
|
|
408
|
+
this.addForm.metaId = "";
|
|
409
|
+
this.addForm.code = "";
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
const candidate = this.unionCandidates.find((item) => item.metaId === v.id);
|
|
413
|
+
if (!candidate) {
|
|
414
|
+
this.$message.warning("该对象不在可选聚合对象范围内");
|
|
415
|
+
return;
|
|
416
|
+
}
|
|
417
|
+
this.addForm.metaId = v.id;
|
|
418
|
+
this.onCandidateChange(v.id);
|
|
419
|
+
},
|
|
420
|
+
// 分支编号取对象编码大写;已被占用则依次加 _2/_3 后缀
|
|
421
|
+
onCandidateChange(metaId) {
|
|
422
|
+
const candidate = this.unionCandidates.find((item) => item.metaId === metaId);
|
|
423
|
+
const base = (candidate && candidate.code || "").replace(/[^A-Za-z0-9]+/g, "_").replace(/^_+|_+$/g, "").toUpperCase() || "U1";
|
|
424
|
+
const usedCodes = this.unions.map((union) => (union.code || "").toUpperCase());
|
|
425
|
+
let code = base === "MAIN" ? "MAIN_2" : base;
|
|
426
|
+
let index = 2;
|
|
427
|
+
while (usedCodes.includes(code)) {
|
|
428
|
+
code = `${base}_${index++}`;
|
|
429
|
+
}
|
|
430
|
+
this.addForm.code = code;
|
|
431
|
+
},
|
|
432
|
+
saveUnion() {
|
|
433
|
+
const candidate = this.unionCandidates.find((item) => item.metaId === this.addForm.metaId);
|
|
434
|
+
if (!candidate) return;
|
|
435
|
+
const code = this.addForm.code.trim().toUpperCase();
|
|
436
|
+
if (!SQL_IDENTIFIER_RE.test(code)) {
|
|
437
|
+
this.$message.warning("分支编号仅允许字母、数字、下划线,且不能以数字开头");
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
if (code === "MAIN") {
|
|
441
|
+
this.$message.warning("「MAIN」为主段保留编号,请更换");
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
if (this.unions.some((union) => (union.code || "").toUpperCase() === code)) {
|
|
445
|
+
this.$message.warning(`分支编号「${code}」已存在`);
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
const nextSort = this.unions.reduce((acc, union) => Math.max(acc, Number(union.sort) || 0), 0) + 1;
|
|
449
|
+
this.saving = true;
|
|
450
|
+
this.$http.$post({
|
|
451
|
+
entityId: "FM_VIEW_UNION",
|
|
452
|
+
action: "save",
|
|
453
|
+
"bean.ENTITY_ID": this.viewId,
|
|
454
|
+
"bean.UNION_CODE": code,
|
|
455
|
+
"bean.UNION_META_ID": candidate.metaId,
|
|
456
|
+
"bean.SORT": nextSort
|
|
457
|
+
}, this.requestOptions()).then((id) => {
|
|
458
|
+
this.$message.success("添加成功");
|
|
459
|
+
this.addVisible = false;
|
|
460
|
+
if (id) this.selId = id;
|
|
461
|
+
this.$emit("change");
|
|
462
|
+
}).catch((error) => {
|
|
463
|
+
this.$message.error(error.message || "添加失败");
|
|
464
|
+
}).finally(() => {
|
|
465
|
+
this.saving = false;
|
|
466
|
+
});
|
|
467
|
+
},
|
|
468
|
+
removeUnion(union) {
|
|
469
|
+
this.$confirm(
|
|
470
|
+
`删除聚合对象「${union.metaName}(${union.code})」将级联删除该分支的全部列映射与本段关联源,确定删除吗?`,
|
|
471
|
+
"提示",
|
|
472
|
+
{ type: "warning" }
|
|
473
|
+
).then(() => {
|
|
474
|
+
return this.$http.$post({
|
|
475
|
+
entityId: "FM_VIEW_UNION",
|
|
476
|
+
action: "delete",
|
|
477
|
+
id: union.id
|
|
478
|
+
}, this.requestOptions()).then(() => {
|
|
479
|
+
this.$message.success("删除成功");
|
|
480
|
+
this.$emit("change");
|
|
481
|
+
}).catch((error) => {
|
|
482
|
+
this.$message.error(error.message || "删除失败");
|
|
483
|
+
});
|
|
484
|
+
}).catch(() => {
|
|
485
|
+
});
|
|
486
|
+
},
|
|
487
|
+
// ---- 分支数据范围(UNION_SCOPE)----
|
|
488
|
+
openScope() {
|
|
489
|
+
if (!this.sel) return;
|
|
490
|
+
this.scopeTarget = { metaId: this.sel.metaId, row: this.sel };
|
|
491
|
+
try {
|
|
492
|
+
const scope = this.sel.scope ? JSON.parse(this.sel.scope) : null;
|
|
493
|
+
this.scopeParams = scope && scope.scopeParams || [];
|
|
494
|
+
} catch (e) {
|
|
495
|
+
this.scopeParams = [];
|
|
496
|
+
}
|
|
497
|
+
this.$nextTick(() => {
|
|
498
|
+
this.scopeVisible = true;
|
|
499
|
+
});
|
|
500
|
+
},
|
|
501
|
+
saveScope(scopeParams) {
|
|
502
|
+
const target = this.scopeTarget;
|
|
503
|
+
if (!target) return;
|
|
504
|
+
const scopeJson = scopeParams && scopeParams.length ? JSON.stringify({ scopeParams }) : "";
|
|
505
|
+
const row = target.row;
|
|
506
|
+
this.$http.$post({
|
|
507
|
+
entityId: "FM_VIEW_UNION",
|
|
508
|
+
action: "save",
|
|
509
|
+
"bean.ID": row.id,
|
|
510
|
+
"bean.ENTITY_ID": this.viewId,
|
|
511
|
+
"bean.UNION_CODE": row.code,
|
|
512
|
+
"bean.UNION_META_ID": row.metaId,
|
|
513
|
+
"bean.UNION_SCOPE": scopeJson,
|
|
514
|
+
"bean.SORT": row.sort || ""
|
|
515
|
+
}, this.requestOptions()).then(() => {
|
|
516
|
+
this.$message.success("数据范围已保存");
|
|
517
|
+
this.$emit("change");
|
|
518
|
+
}).catch((error) => {
|
|
519
|
+
this.$message.error(error.message || "保存失败");
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
const _hoisted_1 = { class: "union-panel" };
|
|
525
|
+
const _hoisted_2 = { class: "union-panel__tabbar" };
|
|
526
|
+
const _hoisted_3 = ["title", "onClick"];
|
|
527
|
+
const _hoisted_4 = { class: "union-panel__tab-code" };
|
|
528
|
+
const _hoisted_5 = ["onClick"];
|
|
529
|
+
const _hoisted_6 = {
|
|
530
|
+
key: 0,
|
|
531
|
+
class: "union-panel__blank"
|
|
532
|
+
};
|
|
533
|
+
const _hoisted_7 = { class: "union-panel__seg-bar" };
|
|
534
|
+
const _hoisted_8 = { class: "union-panel__seg-label" };
|
|
535
|
+
const _hoisted_9 = { class: "union-panel__scope-text" };
|
|
536
|
+
const _hoisted_10 = { class: "union-panel__map-sub" };
|
|
537
|
+
const _hoisted_11 = { class: "union-panel__total" };
|
|
538
|
+
const _hoisted_12 = { class: "union-panel__vf-name" };
|
|
539
|
+
const _hoisted_13 = { class: "union-panel__mono" };
|
|
540
|
+
const _hoisted_14 = {
|
|
541
|
+
key: 1,
|
|
542
|
+
class: "union-panel__refs"
|
|
543
|
+
};
|
|
544
|
+
const _hoisted_15 = {
|
|
545
|
+
key: 2,
|
|
546
|
+
class: "union-panel__none"
|
|
547
|
+
};
|
|
548
|
+
const _hoisted_16 = {
|
|
549
|
+
key: 0,
|
|
550
|
+
class: "union-panel__formula-cell"
|
|
551
|
+
};
|
|
552
|
+
const _hoisted_17 = ["title"];
|
|
553
|
+
const _hoisted_18 = {
|
|
554
|
+
key: 1,
|
|
555
|
+
class: "union-panel__none"
|
|
556
|
+
};
|
|
557
|
+
const _hoisted_19 = {
|
|
558
|
+
key: 1,
|
|
559
|
+
class: "union-panel__none"
|
|
560
|
+
};
|
|
561
|
+
const _hoisted_20 = {
|
|
562
|
+
key: 1,
|
|
563
|
+
class: "union-panel__none"
|
|
564
|
+
};
|
|
565
|
+
const _hoisted_21 = ["onClick"];
|
|
566
|
+
const _hoisted_22 = { class: "union-panel__overlays" };
|
|
567
|
+
const _hoisted_23 = {
|
|
568
|
+
key: 1,
|
|
569
|
+
class: "union-panel__hint is-error"
|
|
570
|
+
};
|
|
571
|
+
const _hoisted_24 = {
|
|
572
|
+
key: 2,
|
|
573
|
+
class: "union-panel__hint"
|
|
574
|
+
};
|
|
575
|
+
const _hoisted_25 = {
|
|
576
|
+
key: 3,
|
|
577
|
+
class: "union-panel__hint"
|
|
578
|
+
};
|
|
579
|
+
const _hoisted_26 = { class: "union-panel__cm-sub" };
|
|
580
|
+
const _hoisted_27 = ["onClick"];
|
|
581
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
582
|
+
const _component_el_button = resolveComponent("el-button");
|
|
583
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
584
|
+
const _component_el_option = resolveComponent("el-option");
|
|
585
|
+
const _component_el_select = resolveComponent("el-select");
|
|
586
|
+
const _component_el_option_group = resolveComponent("el-option-group");
|
|
587
|
+
const _component_el_input = resolveComponent("el-input");
|
|
588
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
589
|
+
const _component_el_table = resolveComponent("el-table");
|
|
590
|
+
const _component_epx_object = resolveComponent("epx-object");
|
|
591
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
592
|
+
const _component_el_form = resolveComponent("el-form");
|
|
593
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
594
|
+
const _component_epx_base_entity_view_config_formula_dialog = resolveComponent("epx-base-entity-view-config-formula-dialog");
|
|
595
|
+
const _component_epx_scope_drawer = resolveComponent("epx-scope-drawer");
|
|
596
|
+
const _directive_loading = resolveDirective("loading");
|
|
597
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
598
|
+
createElementVNode("div", _hoisted_2, [
|
|
599
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.unions, (union) => {
|
|
600
|
+
return openBlock(), createElementBlock("span", {
|
|
601
|
+
key: union.id,
|
|
602
|
+
class: normalizeClass(["union-panel__tab", { "is-active": union.id === $data.selId }]),
|
|
603
|
+
title: `${union.metaName}(${union.metaCode})· 分支编号 ${union.code}`,
|
|
604
|
+
onClick: ($event) => $data.selId = union.id
|
|
605
|
+
}, [
|
|
606
|
+
_cache[10] || (_cache[10] = createElementVNode("i", { class: "el-icon-copy-document" }, null, -1)),
|
|
607
|
+
createTextVNode(toDisplayString(union.metaName) + " ", 1),
|
|
608
|
+
createElementVNode("span", _hoisted_4, toDisplayString(union.code), 1),
|
|
609
|
+
createElementVNode("i", {
|
|
610
|
+
class: "el-icon-close union-panel__tab-x",
|
|
611
|
+
title: "删除分支",
|
|
612
|
+
onClick: withModifiers(($event) => $options.removeUnion(union), ["stop"])
|
|
613
|
+
}, null, 8, _hoisted_5)
|
|
614
|
+
], 10, _hoisted_3);
|
|
615
|
+
}), 128)),
|
|
616
|
+
createElementVNode("span", {
|
|
617
|
+
class: "union-panel__tab-add",
|
|
618
|
+
onClick: _cache[0] || (_cache[0] = (...args) => $options.openAdd && $options.openAdd(...args))
|
|
619
|
+
}, [..._cache[11] || (_cache[11] = [
|
|
620
|
+
createElementVNode("i", { class: "el-icon-plus" }, null, -1),
|
|
621
|
+
createTextVNode("添加聚合对象 ", -1)
|
|
622
|
+
])])
|
|
623
|
+
]),
|
|
624
|
+
!$props.unions.length ? (openBlock(), createElementBlock("div", _hoisted_6, [..._cache[12] || (_cache[12] = [
|
|
625
|
+
createElementVNode("i", { class: "el-icon-copy-document" }, null, -1),
|
|
626
|
+
createElementVNode("div", null, [
|
|
627
|
+
createTextVNode(" 暂无聚合对象。聚合对象是与主段列结构一致的 UNION ALL 分支,"),
|
|
628
|
+
createElementVNode("br"),
|
|
629
|
+
createTextVNode(" 需与主对象在同一数据库源,点击「添加聚合对象」开始配置 ")
|
|
630
|
+
], -1)
|
|
631
|
+
])])) : $options.sel ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
632
|
+
createElementVNode("div", _hoisted_7, [
|
|
633
|
+
createElementVNode("span", _hoisted_8, [
|
|
634
|
+
_cache[13] || (_cache[13] = createElementVNode("i", { class: "el-icon-set-up" }, null, -1)),
|
|
635
|
+
_cache[14] || (_cache[14] = createTextVNode("分支「", -1)),
|
|
636
|
+
createElementVNode("b", null, toDisplayString($options.sel.metaName), 1),
|
|
637
|
+
_cache[15] || (_cache[15] = createTextVNode("」数据范围 ", -1))
|
|
638
|
+
]),
|
|
639
|
+
createElementVNode("span", _hoisted_9, toDisplayString($options.scopeSummary), 1),
|
|
640
|
+
_cache[17] || (_cache[17] = createElementVNode("span", { class: "union-panel__spacer" }, null, -1)),
|
|
641
|
+
createVNode(_component_el_button, {
|
|
642
|
+
size: "small",
|
|
643
|
+
icon: "el-icon-set-up",
|
|
644
|
+
onClick: $options.openScope
|
|
645
|
+
}, {
|
|
646
|
+
default: withCtx(() => [..._cache[16] || (_cache[16] = [
|
|
647
|
+
createTextVNode("设置数据范围", -1)
|
|
648
|
+
])]),
|
|
649
|
+
_: 1
|
|
650
|
+
}, 8, ["onClick"])
|
|
651
|
+
]),
|
|
652
|
+
createElementVNode("div", _hoisted_10, [
|
|
653
|
+
_cache[19] || (_cache[19] = createTextVNode(" 将聚合对象 ", -1)),
|
|
654
|
+
createElementVNode("b", null, toDisplayString($options.sel.metaName), 1),
|
|
655
|
+
_cache[20] || (_cache[20] = createTextVNode(" 的数据映射到 ", -1)),
|
|
656
|
+
createElementVNode("b", null, toDisplayString($props.viewName), 1),
|
|
657
|
+
_cache[21] || (_cache[21] = createTextVNode(" 的各列,未映射的列在该分支输出 NULL ", -1)),
|
|
658
|
+
_cache[22] || (_cache[22] = createElementVNode("span", { class: "union-panel__spacer" }, null, -1)),
|
|
659
|
+
createElementVNode("span", _hoisted_11, [
|
|
660
|
+
_cache[18] || (_cache[18] = createTextVNode("已映射 ", -1)),
|
|
661
|
+
createElementVNode("b", null, toDisplayString($options.mappedCount), 1),
|
|
662
|
+
createTextVNode(" / " + toDisplayString($data.rows.length), 1)
|
|
663
|
+
])
|
|
664
|
+
]),
|
|
665
|
+
withDirectives((openBlock(), createBlock(_component_el_table, {
|
|
666
|
+
data: $data.rows,
|
|
667
|
+
size: "small",
|
|
668
|
+
class: "union-panel__map-table"
|
|
669
|
+
}, {
|
|
670
|
+
empty: withCtx(() => [..._cache[25] || (_cache[25] = [
|
|
671
|
+
createElementVNode("div", { class: "union-panel__empty" }, "暂无视图字段,请先在「字段配置」页签中添加", -1)
|
|
672
|
+
])]),
|
|
673
|
+
default: withCtx(() => [
|
|
674
|
+
createVNode(_component_el_table_column, {
|
|
675
|
+
type: "index",
|
|
676
|
+
label: "序号",
|
|
677
|
+
width: "48"
|
|
678
|
+
}),
|
|
679
|
+
createVNode(_component_el_table_column, {
|
|
680
|
+
label: "视图字段",
|
|
681
|
+
"min-width": "110",
|
|
682
|
+
"show-overflow-tooltip": ""
|
|
683
|
+
}, {
|
|
684
|
+
default: withCtx(({ row }) => [
|
|
685
|
+
createElementVNode("span", _hoisted_12, toDisplayString(row.NAME), 1)
|
|
686
|
+
]),
|
|
687
|
+
_: 1
|
|
688
|
+
}),
|
|
689
|
+
createVNode(_component_el_table_column, {
|
|
690
|
+
prop: "CODE",
|
|
691
|
+
label: "编号",
|
|
692
|
+
width: "110",
|
|
693
|
+
"show-overflow-tooltip": ""
|
|
694
|
+
}, {
|
|
695
|
+
default: withCtx(({ row }) => [
|
|
696
|
+
createElementVNode("span", _hoisted_13, toDisplayString(row.CODE), 1)
|
|
697
|
+
]),
|
|
698
|
+
_: 1
|
|
699
|
+
}),
|
|
700
|
+
createVNode(_component_el_table_column, {
|
|
701
|
+
prop: "VIEW_TYPE",
|
|
702
|
+
label: "类型",
|
|
703
|
+
width: "60"
|
|
704
|
+
}),
|
|
705
|
+
createVNode(_component_el_table_column, {
|
|
706
|
+
width: "46",
|
|
707
|
+
align: "center"
|
|
708
|
+
}, {
|
|
709
|
+
default: withCtx(({ row }) => [
|
|
710
|
+
createElementVNode("i", {
|
|
711
|
+
class: normalizeClass(["el-icon-sort", "union-panel__arrow", { "is-set": !!row.ID }])
|
|
712
|
+
}, null, 2)
|
|
713
|
+
]),
|
|
714
|
+
_: 1
|
|
715
|
+
}),
|
|
716
|
+
createVNode(_component_el_table_column, {
|
|
717
|
+
label: "数据来源",
|
|
718
|
+
width: "118"
|
|
719
|
+
}, {
|
|
720
|
+
default: withCtx(({ row }) => [
|
|
721
|
+
createVNode(_component_el_select, {
|
|
722
|
+
"model-value": row.DATA_SOURCE || "field",
|
|
723
|
+
size: "small",
|
|
724
|
+
onChange: ($event) => $options.onDataSourceChange(row, $event)
|
|
725
|
+
}, {
|
|
726
|
+
default: withCtx(() => [
|
|
727
|
+
createVNode(_component_el_option, {
|
|
728
|
+
value: "field",
|
|
729
|
+
label: "对象字段"
|
|
730
|
+
}),
|
|
731
|
+
createVNode(_component_el_option, {
|
|
732
|
+
value: "formula",
|
|
733
|
+
label: "公式"
|
|
734
|
+
}),
|
|
735
|
+
createVNode(_component_el_option, {
|
|
736
|
+
value: "fixed",
|
|
737
|
+
label: "指定值"
|
|
738
|
+
})
|
|
739
|
+
]),
|
|
740
|
+
_: 1
|
|
741
|
+
}, 8, ["model-value", "onChange"])
|
|
742
|
+
]),
|
|
743
|
+
_: 1
|
|
744
|
+
}),
|
|
745
|
+
createVNode(_component_el_table_column, {
|
|
746
|
+
label: "映射字段 / 取值",
|
|
747
|
+
"min-width": "230"
|
|
748
|
+
}, {
|
|
749
|
+
default: withCtx(({ row }) => [
|
|
750
|
+
(row.DATA_SOURCE || "field") === "field" ? (openBlock(), createBlock(_component_el_select, {
|
|
751
|
+
key: 0,
|
|
752
|
+
"model-value": $options.matchValue(row),
|
|
753
|
+
class: normalizeClass(["union-panel__match", { "is-matched": $options.matched(row) }]),
|
|
754
|
+
size: "small",
|
|
755
|
+
filterable: "",
|
|
756
|
+
onVisibleChange: $options.onMatchDropdown,
|
|
757
|
+
onChange: ($event) => $options.onMatchChange(row, $event)
|
|
758
|
+
}, {
|
|
759
|
+
default: withCtx(() => [
|
|
760
|
+
createVNode(_component_el_option, {
|
|
761
|
+
value: "",
|
|
762
|
+
label: "— 不映射(输出 NULL) —"
|
|
763
|
+
}),
|
|
764
|
+
createVNode(_component_el_option_group, {
|
|
765
|
+
label: `${$options.sel.metaName}(聚合对象自身)`
|
|
766
|
+
}, {
|
|
767
|
+
default: withCtx(() => [
|
|
768
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selMetaFields, (item) => {
|
|
769
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
770
|
+
key: `::${item.id}`,
|
|
771
|
+
value: `::${item.id}`,
|
|
772
|
+
label: `${item.label}(${item.name})· ${$props.dataTypeMap[item.dataType] || item.dataType || ""}`
|
|
773
|
+
}, null, 8, ["value", "label"]);
|
|
774
|
+
}), 128))
|
|
775
|
+
]),
|
|
776
|
+
_: 1
|
|
777
|
+
}, 8, ["label"]),
|
|
778
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.segCandidates, (candidate) => {
|
|
779
|
+
return openBlock(), createBlock(_component_el_option_group, {
|
|
780
|
+
key: candidate.flag,
|
|
781
|
+
label: `${candidate.title || candidate.relatedName}(${candidate.relatedName} · ${$options.relTypeLabel(candidate.relType) || "关联"})`
|
|
782
|
+
}, {
|
|
783
|
+
default: withCtx(() => [
|
|
784
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.metaFieldsMap[candidate.relatedMetaId] || [], (item) => {
|
|
785
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
786
|
+
key: `@${candidate.flag}::${item.id}`,
|
|
787
|
+
value: `@${candidate.flag}::${item.id}`,
|
|
788
|
+
label: `${item.label}(${item.name})· ${$props.dataTypeMap[item.dataType] || item.dataType || ""}`
|
|
789
|
+
}, null, 8, ["value", "label"]);
|
|
790
|
+
}), 128))
|
|
791
|
+
]),
|
|
792
|
+
_: 2
|
|
793
|
+
}, 1032, ["label"]);
|
|
794
|
+
}), 128))
|
|
795
|
+
]),
|
|
796
|
+
_: 1
|
|
797
|
+
}, 8, ["model-value", "class", "onVisibleChange", "onChange"])) : row.DATA_SOURCE === "formula" && $options.formulaRefs(row).length ? (openBlock(), createElementBlock("span", _hoisted_14, [
|
|
798
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.formulaRefs(row), (ref, index) => {
|
|
799
|
+
return openBlock(), createElementBlock("span", {
|
|
800
|
+
key: index,
|
|
801
|
+
class: "union-panel__ref"
|
|
802
|
+
}, toDisplayString(ref), 1);
|
|
803
|
+
}), 128))
|
|
804
|
+
])) : row.DATA_SOURCE === "formula" ? (openBlock(), createElementBlock("span", _hoisted_15, "公式中引用的字段")) : (openBlock(), createBlock(_component_el_input, {
|
|
805
|
+
key: 3,
|
|
806
|
+
"model-value": row.FIXED_VALUE,
|
|
807
|
+
size: "small",
|
|
808
|
+
placeholder: "输入固定值",
|
|
809
|
+
onChange: ($event) => $options.saveRow(row, { DATA_SOURCE: "fixed", FIXED_VALUE: $event, SOURCE_CODE: "", SOURCE_META_ID: "", REL_FLAG: "", SOURCE_FIELD: "", VALUE_FN: "", DISTINCT_FLAG: "", SOURCE_EXPR: "", FORMULA: "" })
|
|
810
|
+
}, null, 8, ["model-value", "onChange"]))
|
|
811
|
+
]),
|
|
812
|
+
_: 1
|
|
813
|
+
}),
|
|
814
|
+
createVNode(_component_el_table_column, {
|
|
815
|
+
label: "公式",
|
|
816
|
+
width: "200"
|
|
817
|
+
}, {
|
|
818
|
+
default: withCtx(({ row }) => [
|
|
819
|
+
row.DATA_SOURCE === "formula" ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
820
|
+
createElementVNode("div", {
|
|
821
|
+
class: normalizeClass(["union-panel__formula-box", { "is-empty": !row.FORMULA }]),
|
|
822
|
+
title: row.FORMULA
|
|
823
|
+
}, toDisplayString(row.FORMULA || "未设置公式"), 11, _hoisted_17),
|
|
824
|
+
createVNode(_component_el_button, {
|
|
825
|
+
size: "small",
|
|
826
|
+
onClick: ($event) => $options.openFormula(row)
|
|
827
|
+
}, {
|
|
828
|
+
default: withCtx(() => [..._cache[23] || (_cache[23] = [
|
|
829
|
+
createTextVNode("fx 编辑", -1)
|
|
830
|
+
])]),
|
|
831
|
+
_: 1
|
|
832
|
+
}, 8, ["onClick"])
|
|
833
|
+
])) : (openBlock(), createElementBlock("span", _hoisted_18, "—"))
|
|
834
|
+
]),
|
|
835
|
+
_: 1
|
|
836
|
+
}),
|
|
837
|
+
createVNode(_component_el_table_column, {
|
|
838
|
+
label: "函数",
|
|
839
|
+
width: "112"
|
|
840
|
+
}, {
|
|
841
|
+
default: withCtx(({ row }) => [
|
|
842
|
+
$options.matched(row) && $options.isManyRow(row) ? (openBlock(), createBlock(_component_el_select, {
|
|
843
|
+
key: 0,
|
|
844
|
+
"model-value": row.VALUE_FN || "",
|
|
845
|
+
size: "small",
|
|
846
|
+
onChange: ($event) => $options.onValueFnChange(row, $event)
|
|
847
|
+
}, {
|
|
848
|
+
default: withCtx(() => [
|
|
849
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.valueFns, (fn) => {
|
|
850
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
851
|
+
key: fn.value,
|
|
852
|
+
value: fn.value,
|
|
853
|
+
label: fn.label
|
|
854
|
+
}, null, 8, ["value", "label"]);
|
|
855
|
+
}), 128))
|
|
856
|
+
]),
|
|
857
|
+
_: 1
|
|
858
|
+
}, 8, ["model-value", "onChange"])) : (openBlock(), createElementBlock("span", _hoisted_19, "—")),
|
|
859
|
+
$options.matched(row) && $options.isManyRow(row) && ["sum", "avg", "count"].includes(row.VALUE_FN) ? (openBlock(), createBlock(_component_el_checkbox, {
|
|
860
|
+
key: 2,
|
|
861
|
+
"model-value": row.DISTINCT_FLAG === "1",
|
|
862
|
+
onChange: ($event) => $options.saveRow(row, { DISTINCT_FLAG: $event ? "1" : "" })
|
|
863
|
+
}, {
|
|
864
|
+
default: withCtx(() => [..._cache[24] || (_cache[24] = [
|
|
865
|
+
createTextVNode("去重", -1)
|
|
866
|
+
])]),
|
|
867
|
+
_: 1
|
|
868
|
+
}, 8, ["model-value", "onChange"])) : createCommentVNode("", true)
|
|
869
|
+
]),
|
|
870
|
+
_: 1
|
|
871
|
+
}),
|
|
872
|
+
createVNode(_component_el_table_column, {
|
|
873
|
+
label: "数据匹配",
|
|
874
|
+
width: "110"
|
|
875
|
+
}, {
|
|
876
|
+
default: withCtx(({ row }) => [
|
|
877
|
+
$options.matched(row) ? (openBlock(), createBlock(_component_el_button, {
|
|
878
|
+
key: 0,
|
|
879
|
+
type: "primary",
|
|
880
|
+
link: "",
|
|
881
|
+
size: "small",
|
|
882
|
+
icon: "el-icon-sort",
|
|
883
|
+
onClick: ($event) => $options.openCodeMap(row)
|
|
884
|
+
}, {
|
|
885
|
+
default: withCtx(() => [
|
|
886
|
+
createTextVNode(" 代码映射" + toDisplayString($options.codeMapCount(row) ? `·${$options.codeMapCount(row)}` : ""), 1)
|
|
887
|
+
]),
|
|
888
|
+
_: 2
|
|
889
|
+
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_20, "—"))
|
|
890
|
+
]),
|
|
891
|
+
_: 1
|
|
892
|
+
}),
|
|
893
|
+
createVNode(_component_el_table_column, {
|
|
894
|
+
width: "46",
|
|
895
|
+
align: "center"
|
|
896
|
+
}, {
|
|
897
|
+
default: withCtx(({ row }) => [
|
|
898
|
+
row.ID ? (openBlock(), createElementBlock("i", {
|
|
899
|
+
key: 0,
|
|
900
|
+
class: "el-icon-delete union-panel__del",
|
|
901
|
+
title: "清除该列映射",
|
|
902
|
+
onClick: ($event) => $options.clearMapping(row)
|
|
903
|
+
}, null, 8, _hoisted_21)) : createCommentVNode("", true)
|
|
904
|
+
]),
|
|
905
|
+
_: 1
|
|
906
|
+
})
|
|
907
|
+
]),
|
|
908
|
+
_: 1
|
|
909
|
+
}, 8, ["data"])), [
|
|
910
|
+
[_directive_loading, $props.mappingLoading]
|
|
911
|
+
])
|
|
912
|
+
], 64)) : createCommentVNode("", true),
|
|
913
|
+
createElementVNode("div", _hoisted_22, [
|
|
914
|
+
createVNode(_component_el_dialog, {
|
|
915
|
+
class: "dialog",
|
|
916
|
+
title: "添加聚合对象",
|
|
917
|
+
width: "520px",
|
|
918
|
+
modelValue: $data.addVisible,
|
|
919
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.addVisible = $event),
|
|
920
|
+
"append-to-body": ""
|
|
921
|
+
}, {
|
|
922
|
+
footer: withCtx(() => [
|
|
923
|
+
createVNode(_component_el_button, {
|
|
924
|
+
size: "small",
|
|
925
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $data.addVisible = false)
|
|
926
|
+
}, {
|
|
927
|
+
default: withCtx(() => [..._cache[26] || (_cache[26] = [
|
|
928
|
+
createTextVNode("取消", -1)
|
|
929
|
+
])]),
|
|
930
|
+
_: 1
|
|
931
|
+
}),
|
|
932
|
+
createVNode(_component_el_button, {
|
|
933
|
+
type: "primary",
|
|
934
|
+
size: "small",
|
|
935
|
+
loading: $data.saving,
|
|
936
|
+
disabled: !$data.addForm.metaId || !$data.addForm.code,
|
|
937
|
+
onClick: $options.saveUnion
|
|
938
|
+
}, {
|
|
939
|
+
default: withCtx(() => [..._cache[27] || (_cache[27] = [
|
|
940
|
+
createTextVNode("确定", -1)
|
|
941
|
+
])]),
|
|
942
|
+
_: 1
|
|
943
|
+
}, 8, ["loading", "disabled", "onClick"])
|
|
944
|
+
]),
|
|
945
|
+
default: withCtx(() => [
|
|
946
|
+
createVNode(_component_el_form, {
|
|
947
|
+
"label-position": "top",
|
|
948
|
+
size: "small"
|
|
949
|
+
}, {
|
|
950
|
+
default: withCtx(() => [
|
|
951
|
+
createVNode(_component_el_form_item, {
|
|
952
|
+
label: "聚合对象",
|
|
953
|
+
required: ""
|
|
954
|
+
}, {
|
|
955
|
+
default: withCtx(() => [
|
|
956
|
+
$data.addVisible ? (openBlock(), createBlock(_component_epx_object, {
|
|
957
|
+
key: 0,
|
|
958
|
+
"model-value": $data.addForm.metaId,
|
|
959
|
+
"field-configs": $options.unionObjectFieldConfigs,
|
|
960
|
+
"onUpdate:modelValue": $options.onPickObject
|
|
961
|
+
}, null, 8, ["model-value", "field-configs", "onUpdate:modelValue"])) : createCommentVNode("", true),
|
|
962
|
+
!$props.unionCandidates.length && $props.candidatesError ? (openBlock(), createElementBlock("div", _hoisted_23, " 候选对象加载失败:" + toDisplayString($props.candidatesError), 1)) : !$props.unionCandidates.length ? (openBlock(), createElementBlock("div", _hoisted_24, " 暂无可选对象(需与主对象同一数据库源且有物理表) ")) : (openBlock(), createElementBlock("div", _hoisted_25, "仅可选择与主对象同一数据库源的对象;分支数据与主段按 UNION ALL 合并"))
|
|
963
|
+
]),
|
|
964
|
+
_: 1
|
|
965
|
+
}),
|
|
966
|
+
createVNode(_component_el_form_item, {
|
|
967
|
+
label: "分支编号",
|
|
968
|
+
required: ""
|
|
969
|
+
}, {
|
|
970
|
+
default: withCtx(() => [
|
|
971
|
+
createVNode(_component_el_input, {
|
|
972
|
+
modelValue: $data.addForm.code,
|
|
973
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.addForm.code = $event),
|
|
974
|
+
placeholder: "视图内唯一,创建后不可修改,如 RESIGNED"
|
|
975
|
+
}, null, 8, ["modelValue"])
|
|
976
|
+
]),
|
|
977
|
+
_: 1
|
|
978
|
+
})
|
|
979
|
+
]),
|
|
980
|
+
_: 1
|
|
981
|
+
})
|
|
982
|
+
]),
|
|
983
|
+
_: 1
|
|
984
|
+
}, 8, ["modelValue"]),
|
|
985
|
+
createVNode(_component_epx_base_entity_view_config_formula_dialog, {
|
|
986
|
+
visible: $data.formulaVisible,
|
|
987
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => $data.formulaVisible = $event),
|
|
988
|
+
"view-id": $props.viewId,
|
|
989
|
+
system: $props.system,
|
|
990
|
+
"union-id": $data.selId,
|
|
991
|
+
"meta-id": $options.sel ? $options.sel.metaId : "",
|
|
992
|
+
sources: $options.segSources,
|
|
993
|
+
"field-name": $data.formulaRow ? $data.formulaRow.NAME : "",
|
|
994
|
+
value: $data.formulaRow ? $data.formulaRow.FORMULA : "",
|
|
995
|
+
onConfirm: $options.onFormulaConfirm
|
|
996
|
+
}, null, 8, ["visible", "view-id", "system", "union-id", "meta-id", "sources", "field-name", "value", "onConfirm"]),
|
|
997
|
+
createVNode(_component_el_dialog, {
|
|
998
|
+
class: "dialog",
|
|
999
|
+
title: "代码映射",
|
|
1000
|
+
width: "460px",
|
|
1001
|
+
modelValue: $data.codeMapVisible,
|
|
1002
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.codeMapVisible = $event),
|
|
1003
|
+
"append-to-body": ""
|
|
1004
|
+
}, {
|
|
1005
|
+
footer: withCtx(() => [
|
|
1006
|
+
createVNode(_component_el_button, {
|
|
1007
|
+
size: "small",
|
|
1008
|
+
onClick: _cache[6] || (_cache[6] = ($event) => $data.codeMapVisible = false)
|
|
1009
|
+
}, {
|
|
1010
|
+
default: withCtx(() => [..._cache[30] || (_cache[30] = [
|
|
1011
|
+
createTextVNode("取消", -1)
|
|
1012
|
+
])]),
|
|
1013
|
+
_: 1
|
|
1014
|
+
}),
|
|
1015
|
+
createVNode(_component_el_button, {
|
|
1016
|
+
type: "primary",
|
|
1017
|
+
size: "small",
|
|
1018
|
+
onClick: $options.saveCodeMap
|
|
1019
|
+
}, {
|
|
1020
|
+
default: withCtx(() => [..._cache[31] || (_cache[31] = [
|
|
1021
|
+
createTextVNode("确定", -1)
|
|
1022
|
+
])]),
|
|
1023
|
+
_: 1
|
|
1024
|
+
}, 8, ["onClick"])
|
|
1025
|
+
]),
|
|
1026
|
+
default: withCtx(() => [
|
|
1027
|
+
createElementVNode("div", _hoisted_26, " 将视图字段「" + toDisplayString($data.codeMapRow ? $data.codeMapRow.NAME : "") + "」的显示值映射为源值(生成 CASE),如 男 → 1 ", 1),
|
|
1028
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.codeMapRows, (kvRow, index) => {
|
|
1029
|
+
return openBlock(), createElementBlock("div", {
|
|
1030
|
+
key: index,
|
|
1031
|
+
class: "union-panel__kv"
|
|
1032
|
+
}, [
|
|
1033
|
+
createVNode(_component_el_input, {
|
|
1034
|
+
modelValue: kvRow.key,
|
|
1035
|
+
"onUpdate:modelValue": ($event) => kvRow.key = $event,
|
|
1036
|
+
size: "small",
|
|
1037
|
+
placeholder: "显示值"
|
|
1038
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1039
|
+
_cache[28] || (_cache[28] = createElementVNode("i", { class: "el-icon-right" }, null, -1)),
|
|
1040
|
+
createVNode(_component_el_input, {
|
|
1041
|
+
modelValue: kvRow.value,
|
|
1042
|
+
"onUpdate:modelValue": ($event) => kvRow.value = $event,
|
|
1043
|
+
size: "small",
|
|
1044
|
+
placeholder: "源值"
|
|
1045
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1046
|
+
createElementVNode("i", {
|
|
1047
|
+
class: "el-icon-delete union-panel__kv-del",
|
|
1048
|
+
onClick: ($event) => $data.codeMapRows.splice(index, 1)
|
|
1049
|
+
}, null, 8, _hoisted_27)
|
|
1050
|
+
]);
|
|
1051
|
+
}), 128)),
|
|
1052
|
+
createVNode(_component_el_button, {
|
|
1053
|
+
type: "primary",
|
|
1054
|
+
link: "",
|
|
1055
|
+
size: "small",
|
|
1056
|
+
icon: "el-icon-plus",
|
|
1057
|
+
onClick: _cache[5] || (_cache[5] = ($event) => $data.codeMapRows.push({ key: "", value: "" }))
|
|
1058
|
+
}, {
|
|
1059
|
+
default: withCtx(() => [..._cache[29] || (_cache[29] = [
|
|
1060
|
+
createTextVNode("添加映射", -1)
|
|
1061
|
+
])]),
|
|
1062
|
+
_: 1
|
|
1063
|
+
})
|
|
1064
|
+
]),
|
|
1065
|
+
_: 1
|
|
1066
|
+
}, 8, ["modelValue"]),
|
|
1067
|
+
$data.scopeTarget ? (openBlock(), createBlock(_component_epx_scope_drawer, {
|
|
1068
|
+
key: 0,
|
|
1069
|
+
modelValue: $data.scopeParams,
|
|
1070
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.scopeParams = $event),
|
|
1071
|
+
visible: $data.scopeVisible,
|
|
1072
|
+
"onUpdate:visible": _cache[9] || (_cache[9] = ($event) => $data.scopeVisible = $event),
|
|
1073
|
+
"meta-id": $data.scopeTarget.metaId,
|
|
1074
|
+
onChangeParams: $options.saveScope
|
|
1075
|
+
}, null, 8, ["modelValue", "visible", "meta-id", "onChangeParams"])) : createCommentVNode("", true)
|
|
1076
|
+
])
|
|
1077
|
+
]);
|
|
1078
|
+
}
|
|
1079
|
+
const UnionPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6d634f27"]]);
|
|
1080
|
+
export {
|
|
1081
|
+
UnionPanel as default
|
|
1082
|
+
};
|