'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'立式加工中心主軸組件的結(jié)構(gòu)設(shè)計 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'任務(wù)書.doc (55KB)', click:'getBookinfo(8699030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'圖紙_1.dwg (278KB)', click:'getBookinfo(8699031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'圖紙_10.dwg (45KB)', click:'getBookinfo(8699032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'圖紙_11.dwg (51KB)', click:'getBookinfo(8699033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'圖紙_12.dwg (54KB)', click:'getBookinfo(8699034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'圖紙_13.dwg (55KB)', click:'getBookinfo(8699035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'圖紙_14.dwg (62KB)', click:'getBookinfo(8699036)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'圖紙_15.dwg (60KB)', click:'getBookinfo(8699037)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'圖紙_16.dwg (52KB)', click:'getBookinfo(8699038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'圖紙_17.dwg (54KB)', click:'getBookinfo(8699039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'圖紙_18.dwg (55KB)', click:'getBookinfo(8699040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'圖紙_19.dwg (66KB)', click:'getBookinfo(8699041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'圖紙_2.dwg (53KB)', click:'getBookinfo(8699042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'圖紙_20.dwg (63KB)', click:'getBookinfo(8699043)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'圖紙_21.dwg (55KB)', click:'getBookinfo(8699044)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'圖紙_22.dwg (55KB)', click:'getBookinfo(8699045)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'圖紙_3.dwg (53KB)', click:'getBookinfo(8699046)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'圖紙_4.dwg (65KB)', click:'getBookinfo(8699047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'圖紙_5.dwg (46KB)', click:'getBookinfo(8699048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'圖紙_6.dwg (46KB)', click:'getBookinfo(8699049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'圖紙_7.dwg (60KB)', click:'getBookinfo(8699050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'圖紙_8.dwg (79KB)', click:'getBookinfo(8699051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'圖紙_9.dwg (68KB)', click:'getBookinfo(8699052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'開題報告.doc (7279KB)', click:'getBookinfo(8699053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'正文_立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.doc (10691KB)', click:'getBookinfo(8699054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'目錄.doc (40KB)', click:'getBookinfo(8699055)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8699030.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'圖紙_1.dwg',url:'http://m.facezit.com/p-8699031.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'圖紙_10.dwg',url:'http://m.facezit.com/p-8699032.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'圖紙_11.dwg',url:'http://m.facezit.com/p-8699033.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'圖紙_12.dwg',url:'http://m.facezit.com/p-8699034.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'圖紙_13.dwg',url:'http://m.facezit.com/p-8699035.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'圖紙_14.dwg',url:'http://m.facezit.com/p-8699036.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'圖紙_15.dwg',url:'http://m.facezit.com/p-8699037.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'圖紙_16.dwg',url:'http://m.facezit.com/p-8699038.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'圖紙_17.dwg',url:'http://m.facezit.com/p-8699039.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'圖紙_18.dwg',url:'http://m.facezit.com/p-8699040.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'圖紙_19.dwg',url:'http://m.facezit.com/p-8699041.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'圖紙_2.dwg',url:'http://m.facezit.com/p-8699042.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'圖紙_20.dwg',url:'http://m.facezit.com/p-8699043.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'圖紙_21.dwg',url:'http://m.facezit.com/p-8699044.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'圖紙_22.dwg',url:'http://m.facezit.com/p-8699045.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'圖紙_3.dwg',url:'http://m.facezit.com/p-8699046.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'圖紙_4.dwg',url:'http://m.facezit.com/p-8699047.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'圖紙_5.dwg',url:'http://m.facezit.com/p-8699048.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'圖紙_6.dwg',url:'http://m.facezit.com/p-8699049.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'圖紙_7.dwg',url:'http://m.facezit.com/p-8699050.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'圖紙_8.dwg',url:'http://m.facezit.com/p-8699051.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'圖紙_9.dwg',url:'http://m.facezit.com/p-8699052.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8699053.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'正文_立式加工中心主軸組件的結(jié)構(gòu)設(shè)計.doc',url:'http://m.facezit.com/p-8699054.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8699055.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 = '3686156'; 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; }); });