haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { FormSOP } from '../../libappsop/formsop';
import { ListSOP } from '../../libappsop/listsop';
import { DialogOperationFeedback } from '../dialogs/dialog.operationfeedback';
 
export class FormOperationFeedback extends FormSOP {
  public listOperationFeedback = new ListOperationFeedback();
 
  public constructor() {
    super('FormFeedbackOperations');
  }
}
 
export class ListOperationFeedback extends ListSOP<DialogOperationFeedback, ListOperationFeedbackColumn> {
  public static readonly title = 'Operation Feedback';
 
  public constructor() {
    super('FormFeedbackOperations.ListFeedbackOperations', new DialogOperationFeedback());
 
    // Set primary key column name(s), to display in error message when assert fails
    this.rowPrimaryColumnNames = { Unit: '', Routing: '', 'Routing Step': '' };
  }
}
 
export interface ListOperationFeedbackColumn {
  'All constraints'?: string;
  Routing?: string;
  'Routing Step'?: string;
  Unit?: string;
  Date?: string;
  Quantity?: string;
  Description?: string;
}
 
const listOperationFeedbackContextMenuItem = {
  Create: { ContextMenu: 'listContextMenuFeedbackOperations', Name: 'MenuCreate', Label: 'Create' },
};
 
export { listOperationFeedbackContextMenuItem as ListOperationFeedbackContextMenuItem };