{"hidden":false,"children":[{"configs":{"itemId":"module","serverScript":"var excelFolder = new File(Base.path, 'wb/system/excel'),\n  excelFile = new File(excelFolder, app.get('__file')),\n  sheetIndex = app.getInt('__sheetIndex'),\n  align = app.get('__align');\n\nif (!FileUtil.isAncestor(excelFolder, excelFile))\n  SysUtil.accessDenied(); //仅允许访问指定目录\napp.send(com.wb.tool.ExcelForm.getHtml(WebUtil.fetch(request), excelFile, sheetIndex, align));"},"expanded":false,"children":[],"type":"module"}],"roles":{"default":1,"basic":1,"demo":1},"title":"生成Excel表单脚本","iconCls":"","inframe":false,"pageLink":""}