Pinvou/pinvou-agent / pinvou3-app/src-tauri/resources/common/bundle/dingtalk-skills/dws
dws
Unverified【何时用:仅当用户明确指向钉钉/DingTalk(钉钉文档、钉钉日程等)时使用;泛指做文档/表格/待办/审批默认走本地工具,不要误用钉钉】用 dws CLI 管理钉钉:AI表格/AI搜问(找人首选)/目标管理(Agoal)/组织大脑/日历/通讯录/群聊与机器人消息/待办/审批/智能合同/考勤/日志(日报周报)/DING消息/钉钉文档/云盘/Markdown文件/HTML文件/AI听记/邮箱/在线电子表格(axls)/知识库/白板/开放平台文档/个人IM与OA事件订阅。用户要求操作上述钉钉产品时使用。
references/products/oa/template/components/OcrIdCardField.md
View on GitHub# 身份证识别 — `OcrIdCardField`
> 分类:高级控件
OCR 识别身份证,通过 children 映射字段。
## JSON Schema
| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `componentName` | string | 是 | 固定值 `"OcrIdCardField"` |
| `props.id` | string | 是 | 唯一标识,格式 `OcrIdCardField_{随机字符串}` |
| `props.label` | string | 是 | 控件标题 |
| `props.placeholder` | string | 否 | 占位提示文字 |
| `props.required` | boolean | 否 | 是否必填 |
| `props.type` | string | 是 | 固定值 `"ocr"` |
| `props.ocrType` | string | 是 | 固定值 `"idcard"` |
| `props.options` | array | 是 | OCR 识别字段列表,如 `["name", "idCardNo", "gender"]` |
| `children` | array | 是 | 映射子控件列表 |
## 关键机制
children 中每个控件的 `bizAlias` 与 `options` 数组一一对应,OCR 识别后自动映射填充。
## 示例
```json
{
"componentName": "OcrIdCardField",
"props": {
"id": "OcrIdCardField_OR42XF5T70W0",
"label": "身份证识别",
"placeholder": "识别出的信息会自动填充到表单",
"required": true,
"type": "ocr",
"ocrType": "idcard",
"options": ["name", "idCardNo", "gender"]
},
"children": [
{
"componentName": "TextField",
"props": {
"id": "TextField_1YF738771SPS0",
"label": "姓名",
"placeholder": "请输入",
"required": true,
"bizAlias": "name"
}
},
{
"componentName": "IdCardField",
"props": {
"id": "IdCardField_1IKTLPOOHTEO0",
"label": "身份证号码",
"placeholder": "请输入",
"required": true,
"bizAlias": "idCardNo"
}
}
]
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |