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