'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'汽車主動傘齒輪的鉆夾具工藝工裝設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'汽車主動傘齒輪的鉆夾具工藝工裝設計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'買家售后必讀.jpg (438KB)', click:'getBookinfo(8549981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'傘齒輪工藝過程簡圖.dwg (196KB)', click:'getBookinfo(8549982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'毛坯圖.dwg (69KB)', click:'getBookinfo(8549983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'目錄.doc (32KB)', click:'getBookinfo(8549984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'說明書.doc (1703KB)', click:'getBookinfo(8549985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'鉆夾零件1-定心套.dwg (78KB)', click:'getBookinfo(8549986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'鉆夾零件11-定位器.dwg (82KB)', click:'getBookinfo(8549987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'鉆夾零件16-手柄.dwg (55KB)', click:'getBookinfo(8549988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'鉆夾零件5-襯套.dwg (59KB)', click:'getBookinfo(8549989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'鉆夾零件6-夾具體.dwg (91KB)', click:'getBookinfo(8549990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鉆夾零件9-支承.dwg (63KB)', click:'getBookinfo(8549991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'鉆床夾具-零件7.dwg (59KB)', click:'getBookinfo(8549992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'鉆床夾具.dwg (141KB)', click:'getBookinfo(8549993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'零件圖汽車主動傘齒輪.dwg (113KB)', click:'getBookinfo(8549994)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'汽車主動傘齒輪的鉆夾具工藝工裝設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'買家售后必讀.jpg',url:'http://m.facezit.com/p-8549981.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'傘齒輪工藝過程簡圖.dwg',url:'http://m.facezit.com/p-8549982.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8549983.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8549984.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8549985.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'鉆夾零件1-定心套.dwg',url:'http://m.facezit.com/p-8549986.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'鉆夾零件11-定位器.dwg',url:'http://m.facezit.com/p-8549987.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'鉆夾零件16-手柄.dwg',url:'http://m.facezit.com/p-8549988.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'鉆夾零件5-襯套.dwg',url:'http://m.facezit.com/p-8549989.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'鉆夾零件6-夾具體.dwg',url:'http://m.facezit.com/p-8549990.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鉆夾零件9-支承.dwg',url:'http://m.facezit.com/p-8549991.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'鉆床夾具-零件7.dwg',url:'http://m.facezit.com/p-8549992.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'鉆床夾具.dwg',url:'http://m.facezit.com/p-8549993.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'零件圖汽車主動傘齒輪.dwg',url:'http://m.facezit.com/p-8549994.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 = '7264244'; 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; }); });