This commit is contained in:
2021-02-01 15:58:07 +00:00
parent dcabdc1fe1
commit f698d5fc72
8 changed files with 10 additions and 205 deletions

View File

@@ -1005,201 +1005,6 @@ xaworkorderstatus
//---------------------------------------------------------------------------------------------
NoType = 0,
Global = 1,
[CoreBizObject]
Widget = 2,
[CoreBizObject]
User = 3,
ServerState = 4,
License = 5,
LogFile = 6,
PickListTemplate = 7,
[CoreBizObject]
Customer = 8,
ServerJob = 9,
[CoreBizObject]
Contract = 10,
TrialSeeder = 11,
ServerMetrics = 12,
Translation = 13,
UserOptions = 14,
[CoreBizObject]
HeadOffice = 15,
[CoreBizObject]
LoanUnit = 16,
FileAttachment = 17,
DataListView = 18,
FormCustom = 19,
[CoreBizObject]
Part = 20,
[CoreBizObject]
PM = 21,
[CoreBizObject]
PMItem = 22,
[CoreBizObject]
PMTemplate = 23,
[CoreBizObject]
PMTemplateItem = 24,
[CoreBizObject]
Project = 25,
[CoreBizObject]
PurchaseOrder = 26,
[CoreBizObject]
Quote = 27,
[CoreBizObject]
QuoteItem = 28,
[CoreBizObject]
QuoteTemplate = 29,
[CoreBizObject]
QuoteTemplateItem = 30,
[CoreBizObject]
Unit = 31,
[CoreBizObject]
UnitModel = 32,
[CoreBizObject]
Vendor = 33,
//--- WorkOrder
[CoreBizObject]
WorkOrder = 34,
[CoreBizObject]
WorkOrderItem = 35,
[CoreBizObject]
WorkOrderItemExpense = 36,
[CoreBizObject]
WorkOrderItemLabor = 37,
[CoreBizObject]
WorkOrderItemLoan = 38,
[CoreBizObject]
WorkOrderItemPart = 39,
[CoreBizObject]
WorkOrderItemPartRequest = 40,
[CoreBizObject]
WorkOrderItemScheduledUser = 41,
[CoreBizObject]
WorkOrderItemTask = 42,
[CoreBizObject]
WorkOrderItemTravel = 43,
[CoreBizObject]
WorkOrderItemUnit = 44,
//---
[CoreBizObject]
WorkOrderTemplate = 45,
[CoreBizObject]
WorkOrderTemplateItem = 46,
GlobalOps = 47,
BizMetrics = 48,
Backup = 49,
Notification = 50,
NotifySubscription = 51,
Reminder = 52,
UnitMeterReading = 53,
CustomerServiceRequest = 54,
ServiceBank = 55,
OpsNotificationSettings = 56,
Report = 57,
DashboardView=58
[Description("LT:O.Nothing")] Nothing = 0,
[Description("LT:O.Global")] Global = 1,
[Description("LT:O.Region")] Region = 2,
[Description("LT:O.Client")] Client = 3,
[Description("LT:O.Vendor")] Vendor = 4,
[Description("LT:O.HeadOffice")] HeadOffice = 5,
[Description("LT:O.RentalUnit")] RentalUnit = 6,
[Description("LT:O.Unit")] Unit = 7,
[Description("LT:O.UnitModel")] UnitModel = 8,
[Description("LT:O.Workorder")] Workorder = 9,
[Description("LT:O.WorkorderItem")] WorkorderItem = 10,
[Description("LT:O.UserSkillAssigned")] UserSkillAssigned = 11,
[Description("LT:O.UserCertificationAssigned")] UserCertificationAssigned = 12,
[Description("LT:O.User")] User = 13,
[Description("LT:O.Part")] Part = 14,
[Description("LT:O.LoanItem")] LoanItem = 15,
[Description("LT:O.DispatchZone")] DispatchZone = 16,
[Description("LT:O.Rate")] Rate = 17,
[Description("LT:O.Contract")] Contract = 18,
[Description("LT:O.Project")] Project = 19,
[Description("LT:O.PurchaseOrder")] PurchaseOrder = 20,
[Description("LT:O.ClientGroup")] ClientGroup = 21,
[Description("LT:O.WorkorderCategory")] WorkorderCategory = 22,
[Description("LT:O.WorkorderItemScheduledUser")] WorkorderItemScheduledUser = 23,
[Description("LT:O.WorkorderItemOutsideService")] WorkorderItemOutsideService = 24,
[Description("LT:O.WorkorderItemPart")] WorkorderItemPart = 25,
[Description("LT:O.WorkorderItemLabor")] WorkorderItemLabor = 26,
[Description("LT:O.WorkorderItemTravel")] WorkorderItemTravel = 27,
[Description("LT:O.WorkorderItemMiscExpense")] WorkorderItemMiscExpense = 28,
[Description("LT:O.WorkorderItemPartRequest")] WorkorderItemPartRequest = 29,
[Description("LT:O.WorkorderItemLoan")] WorkorderItemLoan = 30,
[Description("LT:O.ClientNote")] ClientNote = 31,
[Description("LT:O.ServiceBank")] ServiceBank = 32,
[Description("LT:O.WorkorderQuote")] WorkorderQuote = 33,
[Description("LT:O.WorkorderService")] WorkorderService = 34,
[Description("LT:O.AssignedDoc")] AssignedDocument = 35,
[Description("LT:O.PartWarehouse")] PartWarehouse = 36,
[Description("LT:O.UnitMeterReading")] UnitMeterReading = 37,
[Description("LT:O.UnitModelCategory")] UnitModelCategory = 38,
[Description("LT:O.Locale")] Locale = 39,
[Description("LT:O.SearchResult")] SearchResult = 40,
[Description("LT:O.WorkorderItemType")] WorkorderItemType = 41,
[Description("LT:O.UnitServiceType")] UnitServiceType = 42,
[Description("LT:O.PartAssembly")] PartAssembly = 43,
[Description("LT:O.AyaFile")] AyaFile = 44,//case 73
[Description("LT:O.Contact")] Contact = 45,
[Description("LT:O.ContactPhone")] ContactPhone = 46,
[Description("LT:O.WorkorderPreventiveMaintenance")] WorkorderPreventiveMaintenance = 47,
[Description("LT:O.TaskGroup")] TaskGroup = 48,
[Description("LT:O.ScheduleMarker")] ScheduleMarker = 49,
[Description("LT:O.ClientServiceRequest")] ClientServiceRequest = 50,
[Description("LT:O.ScheduleableUserGroup")] ScheduleableUserGroup = 51,
[Description("LT:O.Task")] Task = 52,
[Description("LT:O.Memo")] Memo = 53,
[Description("LT:O.PartCategory")] PartCategory=54,
[Description("LT:O.UnitOfMeasure")] UnitOfMeasure=55,
[Description("LT:O.TaxCode")] TaxCode=56,
[Description("LT:O.PartSerial")] PartSerial = 57,
[Description("LT:O.PartInventoryAdjustment")] PartInventoryAdjustment = 58,
[Description("LT:O.PartInventoryAdjustmentItem")] PartInventoryAdjustmentItem = 59,
[Description("LT:O.Priority")] Priority=60,
[Description("LT:O.UserSkill")] UserSkill=61,
[Description("LT:O.WorkorderStatus")] WorkorderStatus=62,
[Description("LT:O.UserCertification")] UserCertification=63,
[Description("LT:O.ClientNoteType")] ClientNoteType=64,
[Description("LT:O.SecurityGroup")] SecurityGroup=65,
[Description("LT:O.PurchaseOrderReceiptItem")] PurchaseOrderReceiptItem=66,
[Description("LT:O.PartByWarehouseInventory")] PartByWarehouseInventory=67,
[Description("LT:O.Report")] Report=68,
[Description("LT:O.WorkorderQuoteTemplate")]
WorkorderQuoteTemplate = 69,
[Description("LT:O.WorkorderServiceTemplate")]
WorkorderServiceTemplate = 70,
[Description("LT:O.WorkorderPreventiveMaintenanceTemplate")]
WorkorderPreventiveMaintenanceTemplate = 71,
[Description("LT:O.WikiPage")]//case 73
WikiPage = 72,
[Description("LT:O.GridFilter")]//case 941
GridFilter = 73,
[Description("LT:O.NotifySubscription")]//case 941
NotifySubscription = 74,
[Description("LT:O.PurchaseOrderReceipt")]//case 941
PurchaseOrderReceipt = 75,
[Description("LT:O.Notification")]//case 1172
Notification = 76,
[Description("LT:UI.Go.Schedule")]//case 812
Schedule = 77,
[Description("LT:O.WorkorderItemTask")]//case 1317
WorkorderItemTask = 78,
[Description("LT:O.WorkorderItemUnit")]//case 1317
WorkorderItemUnit = 79,
[Description("LT:ScheduleMarker.Label.FollowUp")]//case 1975
FollowUp = 80
------------------------------------------------------------------------------------------
POST "REALITY" OR IN PARALLEL "REALITY" related items:

