@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,734 @@
|
|
|
1
|
+
import { createVNode, resolveComponent, createTextVNode, isVNode } from "vue";
|
|
2
|
+
import { ADD_META } from "@epxing/core/src/store/actions";
|
|
3
|
+
import { evalWith } from "@epxing/utils/src/eval-with";
|
|
4
|
+
import component from "@epxing/core/src/mixins/component";
|
|
5
|
+
import { MobileActionSheet } from "@epxing/components/src/mobile";
|
|
6
|
+
function _isSlot(s) {
|
|
7
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
+
}
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
name: "epx-add",
|
|
11
|
+
mixins: [component],
|
|
12
|
+
$componentType: "page",
|
|
13
|
+
link: "",
|
|
14
|
+
// 表单关联对象
|
|
15
|
+
linkAddFlag: true,
|
|
16
|
+
linkSubs: null,
|
|
17
|
+
pageType: "ADD",
|
|
18
|
+
// 页面模式
|
|
19
|
+
saveSuccessText: "新增成功",
|
|
20
|
+
updateSuccessText: "编辑成功",
|
|
21
|
+
subAddFlag: "v_sublist",
|
|
22
|
+
subComponent: "sub-list",
|
|
23
|
+
saveAction: "save",
|
|
24
|
+
updateAction: "update",
|
|
25
|
+
backTarget: "list",
|
|
26
|
+
// 提交成功返回页面
|
|
27
|
+
addPage: "add",
|
|
28
|
+
submitParams: {},
|
|
29
|
+
// 提交参数
|
|
30
|
+
// 表单区域
|
|
31
|
+
formConfigs: {
|
|
32
|
+
titleFlag: true,
|
|
33
|
+
fieldGroups: [],
|
|
34
|
+
fieldConfigs: {},
|
|
35
|
+
// 字段配置
|
|
36
|
+
column: "2",
|
|
37
|
+
operates: [{
|
|
38
|
+
// 操作按钮
|
|
39
|
+
text: "保存",
|
|
40
|
+
ui: "primary",
|
|
41
|
+
handler: "submitForm",
|
|
42
|
+
option: 'pageType==="ADD"'
|
|
43
|
+
}, {
|
|
44
|
+
// 操作按钮
|
|
45
|
+
text: "保存",
|
|
46
|
+
ui: "primary",
|
|
47
|
+
handler: "submitForm",
|
|
48
|
+
option: 'pageType==="EDIT"'
|
|
49
|
+
}, {
|
|
50
|
+
text: "编辑",
|
|
51
|
+
ui: "primary",
|
|
52
|
+
handler: "editEntity",
|
|
53
|
+
option: 'pageType==="DETAIL"'
|
|
54
|
+
}, {
|
|
55
|
+
text: "返回",
|
|
56
|
+
cls: "btn_hollow",
|
|
57
|
+
handler: "backPage"
|
|
58
|
+
}]
|
|
59
|
+
},
|
|
60
|
+
props: {
|
|
61
|
+
defaultValue: Object
|
|
62
|
+
},
|
|
63
|
+
data() {
|
|
64
|
+
return {
|
|
65
|
+
renderComponents: [],
|
|
66
|
+
fieldGroups: [],
|
|
67
|
+
data: {},
|
|
68
|
+
foldList: [],
|
|
69
|
+
showSubList: [],
|
|
70
|
+
activeName: "base",
|
|
71
|
+
reload: false,
|
|
72
|
+
showPage: true,
|
|
73
|
+
showMoreOperates: false,
|
|
74
|
+
submitParams: {},
|
|
75
|
+
isRequesting: false
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
computed: {
|
|
79
|
+
formConfigs() {
|
|
80
|
+
const {
|
|
81
|
+
formConfigs = {}
|
|
82
|
+
} = this.pageConfig;
|
|
83
|
+
return formConfigs;
|
|
84
|
+
},
|
|
85
|
+
pageType() {
|
|
86
|
+
const {
|
|
87
|
+
pageType: defaultPageType
|
|
88
|
+
} = this.pageConfig;
|
|
89
|
+
const {
|
|
90
|
+
pageType = defaultPageType
|
|
91
|
+
} = this.$query;
|
|
92
|
+
return pageType;
|
|
93
|
+
},
|
|
94
|
+
operates() {
|
|
95
|
+
const {
|
|
96
|
+
operates = []
|
|
97
|
+
} = this.formConfigs;
|
|
98
|
+
return operates;
|
|
99
|
+
},
|
|
100
|
+
actionOperates() {
|
|
101
|
+
const {
|
|
102
|
+
operates = []
|
|
103
|
+
} = this.formConfigs;
|
|
104
|
+
const actionOperates = [...operates];
|
|
105
|
+
actionOperates.map((item) => item.name = item.text);
|
|
106
|
+
return actionOperates.filter((item) => this.buttonFlag(item));
|
|
107
|
+
},
|
|
108
|
+
buttonFlag() {
|
|
109
|
+
return ({
|
|
110
|
+
option,
|
|
111
|
+
rightCode
|
|
112
|
+
}) => {
|
|
113
|
+
let flag = true;
|
|
114
|
+
if (option) flag = eval(`this.${option}`);
|
|
115
|
+
return flag;
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
linkAttrs() {
|
|
119
|
+
console.log(this.pageConfig);
|
|
120
|
+
const {
|
|
121
|
+
linkSubs
|
|
122
|
+
} = this.pageConfig;
|
|
123
|
+
let linkAttrs = [];
|
|
124
|
+
if (!this.meta) return linkAttrs;
|
|
125
|
+
if (!linkSubs) {
|
|
126
|
+
if (this.pageType === "DETAIL") {
|
|
127
|
+
linkAttrs = this.meta.getRelatedEntitysOfDetail();
|
|
128
|
+
} else if (this.pageType === "EDIT") {
|
|
129
|
+
linkAttrs = this.meta.getRelatedEntitysOfEdit();
|
|
130
|
+
}
|
|
131
|
+
} else {
|
|
132
|
+
linkSubs.forEach((item) => {
|
|
133
|
+
const linkAttr = this.meta.getRelationByFlag(item);
|
|
134
|
+
if (linkAttr) {
|
|
135
|
+
linkAttrs.push(linkAttr);
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
return linkAttrs;
|
|
140
|
+
},
|
|
141
|
+
getMetaIdByRelation() {
|
|
142
|
+
return (relationId) => {
|
|
143
|
+
let relation = null;
|
|
144
|
+
let metaId = this.$metaId;
|
|
145
|
+
const relations = relationId.split("#");
|
|
146
|
+
relations.forEach(async (item) => {
|
|
147
|
+
let meta = this.getMeta(metaId);
|
|
148
|
+
if (!meta) {
|
|
149
|
+
meta = await this.$store.dispatch({
|
|
150
|
+
type: ADD_META,
|
|
151
|
+
metaId
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
relation = meta.getRelationByFlag(item);
|
|
155
|
+
metaId = relation.entityA;
|
|
156
|
+
});
|
|
157
|
+
return metaId;
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
parentId() {
|
|
161
|
+
return (relationId) => {
|
|
162
|
+
let subKey = this.$metaKey;
|
|
163
|
+
if (relationId.includes("#")) {
|
|
164
|
+
const relations = relationId.split("#");
|
|
165
|
+
const relation = this.meta.getRelationByFlag(relations[0]);
|
|
166
|
+
var linkAttri = relation.linkAttri.split("@")[0];
|
|
167
|
+
subKey = this.meta.getAttriNameById(linkAttri);
|
|
168
|
+
}
|
|
169
|
+
const id = this.data[subKey];
|
|
170
|
+
return id;
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
watch: {
|
|
175
|
+
reload(v) {
|
|
176
|
+
if (v) {
|
|
177
|
+
this.showPage = false;
|
|
178
|
+
this.$nextTick(() => {
|
|
179
|
+
const timer = setTimeout(() => {
|
|
180
|
+
this.showPage = true;
|
|
181
|
+
this.reload = false;
|
|
182
|
+
clearTimeout(timer);
|
|
183
|
+
}, 0);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
methods: {
|
|
189
|
+
getFieldConfig() {
|
|
190
|
+
const {
|
|
191
|
+
fieldGroups,
|
|
192
|
+
fieldConfigs = {}
|
|
193
|
+
} = this.formConfigs;
|
|
194
|
+
const {
|
|
195
|
+
fieldConfigs: routeFieldConfigs = {}
|
|
196
|
+
} = this.$query;
|
|
197
|
+
if (!fieldGroups || fieldGroups.length === 0) {
|
|
198
|
+
fieldGroups.push({
|
|
199
|
+
title: "基本信息"
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
fieldGroups.forEach(async (item, index) => {
|
|
203
|
+
if (item.contentType) {
|
|
204
|
+
this.fieldGroups[index] = {
|
|
205
|
+
...item
|
|
206
|
+
};
|
|
207
|
+
} else {
|
|
208
|
+
this.$FieldFactory.createFields({
|
|
209
|
+
defaultFieldConfigs: {
|
|
210
|
+
...routeFieldConfigs,
|
|
211
|
+
...fieldConfigs
|
|
212
|
+
},
|
|
213
|
+
meta: this.meta,
|
|
214
|
+
metaId: this.$metaId,
|
|
215
|
+
pageType: item.pageType || this.pageType,
|
|
216
|
+
fields: item.children
|
|
217
|
+
}).then((data) => {
|
|
218
|
+
this.fieldGroups[index] = {
|
|
219
|
+
...item,
|
|
220
|
+
children: [...data]
|
|
221
|
+
};
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
},
|
|
226
|
+
getData() {
|
|
227
|
+
const {
|
|
228
|
+
id,
|
|
229
|
+
defaultValue = {},
|
|
230
|
+
initData = {}
|
|
231
|
+
} = this.$query;
|
|
232
|
+
const {
|
|
233
|
+
link,
|
|
234
|
+
queryParams = {}
|
|
235
|
+
} = this.pageConfig;
|
|
236
|
+
const params = {
|
|
237
|
+
entityId: this.$metaId,
|
|
238
|
+
id
|
|
239
|
+
};
|
|
240
|
+
if (link) params.link = link;
|
|
241
|
+
if (this.pageType === "ADD") {
|
|
242
|
+
params.action = "getDefault";
|
|
243
|
+
delete params.id;
|
|
244
|
+
}
|
|
245
|
+
this.$http.get({
|
|
246
|
+
...params,
|
|
247
|
+
...queryParams
|
|
248
|
+
}).then((res) => {
|
|
249
|
+
if (res && res.data) {
|
|
250
|
+
this.data = {
|
|
251
|
+
...initData,
|
|
252
|
+
...this.data,
|
|
253
|
+
...res.data
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
if (defaultValue && this.pageType === "ADD") {
|
|
257
|
+
this.data = {
|
|
258
|
+
...defaultValue,
|
|
259
|
+
...this.data
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
editEntity() {
|
|
265
|
+
const {
|
|
266
|
+
flag: defaultFlag,
|
|
267
|
+
pageId
|
|
268
|
+
} = this.$query;
|
|
269
|
+
const {
|
|
270
|
+
editPageFlag = defaultFlag,
|
|
271
|
+
addPage
|
|
272
|
+
} = this.pageConfig;
|
|
273
|
+
let key = "ID";
|
|
274
|
+
if (this.meta) {
|
|
275
|
+
key = this.meta.getKey();
|
|
276
|
+
}
|
|
277
|
+
const query = {
|
|
278
|
+
metaId: this.$metaId,
|
|
279
|
+
flag: editPageFlag,
|
|
280
|
+
pageType: "EDIT",
|
|
281
|
+
pageId,
|
|
282
|
+
component: addPage,
|
|
283
|
+
id: this.data[key],
|
|
284
|
+
callback: this.getData
|
|
285
|
+
};
|
|
286
|
+
this.$createPage({
|
|
287
|
+
...query
|
|
288
|
+
});
|
|
289
|
+
},
|
|
290
|
+
applyEntity(buttonConfig) {
|
|
291
|
+
const {
|
|
292
|
+
submitParams: querySumitParams = {}
|
|
293
|
+
} = this.$query;
|
|
294
|
+
const {
|
|
295
|
+
submitParams: pageSubmitParams = {},
|
|
296
|
+
saveSuccessText,
|
|
297
|
+
processCode: pageProcessCode,
|
|
298
|
+
startNode: pageStartNode,
|
|
299
|
+
applyAction = "apply"
|
|
300
|
+
} = this.pageConfig;
|
|
301
|
+
const {
|
|
302
|
+
processCode = pageProcessCode,
|
|
303
|
+
startNode = pageStartNode,
|
|
304
|
+
result = "1",
|
|
305
|
+
action = applyAction
|
|
306
|
+
} = buttonConfig;
|
|
307
|
+
const params = {
|
|
308
|
+
action,
|
|
309
|
+
entityId: this.$metaId,
|
|
310
|
+
processCode,
|
|
311
|
+
startNode,
|
|
312
|
+
result
|
|
313
|
+
};
|
|
314
|
+
const formParams = this.getFormData();
|
|
315
|
+
const submitParams = this.$_.assignWith(this.$formatParams(pageSubmitParams), formParams, (pageSubmitValue, formValue) => {
|
|
316
|
+
return formValue || pageSubmitValue;
|
|
317
|
+
});
|
|
318
|
+
if (!formParams) return;
|
|
319
|
+
this.$http.apply({
|
|
320
|
+
...params,
|
|
321
|
+
...this.submitParams,
|
|
322
|
+
...querySumitParams,
|
|
323
|
+
...submitParams
|
|
324
|
+
}).then((data) => {
|
|
325
|
+
this.$message.success(saveSuccessText);
|
|
326
|
+
this.backPage({
|
|
327
|
+
reload: true
|
|
328
|
+
});
|
|
329
|
+
}).catch((err) => {
|
|
330
|
+
this.$message.error(err.message || "处理失败");
|
|
331
|
+
});
|
|
332
|
+
},
|
|
333
|
+
editApplyEntity() {
|
|
334
|
+
const {
|
|
335
|
+
applyPageFlag = "v_edit_apply"
|
|
336
|
+
} = this.pageConfig;
|
|
337
|
+
let key = "ID";
|
|
338
|
+
if (this.meta) {
|
|
339
|
+
key = this.meta.getKey();
|
|
340
|
+
}
|
|
341
|
+
const query = {
|
|
342
|
+
metaId: this.$metaId,
|
|
343
|
+
flag: applyPageFlag,
|
|
344
|
+
pageType: "EDIT",
|
|
345
|
+
component: "entity-edit-apply",
|
|
346
|
+
id: this.data[key]
|
|
347
|
+
};
|
|
348
|
+
this.$createPage({
|
|
349
|
+
...query
|
|
350
|
+
});
|
|
351
|
+
},
|
|
352
|
+
getFormData() {
|
|
353
|
+
let submitFlag = true;
|
|
354
|
+
const params = {};
|
|
355
|
+
const {
|
|
356
|
+
hiddenFields = []
|
|
357
|
+
} = this.pageConfig;
|
|
358
|
+
hiddenFields.forEach((field) => {
|
|
359
|
+
if (field.attriName && field.value) {
|
|
360
|
+
params[field.attriName] = field.value;
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
for (let index = 0; index < this.fieldGroups.length; index++) {
|
|
364
|
+
const fieldItem = this.fieldGroups[index];
|
|
365
|
+
if (!fieldItem.contentType && fieldItem.children) {
|
|
366
|
+
const form = this.$refs[`form${index}`];
|
|
367
|
+
for (let i = 0; i < fieldItem.children.length; i++) {
|
|
368
|
+
const fieldConfig = fieldItem.children[i];
|
|
369
|
+
const field = fieldItem.children[i].attriName;
|
|
370
|
+
if (this.pageType === "ADD" || this.pageType === "EDIT") {
|
|
371
|
+
form.validate((valid, err) => {
|
|
372
|
+
if (!valid) {
|
|
373
|
+
for (const key in err) {
|
|
374
|
+
const errMessgae = err[key][0];
|
|
375
|
+
this.$message.error(errMessgae.message);
|
|
376
|
+
submitFlag = false;
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
if (submitFlag === false) {
|
|
383
|
+
break;
|
|
384
|
+
}
|
|
385
|
+
const formValue = form.model.data[field];
|
|
386
|
+
if (!field.includes("#")) {
|
|
387
|
+
let submitValue = formValue;
|
|
388
|
+
if (Array.isArray(formValue)) {
|
|
389
|
+
submitValue = formValue[formValue.length - 1];
|
|
390
|
+
}
|
|
391
|
+
params[fieldConfig.name || `bean.${field}`] = submitValue || "";
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
return submitFlag ? params : false;
|
|
397
|
+
},
|
|
398
|
+
submitForm() {
|
|
399
|
+
const {
|
|
400
|
+
submitParams: querySumitParams = {}
|
|
401
|
+
} = this.$query;
|
|
402
|
+
const {
|
|
403
|
+
submitParams: pageSubmitParams = {},
|
|
404
|
+
saveSuccessText,
|
|
405
|
+
updateSuccessText,
|
|
406
|
+
saveAction,
|
|
407
|
+
updateAction
|
|
408
|
+
} = this.pageConfig;
|
|
409
|
+
const params = {
|
|
410
|
+
action: saveAction,
|
|
411
|
+
entityId: this.$metaId
|
|
412
|
+
};
|
|
413
|
+
if (this.data[this.$metaKey]) {
|
|
414
|
+
params[`bean.${this.$metaKey}`] = this.data[this.$metaKey];
|
|
415
|
+
}
|
|
416
|
+
const formParams = this.getFormData();
|
|
417
|
+
let submitParams = this.$_.assignWith(this.$formatParams(pageSubmitParams), formParams, (pageSubmitValue, formValue) => {
|
|
418
|
+
return formValue || pageSubmitValue;
|
|
419
|
+
});
|
|
420
|
+
submitParams = this.$_.assignWith(submitParams, this.submitParams, (submitValue, _submitValue) => {
|
|
421
|
+
return submitValue || _submitValue;
|
|
422
|
+
});
|
|
423
|
+
if (!formParams) return;
|
|
424
|
+
if (this.pageType === "EDIT") params.action = updateAction;
|
|
425
|
+
if (this.isRequesting) return;
|
|
426
|
+
this.isRequesting = true;
|
|
427
|
+
this.$http.save({
|
|
428
|
+
...params,
|
|
429
|
+
...querySumitParams,
|
|
430
|
+
...submitParams
|
|
431
|
+
}).then((data) => {
|
|
432
|
+
this.isRequesting = false;
|
|
433
|
+
this.$message.success(this.pageType === "EDIT" ? updateSuccessText : saveSuccessText);
|
|
434
|
+
this.backPage();
|
|
435
|
+
}).catch((err) => {
|
|
436
|
+
this.isRequesting = false;
|
|
437
|
+
this.$message.error(err.message || "处理失败");
|
|
438
|
+
});
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
* 通用请求
|
|
442
|
+
* @param action 请求命令
|
|
443
|
+
* @param metaId 请求对象,默认为当前页面对象
|
|
444
|
+
* @param num 选中记录数(1,必须选中且只能选中一条记录;n:必须选中至少一条记录;0不需要选中记录)
|
|
445
|
+
* @param comfirmMsg 操作提交之前的确认信息(如果为空,就不需要确认)
|
|
446
|
+
* @param params #[列表对象的某字段名]",(如果是选中的多条记录,将字段值拼成一个字符串,用逗号隔开) "$[当前页面的某变量名]"
|
|
447
|
+
* @param successMsg 操作成功的提示
|
|
448
|
+
* @param failMsg 操作失败的提示
|
|
449
|
+
* @param row 操作的列
|
|
450
|
+
*/
|
|
451
|
+
commonAction({
|
|
452
|
+
action,
|
|
453
|
+
metaId = this.$metaId,
|
|
454
|
+
num = 0,
|
|
455
|
+
confirmMsg = null,
|
|
456
|
+
params = {},
|
|
457
|
+
successMsg = "处理成功",
|
|
458
|
+
failMsg = "处理失败"
|
|
459
|
+
}, row) {
|
|
460
|
+
const that = this;
|
|
461
|
+
const formatParams = {};
|
|
462
|
+
for (const key in params) {
|
|
463
|
+
let value = params[key];
|
|
464
|
+
if (/$\[(.+)\]/.test(params[key])) {
|
|
465
|
+
value = params[key].replace(/$\[(.+)\]/, (match, key2) => {
|
|
466
|
+
return evalWith(`that.${key2}`, {
|
|
467
|
+
that
|
|
468
|
+
}) || evalWith(`that.query.${key2}`, {
|
|
469
|
+
that
|
|
470
|
+
});
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
if (/#\[(.+)\]/.test(params[key])) {
|
|
474
|
+
value = params[key].replace(/#\[(.+)\]/, (match, key2) => {
|
|
475
|
+
return this.data[key2];
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
formatParams[key] = value;
|
|
479
|
+
}
|
|
480
|
+
const submitFn = () => {
|
|
481
|
+
const formParams = this.getFormData();
|
|
482
|
+
if (!formParams) return;
|
|
483
|
+
this.$http.$request({
|
|
484
|
+
action,
|
|
485
|
+
entityId: metaId,
|
|
486
|
+
...formatParams,
|
|
487
|
+
...formParams
|
|
488
|
+
}).then(() => {
|
|
489
|
+
this.$message.success(successMsg);
|
|
490
|
+
this.backPage();
|
|
491
|
+
}).catch((err) => {
|
|
492
|
+
this.$message.error(err.message || failMsg);
|
|
493
|
+
});
|
|
494
|
+
};
|
|
495
|
+
if (confirmMsg) {
|
|
496
|
+
this.$confirm(confirmMsg, this.$t("hint"), {
|
|
497
|
+
confirmButtonText: this.$t("confirm"),
|
|
498
|
+
cancelButtonText: this.$t("cancel"),
|
|
499
|
+
type: "warning"
|
|
500
|
+
}).then(() => {
|
|
501
|
+
submitFn();
|
|
502
|
+
});
|
|
503
|
+
} else {
|
|
504
|
+
submitFn();
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
verify() {
|
|
508
|
+
let flag2 = true;
|
|
509
|
+
for (let i = 0; i < this.fieldGroups.length; i++) {
|
|
510
|
+
const fields = this.fieldGroups[i];
|
|
511
|
+
if (flag2 === false) {
|
|
512
|
+
break;
|
|
513
|
+
}
|
|
514
|
+
if (!fields.contentType) {
|
|
515
|
+
for (let j = 0; j < fields.children.length; j++) {
|
|
516
|
+
const field = fields.children[j];
|
|
517
|
+
if (field.isRequired === "1" && field.showFlag) {
|
|
518
|
+
let isShow = true;
|
|
519
|
+
for (const key in field.showFlag) {
|
|
520
|
+
if (field.showFlag[key] !== (this.data[key] || this.updateData[key])) {
|
|
521
|
+
isShow = false;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
if (isShow && !(this.data[field.attriName] || this.updateData[field.attriName])) {
|
|
525
|
+
flag2 = false;
|
|
526
|
+
this.$message.error(`请填写${field.attriLabel}`);
|
|
527
|
+
break;
|
|
528
|
+
}
|
|
529
|
+
} else if (field.isRequired === "1" && !(this.data[field.attriName] || this.updateData[field.attriName])) {
|
|
530
|
+
flag2 = false;
|
|
531
|
+
this.$message.error(`请填写${field.attriLabel}`);
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
return flag2;
|
|
538
|
+
},
|
|
539
|
+
foldFn(key) {
|
|
540
|
+
const index = this.foldList.indexOf(key);
|
|
541
|
+
if (index === -1) {
|
|
542
|
+
this.foldList.push(key);
|
|
543
|
+
} else {
|
|
544
|
+
this.foldList.splice(index, 1);
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
subAddEntity(index) {
|
|
548
|
+
const subListPage = this.$refs["sublist" + index];
|
|
549
|
+
if (subListPage) {
|
|
550
|
+
const subList = subListPage.$refs.component;
|
|
551
|
+
if (subList) subList.addEntity();
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
init() {
|
|
555
|
+
if (this.linkAttrs && this.linkAttrs.length > 0) {
|
|
556
|
+
this.$bus.on("reload", () => {
|
|
557
|
+
this.reload = true;
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
this.getFieldConfig();
|
|
561
|
+
this.getData();
|
|
562
|
+
},
|
|
563
|
+
renderForm(fieldItem, index) {
|
|
564
|
+
return createVNode("div", null, [createVNode(resolveComponent("epx-table-form"), {
|
|
565
|
+
"ref": `form${index}`,
|
|
566
|
+
"fieldsConfigs": fieldItem.children,
|
|
567
|
+
"modelValue": this.data,
|
|
568
|
+
"onUpdate:modelValue": ($event) => this.data = $event,
|
|
569
|
+
"column": fieldItem.column || this.formConfigs.column
|
|
570
|
+
}, null)]);
|
|
571
|
+
},
|
|
572
|
+
renderContent() {
|
|
573
|
+
const {
|
|
574
|
+
subAddFlag,
|
|
575
|
+
subComponent
|
|
576
|
+
} = this.pageConfig;
|
|
577
|
+
return createVNode("div", {
|
|
578
|
+
"class": "form-container"
|
|
579
|
+
}, [this.fieldGroups.map((fieldItem, index) => createVNode("div", {
|
|
580
|
+
"class": "form-item",
|
|
581
|
+
"key": index
|
|
582
|
+
}, [fieldItem && (fieldItem.contentType !== "sublist" || fieldItem.contentType !== "sub" || fieldItem.contentType.includes("sub") && this.pageType !== "ADD") && createVNode("div", null, [fieldItem.title && this.formConfigs.titleFlag && createVNode("p", {
|
|
583
|
+
"class": "form-title"
|
|
584
|
+
}, [createVNode("span", {
|
|
585
|
+
"class": "form-title-border"
|
|
586
|
+
}, [fieldItem.title]), createVNode("i", {
|
|
587
|
+
"class": `el-icon-caret-top ${this.foldList.includes(index) ? "fold" : ""}`,
|
|
588
|
+
"onClick": this.foldFn.bind(this, index)
|
|
589
|
+
}, null), (fieldItem.contentType === "sublist" || fieldItem.contentType === "sub") && this.pageType !== "DETAIL" && createVNode("span", {
|
|
590
|
+
"class": "sub-add-btn",
|
|
591
|
+
"onClick": this.subAddEntity.bind(this, index)
|
|
592
|
+
}, [createTextVNode("+ 新增")])]), createVNode("div", {
|
|
593
|
+
"style": this.foldList.includes(index) ? {
|
|
594
|
+
height: 0,
|
|
595
|
+
padding: 0
|
|
596
|
+
} : {},
|
|
597
|
+
"class": `form-content ${(fieldItem.contentType === "sublist" || fieldItem.contentType === "sub") && "no-padding"}`
|
|
598
|
+
}, [fieldItem.contentType === "sublist" ? createVNode("div", null, [this.data[this.$metaKey] ? createVNode(resolveComponent("epx-page"), {
|
|
599
|
+
"ref": `sublist${index}`,
|
|
600
|
+
"inline": true,
|
|
601
|
+
"formSub": true,
|
|
602
|
+
"pageType": this.pageType,
|
|
603
|
+
"pageId": fieldItem.pageId,
|
|
604
|
+
"parentMetaId": this.$metaId,
|
|
605
|
+
"metaId": this.getMetaIdByRelation(fieldItem.children[0]),
|
|
606
|
+
"flag": fieldItem.flag || subAddFlag,
|
|
607
|
+
"relationId": fieldItem.children[0],
|
|
608
|
+
"parentId": this.parentId(fieldItem.children[0]),
|
|
609
|
+
"component": subComponent,
|
|
610
|
+
"class": "sublist"
|
|
611
|
+
}, null) : null]) : fieldItem.contentType === "sub" ? createVNode("div", null, [this.data[this.$metaKey] ? createVNode(resolveComponent("epx-page"), {
|
|
612
|
+
"ref": `sublist${index}`,
|
|
613
|
+
"type": "component",
|
|
614
|
+
"inline": true,
|
|
615
|
+
"formSub": true,
|
|
616
|
+
"pageType": this.pageType,
|
|
617
|
+
"parentMetaId": this.$metaId,
|
|
618
|
+
"metaId": this.getMetaIdByRelation(fieldItem.children[0]),
|
|
619
|
+
"config": fieldItem.config,
|
|
620
|
+
"relationId": fieldItem.children[0],
|
|
621
|
+
"parentId": this.parentId(fieldItem.children[0]),
|
|
622
|
+
"component": subComponent,
|
|
623
|
+
"class": "sublist"
|
|
624
|
+
}, null) : null]) : (
|
|
625
|
+
// :column="formConfigs.fieldGroups[index].column||formConfigs.column"
|
|
626
|
+
// <epx-form ref={`form${index}`} fieldConfigs={fieldItem.children} value={this.data} column={this.formConfigs.column}></epx-form>
|
|
627
|
+
// <epx-form ref={`form${index}`} fieldConfigs={fieldItem.children} value={this.data} column={fieldItem.column || this.formConfigs.column}></epx-form>
|
|
628
|
+
this.renderForm(fieldItem, index)
|
|
629
|
+
)])])])), this.$isMobile && this.actionOperates.length > 0 && createVNode("div", {
|
|
630
|
+
"class": "mobile-button-container"
|
|
631
|
+
}, [createVNode("div", {
|
|
632
|
+
"class": "mobile-button-inner"
|
|
633
|
+
}, [this.actionOperates.length <= 2 ? this.actionOperates.map((operate) => {
|
|
634
|
+
if (this.buttonFlag(operate)) {
|
|
635
|
+
return createVNode(resolveComponent("el-button"), {
|
|
636
|
+
"size": "default",
|
|
637
|
+
"key": operate.text,
|
|
638
|
+
"type": operate.ui,
|
|
639
|
+
"onClick": this.$handler.bind(this, operate)
|
|
640
|
+
}, {
|
|
641
|
+
default: () => [operate.text]
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
}) : createVNode("div", {
|
|
645
|
+
"style": {
|
|
646
|
+
flex: 1,
|
|
647
|
+
display: "flex"
|
|
648
|
+
}
|
|
649
|
+
}, [createVNode(resolveComponent("el-button"), {
|
|
650
|
+
"size": "default",
|
|
651
|
+
"onClick": () => this.showMoreOperates = true
|
|
652
|
+
}, {
|
|
653
|
+
default: () => [createTextVNode("操作")]
|
|
654
|
+
}), createVNode(MobileActionSheet, {
|
|
655
|
+
"modelValue": this.showMoreOperates,
|
|
656
|
+
"actions": this.actionOperates,
|
|
657
|
+
"cancelText": "取消",
|
|
658
|
+
"closeOnClickAction": true,
|
|
659
|
+
"onUpdate:modelValue": (v) => this.showMoreOperates = v,
|
|
660
|
+
"onSelect": (operate) => this.$handler(operate)
|
|
661
|
+
}, null)])])]), !this.$isMobile && this.operates.length > 0 && createVNode("div", {
|
|
662
|
+
"class": "button-container"
|
|
663
|
+
}, [this.operates.map((operate) => {
|
|
664
|
+
if (this.buttonFlag(operate)) {
|
|
665
|
+
return createVNode(resolveComponent("el-button"), {
|
|
666
|
+
"size": "default",
|
|
667
|
+
"key": operate.text,
|
|
668
|
+
"type": operate.ui,
|
|
669
|
+
"onClick": this.$handler.bind(this, operate)
|
|
670
|
+
}, {
|
|
671
|
+
default: () => [operate.text]
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
})])]);
|
|
675
|
+
},
|
|
676
|
+
renderTabs() {
|
|
677
|
+
let _slot;
|
|
678
|
+
const {
|
|
679
|
+
subAddFlag,
|
|
680
|
+
subComponent
|
|
681
|
+
} = this.pageConfig;
|
|
682
|
+
return createVNode("div", {
|
|
683
|
+
"class": "tabs-container"
|
|
684
|
+
}, [createVNode(resolveComponent("el-tabs"), {
|
|
685
|
+
"class": "tabs",
|
|
686
|
+
"modelValue": this.activeName,
|
|
687
|
+
"type": "card",
|
|
688
|
+
"lazy": true
|
|
689
|
+
}, {
|
|
690
|
+
default: () => [createVNode(resolveComponent("el-tab-pane"), {
|
|
691
|
+
"label": "基本信息",
|
|
692
|
+
"name": "base"
|
|
693
|
+
}, _isSlot(_slot = this.renderContent()) ? _slot : {
|
|
694
|
+
default: () => [_slot]
|
|
695
|
+
}), this.linkAttrs.map((linkAttr, index) => createVNode(resolveComponent("el-tab-pane"), {
|
|
696
|
+
"key": linkAttr.flag,
|
|
697
|
+
"lazy": true,
|
|
698
|
+
"label": linkAttr.title,
|
|
699
|
+
"name": linkAttr.flag
|
|
700
|
+
}, {
|
|
701
|
+
default: () => [(this.activeName !== linkAttr.flag || this.showPage) && this.data[this.$metaKey] && createVNode(resolveComponent("epx-page"), {
|
|
702
|
+
"ref": `subtablist${index}`,
|
|
703
|
+
"inline": true,
|
|
704
|
+
"parentMetaId": this.$metaId,
|
|
705
|
+
"metaId": this.getMetaIdByRelation(linkAttr.flag),
|
|
706
|
+
"flag": subAddFlag,
|
|
707
|
+
"relationId": linkAttr.flag,
|
|
708
|
+
"parentId": this.parentId(linkAttr.flag),
|
|
709
|
+
"component": subComponent,
|
|
710
|
+
"class": "sublist"
|
|
711
|
+
}, null)]
|
|
712
|
+
}))]
|
|
713
|
+
})]);
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
created() {
|
|
717
|
+
if (this.linkAttrs.length > 0 && this.pageConfig.linkAddFlag) {
|
|
718
|
+
this.renderComponents.push(this.renderTabs);
|
|
719
|
+
} else {
|
|
720
|
+
this.renderComponents.push(this.renderContent);
|
|
721
|
+
}
|
|
722
|
+
this.init();
|
|
723
|
+
},
|
|
724
|
+
render() {
|
|
725
|
+
return createVNode("div", {
|
|
726
|
+
"class": "container list"
|
|
727
|
+
}, [this.renderComponents.map((renderFn) => renderFn())]);
|
|
728
|
+
},
|
|
729
|
+
beforeUnmount() {
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
export {
|
|
733
|
+
_sfc_main as default
|
|
734
|
+
};
|