init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
@using Kreta.Web.Areas.OsztalyCsoport.Models;
|
||||
@model BaseBesorolasSearchModel
|
||||
|
||||
<script type="text/javascript">
|
||||
var BesorolasExportHelper = (function () {
|
||||
var besorolasHelper = function () { };
|
||||
var searchFormName = "searchForm";
|
||||
|
||||
var url = {
|
||||
ExportOsztaly: "@Url.Action("ExportBesorolasOsztaly", @Model.ExportControllerName, new {area = "OsztalyCsoport" })",
|
||||
ExportOsztalyKiirt: "@Url.Action("ExportBesorolasOsztalyKiirt", @Model.ExportControllerName, new {area = "OsztalyCsoport" })",
|
||||
ExportCsoport: "@Url.Action("ExportBesorolasCsoport", @Model.ExportControllerName, new {area = "OsztalyCsoport" })",
|
||||
ExportCsoportKiirt: "@Url.Action("ExportBesorolasCsoportKiirt", @Model.ExportControllerName, new {area = "OsztalyCsoport" })",
|
||||
};
|
||||
|
||||
besorolasHelper.setSearchFormName = function (name) {
|
||||
if (name !== "undefined" && name !== "") {
|
||||
searchFormName = name;
|
||||
}
|
||||
}
|
||||
besorolasHelper.exportOsztaly = function () {
|
||||
window.location = url.ExportOsztaly + "?" + $.param(KretaGridHelper.getSearchParametersWithoutInputNames(searchFormName));
|
||||
}
|
||||
|
||||
besorolasHelper.exportOsztalyKiirt = function () {
|
||||
window.location = url.ExportOsztalyKiirt + "?" + $.param(KretaGridHelper.getSearchParametersWithoutInputNames(searchFormName));
|
||||
}
|
||||
|
||||
besorolasHelper.exportCsoport = function () {
|
||||
window.location = url.ExportCsoport + "?" + $.param(KretaGridHelper.getSearchParametersWithoutInputNames(searchFormName));
|
||||
}
|
||||
|
||||
besorolasHelper.exportCsoportKiirt = function () {
|
||||
window.location = url.ExportCsoportKiirt + "?" + $.param(KretaGridHelper.getSearchParametersWithoutInputNames(searchFormName));
|
||||
}
|
||||
|
||||
return besorolasHelper;
|
||||
})();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue