@boxizen
2019-04-22T16:08:30.000000Z
字数 758
阅读 523
kube
属性
系统 JSONMAP 配置包含以下5部分内容:
示例
{
"theme": {
"mode": "KgAdmin",
"name": "数据分析平台",
"logo": ""
},
"menu": [{
"icon": "el-icon-location",
"title": "事件管理",
"name": "event-manage"
}],
"pages": [{
"name": "event-manage",
"components": [],
"events": [{
"name": "apiBase",
"type": "ajax",
"url": "//kd.kg.oa.com/kubeapiv2",
"method": "POST"
}, {
"name": "reloadEvtList",
"type": "listener",
"fn": "async function fn(options) {}"
}],
"variables": {
"evtListOption": {
"nodeid": "db_5eefb4b906f8dc464733da98485fe4e9",
"action": "filterList"
}
}
}
{
"mode": "Button",
"modeid": "btnAdd",
"style": {
"display": "block",
"border": "1px dashed #e3e3e3",
"width": "100%",
"marginTop": "20px"
},
"label": "添加自定义参数",
"onclick": "function fn() {}"
}