'新增导出功能'
This commit is contained in:
@@ -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') {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user