1.界面显示效果

   

 

2.资源下载 地址 

  1. jstree     2.表格jqgrid  https://blog.mn886.net/jqgrid/  3.界面布局  

3.前端代码  

@{
viewbag.title = "系统功能";
layout = "~/views/shared/_index.cshtml";
}
<script>
$(function () {
initialpage();
gettree();
getgrid();
});
//初始化页面
function initialpage() {
//layout布局
$('#layout').layout({
applydemostyles: true,
onresize: function () {
$(window).resize()
}
});
//resize重设(表格、树形)宽高
$(window).resize(function (e) {
window.settimeout(function () {
$('#gridtable').setgridwidth(($('.gridpanel').width()));
$("#gridtable").setgridheight($(window).height() - 141.5);
$("#itemtree").settreeheight($(window).height() - 52);
}, 200);
e.stoppropagation();
});
}
//加载树
var _parentid = "";
function gettree() {
var item = {
height: $(window).height() - 52,
url: "../../systemmanager/module/gettreejson",
onnodeclick: function (item) {
_parentid = item.id;
$('#btn_search').trigger("click");
}
};
//初始化
$("#itemtree").treeview(item);
}
//加载表格
function getgrid() {
var selectedrowindex = 0;
var $gridtable = $('#gridtable');
$gridtable.jqgrid({
url: "../../systemmanager/module/getlistjson?parentid=0",
datatype: "json",
height: $(window).height() - 141.5,
autowidth: true,
colmodel: [
{ label: "主键", name: "moduleid", index: "moduleid", hidden: true },
{ label: "编号", name: "encode", index: "encode", width: 150, align: "left" },
{ label: "名称", name: "fullname", index: "fullname", width: 150, align: "left" },
{ label: "地址", name: "urladdress", index: "urladdress", width: 350, align: "left" },
{ label: "目标", name: "target", index: "target", width: 60, align: "center" },
{
label: "菜单", name: "ismenu", index: "ismenu", width: 50, align: "center",
formatter: function (cellvalue, options, rowobject) {
return cellvalue == 1 ? "<i value=" + cellvalue + " class=\"fa fa-toggle-on\"></i>" : "<i value=" + cellvalue + " class=\"fa fa-toggle-off\"></i>";
}
},
{
label: "展开", name: "allowexpand", index: "allowexpand", width: 50, align: "center",
formatter: function (cellvalue, options, rowobject) {
return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
}
},
{
label: "公共", name: "ispublic", index: "ispublic", width: 50, align: "center",
formatter: function (cellvalue, options, rowobject) {
return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
}
},
{
label: "有效", name: "enabledmark", index: "enabledmark", width: 50, align: "center",
formatter: function (cellvalue, options, rowobject) {
return cellvalue == 1 ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
}
},
{ label: "描述", name: "description", index: "description", width: 100, align: "left" }
],
pager: false,
rownum: "1000",
rownumbers: true,
shrinktofit: false,
gridview: true,
onselectrow: function () {
selectedrowindex = $("#" + this.id).getgridparam('selrow');
},
gridcomplete: function () {
$("#" + this.id).setselection(selectedrowindex, false);
}
});
//查询条件
$("#querycondition .dropdown-menu li").click(function () {
var text = $(this).find('a').html();
var value = $(this).find('a').attr('data-value');
$("#querycondition .dropdown-text").html(text).attr('data-value', value)
});
//查询事件
$("#btn_search").click(function () {
$gridtable.jqgrid('setgridparam', {
url: "../../systemmanager/module/getlistjson",
postdata: {
parentid: _parentid,
condition: $("#querycondition").find('.dropdown-text').attr('data-value'),
keyword: $("#txt_keyword").val()
}
}).trigger('reloadgrid');
});
//查询回车
$('#txt_keyword').bind('keypress', function (event) {
if (event.keycode == "13") {
$('#btn_search').trigger("click");
}
});
}
//新增
function btn_add() {
dialogopen({
id: "form",
title: '添加功能',
url: '/systemmanager/module/form?parentid=' + _parentid,
width: "700px",
height: "430px",
btn: null
});
};
//编辑
function btn_edit() {
var keyvalue = $("#gridtable").jqgridrowvalue("moduleid");
if (checkedrow(keyvalue)) {
dialogopen({
id: "form",
title: '编辑功能',
url: '/systemmanager/module/form?keyvalue=' + keyvalue,
width: "700px",
height: "430px",
btn: null
});
}
}
//删除
function btn_delete() {
var keyvalue = $("#gridtable").jqgridrowvalue("moduleid");
if (keyvalue) {
$.removeform({
url: "../../systemmanager/module/removeform",
param: { keyvalue: keyvalue },
success: function (data) {
$("#gridtable").trigger("reloadgrid");
}
})
} else {
dialogmsg('请选择需要删除的数据项!', 0);
}
}
</script>
<div class="ui-layout" id="layout" style="height: 100%; width: 100%;">
<div class="ui-layout-west">
<div class="west-panel">
<div class="panel-title">功能目录</div>
<div id="itemtree"></div>
</div>
</div>
<div class="ui-layout-center">
<div class="center-panel">
<div class="panel-title">功能信息</div>
<div class="titlepanel">
<div class="title-search">
<table>
<tr>
<td>
<div id="querycondition" class="btn-group">
<a class="btn btn-default dropdown-text" data-toggle="dropdown">选择条件</a>
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a data-value="encode">编号</a></li>
<li><a data-value="fullname">名称</a></li>
<li><a data-value="urladdress">地址</a></li>
</ul>
</div>
</td>
<td style="padding-left: 2px;">
<input id="txt_keyword" type="text" class="form-control" placeholder="请输入要查询关键字" style="width: 200px;" />
</td>
<td style="padding-left: 5px;">
<a id="btn_search" class="btn btn-primary"><i class="fa fa-search"></i>&nbsp;查询</a>
</td>
</tr>
</table>
</div>
<div class="toolbar">
<div class="btn-group">
<a id="lr-replace" class="btn btn-default" onclick="reload();"><i class="fa fa-refresh"></i>&nbsp;刷新</a>
<a id="lr-add" class="btn btn-default" onclick="btn_add()"><i class="fa fa-plus"></i>&nbsp;新增</a>
<a id="lr-edit" class="btn btn-default" onclick="btn_edit()"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr-delete" class="btn btn-default" onclick="btn_delete()"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<script>$('.toolbar').authorizebutton()</script>
</div>
</div>
<div class="gridpanel">
<table id="gridtable"></table>
</div>
</div>
</div>
</div>

