'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'小連桿加工工藝及鉆φ3_7孔夾具設(shè)計【5張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工藝過程卡(8張) (包含8個文件)', },{ id:'0000100001', pId:'00001', name:'機械加工工藝過程卡_1.doc (39KB)', click:'getBookinfo(8527163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'機械加工工藝過程卡_2.doc (39KB)', click:'getBookinfo(8527164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'機械加工工藝過程卡_3.doc (40KB)', click:'getBookinfo(8527165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡_4.doc (40KB)', click:'getBookinfo(8527166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'機械加工工藝過程卡_5.doc (40KB)', click:'getBookinfo(8527167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'機械加工工藝過程卡_6.doc (40KB)', click:'getBookinfo(8527168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'機械加工工藝過程卡_7.doc (40KB)', click:'getBookinfo(8527169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'機械加工工藝過程卡_8.doc (40KB)', click:'getBookinfo(8527170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具本體(A3).dwg (69KB)', click:'getBookinfo(8527171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'開題報告(5頁).doc (105KB)', click:'getBookinfo(8527172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'摘要(2頁).doc (37KB)', click:'getBookinfo(8527173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'斜鉆孔夾具裝配圖.dwg (69KB)', click:'getBookinfo(8527174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'機械加工工序卡片(6頁).doc (397KB)', click:'getBookinfo(8527175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'毛坯圖(A3).dwg (42KB)', click:'getBookinfo(8527176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'目錄(1頁).doc (40KB)', click:'getBookinfo(8527177)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'說明書(12頁).doc (93KB)', click:'getBookinfo(8527178)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'說明書封面(1頁).doc (97KB)', click:'getBookinfo(8527179)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'鋼架(A3).dwg (37KB)', click:'getBookinfo(8527180)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'零件圖(A3).dwg (74KB)', click:'getBookinfo(8527181)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'小連桿加工工藝及鉆φ3_7孔夾具設(shè)計【5張cad圖紙、工藝卡片和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'機械加工工藝過程卡_1.doc',url:'http://m.facezit.com/p-8527163.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'機械加工工藝過程卡_2.doc',url:'http://m.facezit.com/p-8527164.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'機械加工工藝過程卡_3.doc',url:'http://m.facezit.com/p-8527165.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡_4.doc',url:'http://m.facezit.com/p-8527166.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'機械加工工藝過程卡_5.doc',url:'http://m.facezit.com/p-8527167.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'機械加工工藝過程卡_6.doc',url:'http://m.facezit.com/p-8527168.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'機械加工工藝過程卡_7.doc',url:'http://m.facezit.com/p-8527169.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'機械加工工藝過程卡_8.doc',url:'http://m.facezit.com/p-8527170.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具本體(A3).dwg',url:'http://m.facezit.com/p-8527171.html', target:'_blank' },{ id:'00003', pId:'1', name:'開題報告(5頁).doc',url:'http://m.facezit.com/p-8527172.html', target:'_blank' },{ id:'00004', pId:'1', name:'摘要(2頁).doc',url:'http://m.facezit.com/p-8527173.html', target:'_blank' },{ id:'00005', pId:'1', name:'斜鉆孔夾具裝配圖.dwg',url:'http://m.facezit.com/p-8527174.html', target:'_blank' },{ id:'00006', pId:'1', name:'機械加工工序卡片(6頁).doc',url:'http://m.facezit.com/p-8527175.html', target:'_blank' },{ id:'00007', pId:'1', name:'毛坯圖(A3).dwg',url:'http://m.facezit.com/p-8527176.html', target:'_blank' },{ id:'00008', pId:'1', name:'目錄(1頁).doc',url:'http://m.facezit.com/p-8527177.html', target:'_blank' },{ id:'00009', pId:'1', name:'說明書(12頁).doc',url:'http://m.facezit.com/p-8527178.html', target:'_blank' },{ id:'00010', pId:'1', name:'說明書封面(1頁).doc',url:'http://m.facezit.com/p-8527179.html', target:'_blank' },{ id:'00011', pId:'1', name:'鋼架(A3).dwg',url:'http://m.facezit.com/p-8527180.html', target:'_blank' },{ id:'00012', pId:'1', name:'零件圖(A3).dwg',url:'http://m.facezit.com/p-8527181.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 = '7260751'; 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; }); });