feat(web): update travel request and reimbursement views
This commit is contained in:
@@ -3,6 +3,40 @@
|
||||
<Transition name="assistant-modal">
|
||||
<div class="assistant-overlay">
|
||||
<section class="assistant-modal">
|
||||
<div class="assistant-header-actions">
|
||||
<button
|
||||
type="button"
|
||||
class="assistant-toggle-btn"
|
||||
:class="{ disabled: !hasInsightPanelContent }"
|
||||
:disabled="!hasInsightPanelContent || sessionSwitchBusy"
|
||||
:title="insightPanelToggleLabel"
|
||||
:aria-label="insightPanelToggleLabel"
|
||||
@click="toggleInsightPanel"
|
||||
>
|
||||
<i :class="showInsightPanel ? 'mdi mdi-arrow-collapse-right' : 'mdi mdi-arrow-expand-right'"></i>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="session-trash-btn"
|
||||
:disabled="!canDeleteCurrentSession || submitting || reviewActionBusy || deleteSessionBusy || sessionSwitchBusy"
|
||||
title="删除当前会话"
|
||||
aria-label="删除当前会话"
|
||||
@click="openDeleteSessionDialog"
|
||||
>
|
||||
<i class="mdi mdi-delete-outline"></i>
|
||||
</button>
|
||||
<button
|
||||
class="assistant-close-btn"
|
||||
type="button"
|
||||
title="关闭工作台"
|
||||
aria-label="关闭对话工作台"
|
||||
@pointerdown.stop.prevent="requestCloseWorkbench"
|
||||
@click.stop.prevent="requestCloseWorkbench"
|
||||
>
|
||||
<i class="mdi mdi-close"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="assistant-modal-stage">
|
||||
<header class="assistant-header">
|
||||
<div class="assistant-header-main">
|
||||
@@ -11,39 +45,6 @@
|
||||
<p>个人工作台、发起报销、智能录入统一走这里,右侧会根据你的意图实时切换状态视图。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="assistant-header-actions">
|
||||
<button
|
||||
type="button"
|
||||
class="assistant-toggle-btn"
|
||||
:class="{ disabled: !hasInsightPanelContent }"
|
||||
:disabled="!hasInsightPanelContent || sessionSwitchBusy"
|
||||
:title="insightPanelToggleLabel"
|
||||
:aria-label="insightPanelToggleLabel"
|
||||
@click="toggleInsightPanel"
|
||||
>
|
||||
<i :class="showInsightPanel ? 'mdi mdi-arrow-collapse-right' : 'mdi mdi-arrow-expand-right'"></i>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="session-trash-btn"
|
||||
:disabled="!canDeleteCurrentSession || submitting || reviewActionBusy || deleteSessionBusy || sessionSwitchBusy"
|
||||
title="删除当前会话"
|
||||
aria-label="删除当前会话"
|
||||
@click="openDeleteSessionDialog"
|
||||
>
|
||||
<i class="mdi mdi-delete-outline"></i>
|
||||
</button>
|
||||
<button
|
||||
class="close-btn"
|
||||
type="button"
|
||||
title="关闭工作台"
|
||||
aria-label="关闭对话工作台"
|
||||
@click="requestCloseWorkbench"
|
||||
>
|
||||
<i class="mdi mdi-close"></i>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="assistant-layout" :class="{ 'can-show-insight': hasInsightPanelContent, 'has-insight': showInsightPanel }">
|
||||
@@ -882,22 +883,6 @@
|
||||
@confirm="confirmDeleteCurrentSession"
|
||||
/>
|
||||
|
||||
<ConfirmDialog
|
||||
:open="leaveKnowledgeDialogOpen"
|
||||
badge="离开问答"
|
||||
badge-tone="warning"
|
||||
title="离开页面会清除当前知识问答会话"
|
||||
description="确认离开后,当前财务知识问答 session 会被清除且不再保留。刷新页面不算退出。"
|
||||
cancel-text="继续停留"
|
||||
confirm-text="确认离开"
|
||||
busy-text="清理中..."
|
||||
confirm-tone="danger"
|
||||
confirm-icon="mdi mdi-exit-to-app"
|
||||
:busy="leaveKnowledgeBusy"
|
||||
@close="closeLeaveKnowledgeDialog"
|
||||
@confirm="confirmLeaveKnowledgeSession"
|
||||
/>
|
||||
|
||||
<ConfirmDialog
|
||||
:open="reviewCancelDialogOpen"
|
||||
badge="取消核对"
|
||||
|
||||
Reference in New Issue
Block a user