From 83f903142dcb26645cd66335063571a3b140ee53 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 09:46:27 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=A0=87=E9=A2=98=E6=97=81?= =?UTF-8?q?=E7=9A=84=E5=AF=B9=E8=B1=A1=E8=AF=B4=E6=98=8E=E6=94=B9=E6=88=90?= =?UTF-8?q?=E4=BA=BA=E7=9C=8B=E5=BE=97=E6=87=82=E7=9A=84=E4=B8=80=E5=8F=A5?= =?UTF-8?q?=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 制度、制度版本、附件的 description 原来写给 AI(字段名、取值代码),显示在列表标题旁; AI 要用的内容已在制度问询技能里。 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RKKVniLvsfBswNHAfKKTVi --- src/objects/policy-attachment.object.ts | 2 +- src/objects/policy-version.object.ts | 2 +- src/objects/policy.object.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/objects/policy-attachment.object.ts b/src/objects/policy-attachment.object.ts index 34888bd..2c8c315 100644 --- a/src/objects/policy-attachment.object.ts +++ b/src/objects/policy-attachment.object.ts @@ -32,7 +32,7 @@ export const PolicyAttachment = ObjectSchema.create({ icon: 'paperclip', nameField: 'title', description: - '制度版本的附件(附件1、附表2…)。规范性附件(attachment_class = normative)与正文同等效力,全文在 body_md;表单、仅原件的附件不作答复依据。正文不在这里,在版本的 body_md', + '制度版本的附件,规范性附件与正文同等效力', // Quick search matches the title only: an attachment's text can be long. searchableFields: ['title'], diff --git a/src/objects/policy-version.object.ts b/src/objects/policy-version.object.ts index 5f2d2c4..39f0d3b 100644 --- a/src/objects/policy-version.object.ts +++ b/src/objects/policy-version.object.ts @@ -31,7 +31,7 @@ export const PolicyVersion = ObjectSchema.create({ icon: 'git-branch', nameField: 'title', description: - '制度的每一个版本及其正文:版本号、版本状态(current = 现行)、生效日期、正文全文 body_md(Markdown,已脱敏)。附件在子表 brightrule_policy_attachment', + '制度的每一个版本及其正文', // Quick search matches the title only: the body is long, and a type-default // search would scan it on every keystroke. diff --git a/src/objects/policy.object.ts b/src/objects/policy.object.ts index ccf850d..739fedd 100644 --- a/src/objects/policy.object.ts +++ b/src/objects/policy.object.ts @@ -20,7 +20,7 @@ export const Policy = ObjectSchema.create({ icon: 'book-open', nameField: 'title', description: - '制度目录(每份制度一行,不含正文)。正文在现行版本上:current_version 指向现行的 brightrule_policy_version 记录,读它的 body_md。员工可问的只有 status = published 的制度', + '每份制度一行,正文在制度版本里', fieldGroups: [ { key: 'basic', label: '基本信息' },