'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'a減速箱體零件加工工藝及夾具設(shè)計銑頂面.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A減速箱體零件加工工藝及夾具設(shè)計-銑頂面 (包含27個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡[22張] (包含22個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1.DOC (71KB)', click:'getBookinfo(8407605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'10.DOC (73KB)', click:'getBookinfo(8407606)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'11.DOC (74KB)', click:'getBookinfo(8407607)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'12.DOC (72KB)', click:'getBookinfo(8407608)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'13.DOC (71KB)', click:'getBookinfo(8407609)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'14.DOC (81KB)', click:'getBookinfo(8407610)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'15.DOC (79KB)', click:'getBookinfo(8407611)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'16.DOC (77KB)', click:'getBookinfo(8407612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'17.DOC (79KB)', click:'getBookinfo(8407613)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'18.DOC (72KB)', click:'getBookinfo(8407614)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'19.DOC (80KB)', click:'getBookinfo(8407615)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'2.DOC (71KB)', click:'getBookinfo(8407616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'20.DOC (72KB)', click:'getBookinfo(8407617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'21.DOC (79KB)', click:'getBookinfo(8407618)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'22.DOC (73KB)', click:'getBookinfo(8407619)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'3.DOC (71KB)', click:'getBookinfo(8407620)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'4.DOC (70KB)', click:'getBookinfo(8407621)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'5.DOC (72KB)', click:'getBookinfo(8407622)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100019', pId:'0000100001', name:'6.DOC (73KB)', click:'getBookinfo(8407623)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100020', pId:'0000100001', name:'7.DOC (74KB)', click:'getBookinfo(8407624)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100021', pId:'0000100001', name:'8.DOC (77KB)', click:'getBookinfo(8407625)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100022', pId:'0000100001', name:'9.DOC (72KB)', click:'getBookinfo(8407626)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'K645 減速器箱體機械加工工藝過程.doc (94KB)', click:'getBookinfo(8407627)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg (438KB)', click:'getBookinfo(8407628)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'機械加工工藝過程.doc (94KB)', click:'getBookinfo(8407629)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'說明書.doc (179KB)', click:'getBookinfo(8407630)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'a減速箱體零件加工工藝及夾具設(shè)計銑頂面.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'1.DOC',url:'http://m.facezit.com/p-8407605.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'10.DOC',url:'http://m.facezit.com/p-8407606.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'11.DOC',url:'http://m.facezit.com/p-8407607.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'12.DOC',url:'http://m.facezit.com/p-8407608.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'13.DOC',url:'http://m.facezit.com/p-8407609.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'14.DOC',url:'http://m.facezit.com/p-8407610.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'15.DOC',url:'http://m.facezit.com/p-8407611.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'16.DOC',url:'http://m.facezit.com/p-8407612.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'17.DOC',url:'http://m.facezit.com/p-8407613.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'18.DOC',url:'http://m.facezit.com/p-8407614.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'19.DOC',url:'http://m.facezit.com/p-8407615.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'2.DOC',url:'http://m.facezit.com/p-8407616.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'20.DOC',url:'http://m.facezit.com/p-8407617.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'21.DOC',url:'http://m.facezit.com/p-8407618.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'22.DOC',url:'http://m.facezit.com/p-8407619.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'3.DOC',url:'http://m.facezit.com/p-8407620.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'4.DOC',url:'http://m.facezit.com/p-8407621.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'5.DOC',url:'http://m.facezit.com/p-8407622.html', target:'_blank' },{ id:'000010000100019', pId:'0000100001', name:'6.DOC',url:'http://m.facezit.com/p-8407623.html', target:'_blank' },{ id:'000010000100020', pId:'0000100001', name:'7.DOC',url:'http://m.facezit.com/p-8407624.html', target:'_blank' },{ id:'000010000100021', pId:'0000100001', name:'8.DOC',url:'http://m.facezit.com/p-8407625.html', target:'_blank' },{ id:'000010000100022', pId:'0000100001', name:'9.DOC',url:'http://m.facezit.com/p-8407626.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'K645 減速器箱體機械加工工藝過程.doc',url:'http://m.facezit.com/p-8407627.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg',url:'http://m.facezit.com/p-8407628.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'機械加工工藝過程.doc',url:'http://m.facezit.com/p-8407629.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8407630.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7247101'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });