19 lines
588 B
TypeScript
19 lines
588 B
TypeScript
import type { DocumentDepartment, DocumentStatus } from './types'
|
|
|
|
const documentStatusLabels: Record<DocumentStatus, string> = {
|
|
enabled: '启用中',
|
|
draft: '草稿',
|
|
archived: '归档',
|
|
review: '需复审',
|
|
}
|
|
|
|
export const documentStatusOptions = Object.entries(documentStatusLabels).map(([key, label]) => ({
|
|
key: key as DocumentStatus,
|
|
label,
|
|
}))
|
|
|
|
export { documentStatusLabels }
|
|
|
|
// Word 自维护方案:文书库初始为空,所有文书由科室通过 Word 编辑器(粘贴 / 导入 .docx)创建维护。
|
|
export const documentLibrary: DocumentDepartment[] = []
|