View File

@@ -23,7 +23,7 @@ export default {
//corebizobject
LoanUnit: 16,
FileAttachment: 17,
DataListView: 18,
DataListSavedFilter: 18,
FormCustom: 19,
//corebizobject
Part: 20,

View File

@@ -71,7 +71,7 @@ export default {
OpsNotificationSettings: { Change: 16384, ReadFullRecord: 8195, Select: 0 },
ServerMetrics: { Change: 16384, ReadFullRecord: 24576, Select: 0 },
Translation: { Change: 2, ReadFullRecord: 1, Select: 131071 },
DataListView: { Change: 2, ReadFullRecord: 131071, Select: 0 },
DataListSavedFilter: { Change: 2, ReadFullRecord: 131071, Select: 0 },
FormCustom: { Change: 2, ReadFullRecord: 131071, Select: 0 },
PickListTemplate: { Change: 2, ReadFullRecord: 131071, Select: 0 },
BizMetrics: { Change: 2, ReadFullRecord: 98369, Select: 0 },

View File

@@ -34,7 +34,7 @@ export default {
window.$gz.type.ServerMetrics,
window.$gz.type.UserOptions,
window.$gz.type.FormCustom,
window.$gz.type.DataListView,
window.$gz.type.DataListSavedFilter,
window.$gz.type.GlobalOps,
window.$gz.type.BizMetrics,
window.$gz.type.Backup,

View File

@@ -395,7 +395,7 @@ export default {
return "$ayiPlug";
case window.$gz.type.FileAttachment:
return "$ayiPaperclip";
case window.$gz.type.DataListView:
case window.$gz.type.DataListSavedFilter:
return "$ayiFilter";
case window.$gz.type.FormCustom:
return "$ayiCustomize";

View File

@@ -259,7 +259,7 @@ export default {
"RowsPerPage",
"PageOfPageText",
"Loading",
"DataListView",
"Filter",
"FilterUnsaved",
"Heading",
"Table",

View File

@@ -9,7 +9,7 @@
:items="selectLists.listViews"
item-text="name"
item-value="id"
:label="$ay.t('DataListView')"
:label="$ay.t('Filter')"
@input="listViewChanged"
data-cy="selectlistview"
>
@@ -21,7 +21,7 @@
</v-btn>
<v-btn class="ml-12" @click="editListView">
<v-icon data-cy="filter">$ayiFilter</v-icon>
<v-icon data-cy="filter">$ayiColumns</v-icon>
</v-btn>
</div>
</v-card-title>

View File

@@ -306,8 +306,8 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
readOnly: vm.formState.readOnly,
icon: "$ayiFilter",
title: "DataListView",
icon: "$ayiColumns",
title: "Columns",
helpUrl: "form-ay-data-list-column-view",
formData: {
ayaType: window.$gz.type.FormCustom,
@@ -354,7 +354,7 @@ async function initForm(vm) {
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations([
"ResetToDefault",
"DataListView",
"Columns",
"Include"
]);
}