notify-index-view-appmenu-model.ts 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/**
 * NotifyIndexView 部件模型
 *
 * @export
 * @class NotifyIndexViewModel
 */
export default class NotifyIndexViewModel {

    /**
     * 菜单项集合
     *
     * @public
     * @type {any[]}
     * @memberof NotifyIndexViewModel
     */
    public items: any[] = [
        {
18
	id: '46e30d9996c90c9d617fdc7d75936058',
19 20 21 22 23 24 25 26 27 28 29 30 31
	name: 'menuitem1',
	text: '接入第三方平台',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '接入第三方平台',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-ioxhost',
	icon: '',
	textcls: '',
32
	appfunctag: 'Auto2',
33 34 35 36
	resourcetag: '',
	authtag:'web-NotifyIndexView-menuitem1',
},
        {
37
	id: 'bb418fcd75aff6e293b7b8b416bb01ce',
38 39 40 41 42 43 44 45 46 47 48 49 50
	name: 'menuitem2',
	text: '消息模板',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '消息模板',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list-alt',
	icon: '',
	textcls: '',
51
	appfunctag: 'Auto1',
52 53
	resourcetag: '',
	authtag:'web-NotifyIndexView-menuitem2',
54 55
},
        {
56
	id: '6199646ee62aeb492996a780d1c3365f',
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
	name: 'menuitem3',
	text: '消息账户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '消息账户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-user',
	icon: '',
	textcls: '',
	appfunctag: 'Auto3',
	resourcetag: '',
	authtag:'web-NotifyIndexView-menuitem3',
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
},
    ];

	/**
	 * 应用功能集合
	 *
	 * @public
	 * @type {any[]}
	 * @memberof NotifyIndexViewModel
	 */
	public funcs: any[] = [
	];

    /**
     * 获取所有菜单项集合
     *
     * @returns {any[]}
     * @memberof NotifyIndexViewModel
     */
    public getAppMenuItems(): any[] {
        return this.items;
    }

    /**
     * 获取所有应用功能集合
     *
     * @returns {any[]}
     * @memberof NotifyIndexViewModel
     */
    public getAppFuncs(): any[] {
        return this.funcs;
    }
}