mirror of
https://github.com/wekan/wekan.git
synced 2026-01-30 05:05:17 +01:00
Export to Excel XLSX. Does work, but does not export all fields yet correctly. In Progress.
Thanks to gameendman, alfredgu and xet7 ! Related #3173
This commit is contained in:
parent
815b32c9b6
commit
855151a8d1
8 changed files with 1009 additions and 12 deletions
|
|
@ -435,6 +435,23 @@ BlazeComponent.extendComponent({
|
|||
};
|
||||
return FlowRouter.path('/api/boards/:boardId/export', params, queryParams);
|
||||
},
|
||||
exportUrlExcel() {
|
||||
const params = {
|
||||
boardId: Session.get('currentBoard'),
|
||||
};
|
||||
const queryParams = {
|
||||
authToken: Accounts._storedLoginToken(),
|
||||
};
|
||||
return FlowRouter.path(
|
||||
'/api/boards/:boardId/exportExcel',
|
||||
params,
|
||||
queryParams,
|
||||
);
|
||||
},
|
||||
exportFilenameExcel() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
return `export-board-excel-${boardId}.xlsx`;
|
||||
},
|
||||
exportCsvUrl() {
|
||||
const params = {
|
||||
boardId: Session.get('currentBoard'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue