目录

图片

"type":"pic","val":[{"url":"","w":"","h":"","isRound":"","loop":""},{"url":"","w":"","h":"","isRound":"","loop":""}]

说明:

url节点保存图片地址。

W节点保存图片宽度

H节点保存图片高度

isRound节点代表是否是圆角

loop节点标识是否轮播

报表制作:如果只选择了类型为“图片”对应的属性串为空时,服务器端取当前单元格图片或图片字段对应的图片拼到JSON中。如果属性串不为空时,取属性串中设置的图片。图片的url同单元格图片的格式,也支持相对路径和绝对路径。移动服务器端根据设置的值,进行url拼接。

相对路径:

[{"url":"/mis2/geeznmobile/tempImg/bbb.png","w": "150","h":"150","isRound":"false","loop": "false"},{"url":" /mis2/geeznmobile/tempImg/g.png","w": "150","h": "150","isRound": "true","loop": "true"}]

服务器处理后的串:

"type":"pic","val":[{"url":"http://192.168.1.101:8800/reportmis /mis2/geeznmobile/tempImg/bbb.png","w":"150","h":"150","isRound":"false","loop":"false"},{"url":"http://192.168.1.101:8800/reportmis/mis2/geeznmobile/tempImg/g.png","w": "150","h": "150","isRound": "true","loop": "true"}]