refactor(emergency-app): 按角色重构目录结构

将模块优先改为角色优先的目录布局:
- expert/ assistant/ operator/ worker/ onsite/ admin/ 各含 workbench/knowledge/profile
- ai-assistant/ 和 message/ 保持全角色共享
- 更新所有文件间的相对路径引用

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
DESKTOP-BLB5287\FP
2026-04-09 10:11:22 +08:00
co-authored by Claude Opus 4.6
parent 95b0346983
commit e8485bd362
38 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -92,12 +92,12 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<!-- 底部Tab栏 -->
<div class="tab-bar">
<a class="tab-item" href="../workbench/expert/index.html">
<a class="tab-item" href="../expert/workbench/index.html">
<span class="tab-icon">🏥</span>
<span class="tab-label">工作台</span>
<span class="tab-badge">3</span>
</a>
<a class="tab-item" href="../knowledge/index.html">
<a class="tab-item" href="../expert/knowledge/index.html">
<span class="tab-icon">📚</span>
<span class="tab-label">知识库</span>
</a>
@@ -110,7 +110,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<span class="tab-label">消息</span>
<span class="tab-badge">2</span>
</a>
<a class="tab-item" href="../profile/index.html">
<a class="tab-item" href="../expert/profile/index.html">
<span class="tab-icon">👤</span>
<span class="tab-label">我的</span>
</a>
@@ -184,10 +184,10 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<!-- 底部5Tab导航栏 -->
<div class="tab-bar">
<div class="tab-item active" onclick="location.href='./index.html'"><span class="tab-icon">🏥</span><span class="tab-label">工作台</span><span class="tab-badge">3</span></div>
<div class="tab-item" onclick="location.href='../../knowledge/index.html'"><span class="tab-icon">📚</span><span class="tab-label">知识库</span></div>
<div class="tab-item" onclick="location.href='../knowledge/index.html'"><span class="tab-icon">📚</span><span class="tab-label">知识库</span></div>
<div class="tab-item" onclick="location.href='../../ai-assistant/index.html'"><span class="tab-icon">🤖</span><span class="tab-label">AI助手</span></div>
<div class="tab-item" onclick="location.href='../../message/index.html'"><span class="tab-icon">💬</span><span class="tab-label">消息</span></div>
<div class="tab-item" onclick="location.href='../../profile/index.html'"><span class="tab-icon">👤</span><span class="tab-label">我的</span></div>
<div class="tab-item" onclick="location.href='../profile/index.html'"><span class="tab-icon">👤</span><span class="tab-label">我的</span></div>
</div>
</div>
@@ -149,7 +149,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<!-- 底部Tab栏 -->
<div class="tab-bar">
<a class="tab-item" href="../workbench/expert/index.html">
<a class="tab-item" href="../workbench/index.html">
<span class="tab-icon">🏥</span>
<span class="tab-label">工作台</span>
<span class="tab-badge">3</span>
@@ -158,11 +158,11 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<span class="tab-icon">📚</span>
<span class="tab-label">知识库</span>
</a>
<a class="tab-item" href="../ai-assistant/index.html">
<a class="tab-item" href="../../ai-assistant/index.html">
<span class="tab-icon">🤖</span>
<span class="tab-label">AI助手</span>
</a>
<a class="tab-item" href="../message/index.html">
<a class="tab-item" href="../../message/index.html">
<span class="tab-icon">💬</span>
<span class="tab-label">消息</span>
<span class="tab-badge">2</span>
@@ -114,8 +114,8 @@
<!-- 底部Tab栏,我的为active状态 -->
<div class="tab-bar">
<!-- [交互] 点击跳转至: ../workbench/expert/index.html -->
<div class="tab-item" onclick="location.href='../workbench/expert/index.html'">
<!-- [交互] 点击跳转至: ../workbench/index.html -->
<div class="tab-item" onclick="location.href='../workbench/index.html'">
<span class="tab-icon">🏥</span>
<span class="tab-label">工作台</span>
<span class="tab-badge">3</span>
@@ -125,13 +125,13 @@
<span class="tab-icon">📚</span>
<span class="tab-label">知识库</span>
</div>
<!-- [交互] 点击跳转至: ../ai-assistant/index.html -->
<div class="tab-item" onclick="location.href='../ai-assistant/index.html'">
<!-- [交互] 点击跳转至: ../../ai-assistant/index.html -->
<div class="tab-item" onclick="location.href='../../ai-assistant/index.html'">
<span class="tab-icon">🤖</span>
<span class="tab-label">AI助手</span>
</div>
<!-- [交互] 点击跳转至: ../message/index.html -->
<div class="tab-item" onclick="location.href='../message/index.html'">
<!-- [交互] 点击跳转至: ../../message/index.html -->
<div class="tab-item" onclick="location.href='../../message/index.html'">
<span class="tab-icon">💬</span>
<span class="tab-label">消息</span>
<span class="tab-badge">2</span>
@@ -174,10 +174,10 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
<!-- 底部5Tab导航栏 -->
<div class="tab-bar">
<div class="tab-item active" onclick="location.href='./index.html'"><span class="tab-icon">🏥</span><span class="tab-label">工作台</span><span class="tab-badge">3</span></div>
<div class="tab-item" onclick="location.href='../../knowledge/index.html'"><span class="tab-icon">📚</span><span class="tab-label">知识库</span></div>
<div class="tab-item" onclick="location.href='../knowledge/index.html'"><span class="tab-icon">📚</span><span class="tab-label">知识库</span></div>
<div class="tab-item" onclick="location.href='../../ai-assistant/index.html'"><span class="tab-icon">🤖</span><span class="tab-label">AI助手</span></div>
<div class="tab-item" onclick="location.href='../../message/index.html'"><span class="tab-icon">💬</span><span class="tab-label">消息</span><span class="tab-badge">2</span></div>
<div class="tab-item" onclick="location.href='../../profile/index.html'"><span class="tab-icon">👤</span><span class="tab-label">我的</span></div>
<div class="tab-item" onclick="location.href='../profile/index.html'"><span class="tab-icon">👤</span><span class="tab-label">我的</span></div>
</div>
</div>
+3 -3
View File
@@ -223,12 +223,12 @@
<!-- 底部Tab导航栏 -->
<div class="tab-bar">
<!-- 工作台 -->
<a href="../workbench/expert/index.html" class="tab-item">
<a href="../expert/workbench/index.html" class="tab-item">
<span class="tab-icon">🏥</span>
<span class="tab-label">工作台</span>
</a>
<!-- 知识库 -->
<a href="../knowledge/index.html" class="tab-item">
<a href="../expert/knowledge/index.html" class="tab-item">
<span class="tab-icon">📚</span>
<span class="tab-label">知识库</span>
</a>
@@ -244,7 +244,7 @@
<span class="tab-badge">2</span>
</a>
<!-- 我的 -->
<a href="../profile/index.html" class="tab-item">
<a href="../expert/profile/index.html" class="tab-item">
<span class="tab-icon">👤</span>
<span class="tab-label">我的</span>
</a>