'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831008]加工工藝和鉆2φ20孔夾具設(shè)計【cad圖紙說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'撥叉[831008] 8-鉆2-φ20孔夾具 (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'半圓鎖緊塊.dwg (31KB)', click:'getBookinfo(8356979)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'固定V型塊.dwg (57KB)', click:'getBookinfo(8356980)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具體零件圖.dwg (70KB)', click:'getBookinfo(8356981)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具裝配圖.dwg (102KB)', click:'getBookinfo(8356982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工藝卡片和過程卡.dwg (64KB)', click:'getBookinfo(8356983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'手柄.dwg (51KB)', click:'getBookinfo(8356984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'承套.dwg (33KB)', click:'getBookinfo(8356985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'支承套.dwg (48KB)', click:'getBookinfo(8356986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'毛坯圖.dwg (67KB)', click:'getBookinfo(8356987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'活動V型塊.dwg (49KB)', click:'getBookinfo(8356988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'設(shè)計說明書.doc (1189KB)', click:'getBookinfo(8356989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'鉆套.dwg (44KB)', click:'getBookinfo(8356990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'零件圖.dwg (67KB)', click:'getBookinfo(8356991)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831008]加工工藝和鉆2φ20孔夾具設(shè)計【cad圖紙說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'半圓鎖緊塊.dwg',url:'http://m.facezit.com/p-8356979.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'固定V型塊.dwg',url:'http://m.facezit.com/p-8356980.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具體零件圖.dwg',url:'http://m.facezit.com/p-8356981.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8356982.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工藝卡片和過程卡.dwg',url:'http://m.facezit.com/p-8356983.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'手柄.dwg',url:'http://m.facezit.com/p-8356984.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'承套.dwg',url:'http://m.facezit.com/p-8356985.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'支承套.dwg',url:'http://m.facezit.com/p-8356986.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8356987.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'活動V型塊.dwg',url:'http://m.facezit.com/p-8356988.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8356989.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'鉆套.dwg',url:'http://m.facezit.com/p-8356990.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8356991.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 = '6906784'; 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; }); });