'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設計論文cad圖紙:汽車變速箱加工工藝及夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'論文圖紙:汽車變速箱加工工藝及夾具設計 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'A0-變速箱外殼零件圖.dwg (264KB)', click:'getBookinfo(8548977)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-粗銑前后端面夾具裝配圖.dwg (129KB)', click:'getBookinfo(8548978)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A0-鉆工藝孔夾具裝配圖.dwg (192KB)', click:'getBookinfo(8548979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-鉆工藝孔鉆模板.dwg (100KB)', click:'getBookinfo(8548980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-粗銑前后端面夾具夾具體.dwg (148KB)', click:'getBookinfo(8548981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡1.doc (54KB)', click:'getBookinfo(8548982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡10.doc (55KB)', click:'getBookinfo(8548983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡11.doc (66KB)', click:'getBookinfo(8548984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡12.doc (56KB)', click:'getBookinfo(8548985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡13.doc (62KB)', click:'getBookinfo(8548986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡14.doc (56KB)', click:'getBookinfo(8548987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡15.doc (53KB)', click:'getBookinfo(8548988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡17.doc (55KB)', click:'getBookinfo(8548989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序卡18.doc (54KB)', click:'getBookinfo(8548990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡2.doc (55KB)', click:'getBookinfo(8548991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工序卡3.doc (53KB)', click:'getBookinfo(8548992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工序卡4.doc (55KB)', click:'getBookinfo(8548993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'工序卡5.doc (63KB)', click:'getBookinfo(8548994)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'工序卡7.doc (52KB)', click:'getBookinfo(8548995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'工序卡8.doc (61KB)', click:'getBookinfo(8548996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'工序卡9.doc (55KB)', click:'getBookinfo(8548997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'工藝過程卡1.doc (51KB)', click:'getBookinfo(8548998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'工藝過程卡2.doc (48KB)', click:'getBookinfo(8548999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'新建 文本文檔.txt (1KB)', click:'getBookinfo(8549000)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100025', pId:'00001', name:'畢業(yè)設計任務書.doc (33KB)', click:'getBookinfo(8549001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'畢業(yè)設計論文說明書:汽車變速箱加工工藝及夾具設計.doc (893KB)', click:'getBookinfo(8549002)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設計論文cad圖紙:汽車變速箱加工工藝及夾具設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-變速箱外殼零件圖.dwg',url:'http://facezit.com/p-8548977.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-粗銑前后端面夾具裝配圖.dwg',url:'http://facezit.com/p-8548978.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A0-鉆工藝孔夾具裝配圖.dwg',url:'http://facezit.com/p-8548979.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-鉆工藝孔鉆模板.dwg',url:'http://facezit.com/p-8548980.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-粗銑前后端面夾具夾具體.dwg',url:'http://facezit.com/p-8548981.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡1.doc',url:'http://facezit.com/p-8548982.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡10.doc',url:'http://facezit.com/p-8548983.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡11.doc',url:'http://facezit.com/p-8548984.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡12.doc',url:'http://facezit.com/p-8548985.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡13.doc',url:'http://facezit.com/p-8548986.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡14.doc',url:'http://facezit.com/p-8548987.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡15.doc',url:'http://facezit.com/p-8548988.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡17.doc',url:'http://facezit.com/p-8548989.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序卡18.doc',url:'http://facezit.com/p-8548990.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡2.doc',url:'http://facezit.com/p-8548991.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工序卡3.doc',url:'http://facezit.com/p-8548992.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工序卡4.doc',url:'http://facezit.com/p-8548993.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'工序卡5.doc',url:'http://facezit.com/p-8548994.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'工序卡7.doc',url:'http://facezit.com/p-8548995.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'工序卡8.doc',url:'http://facezit.com/p-8548996.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'工序卡9.doc',url:'http://facezit.com/p-8548997.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'工藝過程卡1.doc',url:'http://facezit.com/p-8548998.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'工藝過程卡2.doc',url:'http://facezit.com/p-8548999.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'新建 文本文檔.txt',url:'http://facezit.com/p-8549000.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'畢業(yè)設計任務書.doc',url:'http://facezit.com/p-8549001.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'畢業(yè)設計論文說明書:汽車變速箱加工工藝及夾具設計.doc',url:'http://facezit.com/p-8549002.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 = '7264067'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });