'新增导出功能'

This commit is contained in:
2019-04-24 17:36:55 +08:00
parent e13588f3ab
commit 936d4dc992
9 changed files with 162 additions and 173 deletions

View File

@@ -78,5 +78,16 @@ const meta = {
itemUpdate({alias, items}) {
return red.postX('/meta/itemupdate', {alias, items: JSON.stringify(items)})
},
//client
exportData({fbean, cate}) {
if (cate == 'excel') {
location.href = "/data/export?fBean=" + JSON.stringify(fbean) + "&platToken=" + red.getPlatToken() + "&cate=csv";
} else if (cate == 'cvs') {
} else if (cate == 'json') {
}
}
}