@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,505 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="epx-wiki-intake" v-loading="loading">
|
|
3
|
+
<el-alert type="info" :closable="false" show-icon class="epx-wiki-intake__tip">
|
|
4
|
+
<template v-slot:title>上传的 Word / PDF / PPT / 文本先落暂存区,解析后组织成 Wiki 页</template>
|
|
5
|
+
暂存区 <b>{{ stash }}</b> 不在纳入范围内,原始文件本身永远不会被当成页检索到。
|
|
6
|
+
页生成之后原始文件按策略清理,<b>只保留这张入库记录</b>——「这段内容是谁、什么时候、
|
|
7
|
+
用哪个文件生成的」出现争议时,这条记录是唯一的追溯依据。
|
|
8
|
+
</el-alert>
|
|
9
|
+
|
|
10
|
+
<div v-if="runningRows.length" class="epx-wiki-intake__progress">
|
|
11
|
+
<i class="el-icon-loading"></i>
|
|
12
|
+
<div>
|
|
13
|
+
<b>AI 正在生成 Wiki</b>
|
|
14
|
+
<div>{{ runningRows[0].note || '任务已开始,正在准备材料…' }}</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div class="epx-wiki-intake__h">
|
|
19
|
+
入库记录
|
|
20
|
+
<span class="sub">共 {{ rows.length }} 条</span>
|
|
21
|
+
<el-upload
|
|
22
|
+
class="r"
|
|
23
|
+
action=""
|
|
24
|
+
multiple
|
|
25
|
+
:limit="MAX_FILES"
|
|
26
|
+
:auto-upload="false"
|
|
27
|
+
:file-list="picked"
|
|
28
|
+
:on-change="onPick"
|
|
29
|
+
:on-remove="onPick"
|
|
30
|
+
:on-exceed="onExceed"
|
|
31
|
+
accept=".doc,.docx,.pdf,.ppt,.pptx,.xls,.xlsx,.txt,.md"
|
|
32
|
+
>
|
|
33
|
+
<el-button size="small">选择文件</el-button>
|
|
34
|
+
</el-upload>
|
|
35
|
+
<!-- 手动提交而不是选完就传:一批文件要走**一个请求**才能落成一条入库记录,
|
|
36
|
+
而 el-upload 的自动上传是每个文件各调一次 -->
|
|
37
|
+
<el-button
|
|
38
|
+
type="primary"
|
|
39
|
+
size="small"
|
|
40
|
+
:disabled="!picked.length"
|
|
41
|
+
:loading="uploading"
|
|
42
|
+
@click="doUpload"
|
|
43
|
+
>⬆ 上传{{ picked.length ? ' ' + picked.length + ' 个' : '' }}</el-button>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<el-table :data="rows" size="small" empty-text="还没有上传过原始文件">
|
|
47
|
+
<el-table-column label="文件" min-width="200">
|
|
48
|
+
<template v-slot="s">
|
|
49
|
+
<div class="epx-wiki-intake__nm">{{ ICON[s.row.fileType] || '📄' }} {{ s.row.fileName }}</div>
|
|
50
|
+
<div class="epx-wiki-intake__sub">{{ size(s.row.fileSize) }}</div>
|
|
51
|
+
</template>
|
|
52
|
+
</el-table-column>
|
|
53
|
+
<el-table-column label="处理方式" width="120">
|
|
54
|
+
<template v-slot="s">{{ modeLabels[s.row.intakeMode] || s.row.intakeMode || '—' }}</template>
|
|
55
|
+
</el-table-column>
|
|
56
|
+
<el-table-column label="生成的页" min-width="180">
|
|
57
|
+
<template v-slot="s">
|
|
58
|
+
<template v-if="pagesOf(s.row).length">
|
|
59
|
+
<el-button type="text" class="epx-wiki-intake__pages-toggle" @click="togglePages(s.row)">
|
|
60
|
+
已生成 {{ pagesOf(s.row).length }} 页
|
|
61
|
+
<i :class="expandedPages[s.row.id] ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
|
|
62
|
+
</el-button>
|
|
63
|
+
<div v-show="expandedPages[s.row.id]" class="epx-wiki-intake__pages-list">
|
|
64
|
+
<div v-for="p in pagesOf(s.row)" :key="p">
|
|
65
|
+
<el-button type="text" @click="$emit('open', p)">{{ p }}</el-button>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</template>
|
|
69
|
+
<span v-else class="epx-wiki-intake__sub">—</span>
|
|
70
|
+
</template>
|
|
71
|
+
</el-table-column>
|
|
72
|
+
<el-table-column label="上传" width="160">
|
|
73
|
+
<template v-slot="s">
|
|
74
|
+
{{ s.row.createUser || '—' }}
|
|
75
|
+
<div class="epx-wiki-intake__sub">{{ s.row.createTime }}</div>
|
|
76
|
+
</template>
|
|
77
|
+
</el-table-column>
|
|
78
|
+
<el-table-column label="原始文件" width="110">
|
|
79
|
+
<template v-slot="s">
|
|
80
|
+
<el-tag :type="s.row.purged === '1' ? 'info' : 'warning'" size="small">
|
|
81
|
+
{{ s.row.purged === '1' ? '已清理' : '暂存中' }}
|
|
82
|
+
</el-tag>
|
|
83
|
+
</template>
|
|
84
|
+
</el-table-column>
|
|
85
|
+
<el-table-column label="状态" width="280">
|
|
86
|
+
<template v-slot="s">
|
|
87
|
+
<el-tag :type="STATE_TYPE[s.row.state] || 'info'" size="small">
|
|
88
|
+
{{ stateLabels[s.row.state] || s.row.state }}
|
|
89
|
+
</el-tag>
|
|
90
|
+
<div v-if="s.row.note" class="epx-wiki-intake__sub">{{ s.row.note }}</div>
|
|
91
|
+
</template>
|
|
92
|
+
</el-table-column>
|
|
93
|
+
<el-table-column label="操作" width="250">
|
|
94
|
+
<template v-slot="s">
|
|
95
|
+
<!-- 三种方式装不进两个按钮,用下拉:每一项都写清楚它会怎么切 -->
|
|
96
|
+
<el-dropdown
|
|
97
|
+
v-if="s.row.state === 'wait' || s.row.state === 'fail'"
|
|
98
|
+
trigger="click"
|
|
99
|
+
@command="mode => run(s.row, mode)"
|
|
100
|
+
>
|
|
101
|
+
<el-button type="text">
|
|
102
|
+
{{ s.row.state === 'fail' ? '换方式重试' : '开始处理' }}<i class="el-icon-arrow-down"></i>
|
|
103
|
+
</el-button>
|
|
104
|
+
<template v-slot:dropdown><el-dropdown-menu>
|
|
105
|
+
<!-- 走 Beaver 的 WikiGenerator:它自己规划目录树、逐页生成、逐页验收,
|
|
106
|
+
产物先落平台草稿,确认后再发布。和下面三项不是一个量级 -->
|
|
107
|
+
<el-dropdown-item command="wiki" divided>AI 生成目录与内容(会调模型,慢)</el-dropdown-item>
|
|
108
|
+
<el-dropdown-item command="ai">AI 按语义拆页(Word/PDF 用这个)</el-dropdown-item>
|
|
109
|
+
<el-dropdown-item command="outline">按标题拆页(原文是 markdown 才有效)</el-dropdown-item>
|
|
110
|
+
<el-dropdown-item command="single">整篇转成一个页</el-dropdown-item>
|
|
111
|
+
</el-dropdown-menu></template>
|
|
112
|
+
</el-dropdown>
|
|
113
|
+
<el-button v-if="s.row.state === 'done' && s.row.purged !== '1'" type="text" @click="purge(s.row)">
|
|
114
|
+
清理原文件
|
|
115
|
+
</el-button>
|
|
116
|
+
<el-button v-if="canRegenerate(s.row)" type="text" @click="generate(s.row)">
|
|
117
|
+
重新 AI 生成
|
|
118
|
+
</el-button>
|
|
119
|
+
<el-button type="text" class="epx-wiki-intake__del" @click="drop(s.row)">删记录</el-button>
|
|
120
|
+
</template>
|
|
121
|
+
</el-table-column>
|
|
122
|
+
</el-table>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
|
|
126
|
+
<script>
|
|
127
|
+
import { codeLabelsAll } from './codes'
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 工作台「原始文件」页签。
|
|
131
|
+
*
|
|
132
|
+
* 处理产出一律先进草稿,<strong>要人过一遍再发布</strong>——自动写回等于让一次上传
|
|
133
|
+
* 直接改生产 Wiki,而解析出来的结构十有八九要调。
|
|
134
|
+
*
|
|
135
|
+
* 解析失败时原始文件<strong>保留</strong>并把原因写进记录:先删文件会让
|
|
136
|
+
* 「换个处理方式重试」无从下手。
|
|
137
|
+
*/
|
|
138
|
+
// 处理方式与状态的中文名读代码表(FM_AI_WIKI_INTAKE_MODE / _STATE)。颜色留在组件里
|
|
139
|
+
const STATE_TYPE = { wait: 'info', run: 'primary', done: 'success', fail: 'danger' }
|
|
140
|
+
// mixed = 一批里混着几种后缀,给个「一包东西」的图标;单一后缀的按类型给
|
|
141
|
+
const ICON = {
|
|
142
|
+
docx: '📄',
|
|
143
|
+
doc: '📄',
|
|
144
|
+
pdf: '📕',
|
|
145
|
+
pptx: '📊',
|
|
146
|
+
ppt: '📊',
|
|
147
|
+
xlsx: '📗',
|
|
148
|
+
xls: '📗',
|
|
149
|
+
txt: '📃',
|
|
150
|
+
md: '📝',
|
|
151
|
+
mixed: '📦'
|
|
152
|
+
}
|
|
153
|
+
// 单个文件的上限。再大的多半是扫描件或整本手册,拆页的结果没法看,
|
|
154
|
+
// 而且解析要占住一个请求线程好几分钟
|
|
155
|
+
const MAX_MB = 20
|
|
156
|
+
// 一批最多几个。不设上限的话,误选一整个文档目录就是几十个请求一起打过去,
|
|
157
|
+
// 而每个都要过一遍 MinIO
|
|
158
|
+
const MAX_FILES = 10
|
|
159
|
+
// 不能用持续 interval:上一次请求还没回来时下一次就可能再次发出,且状态刚结束时
|
|
160
|
+
// 还会多打一次。每次响应后确认仍有处理中记录,再安排下一次单次刷新。
|
|
161
|
+
const POLL_INTERVAL = 2000
|
|
162
|
+
|
|
163
|
+
export default {
|
|
164
|
+
name: 'epx-wiki-intake',
|
|
165
|
+
props: {
|
|
166
|
+
wikiId: { type: String, default: '' },
|
|
167
|
+
metaId: { type: String, default: 'FM_AI_WIKI' }
|
|
168
|
+
},
|
|
169
|
+
data () {
|
|
170
|
+
// 暂存位置跟列表一起回:它按源类型算,前端自己拼一遍迟早和后端算的不一样
|
|
171
|
+
return {
|
|
172
|
+
loading: false,
|
|
173
|
+
rows: [],
|
|
174
|
+
stash: '暂存区',
|
|
175
|
+
// 多选时 el-upload 会对每个文件各调一次 http-request,所以这里自己数着:
|
|
176
|
+
// 全部落地之后再提示一次、刷一次列表。每个文件弹一个 toast、刷一次表格的话,
|
|
177
|
+
// 传十个就是十次闪屏,而且中间几次刷新拿到的还是不全的列表
|
|
178
|
+
// 已选但还没提交的文件。一批要一起发,所以自己收着,不用 el-upload 的自动上传
|
|
179
|
+
picked: [],
|
|
180
|
+
uploading: false,
|
|
181
|
+
pollingTimer: null,
|
|
182
|
+
// 按入库记录保存“生成的页”展开状态。轮询会替换 rows,不能把状态挂在行对象上。
|
|
183
|
+
expandedPages: {},
|
|
184
|
+
modeLabels: {},
|
|
185
|
+
stateLabels: {},
|
|
186
|
+
STATE_TYPE,
|
|
187
|
+
ICON,
|
|
188
|
+
MAX_FILES
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
watch: {
|
|
192
|
+
wikiId: 'load'
|
|
193
|
+
},
|
|
194
|
+
created () {
|
|
195
|
+
this.load()
|
|
196
|
+
codeLabelsAll(this.$http, { mode: 'FM_AI_WIKI_INTAKE_MODE', state: 'FM_AI_WIKI_INTAKE_STATE' })
|
|
197
|
+
.then(m => {
|
|
198
|
+
this.modeLabels = m.mode
|
|
199
|
+
this.stateLabels = m.state
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
beforeUnmount () {
|
|
203
|
+
this.stopPolling()
|
|
204
|
+
},
|
|
205
|
+
computed: {
|
|
206
|
+
runningRows () {
|
|
207
|
+
return this.rows.filter(row => row.state === 'run')
|
|
208
|
+
},
|
|
209
|
+
hasRunningRows () {
|
|
210
|
+
return this.runningRows.length > 0
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
methods: {
|
|
214
|
+
load (silent) {
|
|
215
|
+
if (!this.wikiId) return
|
|
216
|
+
if (!silent) this.loading = true
|
|
217
|
+
this.$http.get({ action: 'intakes', entityId: this.metaId, wikiId: this.wikiId })
|
|
218
|
+
.then(d => {
|
|
219
|
+
this.rows = (d && d.intakes) || []
|
|
220
|
+
this.stash = (d && d.stash) || '暂存区'
|
|
221
|
+
this.syncPolling()
|
|
222
|
+
})
|
|
223
|
+
.catch(() => {
|
|
224
|
+
this.rows = []
|
|
225
|
+
this.stopPolling()
|
|
226
|
+
})
|
|
227
|
+
.finally(() => { if (!silent) this.loading = false })
|
|
228
|
+
},
|
|
229
|
+
|
|
230
|
+
syncPolling () {
|
|
231
|
+
if (!this.hasRunningRows) {
|
|
232
|
+
this.stopPolling()
|
|
233
|
+
return
|
|
234
|
+
}
|
|
235
|
+
// 同一时刻只保留一个待执行定时器。定时器触发后先清空句柄,等本次请求响应并
|
|
236
|
+
// 更新 rows,再由 syncPolling 判断是否仍需下一轮。
|
|
237
|
+
if (this.pollingTimer) return
|
|
238
|
+
this.pollingTimer = window.setTimeout(() => {
|
|
239
|
+
this.pollingTimer = null
|
|
240
|
+
this.load(true)
|
|
241
|
+
}, POLL_INTERVAL)
|
|
242
|
+
},
|
|
243
|
+
|
|
244
|
+
stopPolling () {
|
|
245
|
+
if (this.pollingTimer) window.clearTimeout(this.pollingTimer)
|
|
246
|
+
this.pollingTimer = null
|
|
247
|
+
},
|
|
248
|
+
|
|
249
|
+
pagesOf (row) {
|
|
250
|
+
return (row.pages || '').split(',').map(s => s.trim()).filter(Boolean)
|
|
251
|
+
},
|
|
252
|
+
|
|
253
|
+
togglePages (row) {
|
|
254
|
+
this.$set(this.expandedPages, row.id, !this.expandedPages[row.id])
|
|
255
|
+
},
|
|
256
|
+
|
|
257
|
+
/** 只有 AI 生成记录才能原位重跑;原文件清理后已经没有输入,入口必须隐藏。 */
|
|
258
|
+
canRegenerate (row) {
|
|
259
|
+
return row.intakeMode === 'wiki' && row.state === 'done' && row.purged !== '1'
|
|
260
|
+
},
|
|
261
|
+
|
|
262
|
+
size (bytes) {
|
|
263
|
+
const n = Number(bytes) || 0
|
|
264
|
+
if (n < 1024) return n + ' B'
|
|
265
|
+
if (n < 1024 * 1024) return (n / 1024).toFixed(1) + ' KB'
|
|
266
|
+
return (n / 1024 / 1024).toFixed(1) + ' MB'
|
|
267
|
+
},
|
|
268
|
+
|
|
269
|
+
onExceed () {
|
|
270
|
+
this.$message.warning('一次最多选 ' + MAX_FILES + ' 个文件,分批传')
|
|
271
|
+
},
|
|
272
|
+
|
|
273
|
+
/** 选择/移除都走这里:el-upload 的 fileList 是它自己维护的,这里只跟着同步一份。 */
|
|
274
|
+
onPick (file, fileList) {
|
|
275
|
+
this.picked = fileList
|
|
276
|
+
},
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 一次提交整批。
|
|
280
|
+
*
|
|
281
|
+
* <p>平台 http 层的 formData 模式对数组会把每一项用同一个字段名 append 进去,
|
|
282
|
+
* 所以 file 传数组就是一个请求里的多个 part,后端按 getMultiFileMap 全取出来、
|
|
283
|
+
* 落成<strong>一条</strong>入库记录。
|
|
284
|
+
*/
|
|
285
|
+
doUpload () {
|
|
286
|
+
const files = this.picked.map(f => f.raw || f).filter(Boolean)
|
|
287
|
+
if (!files.length) return
|
|
288
|
+
const over = files.find(f => f.size > MAX_MB * 1024 * 1024)
|
|
289
|
+
if (over) {
|
|
290
|
+
this.$message.error('「' + over.name + '」超过 ' + MAX_MB + 'MB。太大的文档拆出来的页也没法看,先自己拆一下')
|
|
291
|
+
return
|
|
292
|
+
}
|
|
293
|
+
this.uploading = true
|
|
294
|
+
this.$http.update(
|
|
295
|
+
{ action: 'uploadRaw', entityId: this.metaId, wikiId: this.wikiId, file: files },
|
|
296
|
+
{ requestType: 'formData' })
|
|
297
|
+
.then(d => {
|
|
298
|
+
this.$message.success((d && d.message) || '已上传')
|
|
299
|
+
this.picked = []
|
|
300
|
+
this.load()
|
|
301
|
+
})
|
|
302
|
+
.catch(e => this.$message.error((e && e.message) || '上传失败'))
|
|
303
|
+
.finally(() => { this.uploading = false })
|
|
304
|
+
},
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 处理方式由人当场选,没有默认。
|
|
308
|
+
*
|
|
309
|
+
* <p>同一份文件按什么方式切,取决于它本身的结构:markdown 有标题就按标题,
|
|
310
|
+
* Word/PDF 转出来的文本一个 # 都没有、只能靠 AI 判语义,而结构混乱的干脆整篇一页。
|
|
311
|
+
* 替人默认一种的话,选错的代价是整批页要删回去重来。
|
|
312
|
+
*/
|
|
313
|
+
run (row, mode) {
|
|
314
|
+
if (mode === 'wiki') return this.generate(row)
|
|
315
|
+
this.loading = true
|
|
316
|
+
if (mode === 'ai') this.$message.info('AI 拆页要调一次模型,稍等几秒')
|
|
317
|
+
return this.$http.update({
|
|
318
|
+
action: 'processIntake', entityId: this.metaId, intakeId: row.id, intakeMode: mode
|
|
319
|
+
}).then(d => {
|
|
320
|
+
this.$message.success((d && d.message) || '已生成草稿')
|
|
321
|
+
this.load()
|
|
322
|
+
this.$emit('changed')
|
|
323
|
+
}).catch(e => {
|
|
324
|
+
this.$message.error((e && e.message) || '处理失败')
|
|
325
|
+
this.load()
|
|
326
|
+
}).finally(() => { this.loading = false })
|
|
327
|
+
},
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* AI 生成目录与内容。
|
|
331
|
+
*
|
|
332
|
+
* 与「AI 按语义拆页」的区别:拆页只把这份文件切成几页;这条是让 Beaver 的生成器
|
|
333
|
+
* 规划一套目录树、逐页写内容、再逐页验收,完成后统一发布并更新索引。
|
|
334
|
+
* 同一条入库记录再次生成时,后端会原位更新上次登记的页面,不会复制出一套重名页。
|
|
335
|
+
*/
|
|
336
|
+
generate (row) {
|
|
337
|
+
const regenerating = this.canRegenerate(row)
|
|
338
|
+
this.$prompt((regenerating ? '会原位更新这条记录上次生成的页面,不会复制一套重名页。' : '') +
|
|
339
|
+
'会调模型逐页生成,每页一次,完成后自动发布并纳入索引。' +
|
|
340
|
+
'主题用于告诉模型「这是什么的文档」。',
|
|
341
|
+
regenerating ? '重新 AI 生成' : 'AI 生成目录与内容', {
|
|
342
|
+
confirmButtonText: regenerating ? '重新生成' : '开始生成',
|
|
343
|
+
cancelButtonText: '取消',
|
|
344
|
+
inputPlaceholder: '例如:实施交付手册(留空则用空间名)'
|
|
345
|
+
}).then(({ value }) => {
|
|
346
|
+
row.state = 'run'
|
|
347
|
+
row.note = '任务已开始,正在解析上传材料…'
|
|
348
|
+
this.syncPolling()
|
|
349
|
+
return this.$http.update({
|
|
350
|
+
action: 'generateWiki', entityId: this.metaId, intakeId: row.id, subject: (value || '').trim()
|
|
351
|
+
}).then(d => {
|
|
352
|
+
this.showGenerationResult(d)
|
|
353
|
+
this.load()
|
|
354
|
+
this.$emit('changed')
|
|
355
|
+
}).catch(e => {
|
|
356
|
+
this.$message.error((e && e.message) || '生成失败')
|
|
357
|
+
this.load()
|
|
358
|
+
}).finally(() => { this.load(true) })
|
|
359
|
+
}).catch(() => {})
|
|
360
|
+
},
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* HTTP 成功只代表请求跑完,不代表整套 Wiki 验收通过。
|
|
364
|
+
*
|
|
365
|
+
* passed=false 时后端仍会发布已经成功落成的页面,所以用警告而不是笼统报错,
|
|
366
|
+
* 并把未完成页与未解析输入分组列出来,方便只重试缺失部分。
|
|
367
|
+
*/
|
|
368
|
+
showGenerationResult (result) {
|
|
369
|
+
const data = result || {}
|
|
370
|
+
if (data.passed !== false) {
|
|
371
|
+
this.$message({ type: 'success', message: data.message || '生成完成', duration: 5000, showClose: true })
|
|
372
|
+
return
|
|
373
|
+
}
|
|
374
|
+
const inputFailed = Array.isArray(data.inputFailed) ? data.inputFailed : []
|
|
375
|
+
const inputMissing = new Set(inputFailed.map(item => '输入材料:' + item))
|
|
376
|
+
const missing = (Array.isArray(data.missing) ? data.missing : [])
|
|
377
|
+
.filter(item => !inputMissing.has(String(item)))
|
|
378
|
+
const h = this.$createElement
|
|
379
|
+
const sections = [h('p', data.message || '部分内容未生成,请检查后重试')]
|
|
380
|
+
if (missing.length) {
|
|
381
|
+
sections.push(h('strong', '未完成项'))
|
|
382
|
+
sections.push(h('ul', missing.map(item => h('li', String(item)))))
|
|
383
|
+
}
|
|
384
|
+
if (inputFailed.length) {
|
|
385
|
+
sections.push(h('strong', '未解析输入'))
|
|
386
|
+
sections.push(h('ul', inputFailed.map(item => h('li', String(item)))))
|
|
387
|
+
}
|
|
388
|
+
this.$msgbox({
|
|
389
|
+
title: 'AI 生成未完全通过',
|
|
390
|
+
message: h('div', sections),
|
|
391
|
+
type: 'warning',
|
|
392
|
+
confirmButtonText: '知道了'
|
|
393
|
+
}).catch(() => {})
|
|
394
|
+
},
|
|
395
|
+
|
|
396
|
+
purge (row) {
|
|
397
|
+
this.$confirm('删掉暂存区里的原始文件,这条入库记录保留。生成的页不受影响。', '清理原文件', {
|
|
398
|
+
type: 'warning', confirmButtonText: '清理', cancelButtonText: '取消'
|
|
399
|
+
}).then(() => {
|
|
400
|
+
return this.$http.update({ action: 'purgeIntake', entityId: this.metaId, intakeId: row.id })
|
|
401
|
+
.then(d => {
|
|
402
|
+
this.$message.success((d && d.message) || '已清理')
|
|
403
|
+
this.load()
|
|
404
|
+
})
|
|
405
|
+
.catch(e => this.$message.error((e && e.message) || '清理失败'))
|
|
406
|
+
}).catch(() => {})
|
|
407
|
+
},
|
|
408
|
+
|
|
409
|
+
drop (row) {
|
|
410
|
+
this.$confirm('记录删了就没法再追溯这几个页是从哪个文件生成的。确定删除?', '删除入库记录', {
|
|
411
|
+
type: 'warning', confirmButtonText: '删除', cancelButtonText: '取消', confirmButtonClass: 'el-button--danger'
|
|
412
|
+
}).then(() => {
|
|
413
|
+
return this.$http.update({ action: 'dropIntake', entityId: this.metaId, intakeId: row.id })
|
|
414
|
+
.then(d => {
|
|
415
|
+
this.$message.success((d && d.message) || '已删除')
|
|
416
|
+
this.load()
|
|
417
|
+
})
|
|
418
|
+
.catch(e => this.$message.error((e && e.message) || '删除失败'))
|
|
419
|
+
}).catch(() => {})
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
</script>
|
|
424
|
+
|
|
425
|
+
<style lang="scss">
|
|
426
|
+
@include b(wiki-intake) {
|
|
427
|
+
padding: 16px;
|
|
428
|
+
overflow-y: auto;
|
|
429
|
+
@include scroll-bar;
|
|
430
|
+
|
|
431
|
+
@include e(tip) {
|
|
432
|
+
margin-bottom: 16px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
@include e(progress) {
|
|
436
|
+
display: flex;
|
|
437
|
+
align-items: center;
|
|
438
|
+
gap: 10px;
|
|
439
|
+
margin-bottom: 12px;
|
|
440
|
+
padding: 10px 12px;
|
|
441
|
+
border: 1px solid rgba(var(--color-primary), .3);
|
|
442
|
+
border-radius: var(--border-radius);
|
|
443
|
+
background: rgba(var(--color-primary), .08);
|
|
444
|
+
font-size: $--font-size-extra-small;
|
|
445
|
+
line-height: 1.6;
|
|
446
|
+
color: var(--color-text-secondary);
|
|
447
|
+
|
|
448
|
+
i {
|
|
449
|
+
font-size: 20px;
|
|
450
|
+
color: rgb(var(--color-primary));
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
b {
|
|
454
|
+
color: var(--color-text-primary);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@include e(h) {
|
|
459
|
+
display: flex;
|
|
460
|
+
align-items: center;
|
|
461
|
+
gap: 8px;
|
|
462
|
+
margin-bottom: 12px;
|
|
463
|
+
font-size: $--font-size-base;
|
|
464
|
+
font-weight: 600;
|
|
465
|
+
color: var(--color-text-title);
|
|
466
|
+
|
|
467
|
+
.sub {
|
|
468
|
+
font-size: $--font-size-extra-small;
|
|
469
|
+
font-weight: 400;
|
|
470
|
+
color: var(--color-text-assistant);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.r {
|
|
474
|
+
margin-left: auto;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@include e(nm) {
|
|
479
|
+
color: var(--color-text-title);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
@include e(sub) {
|
|
483
|
+
font-size: $--font-size-extra-small;
|
|
484
|
+
color: var(--color-text-assistant);
|
|
485
|
+
line-height: 1.5;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
@include e(pages-toggle) {
|
|
489
|
+
i {
|
|
490
|
+
margin-left: 3px;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
@include e(pages-list) {
|
|
495
|
+
max-height: 180px;
|
|
496
|
+
overflow-y: auto;
|
|
497
|
+
padding-left: 8px;
|
|
498
|
+
@include scroll-bar;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
@include e(del) {
|
|
502
|
+
color: $--color-danger;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
</style>
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="epx-wiki-jobs" v-loading="loading">
|
|
3
|
+
<div class="epx-wiki-jobs__h">
|
|
4
|
+
任务记录
|
|
5
|
+
<span class="sub">同步 / 索引 / 体检 / 发布 / AI 生成</span>
|
|
6
|
+
<el-button type="text" class="r" @click="load">刷新</el-button>
|
|
7
|
+
</div>
|
|
8
|
+
<el-table :data="rows" size="small" :empty-text="emptyText">
|
|
9
|
+
<el-table-column label="时间" width="160">
|
|
10
|
+
<template v-slot="s">{{ s.row.startTime || '—' }}</template>
|
|
11
|
+
</el-table-column>
|
|
12
|
+
<el-table-column label="类型" width="80">
|
|
13
|
+
<template v-slot="s">{{ typeLabels[s.row.jobType] || s.row.jobType }}</template>
|
|
14
|
+
</el-table-column>
|
|
15
|
+
<el-table-column label="结果" min-width="200" show-overflow-tooltip>
|
|
16
|
+
<template v-slot="s">{{ s.row.result || s.row.errorMessage || '—' }}</template>
|
|
17
|
+
</el-table-column>
|
|
18
|
+
<el-table-column label="耗时" width="90" align="right">
|
|
19
|
+
<template v-slot="s">{{ cost(s.row) }}</template>
|
|
20
|
+
</el-table-column>
|
|
21
|
+
<el-table-column label="状态" width="90">
|
|
22
|
+
<template v-slot="s">
|
|
23
|
+
<el-tag :type="STATE_TYPE[s.row.state] || 'info'" size="small">
|
|
24
|
+
{{ stateLabels[s.row.state] || s.row.state }}
|
|
25
|
+
</el-tag>
|
|
26
|
+
</template>
|
|
27
|
+
</el-table-column>
|
|
28
|
+
</el-table>
|
|
29
|
+
<el-pagination
|
|
30
|
+
class="epx-wiki-jobs__pager"
|
|
31
|
+
layout="total, sizes, prev, pager, next"
|
|
32
|
+
:current-page="page"
|
|
33
|
+
:page-size="pageSize"
|
|
34
|
+
:page-sizes="PAGE_SIZES"
|
|
35
|
+
:total="total"
|
|
36
|
+
@current-change="changePage"
|
|
37
|
+
@size-change="changePageSize"
|
|
38
|
+
></el-pagination>
|
|
39
|
+
</div>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script>
|
|
43
|
+
import { codeLabelsAll } from './codes'
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 工作台「任务」页签:这个空间跑过的同步 / 索引 / 体检 / 发布 / AI 生成。
|
|
47
|
+
*
|
|
48
|
+
* 独立成组件而不是塞进工作台:它只做「取一张表、画一张表」,
|
|
49
|
+
* 和正文编辑、目录管理没有任何共享状态。
|
|
50
|
+
*/
|
|
51
|
+
// 类型与状态的中文名读代码表(FM_AI_WIKI_JOB_TYPE / _STATE),不在这里抄第二份。
|
|
52
|
+
// 颜色不在代码表里,那是展示口径,留在组件里
|
|
53
|
+
const STATE_TYPE = { success: 'success', failed: 'danger', running: 'primary', pending: 'info' }
|
|
54
|
+
const PAGE_SIZES = [10, 20, 50]
|
|
55
|
+
|
|
56
|
+
export default {
|
|
57
|
+
name: 'epx-wiki-jobs',
|
|
58
|
+
props: {
|
|
59
|
+
wikiId: { type: String, default: '' },
|
|
60
|
+
metaId: { type: String, default: 'FM_AI_WIKI' }
|
|
61
|
+
},
|
|
62
|
+
data () {
|
|
63
|
+
return {
|
|
64
|
+
loading: false,
|
|
65
|
+
rows: [],
|
|
66
|
+
page: 1,
|
|
67
|
+
pageSize: 10,
|
|
68
|
+
total: 0,
|
|
69
|
+
typeLabels: {},
|
|
70
|
+
stateLabels: {},
|
|
71
|
+
STATE_TYPE,
|
|
72
|
+
PAGE_SIZES
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
computed: {
|
|
76
|
+
emptyText () {
|
|
77
|
+
return this.wikiId ? '还没有跑过任务。点「同步远端」「AI 生成」或「体检」试试' : '先选一个空间'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
watch: {
|
|
81
|
+
wikiId: 'resetAndLoad'
|
|
82
|
+
},
|
|
83
|
+
created () {
|
|
84
|
+
this.load()
|
|
85
|
+
codeLabelsAll(this.$http, { type: 'FM_AI_WIKI_JOB_TYPE', state: 'FM_AI_WIKI_JOB_STATE' })
|
|
86
|
+
.then(m => {
|
|
87
|
+
this.typeLabels = m.type
|
|
88
|
+
this.stateLabels = m.state
|
|
89
|
+
})
|
|
90
|
+
},
|
|
91
|
+
methods: {
|
|
92
|
+
load () {
|
|
93
|
+
if (!this.wikiId) return
|
|
94
|
+
this.loading = true
|
|
95
|
+
this.$http.get({
|
|
96
|
+
action: 'jobLog',
|
|
97
|
+
entityId: this.metaId,
|
|
98
|
+
wikiId: this.wikiId,
|
|
99
|
+
page: this.page,
|
|
100
|
+
pageSize: this.pageSize
|
|
101
|
+
})
|
|
102
|
+
.then(d => {
|
|
103
|
+
this.rows = (d && d.jobs) || []
|
|
104
|
+
this.total = Number(d && d.total) || 0
|
|
105
|
+
})
|
|
106
|
+
.catch(() => {
|
|
107
|
+
this.rows = []
|
|
108
|
+
this.total = 0
|
|
109
|
+
})
|
|
110
|
+
.finally(() => { this.loading = false })
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
resetAndLoad () {
|
|
114
|
+
this.page = 1
|
|
115
|
+
this.load()
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
changePage (page) {
|
|
119
|
+
this.page = page
|
|
120
|
+
this.load()
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
changePageSize (size) {
|
|
124
|
+
this.pageSize = size
|
|
125
|
+
this.page = 1
|
|
126
|
+
this.load()
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 耗时按起止时间算。
|
|
131
|
+
*
|
|
132
|
+
* 后端不存耗时字段:存了就要在每条链路上记得写,漏一处就是一列空白;
|
|
133
|
+
* 起止时间本来就得记,减一下即可。
|
|
134
|
+
*/
|
|
135
|
+
cost (row) {
|
|
136
|
+
const a = Date.parse((row.startTime || '').replace(/-/g, '/'))
|
|
137
|
+
const b = Date.parse((row.endTime || '').replace(/-/g, '/'))
|
|
138
|
+
if (!a || !b || b < a) return '—'
|
|
139
|
+
const ms = b - a
|
|
140
|
+
return ms < 1000 ? ms + 'ms' : (ms / 1000).toFixed(1) + 's'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
</script>
|
|
145
|
+
|
|
146
|
+
<style lang="scss">
|
|
147
|
+
@include b(wiki-jobs) {
|
|
148
|
+
padding: 16px;
|
|
149
|
+
|
|
150
|
+
@include e(h) {
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
gap: 8px;
|
|
154
|
+
margin-bottom: 12px;
|
|
155
|
+
font-size: $--font-size-base;
|
|
156
|
+
font-weight: 600;
|
|
157
|
+
color: var(--color-text-title);
|
|
158
|
+
|
|
159
|
+
.sub {
|
|
160
|
+
font-size: $--font-size-extra-small;
|
|
161
|
+
font-weight: 400;
|
|
162
|
+
color: var(--color-text-assistant);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.r {
|
|
166
|
+
margin-left: auto;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@include e(pager) {
|
|
171
|
+
margin-top: 12px;
|
|
172
|
+
text-align: right;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
</style>
|