This commit is contained in:
@@ -344,6 +344,16 @@ function initNavPanel() {
|
||||
});
|
||||
}
|
||||
|
||||
//PROJECTS subitem
|
||||
if (window.$gz.role.canOpen(window.$gz.type.Project)) {
|
||||
sub.push({
|
||||
title: "ProjectList",
|
||||
icon: "$ayiProjectDiagram",
|
||||
route: "/svc-projects",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//CUSTOMER SERVICE REQUESTS subitem
|
||||
if (window.$gz.role.canOpen(window.$gz.type.CustomerServiceRequest)) {
|
||||
sub.push({
|
||||
|
||||
@@ -173,7 +173,13 @@ export default {
|
||||
throw new Error(window.$gz.errorHandler.errorToString(e, vm));
|
||||
}
|
||||
})();
|
||||
break;
|
||||
|
||||
case ayatype.Project:
|
||||
vm.$router.push({
|
||||
name: "project-edit",
|
||||
params: { recordid: tid.id }
|
||||
});
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
@@ -146,6 +146,7 @@ export default {
|
||||
"UnitList",
|
||||
"UnitModels",
|
||||
"ContractList",
|
||||
"ProjectList",
|
||||
"CustomerServiceRequestList",
|
||||
"LoanUnitList",
|
||||
"PartList",
|
||||
|
||||
Reference in New Issue
Block a user