Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/objects/policy-attachment.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion src/objects/policy-version.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/objects/policy.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '基本信息' },
Expand Down