'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床尾座體工藝工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CA6140車床尾座體工藝工裝設計 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'CA6140車床尾座體工藝工裝設計 (包含17個文件)', },{ id:'000010000100001', pId:'0000100001', name:'上體.dwg (65KB)', click:'getBookinfo(8785171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'下體.dwg (74KB)', click:'getBookinfo(8785172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'絲桿.dwg (57KB)', click:'getBookinfo(8785173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'六角特厚螺母M20.dwg (33KB)', click:'getBookinfo(8785174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'圓銷.dwg (32KB)', click:'getBookinfo(8785175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'圓銷2.dwg (33KB)', click:'getBookinfo(8785176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'套筒.dwg (40KB)', click:'getBookinfo(8785177)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'定位銷.dwg (51KB)', click:'getBookinfo(8785178)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'總裝圖.dwg (85KB)', click:'getBookinfo(8785179)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'擋圈.dwg (37KB)', click:'getBookinfo(8785180)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設計說明書.doc (162KB)', click:'getBookinfo(8785181)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'法蘭.dwg (70KB)', click:'getBookinfo(8785182)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'活節(jié)螺栓.dwg (35KB)', click:'getBookinfo(8785183)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'螺母.dwg (47KB)', click:'getBookinfo(8785184)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'軸.dwg (40KB)', click:'getBookinfo(8785185)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'銷軸.dwg (37KB)', click:'getBookinfo(8785186)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'錐銷鎖緊擋圈20.dwg (43KB)', click:'getBookinfo(8785187)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床尾座體工藝工裝設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'上體.dwg',url:'http://m.facezit.com/p-8785171.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'下體.dwg',url:'http://m.facezit.com/p-8785172.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'絲桿.dwg',url:'http://m.facezit.com/p-8785173.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'六角特厚螺母M20.dwg',url:'http://m.facezit.com/p-8785174.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'圓銷.dwg',url:'http://m.facezit.com/p-8785175.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'圓銷2.dwg',url:'http://m.facezit.com/p-8785176.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'套筒.dwg',url:'http://m.facezit.com/p-8785177.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'定位銷.dwg',url:'http://m.facezit.com/p-8785178.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8785179.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'擋圈.dwg',url:'http://m.facezit.com/p-8785180.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設計說明書.doc',url:'http://m.facezit.com/p-8785181.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'法蘭.dwg',url:'http://m.facezit.com/p-8785182.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'活節(jié)螺栓.dwg',url:'http://m.facezit.com/p-8785183.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'螺母.dwg',url:'http://m.facezit.com/p-8785184.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'軸.dwg',url:'http://m.facezit.com/p-8785185.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'銷軸.dwg',url:'http://m.facezit.com/p-8785186.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'錐銷鎖緊擋圈20.dwg',url:'http://m.facezit.com/p-8785187.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 = '3424355'; 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; }); });