This commit is contained in:
2020-12-16 16:11:39 +00:00
parent 8700e2dd88
commit 618b200241
6 changed files with 1005 additions and 0 deletions

View File

@@ -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({

View File

@@ -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:

View File

@@ -146,6 +146,7 @@ export default {
"UnitList",
"UnitModels",
"ContractList",
"ProjectList",
"CustomerServiceRequestList",
"LoanUnitList",
"PartList",