元素属性

{
        "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