|
@@ -44,78 +44,116 @@ export const asyncRouterMap = [{
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/FinancialManagement',
|
|
|
- name: 'FinancialManagement',
|
|
|
- component: PageView,
|
|
|
- meta: { title: '财务管理', icon: 'account-book', permission: 'M_cwgn' },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'LedgerRecords/list',
|
|
|
- name: 'LedgerRecords',
|
|
|
- component: () => import(/* webpackChunkName: "FinancialManagement" */ '@/views/FinancialManagement/LedgerRecords.vue'),
|
|
|
- meta: { title: '分账记录', icon: 'form' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'CashOutManagement/list',
|
|
|
- name: 'CashOutManagement',
|
|
|
- component: () => import(/* webpackChunkName: "FinancialManagement" */ '@/views/FinancialManagement/CashOutManagement.vue'),
|
|
|
- meta: { title: '提现管理', icon: 'property-safety' }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ /**
|
|
|
+ * 之后迭代版本可能有用
|
|
|
+ */
|
|
|
+ // {
|
|
|
+ // path: '/FinancialManagement',
|
|
|
+ // name: 'FinancialManagement',
|
|
|
+ // component: PageView,
|
|
|
+ // meta: { title: '财务管理', icon: 'account-book', permission: 'M_cwgn' },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'LedgerRecords/list',
|
|
|
+ // name: 'LedgerRecords',
|
|
|
+ // component: () => import(/* webpackChunkName: "FinancialManagement" */ '@/views/FinancialManagement/LedgerRecords.vue'),
|
|
|
+ // meta: { title: '分账记录', icon: 'form' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'CashOutManagement/list',
|
|
|
+ // name: 'CashOutManagement',
|
|
|
+ // component: () => import(/* webpackChunkName: "FinancialManagement" */ '@/views/FinancialManagement/CashOutManagement.vue'),
|
|
|
+ // meta: { title: '提现管理', icon: 'property-safety' }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/storehouseManagement',
|
|
|
name: 'storehouseManagement',
|
|
|
component: PageView,
|
|
|
meta: { title: '卫星仓管理', icon: 'switcher' },
|
|
|
children: [
|
|
|
- {
|
|
|
- path: 'StockSearch/list',
|
|
|
- name: 'StockSearch',
|
|
|
- component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/storehouseManagement/StockSearch.vue'),
|
|
|
- meta: { title: '库存查询', icon: 'security-scan' }
|
|
|
- },
|
|
|
+ /**
|
|
|
+ * 之后迭代版本可能有用
|
|
|
+ */
|
|
|
+ // {
|
|
|
+ // path: 'StockSearch/list',
|
|
|
+ // name: 'StockSearch',
|
|
|
+ // component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/storehouseManagement/StockSearch.vue'),
|
|
|
+ // meta: { title: '库存查询', icon: 'security-scan' }
|
|
|
+ // },
|
|
|
{
|
|
|
path: 'storeBind/list',
|
|
|
name: 'StoreBind',
|
|
|
component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/storehouseManagement/storeBind/StoreBindList.vue'),
|
|
|
- meta: { title: '卫星仓绑定', icon: 'security-scan' }
|
|
|
+ meta: { title: '卫星仓绑定', icon: 'block' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'customerInfo/list',
|
|
|
+ name: 'CustomerList',
|
|
|
+ component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/storehouseManagement/customerInfo/CustomerList.vue'),
|
|
|
+ meta: { title: '客户信息', icon: 'idcard' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'productInfo/list',
|
|
|
+ name: 'ProductList',
|
|
|
+ component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/storehouseManagement/productInfo/ProductList.vue'),
|
|
|
+ meta: { title: '产品信息', icon: 'profile' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/supplierManagement',
|
|
|
+ name: 'supplierManagement',
|
|
|
+ component: PageView,
|
|
|
+ meta: { title: '供应商管理', icon: 'switcher' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'supplierList',
|
|
|
+ name: 'SupplierList',
|
|
|
+ component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/supplierManagement/SupplierList.vue'),
|
|
|
+ meta: { title: '供应商信息', icon: 'security-scan' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'organization',
|
|
|
+ name: 'Organization',
|
|
|
+ component: () => import(/* webpackChunkName: "storehouseManagement" */ '@/views/supplierManagement/Organization.vue'),
|
|
|
+ meta: { title: '组织机构', icon: 'security-scan' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/auth',
|
|
|
+ redirect: '/auth/userList',
|
|
|
+ component: PageView,
|
|
|
+ meta: {
|
|
|
+ title: '运营平台权限管理',
|
|
|
+ icon: 'apartment',
|
|
|
+ permission: 'M_power_auth'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/auth/userList',
|
|
|
+ name: 'powerUserList',
|
|
|
+ component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ icon: 'user',
|
|
|
+ permission: 'M_power_user_list'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/auth/roleList',
|
|
|
+ name: 'powerRoleList',
|
|
|
+ component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '角色管理',
|
|
|
+ icon: 'solution',
|
|
|
+ permission: 'M_power_role_list'
|
|
|
+ }
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
- // {
|
|
|
- // path: '/auth',
|
|
|
- // redirect: '/auth/userList',
|
|
|
- // component: PageView,
|
|
|
- // meta: {
|
|
|
- // title: '运营平台权限管理',
|
|
|
- // icon: 'apartment',
|
|
|
- // permission: 'M_power_auth'
|
|
|
- // },
|
|
|
- // children: [
|
|
|
- // {
|
|
|
- // path: '/auth/userList',
|
|
|
- // name: 'powerUserList',
|
|
|
- // component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
|
|
|
- // meta: {
|
|
|
- // title: '用户管理',
|
|
|
- // icon: 'user',
|
|
|
- // permission: 'M_power_user_list'
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/auth/roleList',
|
|
|
- // name: 'powerRoleList',
|
|
|
- // component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
|
|
|
- // meta: {
|
|
|
- // title: '角色管理',
|
|
|
- // icon: 'solution',
|
|
|
- // permission: 'M_power_role_list'
|
|
|
- // }
|
|
|
- // }
|
|
|
- // ]
|
|
|
- // }
|
|
|
]
|
|
|
},
|
|
|
{
|