diff --git a/code.go b/code.go index 9d3d696..8b677e1 100644 --- a/code.go +++ b/code.go @@ -490,7 +490,7 @@ var TptProject = Proj{ } //} - columnStr, leftJoin, where := that.MakeCodeRouter[hotimeName].Search(tableName, data, where, that.Req, that.Db) + columnStr, where := that.MakeCodeRouter[hotimeName].Search(tableName, data, where, that.Req, that.Db) page := ObjToInt(that.Req.FormValue("page")) pageSize := ObjToInt(that.Req.FormValue("pageSize")) @@ -509,12 +509,12 @@ var TptProject = Proj{ var reData []Map //是否下载 if download == 0 { - count = that.Db.Count(tableName, leftJoin, where) + count = that.Db.Count(tableName, where) reData = that.Db.Page(page, pageSize). - PageSelect(tableName, leftJoin, columnStr, where) + PageSelect(tableName, columnStr, where) } if download == 1 { - reData = that.Db.Select(tableName, leftJoin, columnStr, where) + reData = that.Db.Select(tableName, columnStr, where) } for _, v := range reData { @@ -547,7 +547,7 @@ var TptProject = Proj{ column := that.MakeCodeRouter[hotimeName].TableColumns[tableName][k] if column == nil { - break + continue } if (column["list"] == nil || column["list"] == true) && column["name"] == "parent_id" && column.GetString("link") != "" { @@ -559,6 +559,30 @@ var TptProject = Proj{ } } + if column.GetString("link") != "" && + column.GetString("name") != "parent_id" { + reStr := "" + + if column.GetString("value") == "name" && that.MakeCodeRouter[hotimeName].TableColumns[column.GetString("link")]["nickname"] != nil { + reStr += "nickname," + } + + if that.MakeCodeRouter[hotimeName].TableColumns[column.GetString("link")]["phone"] != nil { + reStr += "phone," + } + reStr += column.GetString("value") + + joinData := that.Db.Get(column.GetString("link"), reStr, Map{"id": v.GetCeilInt(column.GetString("name"))}) + + if joinData != nil { + for kj, vj := range joinData { + v[column.GetString("link")+"_"+column.GetString("name")+"_"+kj] = vj + } + + } + + } + //return isEnd } } diff --git a/code/makecode.go b/code/makecode.go index 6a38930..b5db2d8 100644 --- a/code/makecode.go +++ b/code/makecode.go @@ -847,9 +847,9 @@ func (that *MakeCode) Delete(table string, req *http.Request) Map { return data } -func (that *MakeCode) Search(table string, userData Map, data Map, req *http.Request, db *db.HoTimeDB) (string, Map, Map) { +func (that *MakeCode) Search(table string, userData Map, data Map, req *http.Request, db *db.HoTimeDB) (string, Map) { reStr := "" - leftJoin := Map{} + //leftJoin := Map{} //data := Map{} if data == nil { data = Map{} @@ -881,46 +881,48 @@ func (that *MakeCode) Search(table string, userData Map, data Map, req *http.Req if v["list"] != false { - if v.GetString("link") != "" && - v.GetString("name") != "parent_id" { + //if v.GetString("link") != "" && + // v.GetString("name") != "parent_id" { + // + // reStr += table + "." + v.GetString("name") + "," + // //+ + // // v.GetString("link") + "." + v.GetString("value") + " AS " + + // // v.GetString("link") + "_" + v.GetString("name") + "_" + v.GetString("value") + "," + // + // if v.GetString("value") == "name" && that.TableColumns[v.GetString("link")]["nickname"] != nil { + // reStr += v.GetString("link") + ".nickname AS " + + // v.GetString("link") + "_" + v.GetString("name") + "_nickname," + // } + // + // if that.TableColumns[v.GetString("link")]["phone"] != nil { + // reStr += v.GetString("link") + ".phone AS " + + // v.GetString("link") + "_" + v.GetString("name") + "_phone," + // } + // + // leftJoin["[>]"+v.GetString("link")] = + // table + "." + v.GetString("name") + "=" + + // v.GetString("link") + ".id" + // + // if v.GetString("link") == "admin" { + // hasUser = true + // } + // + // reqValue := req.FormValue(v.GetString("name")) + // if reqValue != "" { + // data[table+"."+v.GetString("name")] = reqValue + // } + // + //} else { - reStr += table + "." + v.GetString("name") + "," + - v.GetString("link") + "." + v.GetString("value") + " AS " + - v.GetString("link") + "_" + v.GetString("name") + "_" + v.GetString("value") + "," + reStr += table + "." + v.GetString("name") + "," + //} - if v.GetString("value") == "name" && that.TableColumns[v.GetString("link")]["nickname"] != nil { - reStr += v.GetString("link") + ".nickname AS " + - v.GetString("link") + "_" + v.GetString("name") + "_nickname," - } - - if that.TableColumns[v.GetString("link")]["phone"] != nil { - reStr += v.GetString("link") + ".phone AS " + - v.GetString("link") + "_" + v.GetString("name") + "_phone," - } - - leftJoin["[>]"+v.GetString("link")] = - table + "." + v.GetString("name") + "=" + - v.GetString("link") + ".id" - if v.GetString("link") == "admin" { - hasUser = true - } - - reqValue := req.FormValue(v.GetString("name")) - if reqValue != "" { - data[table+"."+v.GetString("name")] = reqValue - } - - } else { - - reStr += table + "." + v.GetString("name") + "," - } - - if v["name"] == "parent_id" && v.GetString("link") != "" { - leftJoin["[>]"+v.GetString("link")+" selfParent"] = - "selfParent.id=" + - v.GetString("link") + "." + v.GetString("name") - reStr += "selfParent." + v.GetString("value") + " AS " + v.GetString("link") + "_" + v.GetString("name") + "_" + v.GetString("value") + "," - } + //if v["name"] == "parent_id" && v.GetString("link") != "" { + // leftJoin["[>]"+v.GetString("link")+" selfParent"] = + // "selfParent.id=" + + // v.GetString("link") + "." + v.GetString("name") + // reStr += "selfParent." + v.GetString("value") + " AS " + v.GetString("link") + "_" + v.GetString("name") + "_" + v.GetString("value") + "," + //} //准备加入索引权限 if v.GetString("link") != "" && @@ -1273,5 +1275,5 @@ func (that *MakeCode) Search(table string, userData Map, data Map, req *http.Req } } - return reStr, leftJoin, where + return reStr, where } diff --git a/db/hotimedb.go b/db/hotimedb.go index b004d89..c22e4c6 100644 --- a/db/hotimedb.go +++ b/db/hotimedb.go @@ -1029,7 +1029,7 @@ func (that *HoTimeDB) varCond(k string, v interface{}) (string, []interface{}) { v = "%" + ObjToStr(v) + "%" res = append(res, v) case "[!~]": //左边任意 - k = strings.Replace(k, "[~]", "", -1) + k = strings.Replace(k, "[!~]", "", -1) if !strings.Contains(k, ".") { k = "`" + k + "` " } @@ -1037,7 +1037,7 @@ func (that *HoTimeDB) varCond(k string, v interface{}) (string, []interface{}) { v = "%" + ObjToStr(v) + "" res = append(res, v) case "[~!]": //右边任意 - k = strings.Replace(k, "[~]", "", -1) + k = strings.Replace(k, "[~!]", "", -1) if !strings.Contains(k, ".") { k = "`" + k + "` " } diff --git a/example/config/admin.json b/example/config/admin.json deleted file mode 100644 index 6cfec37..0000000 --- a/example/config/admin.json +++ /dev/null @@ -1,419 +0,0 @@ -{ - "flow": { - "admin": { - "sql": { - "org_id": "org_id", - "parent_ids[~]": "%,id,%", - "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": { - "sql": { - "id": "role_id" - }, - "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" - ], - "label": "角色管理", - "table": "role" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "联络人管理", - "table": "user" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "项目分类", - "table": "category" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "标签管理", - "table": "out_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "考勤管理", - "table": "time_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "车辆管理", - "table": "car" - }, - { - "auth": [ - "show", - "download" - ], - "label": "日志管理", - "table": "logs" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "系统设置", - "table": "system" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "标签管理", - "table": "visit_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "城市管理", - "table": "city" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "项目管理", - "table": "proj" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "客户管理", - "table": "company" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "项目归口", - "table": "department" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "部门管理", - "table": "org" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "用章管理", - "table": "seal_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "微信信息", - "table": "wechat" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "联盟公司", - "table": "zone" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "人员管理", - "table": "admin" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "供应商管理", - "table": "channel" - } - ], - "name": "sys" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "任务执行", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "任务执行", - "table": "task_admin" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "任务管理", - "table": "task" - } - ], - "name": "sys:task" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "跟进管理", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "跟进管理", - "table": "sea" - } - ], - "name": "sys:sea" - } - ], - "name": "admin", - "stop": [ - "role", - "org" - ] -} \ No newline at end of file diff --git a/example/config/adminDB.json b/example/config/adminDB.json index 6bab895..b99d9ee 100644 --- a/example/config/adminDB.json +++ b/example/config/adminDB.json @@ -2,31 +2,38 @@ "flow": { "admin": { "sql": { - "org_id": "org_id", - "parent_ids[~]": "%,id,%", - "role_id": "role_id", - "zone_id": "zone_id" + "role_id": "role_id" }, - "stop": true, + "stop": false, "table": "admin" }, - "channel": { + "article": { "sql": { - "admin_id": "id", - "org_id": "org_id", - "zone_id": "zone_id" + "admin_id": "id" }, "stop": false, - "table": "channel" + "table": "article" }, - "company": { + "ctg": { "sql": { - "admin_id": "id", - "org_id": "org_id", - "zone_id": "zone_id" + "admin_id": "id" }, "stop": false, - "table": "company" + "table": "ctg" + }, + "ctg_article": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "ctg_article" + }, + "ctg_copy": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "ctg_copy" }, "logs": { "sql": { @@ -37,79 +44,21 @@ }, "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" + "admin_id": "id" }, "stop": false, - "table": "proj" + "table": "org" }, "role": { "sql": { + "admin_id": "id", "id": "role_id" }, "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", + "id": "74a8a59407fa7d6c7fcdc85742dbae57", "label": "HoTime管理平台", "labelConfig": { "add": "添加", @@ -120,6 +69,242 @@ "show": "开启" }, "menus": [ + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "顶部", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "顶部", + "table": "swiper_top" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "底部", + "table": "swiper_bottom" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "中间", + "table": "swiper_center" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "飘窗", + "table": "swiper_fly" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "关联专题", + "table": "swiper_point" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "外部系统", + "table": "swiper_sys" + } + ], + "name": "sys:swiper" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "ebw_res", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_res", + "table": "ebw_res" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_vote", + "table": "ebw_vote" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_attachment", + "table": "ebw_attachment" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_jobs", + "table": "ebw_jobs" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_news_addition_res", + "table": "ebw_news_addition_res" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_news", + "table": "ebw_news" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_user", + "table": "ebw_user" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_vote_user", + "table": "ebw_vote_user" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_annex", + "table": "ebw_annex" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_items", + "table": "ebw_items" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_vote_option", + "table": "ebw_vote_option" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "ebw_customer", + "table": "ebw_customer" + } + ], + "name": "sys:ebw" + }, { "auth": [ "show" @@ -136,8 +321,8 @@ "info", "download" ], - "label": "城市管理", - "table": "city" + "label": "组织管理", + "table": "org" }, { "auth": [ @@ -148,44 +333,16 @@ "info", "download" ], - "label": "客户管理", - "table": "company" + "label": "文章管理", + "table": "article" }, { "auth": [ "show", - "add", - "delete", - "edit", - "info", "download" ], - "label": "项目管理", - "table": "proj" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "联络人管理", - "table": "user" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "标签管理", - "table": "visit_tag" + "label": "日志管理", + "table": "logs" }, { "auth": [ @@ -199,74 +356,6 @@ "label": "人员管理", "table": "admin" }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "供应商管理", - "table": "channel" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "部门管理", - "table": "org" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "标签管理", - "table": "out_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "用章管理", - "table": "seal_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "车辆管理", - "table": "car" - }, - { - "auth": [ - "show", - "download" - ], - "label": "日志管理", - "table": "logs" - }, { "auth": [ "show", @@ -278,78 +367,6 @@ ], "label": "角色管理", "table": "role" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "考勤管理", - "table": "time_tag" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "联盟公司", - "table": "zone" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "项目分类", - "table": "category" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "项目归口", - "table": "department" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "系统设置", - "table": "system" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "微信信息", - "table": "wechat" } ], "name": "sys" @@ -359,7 +376,7 @@ "show" ], "icon": "Setting", - "label": "任务管理", + "label": "关联栏目", "menus": [ { "auth": [ @@ -370,8 +387,8 @@ "info", "download" ], - "label": "任务管理", - "table": "task" + "label": "关联栏目", + "table": "ctg_article" }, { "auth": [ @@ -382,18 +399,30 @@ "info", "download" ], - "label": "任务执行", - "table": "task_admin" + "label": "栏目管理", + "table": "ctg_copy" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "栏目管理", + "table": "ctg" } ], - "name": "sys:task" + "name": "sys:ctg" }, { "auth": [ "show" ], "icon": "Setting", - "label": "跟进管理", + "label": "总经理信箱", "menus": [ { "auth": [ @@ -404,11 +433,35 @@ "info", "download" ], - "label": "跟进管理", - "table": "sea" + "label": "总经理信箱", + "table": "mail" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "党委书记信箱", + "table": "mail_part" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "纪委信箱", + "table": "mail_discipline" } ], - "name": "sys:sea" + "name": "sys:mail" } ], "name": "admin", @@ -445,21 +498,6 @@ "name": "phone", "type": "text" }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, { "label": "状态", "name": "state", @@ -500,60 +538,25 @@ "type": "number", "value": "name" }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "sortable": true, - "type": "number", - "value": "name" - }, { "label": "职位", "name": "title", "type": "text" }, { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "QQ号", - "name": "qq", - "type": "text" - }, - { - "label": "邮箱", - "list": false, - "name": "email", - "type": "text" - }, - { - "label": "微信号", - "name": "wechat", - "type": "text" - }, - { - "label": "主管", - "link": "admin", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" }, { "add": false, "edit": false, - "info": false, - "label": "上级索引", + "label": "创建时间", "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" + "name": "create_time", + "type": "time" } ], "label": "人员管理", @@ -566,33 +569,21 @@ "name": "无", "value": null }, - { - "name": "邮箱", - "value": "email" - }, - { - "name": "微信号", - "value": "wechat" - }, { "name": "ID", "value": "id" }, + { + "name": "手机号", + "value": "phone" + }, { "name": "职位", "value": "title" }, - { - "name": "QQ号", - "value": "qq" - }, { "name": "名称", "value": "name" - }, - { - "name": "手机号", - "value": "phone" } ], "type": "search", @@ -606,13 +597,13 @@ "name": "无", "value": null }, - { - "name": "创建时间", - "value": "create_time" - }, { "name": "变更时间", "value": "modify_time" + }, + { + "name": "创建时间", + "value": "create_time" } ], "type": "search", @@ -659,375 +650,11 @@ ], "type": "select", "value": null - }, - { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - }, - { - "label": "主管", - "link": "admin", - "name": "parent_id", - "type": "tree", - "value": "name" - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "type": "tree", - "value": "name" } ], "table": "admin" }, - "car": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "车牌号码", - "name": "sn", - "type": "text" - } - ], - "label": "车辆管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "描述", - "value": "description" - }, - { - "name": "车牌号码", - "value": "sn" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "car" - }, - "category": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "info": false, - "label": "索引", - "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" - }, - { - "label": "上级", - "link": "category", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" - } - ], - "label": "项目分类", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "上级", - "link": "category", - "name": "parent_id", - "type": "tree", - "value": "name" - } - ], - "table": "category" - }, - "channel": { + "article": { "auth": [ "show", "add", @@ -1046,21 +673,86 @@ "type": "number" }, { - "label": "企业名称", - "name": "name", + "label": "标题", + "name": "title", + "type": "text" + }, + { + "label": "优先级", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + }, + { + "label": "作者", + "list": false, + "name": "author", + "type": "auth" + }, + { + "label": "来源", + "name": "origin", + "type": "text" + }, + { + "label": "头图", + "list": false, + "name": "img", + "type": "image" + }, + { + "label": "归属板块", + "link": "ctg", + "name": "ctg_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "创建用户", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "推送时间", + "name": "push_time", + "type": "time" + }, + { + "label": "点击量", + "name": "click_num", + "sortable": true, + "type": "number" + }, + { + "label": "描述", + "list": false, + "name": "description", + "type": "text" + }, + { + "label": "正文", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "add": false, + "edit": false, + "label": "编号", + "name": "sn", "type": "text" }, { "add": false, "edit": false, - "label": "统一社会信用代码", - "name": "sn", - "type": "text" - }, - { - "label": "企业地址", - "name": "address", - "type": "text" + "label": "变更时间", + "name": "modify_time", + "type": "time" }, { "add": false, @@ -1070,13 +762,6 @@ "name": "create_time", "type": "time" }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, { "label": "状态", "name": "state", @@ -1088,115 +773,12 @@ { "name": "未启用", "value": "1" - }, - { - "name": "异常", - "value": "2" } ], "type": "select" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "城市", - "link": "city", - "name": "city_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "经度", - "list": false, - "name": "lat", - "sortable": true, - "type": "number" - }, - { - "label": "纬度", - "list": false, - "name": "lng", - "sortable": true, - "type": "number" - }, - { - "label": "营业执照", - "list": false, - "name": "img", - "type": "image" - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "企业", - "value": "0" - }, - { - "name": "个人", - "value": "1" - }, - { - "name": "三方机构", - "value": "2" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "备注", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "客户", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "企业", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "联系方式", - "name": "contact", - "type": "text" } ], - "label": "供应商管理", + "label": "文章管理", "search": [ { "label": "筛选", @@ -1207,28 +789,28 @@ "value": null }, { - "name": "联系方式", - "value": "contact" + "name": "标题", + "value": "title" }, { - "name": "企业名称", - "value": "name" - }, - { - "name": "备注", + "name": "描述", "value": "description" }, - { - "name": "企业地址", - "value": "address" - }, - { - "name": "统一社会信用代码", - "value": "sn" - }, { "name": "id", "value": "id" + }, + { + "name": "来源", + "value": "origin" + }, + { + "name": "编号", + "value": "sn" + }, + { + "name": "正文", + "value": "content" } ], "type": "search", @@ -1249,6 +831,10 @@ { "name": "创建时间", "value": "create_time" + }, + { + "name": "推送时间", + "value": "push_time" } ], "type": "search", @@ -1284,10 +870,6 @@ "name": "未启用", "value": "1" }, - { - "name": "异常", - "value": "2" - }, { "name": "全部", "value": null @@ -1297,62 +879,16 @@ "value": null }, { - "label": "类型", - "name": "type", - "options": [ - { - "name": "企业", - "value": "0" - }, - { - "name": "个人", - "value": "1" - }, - { - "name": "三方机构", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "type": "tree", - "value": "name" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "城市", - "link": "city", - "name": "city_id", + "label": "归属板块", + "link": "ctg", + "name": "ctg_id", "type": "tree", "value": "name" } ], - "table": "channel" + "table": "article" }, - "city": { + "ctg": { "auth": [ "show", "add", @@ -1370,73 +906,85 @@ "sortable": true, "type": "number" }, + { + "label": "板块名称", + "name": "name", + "type": "text" + }, { "add": false, "edit": false, - "label": "层级", + "label": "编码", + "name": "sn", + "type": "text" + }, + { + "label": "优先级", "list": false, - "name": "level", + "name": "sort", "sortable": true, "type": "number" }, { - "label": "上级区域", - "link": "city", + "label": "源链接", + "name": "url", + "type": "text" + }, + { + "label": "头图", + "list": false, + "name": "img", + "type": "image" + }, + { + "label": "上级板块", + "link": "ctg", "name": "parent_id", "sortable": true, "type": "number", "value": "name" }, { - "label": "行政代码", - "name": "area_code", - "sortable": true, - "type": "number" + "label": "状态", + "name": "state", + "options": [ + { + "name": "启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" }, { - "label": "邮政编码", - "name": "zip_code", - "sortable": true, - "type": "number" - }, - { - "label": "区号", - "name": "city_code", - "type": "text" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "简称", - "name": "short_name", - "type": "text" - }, - { - "label": "组合名", - "name": "merger_name", - "type": "text" - }, - { - "label": "拼音", - "name": "pinyin", - "type": "text" - }, - { - "label": "经度", + "add": false, + "edit": false, + "label": "创建时间", "list": false, - "name": "lng", - "sortable": true, - "type": "number" + "name": "create_time", + "type": "time" }, { - "label": "纬度", - "list": false, - "name": "lat", + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "label": "负责人", + "link": "admin", + "name": "admin_id", "sortable": true, - "type": "number" + "type": "number", + "value": "name" }, { "add": false, @@ -1447,9 +995,17 @@ "name": "parent_ids", "notUse": true, "type": "index" + }, + { + "label": "关联文章", + "link": "article", + "name": "article_id", + "sortable": true, + "type": "number", + "value": "title" } ], - "label": "城市管理", + "label": "栏目管理", "search": [ { "label": "筛选", @@ -1458,6 +1014,26 @@ { "name": "无", "value": null + }, + { + "name": "文章", + "value": "article_id" + }, + { + "name": "编码", + "value": "sn" + }, + { + "name": "源链接", + "value": "url" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "板块名称", + "value": "name" } ], "type": "search", @@ -1470,6 +1046,14 @@ { "name": "无", "value": null + }, + { + "name": "创建时间", + "value": "create_time" + }, + { + "name": "变更时间", + "value": "modify_time" } ], "type": "search", @@ -1494,16 +1078,40 @@ "value": null }, { - "label": "上级区域", - "link": "city", + "label": "状态", + "name": "state", + "options": [ + { + "name": "启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "上级板块", + "link": "ctg", "name": "parent_id", "type": "tree", "value": "name" } ], - "table": "city" + "table": "ctg" }, - "company": { + "ctg_article": { "auth": [ "show", "add", @@ -1521,171 +1129,28 @@ "sortable": true, "type": "number" }, - { - "label": "所属联盟公司", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "客户名称", - "name": "name", - "type": "text" - }, { "add": false, "edit": false, - "label": "营业执照代码", + "label": "编号", "name": "sn", "type": "text" }, { - "label": "类型", - "name": "type", - "options": [ - { - "name": "企业", - "value": "0" - }, - { - "name": "个人", - "value": "1" - }, - { - "name": "三方机构", - "value": "2" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "客户状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "企业级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "供应商", - "link": "channel", - "name": "channel_id", + "label": "板块", + "link": "ctg", + "name": "ctg_id", "sortable": true, "type": "number", "value": "name" }, { - "label": "注册时间", - "name": "time", - "type": "time" - }, - { - "label": "企业地址", - "name": "address", - "type": "text" - }, - { - "label": "联络人", - "link": "user", - "name": "user_id", + "label": "文章", + "link": "article", + "name": "article_id", "sortable": true, "type": "number", - "value": "name" - }, - { - "label": "客户基本情况", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "城市", - "link": "city", - "name": "city_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "经度", - "list": false, - "name": "lat", - "sortable": true, - "type": "number" - }, - { - "label": "纬度", - "list": false, - "name": "lng", - "sortable": true, - "type": "number" - }, - { - "label": "营业执照", - "list": false, - "name": "img", - "type": "image" - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "最新项目", - "link": "proj", - "name": "proj_id", - "sortable": true, - "type": "number", - "value": "name" + "value": "title" }, { "add": false, @@ -1713,16 +1178,20 @@ { "name": "未启用", "value": "1" - }, - { - "name": "异常", - "value": "2" } ], "type": "select" + }, + { + "label": "负责人", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" } ], - "label": "客户管理", + "label": "关联栏目", "search": [ { "label": "筛选", @@ -1737,20 +1206,12 @@ "value": "id" }, { - "name": "营业执照代码", + "name": "编号", "value": "sn" }, { - "name": "企业地址", - "value": "address" - }, - { - "name": "客户基本情况", - "value": "description" - }, - { - "name": "客户名称", - "value": "name" + "name": "文章", + "value": "article_id" } ], "type": "search", @@ -1765,16 +1226,12 @@ "value": null }, { - "name": "注册时间", - "value": "time" + "name": "变更时间", + "value": "modify_time" }, { "name": "创建时间", "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" } ], "type": "search", @@ -1798,83 +1255,6 @@ "type": "search", "value": null }, - { - "label": "客户状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "add": false, - "edit": false, - "label": "企业级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "企业", - "value": "0" - }, - { - "name": "个人", - "value": "1" - }, - { - "name": "三方机构", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, { "label": "状态", "name": "state", @@ -1887,10 +1267,6 @@ "name": "未启用", "value": "1" }, - { - "name": "异常", - "value": "2" - }, { "name": "全部", "value": null @@ -1900,37 +1276,16 @@ "value": null }, { - "label": "部门", - "link": "org", - "name": "org_id", - "type": "tree", - "value": "name" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "城市", - "link": "city", - "name": "city_id", - "type": "tree", - "value": "name" - }, - { - "label": "所属联盟公司", - "link": "zone", - "name": "zone_id", + "label": "板块", + "link": "ctg", + "name": "ctg_id", "type": "tree", "value": "name" } ], - "table": "company" + "table": "ctg_article" }, - "department": { + "ctg_copy": { "auth": [ "show", "add", @@ -1949,23 +1304,61 @@ "type": "number" }, { - "label": "归口名称", + "label": "板块名称", "name": "name", "type": "text" }, { - "label": "所在地区", - "link": "city", - "name": "city_id", + "add": false, + "edit": false, + "label": "编码", + "name": "sn", + "type": "text" + }, + { + "label": "优先级", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + }, + { + "label": "源链接", + "name": "url", + "type": "text" + }, + { + "label": "头图", + "list": false, + "name": "img", + "type": "image" + }, + { + "label": "上级板块", + "link": "ctg_copy", + "name": "parent_id", "sortable": true, "type": "number", "value": "name" }, { - "label": "描述", - "list": false, - "name": "description", - "type": "text" + "label": "状态", + "name": "state", + "options": [ + { + "name": "启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" }, { "add": false, @@ -1983,23 +1376,12 @@ "type": "time" }, { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" + "label": "负责人", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" }, { "add": false, @@ -2012,15 +1394,15 @@ "type": "index" }, { - "label": "上级", - "link": "department", - "name": "parent_id", + "label": "关联文章", + "link": "article", + "name": "article_id", "sortable": true, "type": "number", - "value": "name" + "value": "title" } ], - "label": "项目归口", + "label": "栏目管理", "search": [ { "label": "筛选", @@ -2031,15 +1413,23 @@ "value": null }, { - "name": "描述", - "value": "description" + "name": "文章", + "value": "article_id" + }, + { + "name": "编码", + "value": "sn" + }, + { + "name": "源链接", + "value": "url" }, { "name": "ID", "value": "id" }, { - "name": "归口名称", + "name": "板块名称", "value": "name" } ], @@ -2054,13 +1444,13 @@ "name": "无", "value": null }, - { - "name": "创建时间", - "value": "create_time" - }, { "name": "变更时间", "value": "modify_time" + }, + { + "name": "创建时间", + "value": "create_time" } ], "type": "search", @@ -2089,7 +1479,7 @@ "name": "state", "options": [ { - "name": "已启用", + "name": "启用", "value": "0" }, { @@ -2109,21 +1499,1343 @@ "value": null }, { - "label": "所在地区", - "link": "city", - "name": "city_id", - "type": "tree", - "value": "name" - }, - { - "label": "上级", - "link": "department", + "label": "上级板块", + "link": "ctg_copy", "name": "parent_id", "type": "tree", "value": "name" } ], - "table": "department" + "table": "ctg_copy" + }, + "ebw_annex": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "fileName", + "list": false, + "name": "fileName", + "type": "file" + }, + { + "label": "fileRealName", + "list": false, + "name": "fileRealName", + "type": "file" + }, + { + "label": "fileBack", + "list": false, + "name": "fileBack", + "type": "file" + }, + { + "label": "fileSize", + "list": false, + "name": "fileSize", + "type": "file" + }, + { + "label": "owner", + "name": "owner", + "type": "text" + }, + { + "label": "ownerName", + "name": "ownerName", + "type": "text" + }, + { + "label": "uploadTime", + "name": "uploadTime", + "type": "text" + }, + { + "label": "pid", + "name": "pid", + "type": "text" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "flag", + "name": "flag", + "type": "text" + }, + { + "label": "count", + "name": "count", + "type": "text" + }, + { + "label": "path", + "name": "path", + "type": "text" + } + ], + "label": "ebw_annex", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_annex" + }, + "ebw_attachment": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "path", + "name": "path", + "type": "text" + }, + { + "label": "fk_news", + "name": "fk_news", + "type": "text" + }, + { + "label": "createTime", + "name": "createTime", + "type": "text" + } + ], + "label": "ebw_attachment", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_attachment" + }, + "ebw_customer": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "title", + "name": "title", + "type": "text" + }, + { + "label": "point", + "name": "point", + "sortable": true, + "type": "number" + }, + { + "label": "content", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "floate", + "name": "floate", + "sortable": true, + "type": "number" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "timedate", + "name": "timedate", + "type": "time" + }, + { + "label": "owner", + "name": "owner", + "type": "text" + } + ], + "label": "ebw_customer", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_customer" + }, + "ebw_items": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "title", + "name": "title", + "type": "text" + }, + { + "label": "content", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "timedate", + "name": "timedate", + "type": "time" + }, + { + "label": "owner", + "name": "owner", + "type": "text" + } + ], + "label": "ebw_items", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_items" + }, + "ebw_jobs": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "title", + "name": "title", + "type": "text" + }, + { + "label": "content", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "timedate", + "name": "timedate", + "type": "time" + }, + { + "label": "owner", + "name": "owner", + "type": "text" + }, + { + "label": "depart", + "name": "depart", + "type": "text" + }, + { + "label": "totalNum", + "name": "totalNum", + "type": "text" + } + ], + "label": "ebw_jobs", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_jobs" + }, + "ebw_news": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "title", + "name": "title", + "type": "text" + }, + { + "label": "content", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "timedate", + "name": "timedate", + "type": "time" + }, + { + "label": "owner", + "name": "owner", + "type": "text" + }, + { + "label": "flag", + "name": "flag", + "type": "text" + }, + { + "label": "shenhe", + "name": "shenhe", + "type": "text" + }, + { + "label": "titlecolor", + "name": "titlecolor", + "type": "text" + }, + { + "label": "zhiding", + "name": "zhiding", + "type": "text" + }, + { + "label": "f_up_title", + "name": "f_up_title", + "type": "text" + }, + { + "label": "f_down_title", + "name": "f_down_title", + "type": "text" + }, + { + "label": "readtime", + "name": "readtime", + "type": "time" + }, + { + "label": "source", + "name": "source", + "type": "text" + } + ], + "label": "ebw_news", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_news" + }, + "ebw_news_addition_res": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "label": "fk_newsid", + "name": "fk_newsid", + "type": "text" + }, + { + "label": "fk_res", + "name": "fk_res", + "type": "text" + } + ], + "label": "ebw_news_addition_res", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_news_addition_res" + }, + "ebw_res": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "cid", + "name": "cid", + "type": "text" + }, + { + "label": "pid", + "name": "pid", + "type": "text" + }, + { + "label": "name", + "name": "name", + "type": "text" + }, + { + "label": "path", + "name": "path", + "type": "text" + }, + { + "label": "url", + "name": "url", + "type": "text" + }, + { + "label": "title", + "name": "title", + "type": "text" + }, + { + "label": "target", + "name": "target", + "type": "text" + }, + { + "label": "icon", + "list": false, + "name": "icon", + "type": "image" + }, + { + "label": "iconOpen", + "list": false, + "name": "iconOpen", + "type": "image" + }, + { + "add": false, + "edit": false, + "label": "tableName", + "name": "tableName", + "type": "table" + }, + { + "label": "sequence", + "list": false, + "name": "sequence", + "type": "text" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "listType", + "name": "listType", + "type": "text" + }, + { + "label": "renderInNav", + "name": "renderInNav", + "type": "text" + }, + { + "label": "isLink", + "name": "isLink", + "type": "text" + }, + { + "label": "linkPath", + "name": "linkPath", + "type": "text" + }, + { + "label": "是否锁定", + "name": "locking", + "type": "text" + } + ], + "label": "ebw_res", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_res" + }, + "ebw_user": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "type": "text" + }, + { + "label": "no", + "name": "no", + "type": "text" + }, + { + "label": "account", + "name": "account", + "type": "text" + }, + { + "label": "name", + "name": "name", + "type": "text" + }, + { + "label": "sex", + "name": "sex", + "options": [], + "type": "select" + }, + { + "label": "pass", + "name": "pass", + "type": "text" + }, + { + "label": "mpass", + "name": "mpass", + "type": "text" + }, + { + "label": "adrress", + "name": "adrress", + "type": "text" + }, + { + "label": "tel", + "name": "tel", + "type": "text" + }, + { + "label": "mail", + "name": "mail", + "type": "text" + }, + { + "label": "type", + "name": "type", + "type": "text" + }, + { + "label": "depNo", + "name": "depNo", + "type": "text" + }, + { + "label": "depName", + "name": "depName", + "type": "text" + } + ], + "label": "ebw_user", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "no", + "value": "no" + }, + { + "name": "pass", + "value": "pass" + }, + { + "name": "mpass", + "value": "mpass" + }, + { + "name": "adrress", + "value": "adrress" + }, + { + "name": "mail", + "value": "mail" + }, + { + "name": "depNo", + "value": "depNo" + }, + { + "name": "depName", + "value": "depName" + }, + { + "name": "id", + "value": "id" + }, + { + "name": "account", + "value": "account" + }, + { + "name": "name", + "value": "name" + }, + { + "name": "tel", + "value": "tel" + }, + { + "name": "type", + "value": "type" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "sex", + "name": "sex", + "options": [ + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "ebw_user" + }, + "ebw_vote": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "主键", + "name": "id", + "type": "text" + }, + { + "label": "主题", + "name": "theme", + "type": "text" + }, + { + "label": "主题描述", + "name": "coutent", + "type": "text" + }, + { + "label": "开始时间", + "name": "startTime", + "type": "text" + }, + { + "label": "结束时间", + "name": "endTime", + "type": "text" + }, + { + "label": "创建时间", + "name": "createTime", + "type": "text" + }, + { + "label": "创建人", + "name": "createUser", + "type": "text" + }, + { + "label": "创建人所属部门", + "name": "createDepartment", + "type": "text" + }, + { + "label": "是否显示", + "name": "isShow", + "sortable": true, + "type": "number" + } + ], + "label": "ebw_vote", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_vote" + }, + "ebw_vote_option": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "主键", + "name": "id", + "type": "text" + }, + { + "label": "投票主题ID", + "name": "voteid", + "type": "text" + }, + { + "label": "选项标题", + "name": "title", + "type": "text" + }, + { + "label": "选项内容", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "获得票数", + "name": "sum", + "sortable": true, + "type": "number" + }, + { + "label": "选项图片路径", + "name": "path", + "type": "text" + }, + { + "label": "编号", + "name": "unmber", + "sortable": true, + "type": "number" + } + ], + "label": "ebw_vote_option", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_vote_option" + }, + "ebw_vote_user": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "主键", + "name": "id", + "type": "text" + }, + { + "label": "投票ID", + "name": "voteid", + "type": "text" + }, + { + "label": "用户ID", + "name": "userid", + "type": "text" + }, + { + "label": "投票时间", + "name": "voteTime", + "type": "text" + } + ], + "label": "ebw_vote_user", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "ebw_vote_user" }, "logs": { "auth": [ @@ -2139,11 +2851,6 @@ "sortable": true, "type": "number" }, - { - "label": "日志名", - "name": "name", - "type": "text" - }, { "label": "操作类型", "name": "type", @@ -2163,10 +2870,6 @@ { "name": "删除", "value": "3" - }, - { - "name": "其他", - "value": "4" } ], "sortable": true, @@ -2175,29 +2878,27 @@ { "add": false, "edit": false, - "label": "操作值", - "name": "table_id", - "type": "table_id" - }, - { - "add": false, - "edit": false, - "label": "操作表", + "label": "操作模块", "name": "table", "type": "table" }, { - "label": "IP", - "name": "ip", - "type": "text" + "add": false, + "edit": false, + "label": "操作数据", + "name": "table_id", + "type": "table_id" }, { - "label": "用户", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" + "label": "操作时间", + "name": "time", + "ps": "ces", + "type": "time" + }, + { + "label": "IP地址", + "name": "ip", + "type": "text" }, { "label": "操作员", @@ -2227,23 +2928,9 @@ "type": "select" }, { - "label": "描述", - "list": false, - "name": "description", + "label": "其他内容", + "name": "name", "type": "text" - }, - { - "label": "操作时间", - "name": "time", - "type": "time" - }, - { - "label": "任务", - "link": "task", - "name": "task_id", - "sortable": true, - "type": "number", - "value": "name" } ], "label": "日志管理", @@ -2256,21 +2943,17 @@ "name": "无", "value": null }, + { + "name": "其他内容", + "value": "name" + }, { "name": "ID", "value": "id" }, { - "name": "日志名", - "value": "name" - }, - { - "name": "IP", + "name": "IP地址", "value": "ip" - }, - { - "name": "描述", - "value": "description" } ], "type": "search", @@ -2330,10 +3013,6 @@ "name": "删除", "value": "3" }, - { - "name": "其他", - "value": "4" - }, { "name": "全部", "value": null @@ -2366,17 +3045,805 @@ ], "type": "select", "value": null - }, - { - "label": "操作员", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" } ], "table": "logs" }, + "mail": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "编号", + "name": "sn", + "type": "text" + }, + { + "label": "标题", + "name": "title", + "type": "text" + }, + { + "label": "内容", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "姓名", + "name": "name", + "type": "text" + }, + { + "label": "手机号", + "name": "phone", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "IP", + "name": "not_show_ip", + "type": "text" + } + ], + "label": "总经理信箱", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "IP", + "value": "not_show_ip" + }, + { + "name": "编号", + "value": "sn" + }, + { + "name": "内容", + "value": "content" + }, + { + "name": "手机号", + "value": "phone" + }, + { + "name": "id", + "value": "id" + }, + { + "name": "标题", + "value": "title" + }, + { + "name": "姓名", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "创建时间", + "value": "create_time" + }, + { + "name": "变更时间", + "value": "modify_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "mail" + }, + "mail_discipline": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "编号", + "name": "sn", + "type": "text" + }, + { + "label": "标题", + "name": "title", + "type": "text" + }, + { + "label": "内容", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "姓名", + "name": "name", + "type": "text" + }, + { + "label": "手机号", + "name": "phone", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "IP", + "name": "not_show_ip", + "type": "text" + } + ], + "label": "纪委信箱", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "IP", + "value": "not_show_ip" + }, + { + "name": "编号", + "value": "sn" + }, + { + "name": "内容", + "value": "content" + }, + { + "name": "姓名", + "value": "name" + }, + { + "name": "id", + "value": "id" + }, + { + "name": "标题", + "value": "title" + }, + { + "name": "手机号", + "value": "phone" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "变更时间", + "value": "modify_time" + }, + { + "name": "创建时间", + "value": "create_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + } + ], + "table": "mail_discipline" + }, + "mail_part": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "编号", + "name": "sn", + "type": "text" + }, + { + "label": "标题", + "name": "title", + "type": "text" + }, + { + "label": "内容", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "姓名", + "name": "name", + "type": "text" + }, + { + "label": "手机号", + "name": "phone", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "IP", + "name": "not_show_ip", + "type": "text" + } + ], + "label": "党委书记信箱", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "id", + "value": "id" + }, + { + "name": "编号", + "value": "sn" + }, + { + "name": "内容", + "value": "content" + }, + { + "name": "姓名", + "value": "name" + }, + { + "name": "手机号", + "value": "phone" + }, + { + "name": "IP", + "value": "not_show_ip" + }, + { + "name": "标题", + "value": "title" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "变更时间", + "value": "modify_time" + }, + { + "name": "创建时间", + "value": "create_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "进展", + "name": "status", + "options": [ + { + "name": "未处置", + "value": "0" + }, + { + "name": "已阅读", + "value": "1" + }, + { + "name": "已处置", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "是否展示", + "name": "show", + "options": [ + { + "name": "否", + "value": "0" + }, + { + "name": "是", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + } + ], + "table": "mail_part" + }, "org": { "auth": [ "show", @@ -2396,20 +3863,26 @@ "type": "number" }, { - "label": "组织名称", + "add": false, + "edit": false, + "label": "编码", + "name": "sn", + "type": "text" + }, + { + "label": "板块名称", "name": "name", "type": "text" }, { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", + "label": "优先级", + "list": false, + "name": "sort", "sortable": true, - "type": "number", - "value": "name" + "type": "number" }, { - "label": "上级组织", + "label": "上级板块", "link": "org", "name": "parent_id", "sortable": true, @@ -2438,7 +3911,7 @@ { "add": false, "edit": false, - "label": "注册时间", + "label": "创建时间", "list": false, "name": "create_time", "type": "time" @@ -2451,7 +3924,7 @@ "type": "time" }, { - "label": "创建用户", + "label": "负责人", "link": "admin", "name": "admin_id", "sortable": true, @@ -2469,7 +3942,7 @@ "type": "index" } ], - "label": "部门管理", + "label": "组织管理", "search": [ { "label": "筛选", @@ -2484,7 +3957,11 @@ "value": "id" }, { - "name": "组织名称", + "name": "编码", + "value": "sn" + }, + { + "name": "板块名称", "value": "name" } ], @@ -2500,7 +3977,7 @@ "value": null }, { - "name": "注册时间", + "name": "创建时间", "value": "create_time" }, { @@ -2554,833 +4031,15 @@ "value": null }, { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - }, - { - "label": "上级组织", + "label": "上级板块", "link": "org", "name": "parent_id", "type": "tree", "value": "name" - }, - { - "label": "创建用户", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" } ], "table": "org" }, - "out_tag": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - } - ], - "label": "标签管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "描述", - "value": "description" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "out_tag" - }, - "proj": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "申报企业/人才", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "项目状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "项目负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "项目备注", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "项目归口", - "link": "department", - "name": "department_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "项目启动时间", - "name": "start_time", - "type": "time" - }, - { - "label": "材料提交时间", - "name": "data_time", - "type": "time" - }, - { - "label": "申报状态", - "name": "report_status", - "options": [ - { - "name": "待定", - "value": "0" - }, - { - "name": "待申报", - "value": "1" - }, - { - "name": "申报中", - "value": "2" - }, - { - "name": "已提交立项", - "value": "3" - }, - { - "name": "放弃申报", - "value": "5" - } - ], - "type": "select" - }, - { - "label": "结果状态", - "name": "result_status", - "options": [ - { - "name": "未立项", - "value": "0" - }, - { - "name": "已立项待拨款", - "value": "1" - }, - { - "name": "已拨款", - "value": "2" - }, - { - "name": "已收款", - "value": "3" - } - ], - "type": "select" - }, - { - "label": "拨款比例(%)", - "name": "payment_pencent", - "sortable": true, - "type": "number" - }, - { - "label": "收款比例(%)", - "name": "receipt_pencent", - "sortable": true, - "type": "number" - }, - { - "label": "是否验收", - "name": "finish", - "options": [ - { - "name": "未验收", - "value": "0" - }, - { - "name": "已验收", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "验收时间", - "name": "finish_time", - "type": "time" - }, - { - "label": "项目联络人", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "负责人清单", - "name": "user_data", - "type": "text" - }, - { - "label": "项目", - "link": "category", - "name": "category_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "add": false, - "edit": false, - "label": "项目级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "项目阶段", - "list": false, - "name": "stage", - "options": [ - { - "name": "基础填报", - "value": "0" - }, - { - "name": "合同签订", - "value": "1" - }, - { - "name": "项目实施", - "value": "2" - }, - { - "name": "项目验收", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "供应商", - "link": "channel", - "name": "channel_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "市场部负责人", - "link": "admin", - "name": "sc_admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "项目部负责人", - "link": "admin", - "name": "xm_admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "合同金额(元)", - "name": "total_money", - "sortable": true, - "type": "number" - }, - { - "label": "签单比例(%)", - "name": "sign_percent", - "sortable": true, - "type": "number" - }, - { - "label": "来源备注", - "name": "source", - "type": "text" - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "sortable": true, - "type": "number", - "value": "name" - } - ], - "label": "项目管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "来源备注", - "value": "source" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "负责人清单", - "value": "user_data" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "项目备注", - "value": "description" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "验收时间", - "value": "finish_time" - }, - { - "name": "项目启动时间", - "value": "start_time" - }, - { - "name": "材料提交时间", - "value": "data_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "是否验收", - "name": "finish", - "options": [ - { - "name": "未验收", - "value": "0" - }, - { - "name": "已验收", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "项目状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "结果状态", - "name": "result_status", - "options": [ - { - "name": "未立项", - "value": "0" - }, - { - "name": "已立项待拨款", - "value": "1" - }, - { - "name": "已拨款", - "value": "2" - }, - { - "name": "已收款", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "add": false, - "edit": false, - "label": "项目级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "申报状态", - "name": "report_status", - "options": [ - { - "name": "待定", - "value": "0" - }, - { - "name": "待申报", - "value": "1" - }, - { - "name": "申报中", - "value": "2" - }, - { - "name": "已提交立项", - "value": "3" - }, - { - "name": "放弃申报", - "value": "5" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "项目阶段", - "list": false, - "name": "stage", - "options": [ - { - "name": "基础填报", - "value": "0" - }, - { - "name": "合同签订", - "value": "1" - }, - { - "name": "项目实施", - "value": "2" - }, - { - "name": "项目验收", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "项目部负责人", - "link": "admin", - "name": "xm_admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "市场部负责人", - "link": "admin", - "name": "sc_admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "部门", - "link": "org", - "name": "org_id", - "type": "tree", - "value": "name" - }, - { - "label": "项目", - "link": "category", - "name": "category_id", - "type": "tree", - "value": "name" - }, - { - "label": "项目负责人", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "项目归口", - "link": "department", - "name": "department_id", - "type": "tree", - "value": "name" - }, - { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - } - ], - "table": "proj" - }, "role": { "auth": [ "show", @@ -3445,10 +4104,12 @@ "type": "auth" }, { - "label": "描述", - "list": false, - "name": "description", - "type": "text" + "label": "负责人", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" } ], "label": "角色管理", @@ -3468,10 +4129,6 @@ { "name": "名称", "value": "name" - }, - { - "name": "描述", - "value": "description" } ], "type": "search", @@ -3542,330 +4199,7 @@ ], "table": "role" }, - "sea": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "关联客户", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "联络人", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "客户名", - "name": "name", - "type": "text" - }, - { - "label": "客户状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "来源备注", - "name": "source", - "type": "text" - }, - { - "label": "供应商", - "link": "channel", - "name": "channel_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "供应商返点比例", - "name": "percent", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "企业级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "客户基本情况", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "拟申报项目", - "list": false, - "name": "notes_proj", - "type": "text" - }, - { - "label": "跟进时间及动态", - "list": false, - "name": "notes", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - } - ], - "label": "跟进管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "id", - "value": "id" - }, - { - "name": "客户名", - "value": "name" - }, - { - "name": "客户基本情况", - "value": "description" - }, - { - "name": "拟申报项目", - "value": "notes_proj" - }, - { - "name": "跟进时间及动态", - "value": "notes" - }, - { - "name": "来源备注", - "value": "source" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "add": false, - "edit": false, - "label": "企业级别", - "list": false, - "name": "level", - "options": [ - { - "name": "一级", - "value": "1" - }, - { - "name": "二级", - "value": "2" - }, - { - "name": "三级", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "客户状态", - "name": "status", - "options": [ - { - "name": "跟进", - "value": "0" - }, - { - "name": "意向", - "value": "1" - }, - { - "name": "已签订", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - } - ], - "table": "sea" - }, - "seal_tag": { + "swiper_bottom": { "auth": [ "show", "add", @@ -3883,1906 +4217,17 @@ "sortable": true, "type": "number" }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - } - ], - "label": "用章管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "描述", - "value": "description" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, { "label": "排序", + "list": false, "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "seal_tag" - }, - "system": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", "sortable": true, "type": "number" }, { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", + "label": "轮播图片", "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "规则", - "name": "rule", - "type": "form" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "功能类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "上下班卡", - "value": "13" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - } - ], - "sortable": true, - "type": "select" - } - ], - "label": "系统设置", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "描述", - "value": "description" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "功能类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "上下班卡", - "value": "13" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "system" - }, - "task": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "任务名", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "企业", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "项目", - "link": "proj", - "name": "proj_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "任务描述", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "奖惩设置", - "name": "reward", - "options": [ - { - "name": "无", - "value": "0" - }, - { - "name": "惩罚", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "损失金额", - "name": "reward_money", - "sortable": true, - "type": "number" - }, - { - "label": "过失描述", - "list": false, - "name": "reward_description", - "type": "text" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "执行人", - "name": "executor_data", - "type": "text" - }, - { - "label": "审批人", - "name": "approver_data", - "type": "text" - }, - { - "label": "监督人", - "name": "reader_data", - "type": "text" - }, - { - "label": "开始时间", - "name": "start_time", - "type": "time" - }, - { - "label": "结束时间", - "name": "end_time", - "type": "time" - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "考勤", - "value": "13" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "额外数据", - "name": "extend_data", - "type": "text" - }, - { - "label": "维度", - "list": false, - "name": "lat", - "sortable": true, - "type": "number" - }, - { - "label": "经度", - "list": false, - "name": "lng", - "sortable": true, - "type": "number" - }, - { - "label": "地址", - "name": "address", - "type": "text" - }, - { - "label": "地区", - "link": "city", - "name": "city_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "状态", - "name": "status", - "options": [ - { - "name": "待执行", - "value": "0" - }, - { - "name": "待审批", - "value": "1" - }, - { - "name": "审批通过", - "value": "2" - }, - { - "name": "审批驳回", - "value": "3" - }, - { - "name": "已逾期", - "value": "4" - }, - { - "name": "部分已执行", - "value": "5" - }, - { - "name": "部分已审批", - "value": "6" - } - ], - "type": "select" - }, - { - "label": "客户", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "附件", - "list": false, - "name": "files", - "type": "file" - }, - { - "label": "归口", - "link": "department", - "name": "department_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "拜访方式", - "link": "visit_tag", - "name": "visit_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "外出类型", - "link": "out_tag", - "name": "out_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "车辆", - "link": "car", - "name": "car_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "印章", - "link": "seal_tag", - "name": "seal_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "考勤", - "link": "time_tag", - "name": "time_tag_id", - "type": "time", - "value": "name" - } - ], - "label": "任务管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "任务名", - "value": "name" - }, - { - "name": "审批人", - "value": "approver_data" - }, - { - "name": "地址", - "value": "address" - }, - { - "name": "过失描述", - "value": "reward_description" - }, - { - "name": "执行人", - "value": "executor_data" - }, - { - "name": "任务描述", - "value": "description" - }, - { - "name": "额外数据", - "value": "extend_data" - }, - { - "name": "监督人", - "value": "reader_data" - }, - { - "name": "ID", - "value": "id" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "结束时间", - "value": "end_time" - }, - { - "name": "开始时间", - "value": "start_time" - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "status", - "options": [ - { - "name": "待执行", - "value": "0" - }, - { - "name": "待审批", - "value": "1" - }, - { - "name": "审批通过", - "value": "2" - }, - { - "name": "审批驳回", - "value": "3" - }, - { - "name": "已逾期", - "value": "4" - }, - { - "name": "部分已执行", - "value": "5" - }, - { - "name": "部分已审批", - "value": "6" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "奖惩设置", - "name": "reward", - "options": [ - { - "name": "无", - "value": "0" - }, - { - "name": "惩罚", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "考勤", - "value": "13" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "归口", - "link": "department", - "name": "department_id", - "type": "tree", - "value": "name" - }, - { - "label": "地区", - "link": "city", - "name": "city_id", - "type": "tree", - "value": "name" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - } - ], - "table": "task" - }, - "task_admin": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "任务名", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "企业", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "项目", - "link": "proj", - "name": "proj_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "任务描述", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "奖惩设置", - "name": "reward", - "options": [ - { - "name": "无", - "value": "0" - }, - { - "name": "惩罚", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "损失金额", - "name": "reward_money", - "sortable": true, - "type": "number" - }, - { - "label": "过失描述", - "list": false, - "name": "reward_description", - "type": "text" - }, - { - "label": "员工", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "完成时间", - "name": "finish_time", - "type": "time" - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "上班卡", - "value": "13" - }, - { - "name": "下班卡", - "value": "14" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "循环", - "name": "round", - "options": [ - { - "name": "一次", - "value": "0" - }, - { - "name": "一天", - "value": "1" - }, - { - "name": "一周", - "value": "2" - }, - { - "name": "一月", - "value": "3" - }, - { - "name": "一季度", - "value": "4" - }, - { - "name": "一年", - "value": "5" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "额外数据", - "name": "extend_data", - "type": "text" - }, - { - "label": "维度", - "list": false, - "name": "lat", - "sortable": true, - "type": "number" - }, - { - "label": "经度", - "list": false, - "name": "lng", - "sortable": true, - "type": "number" - }, - { - "label": "地址", - "name": "address", - "type": "text" - }, - { - "label": "地区", - "link": "city", - "name": "city_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "归口", - "link": "department", - "name": "department_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "任务", - "link": "task", - "name": "task_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "状态", - "name": "status", - "options": [ - { - "name": "待执行", - "value": "0" - }, - { - "name": "待审批", - "value": "1" - }, - { - "name": "审批通过", - "value": "2" - }, - { - "name": "审批驳回", - "value": "3" - }, - { - "name": "已逾期", - "value": "4" - } - ], - "type": "select" - }, - { - "label": "角色", - "name": "role", - "options": [ - { - "name": "执行者", - "value": "0" - }, - { - "name": "审批者", - "value": "1" - }, - { - "name": "监督者", - "value": "2" - }, - { - "name": "执行审批者", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "联络人", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "附件", - "list": false, - "name": "files", - "type": "file" - }, - { - "label": "拜访方式", - "link": "visit_tag", - "name": "visit_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "外出类型", - "link": "out_tag", - "name": "out_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "车辆", - "link": "car", - "name": "car_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "印章", - "link": "seal_tag", - "name": "seal_tag_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "考勤", - "link": "time_tag", - "name": "time_tag_id", - "type": "time", - "value": "name" - } - ], - "label": "任务执行", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "任务名", - "value": "name" - }, - { - "name": "额外数据", - "value": "extend_data" - }, - { - "name": "地址", - "value": "address" - }, - { - "name": "过失描述", - "value": "reward_description" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "任务描述", - "value": "description" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "完成时间", - "value": "finish_time" - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "类型", - "name": "type", - "options": [ - { - "name": "普通", - "value": "0" - }, - { - "name": "过失", - "value": "1" - }, - { - "name": "拜访", - "value": "2" - }, - { - "name": "合同", - "value": "3" - }, - { - "name": "周报", - "value": "11" - }, - { - "name": "月报", - "value": "12" - }, - { - "name": "上班卡", - "value": "13" - }, - { - "name": "下班卡", - "value": "14" - }, - { - "name": "外出", - "value": "15" - }, - { - "name": "请假", - "value": "16" - }, - { - "name": "用车管理", - "value": "17" - }, - { - "name": "用章管理", - "value": "18" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "奖惩设置", - "name": "reward", - "options": [ - { - "name": "无", - "value": "0" - }, - { - "name": "惩罚", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "循环", - "name": "round", - "options": [ - { - "name": "一次", - "value": "0" - }, - { - "name": "一天", - "value": "1" - }, - { - "name": "一周", - "value": "2" - }, - { - "name": "一月", - "value": "3" - }, - { - "name": "一季度", - "value": "4" - }, - { - "name": "一年", - "value": "5" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "角色", - "name": "role", - "options": [ - { - "name": "执行者", - "value": "0" - }, - { - "name": "审批者", - "value": "1" - }, - { - "name": "监督者", - "value": "2" - }, - { - "name": "执行审批者", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "status", - "options": [ - { - "name": "待执行", - "value": "0" - }, - { - "name": "待审批", - "value": "1" - }, - { - "name": "审批通过", - "value": "2" - }, - { - "name": "审批驳回", - "value": "3" - }, - { - "name": "已逾期", - "value": "4" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "员工", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - }, - { - "label": "战区", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - }, - { - "label": "地区", - "link": "city", - "name": "city_id", - "type": "tree", - "value": "name" - }, - { - "label": "归口", - "link": "department", - "name": "department_id", - "type": "tree", - "value": "name" - } - ], - "table": "task_admin" - }, - "time_tag": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - } - ], - "label": "考勤管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "描述", - "value": "description" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "time_tag" - }, - "user": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "用户姓名", - "name": "name", - "type": "text" - }, - { - "label": "手机号码", - "name": "phone", - "type": "text" - }, - { - "label": "邮箱", - "list": false, - "name": "email", - "type": "text" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "隐藏", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "头像", - "list": false, - "name": "avatar", + "name": "img", "type": "image" }, { @@ -5800,134 +4245,6 @@ "name": "modify_time", "type": "time" }, - { - "label": "昵称", - "name": "nickname", - "type": "text" - }, - { - "label": "客户", - "link": "company", - "name": "company_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "职位", - "name": "position", - "type": "text" - }, - { - "label": "微信号", - "name": "wechat", - "type": "text" - }, - { - "label": "供应商", - "link": "channel", - "name": "channel_id", - "sortable": true, - "type": "number", - "value": "name" - } - ], - "label": "联络人管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "职位", - "value": "position" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "手机号码", - "value": "phone" - }, - { - "name": "昵称", - "value": "nickname" - }, - { - "name": "微信号", - "value": "wechat" - }, - { - "name": "用户姓名", - "value": "name" - }, - { - "name": "邮箱", - "value": "email" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, { "label": "状态", "name": "state", @@ -5939,101 +4256,12 @@ { "name": "异常", "value": "1" - }, - { - "name": "隐藏", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "联盟公司", - "link": "zone", - "name": "zone_id", - "type": "tree", - "value": "name" - }, - { - "label": "创建员工", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" - } - ], - "table": "user" - }, - "visit_tag": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" } ], "type": "select" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" } ], - "label": "标签管理", + "label": "底部", "search": [ { "label": "筛选", @@ -6043,14 +4271,6 @@ "name": "无", "value": null }, - { - "name": "名称", - "value": "name" - }, - { - "name": "描述", - "value": "description" - }, { "name": "ID", "value": "id" @@ -6102,16 +4322,12 @@ "name": "state", "options": [ { - "name": "已启用", + "name": "正常", "value": "0" }, - { - "name": "未启用", - "value": "1" - }, { "name": "异常", - "value": "2" + "value": "1" }, { "name": "全部", @@ -6122,9 +4338,9 @@ "value": null } ], - "table": "visit_tag" + "table": "swiper_bottom" }, - "wechat": { + "swiper_center": { "auth": [ "show", "add", @@ -6143,116 +4359,50 @@ "type": "number" }, { - "label": "企业客户", - "link": "user", - "name": "user_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "access_token", - "name": "acttoken", - "type": "text" - }, - { - "label": "refresh_token", - "name": "retoken", - "type": "text" - }, - { - "label": "openid", - "name": "openid", - "type": "text" - }, - { - "label": "微信appid", - "name": "appid", - "type": "text" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "隐藏", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "创建时间", + "label": "轮播图片", "list": false, - "name": "create_time", - "type": "time" - }, - { - "label": "微信组id", - "name": "unionid", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "关联组织", - "link": "org", - "name": "org_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "组织传递", - "name": "status", - "options": [ - { - "name": "未传递", - "value": "0" - }, - { - "name": "已传递", - "value": "1" - } - ], - "type": "select" - }, - { - "label": "昵称", - "name": "nickname", - "type": "text" - }, - { - "label": "头像", - "list": false, - "name": "avatar", + "name": "img", "type": "image" }, { - "label": "员工", - "link": "admin", - "name": "admin_id", + "label": "排序", + "list": false, + "name": "sort", "sortable": true, - "type": "number", - "value": "name" + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + } + ], + "type": "select" } ], - "label": "微信信息", + "label": "中间", "search": [ { "label": "筛选", @@ -6265,30 +4415,6 @@ { "name": "ID", "value": "id" - }, - { - "name": "openid", - "value": "openid" - }, - { - "name": "微信appid", - "value": "appid" - }, - { - "name": "昵称", - "value": "nickname" - }, - { - "name": "微信组id", - "value": "unionid" - }, - { - "name": "refresh_token", - "value": "retoken" - }, - { - "name": "access_token", - "value": "acttoken" } ], "type": "search", @@ -6344,10 +4470,6 @@ "name": "异常", "value": "1" }, - { - "name": "隐藏", - "value": "2" - }, { "name": "全部", "value": null @@ -6355,45 +4477,11 @@ ], "type": "select", "value": null - }, - { - "label": "组织传递", - "name": "status", - "options": [ - { - "name": "未传递", - "value": "0" - }, - { - "name": "已传递", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "关联组织", - "link": "org", - "name": "org_id", - "type": "tree", - "value": "name" - }, - { - "label": "员工", - "link": "admin", - "name": "admin_id", - "type": "tree", - "value": "name" } ], - "table": "wechat" + "table": "swiper_center" }, - "zone": { + "swiper_fly": { "auth": [ "show", "add", @@ -6416,6 +4504,53 @@ "name": "name", "type": "text" }, + { + "label": "位置", + "name": "pos", + "options": [ + { + "name": "左下角", + "value": "0" + }, + { + "name": "右下角", + "value": "1" + }, + { + "name": "左上角", + "value": "2" + }, + { + "name": "右上角", + "value": "3" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "宽度(px)", + "name": "width", + "sortable": true, + "type": "number" + }, + { + "label": "高度(px)", + "name": "height", + "sortable": true, + "type": "number" + }, + { + "label": "链接", + "name": "url", + "type": "text" + }, + { + "label": "轮播图片", + "list": false, + "name": "img", + "type": "image" + }, { "add": false, "edit": false, @@ -6436,40 +4571,18 @@ "name": "state", "options": [ { - "name": "已启用", + "name": "正常", "value": "0" }, - { - "name": "未启用", - "value": "1" - }, { "name": "异常", - "value": "2" + "value": "1" } ], "type": "select" - }, - { - "label": "上级", - "link": "zone", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "add": false, - "edit": false, - "info": false, - "label": "索引", - "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" } ], - "label": "联盟公司", + "label": "飘窗", "search": [ { "label": "筛选", @@ -6483,6 +4596,198 @@ "name": "ID", "value": "id" }, + { + "name": "名称", + "value": "name" + }, + { + "name": "链接", + "value": "url" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "创建时间", + "value": "create_time" + }, + { + "name": "变更时间", + "value": "modify_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "位置", + "name": "pos", + "options": [ + { + "name": "左下角", + "value": "0" + }, + { + "name": "右下角", + "value": "1" + }, + { + "name": "左上角", + "value": "2" + }, + { + "name": "右上角", + "value": "3" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + } + ], + "table": "swiper_fly" + }, + "swiper_point": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "链接", + "name": "url", + "type": "text" + }, + { + "label": "轮播图片", + "list": false, + "name": "img", + "type": "image" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + } + ], + "label": "关联专题", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "链接", + "value": "url" + }, + { + "name": "ID", + "value": "id" + }, { "name": "名称", "value": "name" @@ -6534,16 +4839,12 @@ "name": "state", "options": [ { - "name": "已启用", + "name": "正常", "value": "0" }, - { - "name": "未启用", - "value": "1" - }, { "name": "异常", - "value": "2" + "value": "1" }, { "name": "全部", @@ -6552,16 +4853,309 @@ ], "type": "select", "value": null - }, - { - "label": "上级", - "link": "zone", - "name": "parent_id", - "type": "tree", - "value": "name" } ], - "table": "zone" + "table": "swiper_point" + }, + "swiper_sys": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "链接", + "name": "url", + "type": "text" + }, + { + "label": "轮播图片", + "list": false, + "name": "img", + "type": "image" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + } + ], + "label": "外部系统", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "链接", + "value": "url" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "创建时间", + "value": "create_time" + }, + { + "name": "变更时间", + "value": "modify_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "swiper_sys" + }, + "swiper_top": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "轮播图片", + "list": false, + "name": "img", + "type": "image" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "time" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "time" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + } + ], + "label": "顶部", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "创建时间", + "value": "create_time" + }, + { + "name": "变更时间", + "value": "modify_time" + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "swiper_top" } } } \ No newline at end of file diff --git a/example/config/config.json b/example/config/config.json index 0299c1d..ee1cf4c 100644 --- a/example/config/config.json +++ b/example/config/config.json @@ -24,7 +24,7 @@ "db": { "mysql": { "host": "192.168.6.253", - "name": "rfcb", + "name": "dgs-cms", "password": "dasda8454456", "port": "3306", "user": "root"