forked from golang/hotime
47 lines
2.3 KiB
JSON
47 lines
2.3 KiB
JSON
{
|
|
"name":"HoTimeDashBoard",
|
|
"ID": "2f92h3herh23rh2y8",
|
|
"label":"HoTime管理平台",
|
|
"menu":[
|
|
{"label":"平台首页", "name":"HelloWorld", "icon": "el-icon-s-home"},
|
|
{"label":"测试表格", "table":"table", "icon": "el-icon-suitcase"},
|
|
{"label":"系统管理", "name":"setting","icon": "el-icon-setting",
|
|
"menu":[
|
|
{"label":"用户管理", "table":"user"},
|
|
{"label":"组织管理", "table":"organization"},
|
|
{"label":"角色管理", "table":"role"},
|
|
{"label":"系统设置", "table":"system", "default": "edit"}
|
|
]
|
|
}
|
|
],
|
|
"tables": [
|
|
{"label":"用户管理",
|
|
"table":"user",
|
|
"auth":["add", "delete", "edit", "info"],
|
|
"columns": [
|
|
{"name": "id", "type": "int", "label": "ID","add":false, "info": false, "edit": false, "list": true,"must": false},
|
|
{"name": "password", "type": "password", "label": "密码","add":true, "info": true, "edit": true, "list": false, "must": true},
|
|
{"name": "date", "type": "date", "label": "注册日期", "add":true, "info": true, "edit": true, "list": true, "must": true,"sortable": true},
|
|
{"name": "role_id", "type": "text", "label": "角色","value": "role.name", "link": "role","add":true, "info": true, "edit": true, "list": true, "must": true},
|
|
{"name": "organization_id","link": "organization", "type": "checkbox","value": "organization.name",
|
|
"label": "组织","add":true, "info": true, "edit": true, "list": true,"must": true},
|
|
{"name": "state", "type": "state", "label": "状态","add":true, "info": true, "edit": true, "list": true, "must": true,
|
|
"option":[
|
|
{"name":"正常", "value":0},
|
|
{"name":"异常", "value":1},
|
|
{"name":"全部", "value":null}]}
|
|
],
|
|
"search":[
|
|
{"type": "tree", "name": "oid","label": "组织","table": "organization","showName": "label","children": "children"},
|
|
{"type": "text", "name":"keyword", "label":"请输入关键词", "value": null},
|
|
{"type": "date", "name":"date", "label":"时间段", "value": null},
|
|
{"type": "select", "name":"state", "label":"状态", "value": null,
|
|
"option":[
|
|
{"name":"正常", "value":0},
|
|
{"name":"异常", "value":1},
|
|
{"name":"全部", "value":null}]}
|
|
]
|
|
}
|
|
]
|
|
}
|