This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user