iedc-go/example/config/admin.json

419 lines
6.1 KiB
JSON
Raw Permalink Normal View History

2022-10-19 13:32:34 +00:00
{
"flow": {
"admin": {
"sql": {
"org_id": "org_id",
2022-10-20 01:08:23 +00:00
"parent_ids[~]": "%,id,%",
2022-10-19 13:32:34 +00:00
"role_id": "role_id",
"zone_id": "zone_id"
},
"stop": true,
"table": "admin"
},
"channel": {
"sql": {
"admin_id": "id",
"org_id": "org_id",
"zone_id": "zone_id"
},
"stop": false,
"table": "channel"
},
"company": {
"sql": {
"admin_id": "id",
"org_id": "org_id",
"zone_id": "zone_id"
},
"stop": false,
"table": "company"
},
"logs": {
"sql": {
"admin_id": "id"
},
"stop": false,
"table": "logs"
},
"org": {
"sql": {
"admin_id": "id",
"parent_ids[~]": "%,org_id,%",
"zone_id": "zone_id"
},
"stop": true,
"table": "org"
},
"proj": {
"sql": {
"admin_id": "id",
"org_id": "org_id",
"sc_admin_id": "sc_admin_id",
"xm_admin_id": "xm_admin_id",
"zone_id": "zone_id"
},
"stop": false,
"table": "proj"
},
"role": {
2022-10-20 01:08:23 +00:00
"sql": {
"id": "role_id"
},
2022-10-19 13:32:34 +00:00
"stop": true,
"table": "role"
},
"sea": {
"sql": {
"admin_id": "id"
},
"stop": false,
"table": "sea"
},
"task": {
"sql": {
"admin_id": "id",
"zone_id": "zone_id"
},
"stop": false,
"table": "task"
},
"task_admin": {
"sql": {
"admin_id": "id",
"zone_id": "zone_id"
},
"stop": false,
"table": "task_admin"
},
"user": {
"sql": {
"admin_id": "id",
"zone_id": "zone_id"
},
"stop": false,
"table": "user"
},
"wechat": {
"sql": {
"admin_id": "id",
"org_id": "org_id"
},
"stop": false,
"table": "wechat"
},
"zone": {
"sql": {
"parent_ids[~]": "%,zone_id,%"
},
"stop": true,
"table": "zone"
}
},
"id": "023d5002b1e2c64ed744a12ac442c00e",
"label": "HoTime管理平台",
"labelConfig": {
"add": "添加",
"delete": "删除",
"download": "下载清单",
"edit": "编辑",
"info": "查看详情",
"show": "开启"
},
"menus": [
{
"auth": [
"show"
],
"icon": "Setting",
"label": "系统管理",
"menus": [
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "角色管理",
"table": "role"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
2022-10-20 01:08:23 +00:00
"add",
"delete",
"edit",
"info",
2022-10-19 13:32:34 +00:00
"download"
],
2022-10-20 01:08:23 +00:00
"label": "联络人管理",
"table": "user"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "项目分类",
"table": "category"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "标签管理",
"table": "out_tag"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "考勤管理",
"table": "time_tag"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
"label": "车辆管理",
"table": "car"
},
{
"auth": [
"show",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "日志管理",
"table": "logs"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "系统设置",
"table": "system"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "标签管理",
"table": "visit_tag"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "城市管理",
"table": "city"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "项目管理",
"table": "proj"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "客户管理",
"table": "company"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "项目归口",
"table": "department"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "部门管理",
"table": "org"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "用章管理",
"table": "seal_tag"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "微信信息",
"table": "wechat"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "联盟公司",
"table": "zone"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "人员管理",
"table": "admin"
2022-10-19 13:32:34 +00:00
},
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "供应商管理",
"table": "channel"
2022-10-19 13:32:34 +00:00
}
],
"name": "sys"
},
{
"auth": [
"show"
],
"icon": "Setting",
2022-10-20 01:08:23 +00:00
"label": "任务执行",
2022-10-19 13:32:34 +00:00
"menus": [
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "任务执行",
"table": "task_admin"
},
2022-10-19 13:32:34 +00:00
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
"label": "任务管理",
"table": "task"
2022-10-20 01:08:23 +00:00
}
],
"name": "sys:task"
},
{
"auth": [
"show"
],
"icon": "Setting",
"label": "跟进管理",
"menus": [
2022-10-19 13:32:34 +00:00
{
"auth": [
"show",
"add",
"delete",
"edit",
"info",
"download"
],
2022-10-20 01:08:23 +00:00
"label": "跟进管理",
"table": "sea"
2022-10-19 13:32:34 +00:00
}
],
2022-10-20 01:08:23 +00:00
"name": "sys:sea"
2022-10-19 13:32:34 +00:00
}
],
"name": "admin",
"stop": [
"role",
"org"
]
}