'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0194托板零件成形工藝及落料沖孔復合模設計【全套8張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0194-托板零件成形工藝及落料沖孔復合模設計【全套8張CAD圖】 (包含28個文件)', },{ id:'0000100001', pId:'00001', name:'KT.doc (42KB)', click:'getBookinfo(8146573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'上下模座.dwg (69KB)', click:'getBookinfo(8146574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'中文(翻譯).doc (38KB)', click:'getBookinfo(8146575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'凸凹模.dwg (72KB)', click:'getBookinfo(8146576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'凸凹模.png (8KB)', click:'getBookinfo(8146577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'凸模.dwg (70KB)', click:'getBookinfo(8146578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'凸模.png (9KB)', click:'getBookinfo(8146579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'凸模固定板.dwg (73KB)', click:'getBookinfo(8146580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'凸模固定板.png (9KB)', click:'getBookinfo(8146581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'墊板.dwg (72KB)', click:'getBookinfo(8146582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'封面.doc (27KB)', click:'getBookinfo(8146583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'打包文件.png (105KB)', click:'getBookinfo(8146584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'推件塊.dwg (70KB)', click:'getBookinfo(8146585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'推件塊.png (7KB)', click:'getBookinfo(8146586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'推板.dwg (68KB)', click:'getBookinfo(8146587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'摘要.docx (17KB)', click:'getBookinfo(8146588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'摘要.png (94KB)', click:'getBookinfo(8146589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'模具裝配圖.dwg (143KB)', click:'getBookinfo(8146590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'模具裝配圖.png (52KB)', click:'getBookinfo(8146591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'模座.png (27KB)', click:'getBookinfo(8146592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'目錄.doc (74KB)', click:'getBookinfo(8146593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'目錄.png (50KB)', click:'getBookinfo(8146594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'英文(翻譯).doc (50KB)', click:'getBookinfo(8146595)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'落料凹模.dwg (74KB)', click:'getBookinfo(8146596)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'落料凹模.png (7KB)', click:'getBookinfo(8146597)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'設計要求.doc (60KB)', click:'getBookinfo(8146598)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100027', pId:'00001', name:'說明書.docx (194KB)', click:'getBookinfo(8146599)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100028', pId:'00001', name:'說明書.png (359KB)', click:'getBookinfo(8146600)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0194托板零件成形工藝及落料沖孔復合模設計【全套8張cad圖說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'KT.doc',url:'http://m.facezit.com/p-8146573.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'上下模座.dwg',url:'http://m.facezit.com/p-8146574.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'中文(翻譯).doc',url:'http://m.facezit.com/p-8146575.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'凸凹模.dwg',url:'http://m.facezit.com/p-8146576.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'凸凹模.png',url:'http://m.facezit.com/p-8146577.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'凸模.dwg',url:'http://m.facezit.com/p-8146578.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'凸模.png',url:'http://m.facezit.com/p-8146579.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'凸模固定板.dwg',url:'http://m.facezit.com/p-8146580.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'凸模固定板.png',url:'http://m.facezit.com/p-8146581.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'墊板.dwg',url:'http://m.facezit.com/p-8146582.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8146583.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'打包文件.png',url:'http://m.facezit.com/p-8146584.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'推件塊.dwg',url:'http://m.facezit.com/p-8146585.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'推件塊.png',url:'http://m.facezit.com/p-8146586.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'推板.dwg',url:'http://m.facezit.com/p-8146587.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'摘要.docx',url:'http://m.facezit.com/p-8146588.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8146589.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'模具裝配圖.dwg',url:'http://m.facezit.com/p-8146590.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'模具裝配圖.png',url:'http://m.facezit.com/p-8146591.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'模座.png',url:'http://m.facezit.com/p-8146592.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8146593.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8146594.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'英文(翻譯).doc',url:'http://m.facezit.com/p-8146595.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'落料凹模.dwg',url:'http://m.facezit.com/p-8146596.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'落料凹模.png',url:'http://m.facezit.com/p-8146597.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'設計要求.doc',url:'http://m.facezit.com/p-8146598.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'說明書.docx',url:'http://m.facezit.com/p-8146599.html', target:'_blank' },{ id:'0000100028', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8146600.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 = '3525239'; 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; }); });