From b96ce9fba61fa9db2953abf52c82215cb613915a Mon Sep 17 00:00:00 2001 From: baobao Date: Thu, 29 Oct 2026 16:35:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8E=86=E5=8F=B2=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E8=AF=AF=E6=8A=A5=E5=BD=93=E6=97=A5=E9=A3=8E=E6=8E=A7?= =?UTF-8?q?=E5=8F=8A=E5=A4=B1=E8=B4=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/web/static/index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/web/static/index.html b/app/web/static/index.html index e613c41..c2bb161 100644 --- a/app/web/static/index.html +++ b/app/web/static/index.html @@ -1247,8 +1247,8 @@ body.dock-r:not(.r-fold) .side-r .strip{display:none;}
记录操作结果及未执行原因。
还没有操作记录。
- {{ (o.at||'').slice(11,16) }} - {{ o.result==='OK'?'已执行':(o.result==='BLOCKED'?'被挡下':o.result) }} + {{ (o.at||'').slice(0,16) }} + {{ o.result==='OK'?'已完成':(o.result==='BLOCKED'?'未完成':o.result) }} {{ opCn(o) }} · {{ nm(o.ts_code) }} — {{ o.reason }}
@@ -3139,6 +3139,8 @@ createApp({ archive_instruction: '从列表移除这笔下单', unarchive_instruction: '重新显示这笔下单', archive_proposal: '从列表移除这条提议', unarchive_proposal: '重新显示这条提议', archive_strategy: '从列表移除这个交易方案', unarchive_strategy: '重新显示这个交易方案', + check_qmt_connection: '检查QMT连接', retest_qmt_connection: '复查QMT连接', + qmt_postfix_reconcile: 'QMT修复后对账', }; const opCn = (o) => { const raw = String((o && o.op) || '').trim(); @@ -4981,8 +4983,11 @@ createApp({ } for (const o of (opLog.value || [])) { if (o.result === 'OK') continue; // 顺利做完的不占消息栏, 在「操作日志」里查 + // 操作日志保留历史;当前提醒只收服务端北京时间的当日失败记录。 + // BLOCKED也用于连接检查或资料不可用,不等于交易合规拒绝。 + if (!todayDateStr.value || String(o.at || '').slice(0, 10) !== todayDateStr.value) continue; out.push({ kind:'strat', time:_hm(o.at), sort:_hms(o.at), ts_code:o.ts_code || '', - cat:opCn(o) + ' ' + (o.result === 'BLOCKED' ? '被合规检查挡下' : ('结果 ' + o.result)), + cat:opCn(o) + ' ' + (o.result === 'BLOCKED' ? '未完成' : ('结果 ' + o.result)), strong:true, why:o.reason || '', goLabel:'看记录', go:'ins' }); } out.sort((a, b) => String(b.sort).localeCompare(String(a.sort)));