基于匠厂 skill-template 主仓 v1.0.108 派生的业务技能。 核心业务: - 起草人在 OA 上传新制度送审稿时,自动比对校内现行制度库(约 300+ 份) - 条款级冲突检测 + 程序合规性体检 + 疑似重复发文检测 - 在 Word 侧栏生成批注清单,一键跳转冲突原文 输出形态: - 制度送审稿表状态更新(可送审 → 审查中 → 已通过 / 冲突中 / 驳回) - 冲突条款清单 + HTML 审查报告 + 可选 PDF 导出 预期提效:制度出台后因"与 XX 文件冲突"而被要求暂停/修订的事件减少至零起。 业务行生命周期:可送审 → 审查中 → 已通过 / 冲突中 / 驳回 / 已跳过 Co-Authored-By: Claude Code <noreply@anthropic.com>
104 lines
3.5 KiB
HTML
104 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>{{TITLE}}</title>
|
|
<style>
|
|
/* 数据管理 iframe 预览布局基线:流体铺满、禁横向滚动 */
|
|
html, body {
|
|
margin: 0;
|
|
padding: 16px;
|
|
font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
color: #1f2329;
|
|
background: #fafbfc;
|
|
line-height: 1.6;
|
|
}
|
|
.report { max-width: 100%; }
|
|
.header {
|
|
padding: 16px 20px;
|
|
background: #fff;
|
|
border: 1px solid #e5e6eb;
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.header h1 { margin: 0 0 8px; font-size: 20px; }
|
|
.header .meta { color: #646a73; font-size: 13px; }
|
|
.summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.stat {
|
|
padding: 12px 16px;
|
|
background: #fff;
|
|
border: 1px solid #e5e6eb;
|
|
border-radius: 8px;
|
|
}
|
|
.stat .label { color: #8c959f; font-size: 12px; }
|
|
.stat .value { font-size: 22px; font-weight: 600; margin-top: 4px; }
|
|
.stat.danger .value { color: #c53030; }
|
|
.stat.warning .value { color: #d97706; }
|
|
.stat.success .value { color: #059669; }
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
border: 1px solid #e5e6eb;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
table-layout: fixed;
|
|
word-break: break-word;
|
|
}
|
|
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #f0f1f3; font-size: 14px; }
|
|
th { background: #f5f6f7; color: #4e5969; font-weight: 600; }
|
|
tr:last-child td { border-bottom: 0; }
|
|
.pill {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
.pill.red { background: #fef2f2; color: #c53030; }
|
|
.pill.yellow { background: #fffbeb; color: #d97706; }
|
|
.pill.green { background: #ecfdf5; color: #059669; }
|
|
.footer { margin-top: 16px; color: #8c959f; font-size: 12px; text-align: right; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="report">
|
|
<div class="header">
|
|
<h1>{{TITLE}}</h1>
|
|
<div class="meta">送审稿编号:{{DRAFT_ID}} · 送审人:{{DRAFTER}} · 送审时间:{{SUBMITTED_AT}}</div>
|
|
<div class="meta">审查完成时间:{{GENERATED_AT}}</div>
|
|
</div>
|
|
|
|
<div class="summary">
|
|
<div class="stat"><div class="label">条款总数</div><div class="value">{{CLAUSE_TOTAL}}</div></div>
|
|
<div class="stat danger"><div class="label">🔴 冲突项</div><div class="value">{{CONFLICT_COUNT}}</div></div>
|
|
<div class="stat warning"><div class="label">🟡 程序缺项</div><div class="value">{{COMPLIANCE_GAP_COUNT}}</div></div>
|
|
<div class="stat success"><div class="label">🟢 合规通过</div><div class="value">{{PASS_COUNT}}</div></div>
|
|
</div>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 8%">编号</th>
|
|
<th style="width: 12%">冲突类型</th>
|
|
<th style="width: 25%">新条款原文</th>
|
|
<th style="width: 12%">旧制度文号</th>
|
|
<th style="width: 25%">旧条款原文</th>
|
|
<th style="width: 18%">建议处理</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{BODY}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="footer">本报告由「制度文件冲突检测与合规审查」技能自动生成 · 仅供合规参考,不替代法律终审</div>
|
|
</div>
|
|
</body>
|
|
</html>
|