'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4751鉗塊加工工藝及專用夾具設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4751-鉗塊加工工藝及專用夾具設(shè)計 (包含33個文件)', },{ id:'0000100001', pId:'00001', name:'solidworks2010三維圖紙 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'4X14.sldprt (64KB)', },{ id:'000010000100002', pId:'0000100001', name:'M3X6.sldprt (97KB)', },{ id:'000010000100003', pId:'0000100001', name:'M4X12.sldprt (96KB)', },{ id:'000010000100004', pId:'0000100001', name:'M4X16.sldprt (80KB)', },{ id:'000010000100005', pId:'0000100001', name:'M4X6.sldprt (95KB)', },{ id:'000010000100006', pId:'0000100001', name:'壓緊支撐.SLDPRT (178KB)', },{ id:'000010000100007', pId:'0000100001', name:'圓形對刀塊.SLDPRT (144KB)', },{ id:'000010000100008', pId:'0000100001', name:'夾具體.SLDPRT (340KB)', },{ id:'000010000100009', pId:'0000100001', name:'定位擋銷.SLDPRT (151KB)', },{ id:'000010000100010', pId:'0000100001', name:'定位支撐.SLDPRT (210KB)', },{ id:'000010000100011', pId:'0000100001', name:'定位螺釘.SLDPRT (204KB)', },{ id:'000010000100012', pId:'0000100001', name:'定位鍵.SLDPRT (152KB)', },{ id:'000010000100013', pId:'0000100001', name:'總裝配.JPG (113KB)', click:'getBookinfo(8127759)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'總裝配.SLDASM (482KB)', },{ id:'000010000100015', pId:'0000100001', name:'支撐釘.SLDPRT (130KB)', },{ id:'000010000100016', pId:'0000100001', name:'零件圖.SLDPRT (445KB)', },{ id:'0000100002', pId:'00001', name:'4X1422.dwg (65KB)', click:'getBookinfo(8127760)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A4壓緊支撐.DWG (61KB)', click:'getBookinfo(8127761)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'夾具體A3.dwg (74KB)', click:'getBookinfo(8127762)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'定位元件.dwg (53KB)', click:'getBookinfo(8127763)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'定位擋銷A3.dwg (66KB)', click:'getBookinfo(8127764)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'定位支撐.dwg (79KB)', click:'getBookinfo(8127765)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定位鍵.dwg (76KB)', click:'getBookinfo(8127766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡[12張].doc (406KB)', click:'getBookinfo(8127767)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工藝卡[1張].doc (46KB)', click:'getBookinfo(8127768)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'支撐釘A3.dwg (66KB)', click:'getBookinfo(8127769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'毛坯A3.dwg (78KB)', click:'getBookinfo(8127770)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'相關(guān)資料.doc (81KB)', click:'getBookinfo(8127771)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'裝配圖A2.dwg (104KB)', click:'getBookinfo(8127772)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'計劃周記進(jìn)度檢查表.xls (26KB)', click:'getBookinfo(8127773)', icon:'/Images/filetype/XLS16.PNG'},{ id:'0000100016', pId:'00001', name:'說明書.doc (834KB)', click:'getBookinfo(8127774)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'零件圖A3.dwg (87KB)', click:'getBookinfo(8127775)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4751鉗塊加工工藝及專用夾具設(shè)計【機械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'總裝配.JPG',url:'http://m.facezit.com/p-8127759.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'4X1422.dwg',url:'http://m.facezit.com/p-8127760.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A4壓緊支撐.DWG',url:'http://m.facezit.com/p-8127761.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'夾具體A3.dwg',url:'http://m.facezit.com/p-8127762.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'定位元件.dwg',url:'http://m.facezit.com/p-8127763.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'定位擋銷A3.dwg',url:'http://m.facezit.com/p-8127764.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'定位支撐.dwg',url:'http://m.facezit.com/p-8127765.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定位鍵.dwg',url:'http://m.facezit.com/p-8127766.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡[12張].doc',url:'http://m.facezit.com/p-8127767.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工藝卡[1張].doc',url:'http://m.facezit.com/p-8127768.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'支撐釘A3.dwg',url:'http://m.facezit.com/p-8127769.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'毛坯A3.dwg',url:'http://m.facezit.com/p-8127770.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'相關(guān)資料.doc',url:'http://m.facezit.com/p-8127771.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'裝配圖A2.dwg',url:'http://m.facezit.com/p-8127772.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'計劃周記進(jìn)度檢查表.xls',url:'http://m.facezit.com/p-8127773.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8127774.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'零件圖A3.dwg',url:'http://m.facezit.com/p-8127775.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 = '3521881'; 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; }); });