|
本帖最后由 jylemonwater 于 2013-9-30 09:59 编辑
比如我要选中“需求部门审批”,这个tree的节点,要用什么方法?感谢!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="http://iap6.gmcc.net:9085/10086BMS/">
<title>选择查询模块</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<SCRIPT src="js/dtreeCheckboxIE6.js" type=text/javascript></SCRIPT>
<link href="css/dtree.css" rel="stylesheet" type="text/css">
<LINK href="css/style/home.css" rel="stylesheet" type="text/css">
<LINK href="css/style/table.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="js/jquery.js"></script>
</head>
<script type="text/javascript">
function check(nodeid,treecheckbox){
// alert(nodeid);
//if(document.funTree[nodeid])
for (var i=0;i<document.funTree.length ;i++) {
var e = document.funTree;
if (e.type == "checkbox" && e.value == nodeid ){
if(e.checked==true && treecheckbox==''){
treecheckbox = true;
}
break;
}
}
if(treecheckbox == true){
checkFather(nodeid);
}
if(checkIfHasChild(nodeid)){
checkChildByFather(nodeid,treecheckbox);
}
function checkFather(fid){
if(fid=="-1"){
return;
}
for (var i=0;i<document.funTree.length ;i++) {
var e = document.funTree;
if (e.type == "checkbox" && e.value == fid ){
e.checked = true;
checkFather(e.pid);
}
}
}
//选中所有的儿子
function checkChildByFather(sid,isCheck){
if(!checkIfHasChild(sid)){
return;
}
for (var i=0;i<document.funTree.length ;i++) {
var e = document.funTree;
if (e.type == "checkbox" && e.pid == sid){
if(e.disabled==false){
e.checked = isCheck;
}
checkChildByFather(e.value,isCheck);
}
}
}
//返回是否有儿子
function checkIfHasChild(ssid){
for (var i=0;i<document.funTree.length ;i++) {
var e = document.funTree;
if (e.type == "checkbox" && e.pid == ssid ){
return true;
}
}
return false;
}
}
</script>
<body>
<form name="funTree" method="post" action="system/saveOrDelRolwFlow.action" >
<script type="text/javascript">
var key=new Array();
var value=new Array();
var i=0;
tree = new dTree('tree');
tree.add('0','-1','流程列表','','SGS','','//');
tree.add('11051915573959300001','0','赠费排期','','0','流程列表','');
tree.add('11051916024492100001','11051915573959300001','赠费统筹接口人审核','','11051916024492100001','赠费排期','');
tree.add('11051916032742100001','11051915573959300001','业支赠费负责人审批','','11051916032742100001','赠费排期','');
tree.add('11052009463112500001','11051915573959300001','接口人汇总','','11052009463112500001','赠费排期','');
tree.add('11052009465992100001','11051915573959300001','负责人汇总','','11052009465992100001','赠费排期','');
tree.add('10081914415117100001','0','信息报送流程','','0','流程列表','');
tree.add('10081914431457800001','10081914415117100001','智能知识库维护','','10081914431457800001','信息报送流程','');
tree.add('10081914433184300001','10081914415117100001','知识库维护','','10081914433184300001','信息报送流程','');
tree.add('10081914441009300001','10081914415117100001','区域中心分派','','10081914441009300001','信息报送流程','');
tree.add('10081914444459300001','10081914415117100001','策划人汇总','','10081914444459300001','信息报送流程','');
tree.add('10083021010010900001','10081914415117100001','省客服审核','','10083021010010900001','信息报送流程','');
tree.add('10083021035645300001','10081914415117100001','地市公司修改策略','','10083021035645300001','信息报送流程','');
tree.add('10083021055934300001','10081914415117100001','地市公司确认','','10083021055934300001','信息报送流程','');
tree.add('10101815545123400001','10081914415117100001','地市团队处理','','10101815545123400001','信息报送流程','');
tree.add('11052514204100000001','10081914415117100001','电子渠道处理','','11052514204100000001','信息报送流程','');
tree.add('11053020590095300001','10081914415117100001','知识库审核','','11053020590095300001','信息报送流程','');
tree.add('11081106371376500001','10081914415117100001','区域接口人补充修改','','11081106371376500001','信息报送流程','');
tree.add('11081306432846800001','10081914415117100001','Ivr基地处理','','11081306432846800001','信息报送流程','');
tree.add('10082017252692100001','0','触点营销管理','','0','流程列表','');
tree.add('10082312565032800001','10082017252692100001','填写触点营销销单','','10082312565032800001','触点营销管理','');
tree.add('10082312570801500001','10082017252692100001','需求部门审批','','10082312570801500001','触点营销管理','');
tree.add('10082312581600000001','10082017252692100001','区域上线及评估','','10082312581600000001','触点营销管理','');
tree.add('10082312583359300001','10082017252692100001','提单人查阅补充','','10082312583359300001','触点营销管理','');
tree.add('11011217483678100001','0','优惠返还管理','','0','流程列表','');
tree.add('11011217494253100001','11011217483678100001','接口人分派','','11011217494253100001','优惠返还管理','');
tree.add('11011217503659300001','11011217483678100001','区域中心准备或归档','','11011217503659300001','优惠返还管理','');
tree.add('11011217510317100001','11011217483678100001','任务单归档','','11011217510317100001','优惠返还管理','');
tree.add('10081719410043700001','0','电子渠道营销管理','','0','流程列表','');
tree.add('10081719414546800001','10081719410043700001','填写电子渠道营销单','','10081719414546800001','电子渠道营销管理','');
tree.add('10081719421132800001','10081719410043700001','需求部门审批','','10081719421132800001','电子渠道营销管理','');
tree.add('10081719423189000001','10081719410043700001','修改渠道营销单','','10081719423189000001','电子渠道营销管理','');
tree.add('10081719434235900001','10081719410043700001','上线布放','','10081719434235900001','电子渠道营销管理','');
tree.add('10081719440167100001','10081719410043700001','提单人查阅补充','','10081719440167100001','电子渠道营销管理','');
tree.add('10102118475945300001','10081719410043700001','部门领导审核','','10102118475945300001','电子渠道营销管理','');
tree.add('10102118482020300001','10081719410043700001','渠道室审批','','10102118482020300001','电子渠道营销管理','');
tree.add('10102118483860900001','10081719410043700001','接口人审批','','10102118483860900001','电子渠道营销管理','');
tree.add('10102118485735900001','10081719410043700001','中心任务人执行反馈','','10102118485735900001','电子渠道营销管理','');
tree.add('11032414504757800001','10081719410043700001','中心内部审批','','11032414504757800001','电子渠道营销管理','');
tree.add('11032414510793700001','10081719410043700001','广州中心业务室审批','','11032414510793700001','电子渠道营销管理','');
tree.add('11032414512842100001','10081719410043700001','电子渠道布放人员审批','','11032414512842100001','电子渠道营销管理','');
tree.add('11032414515045300001','10081719410043700001','质量管理人员审批','','11032414515045300001','电子渠道营销管理','');
tree.add('11042709443034300001','10081719410043700001','律师组审核','','11042709443034300001','电子渠道营销管理','');
tree.add('11042711200662500001','10081719410043700001','综援室业务组审核','','11042711200662500001','电子渠道营销管理','');
tree.add('11042711575335900001','10081719410043700001','需求室经理','','11042711575335900001','电子渠道营销管理','');
tree.add('11042718390582800001','10081719410043700001','业务室经理审核','','11042718390582800001','电子渠道营销管理','');
tree.add('12051621182689000001','10081719410043700001','业务管理员审核','','12051621182689000001','电子渠道营销管理','');
tree.add('11070404014985900001','0','渠道测评','','0','流程列表','');
tree.add('11070406083439000001','11070404014985900001','服务质量协调中心测评','','11070406083439000001','渠道测评','');
tree.add('11070406180209300001','11070404014985900001','区域综援室测评','','11070406180209300001','渠道测评','');
tree.add('11070502592676500001','11070404014985900001','省电商/区域业务室处理','','11070502592676500001','渠道测评','');
tree.add('11071202493671800001','11070404014985900001','室经理审核','','11071202493671800001','渠道测评','');
tree.add('11043010490320300001','0','信息反馈','','0','流程列表','');
tree.add('11043010495656200001','11043010490320300001','知识库管理团队审核','','11043010495656200001','信息反馈','');
tree.add('11043011535357800001','11043010490320300001','更新知识库','','11043011535357800001','信息反馈','');
tree.add('11111010221282800001','0','短信服务厅','','0','流程列表','');
tree.add('11111010550976500001','11111010221282800001','填写需求单','','11111010550976500001','短信服务厅','');
tree.add('11111010561298400001','11111010221282800001','市场部、传播室、服务室评审','','11111010561298400001','短信服务厅','');
tree.add('11111010573890600001','11111010221282800001','区域中心业务组','','11111010573890600001','短信服务厅','');
tree.add('11111010584223400001','11111010221282800001','客服渠道组','','11111010584223400001','短信服务厅','');
tree.add('11111010591890600001','11111010221282800001','业务支持中心接口人','','11111010591890600001','短信服务厅','');
tree.add('11111011000362500001','11111010221282800001','知识库接口人','','11111011000362500001','短信服务厅','');
tree.add('11011816284665600001','0','业务会审','','0','流程列表','');
tree.add('11011816302832800001','11011816284665600001','热线前台小组','','11011816302832800001','业务会审','');
tree.add('11011816304895300001','11011816284665600001','投诉风险小组','','11011816304895300001','业务会审','');
tree.add('11011816311029600001','11011816284665600001','服务、传播、渠道小组','','11011816311029600001','业务会审','');
tree.add('11011816313248400001','11011816284665600001','系统、业支、网络小组','','11011816313248400001','业务会审','');
tree.add('11011816315415600001','11011816284665600001','法律风险小组','','11011816315415600001','业务会审','');
tree.add('11011816321739000001','11011816284665600001','营销专家审核小组','','11011816321739000001','业务会审','');
tree.add('11011816323593700001','11011816284665600001','其他组','','11011816323593700001','业务会审','');
tree.add('11011816325401500001','11011816284665600001','审核小组接口人','','11011816325401500001','业务会审','');
tree.add('11042516041432800001','11011816284665600001','服务测评小组审核','','11042516041432800001','业务会审','');
tree.add('11042614260690600001','11011816284665600001','业务会审阅知','','11042614260690600001','业务会审','');
tree.add('10082014404753100001','0','沟通管理','','0','流程列表','');
tree.add('10082014473900000001','10082014404753100001','填写沟通管理单','','10082014473900000001','沟通管理','');
tree.add('10082014491043700001','10082014404753100001','任务人执行反馈','','10082014491043700001','沟通管理','');
tree.add('10082619545560900001','0','通用流程','','0','流程列表','');
tree.add('10082619560001500001','10082619545560900001','短信群发任务人','','10082619560001500001','通用流程','');
tree.add('10082619563823400001','10082619545560900001','业务核实任务人','','10082619563823400001','通用流程','');
tree.add('10082619570545300001','10082619545560900001','外呼管理任务人','','10082619570545300001','通用流程','');
tree.add('10082619574382800001','10082619545560900001','热点咨询任务人','','10082619574382800001','通用流程','');
tree.add('10082619581345300001','10082619545560900001','投诉管理任务人','','10082619581345300001','通用流程','');
tree.add('10082619583721800001','10082619545560900001','意见建议任务人','','10082619583721800001','通用流程','');
tree.add('10082619590229600001','10082619545560900001','公共沟通任务人','','10082619590229600001','通用流程','');
tree.add('10090120402254600001','10082619545560900001','IVR任务人','','10090120402254600001','通用流程','');
tree.add('10090120404276500001','10082619545560900001','电子渠道任务人','','10090120404276500001','通用流程','');
tree.add('10090120410682800001','10082619545560900001','渠道联动任务人','','10090120410682800001','通用流程','');
tree.add('10090120412562500001','10082619545560900001','网站地址任务人','','10090120412562500001','通用流程','');
tree.add('10090120420279600001','10082619545560900001','需求分派任务人','','10090120420279600001','通用流程','');
tree.add('10082417314287500001','0','短信执行','','0','流程列表','');
tree.add('10082417320628100001','10082417314287500001','填写短信群发任务单','','10082417320628100001','短信执行','');
tree.add('10082417322307800001','10082417314287500001','需求部门审批','','10082417322307800001','短信执行','');
tree.add('10082417324743700001','10082417314287500001','修改群发任务单','','10082417324743700001','短信执行','');
tree.add('10082417330321800001','10082417314287500001','区域发送及反馈','','10082417330321800001','短信执行','');
tree.add('10082417332562500001','10082417314287500001','发起人查阅','','10082417332562500001','短信执行','');
tree.add('10091915431990600001','10082417314287500001','业务接口人审批','','10091915431990600001','短信执行','');
tree.add('10102710170973400001','10082417314287500001','传播室审批','','10102710170973400001','短信执行','');
tree.add('10102710191203100001','10082417314287500001','中心任务人执行反馈','','10102710191203100001','短信执行','');
tree.add('11050417292304600001','10082417314287500001','投诉风险审批','','11050417292304600001','短信执行','');
tree.add('11050616375959300001','10082417314287500001','部门领导审核','','11050616375959300001','短信执行','');
tree.add('11050616392575000001','10082417314287500001','数据审核','','11050616392575000001','短信执行','');
tree.add('11050616395246800001','10082417314287500001','审核确认','','11050616395246800001','短信执行','');
tree.add('11060112470696800001','10082417314287500001','资源审核','','11060112470696800001','短信执行','');
tree.add('11060112575525000001','10082417314287500001','内容审核','','11060112575525000001','短信执行','');
tree.add('11060113174475000001','10082417314287500001','质量审核','','11060113174475000001','短信执行','');
tree.add('11060113294648400001','10082417314287500001','群发小组操作','','11060113294648400001','短信执行','');
tree.add('11082507485851500001','10082417314287500001','传播室接口人审批','','11082507485851500001','短信执行','');
tree.add('11082507555781200001','10082417314287500001','传播室室经理审批','','11082507555781200001','短信执行','');
tree.add('11111108592398400001','10082417314287500001','室经理审批','','11111108592398400001','短信执行','');
tree.add('11111109001598400001','10082417314287500001','群发管理员审批','','11111109001598400001','短信执行','');
tree.add('11111109312267100001','10082417314287500001','业务管理员审核','','11111109312267100001','短信执行','');
tree.add('11111109425529600001','10082417314287500001','群发管理员资源安排','','11111109425529600001','短信执行','');
tree.add('11111109431403100001','10082417314287500001','简信通管理员处理','','11111109431403100001','短信执行','');
tree.add('11111401544881200001','10082417314287500001','渠道管理员发送计划反馈','','11111401544881200001','短信执行','');
tree.add('12051819145320300001','10082417314287500001','产品经理确认','','12051819145320300001','短信执行','');
tree.add('12071008275579600001','0','数据提取','','0','流程列表','');
tree.add('12071008283318700001','12071008275579600001','地市室经理审批','','12071008283318700001','数据提取','');
tree.add('12071009345921800001','12071008275579600001','地市部门经理审批','','12071009345921800001','数据提取','');
tree.add('12071010070198400001','12071008275579600001','客服经理审批','','12071010070198400001','数据提取','');
tree.add('12071010095940600001','12071008275579600001','客服部门经理审批','','12071010095940600001','数据提取','');
tree.add('12071101185092100001','12071008275579600001','客服负责人处理','','12071101185092100001','数据提取','');
tree.add('11011315223312500001','0','批量开通管理','','0','流程列表','');
tree.add('11011315232542100001','11011315223312500001','接口人分派','','11011315232542100001','批量开通管理','');
tree.add('11011315234300000001','11011315223312500001','区域中心准备或归档','','11011315234300000001','批量开通管理','');
tree.add('11011315240068700001','11011315223312500001','任务单归档','','11011315240068700001','批量开通管理','');
tree.add('10070520261692100001','0','业务疑难','','0','流程列表','');
tree.add('10080919430601500001','10070520261692100001','填写业务疑难单','','10080919430601500001','业务疑难','');
tree.add('10080919434928100001','10070520261692100001','区域初审','','10080919434928100001','业务疑难','');
tree.add('10080919453731200001','10070520261692100001','智能知识库初审','','10080919453731200001','业务疑难','');
tree.add('10080919513342100001','10070520261692100001','知识库分派','','10080919513342100001','业务疑难','');
tree.add('10080919515201500001','10070520261692100001','省中心审核','','10080919515201500001','业务疑难','');
tree.add('10080919521571800001','10070520261692100001','区域中心回复','','10080919521571800001','业务疑难','');
tree.add('10080919525432800001','10070520261692100001','市公司回复','','10080919525432800001','业务疑难','');
tree.add('10080919531643700001','10070520261692100001','省公司市场部确认','','10080919531643700001','业务疑难','');
tree.add('10080919544306200001','10070520261692100001','知识库检查','','10080919544306200001','业务疑难','');
tree.add('10080919550723400001','10070520261692100001','更新知识库','','10080919550723400001','业务疑难','');
tree.add('10080919560954600001','10070520261692100001','智能知识库查阅','','10080919560954600001','业务疑难','');
tree.add('10080919565296800001','10070520261692100001','区域中心查阅 ','','10080919565296800001','业务疑难','');
tree.add('10081309090618700001','10070520261692100001','省中心解决回复','','10081309090618700001','业务疑难','');
tree.add('10091711290732800001','10070520261692100001','接口人回复或转派','','10091711290732800001','业务疑难','');
tree.add('11040719123646800001','10070520261692100001','广州接口人回复或转派','','11040719123646800001','业务疑难','');
tree.add('11040719185382800001','10070520261692100001','韶关接口人回复或转派','','11040719185382800001','业务疑难','');
tree.add('11041114171548400001','10070520261692100001','清远接口人回复或转派','','11041114171548400001','业务疑难','');
tree.add('11041114173570300001','10070520261692100001','云浮接口人回复或转派','','11041114173570300001','业务疑难','');
tree.add('11041114175439000001','10070520261692100001','肇庆接口人回复或转派','','11041114175439000001','业务疑难','');
tree.add('11041114181373400001','10070520261692100001','佛山接口人回复或转派','','11041114181373400001','业务疑难','');
tree.add('11041114183076500001','10070520261692100001','中山接口人回复或转派','','11041114183076500001','业务疑难','');
tree.add('11041114184817100001','10070520261692100001','珠海接口人回复或转派','','11041114184817100001','业务疑难','');
tree.add('11041114190521800001','10070520261692100001','东莞接口人回复或转派','','11041114190521800001','业务疑难','');
tree.add('11041114192814000001','10070520261692100001','梅州接口人回复或转派','','11041114192814000001','业务疑难','');
tree.add('11041114194754600001','10070520261692100001','河源接口人回复或转派','','11041114194754600001','业务疑难','');
tree.add('11041114200501500001','10070520261692100001','惠州接口人回复或转派','','11041114200501500001','业务疑难','');
tree.add('11041114202226500001','10070520261692100001','江门接口人回复或转派','','11041114202226500001','业务疑难','');
tree.add('11041114204818700001','10070520261692100001','茂名接口人回复或转派','','11041114204818700001','业务疑难','');
tree.add('11041114210710900001','10070520261692100001','湛江接口人回复或转派','','11041114210710900001','业务疑难','');
tree.add('11041114212567100001','10070520261692100001','阳江接口人回复或转派','','11041114212567100001','业务疑难','');
tree.add('11041114214460900001','10070520261692100001','汕头接口人回复或转派','','11041114214460900001','业务疑难','');
tree.add('11041114220040600001','10070520261692100001','揭阳接口人回复或转派','','11041114220040600001','业务疑难','');
tree.add('11041114221842100001','10070520261692100001','汕尾接口人回复或转派','','11041114221842100001','业务疑难','');
tree.add('11041114223668700001','10070520261692100001','潮州接口人回复或转派','','11041114223668700001','业务疑难','');
tree.add('11041114225443700001','10070520261692100001','深圳接口人回复或转派','','11041114225443700001','业务疑难','');
tree.add('11120118241842100001','0','问题优改','','0','流程列表','');
tree.add('11112917321950000001','11120118241842100001','问题优改处理','','11112917321950000001','问题优改','');
tree.add('12052803500512500001','0','预受理池','','0','流程列表','');
tree.add('12052807455554600001','12052803500512500001','市公司协助','','12052807455554600001','预受理池','');
tree.add('12052808493778100001','12052803500512500001','信息发布小组处理','','12052808493778100001','预受理池','');
tree.add('12052809162464000001','12052803500512500001','区域发送及反馈','','12052809162464000001','预受理池','');
tree.add('12052809384318700001','12052803500512500001','中心任务人执行反馈','','12052809384318700001','预受理池','');
tree.add('12052809391393700001','12052803500512500001','查阅反馈信息','','12052809391393700001','预受理池','');
tree.add('12052814292195300001','12052803500512500001','区域中心审核','','12052814292195300001','预受理池','');
tree.add('10091910110281200001','0','需求分派','','0','流程列表','');
tree.add('10091910112832800001','10091910110281200001','质管室协作处理','','10091910112832800001','需求分派','');
tree.add('10091910114553100001','10091910110281200001','系统支持处理','','10091910114553100001','需求分派','');
tree.add('10091910135596800001','10091910110281200001','话务室协作处理','','10091910135596800001','需求分派','');
tree.add('10091910140917100001','10091910110281200001','综援室协作处理','','10091910140917100001','需求分派','');
tree.add('10091910142317100001','10091910110281200001','知识库处理','','10091910142317100001','需求分派','');
tree.add('10091910143843700001','10091910110281200001','智能知识库处理','','10091910143843700001','需求分派','');
tree.add('10070520181839000001','0','事件通知','','0','流程列表','');
tree.add('10070520533007800001','10070520181839000001','填写通知信息单','','10070520533007800001','事件通知','');
tree.add('10071515283165600001','10070520181839000001','省客服审核分派通知单','','10071515283165600001','事件通知','');
tree.add('10071515290162500001','10070520181839000001','智能知识库处理','','10071515290162500001','事件通知','');
tree.add('10071515292565600006','10070520181839000001','汕头区域中心处理','','10071515292565600006','事件通知','');
tree.add('10071515292565600003','10070520181839000001','东莞区域中心处理','','10071515292565600003','事件通知','');
tree.add('10071515292565600004','10070520181839000001','佛山区域中心处理','','10071515292565600004','事件通知','');
tree.add('10071515292565600005','10070520181839000001','江门区域中心处理','','10071515292565600005','事件通知','');
tree.add('10071515292565600001','10070520181839000001','广州区域中心处理','','10071515292565600001','事件通知','');
tree.add('10071515292565600002','10070520181839000001','深圳区域中心处理','','10071515292565600002','事件通知','');
tree.add('10071515300310900001','10070520181839000001','知识库处理','','10071515300310900001','事件通知','');
tree.add('10071515303039000001','10070520181839000001','知识库任务人处理','','10071515303039000001','事件通知','');
tree.add('10071515313789000001','10070520181839000001','智能知识库任务人处理','','10071515313789000001','事件通知','');
tree.add('10071515334190600006','10070520181839000001','汕头区域中心任务人处理','','10071515334190600006','事件通知','');
tree.add('10071515334190600002','10070520181839000001','深圳区域中心任务人处理','','10071515334190600002','事件通知','');
tree.add('10071515334190600001','10070520181839000001','广州区域中心任务人处理','','10071515334190600001','事件通知','');
tree.add('10071515334190600003','10070520181839000001','东莞区域中心任务人处理','','10071515334190600003','事件通知','');
tree.add('10071515334190600005','10070520181839000001','江门区域中心任务人处理','','10071515334190600005','事件通知','');
tree.add('10071515334190600004','10070520181839000001','佛山区域中心任务人处理','','10071515334190600004','事件通知','');
tree.add('10071515344042100001','10070520181839000001','知识库确认','','10071515344042100001','事件通知','');
tree.add('10071515352498400001','10070520181839000001','智能知识库确认','','10071515352498400001','事件通知','');
tree.add('10071515371160900006','10070520181839000001','汕头区域中心确认','','10071515371160900006','事件通知','');
tree.add('10071515371160900005','10070520181839000001','江门区域中心确认','','10071515371160900005','事件通知','');
tree.add('10071515371160900004','10070520181839000001','佛山区域中心确认','','10071515371160900004','事件通知','');
tree.add('10071515371160900003','10070520181839000001','东莞区域中心确认','','10071515371160900003','事件通知','');
tree.add('10071515371160900001','10070520181839000001','广州区域中心确认','','10071515371160900001','事件通知','');
tree.add('10071515371160900002','10070520181839000001','深圳区域中心确认','','10071515371160900002','事件通知','');
tree.add('10071515375442100001','10070520181839000001','省客服确认通知单','','10071515375442100001','事件通知','');
tree.add('10080318190242100001','10070520181839000001','区域中心处理','','10080318190242100001','事件通知','');
tree.add('10080318193701500001','10070520181839000001','区域中心任务人处理','','10080318193701500001','事件通知','');
tree.add('10080318200381200001','10070520181839000001','区域中心确认','','10080318200381200001','事件通知','');
tree.add('10080318205171800001','10070520181839000001','市公司阅知','','10080318205171800001','事件通知','');
tree.add('10112216204760900001','10070520181839000001','地市团队处理','','10112216204760900001','事件通知','');
tree.add('11052508375901500001','10070520181839000001','电子渠道处理','','11052508375901500001','事件通知','');
tree.add('10081218202601500001','0','服务测评','','0','流程列表','');
tree.add('10081219275759300001','10081218202601500001','填写业务测评单','','10081219275759300001','服务测评','');
tree.add('10081219281781200001','10081218202601500001','开展测评及反馈','','10081219281781200001','服务测评','');
tree.add('10081219283678100001','10081218202601500001','业务优改','','10081219283678100001','服务测评','');
tree.add('10081219285331200001','10081218202601500001','分发测评单','','10081219285331200001','服务测评','');
tree.add('10081219291323400001','10081218202601500001','评估测评结果','','10081219291323400001','服务测评','');
tree.add('11031017372179600001','10081218202601500001','业务组测评','','11031017372179600001','服务测评','');
tree.add('11031017375596800001','10081218202601500001','质量组测评','','11031017375596800001','服务测评','');
tree.add('11031017382290600001','10081218202601500001','投诉组测评','','11031017382290600001','服务测评','');
tree.add('11031017385153100001','10081218202601500001','地市组测评','','11031017385153100001','服务测评','');
tree.add('11031510333006200001','10081218202601500001','区域中心汇总测评结果','','11031510333006200001','服务测评','');
tree.add('11031510360126500001','10081218202601500001','基地中心汇总测评结果','','11031510360126500001','服务测评','');
tree.add('11111503293668700001','10081218202601500001','区域中心接口人分派','','11111503293668700001','服务测评','');
tree.add('11111506310453100001','10081218202601500001','质管组测评','','11111506310453100001','服务测评','');
tree.add('11111603360531200001','10081218202601500001','质量协调中心业务测评组','','11111603360531200001','服务测评','');
tree.add('11111603362739000001','10081218202601500001','业务策划部门落实问题','','11111603362739000001','服务测评','');
tree.add('11111606194362500001','10081218202601500001','区域中心接口人审核','','11111606194362500001','服务测评','');
tree.add('11111606550343700001','10081218202601500001','业务策划部门优改','','11111606550343700001','服务测评','');
tree.add('11111802055373400001','10081218202601500001','深圳区域汇总地市测评','','11111802055373400001','服务测评','');
tree.add('11113002582440600001','10081218202601500001','广州区域汇总地市测评','','11113002582440600001','服务测评','');
tree.add('11113002585178100001','10081218202601500001','东莞区域汇总地市测评','','11113002585178100001','服务测评','');
tree.add('11113002591462500001','10081218202601500001','佛山区域汇总地市测评','','11113002591462500001','服务测评','');
tree.add('11113002593790600001','10081218202601500001','江门区域汇总地市测评','','11113002593790600001','服务测评','');
tree.add('11113003000012500001','10081218202601500001','汕头区域汇总地市测评','','11113003000012500001','服务测评','');
tree.add('11120903252389000001','10081218202601500001','广州区域接口人分派','','11120903252389000001','服务测评','');
tree.add('11120903255520300001','10081218202601500001','深圳区域接口人分派','','11120903255520300001','服务测评','');
tree.add('11120903262523400001','10081218202601500001','东莞区域接口人分派','','11120903262523400001','服务测评','');
tree.add('11120903264632800001','10081218202601500001','佛山区域接口人分派','','11120903264632800001','服务测评','');
tree.add('11120903270603100001','10081218202601500001','江门区域接口人分派','','11120903270603100001','服务测评','');
tree.add('11120903272617100001','10081218202601500001','汕头区域接口人分派','','11120903272617100001','服务测评','');
tree.add('11072203504117100001','0','群发计划','','0','流程列表','');
tree.add('11072203595660900001','11072203504117100001','产品经理提短信单','','11072203595660900001','群发计划','');
tree.add('11051109594601500001','0','短信收集','','0','流程列表','');
tree.add('11051110005317100001','11051109594601500001','律师审核','','11051110005317100001','短信收集','');
tree.add('11051201582975000001','11051109594601500001','区域中心会审','','11051201582975000001','短信收集','');
tree.add('11051205403068700001','11051109594601500001','传播室汇总','','11051205403068700001','短信收集','');
tree.add('11051207163300000001','11051109594601500001','区域中心汇总','','11051207163300000001','短信收集','');
tree.add('11051208414826500001','11051109594601500001','传播室审核','','11051208414826500001','短信收集','');
tree.add('11051209091146800001','11051109594601500001','汇总审核','','11051209091146800001','短信收集','');
tree.add('11051210454109300001','11051109594601500001','接口人审核','','11051210454109300001','短信收集','');
tree.add('11051701531300000001','11051109594601500001','服务室审核','','11051701531300000001','短信收集','');
tree.add('11072708105885900001','11051109594601500001','群发管理员汇总审批','','11072708105885900001','短信收集','');
tree.add('11072807205646800001','11051109594601500001','传播室/服务管理室审核','','11072807205646800001','短信收集','');
tree.add('11072807365178100001','11051109594601500001','室经理审核','','11072807365178100001','短信收集','');
tree.add('11072807514301500001','11051109594601500001','市场部审核领导','','11072807514301500001','短信收集','');
tree.add('11072901452793700001','11051109594601500001','公司领导审核','','11072901452793700001','短信收集','');
tree.add('11080406401503100001','11051109594601500001','业务组审核','','11080406401503100001','短信收集','');
tree.add('11080407323989000001','11051109594601500001','区域群发管理员','','11080407323989000001','短信收集','');
tree.add('11110803053868700001','11051109594601500001','部门接口人审核','','11110803053868700001','短信收集','');
tree.add('11112503190628100001','11051109594601500001','归属室经理审核','','11112503190628100001','短信收集','');
// alert(tree);
// alert(tree);
// tree.closeAll();
function saveAndColse(){
var orgValue = document.getElementsByName("treeBox");
//alert(orgValue);
var returns ="";
var b=false;
if(orgValue != null) {
var len=orgValue.length;
//alert(orgValue.length);
if(len!=0){
for(var i = 0; i< len; i++) {
//b=b||orgValue.checked;
if(orgValue.checked) {
var item=orgValue.value;
//if(item.search(/_/g)!=-1 )
if(orgValue.pid!=0)
returns =returns+item+",";
}
}
}else{
return false;
}
}
//alert(returns);
returns=returns.substring(0,returns.length-1);
var keys=returns.split(",");
returns=returns+"|";
for(var i=0;i<keys.length;i++){
for(var j=0;j<key.length;j++){
if(keys==key[j])
returns =returns+value[j]+",";
}
}
if(returns.length>0)
returns=returns.substring(0,returns.length-1);
this.returnValue = returns;
document.getElementById("newRoleIds").value=returns;
//if(!comfirm("是否保存设置?")){
// return false;
// }
//alert(returns);
//window.close();
document.funTree.submit();
}
function closeWindow(){
this.returnValue = "";
window.close();
}
var roleIds="10090120402254600001,";
//alert(qModels);
function clearValue(){
document.getElementById("newRoleIds").value="";
var orgValue = document.getElementsByName("treeBox");
if(orgValue != null) {
var len=orgValue.length;
if(len!=0){
for(var i = 0; i< len; i++) {
orgValue.checked=false;
}
}
}
}
function setValue(qModels){
//alert(qModels);
document.getElementById("oldRoleIds").value=qModels;
if(qModels==null)
return ;
var orgValue = document.getElementsByName("treeBox");
var obj=qModels.split(",");
if(orgValue != null) {
var len=orgValue.length;
if(len!=0){
for(var i = 0; i< len; i++) {
var item=orgValue.value;
orgValue.checked=false;
for(var j=0;j<obj.length;j++){
if(item==obj[j]){
orgValue.checked=true;
for(var k=0;j<tree.aNodes.length;k++){
if(tree.aNodes[k].id==item){
var s="input[value="+tree.aNodes[k].pid+"]";
var d=$(s);
d.attr({checked : "true"});
break;
}
}
}
}
}
}
}
}
function changeArae(value){
//alert(value);
//$.post(/10086BMS+"/system/getUserRoleflow.action",{"id":1},function(data){
// alert(data);//获取提交到action.asp之后返回的所有数据
// });
var employee=document.getElementById("employee").value;
$.post("/10086BMS/system/getUserRoleflow.action",{"searType":value,"employee":employee},function(data){
//alert(employee);
setValue(data);
});
}
</script>
<br>
<br>
<table width="99%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="right">配置类型:</td>
<td colspan="1" align="left">
<select class="text01" name="areaUser" id="areaUser" style="width: 130px;" onchange="javascript:changeArae(this.value);">
<option value="0">
本区域用户维护
</option>
<option value="1">
跨区域用户维护
</option>
</select>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<script type="text/javascript">
document.write(tree);
</script>
</td>
</tr>
<tr>
<td align="center"><input type="button" name="save" class="btn05" value = "保存" onclick="javascript:saveAndColse();"></td>
<td align="center"><input type="button" name="save" class="btn05" value = "清除" onclick="javascript:clearValue();"></td>
<td align="left"><input type="button" name="cancel" class ="btn06" value = "取消" onclick="javascript:closeWindow();"></td>
</tr>
</table>
<input type="hidden" id="oldRoleIds" name="oldRoleIds" value="10090120402254600001,">
<input type="hidden" id="newRoleIds" name="newRoleIds">
<input type="hidden" id="employee" name="employee" value="0521972078">
</form>
<script type="text/javascript">
setValue(roleIds);
</script>
</body>
</html> |
|