'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'單軌吊驅動減速器.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'單軌吊驅動減速器 (包含40個文件)', },{ id:'0000100001', pId:'00001', name:'國小偉 (包含9個文件)', },{ id:'000010000100001', pId:'0000100001', name:'軸 (包含3個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'第三軸.dwg (91KB)', click:'getBookinfo(8505294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'第二軸.dwg (113KB)', click:'getBookinfo(8505295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'輸入軸.dwg (95KB)', click:'getBookinfo(8505296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'齒輪 (包含2個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'齒輪5.dwg (87KB)', click:'getBookinfo(8505297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'齒輪6.dwg (78KB)', click:'getBookinfo(8505298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'總裝圖.dwg (283KB)', click:'getBookinfo(8505299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'箱體.dwg (187KB)', click:'getBookinfo(8505300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'文檔 (包含5個文件)', },{ id:'000010000200001', pId:'0000100002', name:'減速器中英文說明資料.doc (61KB)', click:'getBookinfo(8505301)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'單軌吊驅動減速器畢業(yè)設計說明書.doc (1713KB)', click:'getBookinfo(8505302)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'實習報告.doc (466KB)', click:'getBookinfo(8505303)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'開題報告.doc (57KB)', click:'getBookinfo(8505304)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'畢業(yè)設計(論文)中期進展情況檢查表.doc (33KB)', click:'getBookinfo(8505305)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'端蓋 (包含5個文件)', },{ id:'000010000300001', pId:'0000100003', name:'壓蓋.dwg (129KB)', click:'getBookinfo(8505306)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'輸入端密封端蓋.dwg (59KB)', click:'getBookinfo(8505307)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'輸入軸端蓋.dwg (107KB)', click:'getBookinfo(8505308)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'輸出端密封蓋.dwg (62KB)', click:'getBookinfo(8505309)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300005', pId:'0000100003', name:'輸出端密封端蓋1.dwg (125KB)', click:'getBookinfo(8505310)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'軸套 (包含7個文件)', },{ id:'000010000400001', pId:'0000100004', name:'第2齒輪軸套.dwg (63KB)', click:'getBookinfo(8505311)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400002', pId:'0000100004', name:'第三齒輪軸套1.dwg (64KB)', click:'getBookinfo(8505312)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400003', pId:'0000100004', name:'第三齒輪軸套2.dwg (64KB)', click:'getBookinfo(8505313)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400004', pId:'0000100004', name:'第三齒輪軸套3.dwg (63KB)', click:'getBookinfo(8505314)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400005', pId:'0000100004', name:'第三齒輪軸套4.dwg (62KB)', click:'getBookinfo(8505315)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400006', pId:'0000100004', name:'輸出聯(lián)軸器.dwg (70KB)', click:'getBookinfo(8505316)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400007', pId:'0000100004', name:'輸出軸套.dwg (62KB)', click:'getBookinfo(8505317)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'陳慧聰 (包含9個文件)', },{ id:'000010000500001', pId:'0000100005', name:'軸 (包含1個文件)', },{ id:'00001000050000100001', pId:'000010000500001', name:'輸出軸.dwg (103KB)', click:'getBookinfo(8505318)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500002', pId:'0000100005', name:'齒輪 (包含4個文件)', },{ id:'00001000050000200001', pId:'000010000500002', name:'齒輪1.dwg (120KB)', click:'getBookinfo(8505319)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000050000200002', pId:'000010000500002', name:'齒輪2.dwg (72KB)', click:'getBookinfo(8505320)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000050000200003', pId:'000010000500002', name:'齒輪3.dwg (80KB)', click:'getBookinfo(8505321)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000050000200004', pId:'000010000500002', name:'齒輪4.dwg (82KB)', click:'getBookinfo(8505322)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500003', pId:'0000100005', name:'總裝圖.dwg (283KB)', click:'getBookinfo(8505323)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000500004', pId:'0000100005', name:'箱體.dwg (187KB)', click:'getBookinfo(8505324)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'單軌吊驅動減速器.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'第三軸.dwg',url:'http://m.facezit.com/p-8505294.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'第二軸.dwg',url:'http://m.facezit.com/p-8505295.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'輸入軸.dwg',url:'http://m.facezit.com/p-8505296.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'齒輪5.dwg',url:'http://m.facezit.com/p-8505297.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'齒輪6.dwg',url:'http://m.facezit.com/p-8505298.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8505299.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'箱體.dwg',url:'http://m.facezit.com/p-8505300.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'減速器中英文說明資料.doc',url:'http://m.facezit.com/p-8505301.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'單軌吊驅動減速器畢業(yè)設計說明書.doc',url:'http://m.facezit.com/p-8505302.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'實習報告.doc',url:'http://m.facezit.com/p-8505303.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'開題報告.doc',url:'http://m.facezit.com/p-8505304.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'畢業(yè)設計(論文)中期進展情況檢查表.doc',url:'http://m.facezit.com/p-8505305.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'壓蓋.dwg',url:'http://m.facezit.com/p-8505306.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'輸入端密封端蓋.dwg',url:'http://m.facezit.com/p-8505307.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'輸入軸端蓋.dwg',url:'http://m.facezit.com/p-8505308.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'輸出端密封蓋.dwg',url:'http://m.facezit.com/p-8505309.html', target:'_blank' },{ id:'000010000300005', pId:'0000100003', name:'輸出端密封端蓋1.dwg',url:'http://m.facezit.com/p-8505310.html', target:'_blank' },{ id:'000010000400001', pId:'0000100004', name:'第2齒輪軸套.dwg',url:'http://m.facezit.com/p-8505311.html', target:'_blank' },{ id:'000010000400002', pId:'0000100004', name:'第三齒輪軸套1.dwg',url:'http://m.facezit.com/p-8505312.html', target:'_blank' },{ id:'000010000400003', pId:'0000100004', name:'第三齒輪軸套2.dwg',url:'http://m.facezit.com/p-8505313.html', target:'_blank' },{ id:'000010000400004', pId:'0000100004', name:'第三齒輪軸套3.dwg',url:'http://m.facezit.com/p-8505314.html', target:'_blank' },{ id:'000010000400005', pId:'0000100004', name:'第三齒輪軸套4.dwg',url:'http://m.facezit.com/p-8505315.html', target:'_blank' },{ id:'000010000400006', pId:'0000100004', name:'輸出聯(lián)軸器.dwg',url:'http://m.facezit.com/p-8505316.html', target:'_blank' },{ id:'000010000400007', pId:'0000100004', name:'輸出軸套.dwg',url:'http://m.facezit.com/p-8505317.html', target:'_blank' },{ id:'00001000050000100001', pId:'000010000500001', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8505318.html', target:'_blank' },{ id:'00001000050000200001', pId:'000010000500002', name:'齒輪1.dwg',url:'http://m.facezit.com/p-8505319.html', target:'_blank' },{ id:'00001000050000200002', pId:'000010000500002', name:'齒輪2.dwg',url:'http://m.facezit.com/p-8505320.html', target:'_blank' },{ id:'00001000050000200003', pId:'000010000500002', name:'齒輪3.dwg',url:'http://m.facezit.com/p-8505321.html', target:'_blank' },{ id:'00001000050000200004', pId:'000010000500002', name:'齒輪4.dwg',url:'http://m.facezit.com/p-8505322.html', target:'_blank' },{ id:'000010000500003', pId:'0000100005', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8505323.html', target:'_blank' },{ id:'000010000500004', pId:'0000100005', name:'箱體.dwg',url:'http://m.facezit.com/p-8505324.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 = '7258336'; 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; }); });