feat: 部署到服务器+移动端适配+帮助系统RAG集成+网页图标
- 部署脚本 deploy.sh:一键部署到 154.8.162.18,端口3400,Nginx conf.d - 应用名改为「企业用工专家」(登录/注册/侧边栏/员工端等6处) - 移动端适配修复:Attendance/Dashboard/Settings/Contracts 6处grid响应式 - 帮助系统:HelpModal 组件 + TopNav 帮助图标 + RAG语义搜索集成 - 后端 rag.service.ts 新增23条帮助种子数据 + searchHelp() - 前端搜索调用 /ai/rag/help-search,RAG不可用时回退关键词匹配 - 网页图标 favicon.svg(indigo主色+建筑人形图案) - index.html 标题改为「企业用工专家」
This commit is contained in:
@@ -174,7 +174,7 @@ function RetirementSection({ enabled, onToggle }: { enabled: boolean; onToggle:
|
||||
const renderPolicyRules = () => (
|
||||
<div className="space-y-2">
|
||||
<div className="text-xs font-medium text-gray-600">改革规则(基准退休年龄 → 目标退休年龄)</div>
|
||||
<div className="grid grid-cols-3 gap-2">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-3 gap-2">
|
||||
<div className="bg-white rounded-md p-2 text-center border border-gray-200">
|
||||
<div className="text-xs text-gray-500">男性职工</div>
|
||||
<div className="text-sm font-semibold text-gray-700">60岁 → 63岁</div>
|
||||
@@ -562,7 +562,7 @@ function PlanSettings({ orgData }: { orgData: any }) {
|
||||
{usageData && (
|
||||
<Card>
|
||||
<h3 className="text-xs font-medium text-gray-700 mb-3">当前用量</h3>
|
||||
<div className="grid grid-cols-3 gap-4 text-xs">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-3 gap-4 text-xs">
|
||||
<div>
|
||||
<div className="text-gray-500">员工数</div>
|
||||
<div className="font-medium text-base">{usageData.employeeCount}<span className="text-gray-500 text-xs">/{usageData.maxEmployees}</span></div>
|
||||
|
||||
Reference in New Issue
Block a user