Commit ddda1ac7980387bc585ab9246977d4dccc3d7bd7
1 parent
273cc67f
feat(graph-console): 页头加「任务看板」跳转按钮
与 TaskBoard 页头的「执行控制台」链接对称,方便两页互跳。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XFEiaAAG79HrW2Avqrq2Xs
Showing
1 changed file
with
3 additions
and
0 deletions
web/src/views/GraphConsole.vue
| ... | ... | @@ -24,6 +24,7 @@ |
| 24 | 24 | <div class="budget" v-else> |
| 25 | 25 | <span class="chip muted">无 root run 预算</span> |
| 26 | 26 | </div> |
| 27 | + <router-link :to="`/${companyId}/task-board`" class="to-board">📋 任务看板</router-link> | |
| 27 | 28 | <TaskFilesPanel |
| 28 | 29 | v-if="selectedTaskId" |
| 29 | 30 | :files="taskFiles" |
| ... | ... | @@ -627,6 +628,8 @@ function fmt(n) { return n == null ? '∞' : Number(n).toLocaleString(); } |
| 627 | 628 | .halt { font-style:normal; font-size:10px; background:#f0d0a8; color:#7a3d00; border-radius:7px; padding:0 5px; cursor:help; } |
| 628 | 629 | .bar { display:block; width:56px; height:4px; background:#e4e4e8; border-radius:2px; overflow:hidden; } |
| 629 | 630 | .bar em { display:block; height:100%; background:#2b6cb0; } |
| 631 | +.to-board { text-decoration:none; color:#2b6cb0; font-size:12px; font-weight:600; white-space:nowrap; } | |
| 632 | +.to-board:hover { text-decoration:underline; } | |
| 630 | 633 | |
| 631 | 634 | .crumbs { display:flex; align-items:center; gap:6px; padding:7px 18px; border-bottom:1px solid #f2f2f4; flex:0 0 auto; } |
| 632 | 635 | .crumb { border:none; background:none; cursor:pointer; font-size:12px; color:#2b6cb0; padding:2px 4px; } | ... | ... |