This commit is contained in:
@@ -170,16 +170,14 @@ export default {
|
||||
},
|
||||
canViewLicenseInfo() {
|
||||
/*
|
||||
Administrator = 1,
|
||||
Schedulable = 2,
|
||||
NonSchedulable = 3,
|
||||
Customer = 4,
|
||||
HeadOffice = 5,
|
||||
Utility = 6, Subcontractor = 7 */
|
||||
Service = 1,
|
||||
NotService = 2,
|
||||
Customer = 3,
|
||||
HeadOffice = 4,
|
||||
ServiceContractor = 5 */
|
||||
return (
|
||||
window.$gz.store.state.userType == 1 ||
|
||||
window.$gz.store.state.userType == 2 ||
|
||||
window.$gz.store.state.userType == 3
|
||||
window.$gz.store.state.userType == 2
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user