'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'cm004擋板沖裁級進模設計【沖壓模具含cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CM004-擋板沖裁級進模設計【沖壓模具】【18000字+20張CAD圖+級進模】 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'A0裝配圖.dwg (123KB)', click:'getBookinfo(8421497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'上墊板.dwg (44KB)', click:'getBookinfo(8421498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'上導料板.dwg (46KB)', click:'getBookinfo(8421499)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'上模座.dwg (58KB)', click:'getBookinfo(8421500)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'下墊板.dwg (60KB)', click:'getBookinfo(8421501)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'下導料板.dwg (44KB)', click:'getBookinfo(8421502)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'下模座.dwg (56KB)', click:'getBookinfo(8421503)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'沖孔凸模1.dwg (55KB)', click:'getBookinfo(8421504)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'沖孔凸模2.dwg (64KB)', click:'getBookinfo(8421505)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'凸模固定板.dwg (80KB)', click:'getBookinfo(8421506)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'凹模.dwg (85KB)', click:'getBookinfo(8421507)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'卸料板.dwg (70KB)', click:'getBookinfo(8421508)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'卸料螺釘.dwg (46KB)', click:'getBookinfo(8421509)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'始用擋料塊.dwg (44KB)', click:'getBookinfo(8421510)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'始用擋料裝置.dwg (45KB)', click:'getBookinfo(8421511)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'導正銷.dwg (50KB)', click:'getBookinfo(8421512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'彈簧芯柱.dwg (50KB)', click:'getBookinfo(8421513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'擋料銷.dwg (50KB)', click:'getBookinfo(8421514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'畢業(yè)論文.doc (468KB)', click:'getBookinfo(8421515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'落料凸模.dwg (49KB)', click:'getBookinfo(8421516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'設計說明書.doc (919KB)', click:'getBookinfo(8421517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'頂件塊.dwg (50KB)', click:'getBookinfo(8421518)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'cm004擋板沖裁級進模設計【沖壓模具含cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0裝配圖.dwg',url:'http://m.facezit.com/p-8421497.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'上墊板.dwg',url:'http://m.facezit.com/p-8421498.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'上導料板.dwg',url:'http://m.facezit.com/p-8421499.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'上模座.dwg',url:'http://m.facezit.com/p-8421500.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'下墊板.dwg',url:'http://m.facezit.com/p-8421501.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'下導料板.dwg',url:'http://m.facezit.com/p-8421502.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'下模座.dwg',url:'http://m.facezit.com/p-8421503.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'沖孔凸模1.dwg',url:'http://m.facezit.com/p-8421504.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'沖孔凸模2.dwg',url:'http://m.facezit.com/p-8421505.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'凸模固定板.dwg',url:'http://m.facezit.com/p-8421506.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'凹模.dwg',url:'http://m.facezit.com/p-8421507.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'卸料板.dwg',url:'http://m.facezit.com/p-8421508.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'卸料螺釘.dwg',url:'http://m.facezit.com/p-8421509.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'始用擋料塊.dwg',url:'http://m.facezit.com/p-8421510.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'始用擋料裝置.dwg',url:'http://m.facezit.com/p-8421511.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'導正銷.dwg',url:'http://m.facezit.com/p-8421512.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'彈簧芯柱.dwg',url:'http://m.facezit.com/p-8421513.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'擋料銷.dwg',url:'http://m.facezit.com/p-8421514.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8421515.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'落料凸模.dwg',url:'http://m.facezit.com/p-8421516.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'設計說明書.doc',url:'http://m.facezit.com/p-8421517.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'頂件塊.dwg',url:'http://m.facezit.com/p-8421518.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 = '7248602'; 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; }); });