'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'閥腔加工工藝及鉆、攻m12底孔夾具設(shè)計【含cad圖紙,工序卡,工藝過程卡,說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD工序卡[9張] (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡1.dwg (30KB)', click:'getBookinfo(8579055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序卡1.gif (16KB)', click:'getBookinfo(8579056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡2.dwg (30KB)', click:'getBookinfo(8579057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序卡2.gif (16KB)', click:'getBookinfo(8579058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡3.dwg (28KB)', click:'getBookinfo(8579059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡3.gif (15KB)', click:'getBookinfo(8579060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡4.dwg (29KB)', click:'getBookinfo(8579061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡4.gif (15KB)', click:'getBookinfo(8579062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡5.dwg (29KB)', click:'getBookinfo(8579063)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡5.gif (16KB)', click:'getBookinfo(8579064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡6.dwg (29KB)', click:'getBookinfo(8579065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡6.gif (16KB)', click:'getBookinfo(8579066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡7.dwg (29KB)', click:'getBookinfo(8579067)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序卡7.gif (16KB)', click:'getBookinfo(8579068)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡8.dwg (29KB)', click:'getBookinfo(8579069)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工序卡8.gif (16KB)', click:'getBookinfo(8579070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工序卡9.dwg (34KB)', click:'getBookinfo(8579071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'工序卡9.gif (18KB)', click:'getBookinfo(8579072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'工藝路線.dwg (26KB)', click:'getBookinfo(8579073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'毛坯圖——A1.dwg (32KB)', click:'getBookinfo(8579074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'說明書.doc (909KB)', click:'getBookinfo(8579075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'鉆、攻M12夾具體——A0.dwg (42KB)', click:'getBookinfo(8579076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'鉆、攻M12裝配圖——A0.dwg (73KB)', click:'getBookinfo(8579077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'閥腔——A1.dwg (47KB)', click:'getBookinfo(8579078)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'閥腔加工工藝及鉆、攻m12底孔夾具設(shè)計【含cad圖紙,工序卡,工藝過程卡,說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序卡1.dwg',url:'http://m.facezit.com/p-8579055.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序卡1.gif',url:'http://m.facezit.com/p-8579056.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡2.dwg',url:'http://m.facezit.com/p-8579057.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序卡2.gif',url:'http://m.facezit.com/p-8579058.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡3.dwg',url:'http://m.facezit.com/p-8579059.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡3.gif',url:'http://m.facezit.com/p-8579060.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡4.dwg',url:'http://m.facezit.com/p-8579061.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡4.gif',url:'http://m.facezit.com/p-8579062.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡5.dwg',url:'http://m.facezit.com/p-8579063.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡5.gif',url:'http://m.facezit.com/p-8579064.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡6.dwg',url:'http://m.facezit.com/p-8579065.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡6.gif',url:'http://m.facezit.com/p-8579066.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡7.dwg',url:'http://m.facezit.com/p-8579067.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序卡7.gif',url:'http://m.facezit.com/p-8579068.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡8.dwg',url:'http://m.facezit.com/p-8579069.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工序卡8.gif',url:'http://m.facezit.com/p-8579070.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工序卡9.dwg',url:'http://m.facezit.com/p-8579071.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'工序卡9.gif',url:'http://m.facezit.com/p-8579072.html', target:'_blank' },{ id:'00002', pId:'1', name:'工藝路線.dwg',url:'http://m.facezit.com/p-8579073.html', target:'_blank' },{ id:'00003', pId:'1', name:'毛坯圖——A1.dwg',url:'http://m.facezit.com/p-8579074.html', target:'_blank' },{ id:'00004', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8579075.html', target:'_blank' },{ id:'00005', pId:'1', name:'鉆、攻M12夾具體——A0.dwg',url:'http://m.facezit.com/p-8579076.html', target:'_blank' },{ id:'00006', pId:'1', name:'鉆、攻M12裝配圖——A0.dwg',url:'http://m.facezit.com/p-8579077.html', target:'_blank' },{ id:'00007', pId:'1', name:'閥腔——A1.dwg',url:'http://m.facezit.com/p-8579078.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 = '7268214'; 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; }); });