@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,742 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="field-panel">
|
|
3
|
+
<div class="field-panel__title">
|
|
4
|
+
<span class="field-panel__title-bar"></span>字段配置
|
|
5
|
+
<span class="field-panel__title-sub">左侧维护视图字段列表,右侧设置选中字段的属性</span>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="field-panel__split">
|
|
8
|
+
<div class="field-panel__list">
|
|
9
|
+
<div class="field-panel__toolbar">
|
|
10
|
+
<el-button type="primary" size="small" icon="el-icon-plus" @click="openObjectDialog">添加对象字段</el-button>
|
|
11
|
+
<el-button size="small" :class="{ 'field-panel__btn-on': draft && draft.DATA_SOURCE === 'formula' }" @click="startDraft('formula')">
|
|
12
|
+
添加公式字段
|
|
13
|
+
</el-button>
|
|
14
|
+
<el-button size="small" :class="{ 'field-panel__btn-on': draft && draft.DATA_SOURCE === 'fixed' }" @click="startDraft('fixed')">
|
|
15
|
+
添加指定值字段
|
|
16
|
+
</el-button>
|
|
17
|
+
<span class="field-panel__total">已选字段 <b>{{ fields.length }}</b></span>
|
|
18
|
+
</div>
|
|
19
|
+
<el-table
|
|
20
|
+
:data="fields"
|
|
21
|
+
size="small"
|
|
22
|
+
class="field-panel__table"
|
|
23
|
+
highlight-current-row
|
|
24
|
+
:row-class-name="rowClassName"
|
|
25
|
+
@row-click="selectRow"
|
|
26
|
+
>
|
|
27
|
+
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
28
|
+
<el-table-column prop="NAME" label="字段名称" min-width="110" show-overflow-tooltip></el-table-column>
|
|
29
|
+
<el-table-column prop="CODE" label="编号" min-width="110" show-overflow-tooltip>
|
|
30
|
+
<template v-slot="{ row }">
|
|
31
|
+
<span class="field-panel__mono">{{ row.CODE }}</span>
|
|
32
|
+
</template>
|
|
33
|
+
</el-table-column>
|
|
34
|
+
<el-table-column label="数据来源" width="120">
|
|
35
|
+
<template v-slot="{ row }">
|
|
36
|
+
<span>{{ dataSourceLabel(row.DATA_SOURCE) }}</span>
|
|
37
|
+
<span v-if="row.DATA_SOURCE === 'field' && row.VALUE_FN" class="field-panel__fn-chip">
|
|
38
|
+
{{ valueFnLabel(row.VALUE_FN) }}
|
|
39
|
+
</span>
|
|
40
|
+
</template>
|
|
41
|
+
</el-table-column>
|
|
42
|
+
<el-table-column label="来源字段" min-width="170">
|
|
43
|
+
<template v-slot="{ row }">
|
|
44
|
+
<span v-if="row.DATA_SOURCE === 'field'" :class="['field-panel__srcf', row.SOURCE_CODE ? 'is-rel' : 'is-main']">
|
|
45
|
+
{{ sourceCellText(row) }}
|
|
46
|
+
</span>
|
|
47
|
+
<span v-else-if="row.DATA_SOURCE === 'formula' && formulaRefs(row).length" class="field-panel__refs">
|
|
48
|
+
<span v-for="(ref, index) in formulaRefs(row)" :key="index" class="field-panel__ref">{{ ref }}</span>
|
|
49
|
+
</span>
|
|
50
|
+
<span v-else-if="!unionRefs(row).length" class="field-panel__none">—</span>
|
|
51
|
+
<span v-if="unionRefs(row).length" class="field-panel__union-refs">
|
|
52
|
+
<span
|
|
53
|
+
v-for="ref in unionRefs(row)"
|
|
54
|
+
:key="ref.key"
|
|
55
|
+
class="field-panel__union-ref"
|
|
56
|
+
:title="ref.title"
|
|
57
|
+
><i class="el-icon-copy-document"></i>{{ ref.text }}</span>
|
|
58
|
+
</span>
|
|
59
|
+
</template>
|
|
60
|
+
</el-table-column>
|
|
61
|
+
<el-table-column prop="VIEW_TYPE" label="类型" width="64"></el-table-column>
|
|
62
|
+
<el-table-column label="操作" width="50">
|
|
63
|
+
<template v-slot="{ row }">
|
|
64
|
+
<i class="el-icon-delete field-panel__del" @click.stop="removeField(row)"></i>
|
|
65
|
+
</template>
|
|
66
|
+
</el-table-column>
|
|
67
|
+
</el-table>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
<div class="field-panel__prop">
|
|
71
|
+
<div class="field-panel__prop-head">
|
|
72
|
+
字段属性设置
|
|
73
|
+
<span v-if="draft" class="field-panel__draft-badge">
|
|
74
|
+
新增{{ dataSourceLabel(draft.DATA_SOURCE) }}字段
|
|
75
|
+
</span>
|
|
76
|
+
<span v-else-if="workDirty" class="field-panel__draft-badge">未保存</span>
|
|
77
|
+
</div>
|
|
78
|
+
<template v-if="draft">
|
|
79
|
+
<div class="field-panel__prop-scroll">
|
|
80
|
+
<epx-base-entity-view-config-prop
|
|
81
|
+
:field="draft"
|
|
82
|
+
:sources="sources"
|
|
83
|
+
:candidates="candidates"
|
|
84
|
+
:main-meta="mainMeta"
|
|
85
|
+
:meta-fields-map="metaFieldsMap"
|
|
86
|
+
:data-type-map="dataTypeMap"
|
|
87
|
+
:data-types="dataTypes"
|
|
88
|
+
is-draft
|
|
89
|
+
@change="patchDraft"
|
|
90
|
+
@open-formula="openFormula('draft')"
|
|
91
|
+
@load-meta-fields="$emit('load-meta-fields', $event)"
|
|
92
|
+
></epx-base-entity-view-config-prop>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="field-panel__prop-foot">
|
|
95
|
+
<el-button size="small" @click="draft = null">取消</el-button>
|
|
96
|
+
<el-button type="primary" size="small" :loading="saving" @click="saveField(draft, true)">保存</el-button>
|
|
97
|
+
</div>
|
|
98
|
+
</template>
|
|
99
|
+
<div v-else-if="!work" class="field-panel__prop-empty">
|
|
100
|
+
<i class="el-icon-setting"></i>
|
|
101
|
+
<div>选择左侧字段查看或编辑属性,<br />或点击上方按钮新增字段</div>
|
|
102
|
+
</div>
|
|
103
|
+
<template v-else>
|
|
104
|
+
<div class="field-panel__prop-scroll">
|
|
105
|
+
<epx-base-entity-view-config-prop
|
|
106
|
+
:field="work"
|
|
107
|
+
:sources="sources"
|
|
108
|
+
:candidates="candidates"
|
|
109
|
+
:main-meta="mainMeta"
|
|
110
|
+
:meta-fields-map="metaFieldsMap"
|
|
111
|
+
:data-type-map="dataTypeMap"
|
|
112
|
+
:data-types="dataTypes"
|
|
113
|
+
@change="patchWork"
|
|
114
|
+
@open-formula="openFormula('work')"
|
|
115
|
+
@load-meta-fields="$emit('load-meta-fields', $event)"
|
|
116
|
+
></epx-base-entity-view-config-prop>
|
|
117
|
+
</div>
|
|
118
|
+
<div v-if="workDirty" class="field-panel__prop-foot">
|
|
119
|
+
<el-button size="small" @click="resetWork">重置</el-button>
|
|
120
|
+
<el-button type="primary" size="small" :loading="saving" @click="saveField(work, false)">保存修改</el-button>
|
|
121
|
+
</div>
|
|
122
|
+
</template>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
<epx-base-entity-view-config-field-dialog
|
|
127
|
+
v-model:visible="objectDialogVisible"
|
|
128
|
+
:groups="dialogGroups"
|
|
129
|
+
:existing-keys="existingKeys"
|
|
130
|
+
:saving="saving"
|
|
131
|
+
:data-type-map="dataTypeMap"
|
|
132
|
+
@expand="onDialogExpand"
|
|
133
|
+
@confirm="addObjectFields"
|
|
134
|
+
></epx-base-entity-view-config-field-dialog>
|
|
135
|
+
|
|
136
|
+
<epx-base-entity-view-config-formula-dialog
|
|
137
|
+
v-model:visible="formulaVisible"
|
|
138
|
+
:view-id="viewId"
|
|
139
|
+
:system="system"
|
|
140
|
+
:meta-id="mainMeta.id"
|
|
141
|
+
:sources="sources"
|
|
142
|
+
:field-name="formulaTarget === 'draft' ? (draft && draft.NAME) : (work && work.NAME)"
|
|
143
|
+
:value="formulaTarget === 'draft' ? (draft && draft.FORMULA) : (work && work.FORMULA)"
|
|
144
|
+
@confirm="onFormulaConfirm"
|
|
145
|
+
></epx-base-entity-view-config-formula-dialog>
|
|
146
|
+
</div>
|
|
147
|
+
</template>
|
|
148
|
+
|
|
149
|
+
<script>
|
|
150
|
+
import ObjectFieldDialog from './ObjectFieldDialog.vue'
|
|
151
|
+
import FormulaDialog from './FormulaDialog.vue'
|
|
152
|
+
import FieldPropForm from './FieldPropForm.vue'
|
|
153
|
+
import { dataSourceLabel, valueFnLabel, relTypeLabel, mapViewType, parseFormulaTokens, FIELD_BEAN_KEYS, uniqueFieldCode, SQL_IDENTIFIER_RE, NUMERIC_DATA_TYPES } from './constants'
|
|
154
|
+
|
|
155
|
+
export default {
|
|
156
|
+
name: 'epx-base-entity-view-config-field-panel',
|
|
157
|
+
components: {
|
|
158
|
+
[ObjectFieldDialog.name]: ObjectFieldDialog,
|
|
159
|
+
[FormulaDialog.name]: FormulaDialog,
|
|
160
|
+
[FieldPropForm.name]: FieldPropForm
|
|
161
|
+
},
|
|
162
|
+
props: {
|
|
163
|
+
viewId: String,
|
|
164
|
+
system: String,
|
|
165
|
+
fields: {
|
|
166
|
+
type: Array,
|
|
167
|
+
default () {
|
|
168
|
+
return []
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
// 已登记源 [{ id, code, name, metaId, relType, flag }]
|
|
172
|
+
sources: {
|
|
173
|
+
type: Array,
|
|
174
|
+
default () {
|
|
175
|
+
return []
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
// 主对象的关联候选(relationCandidates),添加字段弹窗展示全部可关联对象
|
|
179
|
+
candidates: {
|
|
180
|
+
type: Array,
|
|
181
|
+
default () {
|
|
182
|
+
return []
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
mainMeta: {
|
|
186
|
+
type: Object,
|
|
187
|
+
default () {
|
|
188
|
+
return {}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
metaFieldsMap: {
|
|
192
|
+
type: Object,
|
|
193
|
+
default () {
|
|
194
|
+
return {}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
// 字段类型代码表(FM_DATA_TYPE)编号 -> 名称
|
|
198
|
+
dataTypeMap: {
|
|
199
|
+
type: Object,
|
|
200
|
+
default () {
|
|
201
|
+
return {}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
// 字段类型代码表全量选项 [{ code, name }]
|
|
205
|
+
dataTypes: {
|
|
206
|
+
type: Array,
|
|
207
|
+
default () {
|
|
208
|
+
return []
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
// 聚合对象(UNION ALL 分支)[{ id, code, metaId, metaName }],字段列表展示分支映射角标用
|
|
212
|
+
unions: {
|
|
213
|
+
type: Array,
|
|
214
|
+
default () {
|
|
215
|
+
return []
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
// 全部关联源(含聚合段),解析分支映射的来源字段名用
|
|
219
|
+
allSources: {
|
|
220
|
+
type: Array,
|
|
221
|
+
default () {
|
|
222
|
+
return []
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
// 各聚合对象的列映射:unionId -> FM_VIEW_UNION_FIELD data 数组
|
|
226
|
+
unionMappingsMap: {
|
|
227
|
+
type: Object,
|
|
228
|
+
default () {
|
|
229
|
+
return {}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
data () {
|
|
234
|
+
return {
|
|
235
|
+
selId: null,
|
|
236
|
+
work: null,
|
|
237
|
+
draft: null,
|
|
238
|
+
saving: false,
|
|
239
|
+
objectDialogVisible: false,
|
|
240
|
+
formulaVisible: false,
|
|
241
|
+
formulaTarget: 'work'
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
computed: {
|
|
245
|
+
selected () {
|
|
246
|
+
return this.fields.find(field => field.ID === this.selId) || null
|
|
247
|
+
},
|
|
248
|
+
workDirty () {
|
|
249
|
+
if (!this.work || !this.selected) return false
|
|
250
|
+
return FIELD_BEAN_KEYS.some(key => (this.work[key] || '') !== (this.selected[key] || ''))
|
|
251
|
+
},
|
|
252
|
+
// 主对象 + 全部关联候选(未登记的候选在添加字段时自动登记关联源)
|
|
253
|
+
dialogGroups () {
|
|
254
|
+
const groups = []
|
|
255
|
+
if (this.mainMeta.id) {
|
|
256
|
+
groups.push({
|
|
257
|
+
key: 'main',
|
|
258
|
+
sourceCode: '',
|
|
259
|
+
flag: '',
|
|
260
|
+
name: this.mainMeta.name || '主对象',
|
|
261
|
+
badge: '主对象',
|
|
262
|
+
relType: '',
|
|
263
|
+
metaId: this.mainMeta.id,
|
|
264
|
+
fields: this.metaFieldsMap[this.mainMeta.id] || []
|
|
265
|
+
})
|
|
266
|
+
}
|
|
267
|
+
this.candidates.forEach(candidate => {
|
|
268
|
+
const source = this.sources.find(item => item.flag === candidate.flag)
|
|
269
|
+
groups.push({
|
|
270
|
+
key: candidate.flag,
|
|
271
|
+
sourceCode: source ? source.code : '',
|
|
272
|
+
flag: candidate.flag,
|
|
273
|
+
name: (source && source.name) || candidate.title || candidate.relatedName,
|
|
274
|
+
badge: relTypeLabel(candidate.relType) || '关联',
|
|
275
|
+
relType: candidate.relType,
|
|
276
|
+
metaId: candidate.relatedMetaId,
|
|
277
|
+
fields: this.metaFieldsMap[candidate.relatedMetaId] || []
|
|
278
|
+
})
|
|
279
|
+
})
|
|
280
|
+
return groups
|
|
281
|
+
},
|
|
282
|
+
// 已存在字段 key:`${group.key}::${SOURCE_FIELD}`(group.key = 'main' 或关联 flag)
|
|
283
|
+
existingKeys () {
|
|
284
|
+
return this.fields
|
|
285
|
+
.filter(field => field.DATA_SOURCE === 'field' && field.SOURCE_FIELD)
|
|
286
|
+
.map(field => {
|
|
287
|
+
if (!field.SOURCE_CODE) return `main::${field.SOURCE_FIELD}`
|
|
288
|
+
const source = this.sources.find(item => item.code === field.SOURCE_CODE)
|
|
289
|
+
return source ? `${source.flag}::${field.SOURCE_FIELD}` : ''
|
|
290
|
+
})
|
|
291
|
+
.filter(Boolean)
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
watch: {
|
|
295
|
+
fields: {
|
|
296
|
+
handler () {
|
|
297
|
+
if (this.selId && !this.selected) {
|
|
298
|
+
this.selId = this.fields.length ? this.fields[0].ID : null
|
|
299
|
+
} else if (!this.selId && this.fields.length && !this.draft) {
|
|
300
|
+
this.selId = this.fields[0].ID
|
|
301
|
+
}
|
|
302
|
+
this.resetWork()
|
|
303
|
+
},
|
|
304
|
+
immediate: true
|
|
305
|
+
},
|
|
306
|
+
selected () {
|
|
307
|
+
this.resetWork()
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
methods: {
|
|
311
|
+
dataSourceLabel,
|
|
312
|
+
valueFnLabel,
|
|
313
|
+
rowClassName ({ row }) {
|
|
314
|
+
return row.ID === this.selId ? 'field-panel__row--sel' : ''
|
|
315
|
+
},
|
|
316
|
+
selectRow (row) {
|
|
317
|
+
this.selId = row.ID
|
|
318
|
+
this.draft = null
|
|
319
|
+
},
|
|
320
|
+
resetWork () {
|
|
321
|
+
this.work = this.selected ? { ...this.selected } : null
|
|
322
|
+
},
|
|
323
|
+
patchWork (patch) {
|
|
324
|
+
this.work = { ...this.work, ...patch }
|
|
325
|
+
},
|
|
326
|
+
patchDraft (patch) {
|
|
327
|
+
this.draft = { ...this.draft, ...patch }
|
|
328
|
+
},
|
|
329
|
+
sourceName (sourceCode) {
|
|
330
|
+
if (!sourceCode) return this.mainMeta.name || '主对象'
|
|
331
|
+
const source = this.sources.find(item => item.code === sourceCode)
|
|
332
|
+
return source ? source.name : sourceCode
|
|
333
|
+
},
|
|
334
|
+
sourceMetaId (sourceCode) {
|
|
335
|
+
if (!sourceCode) return this.mainMeta.id
|
|
336
|
+
const source = this.sources.find(item => item.code === sourceCode)
|
|
337
|
+
return source ? source.metaId : ''
|
|
338
|
+
},
|
|
339
|
+
metaFieldLabel (metaId, attrId) {
|
|
340
|
+
const field = (this.metaFieldsMap[metaId] || []).find(item => item.id === attrId || item.name === attrId)
|
|
341
|
+
return field ? field.label : attrId
|
|
342
|
+
},
|
|
343
|
+
sourceCellText (row) {
|
|
344
|
+
if (!row.SOURCE_FIELD && row.SOURCE_EXPR) return `${this.sourceName(row.SOURCE_CODE)}/${row.SOURCE_EXPR}`
|
|
345
|
+
return `${this.sourceName(row.SOURCE_CODE)}/${this.metaFieldLabel(this.sourceMetaId(row.SOURCE_CODE), row.SOURCE_FIELD)}`
|
|
346
|
+
},
|
|
347
|
+
// 该视图列在各聚合分支的映射角标
|
|
348
|
+
unionRefs (row) {
|
|
349
|
+
const refs = []
|
|
350
|
+
this.unions.forEach(union => {
|
|
351
|
+
const mapping = (this.unionMappingsMap[union.id] || []).find(item => item.FIELD_CODE === row.CODE)
|
|
352
|
+
if (!mapping) return
|
|
353
|
+
let text
|
|
354
|
+
if (mapping.DATA_SOURCE === 'fixed') {
|
|
355
|
+
text = `= ${mapping.FIXED_VALUE}`
|
|
356
|
+
} else if (mapping.DATA_SOURCE === 'formula') {
|
|
357
|
+
text = '公式'
|
|
358
|
+
} else if (mapping.SOURCE_FIELD || mapping.SOURCE_EXPR) {
|
|
359
|
+
const metaId = mapping.SOURCE_CODE
|
|
360
|
+
? (this.allSources.find(item => item.code === mapping.SOURCE_CODE) || {}).metaId
|
|
361
|
+
: union.metaId
|
|
362
|
+
text = mapping.SOURCE_FIELD ? this.metaFieldLabel(metaId, mapping.SOURCE_FIELD) : mapping.SOURCE_EXPR
|
|
363
|
+
} else {
|
|
364
|
+
text = '已映射'
|
|
365
|
+
}
|
|
366
|
+
refs.push({
|
|
367
|
+
key: union.id,
|
|
368
|
+
text: `${union.metaName}·${text}`,
|
|
369
|
+
title: `聚合分支「${union.metaName}(${union.code})」映射:${mapping.DATA_SOURCE === 'formula' ? (mapping.FORMULA || '公式') : text}`
|
|
370
|
+
})
|
|
371
|
+
})
|
|
372
|
+
return refs
|
|
373
|
+
},
|
|
374
|
+
formulaRefs (row) {
|
|
375
|
+
return parseFormulaTokens(row.FORMULA).map(token => {
|
|
376
|
+
if (token.code) {
|
|
377
|
+
const field = this.fields.find(item => item.CODE === token.code)
|
|
378
|
+
if (field) return field.NAME
|
|
379
|
+
// 无源前缀的 token 也可能是主对象字段编号
|
|
380
|
+
return `${this.mainMeta.name || '主对象'}/${this.metaFieldLabel(this.mainMeta.id, token.code)}`
|
|
381
|
+
}
|
|
382
|
+
if (token.source === 'MAIN') {
|
|
383
|
+
return `${this.mainMeta.name || '主对象'}/${this.metaFieldLabel(this.mainMeta.id, token.field)}`
|
|
384
|
+
}
|
|
385
|
+
return `${this.sourceName(token.source)}/${this.metaFieldLabel(this.sourceMetaId(token.source), token.field)}`
|
|
386
|
+
})
|
|
387
|
+
},
|
|
388
|
+
requestOptions () {
|
|
389
|
+
return this.system ? { system: this.system } : {}
|
|
390
|
+
},
|
|
391
|
+
nextSort () {
|
|
392
|
+
const max = this.fields.reduce((acc, field) => Math.max(acc, Number(field.SORT) || 0), 0)
|
|
393
|
+
return max + 1
|
|
394
|
+
},
|
|
395
|
+
openObjectDialog () {
|
|
396
|
+
this.draft = null
|
|
397
|
+
this.objectDialogVisible = true
|
|
398
|
+
},
|
|
399
|
+
// 弹窗内展开对象节点时懒加载该对象字段
|
|
400
|
+
onDialogExpand (group) {
|
|
401
|
+
if (group.metaId) this.$emit('load-meta-fields', group.metaId)
|
|
402
|
+
},
|
|
403
|
+
startDraft (dataSource) {
|
|
404
|
+
const seq = this.fields.length + 1
|
|
405
|
+
if (dataSource === 'formula') {
|
|
406
|
+
this.draft = { DATA_SOURCE: 'formula', NAME: '', CODE: `FX_${seq}`, VIEW_TYPE: '数字', FORMULA: '', SORT: this.nextSort() }
|
|
407
|
+
} else {
|
|
408
|
+
this.draft = { DATA_SOURCE: 'fixed', NAME: '', CODE: `CONST_${seq}`, VIEW_TYPE: '文本', FIXED_VALUE: '', SORT: this.nextSort() }
|
|
409
|
+
}
|
|
410
|
+
this.selId = null
|
|
411
|
+
},
|
|
412
|
+
openFormula (target) {
|
|
413
|
+
this.formulaTarget = target
|
|
414
|
+
this.formulaVisible = true
|
|
415
|
+
},
|
|
416
|
+
onFormulaConfirm (expr) {
|
|
417
|
+
if (this.formulaTarget === 'draft') {
|
|
418
|
+
this.patchDraft({ FORMULA: expr })
|
|
419
|
+
} else {
|
|
420
|
+
this.patchWork({ FORMULA: expr })
|
|
421
|
+
}
|
|
422
|
+
this.formulaVisible = false
|
|
423
|
+
},
|
|
424
|
+
validateField (field) {
|
|
425
|
+
if (!field.NAME || !field.NAME.trim()) return '请填写字段名称'
|
|
426
|
+
const code = (field.CODE || '').trim()
|
|
427
|
+
if (!code) return '请填写字段编号'
|
|
428
|
+
if (!SQL_IDENTIFIER_RE.test(code)) return '编号仅允许字母、数字、下划线,且不能以数字开头'
|
|
429
|
+
if (code.toUpperCase() === 'ID') return '「ID」为保留主键列,请更换编号'
|
|
430
|
+
const duplicated = this.fields.some(item => item.CODE === code && item.ID !== field.ID)
|
|
431
|
+
if (duplicated) return `编号「${code}」已存在`
|
|
432
|
+
if (!field.VIEW_TYPE) return '请选择字段类型'
|
|
433
|
+
if (field.DATA_SOURCE === 'field' && !field.SOURCE_FIELD && !(field.SOURCE_EXPR || '').trim()) return '请选择来源字段'
|
|
434
|
+
if (field.DATA_SOURCE === 'formula' && !(field.FORMULA || '').trim()) return '请设置取值公式'
|
|
435
|
+
if (field.SOURCE_EXPR && /;|--|\/\*/.test(field.SOURCE_EXPR)) return '聚合表达式不允许包含分号或注释'
|
|
436
|
+
if (field.DATA_SOURCE === 'fixed') {
|
|
437
|
+
const fixedValue = String(field.FIXED_VALUE == null ? '' : field.FIXED_VALUE).trim()
|
|
438
|
+
if (field.VIEW_TYPE === '数字' && fixedValue && isNaN(Number(fixedValue))) return '数字类型的指定值必须是合法数字'
|
|
439
|
+
if (field.VIEW_TYPE === '时间' && fixedValue && isNaN(new Date(fixedValue).getTime())) return '时间类型的指定值必须是合法日期'
|
|
440
|
+
if (field.VIEW_TYPE === '选项' && !field.CODE_DEFINE) return '选项类型请先选择代码表'
|
|
441
|
+
if (field.VIEW_TYPE === '对象' && !field.LINK_ENTITY) return '对象类型请先选择关联对象'
|
|
442
|
+
}
|
|
443
|
+
if (field.DATA_SOURCE === 'field' && ['sum', 'avg'].includes(field.VALUE_FN) && field.SOURCE_FIELD) {
|
|
444
|
+
const metaId = field.REL_FLAG ? field.SOURCE_META_ID : this.sourceMetaId(field.SOURCE_CODE)
|
|
445
|
+
const metaField = (this.metaFieldsMap[metaId] || []).find(item => item.id === field.SOURCE_FIELD)
|
|
446
|
+
if (metaField && !NUMERIC_DATA_TYPES.includes(metaField.dataType)) return '求和/平均的源字段必须为数字类型'
|
|
447
|
+
}
|
|
448
|
+
return ''
|
|
449
|
+
},
|
|
450
|
+
beanParams (field) {
|
|
451
|
+
const params = { 'bean.ENTITY_ID': this.viewId }
|
|
452
|
+
if (field.ID) params['bean.ID'] = field.ID
|
|
453
|
+
FIELD_BEAN_KEYS.forEach(key => {
|
|
454
|
+
params[`bean.${key}`] = field[key] === undefined || field[key] === null ? '' : field[key]
|
|
455
|
+
})
|
|
456
|
+
return params
|
|
457
|
+
},
|
|
458
|
+
async saveField (field, isDraft) {
|
|
459
|
+
const error = this.validateField(field)
|
|
460
|
+
if (error) {
|
|
461
|
+
this.$message.warning(error)
|
|
462
|
+
return
|
|
463
|
+
}
|
|
464
|
+
this.saving = true
|
|
465
|
+
try {
|
|
466
|
+
// 新增/编辑都走 save 动作(编辑带 bean.ID),使不可变校验与 STATE 置 0 逻辑生效;
|
|
467
|
+
// 绑定关联对象字段时 bean 里带 SOURCE_META_ID + REL_FLAG,由后端自动登记/复用关联源
|
|
468
|
+
const id = await this.$http.$post({ entityId: 'FM_VIEW_FIELD', action: 'save', ...this.beanParams(field) }, this.requestOptions())
|
|
469
|
+
this.$message.success('保存成功')
|
|
470
|
+
if (isDraft) {
|
|
471
|
+
this.draft = null
|
|
472
|
+
this.selId = id || null
|
|
473
|
+
}
|
|
474
|
+
this.$emit('change')
|
|
475
|
+
} catch (saveError) {
|
|
476
|
+
this.$message.error(saveError.message || '保存失败')
|
|
477
|
+
} finally {
|
|
478
|
+
this.saving = false
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
async addObjectFields (descriptors) {
|
|
482
|
+
if (!descriptors.length) return
|
|
483
|
+
const usedCodes = new Set(this.fields.map(field => (field.CODE || '').toUpperCase()))
|
|
484
|
+
let sort = this.nextSort()
|
|
485
|
+
this.saving = true
|
|
486
|
+
let lastId = null
|
|
487
|
+
try {
|
|
488
|
+
for (const descriptor of descriptors) {
|
|
489
|
+
const { group, field } = descriptor
|
|
490
|
+
const params = {
|
|
491
|
+
'bean.ENTITY_ID': this.viewId,
|
|
492
|
+
'bean.NAME': field.label || field.name,
|
|
493
|
+
'bean.CODE': uniqueFieldCode(field.name, usedCodes, group.flag ? group.flag.replace(/[^A-Za-z0-9]+/g, '_').toUpperCase() : ''),
|
|
494
|
+
'bean.VIEW_TYPE': mapViewType(field.dataType),
|
|
495
|
+
'bean.DATA_SOURCE': 'field',
|
|
496
|
+
'bean.SOURCE_FIELD': field.id,
|
|
497
|
+
'bean.VALUE_FN': group.relType === '1' ? 'raw' : '',
|
|
498
|
+
'bean.SORT': sort++
|
|
499
|
+
}
|
|
500
|
+
// 关联对象字段:带 SOURCE_META_ID + REL_FLAG,后端自动登记/复用关联源并回填 SOURCE_CODE
|
|
501
|
+
if (group.flag) {
|
|
502
|
+
params['bean.SOURCE_META_ID'] = group.metaId
|
|
503
|
+
params['bean.REL_FLAG'] = group.flag
|
|
504
|
+
}
|
|
505
|
+
lastId = await this.$http.$post({
|
|
506
|
+
entityId: 'FM_VIEW_FIELD',
|
|
507
|
+
action: 'save',
|
|
508
|
+
...params
|
|
509
|
+
}, this.requestOptions())
|
|
510
|
+
}
|
|
511
|
+
this.$message.success(`已添加 ${descriptors.length} 个字段`)
|
|
512
|
+
this.objectDialogVisible = false
|
|
513
|
+
if (lastId) this.selId = lastId
|
|
514
|
+
this.$emit('change')
|
|
515
|
+
} catch (error) {
|
|
516
|
+
this.$message.error(error.message || '添加失败')
|
|
517
|
+
this.$emit('change')
|
|
518
|
+
} finally {
|
|
519
|
+
this.saving = false
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
removeField (row) {
|
|
523
|
+
this.$confirm(`确定删除字段「${row.NAME}」吗?`, '提示', { type: 'warning' }).then(() => {
|
|
524
|
+
return this.$http.$post({
|
|
525
|
+
entityId: 'FM_VIEW_FIELD',
|
|
526
|
+
action: 'delete',
|
|
527
|
+
id: row.ID
|
|
528
|
+
}, this.requestOptions()).then(() => {
|
|
529
|
+
this.$message.success('删除成功')
|
|
530
|
+
if (this.selId === row.ID) this.selId = null
|
|
531
|
+
this.$emit('change')
|
|
532
|
+
}).catch(error => {
|
|
533
|
+
this.$message.error(error.message || '删除失败')
|
|
534
|
+
})
|
|
535
|
+
}).catch(() => {})
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
</script>
|
|
540
|
+
|
|
541
|
+
<style lang="scss" scoped>
|
|
542
|
+
.field-panel {
|
|
543
|
+
background: var(--epx-bg-card);
|
|
544
|
+
border-radius: var(--epx-radius-l);
|
|
545
|
+
box-shadow: var(--epx-shadow-s);
|
|
546
|
+
display: flex;
|
|
547
|
+
flex-direction: column;
|
|
548
|
+
flex: 1;
|
|
549
|
+
min-height: 0;
|
|
550
|
+
|
|
551
|
+
&__title {
|
|
552
|
+
display: flex;
|
|
553
|
+
align-items: center;
|
|
554
|
+
gap: var(--epx-space-2);
|
|
555
|
+
padding: 13px 18px;
|
|
556
|
+
font-size: var(--epx-font-size-base);
|
|
557
|
+
font-weight: 700;
|
|
558
|
+
color: var(--color-text-title);
|
|
559
|
+
border-bottom: 1px solid var(--epx-border);
|
|
560
|
+
}
|
|
561
|
+
&__title-bar {
|
|
562
|
+
width: 4px;
|
|
563
|
+
height: 14px;
|
|
564
|
+
border-radius: 2px;
|
|
565
|
+
@include bg_color_primary;
|
|
566
|
+
}
|
|
567
|
+
&__title-sub {
|
|
568
|
+
margin-left: 4px;
|
|
569
|
+
font-size: var(--epx-font-size-s);
|
|
570
|
+
color: var(--color-text-assistant);
|
|
571
|
+
font-weight: 400;
|
|
572
|
+
}
|
|
573
|
+
&__split {
|
|
574
|
+
display: flex;
|
|
575
|
+
flex: 1;
|
|
576
|
+
min-height: 420px;
|
|
577
|
+
}
|
|
578
|
+
&__list {
|
|
579
|
+
flex: 1;
|
|
580
|
+
min-width: 0;
|
|
581
|
+
display: flex;
|
|
582
|
+
flex-direction: column;
|
|
583
|
+
border-right: 1px solid var(--epx-border);
|
|
584
|
+
}
|
|
585
|
+
&__toolbar {
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
gap: var(--epx-space-2);
|
|
589
|
+
padding: var(--epx-space-3) var(--epx-space-3);
|
|
590
|
+
}
|
|
591
|
+
&__btn-on {
|
|
592
|
+
@include font_color_primary;
|
|
593
|
+
@include border_color_primary(0.5);
|
|
594
|
+
@include bg_color_primary(0.06);
|
|
595
|
+
}
|
|
596
|
+
&__total {
|
|
597
|
+
margin-left: auto;
|
|
598
|
+
font-size: var(--epx-font-size-s);
|
|
599
|
+
color: var(--color-text-assistant);
|
|
600
|
+
b {
|
|
601
|
+
@include font_color_primary;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
&__table {
|
|
605
|
+
flex: 1;
|
|
606
|
+
:deep(.el-table__row) {
|
|
607
|
+
cursor: pointer;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
&__mono {
|
|
611
|
+
font-family: ui-monospace, Menlo, monospace;
|
|
612
|
+
font-size: var(--epx-font-size-s);
|
|
613
|
+
color: var(--color-text-secondary);
|
|
614
|
+
}
|
|
615
|
+
&__fn-chip {
|
|
616
|
+
margin-left: 6px;
|
|
617
|
+
font-size: 11px;
|
|
618
|
+
font-weight: 600;
|
|
619
|
+
color: #d9822b;
|
|
620
|
+
background: #fff2e6;
|
|
621
|
+
border-radius: var(--epx-radius-base);
|
|
622
|
+
padding: 1px 6px;
|
|
623
|
+
}
|
|
624
|
+
&__srcf {
|
|
625
|
+
font-size: var(--epx-font-size-s);
|
|
626
|
+
&.is-main {
|
|
627
|
+
@include font_color_primary;
|
|
628
|
+
}
|
|
629
|
+
&.is-rel {
|
|
630
|
+
color: #d9822b;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
&__refs {
|
|
634
|
+
display: inline-flex;
|
|
635
|
+
flex-wrap: wrap;
|
|
636
|
+
gap: 4px;
|
|
637
|
+
}
|
|
638
|
+
&__ref {
|
|
639
|
+
font-size: 11px;
|
|
640
|
+
border-radius: var(--epx-radius-base);
|
|
641
|
+
padding: 1px 7px;
|
|
642
|
+
@include font_color_primary;
|
|
643
|
+
@include bg_color_primary(0.08);
|
|
644
|
+
}
|
|
645
|
+
&__union-refs {
|
|
646
|
+
display: flex;
|
|
647
|
+
flex-wrap: wrap;
|
|
648
|
+
gap: 4px;
|
|
649
|
+
margin-top: 3px;
|
|
650
|
+
}
|
|
651
|
+
&__union-ref {
|
|
652
|
+
display: inline-flex;
|
|
653
|
+
align-items: center;
|
|
654
|
+
gap: 3px;
|
|
655
|
+
font-size: 11px;
|
|
656
|
+
border-radius: var(--epx-radius-base);
|
|
657
|
+
padding: 1px 7px;
|
|
658
|
+
background: #faf6ff;
|
|
659
|
+
color: #8a5fc0;
|
|
660
|
+
border: 1px solid #e7dcf5;
|
|
661
|
+
i {
|
|
662
|
+
font-size: 10px;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
&__none {
|
|
666
|
+
color: var(--color-text-disabled);
|
|
667
|
+
}
|
|
668
|
+
&__del {
|
|
669
|
+
color: var(--color-text-disabled);
|
|
670
|
+
cursor: pointer;
|
|
671
|
+
&:hover {
|
|
672
|
+
color: #f56c6c;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
&__prop {
|
|
676
|
+
width: 330px;
|
|
677
|
+
flex: 0 0 330px;
|
|
678
|
+
display: flex;
|
|
679
|
+
flex-direction: column;
|
|
680
|
+
background: var(--epx-bg);
|
|
681
|
+
border-radius: 0 0 var(--epx-radius-l) 0;
|
|
682
|
+
}
|
|
683
|
+
&__prop-head {
|
|
684
|
+
height: 44px;
|
|
685
|
+
display: flex;
|
|
686
|
+
align-items: center;
|
|
687
|
+
gap: var(--epx-space-3);
|
|
688
|
+
padding: 0 18px;
|
|
689
|
+
font-size: var(--epx-font-size-s);
|
|
690
|
+
font-weight: 700;
|
|
691
|
+
color: var(--color-text-title);
|
|
692
|
+
border-bottom: 1px solid var(--epx-border);
|
|
693
|
+
flex: 0 0 auto;
|
|
694
|
+
}
|
|
695
|
+
&__draft-badge {
|
|
696
|
+
font-size: 11px;
|
|
697
|
+
font-weight: 600;
|
|
698
|
+
border-radius: 10px;
|
|
699
|
+
padding: 2px 9px;
|
|
700
|
+
@include font_color_primary;
|
|
701
|
+
@include bg_color_primary(0.1);
|
|
702
|
+
}
|
|
703
|
+
&__prop-scroll {
|
|
704
|
+
flex: 1;
|
|
705
|
+
overflow-y: auto;
|
|
706
|
+
@include scroll-bar;
|
|
707
|
+
}
|
|
708
|
+
&__prop-foot {
|
|
709
|
+
display: flex;
|
|
710
|
+
justify-content: flex-end;
|
|
711
|
+
gap: var(--epx-space-3);
|
|
712
|
+
padding: var(--epx-space-3) var(--epx-space-3);
|
|
713
|
+
border-top: 1px solid var(--epx-border);
|
|
714
|
+
background: var(--epx-bg-card);
|
|
715
|
+
flex: 0 0 auto;
|
|
716
|
+
}
|
|
717
|
+
&__prop-empty {
|
|
718
|
+
flex: 1;
|
|
719
|
+
display: flex;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
align-items: center;
|
|
722
|
+
justify-content: center;
|
|
723
|
+
color: var(--color-text-disabled);
|
|
724
|
+
text-align: center;
|
|
725
|
+
font-size: var(--epx-font-size-s);
|
|
726
|
+
line-height: 1.7;
|
|
727
|
+
padding: 40px 24px;
|
|
728
|
+
i {
|
|
729
|
+
font-size: 34px;
|
|
730
|
+
margin-bottom: var(--epx-space-3);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
</style>
|
|
735
|
+
<!-- row-class-name 返回的类名是 el-table 自己拼到内部渲染的 <tr> 上的(数据驱动,不是本组件
|
|
736
|
+
模板里直接写的 class),那个 <tr> 永远拿不到本文件的 data-v-x,scoped 选择器天生匹配不到,
|
|
737
|
+
必须放非 scoped 全局块。field-panel__row--sel 前缀足够独特,未见与其它文件同名类冲突。 -->
|
|
738
|
+
<style lang="scss">
|
|
739
|
+
.field-panel__row--sel td {
|
|
740
|
+
@include bg_color_primary(0.06);
|
|
741
|
+
}
|
|
742
|
+
</style>
|