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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
* AppIndexView 部件模型
*
* @export
* @class AppIndexViewModel
*/
export default class AppIndexViewModel {
/**
* 菜单项集合
*
* @private
* @type {any[]}
* @memberof AppIndexViewModel
*/
private items: any[] = [
{
id: '801bacb689744f3de00c39b84618cbf5',
name: 'menuitem1',
text: '采购单',
type: 'MENUITEM',
counterid: '',
tooltip: '采购单',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto1',
resourcetag: '',
},
];
/**
* 应用功能集合
*
* @private
* @type {any[]}
* @memberof AppIndexViewModel
*/
private funcs: any[] = [
];
/**
* 获取所有菜单项集合
*
* @returns {any[]}
* @memberof AppIndexViewModel
*/
public getAppMenuItems(): any[] {
return this.items;
}
/**
* 获取所有应用功能集合
*
* @returns {any[]}
* @memberof AppIndexViewModel
*/
public getAppFuncs(): any[] {
return this.funcs;
}
}