feat(datalink): add generic app object and record queries

This commit is contained in:
gitea committed 2026-09-09 13:57:45 +08:00
1 parent 2502a49fb9
commit 893fc47ac6
20 files changed
+693 -55

No files matched your search

+8 -1
View File
@@ -127,7 +127,8 @@ export function printHelp(): string {
contact 企业通讯录与人员检索 (list, search <关键词>, get <staffId>)
task 待办中心与审批任务 (todo, approved, records, submitted, cc)
message 消息中心与通知管理 (list, count, read, read-all)
platform 自建应用管理 (list)
platform 自建应用、业务对象、字段与记录查询 (list, get, entities, schema, records, permissions, imports)
datalink platform 的同义入口,面向 DataLink 业务对象查询
dimension 系统/自定义档案维度 (list, items <维度>)
role 角色定义与成员 (list, groups, members <角色>)
permission 权限模型快照 (get)
@@ -174,6 +175,12 @@ export function printHelp(): string {
hose-use message count # 查看未读消息数
hose-use workflow list # 汇总查看全部工作流
hose-use workflow find --task=code-js2 # 搜索包含自定义脚本的工作流
hose-use platform list # 列出当前企业可见的自建应用
hose-use platform entities <应用> # 查看应用下的业务对象
hose-use platform schema <应用> <对象> # 查看对象字段(--keyword 可筛选字段)
hose-use platform records <应用> <对象> --keyword 关键词 --fields 名称,编码 --json
# 查询记录并只输出指定字段
hose-use platform permissions <应用> [对象] # 查看应用/对象权限快照
hose-use bill list # 查看当前企业单据与报销列表
hose-use bill flow S26000001 # 查看单据审批历史与后续节点
hose-use bill risk S26000001 # 查看风控预警、预算与发票风险