```
feat(split): 优化手工分账服务日志记录和历史展示功能 - 添加CommissionReward和RegionalReward模型引用,用于获取原有分账数据 - 实现snapshotPlannedAutoItems方法,首次改人时保存原系统计划快照 - 新增itemsEqual方法,比较分账项目是否发生变化,避免重复记录日志 - 重构历史记录展示界面,添加change_summary摘要显示变更内容 - 优化前端格式化显示,统一账户显示格式为"未进件"或实际账户 - 修复重试操作时的日志记录问题,改进备注显示逻辑 ```
这个提交包含在:
@@ -244,7 +244,17 @@
|
||||
}
|
||||
.history-drawer .history-time { font-size: 12px; color: #909399; }
|
||||
.history-drawer .history-meta { font-size: 12px; color: #606266; margin-bottom: 6px; }
|
||||
.history-drawer .items-diff { font-size: 12px; line-height: 1.65; color: #606266; }
|
||||
.history-drawer .change-summary {
|
||||
font-size: 13px;
|
||||
line-height: 1.7;
|
||||
color: #303133;
|
||||
padding: 8px 10px;
|
||||
background: #f5f7fa;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.history-drawer .change-summary .arrow-hl { color: #7438D5; font-weight: 600; margin: 0 4px; }
|
||||
.history-drawer .items-diff { font-size: 12px; line-height: 1.65; color: #909399; margin-top: 4px; }
|
||||
.history-drawer .items-diff .arrow { color: #909399; margin: 0 4px; }
|
||||
.history-drawer .retry-result { margin-top: 6px; font-size: 12px; }
|
||||
.history-drawer .retry-result.success { color: #67c23a; }
|
||||
@@ -469,17 +479,14 @@
|
||||
<span class="history-time">{{ h.createtime_text }}</span>
|
||||
</div>
|
||||
<div class="history-meta" v-if="h.admin_name">操作人:{{ h.admin_name }}</div>
|
||||
<div class="history-meta" v-if="h.remark">备注:{{ h.remark }}</div>
|
||||
<div class="items-diff">
|
||||
<div v-if="h.before_items && h.before_items.length">
|
||||
<div v-for="(it, i) in h.before_items" :key="'b'+i">{{ formatManualItemLine(it) }}</div>
|
||||
</div>
|
||||
<span v-else style="color:#c0c4cc;">(空)</span>
|
||||
<span class="arrow">→</span>
|
||||
<div v-if="h.after_items && h.after_items.length">
|
||||
<div v-for="(it, i) in h.after_items" :key="'a'+i">{{ formatManualItemLine(it) }}</div>
|
||||
</div>
|
||||
<span v-else style="color:#c0c4cc;">(空)</span>
|
||||
<div class="history-meta" v-if="h.remark && h.action !== 'retry'">备注:{{ h.remark }}</div>
|
||||
<div class="change-summary" v-if="h.change_summary">{{ h.change_summary }}</div>
|
||||
<div class="items-diff" v-if="h.action === 'create' || h.action === 'update' || h.action === 'clear'">
|
||||
<span v-if="h.before_summary">{{ h.before_summary }}</span>
|
||||
<span v-else style="color:#c0c4cc;">(变更前无有效接收方)</span>
|
||||
<span class="arrow-hl">→</span>
|
||||
<span v-if="h.after_summary">{{ h.after_summary }}</span>
|
||||
<span v-else style="color:#c0c4cc;">(已清除)</span>
|
||||
</div>
|
||||
<div v-if="h.retry_result" :class="'retry-result ' + h.retry_result">
|
||||
重试结果:{{ h.retry_result_text }}
|
||||
|
||||
在新工单中引用
屏蔽一个用户