'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'沖孔落料復(fù)合模設(shè)計及三維造型設(shè)計【僅圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'沖孔落料復(fù)合模設(shè)計及三維造型設(shè)計【僅圖紙】 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'10卸料螺釘A3.dwg (60KB)', click:'getBookinfo(8736722)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'1號裝配圖A0.dwg (86KB)', click:'getBookinfo(8736723)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'3模座A1.dwg (62KB)', click:'getBookinfo(8736724)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'4模柄A2.dwg (69KB)', click:'getBookinfo(8736725)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'5凹模A3.dwg (63KB)', click:'getBookinfo(8736726)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'6導(dǎo)套A3.dwg (50KB)', click:'getBookinfo(8736727)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'7導(dǎo)柱A3.dwg (50KB)', click:'getBookinfo(8736728)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'8凸模A3.dwg (71KB)', click:'getBookinfo(8736729)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'9卸料板A3.dwg (56KB)', click:'getBookinfo(8736730)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'Die basic knowledge.doc (305KB)', click:'getBookinfo(8736731)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'買家售后必讀.jpg (438KB)', click:'getBookinfo(8736732)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'前言.doc (20KB)', click:'getBookinfo(8736733)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'摘要.doc (26KB)', click:'getBookinfo(8736734)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'模具基本知識.doc (356KB)', click:'getBookinfo(8736735)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'目錄.doc (43KB)', click:'getBookinfo(8736736)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'沖孔落料復(fù)合模設(shè)計及三維造型設(shè)計【僅圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'10卸料螺釘A3.dwg',url:'http://m.facezit.com/p-8736722.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'1號裝配圖A0.dwg',url:'http://m.facezit.com/p-8736723.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'3模座A1.dwg',url:'http://m.facezit.com/p-8736724.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'4模柄A2.dwg',url:'http://m.facezit.com/p-8736725.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'5凹模A3.dwg',url:'http://m.facezit.com/p-8736726.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'6導(dǎo)套A3.dwg',url:'http://m.facezit.com/p-8736727.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'7導(dǎo)柱A3.dwg',url:'http://m.facezit.com/p-8736728.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'8凸模A3.dwg',url:'http://m.facezit.com/p-8736729.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'9卸料板A3.dwg',url:'http://m.facezit.com/p-8736730.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'Die basic knowledge.doc',url:'http://m.facezit.com/p-8736731.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'買家售后必讀.jpg',url:'http://m.facezit.com/p-8736732.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'前言.doc',url:'http://m.facezit.com/p-8736733.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'摘要.doc',url:'http://m.facezit.com/p-8736734.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'模具基本知識.doc',url:'http://m.facezit.com/p-8736735.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8736736.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 = '3519056'; 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; }); });