This commit is contained in:
2020-10-23 20:37:57 +00:00
parent ae76a24ec3
commit 7fb5da9cc9
2 changed files with 6 additions and 2 deletions

View File

@@ -12,10 +12,14 @@ todo: export from grid to xls, csv etc.
todo: Modify extensions to automatically assume *all* record ID's from the grid list just as report does when nothing selected todo: Modify extensions to automatically assume *all* record ID's from the grid list just as report does when nothing selected
so it shouldn't say zero items selected, it should say "All records in list" instead so it shouldn't say zero items selected, it should say "All records in list" instead
todo: Modify extensions that exist to work with all id's in the datalist instead if none selected (just like report does, re-use report code) todo: Modify extensions that exist to work with all id's in the datalist instead if none selected (just like report does, re-use report code)
Make sure all extensions and routes use this new method before moving on
todo: SERVER - make a IExportableObject that mirrors IReportAble so that can control what exactly can be exported todo: SERVER - make a IExportableObject that mirrors IReportAble so that can control what exactly can be exported
todo: SERVER - make a biz and route for export that mirrors report objects todo: SERVER - make a biz and route for export that mirrors report objects
Export file is downloadable for a few minutes once prepared at server just like report and client triggers download once it gets the file name back Export file is downloadable for a few minutes once prepared at server just like report and client triggers download once it gets the file name back
Export as JSON or as CSV https://github.com/JoshClose/CsvHelper Export as JSON or as CSV https://github.com/JoshClose/CsvHelper
todo: CLIENT - make an export extension with choice of format JSON or CSV
todo: Test export widgets and Users
todo: Profit$

View File

@@ -77,10 +77,10 @@ export default {
url += `bulk-add/${vm.tag}`; url += `bulk-add/${vm.tag}`;
break; break;
case "Remove": case "Remove":
url += `bulk-remove/${vm.ayaType}/${vm.tag}`; url += `bulk-remove/${vm.tag}`;
break; break;
case "Replace": case "Replace":
url += `bulk-replace/${vm.ayaType}/${vm.tag}?toTag=${vm.replace}`; url += `bulk-replace/${vm.tag}?toTag=${vm.replace}`;
break; break;
} }