页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...


控件名称主要配置项说明内部函数支持脚本示例说明
1

标签



1setValue
2getValue
3getFormName
4

setBadge(content)设置徽标内容



1
2
3
4


2按钮

setBadge(content)     //设置徽标内容

setDisable()    设置按钮禁用


3日期框

args.minDate          选择的最小日期

args.maxDate         选择的最大日期

setValue
getValue
setDisplayType

4文本框

args.showWordLimit     显示字数统计

args.maxLength            最大长度

setValue
getValue
setDisplayType

5数字框
setValue
getValue
setDisplayType

6单选框

setValue
getValue
setDisplayType

getDisplayValue()     获取选择的显示的值


7复选框


setValue
getValue
setDisplayType

getDisplayValue()    获取选择的显示的值


8选择框


setValue
getValue
setDisplayType

getDisplayValue() 获取显示的显示的值


9开关
setValue
getValue
setDisplayType

10文件上传

setValue

    三种状态下,调用脚本setvalue都会显示对应的控件状态
getValue
setDisplayType

freshData(url)    

    单文件展示的时候,外部脚本更新图片类型附件file值 ,仅在edit 和 visit下起作用


11单元格

args.titleContent     左侧内容

args.description     描述内容

setValue    设置右边内容部分
getValue    获取右边内容部分
setDisplayType

12步进器

args.max    最大值

args.min     最小值

args.step    步长

setValue
getValue
setDisplayType

13嵌入网页url      // 链接地址

getFormName

setDisplayType


14位置标记

args.mapFlag                  //  默认显示地图  0409移除

args.viewZoom               //  视野级别

args.returnType             //  回填内容形式

args.selfPointUrl           //  自定义图片地址

args.selfPointWidth      //  自定义图片宽度

args.selfPointHeight      //  自定义图片高度

getValue()

setValue()

setDisplayType()

getFormName()


...