'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'雙齒輥破碎機設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'1 雙齒輥破碎機設計.doc (12561KB)', click:'getBookinfo(8319442)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'翻譯.doc (345KB)', click:'getBookinfo(8319443)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'1 雙齒輥破碎機設計.doc (12605KB)', click:'getBookinfo(8319444)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'中期檢查表.doc (32KB)', click:'getBookinfo(8319445)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'減速器-A0.dwg (699KB)', click:'getBookinfo(8319446)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'減速器低速齒輪-A2.dwg (546KB)', click:'getBookinfo(8319447)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'減速器輸入軸-A3.dwg (477KB)', click:'getBookinfo(8319448)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻譯.doc (611KB)', click:'getBookinfo(8319449)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大帶輪-A2.dwg (475KB)', click:'getBookinfo(8319450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'封面.doc (22KB)', click:'getBookinfo(8319451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'小帶輪-A3.dwg (462KB)', click:'getBookinfo(8319452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'開題報告.doc (31KB)', click:'getBookinfo(8319453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'總裝圖-A0.dwg (351KB)', click:'getBookinfo(8319454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'皮帶輪罩-A2.dwg (454KB)', click:'getBookinfo(8319455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'設計說明書.doc (12762KB)', click:'getBookinfo(8319456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'齒板-A2.dwg (496KB)', click:'getBookinfo(8319457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'齒輥部件-A2.dwg (551KB)', click:'getBookinfo(8319458)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'雙齒輥破碎機設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1 雙齒輥破碎機設計.doc',url:'http://m.facezit.com/p-8319442.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8319443.html', target:'_blank' },{ id:'00002', pId:'1', name:'1 雙齒輥破碎機設計.doc',url:'http://m.facezit.com/p-8319444.html', target:'_blank' },{ id:'00003', pId:'1', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8319445.html', target:'_blank' },{ id:'00004', pId:'1', name:'減速器-A0.dwg',url:'http://m.facezit.com/p-8319446.html', target:'_blank' },{ id:'00005', pId:'1', name:'減速器低速齒輪-A2.dwg',url:'http://m.facezit.com/p-8319447.html', target:'_blank' },{ id:'00006', pId:'1', name:'減速器輸入軸-A3.dwg',url:'http://m.facezit.com/p-8319448.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8319449.html', target:'_blank' },{ id:'00008', pId:'1', name:'大帶輪-A2.dwg',url:'http://m.facezit.com/p-8319450.html', target:'_blank' },{ id:'00009', pId:'1', name:'封面.doc',url:'http://m.facezit.com/p-8319451.html', target:'_blank' },{ id:'00010', pId:'1', name:'小帶輪-A3.dwg',url:'http://m.facezit.com/p-8319452.html', target:'_blank' },{ id:'00011', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8319453.html', target:'_blank' },{ id:'00012', pId:'1', name:'總裝圖-A0.dwg',url:'http://m.facezit.com/p-8319454.html', target:'_blank' },{ id:'00013', pId:'1', name:'皮帶輪罩-A2.dwg',url:'http://m.facezit.com/p-8319455.html', target:'_blank' },{ id:'00014', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8319456.html', target:'_blank' },{ id:'00015', pId:'1', name:'齒板-A2.dwg',url:'http://m.facezit.com/p-8319457.html', target:'_blank' },{ id:'00016', pId:'1', name:'齒輥部件-A2.dwg',url:'http://m.facezit.com/p-8319458.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 = '6791821'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });