This commit is contained in:
@@ -134,12 +134,11 @@ import * as monaco from "monaco-editor";
|
|||||||
|
|
||||||
/*TODO:
|
/*TODO:
|
||||||
|
|
||||||
|
|
||||||
Immediately render last report code needs proper implementation for both widget and widgets
|
|
||||||
currently it's nonsense
|
|
||||||
|
|
||||||
"Design" translation should be "Report editor"
|
"Design" translation should be "Report editor"
|
||||||
|
|
||||||
|
Mobile view should include a big warning not supported small screens
|
||||||
|
But still show the UI in case they can still work with it in an emerg
|
||||||
|
|
||||||
Load test with HUGE data, make it crash!
|
Load test with HUGE data, make it crash!
|
||||||
|
|
||||||
diagnostic code that returns helpful information on render failure would be nice and cut way back on technical support hassles
|
diagnostic code that returns helpful information on render failure would be nice and cut way back on technical support hassles
|
||||||
@@ -899,6 +898,22 @@ function generateMenu(vm) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//EXPORT
|
||||||
|
if (vm.$route.params.recordid != 0) {
|
||||||
|
let href = window.$gz.api.genericDownloadUrl(
|
||||||
|
"report/export/" + vm.$route.params.recordid
|
||||||
|
);
|
||||||
|
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "Export",
|
||||||
|
icon: "fa-file-download",
|
||||||
|
href: href,
|
||||||
|
target: "_blank",
|
||||||
|
key: FORM_KEY + ":export",
|
||||||
|
vm: vm
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||||
}
|
}
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user