Final (?) de-widgetification
This commit is contained in:
@@ -2,7 +2,7 @@ export default {
|
||||
NoType: 0,
|
||||
Global: 1,
|
||||
//corebizobject
|
||||
Widget: 2,
|
||||
UNUSED_2: 2,
|
||||
//corebizobject
|
||||
User: 3,
|
||||
ServerState: 4,
|
||||
|
||||
@@ -98,7 +98,6 @@ export default {
|
||||
GlobalOps: { Change: 16384, ReadFullRecord: 8192, Select: 0 },
|
||||
User: { Change: 2, ReadFullRecord: 1, Select: 131071 },
|
||||
UserOptions: { Change: 2, ReadFullRecord: 1, Select: 0 },
|
||||
Widget: { Change: 34, ReadFullRecord: 17, Select: 131071 },
|
||||
ServerState: { Change: 16384, ReadFullRecord: 131071, Select: 0 },
|
||||
License: { Change: 2, ReadFullRecord: 1, Select: 0 },
|
||||
TrialSeeder: { Change: 16386, ReadFullRecord: 8193, Select: 0 },
|
||||
|
||||
@@ -487,7 +487,6 @@ export default {
|
||||
///////////////////////////////
|
||||
// USER REQUIRED FIELDS
|
||||
// (Fields defined by AyaNova users as required on form that are not stock required already)
|
||||
// (was using this in testing on widget form notes field but not sure where else it's applicable)
|
||||
userRequiredFields(vm, ref, formCustomTemplateFieldName) {
|
||||
if (vm.formState.loading) {
|
||||
return true;
|
||||
@@ -542,14 +541,6 @@ export default {
|
||||
// For now the only rule is that they can be required or not
|
||||
//
|
||||
customFieldsCheck(vm, templateItem, subvm, fieldName) {
|
||||
//templateItem sample
|
||||
// dataKey: "c2"
|
||||
// fld: "WidgetCustom2"
|
||||
// hide: "false"
|
||||
// required: true
|
||||
// type: "text"
|
||||
// debugger;
|
||||
|
||||
if (vm.formState.loading) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -419,8 +419,6 @@ export default {
|
||||
return "$ayiGenderless";
|
||||
case window.$gz.type.Global:
|
||||
return "$ayiGlobe";
|
||||
case window.$gz.type.Widget:
|
||||
return "$ayiVial";
|
||||
case window.$gz.type.User:
|
||||
return "$ayiUser";
|
||||
case window.$gz.type.ServerState:
|
||||
|
||||
@@ -727,11 +727,6 @@ function initNavPanel() {
|
||||
addNavItem("Operations", "$ayiServer", undefined, sub, key++, "operations");
|
||||
}
|
||||
|
||||
// //############ WIDGETS (TOP GROUP)
|
||||
// if (window.$gz.role.canOpen(window.$gz.type.Widget)) {
|
||||
// addNavItem("WidgetList", "$ayiVial", "/widgets", [], key++, "widgets");
|
||||
// }
|
||||
|
||||
//*** EVALUATION active trial license should always go to evaluation as home page
|
||||
//as long as they are a normal User type and not a subcontractor type
|
||||
if (
|
||||
|
||||
@@ -219,12 +219,7 @@ export default {
|
||||
params: { recordid: tid.id }
|
||||
});
|
||||
break;
|
||||
case ayatype.Widget:
|
||||
vm.$router.push({
|
||||
name: "widget-edit",
|
||||
params: { recordid: tid.id }
|
||||
});
|
||||
break;
|
||||
|
||||
case ayatype.User:
|
||||
//Is it an "Inside" user (staff or subcontractor)
|
||||
//or an "outside" user (customer or headoffice)
|
||||
|
||||
@@ -169,7 +169,6 @@ export default {
|
||||
"PartInventoryTransactionList",
|
||||
"PartWarehouseList",
|
||||
"PurchaseOrderUIRestockList",
|
||||
"WidgetList",
|
||||
"VendorList",
|
||||
"AdministrationGlobalSettings",
|
||||
"HelpLicense",
|
||||
|
||||
Reference in New Issue
Block a user