新增module
This commit is contained in:
@@ -20,6 +20,7 @@ const WelltrustQapApp = lazy(() => import('@/modules/welltrust-qap/App'));
|
||||
const BaodeWebApp = lazy(() => import('@/modules/baode-web/App'));
|
||||
const SupplierPlatformApp = lazy(() => import('@/modules/supplier-platform/App'));
|
||||
const WucQuotationApp = lazy(() => import('@/modules/wuc-quotation/App'));
|
||||
const EasySalesSkillApp = lazy(() => import('@/modules/easy-sales-skill/App'));
|
||||
|
||||
function ModuleLoading() {
|
||||
const spinnerStyle: React.CSSProperties = {
|
||||
@@ -71,6 +72,7 @@ export default function App() {
|
||||
<Route path="/baode-web" element={<RequireAuth><ModuleTitle title="需求评审多智能体"><BaodeWebApp /></ModuleTitle></RequireAuth>} />
|
||||
<Route path="/supplier-platform" element={<RequireAuth><ModuleTitle title="供应商智能管控平台"><SupplierPlatformApp /></ModuleTitle></RequireAuth>} />
|
||||
<Route path="/wuc-quotation" element={<RequireAuth><ModuleTitle title="武船AI智能报价平台"><WucQuotationApp /></ModuleTitle></RequireAuth>} />
|
||||
<Route path="/easy-sales-skill" element={<RequireAuth><ModuleTitle title="EasySales 易销智能体 · 四大 Skill 使用说明"><EasySalesSkillApp /></ModuleTitle></RequireAuth>} />
|
||||
</Routes>
|
||||
</Suspense>
|
||||
);
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
export default function EasySalesSkillApp() {
|
||||
return (
|
||||
<div style={{ position: 'fixed', inset: 0, background: '#f4f3ef' }}>
|
||||
<iframe
|
||||
src="/mod-assets/easy-sales-skill/index.html"
|
||||
title="EasySales 易销智能体 · 四大 Skill 使用说明"
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
border: 'none',
|
||||
display: 'block',
|
||||
background: '#f4f3ef',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user