Commit 9b00df6e authored by 单鹏辉's avatar 单鹏辉

init: lianchuangjie 问题清单 v2

parents
---
id: ISS-lianchuangjie-OPS-001
project: lianchuangjie项目
title: 销售审批
raised_dept: 业务部
raised_by: 单鹏辉
initiator: 单鹏辉
owner: 单鹏辉
confirmer: 单鹏辉
owner_history: []
system: SAP
registered: 2026-07-15
category: 未分类
priority:
sap_status: 未开始
acceptance: NA
plan_date: ""
developer: ""
attachments: []
source: 新建
linked: []
---
# ISS-lianchuangjie-OPS-001 销售审批
## 问题描述
怎么做sd订单审批
## 当前方案
## 进展日志
- 2026-07-15 · 单鹏辉 · [新建] · 创建问题;sap_status=未开始, acceptance=NA
---
list_id: lianchuangjie-ops-26
name: BOS标准问题清单
project: lianchuangjie项目
list_type: 问题清单
profile: 问题型
customer: lianchuangjie
proj_code: lianchuangjie
id_prefix: ISS
repo:
branch: master
protected_path: list-config.md
version: 2
today_source: system
template_from: tpl-issue-ops
checklists:
- id: chk-take-ownership
bind: {field: sap_status, to: 未开始, from: 进行中}
gate: soft
items:
- {prompt: 沟通清楚了吗, kind: select, required: true, options: [, ]}
- {prompt: 和谁, kind: text, required: true}
- id: chk-complete-required
bind: {field: sap_status, to: 已完成}
gate: hard
items:
- {prompt: 解决方案, kind: text, required: true}
- {prompt: 工时(hours), kind: text, required: true}
- id: chk-close-required
bind: {field: sap_status, to: 已取消}
gate: hard
items:
- {prompt: 解决方案, kind: text, required: true}
- {prompt: 工时(hours), kind: text, required: true}
---
# BOS标准问题清单 · 宪法(草案,待 SA 审批)
> 由 bos-issue-creator 从 Excel 列分析生成。AI 提议,**SA 拍板**:请逐条审阅 checklist,删改后再纳入受保护路径。
## 识别到的列
序号、所属项目、问题描述、提出部门、提出人、责任顾问、顾问历史、系统、登记日期、问题分类、优先级、SAP完成状态、用户验收反馈、计划完成日期、开发人员、SA抽检、截图说明、附件、来源、链接/关联、工时(hours)、解决方案
## 迁移记录
- v1 2026-07-15 草案生成。
- v2 2026-07-15 迁移:新增字段"解决方案",工时单位变更为hours,新增 checklist 要求已完成/已关闭时必填解决方案和工时
<!DOCTYPE html>
<html lang="zh"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>周例会 · 问题清单 Ledger 看板</title>
<style>
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;
background:#0f1115;color:#e7e9ee;font-size:14px}
.wrap{max-width:1280px;margin:0 auto;padding:20px}
h1{font-size:22px;margin:0 0 2px}.sub{color:#8b93a7;font-size:13px;margin-bottom:18px}
.sec{font-size:13px;letter-spacing:2px;color:#8b93a7;margin:22px 0 10px;text-transform:uppercase}
.cards{display:flex;flex-wrap:wrap;gap:12px}
.card{background:#171a21;border:1px solid #232734;border-radius:10px;padding:14px 16px;min-width:150px;flex:1}
.card .n{font-size:26px;font-weight:700}.card .l{color:#8b93a7;font-size:12px;margin-top:3px}
.card.bad{border-color:#5a2330;background:#1d1417}.card.bad .n{color:#ff6b81}
.card.good{border-color:#1f4a36}.card.good .n{color:#48d597}
.card .why{color:#6f7689;font-size:11px;margin-top:6px;line-height:1.4}
.bar{height:8px;background:#232734;border-radius:4px;overflow:hidden;margin-top:6px}
.bar>i{display:block;height:100%}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:820px){.row2{grid-template-columns:1fr}}
.panel{background:#171a21;border:1px solid #232734;border-radius:10px;padding:14px 16px}
.dist .item{display:flex;align-items:center;gap:10px;margin:7px 0;font-size:13px}
.dist .item span:first-child{width:96px;color:#b9c0d0}.dist .item span:last-child{width:34px;text-align:right;color:#8b93a7}
.dist .item .bar{flex:1}
.controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
select,input{background:#171a21;color:#e7e9ee;border:1px solid #2a2f3d;border-radius:7px;padding:7px 10px;font-size:13px}
input{flex:1;min-width:180px}
.chk{display:flex;align-items:center;gap:5px;color:#b9c0d0;font-size:13px;padding:6px 8px}
table{width:100%;border-collapse:collapse;margin-top:6px}
th,td{text-align:left;padding:8px 9px;border-bottom:1px solid #20242e;font-size:13px;vertical-align:top}
th{color:#8b93a7;font-weight:600;cursor:pointer;user-select:none;position:sticky;top:0;background:#0f1115}
tr.issue{cursor:pointer}tr.issue:hover{background:#171a21}
.pill{display:inline-block;padding:2px 8px;border-radius:11px;font-size:11px;font-weight:600;white-space:nowrap}
.f-已完成{background:#103a28;color:#48d597}.f-待用户验证{background:#3d3414;color:#e8c24b}
.f-进行中{background:#16304d;color:#5fa8ff}.f-进行中\(返工\){background:#3d2414;color:#ff9b54}
.f-未开始{background:#262a36;color:#9aa3b5}.f-已关闭{background:#22262f;color:#6f7689}
.pr-{color:#ff6b81;font-weight:700}.pr-{color:#e8c24b}.pr-{color:#8b93a7}
.od{color:#ff6b81;font-weight:700}
.detail{background:#12151b}.detail td{padding:0}
.dbox{padding:14px 18px}
.log{border-left:2px solid #2a2f3d;margin-left:6px;padding-left:14px}
.log .e{margin:9px 0;font-size:13px;line-height:1.45}
.log .meta{color:#6f7689;font-size:11px}.log .meta b{color:#9aa3b5;font-weight:600}
.kv{color:#8b93a7;font-size:12px;margin:4px 0}
.tag{display:inline-block;background:#202637;color:#8fb0ff;border-radius:5px;padding:1px 7px;font-size:11px;margin-right:5px}
.note{color:#6f7689;font-size:12px;margin-top:4px}
.foot{color:#5b6172;font-size:11px;margin:24px 0 8px;text-align:center}
</style></head><body><div class="wrap">
<h1>周例会 · 问题清单 Ledger 看板</h1>
<div class="sub" id="sub"></div>
<div class="sec">① Excel 体检 — 这张表把什么藏起来了</div>
<div class="cards" id="audit"></div>
<div class="sec">② 可信汇总(由 206 个对象派生,不是手填)</div>
<div class="row2">
<div class="panel"><div class="cards" id="topnums"></div></div>
<div class="panel dist" id="fsdist"></div>
</div>
<div class="row2" style="margin-top:16px">
<div class="panel dist" id="ownerdist"><div class="sec" style="margin:0 0 8px">各责任顾问 · 未关闭(调度)</div></div>
<div class="panel dist" id="pridist"><div class="sec" style="margin:0 0 8px">按优先级</div></div>
</div>
<div class="sec">③ 工作台 — 点任意一行看 append-only 进展日志</div>
<div class="controls">
<select id="f_owner"></select><select id="f_final"></select><select id="f_pri"></select>
<input id="f_q" placeholder="搜索描述/标题/编号…">
<label class="chk"><input type="checkbox" id="f_od">只看超期</label>
<label class="chk"><input type="checkbox" id="f_open" checked>只看未关闭</label>
</div>
<table><thead><tr>
<th data-k="id">编号</th><th data-k="owner">责任顾问</th><th data-k="priority">优先级</th>
<th data-k="final">最终状态</th><th data-k="plan">计划完成</th><th data-k="nlog">进展</th><th data-k="title">标题</th>
</tr></thead><tbody id="tb"></tbody></table>
<div class="foot" id="foot"></div>
</div>
<script>
const DATA=[{"id": "ISS-lianchuangjie-OPS-001", "owner": "单鹏辉", "raised_by": "单鹏辉", "raised_dept": "业务部", "priority": "高", "category": "未分类", "sap": "未开始", "acc": "NA", "final": "未开始", "plan": "", "overdue": false, "desc": "怎么做sd订单审批", "desc_html": "怎么做sd订单审批", "plan_txt": "", "title": "销售审批", "nlog": 1, "logs": [{"date": "2026-07-15", "author": "单鹏辉", "source": "新建", "text": "创建问题;sap_status=未开始, acceptance=NA"}], "linked": [], "owner_history": [], "attachments": []}], S={"total": 1, "total_logs": 1, "fs": {"未开始": 1}, "pri": {"高": 1}, "owner_open": {"单鹏辉": 1}, "overdue": 0, "sap_done": 0, "final_done": 0, "today": "2026-07-16", "audit": null};
const fsOrder=["进行中(返工)","进行中","待用户验证","未开始","已完成","已关闭"];
document.getElementById('sub').textContent=
`数据源 = ${S.total} 个结构化对象(issues/*.md)· 实时重算 · 生成于 ${S.today} — 这不是那张 Excel,是它本该有的样子`;
// ① audit
if(S.audit){const a=S.audit;const items=[
[a.contradictions,'处状态自相矛盾','原表"SAP已完成"却"最终状态≠已完成"。Ledger 里最终状态是派生函数,结构上不可能矛盾。'],
[a.changelog_cells,'个单元格塞手写流水账',`已拆成 ${S.total_logs} 条带 时间·作者·来源 的 append-only 日志(点下方任意行看)。`],
[a.missing_priority+'/'+a.missing_category,'缺优先级/缺分类','没人强制填。Ledger 受控字段缺失即标红不过门。'],
[a.acc_distinct,'种"验收反馈"自由写法','同一个"已解决"68 种写法,机器没法聚合。Ledger 用受控状态+证据指针。']];
document.getElementById('audit').innerHTML=items.map(x=>
`<div class="card bad"><div class="n">${x[0]}</div><div class="l">${x[1]}</div><div class="why">${x[2]}</div></div>`).join('');
}else{document.getElementById('audit').innerHTML='<div class="card">未提供源 Excel,跳过体检</div>';}
// ② top nums
const pct=(n)=>S.total?Math.round(n/S.total*100):0;
document.getElementById('topnums').innerHTML=[
['good',S.total,'问题总数',''],
['good',S.final_done,'最终已完成',`SAP完成且用户验证 · ${pct(S.final_done)}%`],
['',S.sap_done,'SAP 已完成',`${pct(S.sap_done)}%(≠最终完成)`],
['bad',S.overdue,'超期未关闭','计划完成日已过']
].map(x=>`<div class="card ${x[0]}"><div class="n">${x[1]}</div><div class="l">${x[2]}</div><div class="why">${x[3]}</div></div>`).join('');
function dist(el,obj,order,total,title){const keys=order?order.filter(k=>obj[k]):Object.keys(obj).sort((a,b)=>obj[b]-obj[a]);
const mx=Math.max(1,...Object.values(obj));const col={'已完成':'#48d597','待用户验证':'#e8c24b','进行中':'#5fa8ff','进行中(返工)':'#ff9b54','未开始':'#9aa3b5','已关闭':'#6f7689','高':'#ff6b81','中':'#e8c24b','低':'#7f8aa0'};
let h=title?`<div class="sec" style="margin:0 0 8px">${title}</div>`:'';
h+=keys.map(k=>`<div class="item"><span>${k}</span><div class="bar"><i style="width:${obj[k]/mx*100}%;background:${col[k]||'#5fa8ff'}"></i></div><span>${obj[k]}</span></div>`).join('');
el.innerHTML=h;}
dist(document.getElementById('fsdist'),S.fs,fsOrder,S.total,'按最终状态(派生)');
dist(document.getElementById('ownerdist'),S.owner_open,null,S.total,'各责任顾问 · 未关闭(调度)');
dist(document.getElementById('pridist'),S.pri,['高','中','低','未定'],S.total,'按优先级');
// ③ table
function opts(el,arr,all){el.innerHTML=`<option value="">${all}</option>`+arr.map(v=>`<option>${v}</option>`).join('');}
opts(document.getElementById('f_owner'),[...new Set(DATA.map(d=>d.owner))].sort(),'全部责任顾问');
opts(document.getElementById('f_final'),fsOrder,'全部状态');
opts(document.getElementById('f_pri'),['高','中','低','未定'],'全部优先级');
let sortK='id',sortAsc=true;
const esc=s=>(s||'').replace(/[&<>]/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;'}[c]));
function render(){
const fo=f_owner.value,ff=f_final.value,fp=f_pri.value,q=f_q.value.trim(),od=f_od.checked,op=f_open.checked;
let rows=DATA.filter(d=>(!fo||d.owner===fo)&&(!ff||d.final===ff)&&(!fp||d.priority===fp)
&&(!od||d.overdue)&&(!op||(d.final!=='已完成'&&d.final!=='已关闭'))
&&(!q||(d.id+d.title+d.desc).toLowerCase().includes(q.toLowerCase())));
rows.sort((a,b)=>{let x=a[sortK],y=b[sortK];if(sortK==='nlog'){x=+x;y=+y}return (x>y?1:x<y?-1:0)*(sortAsc?1:-1)});
tb.innerHTML=rows.map(d=>{
const od=d.overdue?'<span class="od"> ⚠超期</span>':'';
const logs=d.logs.map(l=>`<div class="e"><div class="meta"><b>${l.date}</b> · ${esc(l.author)} · <span class="tag">${esc(l.source)}</span></div>${esc(l.text)}</div>`).join('');
const lk=(d.linked||[]).map(x=>`<span class="tag">${x.rel}${x.id}</span>`).join('');
const attChips=(d.attachments||[]).map(a=>`<span class="tag">${esc(a.filename)}</span>`).join('');
const ownerHist=(d.owner_history||[]).map(h=>`<div class="e"><div class="meta"><b>${esc(h.date)}</b> · ${esc(h.by)} · <span class="tag">转派</span></div>${esc(h.from)}${esc(h.to)}${esc(h.reason||'')}</div>`).join('');
return `<tr class="issue" onclick="this.nextElementSibling.style.display=this.nextElementSibling.style.display==='table-row'?'none':'table-row'">
<td>${d.id}</td><td>${esc(d.owner)}</td><td class="pr-${d.priority}">${d.priority}</td>
<td><span class="pill f-${d.final}">${d.final}</span></td><td>${d.plan||'—'}${od}</td><td>${d.nlog}</td><td>${esc(d.title)}</td></tr>
<tr class="detail" style="display:none"><td colspan="7"><div class="dbox">
<div class="kv"><b>${d.id}</b> 提出:${esc(d.raised_dept)}/${esc(d.raised_by)} SAP:${d.sap} 验收:${d.acc} 分类:${esc(d.category)} ${lk}</div>
<div class="kv">责任顾问:${esc(d.owner)} ${attChips}</div>
<div class="kv" style="white-space:pre-wrap">问题描述:${d.desc_html}</div>
<div class="kv">当前方案:${esc(d.plan_txt)||'—'}</div>
<div class="sec" style="margin:12px 0 6px">责任人变更历史</div>
<div class="log">${ownerHist||'<div class="note">无</div>'}</div>
<div class="sec" style="margin:12px 0 6px">进展日志(append-only)</div>
<div class="log">${logs||'<div class="note">无</div>'}</div>
</div></td></tr>`;}).join('');
foot.textContent=`显示 ${rows.length} / ${DATA.length} 条 · 点行展开进展日志`;
}
document.querySelectorAll('th[data-k]').forEach(th=>th.onclick=()=>{const k=th.dataset.k;if(sortK===k)sortAsc=!sortAsc;else{sortK=k;sortAsc=true}render();});
['f_owner','f_final','f_pri','f_q','f_od','f_open'].forEach(id=>document.getElementById(id).addEventListener('input',render));
render();
</script></body></html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment