Commit d8a02256 by 牛晓林

添加菜单

parent 7d09a2a7
......@@ -43,9 +43,16 @@ import { DeviceComponent } from "./identity-manager/device/device.component";
import { UserComponent } from "./identity-manager/user/user.component";
import { TypeComponent } from "./identity-manager/type/type.component";
import { VendorComponent } from "./canon/vendor/vendor.component";
import { SharedModule } from '@shared';
import { AssetsCateComponent } from './assets-info/assets-cate/assets-cate.component';
import { AssetsLeaseHouseComponent } from './assets-lease/house/house.component';
import { BusinessComponent } from './single-machine/business/business.component';
@NgModule({
declarations: [
BusinessComponent,
AssetsLeaseHouseComponent ,
AssetsCateComponent,
FixedAssetsComponent,
CateFixedAssetsComponent,
HouseComponent,
......@@ -88,6 +95,6 @@ import { VendorComponent } from "./canon/vendor/vendor.component";
TypeComponent,
VendorComponent
],
imports: [CommonModule, FixedAssetsRoutingModule]
imports: [SharedModule, FixedAssetsRoutingModule]
})
export class FixedAssetsModule {}
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { RouterModule } from "@angular/router";
@NgModule({
declarations: [],
imports: [CommonModule, RouterModule],
exports: [CommonModule, RouterModule]
})
export class ShareModule {}
......@@ -10,13 +10,90 @@
},
"menu": [
{
"text":"导航",
"group": true,
"hideInBreadcrumb": true,
"icon": "anticon anticon-dashboard",
"children":[ {
"text": "用户中心",
"link": "/usercenter",
"children":[
{
"text":"个人中心"
},
{
"text":"事务管理"
},
{
"text":"信息中心"
}
]
},
{
"text": "无形资产",
"link": "/dashboard/v1",
"children":[
]
}
,{
"text": "(类)固定资产",
"link": "/dashboard/v1",
"children":[
{
"text":"固定资产台账",
"link":"/admin/fixed-assets/assets-info/cate-fixed-assets"
}
]
}
,{
"text": "周转材料低值易耗",
"link": "/dashboard/v1",
"children":[
]
}
,{
"text": "产权管理",
"link": "/dashboard/v1",
"children":[
]
}
,{
"text": "数据分析与展示",
"link": "/dashboard/v1",
"children":[
]
},{
"text": "文件资料",
"link": "/dashboard/v1",
"children":[
]
},{
"text": "系统设置",
"link": "/dashboard/v1",
"children":[
]
}
]
},
{
"text": "主导航",
"i18n": "menu.main",
"group": true,
"hideInBreadcrumb": true,
"children": [
{
"text": "仪表盘",
"text": " 用户中心",
"i18n": "menu.dashboard",
"icon": "anticon anticon-dashboard",
"children": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment