{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "loginRequired": "false"
  },
  "expanded": true,
  "children": [{
   "configs": {
    "layout": "border",
    "itemId": "viewport1"
   },
   "expanded": true,
   "children": [
    {
     "configs": {
      "layout": "absolute",
      "itemId": "panel2",
      "width": "1120",
      "region": "north",
      "height": "48"
     },
     "expanded": true,
     "children": [
      {
       "configs": {
        "itemId": "billno",
        "x": "8",
        "width": "241",
        "y": "8",
        "height": "21"
       },
       "expanded": false,
       "children": [],
       "type": "text"
      },
      {
       "configs": {
        "itemId": "button1",
        "x": "368",
        "width": "88",
        "y": "8",
        "text": "测试",
        "height": "22"
       },
       "expanded": false,
       "children": [],
       "type": "button",
       "events": {"click": "\
var AF=document.getElementById(app.iframeId).contentWindow.supcanTL;\
Wb.request({\
  url: '/m?xwl=system/common/report/reportTemplate/getData',\
  params: {},\
  success: function(resp) {\
  AF.func(\"Load\", resp.responseText);\
\
  }\
});\
\
\
"}
      }
     ],
     "type": "panel"
    },
    {
     "configs": {
      "layout": "absolute",
      "itemId": "panel1",
      "region": "center"
     },
     "expanded": true,
     "children": [],
     "type": "panel"
    }
   ],
   "type": "viewport",
   "events": {"afterrender": "\
app.iframeId=Wb.addSupcanIframe(app.panel1,'tree','m?xwl=system/common/report/reportTemplate/getTemplate');\
\
"}
  }],
  "type": "module",
  "events": {"initialize": "app.iframeId=null;\
"}
 }],
 "roles": {"default": 1},
 "title": "报表加载",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}