'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'編號:機(jī)04.機(jī)械類。機(jī)械式六檔變速器設(shè)計【汽車畢業(yè)設(shè)計含10張cad圖說明書論文1.6萬字37頁,開題報告】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'編號:機(jī)04.機(jī)械類。機(jī)械式六檔變速器設(shè)計【汽車畢業(yè)設(shè)計含10張CAD圖+說明書論文1.6萬字37頁,開題報告】 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'三維【參考使用需要進(jìn)一步完善】 (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'asm.prt (145KB)', },{ id:'000010000100002', pId:'0000100001', name:'first.prt (2836KB)', },{ id:'000010000100003', pId:'0000100001', name:'gear1.prt (3460KB)', },{ id:'000010000100004', pId:'0000100001', name:'gear2.prt (6208KB)', },{ id:'000010000100005', pId:'0000100001', name:'gear3.prt (4192KB)', },{ id:'000010000100006', pId:'0000100001', name:'gunzhenda.prt (908KB)', },{ id:'000010000100007', pId:'0000100001', name:'gunzhenxiao.prt (896KB)', },{ id:'000010000100008', pId:'0000100001', name:'huajiangu1.prt (3468KB)', },{ id:'000010000100009', pId:'0000100001', name:'huakuai.prt (250KB)', },{ id:'000010000100010', pId:'0000100001', name:'nihetao.prt (2648KB)', },{ id:'000010000100011', pId:'0000100001', name:'tongbuhuan.prt (1436KB)', },{ id:'000010000100012', pId:'0000100001', name:'tongbuqiasm.prt (145KB)', },{ id:'0000100002', pId:'00001', name:'一檔齒輪.dwg (292KB)', click:'getBookinfo(8685512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'三維.zip (11015KB)', },{ id:'0000100004', pId:'00001', name:'中間軸.dwg (309KB)', click:'getBookinfo(8685513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'六檔變速器總裝配圖.dwg (428KB)', click:'getBookinfo(8685514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'嚙合套.dwg (292KB)', click:'getBookinfo(8685515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告.doc (468KB)', click:'getBookinfo(8685516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'惰輪.dwg (284KB)', click:'getBookinfo(8685517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'機(jī)械式六檔變速器設(shè)計論文.docx (1140KB)', click:'getBookinfo(8685518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'花鍵轂.dwg (292KB)', click:'getBookinfo(8685519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'裝配圖1.dwg (418KB)', click:'getBookinfo(8685520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'裝配圖2.dwg (412KB)', click:'getBookinfo(8685521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'輸入軸.dwg (300KB)', click:'getBookinfo(8685522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'輸出軸.dwg (307KB)', click:'getBookinfo(8685523)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'編號:機(jī)04.機(jī)械類。機(jī)械式六檔變速器設(shè)計【汽車畢業(yè)設(shè)計含10張cad圖說明書論文1.6萬字37頁,開題報告】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'一檔齒輪.dwg',url:'http://m.facezit.com/p-8685512.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'中間軸.dwg',url:'http://m.facezit.com/p-8685513.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'六檔變速器總裝配圖.dwg',url:'http://m.facezit.com/p-8685514.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'嚙合套.dwg',url:'http://m.facezit.com/p-8685515.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8685516.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'惰輪.dwg',url:'http://m.facezit.com/p-8685517.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'機(jī)械式六檔變速器設(shè)計論文.docx',url:'http://m.facezit.com/p-8685518.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'花鍵轂.dwg',url:'http://m.facezit.com/p-8685519.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'裝配圖1.dwg',url:'http://m.facezit.com/p-8685520.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'裝配圖2.dwg',url:'http://m.facezit.com/p-8685521.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'輸入軸.dwg',url:'http://m.facezit.com/p-8685522.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8685523.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 = '7269013'; 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; }); });