@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,740 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="wiki-binding" v-loading="loading">
|
|
3
|
+
<!-- 未绑定:虚线框 + 大图标 + 两条明确的路,与设计稿 .bindbox 一致。
|
|
4
|
+
不给一个空下拉——「一个都没有」和「没加载出来」长得一模一样 -->
|
|
5
|
+
<div v-if="!bound" class="wiki-binding__bindbox">
|
|
6
|
+
<span class="wiki-binding__bindbox-ic">📚</span>
|
|
7
|
+
<span class="wiki-binding__bindbox-title">还没有绑定 Wiki 空间</span>
|
|
8
|
+
<span class="wiki-binding__bindbox-desc">
|
|
9
|
+
绑定之后,这个智能体回答时会去空间里检索,并在答案里给出<b>可点开原文的引用</b>。
|
|
10
|
+
不绑定也能问答,但答案没有出处,用户无法查证。
|
|
11
|
+
</span>
|
|
12
|
+
<span class="wiki-binding__bindbox-acts">
|
|
13
|
+
<el-button type="primary" size="small" @click="openPicker">
|
|
14
|
+
选择已有空间<template v-if="usableCount">({{ usableCount }} 个可选)</template>
|
|
15
|
+
</el-button>
|
|
16
|
+
<el-button size="small" @click="goCreate">+ 新建一个空间</el-button>
|
|
17
|
+
</span>
|
|
18
|
+
<span v-if="!spaces.length" class="wiki-binding__bindbox-warn">
|
|
19
|
+
当前还没有任何 Wiki 空间,先新建一个。
|
|
20
|
+
</span>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<template v-else>
|
|
24
|
+
<!-- 已绑定时直接看空间内容,不是先看一屏配置。
|
|
25
|
+
配置是建的时候的事,之后每次进来想看的是「这个空间里到底有什么」。
|
|
26
|
+
空间名与「配置」按钮都放进站点自带的顶栏——外层再起一条信息栏就重复了 -->
|
|
27
|
+
<div v-show="view === 'content'" ref="content" class="wiki-binding__content" :style="contentStyle">
|
|
28
|
+
<epx-wiki-site ref="wikiSite" embedded :space-id="space.ID" :allow-import="false">
|
|
29
|
+
<template v-slot:ops>
|
|
30
|
+
<el-button size="small" @click="view = 'intake'">⬆ 上传原始文件</el-button>
|
|
31
|
+
<el-button size="small" @click="view = 'config'">⚙ 配置</el-button>
|
|
32
|
+
</template>
|
|
33
|
+
</epx-wiki-site>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<!-- 空空间要给下一步:没有页时问答检索不到东西,答案也不会有引用 -->
|
|
37
|
+
<div v-if="view === 'content' && !space.PAGES" class="wiki-binding__warn">
|
|
38
|
+
<b>这个空间还没有页</b>,现在问答检索不到任何内容,答案也不会有引用。下一步:{{ nextStep }}。
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<!-- 配置态 -->
|
|
42
|
+
<template v-if="view === 'config'">
|
|
43
|
+
<div class="wiki-binding__card">
|
|
44
|
+
<div class="wiki-binding__card-head">
|
|
45
|
+
绑定的空间
|
|
46
|
+
<span class="wiki-binding__sub">一个智能体只能绑一个空间</span>
|
|
47
|
+
<!-- 返回与高级设置并排放在标题行右侧:单给「返回」起一行,
|
|
48
|
+
白占一整条却只放一个链接 -->
|
|
49
|
+
<span class="wiki-binding__head-ops">
|
|
50
|
+
<el-button type="primary" link @click="view = 'content'">← 返回内容</el-button>
|
|
51
|
+
<el-button type="primary" link @click="goAdvanced">⚙ 高级设置</el-button>
|
|
52
|
+
</span>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="wiki-binding__card-body wiki-binding__boundcard">
|
|
55
|
+
<span class="wiki-binding__boundcard-avt">📚</span>
|
|
56
|
+
<div class="wiki-binding__boundcard-body">
|
|
57
|
+
<div class="wiki-binding__boundcard-nm">{{ space.NAME }}</div>
|
|
58
|
+
<div class="wiki-binding__boundcard-kv">
|
|
59
|
+
<span>空间编码 <b>{{ space.CODE }}</b></span>
|
|
60
|
+
<span>源类型 <b>{{ sourceName }}</b></span>
|
|
61
|
+
<span>页数 <b>{{ space.PAGES || 0 }}</b></span>
|
|
62
|
+
<span v-if="space.LAST_SYNC_TIME">最后同步 <b>{{ space.LAST_SYNC_TIME }}</b></span>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="wiki-binding__boundcard-acts">
|
|
66
|
+
<el-button size="small" @click="openPicker">换绑</el-button>
|
|
67
|
+
<el-button size="small" class="wiki-binding__danger" @click="unbind">解绑</el-button>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="wiki-binding__card">
|
|
73
|
+
<div class="wiki-binding__card-head">
|
|
74
|
+
检索与引用
|
|
75
|
+
<span class="wiki-binding__sub">决定这个智能体怎么用这个空间</span>
|
|
76
|
+
</div>
|
|
77
|
+
<!-- 两列 + label 左对齐带冒号,与相邻页签的 add-form-item 一个形状。
|
|
78
|
+
原来是 label 在上、控件在下的竖排,在这一排页签里只有它长这样 -->
|
|
79
|
+
<div class="wiki-binding__card-body">
|
|
80
|
+
<el-form label-width="110px" label-position="right" size="small">
|
|
81
|
+
<el-row :gutter="20">
|
|
82
|
+
<el-col :span="12">
|
|
83
|
+
<el-form-item label="可引用范围:">
|
|
84
|
+
<el-select v-model="form.scope" clearable placeholder="全部页" @change="saveField('WIKI_SCOPE', form.scope)">
|
|
85
|
+
<el-option v-for="d in dirs" :key="d" :value="d" :label="'只用 ' + d"></el-option>
|
|
86
|
+
</el-select>
|
|
87
|
+
<div class="wiki-binding__hint">
|
|
88
|
+
收窄到某个目录,是「同一空间的子集」,不违反一个智能体只绑一个空间
|
|
89
|
+
</div>
|
|
90
|
+
</el-form-item>
|
|
91
|
+
</el-col>
|
|
92
|
+
<el-col :span="12">
|
|
93
|
+
<el-form-item label="检索方式:">
|
|
94
|
+
<el-select v-model="form.retrieval" @change="saveField('WIKI_RETRIEVAL', form.retrieval)">
|
|
95
|
+
<el-option value="exact" label="仅关键词精确匹配"></el-option>
|
|
96
|
+
<el-option value="auto" label="自动(关键词 + 语义并行合并)· 二期开放" disabled></el-option>
|
|
97
|
+
<el-option value="semantic" label="仅语义召回 · 二期开放" disabled></el-option>
|
|
98
|
+
</el-select>
|
|
99
|
+
<div class="wiki-binding__hint">
|
|
100
|
+
一期只有关键词一条路,命中不了就是「没有页覆盖」,会落成待办。置灰的两项二期开放
|
|
101
|
+
</div>
|
|
102
|
+
</el-form-item>
|
|
103
|
+
</el-col>
|
|
104
|
+
</el-row>
|
|
105
|
+
</el-form>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</template>
|
|
109
|
+
|
|
110
|
+
<!-- 上传与处理是应用内的一个工作视图,不用弹窗遮住正文。 -->
|
|
111
|
+
<div v-if="view === 'intake'" class="wiki-binding__card">
|
|
112
|
+
<div class="wiki-binding__card-head">
|
|
113
|
+
上传原始文件
|
|
114
|
+
<span class="wiki-binding__sub">上传、处理及生成进度</span>
|
|
115
|
+
<span class="wiki-binding__head-ops">
|
|
116
|
+
<el-button type="text" @click="view = 'content'">← 返回内容</el-button>
|
|
117
|
+
</span>
|
|
118
|
+
</div>
|
|
119
|
+
<wiki-intake
|
|
120
|
+
:wiki-id="space.ID"
|
|
121
|
+
@open="openGeneratedPage"
|
|
122
|
+
@changed="refreshWiki"
|
|
123
|
+
></wiki-intake>
|
|
124
|
+
</div>
|
|
125
|
+
</template>
|
|
126
|
+
|
|
127
|
+
<!-- 空间选择器。列出所有空间,包括当前不可选的——并说明原因。
|
|
128
|
+
隐藏它们只会让人以为「我建的空间怎么没了」 -->
|
|
129
|
+
<el-dialog
|
|
130
|
+
:title="bound ? '换绑 Wiki 空间' : '选择 Wiki 空间'"
|
|
131
|
+
v-model="pickerVisible"
|
|
132
|
+
width="600px"
|
|
133
|
+
append-to-body
|
|
134
|
+
>
|
|
135
|
+
<div class="wiki-binding__pick-tip">
|
|
136
|
+
列出所有空间,包括当前不可选的——并说明原因。
|
|
137
|
+
</div>
|
|
138
|
+
<div class="wiki-binding__spacepick">
|
|
139
|
+
<button
|
|
140
|
+
v-for="s in spaces"
|
|
141
|
+
:key="s.ID"
|
|
142
|
+
:class="['wiki-binding__pick-row', { 'is-on': pick === s.ID, 'is-off': !usable(s).ok }]"
|
|
143
|
+
@click="usable(s).ok && (pick = s.ID)"
|
|
144
|
+
>
|
|
145
|
+
<span class="wiki-binding__pick-rd"></span>
|
|
146
|
+
<span class="wiki-binding__pick-info">
|
|
147
|
+
<span class="wiki-binding__pick-nm">
|
|
148
|
+
{{ s.NAME }}
|
|
149
|
+
<el-tag v-if="s.ID === space.ID" size="small">当前</el-tag>
|
|
150
|
+
</span>
|
|
151
|
+
<span class="wiki-binding__pick-meta">
|
|
152
|
+
<span>{{ s.CODE }}</span>
|
|
153
|
+
<span>{{ s.PAGES || 0 }} 个页</span>
|
|
154
|
+
</span>
|
|
155
|
+
<span v-if="!usable(s).ok" class="wiki-binding__pick-why">
|
|
156
|
+
不可选:{{ usable(s).why }}
|
|
157
|
+
</span>
|
|
158
|
+
</span>
|
|
159
|
+
</button>
|
|
160
|
+
</div>
|
|
161
|
+
<div v-if="bound" class="wiki-binding__pick-tip wiki-binding__pick-tip--foot">
|
|
162
|
+
换绑<b>不会删任何东西</b>:新空间的内容立即生效;历史回答里的引用仍指向旧空间的那一版,照样打得开。
|
|
163
|
+
</div>
|
|
164
|
+
<template v-slot:footer><span>
|
|
165
|
+
<el-button size="small" @click="pickerVisible = false">取消</el-button>
|
|
166
|
+
<el-button type="primary" size="small" :disabled="!pick" @click="bind">
|
|
167
|
+
{{ bound ? '确认换绑' : '确认绑定' }}
|
|
168
|
+
</el-button>
|
|
169
|
+
</span></template>
|
|
170
|
+
</el-dialog>
|
|
171
|
+
|
|
172
|
+
</div>
|
|
173
|
+
</template>
|
|
174
|
+
|
|
175
|
+
<script>
|
|
176
|
+
// 与后端 WikiController 的 @RequestMapping 对齐;平台接口统一挂在 /epxing-frame/api 下
|
|
177
|
+
import component from '@epxing/core/src/mixins/component'
|
|
178
|
+
import { WikiIntake } from '@epxing/business/src/components/wiki-workbench'
|
|
179
|
+
// 后端是平台 action(FM_ACTION 上注册的 WikiAction),地址由 $http 拼
|
|
180
|
+
const WIKI_META = 'FM_AI_WIKI'
|
|
181
|
+
|
|
182
|
+
const SOURCE_NAME = { git: 'Git', db: '数据库', oss: '对象存储' }
|
|
183
|
+
|
|
184
|
+
// 兜底的空间新建 / 编辑页配置 ID(gen_wiki_pages.py 生成,见 FM_AI_WIKI-页面配置.sql)。
|
|
185
|
+
// 正式取值走 $configs,这里只是没配时的默认,免得一没配就变成点了没反应
|
|
186
|
+
const SPACE_ADD_PAGE_ID = '2EC43DD61E4312F8A25156287988C063'
|
|
187
|
+
const SPACE_EDIT_PAGE_ID = 'F8DE4F345B29A697DE50F2EA5D313E58'
|
|
188
|
+
|
|
189
|
+
export default {
|
|
190
|
+
name: 'epx-wiki-binding',
|
|
191
|
+
components: { WikiIntake },
|
|
192
|
+
mixins: [component],
|
|
193
|
+
// 配置点默认值,设计器面板里读的也是这两个
|
|
194
|
+
spaceAddPageId: SPACE_ADD_PAGE_ID,
|
|
195
|
+
spaceEditPageId: SPACE_EDIT_PAGE_ID,
|
|
196
|
+
data () {
|
|
197
|
+
return {
|
|
198
|
+
loading: false,
|
|
199
|
+
space: {},
|
|
200
|
+
spaces: [],
|
|
201
|
+
dirs: [],
|
|
202
|
+
pick: '',
|
|
203
|
+
pickerVisible: false,
|
|
204
|
+
// 已绑定时默认看内容:配置是建的时候的事,之后每次进来想看的是
|
|
205
|
+
// 「这个空间里到底有什么」。配置收进右上角按钮
|
|
206
|
+
view: 'content',
|
|
207
|
+
contentHeight: 0,
|
|
208
|
+
form: { scope: '', retrieval: 'exact' }
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
computed: {
|
|
212
|
+
/**
|
|
213
|
+
* 智能体 ID 来自表单主键:这个页签挂在「应用新增编辑」上,编辑的就是这条服务记录。
|
|
214
|
+
*
|
|
215
|
+
* <p>要从 `$query` 取,不是 `$route.query`。页面是配置驱动渲染的,
|
|
216
|
+
* 记录 ID 走的是平台的页面参数(entity-add-page 传下来的 `$query.id`),
|
|
217
|
+
* 地址栏上并没有它——取错地方的话 agentId 一直是空,`load()` 直接 return,
|
|
218
|
+
* 页面既不报错也没有数据,表现成「选择 wiki 的时候是空的」。
|
|
219
|
+
*/
|
|
220
|
+
agentId () {
|
|
221
|
+
return this.$query.id || this.$pageParams?.id || this.$route.query.id || this.$route.params.id || ''
|
|
222
|
+
},
|
|
223
|
+
bound () {
|
|
224
|
+
return !!(this.space && this.space.ID)
|
|
225
|
+
},
|
|
226
|
+
contentStyle () {
|
|
227
|
+
return this.contentHeight ? { height: this.contentHeight + 'px' } : {}
|
|
228
|
+
},
|
|
229
|
+
/** 按钮上直接写清有几个能选,省得点开才发现一个都选不了。 */
|
|
230
|
+
usableCount () {
|
|
231
|
+
return this.spaces.filter(s => this.usable(s).ok).length
|
|
232
|
+
},
|
|
233
|
+
sourceName () {
|
|
234
|
+
return SOURCE_NAME[this.space.SOURCE_TYPE] || this.space.SOURCE_TYPE || '—'
|
|
235
|
+
},
|
|
236
|
+
nextStep () {
|
|
237
|
+
return this.space.SOURCE_TYPE === 'git' ? '同步 Git 远端把已有文档拉进来' : '上传原始文件或新建页'
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
* 空间新建 / 编辑页。做成配置点是因为页面配置 ID 是环境数据:
|
|
241
|
+
* 换一套库这两个 ID 就变了,写死在组件里等于每换一个环境改一次代码。
|
|
242
|
+
*/
|
|
243
|
+
spaceAddPageId () {
|
|
244
|
+
return this.$configs.spaceAddPageId || SPACE_ADD_PAGE_ID
|
|
245
|
+
},
|
|
246
|
+
spaceEditPageId () {
|
|
247
|
+
return this.$configs.spaceEditPageId || SPACE_EDIT_PAGE_ID
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
created () {
|
|
251
|
+
this.load()
|
|
252
|
+
},
|
|
253
|
+
watch: {
|
|
254
|
+
view (v) {
|
|
255
|
+
if (v === 'content') this.fitContent()
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
mounted () {
|
|
259
|
+
this.fitContent()
|
|
260
|
+
window.addEventListener('resize', this.fitContent)
|
|
261
|
+
},
|
|
262
|
+
beforeUnmount () {
|
|
263
|
+
window.removeEventListener('resize', this.fitContent)
|
|
264
|
+
},
|
|
265
|
+
methods: {
|
|
266
|
+
load () {
|
|
267
|
+
if (!this.agentId) return
|
|
268
|
+
this.loading = true
|
|
269
|
+
this.$http.get({ action: 'binding', entityId: WIKI_META, agentId: this.agentId })
|
|
270
|
+
.then(d => {
|
|
271
|
+
this.space = (d && d.space) || {}
|
|
272
|
+
this.spaces = (d && d.spaces) || []
|
|
273
|
+
this.dirs = (d && d.dirs) || []
|
|
274
|
+
this.form.scope = (d && d.scope) || ''
|
|
275
|
+
this.form.retrieval = (d && d.retrieval) || 'exact'
|
|
276
|
+
})
|
|
277
|
+
.catch(() => { this.space = {} })
|
|
278
|
+
.finally(() => {
|
|
279
|
+
this.loading = false
|
|
280
|
+
// 数据到位后元素才真正占上位置,这时候量才准
|
|
281
|
+
this.fitContent()
|
|
282
|
+
})
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* 这个空间现在能不能绑,不能的话为什么。
|
|
287
|
+
*
|
|
288
|
+
* <p>不可选的也列出来并说明原因——隐藏它们只会让人以为「我建的空间怎么没了」,
|
|
289
|
+
* 然后再去建一个同名的,两个空间的页开始分叉。
|
|
290
|
+
*/
|
|
291
|
+
usable (s) {
|
|
292
|
+
if (!s) return { ok: false, why: '' }
|
|
293
|
+
if (s.STATUS === '0') return { ok: false, why: '空间已停用,先在空间设置里启用' }
|
|
294
|
+
return { ok: true, why: '' }
|
|
295
|
+
},
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* 让内容区正好填满视口剩下的部分。
|
|
299
|
+
*
|
|
300
|
+
* <p>按实测位置算,不用 calc(100vh - 常数):那个常数取决于这个页签上方
|
|
301
|
+
* 有多少东西(页面标题栏、页签行、外层留白),而它随入口不同而变——
|
|
302
|
+
* 估小了下面白空一截,估大了溢出几像素就触发外层滚动,把顶栏一起滚走。
|
|
303
|
+
* 前者我估过 300,后者估过 150,两次都不对。位置只有量出来才是准的。
|
|
304
|
+
*/
|
|
305
|
+
fitContent () {
|
|
306
|
+
this.$nextTick(() => {
|
|
307
|
+
const el = this.$refs.content
|
|
308
|
+
if (!el) return
|
|
309
|
+
const top = el.getBoundingClientRect().top
|
|
310
|
+
// 底部留 12px,别正好顶到边
|
|
311
|
+
this.contentHeight = Math.max(460, Math.floor(window.innerHeight - top - 12))
|
|
312
|
+
})
|
|
313
|
+
},
|
|
314
|
+
|
|
315
|
+
openPicker () {
|
|
316
|
+
// 打开时预选当前绑定的那个,换绑时才看得出「原来绑的是哪一个」
|
|
317
|
+
this.pick = this.space.ID || ''
|
|
318
|
+
this.pickerVisible = true
|
|
319
|
+
},
|
|
320
|
+
|
|
321
|
+
bind () {
|
|
322
|
+
if (!this.pick || this.pick === this.space.ID) {
|
|
323
|
+
this.pickerVisible = false
|
|
324
|
+
return
|
|
325
|
+
}
|
|
326
|
+
this.saveField('WIKI_ID', this.pick).then(() => {
|
|
327
|
+
this.pickerVisible = false
|
|
328
|
+
this.pick = ''
|
|
329
|
+
this.view = 'content'
|
|
330
|
+
this.load()
|
|
331
|
+
})
|
|
332
|
+
},
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* 解绑要二次确认。
|
|
336
|
+
*
|
|
337
|
+
* 解绑之后这个智能体的答案立刻不再带原文引用——这是使用者能直接感知的退化,
|
|
338
|
+
* 不该由一次误点触发。
|
|
339
|
+
*/
|
|
340
|
+
unbind () {
|
|
341
|
+
this.$confirm(
|
|
342
|
+
'解绑后,这个智能体的回答将不再带原文引用。空间本身和里面的页不受影响。',
|
|
343
|
+
'解绑 Wiki 空间',
|
|
344
|
+
{ type: 'warning', confirmButtonText: '解绑', cancelButtonText: '取消' }
|
|
345
|
+
).then(() => this.saveField('WIKI_ID', '')).then(() => this.load()).catch(() => {})
|
|
346
|
+
},
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* 写回智能体上的一个字段。
|
|
350
|
+
*
|
|
351
|
+
* <p>实体保存的入参是 `entityId` + 平铺的 `bean.字段名`,不是 `metaId` + `data` 对象——
|
|
352
|
+
* 后者两处都错:`metaId` 不是 `$http` 认的键,拼出来的地址上没有对象段;
|
|
353
|
+
* `data` 这一层包装后端也收不到,等于提交了一条没有字段的记录。
|
|
354
|
+
* 与平台表单(AddForm.submitForm)保持同一个形状。
|
|
355
|
+
*/
|
|
356
|
+
saveField (field, value) {
|
|
357
|
+
return this.$http.update({
|
|
358
|
+
action: 'update',
|
|
359
|
+
entityId: 'FM_SERVICE',
|
|
360
|
+
'bean.ID': this.agentId,
|
|
361
|
+
['bean.' + field]: value == null ? '' : value
|
|
362
|
+
}).then(() => {
|
|
363
|
+
this.$message.success('已保存')
|
|
364
|
+
})
|
|
365
|
+
},
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* 新建空间是控制台那边的完整表单,不在这里重造一份——两份表单必然漂移。
|
|
369
|
+
*
|
|
370
|
+
* 走 goPage 打开页面配置,不是 window.open 拼地址:`#/wiki/space/new` 这种路径
|
|
371
|
+
* 在 router 里根本没有注册(只有 `/wiki/:client/:system/:wiki/:path*` 和 `/wiki/view`),
|
|
372
|
+
* 点下去是一个空白页,而且从界面上完全看不出是地址错了。
|
|
373
|
+
*/
|
|
374
|
+
goCreate () {
|
|
375
|
+
this.goPage({ metaId: 'FM_AI_WIKI', pageId: this.spaceAddPageId, openMode: '3', num: 0 })
|
|
376
|
+
},
|
|
377
|
+
|
|
378
|
+
/** 高级设置=空间配置表单,与控制台「编辑配置」是同一个页面,不是另做一份。 */
|
|
379
|
+
goAdvanced () {
|
|
380
|
+
this.goPage(
|
|
381
|
+
{ metaId: 'FM_AI_WIKI', pageId: this.spaceEditPageId, pageType: 'EDIT', openMode: '3', num: 0 },
|
|
382
|
+
{ ID: this.space.ID }
|
|
383
|
+
)
|
|
384
|
+
},
|
|
385
|
+
|
|
386
|
+
/** 生成完成后刷新嵌入站点,让新页面立即出现在目录中。 */
|
|
387
|
+
refreshWiki () {
|
|
388
|
+
const site = this.$refs.wikiSite
|
|
389
|
+
if (!site) return
|
|
390
|
+
site.loadSpace().then(() => {
|
|
391
|
+
if (site.path) site.loadPage(site.path)
|
|
392
|
+
else site.openFirst()
|
|
393
|
+
})
|
|
394
|
+
},
|
|
395
|
+
|
|
396
|
+
/** 从入库记录点击生成页时,回到内容视图并打开同一页。 */
|
|
397
|
+
openGeneratedPage (path) {
|
|
398
|
+
this.view = 'content'
|
|
399
|
+
this.$nextTick(() => {
|
|
400
|
+
const site = this.$refs.wikiSite
|
|
401
|
+
if (!site) return
|
|
402
|
+
site.loadSpace().then(() => site.open(path))
|
|
403
|
+
})
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
</script>
|
|
408
|
+
|
|
409
|
+
<style lang="scss" scoped>
|
|
410
|
+
.wiki-binding {
|
|
411
|
+
padding: var(--padding-large) 0;
|
|
412
|
+
|
|
413
|
+
// 未绑定态:虚线框 + 居中,与设计稿 .bindbox 一致。
|
|
414
|
+
// 虚线是有意的——它表示「这里还空着,等你填」,实线框看着像一块已经配好的内容
|
|
415
|
+
&__bindbox {
|
|
416
|
+
display: flex;
|
|
417
|
+
flex-direction: column;
|
|
418
|
+
align-items: center;
|
|
419
|
+
gap: 12px;
|
|
420
|
+
padding: 22px 24px;
|
|
421
|
+
border: 1px dashed #C9CDD4;
|
|
422
|
+
border-radius: var(--border-radius);
|
|
423
|
+
background: #F7F8FA;
|
|
424
|
+
text-align: center;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
&__bindbox-ic {
|
|
428
|
+
font-size: 32px;
|
|
429
|
+
opacity: .5;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
&__bindbox-title {
|
|
433
|
+
font-size: $--font-size-medium;
|
|
434
|
+
font-weight: 600;
|
|
435
|
+
color: var(--color-text-title);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
&__bindbox-desc {
|
|
439
|
+
// 限宽:一行拉满屏幕的说明文字没人会读完
|
|
440
|
+
max-width: 560px;
|
|
441
|
+
font-size: $--font-size-small;
|
|
442
|
+
color: var(--color-text-secondary);
|
|
443
|
+
line-height: 1.7;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
&__bindbox-acts {
|
|
447
|
+
display: flex;
|
|
448
|
+
gap: 10px;
|
|
449
|
+
margin-top: 4px;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
&__bindbox-warn {
|
|
453
|
+
font-size: $--font-size-extra-small;
|
|
454
|
+
color: var(--color-warning);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// 嵌入的站点内容。
|
|
458
|
+
//
|
|
459
|
+
// 高度按视口算而不是写死一个数:写死的话大屏白空半屏、小屏只剩半截。
|
|
460
|
+
// 减掉的 150px 是这个页签上方固定占掉的部分——页面标题栏约 52 + 页签行约 53 +
|
|
461
|
+
// 上下留白,量出来的,不是拍脑袋。原来减 300 是估的,于是内容区下面白空一大截。
|
|
462
|
+
//
|
|
463
|
+
// 外层页签容器不是 flex,所以只能这么算;min-height 兜住极端矮屏——
|
|
464
|
+
// 太矮的话目录树和正文都没法看。
|
|
465
|
+
&__content {
|
|
466
|
+
// 高度由 fitContent 按实测位置写进行内样式;这里只兜底,
|
|
467
|
+
// 免得 JS 还没跑到时闪一下零高度
|
|
468
|
+
min-height: 460px;
|
|
469
|
+
background: #fff;
|
|
470
|
+
border-radius: var(--border-radius);
|
|
471
|
+
overflow: hidden;
|
|
472
|
+
margin-bottom: var(--margin-large);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// 已绑定态:图标 / 信息 / 右侧竖排操作,与设计稿 .boundcard 一致
|
|
476
|
+
&__boundcard {
|
|
477
|
+
display: flex;
|
|
478
|
+
gap: 16px;
|
|
479
|
+
align-items: flex-start;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
&__boundcard-avt {
|
|
483
|
+
width: 38px;
|
|
484
|
+
height: 38px;
|
|
485
|
+
flex: none;
|
|
486
|
+
border-radius: 8px;
|
|
487
|
+
display: flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
justify-content: center;
|
|
490
|
+
font-size: 19px;
|
|
491
|
+
@include bg_color_primary(.1);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
&__boundcard-body {
|
|
495
|
+
flex: 1;
|
|
496
|
+
min-width: 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&__boundcard-nm {
|
|
500
|
+
display: flex;
|
|
501
|
+
align-items: center;
|
|
502
|
+
gap: 8px;
|
|
503
|
+
font-size: $--font-size-base;
|
|
504
|
+
font-weight: 600;
|
|
505
|
+
color: var(--color-text-title);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
&__boundcard-kv {
|
|
509
|
+
display: flex;
|
|
510
|
+
flex-wrap: wrap;
|
|
511
|
+
gap: 6px 22px;
|
|
512
|
+
margin-top: 8px;
|
|
513
|
+
font-size: $--font-size-small;
|
|
514
|
+
color: var(--color-text-assistant);
|
|
515
|
+
|
|
516
|
+
b {
|
|
517
|
+
color: var(--color-text-secondary);
|
|
518
|
+
font-weight: 400;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&__boundcard-acts {
|
|
523
|
+
flex: none;
|
|
524
|
+
display: flex;
|
|
525
|
+
flex-direction: column;
|
|
526
|
+
align-items: flex-end;
|
|
527
|
+
gap: 6px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// 空间选择器:单选列表而不是下拉。下拉塞不下「几个页 / 为什么不可选」这些
|
|
531
|
+
// 判断依据,而选空间恰恰要靠它们
|
|
532
|
+
&__spacepick {
|
|
533
|
+
display: flex;
|
|
534
|
+
flex-direction: column;
|
|
535
|
+
border: 1px solid #E3E3E3;
|
|
536
|
+
border-radius: var(--border-radius);
|
|
537
|
+
overflow: hidden;
|
|
538
|
+
max-height: 320px;
|
|
539
|
+
overflow-y: auto;
|
|
540
|
+
@include scroll-bar;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
&__pick-row {
|
|
544
|
+
display: flex;
|
|
545
|
+
gap: 12px;
|
|
546
|
+
align-items: center;
|
|
547
|
+
width: 100%;
|
|
548
|
+
padding: 12px 14px;
|
|
549
|
+
border: 0;
|
|
550
|
+
border-bottom: 1px solid #E3E3E3;
|
|
551
|
+
background: #fff;
|
|
552
|
+
text-align: left;
|
|
553
|
+
cursor: pointer;
|
|
554
|
+
|
|
555
|
+
&:last-child {
|
|
556
|
+
border-bottom: 0;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
&:hover:not(.is-off) {
|
|
560
|
+
@include bg_color_primary(.06);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
// 选中态用左侧主题色条,与列表行选中的既有做法一致
|
|
564
|
+
&.is-on {
|
|
565
|
+
@include bg_color_primary(.08);
|
|
566
|
+
@include border_color_primary;
|
|
567
|
+
border-left: 3px solid;
|
|
568
|
+
padding-left: 11px;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
&.is-off {
|
|
572
|
+
background: #F7F8FA;
|
|
573
|
+
cursor: not-allowed;
|
|
574
|
+
opacity: .75;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
&__pick-rd {
|
|
579
|
+
width: 15px;
|
|
580
|
+
height: 15px;
|
|
581
|
+
flex: none;
|
|
582
|
+
border-radius: 50%;
|
|
583
|
+
border: 1px solid #C9CDD4;
|
|
584
|
+
display: flex;
|
|
585
|
+
align-items: center;
|
|
586
|
+
justify-content: center;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
&__pick-row.is-on &__pick-rd {
|
|
590
|
+
@include border_color_primary;
|
|
591
|
+
|
|
592
|
+
&::after {
|
|
593
|
+
content: '';
|
|
594
|
+
width: 7px;
|
|
595
|
+
height: 7px;
|
|
596
|
+
border-radius: 50%;
|
|
597
|
+
@include bg_color_primary;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
&__pick-info {
|
|
602
|
+
flex: 1;
|
|
603
|
+
min-width: 0;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
&__pick-nm {
|
|
607
|
+
display: flex;
|
|
608
|
+
align-items: center;
|
|
609
|
+
gap: 8px;
|
|
610
|
+
font-size: $--font-size-small;
|
|
611
|
+
font-weight: 600;
|
|
612
|
+
color: var(--color-text-title);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
&__pick-meta {
|
|
616
|
+
display: flex;
|
|
617
|
+
flex-wrap: wrap;
|
|
618
|
+
gap: 12px;
|
|
619
|
+
margin-top: 3px;
|
|
620
|
+
font-size: $--font-size-extra-small;
|
|
621
|
+
color: var(--color-text-assistant);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
&__pick-why {
|
|
625
|
+
display: block;
|
|
626
|
+
margin-top: 3px;
|
|
627
|
+
font-size: $--font-size-extra-small;
|
|
628
|
+
color: var(--color-warning);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
&__pick-tip {
|
|
632
|
+
margin-bottom: 12px;
|
|
633
|
+
font-size: $--font-size-small;
|
|
634
|
+
color: var(--color-text-secondary);
|
|
635
|
+
line-height: 1.7;
|
|
636
|
+
|
|
637
|
+
&--foot {
|
|
638
|
+
margin: 14px 0 0;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
&__opt-note {
|
|
643
|
+
float: right;
|
|
644
|
+
color: var(--color-text-assistant);
|
|
645
|
+
font-size: $--font-size-extra-small;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
&__card {
|
|
649
|
+
background: #fff;
|
|
650
|
+
border-radius: var(--border-radius);
|
|
651
|
+
margin-bottom: var(--margin-large);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
// 与平台表单卡片(add-form-item)同一套:16px 标题 + 3px 主题色标记条 + 1px 分隔线。
|
|
655
|
+
// 这个页签夹在「应用服务」「记忆设置」等 add-form 页签中间,卡片长得不一样最扎眼
|
|
656
|
+
&__card-head {
|
|
657
|
+
display: flex;
|
|
658
|
+
align-items: center;
|
|
659
|
+
gap: 8px;
|
|
660
|
+
padding: 6px 16px;
|
|
661
|
+
border-bottom: 1px solid #E3E3E3;
|
|
662
|
+
font-size: $--font-size-medium;
|
|
663
|
+
line-height: 36px;
|
|
664
|
+
color: var(--color-text-title);
|
|
665
|
+
|
|
666
|
+
&::before {
|
|
667
|
+
content: '';
|
|
668
|
+
width: 3px;
|
|
669
|
+
height: 16px;
|
|
670
|
+
border-radius: 2px;
|
|
671
|
+
@include bg_color_primary;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
&__sub {
|
|
676
|
+
font-weight: 400;
|
|
677
|
+
font-size: $--font-size-extra-small;
|
|
678
|
+
color: var(--color-text-assistant);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
&__head-ops {
|
|
682
|
+
margin-left: auto;
|
|
683
|
+
display: flex;
|
|
684
|
+
align-items: center;
|
|
685
|
+
gap: 16px;
|
|
686
|
+
|
|
687
|
+
// el-button 之间默认没有间距,文字按钮挨在一起会读成一个词
|
|
688
|
+
.el-button + .el-button {
|
|
689
|
+
margin-left: 0;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
&__card-body {
|
|
694
|
+
padding: 16px 20px;
|
|
695
|
+
display: flex;
|
|
696
|
+
align-items: center;
|
|
697
|
+
gap: 16px;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
&__space {
|
|
701
|
+
flex: 1;
|
|
702
|
+
min-width: 0;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
&__space-name {
|
|
706
|
+
font-size: $--font-size-base;
|
|
707
|
+
color: var(--color-text-title);
|
|
708
|
+
font-weight: 600;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&__space-meta {
|
|
712
|
+
margin-top: 6px;
|
|
713
|
+
display: flex;
|
|
714
|
+
flex-wrap: wrap;
|
|
715
|
+
gap: 16px;
|
|
716
|
+
font-size: $--font-size-extra-small;
|
|
717
|
+
color: var(--color-text-assistant);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
&__danger {
|
|
721
|
+
color: $--color-danger;
|
|
722
|
+
border-color: #FAB6B6;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
&__warn {
|
|
726
|
+
margin: 0 20px 16px;
|
|
727
|
+
padding: 10px 12px;
|
|
728
|
+
background: #FDF6EC;
|
|
729
|
+
color: #E6A23C;
|
|
730
|
+
border-radius: var(--border-radius);
|
|
731
|
+
font-size: $--font-size-small;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
&__hint {
|
|
735
|
+
font-size: $--font-size-extra-small;
|
|
736
|
+
color: var(--color-text-assistant);
|
|
737
|
+
line-height: 1.6;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
</style>
|