'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b403拖拉機變速器的設(shè)計(全部結(jié)清.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B403拖拉機變速器的設(shè)計(全部結(jié)清) (包含45個文件)', },{ id:'0000100001', pId:'00001', name:'acaddoc.fas.lnk (2KB)', },{ id:'0000100002', pId:'00001', name:'deep groove ball bearings gb.sldprt (1076KB)', },{ id:'0000100003', pId:'00001', name:'hexagon socket head cap screws gb.sldprt (764KB)', },{ id:'0000100004', pId:'00001', name:'round nuts gb.sldprt (393KB)', },{ id:'0000100005', pId:'00001', name:'spur gear_gb1.sldprt (838KB)', },{ id:'0000100006', pId:'00001', name:'spur gear_gb11.SLDPRT (1258KB)', },{ id:'0000100007', pId:'00001', name:'spur gear_gb1177.SLDPRT (908KB)', },{ id:'0000100008', pId:'00001', name:'spur gear_gb11776.SLDPRT (830KB)', },{ id:'0000100009', pId:'00001', name:'spur gear_gbss.SLDPRT (983KB)', },{ id:'0000100010', pId:'00001', name:'spur gear_gbtt.SLDPRT (1012KB)', },{ id:'0000100011', pId:'00001', name:'spur gear_gbyyyyy.SLDPRT (3152KB)', },{ id:'0000100012', pId:'00001', name:'straight bevel pinion_gbgggg.SLDPRT (860KB)', },{ id:'0000100013', pId:'00001', name:'V帶輪.SLDPRT (155KB)', },{ id:'0000100014', pId:'00001', name:'傳動軸1.SLDPRT (118KB)', },{ id:'0000100015', pId:'00001', name:'傳動軸2.SLDPRT (118KB)', },{ id:'0000100016', pId:'00001', name:'傳動軸23.SLDPRT (103KB)', },{ id:'0000100017', pId:'00001', name:'傳動軸24.SLDPRT (98KB)', },{ id:'0000100018', pId:'00001', name:'傳動軸4.SLDPRT (162KB)', },{ id:'0000100019', pId:'00001', name:'傳動軸7.SLDPRT (118KB)', },{ id:'0000100020', pId:'00001', name:'傳動軸999.SLDPRT (161KB)', },{ id:'0000100021', pId:'00001', name:'壓蓋1.SLDPRT (174KB)', },{ id:'0000100022', pId:'00001', name:'外文翻譯.doc (55KB)', click:'getBookinfo(8194759)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'安裝板.SLDPRT (135KB)', },{ id:'0000100024', pId:'00001', name:'截圖76.png (46KB)', click:'getBookinfo(8194760)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'截圖77.png (44KB)', click:'getBookinfo(8194761)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'截圖78.png (31KB)', click:'getBookinfo(8194762)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100027', pId:'00001', name:'拖拉機變速器CAD圖.dwg (703KB)', click:'getBookinfo(8194763)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100028', pId:'00001', name:'拖拉機變速器CAD圖.dwl (0KB)', },{ id:'0000100029', pId:'00001', name:'拖拉機變速器設(shè)計說明書.doc (1093KB)', click:'getBookinfo(8194764)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100030', pId:'00001', name:'拖拉機變速箱的設(shè)計開題報告.doc (244KB)', click:'getBookinfo(8194765)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100031', pId:'00001', name:'畢業(yè)設(shè)計4-6.doc (38KB)', click:'getBookinfo(8194766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100032', pId:'00001', name:'蓋板.SLDPRT (230KB)', },{ id:'0000100033', pId:'00001', name:'箱體.SLDPRT (525KB)', },{ id:'0000100034', pId:'00001', name:'箱體1.SLDPRT (126KB)', },{ id:'0000100035', pId:'00001', name:'箱體2.SLDPRT (113KB)', },{ id:'0000100036', pId:'00001', name:'箱體3.SLDPRT (619KB)', },{ id:'0000100037', pId:'00001', name:'裝配體3.SLDASM (3112KB)', },{ id:'0000100038', pId:'00001', name:'裝配體3.STEP (13399KB)', },{ id:'0000100039', pId:'00001', name:'裝配體5.SLDASM (163KB)', },{ id:'0000100040', pId:'00001', name:'裝配體6.SLDASM (193KB)', },{ id:'0000100041', pId:'00001', name:'零件1.SLDPRT (102KB)', },{ id:'0000100042', pId:'00001', name:'零件2.SLDPRT (103KB)', },{ id:'0000100043', pId:'00001', name:'零件3.SLDPRT (98KB)', },{ id:'0000100044', pId:'00001', name:'零件4.SLDPRT (141KB)', },{ id:'0000100045', pId:'00001', name:'零件tt.SLDPRT (103KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'b403拖拉機變速器的設(shè)計(全部結(jié)清.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100022', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8194759.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'截圖76.png',url:'http://m.facezit.com/p-8194760.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'截圖77.png',url:'http://m.facezit.com/p-8194761.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'截圖78.png',url:'http://m.facezit.com/p-8194762.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'拖拉機變速器CAD圖.dwg',url:'http://m.facezit.com/p-8194763.html', target:'_blank' },{ id:'0000100029', pId:'00001', name:'拖拉機變速器設(shè)計說明書.doc',url:'http://m.facezit.com/p-8194764.html', target:'_blank' },{ id:'0000100030', pId:'00001', name:'拖拉機變速箱的設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8194765.html', target:'_blank' },{ id:'0000100031', pId:'00001', name:'畢業(yè)設(shè)計4-6.doc',url:'http://m.facezit.com/p-8194766.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 = '3530243'; 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; }); });