生成代码,逐步进行优化
This commit is contained in:
@@ -1,107 +0,0 @@
|
||||
{
|
||||
"id": "bc662f6bf19a1f3f269045167a2f273d",
|
||||
"label": "HoTime管理平台",
|
||||
"menu": [
|
||||
{
|
||||
"icon": "el-icon-s-home",
|
||||
"label": "平台首页",
|
||||
"name": "HelloWorld"
|
||||
},
|
||||
{
|
||||
"icon": "el-icon-suitcase",
|
||||
"label": "测试表格",
|
||||
"table": "table"
|
||||
},
|
||||
{
|
||||
"icon": "el-icon-setting",
|
||||
"label": "系统管理",
|
||||
"menu": [
|
||||
{
|
||||
"label": "用户管理",
|
||||
"table": "user"
|
||||
},
|
||||
{
|
||||
"label": "组织管理",
|
||||
"table": "organization"
|
||||
},
|
||||
{
|
||||
"label": "角色管理",
|
||||
"table": "role"
|
||||
},
|
||||
{
|
||||
"default": "edit",
|
||||
"label": "系统设置",
|
||||
"table": "system"
|
||||
}
|
||||
],
|
||||
"name": "setting"
|
||||
}
|
||||
],
|
||||
"name": "HoTimeDashBoard",
|
||||
"tables": [
|
||||
{
|
||||
"auth": [
|
||||
"add",
|
||||
"delete",
|
||||
"edit",
|
||||
"info"
|
||||
],
|
||||
"columns": [
|
||||
{
|
||||
"label": "备注",
|
||||
"must": false,
|
||||
"name": "id",
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"label": "备注",
|
||||
"must": false,
|
||||
"name": "name",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"label": "备注",
|
||||
"must": false,
|
||||
"name": "age",
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"label": "备注",
|
||||
"search": [
|
||||
{
|
||||
"label": "请输入关键词",
|
||||
"name": "keyword",
|
||||
"type": "text",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"label": "时间段",
|
||||
"name": "date",
|
||||
"type": "date",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"label": "状态",
|
||||
"name": "state",
|
||||
"option": [
|
||||
{
|
||||
"name": "正常",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"name": "异常",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"name": "全部",
|
||||
"value": null
|
||||
}
|
||||
],
|
||||
"type": "select",
|
||||
"value": null
|
||||
}
|
||||
],
|
||||
"table": "user"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -10,8 +10,13 @@
|
||||
"admin": "config/app.json"
|
||||
},
|
||||
"db": {
|
||||
"sqlite": {
|
||||
"path": "config/data.db"
|
||||
"mysql": {
|
||||
"host": "cloud.hoteas.com",
|
||||
"name": "ljf",
|
||||
"password": "root",
|
||||
"port": "3306",
|
||||
"prefix": "",
|
||||
"user": "root"
|
||||
}
|
||||
},
|
||||
"defFile": [
|
||||
|
||||
Reference in New Issue
Block a user