|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
自定义action返回table,然后load到bizData中,这种情况下用excelExport导出是不是有问题?
错误代码如下
Error: {"message":",导出excel失败! ","reason":"","code":"","stack":"","url":"","param":""}
at Object.options.callback (http://localhost:8080/x5/$v2ae5989ec422444996b6e1155c8fa56d/UI/system/components/excel/excel.js?language=zh_CN:368:11)
at cbf (http://localhost:8080/x5/$vd63b641fb40a40758e29b97c7e5f9be5/base/base.js?language=zh_CN:1:87276)
at Object.sendRequest2 (http://localhost:8080/x5/$vd63b641fb40a40758e29b97c7e5f9be5/base/base.js?language=zh_CN:1:87520)
at Object.sendBizRequest2 (http://localhost:8080/x5/$vd63b641fb40a40758e29b97c7e5f9be5/base/base.js?language=zh_CN:1:35433)
at justep.ExportExcel._doExport (http://localhost:8080/x5/$v2ae5989ec422444996b6e1155c8fa56d/UI/system/components/excel/excel.js?language=zh_CN:371:18)
at justep.ExportExcel.exportExcel (http://localhost:8080/x5/$v2ae5989ec422444996b6e1155c8fa56d/UI/system/components/excel/excel.js?language=zh_CN:314:9)
at null.callFunction (http://localhost:8080/x5/$v0018e9b57a734e659d651e99a238299b/UI/production/trainSubsystem/tjCx/yqb_shaohf/process/yqb/.cache/mainActivity_zh_CN_x5_139fda13dba442efbf52d699241023e9.js?language=zh_CN&$version=ff6f1b87-7b06-410d-8740-0c4999a6b28b:581:154)
at null.run (http://localhost:8080/x5/$v1a50c1b70b434e1d8b4b6df4868165cf/form/form.js?language=zh_CN:1:386415)
at null.exec_ (http://localhost:8080/x5/$v1a50c1b70b434e1d8b4b6df4868165cf/form/form.js?language=zh_CN:1:308283)
at null.execute (http://localhost:8080/x5/$v1a50c1b70b434e1d8b4b6df4868165cf/form/form.js?language=zh_CN:1:289847)
excelExport源码如下
<xhtml:div appearance="image-minimal" icon-class="icon-system-export" component="/UI/system/components/excel.xbl.xml#export"
id="excelExport5" data="bizDataYZ" from="UI" label-relations="车型,油种,车号,自重,换长,载重,到站,品名,收货人,发站,篷布,序号"
relations="CZ:,YZ:,CH:,ZIZ:,HC:,ZAZ:,DZM:,PM:,SHR:,FZM:,PB:,calculateIndex:"
export-calc-relation="true" use-config-dlg="false"/>
|
|