feat(web): 差旅申请详情进度 viewer 与审批/加载态组件增强
- 新增 requestProgressViewer,申请单在直属领导审批视角下将当前步骤展示为'等待批复',travel-request-detail/app-shell/useRequests 接入 - TravelRequestApprovalDialog 增强审批交互,TableLoadingState 补充表格加载占位,ConfirmDialog 扩展确认对话框能力 - useAppShell/useRequests/AppShellRouteView 配套适配申请详情跳转与会话状态 - 同步更新 requestProgressSteps、travel-request-detail-leader-approval、assistant-session-draft-delete、documents-center-status-filter、app-shell-financial-assistant-entry、request-progress-viewer 等测试
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
:open="open"
|
||||
:badge="badge"
|
||||
badge-tone="info"
|
||||
size="approval"
|
||||
actions-align="end"
|
||||
:title="title"
|
||||
:description="description"
|
||||
cancel-text="返回核对"
|
||||
@@ -105,8 +107,8 @@ function handleRiskConfirmedChange(event) {
|
||||
<style scoped>
|
||||
.approval-risk-confirm-panel {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid #fed7aa;
|
||||
border-radius: 4px;
|
||||
background: #fff7ed;
|
||||
@@ -147,7 +149,7 @@ function handleRiskConfirmedChange(event) {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 9px;
|
||||
align-items: flex-start;
|
||||
padding: 8px;
|
||||
padding: 7px 8px;
|
||||
border: 1px solid rgba(251, 146, 60, 0.28);
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
@@ -207,8 +209,8 @@ function handleRiskConfirmedChange(event) {
|
||||
|
||||
.approval-opinion-field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin-top: 14px;
|
||||
gap: 6px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.approval-opinion-field > span {
|
||||
@@ -232,15 +234,15 @@ function handleRiskConfirmedChange(event) {
|
||||
|
||||
.approval-opinion-field textarea {
|
||||
width: 100%;
|
||||
min-height: 96px;
|
||||
min-height: 74px;
|
||||
resize: vertical;
|
||||
padding: 12px;
|
||||
padding: 10px 11px;
|
||||
border: 1px solid #d7e0ea;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #0f172a;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
line-height: 1.55;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -256,7 +258,7 @@ function handleRiskConfirmedChange(event) {
|
||||
gap: 12px;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.approval-opinion-field small span {
|
||||
|
||||
Reference in New Issue
Block a user