Commit 725aaf16 by cwq0219

appMarket

1 parent 81ffb36a
// 创建 el-menu-item
export function elMenuItem(createElement, menu) {
return createElement('el-menu-item', { props: { index: menu.path } }, [
return menu.sideHidden ? '' : createElement('el-menu-item', { props: { index: menu.path } }, [
...menu.icon ? [
createElement('i', { attrs: { class: `el-icon-${menu.icon}` } })
] : [],
......
......@@ -129,7 +129,7 @@ export const resources = {
handle: 'handleImport'
}],
component: _import('device/device')
}
},
// '104': {
// path: '/user',
// icon: 'user-solid',
......@@ -188,40 +188,41 @@ export const resources = {
// },
// component: _import('apiManage/apiRecord')
// }
// '106': {
// path: '/appMarket',
// icon: 'document-copy',
// name: 'appMarket',
// meta: {
// title: 'APP营销管理',
// authId: '106',
// parentId: '0',
// cache: true
// },
// auth: [{
// authId: '10601',
// parentId: '106',
// label: '新增',
// category: 'Button',
// type: 'primary',
// handle: 'handleAdd'
// }, {
// authId: '10602',
// parentId: '106',
// label: '编辑',
// handle: 'handleEdit'
// }, {
// authId: '10603',
// parentId: '106',
// label: '下架',
// handle: 'handleUpOrDown',
// ruleObj: {
// attr: 'status',
// rule: { 0: '上架', 1: '下架' }
// }
// }],
// component: _import('appMarket/appMarket')
// }
'106': {
path: '/appMarket',
icon: 'document-copy',
name: 'appMarket',
meta: {
title: 'APP营销管理',
authId: '106',
parentId: '0',
cache: true,
sideHidden: true
},
auth: [{
authId: '10601',
parentId: '106',
label: '新增',
category: 'Button',
type: 'primary',
handle: 'handleAdd'
}, {
authId: '10602',
parentId: '106',
label: '编辑',
handle: 'handleEdit'
}, {
authId: '10603',
parentId: '106',
label: '下架',
handle: 'handleUpOrDown',
ruleObj: {
attr: 'status',
rule: { 0: '上架', 1: '下架' }
}
}],
component: _import('appMarket/appMarket')
}
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!