'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'注塑內(nèi)螺紋管接頭注塑模具設(shè)計(機(jī)械專業(yè)設(shè)計含cad圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'78模具-注塑-內(nèi)螺紋管接頭注塑模具設(shè)計 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'內(nèi)螺紋管接頭注塑模具設(shè)計 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖紙 (包含5個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'A0.裝配圖.dwg (331KB)', click:'getBookinfo(8278081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'A1.凹模.dwg (74KB)', click:'getBookinfo(8278082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'A2.凸模.dwg (105KB)', click:'getBookinfo(8278083)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'A2.零件圖.dwg (49KB)', click:'getBookinfo(8278084)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'A3.定位圈.dwg (62KB)', click:'getBookinfo(8278085)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'文擋 (包含3個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'外文翻譯.doc (37KB)', click:'getBookinfo(8278086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'摘要1.doc (24KB)', click:'getBookinfo(8278087)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'說明書8.doc (199KB)', click:'getBookinfo(8278088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'打印要求.txt (0KB)', click:'getBookinfo(8278089)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'注塑內(nèi)螺紋管接頭注塑模具設(shè)計(機(jī)械專業(yè)設(shè)計含cad圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'A0.裝配圖.dwg',url:'http://m.facezit.com/p-8278081.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'A1.凹模.dwg',url:'http://m.facezit.com/p-8278082.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'A2.凸模.dwg',url:'http://m.facezit.com/p-8278083.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'A2.零件圖.dwg',url:'http://m.facezit.com/p-8278084.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'A3.定位圈.dwg',url:'http://m.facezit.com/p-8278085.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8278086.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'摘要1.doc',url:'http://m.facezit.com/p-8278087.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'說明書8.doc',url:'http://m.facezit.com/p-8278088.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'打印要求.txt',url:'http://m.facezit.com/p-8278089.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 = '6335352'; 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; }); });