|
@@ -186,6 +186,19 @@ export class DataDealService {
|
|
|
},
|
|
|
{
|
|
|
order_num: 9,
|
|
|
+ name: '服务管理',
|
|
|
+ route_name: 'center_service',
|
|
|
+ i18n_code: 'menus.center_service',
|
|
|
+ path: '/center/service',
|
|
|
+ component: '/center/service',
|
|
|
+ type: '1',
|
|
|
+ config: [],
|
|
|
+ is_default: '0',
|
|
|
+ is_use: '0',
|
|
|
+ icon: 'TakeawayBox',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ order_num: 10,
|
|
|
name: '赛事管理',
|
|
|
route_name: 'center_match',
|
|
|
i18n_code: 'menus.center_match',
|
|
@@ -198,7 +211,7 @@ export class DataDealService {
|
|
|
icon: 'CollectionTag',
|
|
|
},
|
|
|
{
|
|
|
- order_num: 10,
|
|
|
+ order_num: 11,
|
|
|
name: '活动管理',
|
|
|
route_name: 'center_sign',
|
|
|
i18n_code: 'menus.center_sign',
|
|
@@ -211,7 +224,7 @@ export class DataDealService {
|
|
|
icon: 'Suitcase',
|
|
|
},
|
|
|
{
|
|
|
- order_num: 11,
|
|
|
+ order_num: 12,
|
|
|
name: '产研行研',
|
|
|
route_name: 'center_journal',
|
|
|
i18n_code: 'menus.center_journal',
|
|
@@ -263,9 +276,9 @@ export class DataDealService {
|
|
|
const justCommonRole = ['User', 'Association', 'Investment', 'State'];
|
|
|
await this.Role.update({ code: In(justCommonRole) }, { menu: common });
|
|
|
|
|
|
- const menus1 = [...common, 'center_news2', 'center_demand', 'center_supply', 'center_achievement', 'center_project', 'center_footplate'];
|
|
|
+ const menus1 = [...common, 'center_news2', 'center_demand', 'center_supply', 'center_achievement', 'center_project', 'center_footplate', 'center_service'];
|
|
|
|
|
|
- const roleUseMenus1 = ['Expert', 'Unit', 'Incubator', 'Company', 'GX'];
|
|
|
+ const roleUseMenus1 = ['Expert', 'Unit', 'Incubator', 'Company', 'YX'];
|
|
|
await this.Role.update({ code: In(roleUseMenus1) }, { menu: menus1 });
|
|
|
|
|
|
const MatchRole = common.filter(f => f != 'center_sign');
|