4后端代码

   4.1 control     

/// <summary>
/// 功能列表 
/// </summary>
/// <param name="parentid">节点id</param>
/// <param name="condition">查询条件</param>
/// <param name="keyword">关键字</param>
/// <returns>返回列表json</returns>
[httpget]
public actionresult getlistjson(string parentid, string condition, string keyword)
{
var data = newobject<modulelogic>().getlistbycondition(parentid).datas;
if (!string.isnullorempty(condition) && !string.isnullorempty(keyword))
{
#region 多条件查询
switch (condition)
{
case "encode":    //编号
data = data.findall(t => t.encode.contains(keyword));
break;
case "fullname":      //名称
data = data.findall(t => t.fullname.contains(keyword));
break;
case "urladdress":   //地址
data = data.findall(t => t.urladdress.contains(keyword));
break;
default:
break;
}
#endregion
}
return content(jsonhelper.tojson(data));
}
/// <summary>
/// 功能列表 
/// </summary>
/// <param name="keyword">关键字</param>
/// <returns>返回树形json</returns>
[httpget]
public actionresult gettreejson(string keyword)
{
var data = newobject<modulelogic>().getlistbycache().datas;
if (!string.isnullorempty(keyword))
{
data = data.treewhere(t => t.fullname.contains(keyword), "");
}
var treelist = new list<treeentity>();
foreach (moduleentity item in data)
{
treeentity tree = new treeentity();
bool haschildren = data.count(t => t.parentid == item.moduleid) == 0 ? false : true;
tree.id = item.moduleid.toconvertstring();
tree.text = item.fullname;
tree.value = item.moduleid.toconvertstring();
tree.isexpand = true;
tree.complete = true;
tree.haschildren = haschildren;
tree.parentid = item.parentid.toconvertstring();
//  tree.img = item.icon;
treelist.add(tree);
}
return content(treelist.treetojson());          
}

   4.2 逻辑层 

