This commit is contained in:
2021-12-28 19:24:23 +00:00
parent 13aaf883ee
commit e7984742a4
4 changed files with 2 additions and 85 deletions

View File

@@ -1070,27 +1070,6 @@ export default new Router({
},
//############################## SPECIAL ROUTES ###############################
// {
// //REPORT VIEW FROM URL
// path: "/viewreport",
// beforeEnter: async (to, from, next) => {
// //open report links have a query string /viewreport?oid=[objectid]&rid=[reportid]
// const objectId = parseInt(to.query.oid);
// const reportId = parseInt(to.query.rid);
// const res = await window.$gz.api.renderReport(objectId, reportId, true);
// if (res.error) {
// //log the error and do a popup for it
// const msg = `/viewReport, query ${JSON.stringify(
// to.query
// )}, server error: ${JSON.stringify(res.error)}`;
// window.$gz.eventBus.$emit("notify-error", msg);
// next("/applog");
// }
// next(false);
// }
// },
{
path: "/ay-evaluate",