
function xav(a,b,c){}
DcxReport.BeforeInit=xav;function sul(a,b,c){}
DcxReport.AfterInit=sul;function ker(a,b){if(b==undefined||b==null||b=="")b="ListR_";var c=ntt(a,b);if(c<1)return null;var d=DcxRun[b+c];if(d==undefined||d==null)d=DcxRun["TitleL_"+c];else return d;if(d==undefined||d==null)d=DcxRun["ListR_"+c];else return d;if(d==undefined||d==null)d=DcxRun["BlockL_"+c];else return d;if(d==undefined||d==null)d=DcxRun["SummaryL_"+c];else return d;if(d==undefined||d==null)d=DcxRun["ImgSummyL_"+c];else return d;if(d==undefined||d==null)d=DcxRun["MChildR_"+c];else return d;if(d==undefined||d==null)d=DcxRun["DefaultR_"+c];else return d}
DcxReport.iqo=ker;function wkd(a,b){var c=ker(a,b);if(ymr(c))return null;return c.EntMsg["E"+a]}
DcxReport.GetOneReportMsg=wkd;function npp(a,b){return arm(a,b)}
function zgp(a,b){var c=wkd(a,b);if(ymr(c))return null;return c["KeyFieldValue"]}
DcxReport.GetKeyValue=zgp;function arm(a,b){var c={MKeyFieldValue:"",KeyFieldValue:""};var d=ker(a,b);if(ymr(d))return null;c.MKeyFieldValue=d["MKeyFieldValue"];c.KeyFieldValue=d.EntMsg["E"+a]["KeyFieldValue"];return c}
DcxReport.GetMKeyValue=arm;function iqo(a,b){var c=ker(a,b);var d={EntId:a,CtrlPrex:b,MKeyFieldValue:"",KeyFieldValue:"",MenuId:-1,TableName:"",OperateType:1,KeyField:"",IsMEnt:true,KeydtId:2,JoinKeyField:""};if(ymr(Form_EntMsg))return null;var e=c.EntMsg["E"+a];d.MKeyFieldValue=c["MKeyFieldValue"];d.KeyFieldValue=e["KeyFieldValue"];d.KeyField=e["KeyField"];d.TableName=e["DBTableName"];d.MenuId=c["MenuId"];d.KeydtId=e["KeydtId"];d.JoinKeyField=e["JoinKeyField"];d.OperateType=c["OperateType"];d.IsMEnt=e["IsMEnt"];return d}
DcxReport.GetReportMainMsg=iqo;function ntt(a,b){var c=-1;var d=null;c=DcxRun.MEnt["_"+a];if(!isNaN(c))return c;else return a}
DcxReport.GetMainEntId=ntt;function xgz(a,b){var c=ker(a,b);var d=ntt(a,b);var e=c.FielDeal;if(!ymr(e))return e;else return null}
DcxReport.hrs=xgz;function GetListReport_CtrlContainer(a,b){}
function GetListReport_TrContainer(a,b){}
function ixv(a,b){var c=ntt(a,b);var d=ker(a,b);if(ymr(d))return null;var e=d.$container;if(ymr(e)||e.length<1){e=$("#div_"+b+c);if(!ymr(e)&&e.length>0){d.$container=e}}
return e}
DcxReport.GetHtmlContainer=ixv;function xch(a,b){var c=ntt(a,b);var d=ker(a,b);if(ymr(d))return null;var e=d.EntMsg["E"+a];var f=e.$listContainer;if(ymr(f)||f.length<1){f=$("#div_List_"+b+a);if(!ymr(f)&&f.length>0){e.$listContainer=f}}
return f}
DcxReport.GetHtmlContainerList=xch;function jts(a,b,c,d,e,f){return e.find("span[FldId="+d+"]").text()}
DcxReport.nzjValue=jts;function keo(a,b){var c=DcxReport.GetRow(a);var d=c.find("span[isfield=1][fieldname='"+b+"']");var v=null;if(d.length>0){v=d.text();v=v.replace("&nbsp;","").replace("\n","").replace("\r","")}
return v}
DcxReport.GetRowFieldValue=keo;function wkz(a,b,c,d,e,f){if(ymr(e)||e.length<1){if(f)e=mwu(a,b,c);else e=ixv(b,c)}
return e.find("span[FieldName='"+d+"']:first").text()}
function mwu(a,b,c){var i=0;var d=$(a);var e=false;while(i<25&&d.length>0){if(d.attr("isgroup")=="1"){e=true;break}
d=d.parent();i++}
if(e)return d;else return null}
DcxReport.GetRow=mwu;function ipk(a){var b=mwu(a);if(!ymr(b)&&b.length>0)return b.attr("kv");else return null}
DcxReport.GetRowKeyValue=ipk;String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")}
function tzm(a){var b=new RegExp("(^|\\?|&)"+a+"=([^&]*)(\\s|&|$)","i");if(b.test(location.href))return unescape(RegExp.$2.replace(/\+/g," "));return""}
function ugl(a,b,c){var d=$("#div_List_"+c+b);var e=false;if($(a).attr("checked"))e=true;d.children().find("input[IsSysCheck=1]").each(function(m){this.checked=e})}
DcxCom.CheckedAll=ugl;function jlw(c,d){var e=',';var f=new nzy();var g=xch(c,d);g.children("[dt=1]").each(function(m){var a=$(this).attr("kv");var b=false;if(!ymr(a)){$(this).find("input[IsSysCheck=1]").each(function(n){if($(this).attr("checked"))b=true})}
if(b){f.append(a);f.append(",")}});return f.toString()}
DcxReport.GetCheckedValues=jlw;function vrh(c,d){var e=new Array();var f=xch(c,d);f.children("[dt=1]").each(function(m){var a=$(this).attr("kv");var b=false;if(!ymr(a)){$(this).find("input[IsSysCheck=1]").each(function(n){if($(this).attr("checked"))b=true})}
if(b){e.push(a)}});return e}
DcxReport.GetCheckedValueList=jlw;function hxs(a,b,c){var d=ker(a,b);if(ymr(d))return false;var e=d.EntMsg["E"+a];if(ymr(e))return false;var f=e.Power;if(ymr(f))return true;var g=f.CanDelete;if(!g){art.VLdialog.alert('您无删除权限！',function(){});return false}
if(ymr(c))c=jlw(a,b);if(ymr(c)){art.VLdialog.alert('请选择要删除的数据！',function(){});return false}
var h=c;c=escape(escape(c));var i=e.KeyField;var j=d.MKeyFieldValue;var k=e.KeyField;var l="ajax=1&IsEPlat=0&EntId="+a+"&KeyFieldName="+i+"&KeyFieldValueS="+c+"&MKeyFieldName="+k+"&MKeyFieldValue="+j+"&isDesigningPage="+jre("IsDesigningPage",0);l=l+"&DbConnectId="+Dcx.GetUPCId();var m="/ajax/RemoveEntityData.aspx";if(c==""){art.VLdialog.alert('请选择要删除的数据！',function(){});return false}else{art.VLdialog.confirm('确定要删除吗？',function(){iio(l,m,a,b,h)},function(){art.VLdialog.tips('你取消了删除')})}}
DcxReport.jlbs=hxs;function tcd(a,b,c,d){return hxs(b,c,d)}
DcxReport.jlb=tcd;function iio(h,j,k,l,m){var n="";$.ajax({type:"GET",url:j,dataType:"text",data:""+h+"",beforeSend:function(a){},success:function(a){n=a;if(n=="1"){art.VLdialog.tips('删除成功！',0.8);var b=ker(k,l);if(ymr(b))return false;var c=b.EntMsg["E"+k];var d=xch(k,l);if(ymr(c))return false;if(!ymr(m)){var e=m.split(',');for(var i=0;i<e.length;i++){var f=$.trim(e[i]);if(!ymr(f)){var g=d.children("[kv='"+f+"']");if(!ymr(g)&&g.length>0)g.remove()}}}}else alert(n)},complete:function(a,b){},error:function(){n=""}});return true}
function uya(a,b){var c=ker(a,b);if(ymr(c))return;var d=c.EntMsg["E"+a];if(ymr(d))return;var e=d.Power;if(ymr(e))return;if(e.CanInsert&&(!isNaN(d.FlowId)&&d.FlowId>0)){$("#"+b+a+"_buildNewWorkbut_img").parent("li").show();$("#"+b+a+"_buildNewWorkbut").parent("li").show()}else if(!isNaN(d.FlowId)&&d.FlowId>0){$("#"+b+a+"_buildNewWorkbut_img").parent("li").hide();$("#"+b+a+"_buildNewWorkbut").parent("li").hide()}
if(e.CanInsert){$("#"+b+a+"_insertbut_img").parent("li").show();$("#"+b+a+"_insertbut").parent("li").show()}else{$("#"+b+a+"_insertbut_img").parent("li").hide();$("#"+b+a+"_insertbut").parent("li").hide()}
if(e.CanDelete){$("#"+b+a+"_deletebut_img").parent("li").show();$("#"+b+a+"_deletebut").parent("li").show()}else{$("#"+b+a+"_deletebut_img").parent("li").hide();$("#"+b+a+"_deletebut").parent("li").hide()}
if(e.CanOutPut){$("#"+b+a+"_ExportToExcelbut_img").parent("li").show();$("#"+b+a+"_ExportToExcelbut").parent("li").show()}else{$("#"+b+a+"_ExportToExcelbut_img").parent("li").hide();$("#"+b+a+"_ExportToExcelbut").parent("li").hide()}
if(e.CanInPut){$("#"+b+a+"_ImportFromExcelbut_img").parent("li").show();$("#"+b+a+"_ImportFromExcelbut").parent("li").show()}else{$("#"+b+a+"_ImportFromExcelbut_img").parent("li").hide();$("#"+b+a+"_ImportFromExcelbut").parent("li").hide()}}
DcxReport.omm=uya;DcxForm.omm=uya;function Reflash(a,b){ujh(a,b,'a')}
DcxCom.ReflashData=Reflash;DcxCom.ReLoad=Reflash;function gel(a,b){var c=ker(a,b);if(ymr(c))return;var d=c.EntMsg["E"+a];if(ymr(d))return;var e=d.Power;var f=ymr(d.CondLT)?"":d.CondLT;var g=ymr(d.OCon)?"":d.OCon;var h=c.MKeyFieldValue;var i=ymr(d.ViewOptionIds)?"":d.ViewOptionIds;var j=escape(escape(sfm(a)));var k="ajax=1&EntId="+a+"&MKeyFieldValue="+h+"&CondLT="+f+"&OCon="+g+"&viewopids="+i+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0);k+="&SearchArea="+j;window.open("/Ajax/ExportToExcel.aspx?"+k,"_blank","")}
DcxCom.ExportExcel=gel;function sjw(d,e,f,g,h,i){var j=ker(d,e);if(ymr(j))return;var k=j.EntMsg["E"+d];if(ymr(k))return;var l=k.Power;var m=k.EntName;if(ymr(f)||isNaN(f)||f<1)f="850";if(ymr(g)||isNaN(g)||g<1)g="480";f=f+"px";g=g+"px";var n=k.KeyField;var o=j.MKeyFieldValue;var p=k.KeyField;var q=k.FlowId;var s=k.IsMEnt;if(s)s="true";else s="false";var t=j.MenuId;var u=1;g="480px";if(o==undefined||o==""||o==null)o="";if(m==undefined||m==""||m==null)m="添加记录";if(ymr(h)){try{var z=h;var v="z=formUrl_"+d+"_"+e+";";eval(v);h=z}catch(err){}
if(ymr(h))h="/Template/default/form/AjaxForm_Child.aspx"}
if(h.indexOf("?")<0)h=h+"?";else h=h+"&";h=h+"menuid="+t+"&entid="+d+"&ment="+s+"&mkfn="+p+"&mkfv="+o+"&optype="+u+"&showType=2"+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0);if(isNaN(i)||i<1)i=1;if(window.top.DcxHome==undefined||!window.top.DcxHome.IsHome)i=4;h=h+"&targetType="+i;var w=window.location.href;var x=w.indexOf("fdawpqmz=")-1;var y="47.2%";if(jre("IsDesigningPage",0)>0)y="101px";if(x<1)x=w.length;if(i==1){if(h.indexOf("?")>=0)h=h+"&iframeId=iframe_"+t;else h=h+"?iframeId=iframe_"+t;h=h+"&parentUrl="+escape(wxo(w.substr(0,x),"&","^#%"));window.open(h,"_self")}else if(i==3){if(h.indexOf("?")>=0)h=h+"&iframeId=iframe_"+t;else h=h+"?iframeId=iframe_"+t;h=h+"&parentUrl="+escape(wxo(w.substr(0,x),"&","^#%"));window.open(h,d+"1")}else{art.VLdialog.open(h,{title:m,width:f,height:g,zIndex:'99999',background:'#0c2136',lock:true,top:y,duration:0,opacity:0.2,button:[{name:'提  交',title:"提交表单",width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(d,a);var r=a.col(d,b);var c=r.SubmitForm(false);return false},focus:true},{name:'提交&新建',width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(d,a);var r=a.col(d,b);var c=r.SubmitForm(true);return false},focus:false},{name:'提交&关闭',width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(d,a);var r=a.col(d,b);var c=r.SubmitForm(false,true);return false},focus:false},{name:'关  闭'}]},true)}
return true}
DcxCom.ShowAddDataDlg=sjw;function hpw(a,b){var c=b.DcxRun.MEnt["_"+a];if(!ymr(b.DcxRun["DefaultF_"+c]))return"DefaultF_";if(!ymr(b.DcxRun["AjaxF_"+c]))return"AjaxF_";if(!ymr(b.DcxRun["ListF_"+c]))return"ListF_"}
DcxCom.GetDlgFormCtrlPrex=hpw;function tvh(d,e,f,g,h,i,j,k){var l=ker(e,f);if(ymr(l))return;var m=l.EntMsg["E"+e];if(ymr(m))return;var n=m.Power;var o=m.EntName;if(ymr(i)||isNaN(i)||i<1)i="850";if(ymr(j)||isNaN(j)||j<1)j="480";i=i+"px";j=j+"px";var p=m.KeyField;var q=m.KeyField;var s=m.FlowId;var t=m.IsMEnt;if(t)t="true";else t="false";var u=l.MenuId;var g=escape(escape(g));var v=escape(escape(g));var w="2";if(ymr(h)){try{var z=h;var x="z=formUrl_"+e+"_"+f+";";eval(x);h=z}catch(err){}
if(ymr(h))h="/Template/default/form/AjaxForm_Child.aspx"}
if(h.indexOf("?")<0)h=h+"?";else h=h+"&";h=h+"MenuId="+u+"&entid="+e+"&ment="+t+"&kfv="+g+"&mkfn="+q+"&mkfv="+v+"&optype="+w+"&showType=2"+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0)+"";if(isNaN(k)||k<1)k=1;h=h+"&targetType="+k;var y=window.location.href;var A=y.indexOf("fdawpqmz=")-1;var B="47.2%";if(jre("IsDesigningPage",0)>0)B="101px";if(A<1)A=y.length;if(window.top.DcxHome==undefined||!window.top.DcxHome.IsHome)k=4;if(k==1){if(h.indexOf("?")>=0)h=h+"&iframeId=iframe_"+u;else h=h+"?iframeId=iframe_"+u;h=h+"&parentUrl="+escape(wxo(y.substr(0,A),"&","^#%"));window.open(h,"_self")}else if(k==3){if(h.indexOf("?")>=0)h=h+"&iframeId=iframe_"+u;else h=h+"?iframeId=iframe_"+u;h=h+"&parentUrl="+escape(wxo(y.substr(0,A),"&","^#%"));window.open(h,e+"1")}else{art.VLdialog.open(h,{title:o,width:i,height:j,zIndex:10,background:'#0c2136',lock:true,top:B,duration:0,opacity:0.2,button:[{name:'提  交',title:"提交表单",width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(e,a);var r=a.col(e,b);var c=r.SubmitForm(false);return false},focus:true},{name:'提交&新建',width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(e,a);var r=a.col(e,b);var c=r.SubmitForm(true);return false},focus:false},{name:'提交&关闭',width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;var b=hpw(e,a);var r=a.col(e,b);var c=r.SubmitForm(false,true);return false},focus:false},{name:'关  闭'}]},true)}
return true}
DcxCom.ShowFormDlg=tvh;function flt(a,b,c,d,e,f,g,h){var i=ker(b,c);if(ymr(i))return;var j=i.EntMsg["E"+b];if(ymr(j))return;var k=j.Power;var l=j.EntName;if(f<1||f==undefined||f==""||f==null||isNaN(f))f="850";if(g<1||g==undefined||g==""||g==null||isNaN(g))g="480";f=f+"px";g=g+"px";var m=j.KeyField;var n=j.KeyField;var o=j.FlowId;var p=j.IsMEnt;if(p)p="true";else p="false";var q=i.MenuId;var d=escape(escape(d));var r=escape(escape(d));if(e==undefined||e==""||e==null)e="";if(e=="")e="/Template/default/Browse/Browse.aspx";if(e.indexOf("?")<0)e=e+"?";e=e+"MenuId="+q+"&entid="+b+"&ment="+p+"&kfv="+d+"&mkfn="+n+"&mkfv="+r+"&showType=3"+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0)+"";if(isNaN(h)||h<1)h=2;e=e+"&targetType="+h;var s=window.location.href;var t=s.indexOf("fdawpqmz=")-1;var u="47.2%";if(jre("IsDesigningPage",0)>0)u="101px";if(t<1)t=s.length;if(h==1){e=e+"&parentUrl="+escape(wxo(s.substr(0,t),"&","^#%"));window.open(e,"_self")}else if(h==3){e=e+"&parentUrl="+escape(wxo(s.substr(0,t),"&","^#%"));window.open(e,b+"1")}else{art.VLdialog.open(e,{title:l,width:f,height:g,zIndex:'99999',background:'#0c2136',lock:true,top:u,duration:0,opacity:0.2,button:[{name:'关  闭',width:'250px',height:'20px',callback:function(){return true},focus:true}]},true)}
return true}
DcxCom.ShowBrowseDlg=flt;function rre(a,b,c,d,e,f,g,h){return flt(a,b,c,d,e,f,g,h)}
DcxCom.GetReportDetail=rre;function gwp(a,b,c,d,e,f,g,h){var i=ker(b,c);if(ymr(i))return;var j=i.EntMsg["E"+b];if(ymr(j))return;var k=j.Power;var l=j.EntName;if(f<1||f==undefined||f==""||f==null||isNaN(f))f="850";if(g<1||g==undefined||g==""||g==null||isNaN(g))g="480";f=f+"px";g=g+"px";var m=j.KeyField;var n=j.KeyField;var o="47.2%";if(jre("IsDesigningPage",0)>0)o="101px";var p=j.FlowId;var q=j.IsMEnt;if(q)q="true";else q="false";var r=i.MenuId;var d=escape(escape(d));var s=d;var p=parseInt(Page_obj.attr("FlowId"),10);var q=Page_obj.attr("IsMEnt");if(q=="1"){q="true"}else{q="false";s=d}
var t="/Template/Browse/Browse.aspx?menuid="+r+"&EntId="+b+"&MEnt="+q+"&KeyFieldValue="+d+"&MKeyFieldName="+n+"&MKeyFieldValue="+s+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0)+"";art.VLdialog.open(t,{title:l,width:f,height:g,zIndex:'99999',background:'#0c2136',lock:true,top:o,duration:0,opacity:0.2,button:[{name:'关  闭',width:'250px',height:'20px',callback:function(){return true},focus:true}]},true);return true}
DcxCom.ShowAnnexDlg=gwp;function elw(){var a=document.getElementById("FlowId");if(a.value==""){alert('请选择流程');return false}
window.top.fpp(50,30,document.documentElement.clientWidth-100,650,'工作流程 ','/WorkFlow/view_flow.aspx?flow_id='+a.value,'bg3','modal_id3','title3','modalecd3','images/close_box.gif',document.body)}
DcxCom.ShowWfDlg=elw;var flowDataList={};function trw(c){var d=$(c).parent();while(d.length>0&&d.attr("isgroup")!="1"){d=d.parent()}
var e=d.attr("kv");var f=d.attr("entId");var g=d.attr("ctrlPrex");var h=zat(g);var i={"moduleTypeId":h,"entId":f,"kv":e};if(ymr(flowDataList["_"+e])){var c=null;var j=art.VLdialog.tips("正在加载...",3333);var k="/WebServices/WorkFlow/FlowRun.asmx/GetFlowData";$.ajax({type:"POST",contentType:"application/json; charset=utf-8",url:k,data:JSON2.stringify(i),dataType:'json',beforeSend:function(a){},complete:function(a,b){j.close()},error:function(a){alert("获取流程数据失败。详情："+JSON2.stringify(a))},success:function(a){a=hmy(a);if(a==null){alert("获取流程数据失败！");return false}
flowDataList["_"+e]=a;pjw(a.WFFlowId,a.WFRunId,a.WFPrcsId,a.NodeId,false)}})}else{var l=flowDataList["_"+e];pjw(l.WFFlowId,l.WFRunId,l.WFPrcsId,l.NodeId,false)}
return true}
DcxCom.ShowCurWfDlg=trw;function pjw(b,c,d,e,f){if(ymr(f))f=false;if(f)f=1;else f=0;if(ymr(b)||isNaN(b)||parseInt(b,10)<1){b=tzm("flowId");if(!ymr(b)&&!isNaN(b))b=parseInt(b,10);else b=-1}
if(ymr(b)||isNaN(b)||parseInt(b,10)<1){art.VLdialog.alert("由于flowId<1，没有找到相关流程！",function(){},20,"提示");return}
var g=-1;var h="/WorkFlow/FlowDesigner.html?IsDesigning="+f+"&flowId="+b+"&curNodeId="+g;var i=850;var j=450;var k=[{name:'保  存',title:"保  存",width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;return false},focus:true},{name:'关闭',width:'250px',height:'20px',callback:function(){var a=this.iframe.contentWindow;return true},focus:false}];if(!f){k.splice(0,1)}
var l=art.VLdialog.open(h,{id:'dlg_wfChart',title:"流程图",width:i,height:j,zIndex:'99999',background:'#0c2136',lock:true,top:'47.2%',duration:0,opacity:0.2,"button":k},true);return l}
DcxCom.ShowCurWfDlg2=pjw;function bpi(c){var d=$(c).parent();while(d.length>0&&d.attr("isgroup")!="1"){d=d.parent()}
var e=d.attr("kv");var f=d.attr("entId");var g=d.attr("ctrlPrex");var h=zat(g);var i={"moduleTypeId":h,"entId":f,"kv":e};if(ymr(flowDataList["_"+e])){var j=art.VLdialog.tips("正在加载...",3333);var k="/WebServices/WorkFlow/FlowRun.asmx/GetFlowData";$.ajax({type:"POST",contentType:"application/json; charset=utf-8",url:k,data:JSON2.stringify(i),dataType:'json',beforeSend:function(a){},complete:function(a,b){j.close()},error:function(a){alert("获取流程数据失败。详情："+JSON2.stringify(a))},success:function(a){a=hmy(a);if(a==null){alert("获取流程数据失败！");return false}
flowDataList["_"+e]=a;nui(a.WFFlowId,a.WFRunId,a.WFPrcsId,a.NodeId,a.UserId,false)}})}else{var l=flowDataList["_"+e];nui(l.WFFlowId,l.WFRunId,l.WFPrcsId,l.NodeId,l.UserId,false)}
return true}
DcxCom.ShowWfCurUserDlg=bpi;function nui(a,b,c,d,e,f){var g="/Template/default/Browse/Browse003.aspx";if(g.indexOf("?")<0)g=g+"?";else g=g+"&";var h="700px";var i="470px";g=g+"entid=2054&kfv="+e+"&mkfv="+e+"&RunId="+b+"&FlowId="+a+"&PrcsId="+c+"&nodeId="+d;if(ymr(e)||isNaN(e)||e<1){art.VLdialog.alert('获取发起人信息失败.');return}
var j=art.VLdialog.open(g,{id:'dlg_creatorDetail',title:"用户信息",width:h,height:i,zIndex:'99999',background:'#0c2136',lock:false,top:'47.2%',duration:0,opacity:0.2,button:[{name:'关  闭'}]},true);return j}
DcxCom.ShowWfCurUserDlg2=nui;function sca(a,b,c,d){if(c<1||c==undefined||c==""||c==null||isNaN(c))c="850";if(d<1||d==undefined||d==""||d==null||isNaN(d))d="480";c=c+"px";d=d+"px";var e=ker(a,b);if(ymr(e))return;var f=e.EntMsg["E"+a];if(ymr(f))return;var g=f.Power;var h=f.FlowId;if(ymr(h)||isNaN(h)||h<1){alert('此应用没有绑定流程，请在应用设计中绑定流程！');return false}
window.top.showModelessDialog('/WorkFlow/newworkcontext.aspx?type=1&flow_id='+h,window,'dialogHeight:'+d+'; dialogWidth:'+c+'; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No; unadorned yes;');return false}
DcxCom.ShowNewWfDlg=sca;function ehl(a,b,c,d){if(c<1||c==undefined||c==""||c==null||isNaN(c))c="850";if(d<1||d==undefined||d==""||d==null||isNaN(d))d="480";c=c+"px";d=d+"px";var e=ker(a,b);if(ymr(e))return;var f=e.EntMsg["E"+a];if(ymr(f))return;var g=f.Power;var h=f.FlowId;if(ymr(h)||isNaN(h)||h<1){alert('此应用没有绑定流程，请在应用设计中绑定流程！');return false}
window.top.showModelessDialog('/WorkFlow/UndoWork.aspx?type=1&flow_id='+flowid,window,'dialogHeight:'+d+'; dialogWidth:'+c+'; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No; unadorned yes;');return false}
DcxCom.ShowUndoWfDlg=ehl;function qyw(a,b,c,d){if(c<1||c==undefined||c==""||c==null||isNaN(c))c="850";if(d<1||d==undefined||d==""||d==null||isNaN(d))d="480";c=c+"px";d=d+"px";var e=ker(a,b);if(ymr(e))return;var f=e.EntMsg["E"+a];if(ymr(f))return;var g=f.Power;var h=f.FlowId;window.top.showModelessDialog('/WorkFlow/DoneWork.aspx?type=1&flow_id='+flowid,window,'dialogHeight:'+d+'; dialogWidth:'+c+'; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No; unadorned yes;');return false}
DcxCom.ShowDoneWfDlg=qyw;function hjd(a,b,c,d){}
DcxCom.GoToForm=hjd;function fex(a,b,c){}
DcxCom.GetMReport=fex;function rji(c,d,e,f){var g="ajax=1&EntId="+c+"&KeyFieldName="+d+"&KeyFieldValue="+e+"&MKeyFieldValue="+e+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0);var h="";$.ajax({type:"GET",url:"/Ajax/report/fex.aspx",dataType:"text",data:""+g+"",beforeSend:function(a){},success:function(b){$("#"+f).html(b);pjh();$("tr").filter(".lr-btr").each(function(a){if(a%2==1){$(this).removeClass("lr-btr");$(this).addClass("lr-Evenbtr")}})},complete:function(a,b){},error:function(){h=""}})}
function dpt(c,d,e,f){var g="ajax=1&EntId="+c+"&KeyFieldName="+d+"&KeyFieldValue="+e+"&MKeyFieldValue="+e+"&DbConnectId="+Dcx.GetUPCId()+"&isDesigningPage="+jre("IsDesigningPage",0);var h="";$.ajax({type:"GET",url:"/Ajax/report/fex.aspx",dataType:"text",data:""+g+"",beforeSend:function(a){},success:function(b){$("#"+f).html(b);pjh();$("tr").filter(".lr-btr").each(function(a){if(a%2==1){$(this).removeClass("lr-btr");$(this).addClass("lr-Evenbtr")}})},complete:function(a,b){},error:function(){h=""}})}
function ReportFieldDeal(v,w,x){var y=xgz(v,w);if(ymr(y)||ymr(y.Ent))return;for(var i=0;i<y.Ent.length;i++){var z=y.Ent[i];var A=z.EntId;var B=x||A!=v?true:false;var C=B?xch(A,w):ixv(A,w);C=B?C.children():C;var D=0;C.each(function(){D++;var a=$(this);var b=new Array();if(!ymr(z.Fld)&&z.Fld.length>0){for(var k=0;k<z.Fld.length;k++){var c=z.Fld[k];var d=c.FldId;var f=eap(d,b,a);if(f==null)continue;if(!ymr(c.Deal)&&c.Deal.length>0){for(var j=0;j<c.Deal.length;j++){var g=c.Deal[j];var h=g.typeId;var i=g.cdn;var l=g.dlV;if(!ymr(i)&&i.length>0&&!ymr(l)&&l.length>0){var m="";for(var t=0;t<i.length;t++){m=m+(i[t].b?i[t].b:"");if(i[t].fid==0)m=m+""+D;else{var n=eap(i[t].fid,b,a);var o=(n?ocx(n.text()):"");o=o.replaceAll("\n","");if(o=="True")o=true;else if(o=="False")o=false;m=m+o}
m=m+(i[t].l?i[t].l:"")}
try{var p=eval(m);if(p){var q="";for(var t=0;t<l.length;t++){q=q+(l[t].b?l[t].b:"");if(l[t].fid==0)q=q+""+D;else{var r=eap(l[t].fid,b,a);var o=(r?ocx(r.text()):"");o=o.replaceAll("\n","");q=q+o}
q=q+(l[t].l?l[t].l:"")}
if(!ymr(q)){switch(h){case 6:f.html(q);break;case 2:var s=f.attr("style");s=ymr(s)?q:s+q;f.attr("style",s);break;case 3:f.addClass(q);break;case 4:var u=cwm(d);if(!ymr(u)){var s=u.attr("style");s=ymr(s)?q:s+q;u.attr("style",s)}
break;case 5:var u=cwm(d);if(!ymr(u))u.addClass(q);break;case 1:f.before(q);break;case 7:f.after(q);break;default:break}}}}catch(e){}}}}}}
if(!ymr(z.Deal)&&z.Deal.length>0){for(var j=0;j<z.Deal.length;j++){var g=z.Deal[j];var h=g.typeId;var i=g.cdn;var l=g.dlV;if(!ymr(i)&&i.length>0&&!ymr(l)&&l.length>0){var m="";for(var t=0;t<i.length;t++){m=m+(i[t].b?i[t].b:"");if(i[t].fid==0)m=m+""+D;else{var n=eap(i[t].fid,b,a);m=m+(n?ocx(n.text()):"")}
m=m+(i[t].l?i[t].l:"")}
try{var p=eval(m);if(p){var q="";for(var t=0;t<l.length;t++){q=q+(l[t].b?l[t].b:"");if(l[t].fid==0)q=q+""+D;else{var r=eap(l[t].fid,b,a);q=q+(r?ocx(r.text()):"")}
q=q+(l[t].l?l[t].l:"")}
if(!ymr(q)){switch(h){case 2:var s=a.attr("style");s=ymr(s)?q:s+q;a.attr("style",s);break;case 3:a.addClass(q);break;default:break}}}}catch(e){}}}}})}}
DcxReport.DealField=ReportFieldDeal;function eap(a,b,c){if(a<1)return null;for(var i=0;i<b.length;i++){if(b[i].fldId==a){return b[i].fieldObj}}
var d=c.find("span[FldId="+a+"]:first");if(!ymr(d)){var e={fldId:a,fieldObj:d,li:null};b.push(e);return d}
return null}
function cwm(a){if(a<1)return null;var i=0;for(i=0;i<fieldList.length;i++){if(fieldList[i].fldId==a){break}}
if(i==fieldList.length)return null;var b=fieldList[i].li;if(!ymr(b)&&b.length>0)return b;var d=fieldList[i].fieldObj;if(!ymr(d)){var e=d.parent();var c=0;while(!ymr(e)&&e.length>0&&c<20){if(!ymr(e.attr("AreaId")))break;e=e.parent();c++}
fieldList[i].li=e;return e?e:null}
return null}
function ocx(a){a=a.replaceAll(",","");a=a.replaceAll("￥","");return a}
function ehx(a,b){if(b%2==1)$(a).addClass("stripe")}
function qni(){$("tr").filter("[dt=1]").each(function(a){if(a%2==1)$(this).addClass("stripe")})}