/*
* ==============================================================================
* file name: modulelogic
* description: 
* version: 1.0
* created: 2017/07/26 15:30:50
* author: 蔡創捷
* ==============================================================================
*/
using system;
using commonlibrary.log;
using commoncontract.base;
using commoncontract.entity;
using commoncontract.condition;
using system.collections.generic;
using mit.application.dao.basemanager;
using commonlibrary.serializer;
using system.linq;
using commoncontract.result;
using commonlibrary.base;
namespace mit.application.logic.basemanager
{
public class modulelogic : baselogic<moduleentity, moduledao>
{
public results<list<moduleentity>> getlistbycondition(string parentid)
{
results<list<moduleentity>> result = new results<list<moduleentity>>();
result.datas = newobject<moduledao>().getlistbycondition(true, it => it.parentid == parentid, it => it.sortcode);
return result;
}
#region 通過條件獲取所有數據
public results<int> getsortcode()
{
results<int> result = new results<int>();
int sortcode = 0;            
sortcode = newobject<moduledao>().getsortcode();
result.datas = sortcode;          
return result;
}
#endregion
#region 保存數據(新增、修改)
public results saveform(string keyvalue, moduleentity moduleentity, string modulebuttonlistjson, string modulecolumnlistjson)
{
results result = new results();           
var modulebuttonlist = jsonhelper.toobject<list<modulebuttonentity>>(modulebuttonlistjson);
var modulecolumnlist = jsonhelper.toobject<list<modulecolumnentity>>(modulecolumnlistjson);
int res = newobject<moduledao>().saveform(keyvalue, moduleentity, modulebuttonlist, modulecolumnlist);          
result.issuccess =(res > 0);           
return result;
}
#endregion
#region 获取授权菜單
public results<list<moduleentity>> getmodulelist(string userid)
{
results<list<moduleentity>> result = new results<list<moduleentity>>();
list<moduleentity> list = null;           
if (userid == "system")
{
list = newobject<moduledao>().getlist();
}
else
{
list = newobject<moduledao>().getmodulelist(userid);
}
list = list.orderby(it => it.sortcode).tolist() ;
result.datas = list;          
return result;
}
#endregion       
}
}

  4.3数据层 

