元素属性
{
"type": "Element",
"id": "",
"name": "",
"text": "咳嗽、咳痰、胸闷",
"Fragment": "<Fragment><Format cfg='1'\/><Format cfg='0'\/><Element cfg='30000' xCfg='300' inputMode='2' optionClass='呼吸科' optionId='肺症状' linkStr='、' items='咳嗽;咳痰;胸闷' hint='请选择'>咳嗽、咳痰、胸闷<\/Element><\/Fragment>",
"sourceClass": "",
"sourceId": "",
"hasSource": 0,
"inputMode": 2,
"attrs": ""
}
参数
参数名 | 必填 | 类型 | 说明 | 备注 |
---|---|---|---|---|
type | 是 | string | 固定为”Element” | |
id | 是 | string | 元素ID | |
name | 是 | string | 元素名 | |
text | 是 | string | 文本 | |
Fragment | 是 | string | 片段 | |
sourceClass | 是 | string | 源种类 | |
sourceId | 是 | string | 源ID | |
hasSource | 是 | bool | 源是否存在 | 0:不存在 1:存在 |
inputMode | 是 | enum | 输入模式 | 0:文本 1:数值 2:选项 3:日期时间 |
attrs | 是 | json str | 附加属性 | 由用户自定义,返回json字符串 |
文档更新时间: 2023-02-19 23:35 作者:admin