/*
* ==============================================================================
* file name: moduledao
* description: 
* version: 1.0
* created: 2017/07/26 15:28:10
* author: 蔡創捷
* ==============================================================================
*/
using system;
using system.collections.generic;
using commonlibrary.serializer;
using commoncontract.condition;
using commoncontract.entity;
using commonlibrary.cache;
using commonlibrary.sqldb;
using commonlibrary.extendsmethod;
using commonlibrary.log;
using sqlsugar;
using system.text;
namespace mit.application.dao.basemanager
{
//系统功能表
public class moduledao : basedao<moduleentity>
{
public moduledao()
{
base.cachekey = "modulecachekey";
}
/// <summary>
/// 获取最大编号
/// </summary>
/// <returns></returns>
public int getsortcode()
{
var db = sqlsugarhelper.getinstance();
int sortcode = db.queryable<moduleentity>().max(it => it.sortcode).toint();
if (!string.isnullorempty(sortcode.tostring()))
{
return sortcode + 1;
}
return 100001;
}     
/// <summary>
/// 通過分页獲取數據
/// </summary>
public  list<moduleentity> getlistbypage(pageinfo pageinfo, string queryjson)
{
var db = sqlsugarhelper.getinstance();
int totalcount = 0;
var queryparam = jsonhelper.tojobject(queryjson);
string parentid = queryparam["parentid"].toconvertstring();
string condition = queryparam["condition"].toconvertstring();
string keyword = queryparam["keyword"].toconvertstring();
list<moduleentity> list = db.queryable<moduleentity>()
.whereif(!parentid.isempty(), it => it.parentid == parentid)
.whereif(!keyword.isempty() && condition == "encode", it => it.encode.contains(keyword))
.whereif(!keyword.isempty() && condition == "fullname", it => it.fullname.contains(keyword))
.whereif(!keyword.isempty() && condition == "urladdress", it => it.urladdress.contains(keyword))                  
.orderby(it => it.sortcode)
.topagelist(pageinfo.page, pageinfo.limit, ref totalcount);
pageinfo.records = totalcount;
return list;
}
/// <summary>
/// 删除功能
/// </summary>
/// <param name="keyvalue">主键</param>
public new int removeform(string keyvalue)
{
var db = sqlsugarhelper.getinstance();
db.ado.begintran();
try
{
int count = db.queryable<moduleentity>().where(t => t.parentid == keyvalue).count();
if (count > 0)
{
throw new exception("当前所选数据有子节点数据!");
}
db.deleteableex<moduleentity>(keyvalue);
db.deleteableex<modulebuttonentity>(t => t.moduleid == keyvalue);
db.deleteableex<modulecolumnentity>(t => t.moduleid == keyvalue); 
db.ado.committran();
return 1;
}
catch (exception ex)
{
db.ado.rollbacktran();
loghelper.writeerror(ex, "删除菜單失敗");
throw;
}
}
/// <summary>
///  保存數據(新增、修改)
/// </summary>
/// <param name="keyvalue">主键值</param>
/// <param name="entity">实体</param>
/// <returns></returns>
public  int saveform(string keyvalue, moduleentity moduleentity, list<modulebuttonentity> modulebuttonlist, list<modulecolumnentity> modulecolumnlist)
{
var db = sqlsugarhelper.getinstance();
pagecachemanager.current.removecache(base.cachekey);
int resval = 0;
try
{
db.ado.begintran();
if (!string.isnullorempty(keyvalue))
{
moduleentity.modify(keyvalue);
resval = db.updateableex(moduleentity);
}
else
{
moduleentity.create();
resval = db.insertableex(moduleentity);
}
db.deleteableex<modulebuttonentity>(it => it.moduleid == keyvalue);
if (modulebuttonlist != null && modulebuttonlist.count !=0)
{
foreach (var item in modulebuttonlist)
{
item.create();
item.moduleid = moduleentity.moduleid;
item.parentid = "0";
}
db.insertableex(modulebuttonlist.toarray());
}
db.deleteableex<modulecolumnentity>(it => it.moduleid == keyvalue);
if (modulecolumnlist != null && modulecolumnlist.count != 0)
{
foreach (var item in modulecolumnlist)
{
item.create();
item.moduleid = moduleentity.moduleid;
item.parentid = "0";
}
db.insertableex(modulecolumnlist.toarray());
}
db.ado.committran();
return resval;
}
catch (exception)
{
db.ado.rollbacktran();
throw;
}
}
/// <summary>
/// 获取授权菜單
/// </summary>
/// <param name="userid">用户id</param>
/// <returns></returns>
public list<moduleentity> getmodulelist(string userid)
{
var db = sqlsugarhelper.getinstance();   
stringbuilder strsql = new stringbuilder();
strsql.append(@"select  *
from    base_module
where   moduleid in (
select  itemid
from    base_authorize
where   itemtype = 1
and ( objectid in (
select    objectid
from      base_userrelation
where     userid = @userid ) )
or (itemtype = 1 and objectid = @userid) )
and enabledmark = 1  and deletemark = 0 order by sortcode");
var dt = db.ado.sqlquery<moduleentity>(strsql.tostring(), new { userid = userid });
return dt;
}
}
}

5.數據格式

  5.1表格jqgrid-json

[{"moduleid":"1","parentid":"0","encode":"sysmanage","fullname":"系统管理","icon":"fa fa-desktop","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":1,"deletemark":0,"enabledmark":1,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2015-11-17 11:22:46","modifyuserid":"system","modifyusername":"超级管理员"},{"moduleid":"2","parentid":"0","encode":"basemanage","fullname":"单位组织","icon":"fa fa-coffee","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":2,"deletemark":0,"enabledmark":1,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2016-03-11 11:02:06","modifyuserid":"0f36148c-719f-41e0-8c8c-16ffbc40d0e0","modifyusername":"佘赐雄"},{"moduleid":"5","parentid":"0","encode":"flowmanage","fullname":"工作流程","icon":"fa fa-share-alt","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":3,"deletemark":0,"enabledmark":1,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2016-04-11 10:21:44","modifyuserid":"system","modifyusername":"超级管理员"},{"moduleid":"6","parentid":"0","encode":"reportmanage","fullname":"报表中心","icon":"fa fa-area-chart","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":4,"deletemark":0,"enabledmark":1,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2016-04-11 10:21:54","modifyuserid":"system","modifyusername":"超级管理员"},{"moduleid":"4","parentid":"0","encode":"commoninfo","fullname":"公共信息","icon":"fa fa-globe","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":5,"deletemark":0,"enabledmark":1,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2016-04-11 10:21:59","modifyuserid":"system","modifyusername":"超级管理员"},{"moduleid":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","parentid":"0","encode":"customermanage","fullname":"客户关系","icon":"fa fa-briefcase","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":6,"deletemark":0,"enabledmark":1,"description":"客户关系管理","createdate":"2016-03-11 10:53:05","createuserid":"0f36148c-719f-41e0-8c8c-16ffbc40d0e0","createusername":"佘赐雄","modifydate":"2016-04-21 16:00:07","modifyuserid":"system","modifyusername":"超级管理员"},{"moduleid":"7","parentid":"0","encode":"demomanage","fullname":"常用示例","icon":"fa fa-tags","urladdress":null,"target":"expand","ismenu":0,"allowexpand":1,"ispublic":0,"allowedit":null,"allowdelete":null,"sortcode":7,"deletemark":0,"enabledmark":0,"description":null,"createdate":null,"createuserid":null,"createusername":null,"modifydate":"2016-04-26 14:58:24","modifyuserid":"system","modifyusername":"超级管理员"}]

  5.2 jstree -json 

[{"id":"1","text":"系统管理","value":"1","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"4efd37bf-e3ef-4ced-8248-58eba046d78b","text":"通用字典","value":"4efd37bf-e3ef-4ced-8248-58eba046d78b","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"7ae94059-9aa5-48eb-8330-4e2a6565b193","text":"行政区域","value":"7ae94059-9aa5-48eb-8330-4e2a6565b193","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"7adc5a16-54a4-408e-a101-2ddab8117d67","text":"单据编码","value":"7adc5a16-54a4-408e-a101-2ddab8117d67","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"7cec0a0f-7204-4240-b009-312fa0c11cbf","text":"数据管理","value":"7cec0a0f-7204-4240-b009-312fa0c11cbf","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"34e362f4-c220-4fb7-b3f0-288c83417cb3","text":"数据库连接","value":"34e362f4-c220-4fb7-b3f0-288c83417cb3","parentnodes":"7cec0a0f-7204-4240-b009-312fa0c11cbf","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"2f820f6e-ae2e-472f-82cc-0129a2a57597","text":"数据表管理","value":"2f820f6e-ae2e-472f-82cc-0129a2a57597","parentnodes":"7cec0a0f-7204-4240-b009-312fa0c11cbf","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"c4d7ce1f-72de-4651-b495-6c466261e9af","text":"数据库备份","value":"c4d7ce1f-72de-4651-b495-6c466261e9af","parentnodes":"7cec0a0f-7204-4240-b009-312fa0c11cbf","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"f21fa3a0-c523-4d02-99ca-fd8dd3ae3d59","text":"系统日志","value":"f21fa3a0-c523-4d02-99ca-fd8dd3ae3d59","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"21","text":"系统功能","value":"21","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","text":"微信管理","value":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"a977d91e-77b7-4d60-a7ad-dfbc138f7c0a","text":"企业号设置","value":"a977d91e-77b7-4d60-a7ad-dfbc138f7c0a","parentnodes":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"5cc9d2d9-e097-4b51-9b9e-84ca9f1a0ab5","text":"企业号部门","value":"5cc9d2d9-e097-4b51-9b9e-84ca9f1a0ab5","parentnodes":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"4d0f2e44-f68f-41fd-a55c-40ac67453ef4","text":"企业号成员","value":"4d0f2e44-f68f-41fd-a55c-40ac67453ef4","parentnodes":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"aa844d70-7211-41d9-907a-f9a10f4ac801","text":"企业号应用","value":"aa844d70-7211-41d9-907a-f9a10f4ac801","parentnodes":"b9f9df92-8ac5-46e2-90ac-68c5c2e034c3","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"cfa631fe-e7f8-42b5-911f-7172f178a811","text":"快速开发","value":"cfa631fe-e7f8-42b5-911f-7172f178a811","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"b0261df5-7be0-4c8e-829c-15836e200af0","text":"系统表单","value":"b0261df5-7be0-4c8e-829c-15836e200af0","parentnodes":"1","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"2","text":"单位组织","value":"2","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"8","text":"机构管理","value":"8","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"9","text":"部门管理","value":"9","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"10","text":"用户管理","value":"10","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"11","text":"角色管理","value":"11","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"12","text":"职位管理","value":"12","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"13","text":"岗位管理","value":"13","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"14","text":"用户组管理","value":"14","parentnodes":"2","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"4","text":"公共信息","value":"4","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"23713d3a-810f-422d-acd5-39bec28ce47e","text":"日程管理","value":"23713d3a-810f-422d-acd5-39bec28ce47e","parentnodes":"4","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"e35d24ce-8a6a-46b9-8b3f-6dc864a8f342","text":"新闻中心","value":"e35d24ce-8a6a-46b9-8b3f-6dc864a8f342","parentnodes":"4","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"6252983c-52f5-402c-991b-ad19a9cb1f94","text":"通知公告","value":"6252983c-52f5-402c-991b-ad19a9cb1f94","parentnodes":"4","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"04b88c96-8d99-45ec-956c-444efa630020","text":"文件资料","value":"04b88c96-8d99-45ec-956c-444efa630020","parentnodes":"4","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"c6b80ed5-b0cb-4844-ba1a-725d2cb4f935","text":"邮件中心","value":"c6b80ed5-b0cb-4844-ba1a-725d2cb4f935","parentnodes":"4","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"5","text":"工作流程","value":"5","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"1b642904-d674-495f-a1e1-4814cc543870","text":"发起流程","value":"1b642904-d674-495f-a1e1-4814cc543870","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"b5cb98f6-fb41-4a0f-bc11-469ff117a411","text":"流程管理","value":"b5cb98f6-fb41-4a0f-bc11-469ff117a411","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"27b6c487-a2d9-4a3a-a40d-dbba27a53d26","text":"流程监控","value":"27b6c487-a2d9-4a3a-a40d-dbba27a53d26","parentnodes":"b5cb98f6-fb41-4a0f-bc11-469ff117a411","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"c0544bfd-a557-45fc-a856-a678a1e88bfc","text":"流程指派","value":"c0544bfd-a557-45fc-a856-a678a1e88bfc","parentnodes":"b5cb98f6-fb41-4a0f-bc11-469ff117a411","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"691f3810-a602-4523-8518-ce5856482d48","text":"草稿流程","value":"691f3810-a602-4523-8518-ce5856482d48","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"0d296398-bc0e-4f38-996a-6e24bc88cc53","text":"待办流程","value":"0d296398-bc0e-4f38-996a-6e24bc88cc53","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"923f7d65-e307-45f7-8f96-73ecbf23b324","text":"已办流程","value":"923f7d65-e307-45f7-8f96-73ecbf23b324","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"6a67a67f-ef07-41e7-baa5-00bc5f662a76","text":"工作委托","value":"6a67a67f-ef07-41e7-baa5-00bc5f662a76","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"021a59b0-2589-4f9e-8140-6052177a967c","text":"我的流程","value":"021a59b0-2589-4f9e-8140-6052177a967c","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"458113c6-b0be-4d6f-acce-7524f4bc3e88","text":"流程配置","value":"458113c6-b0be-4d6f-acce-7524f4bc3e88","parentnodes":"5","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"08dfd779-92d5-4cd8-9982-a76176af0f7c","text":"流程类别","value":"08dfd779-92d5-4cd8-9982-a76176af0f7c","parentnodes":"458113c6-b0be-4d6f-acce-7524f4bc3e88","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"f63a252b-975f-4832-a5be-1ce733bc8ece","text":"流程设计","value":"f63a252b-975f-4832-a5be-1ce733bc8ece","parentnodes":"458113c6-b0be-4d6f-acce-7524f4bc3e88","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"a57993fa-5a94-44a8-a330-89196515c1d9","text":"表单设计","value":"a57993fa-5a94-44a8-a330-89196515c1d9","parentnodes":"458113c6-b0be-4d6f-acce-7524f4bc3e88","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"00ae31cf-b340-4c17-9ee7-6dd08943df02","text":"表单类别","value":"00ae31cf-b340-4c17-9ee7-6dd08943df02","parentnodes":"458113c6-b0be-4d6f-acce-7524f4bc3e88","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]}]},{"id":"6","text":"报表中心","value":"6","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"affacee1-41a3-4c7b-8804-f1c1926babbd","text":"采购报表","value":"affacee1-41a3-4c7b-8804-f1c1926babbd","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"ff1823b5-a966-4e6c-83de-807854f4f0fb","text":"销售报表","value":"ff1823b5-a966-4e6c-83de-807854f4f0fb","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"92a535c9-4d4b-4500-968d-a142e671c09b","text":"报表管理","value":"92a535c9-4d4b-4500-968d-a142e671c09b","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"ddce0dc1-3345-41b7-9716-22641fbbfaed","text":"销售日报表","value":"ddce0dc1-3345-41b7-9716-22641fbbfaed","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"901e6122-985d-4c84-8d8c-56560520f6ed","text":"仓存报表","value":"901e6122-985d-4c84-8d8c-56560520f6ed","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"9db71a92-2ecb-496c-839f-7a82bc22905d","text":"对账报表","value":"9db71a92-2ecb-496c-839f-7a82bc22905d","parentnodes":"6","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"7","text":"常用示例","value":"7","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","text":"客户关系","value":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","parentnodes":"0","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","text":"基础设置","value":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":true,"childnodes":[{"id":"6be31cc9-4aee-4279-8435-4b266cec33f0","text":"客户行业","value":"6be31cc9-4aee-4279-8435-4b266cec33f0","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"c30310a7-d0a5-4bf6-8655-c3834a8cc73d","text":"客户类别","value":"c30310a7-d0a5-4bf6-8655-c3834a8cc73d","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"aed02ee7-322f-47f0-8ad6-ab0a2172628f","text":"客户程度","value":"aed02ee7-322f-47f0-8ad6-ab0a2172628f","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"52fe82f8-41ba-433e-9351-ef67e5b35217","text":"客户级别","value":"52fe82f8-41ba-433e-9351-ef67e5b35217","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"be9cbe61-265f-4ddd-851e-d5a1cef6011b","text":"商机来源","value":"be9cbe61-265f-4ddd-851e-d5a1cef6011b","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"80620d6f-55bd-492b-9c21-1b04ca268e75","text":"商机阶段","value":"80620d6f-55bd-492b-9c21-1b04ca268e75","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"62af0605-4558-47b1-9530-bc3515036b37","text":"收支账户","value":"62af0605-4558-47b1-9530-bc3515036b37","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"3b03806d-98d8-40fe-9895-01633119458c","text":"产品信息","value":"3b03806d-98d8-40fe-9895-01633119458c","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"77f13de5-32ad-4226-9e24-f1db507e78cb","text":"收支方式","value":"77f13de5-32ad-4226-9e24-f1db507e78cb","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"eab4a37f-d976-42b7-9589-489ed0678151","text":"支出种类","value":"eab4a37f-d976-42b7-9589-489ed0678151","parentnodes":"16d4e2d5-d154-455f-94f7-63bf80ab26aa","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]},{"id":"66f6301c-1789-4525-a7d2-2b83272aafa6","text":"商机管理","value":"66f6301c-1789-4525-a7d2-2b83272aafa6","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"1d3797f6-5cd2-41bc-b769-27f2513d61a9","text":"客户管理","value":"1d3797f6-5cd2-41bc-b769-27f2513d61a9","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"b352f049-4331-4b19-ac22-e379cb30bd55","text":"客户订单","value":"b352f049-4331-4b19-ac22-e379cb30bd55","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"5f1fa264-cc9b-4146-b49e-743e4633bb4c","text":"客户开票","value":"5f1fa264-cc9b-4146-b49e-743e4633bb4c","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"535d92e9-e066-406c-b2c2-697150a5bdff","text":"收款管理","value":"535d92e9-e066-406c-b2c2-697150a5bdff","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"1ef31fba-7f0a-46f7-b533-49dd0c2e51e0","text":"收款报表","value":"1ef31fba-7f0a-46f7-b533-49dd0c2e51e0","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"9fc384f5-efb7-439e-9fe1-3e50807e6399","text":"支出管理","value":"9fc384f5-efb7-439e-9fe1-3e50807e6399","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]},{"id":"dec79ca7-3b54-432a-be1e-c96e7a2c7150","text":"现金银行报表","value":"dec79ca7-3b54-432a-be1e-c96e7a2c7150","parentnodes":"ad147f6d-613f-4d2d-8c84-b749d0754f3b","showcheck":false,"isexpand":true,"complete":true,"haschildren":false,"childnodes":[]}]}]