'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'沖孔落料復合模設(shè)計及三維造型設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'沖孔落料復合模設(shè)計及三維造型設(shè)計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'沖孔落料復合模設(shè)計及三維造型設(shè)計 (包含23個文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖紙 (包含9個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'10卸料螺釘A3.dwg (60KB)', click:'getBookinfo(8872952)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'1號裝配圖A0.dwg (86KB)', click:'getBookinfo(8872953)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'3模座A1.dwg (62KB)', click:'getBookinfo(8872954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'4模柄A2.dwg (69KB)', click:'getBookinfo(8872955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'5凹模A3.dwg (63KB)', click:'getBookinfo(8872956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'6導套A3.dwg (50KB)', click:'getBookinfo(8872957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'7導柱A3.dwg (50KB)', click:'getBookinfo(8872958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'8凸模A3.dwg (71KB)', click:'getBookinfo(8872959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100009', pId:'000010000100001', name:'9卸料板A3.dwg (56KB)', click:'getBookinfo(8872960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'實習報告 (包含2個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'實習報告封皮.doc (68KB)', click:'getBookinfo(8872961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'阿飛實習報告.doc (502KB)', click:'getBookinfo(8872962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'畢業(yè)設(shè)計 (包含3個文件)', },{ id:'00001000010000300001', pId:'000010000100003', name:'前言.doc (20KB)', click:'getBookinfo(8872963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000300002', pId:'000010000100003', name:'摘要.doc (26KB)', click:'getBookinfo(8872964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000300003', pId:'000010000100003', name:'目錄.doc (43KB)', click:'getBookinfo(8872965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'翻譯 (包含4個文件)', },{ id:'00001000010000400001', pId:'000010000100004', name:'Die basic knowledge.doc (305KB)', click:'getBookinfo(8872966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000400002', pId:'000010000100004', name:'模具基本知識.doc (356KB)', click:'getBookinfo(8872967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000400003', pId:'000010000100004', name:'翻譯封皮1.doc (68KB)', click:'getBookinfo(8872968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000400004', pId:'000010000100004', name:'翻譯封皮2.doc (68KB)', click:'getBookinfo(8872969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'使用必讀.txt (1KB)', click:'getBookinfo(8872970)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'沖孔落料復合模設(shè)計及三維造型設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'10卸料螺釘A3.dwg',url:'http://m.facezit.com/p-8872952.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'1號裝配圖A0.dwg',url:'http://m.facezit.com/p-8872953.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'3模座A1.dwg',url:'http://m.facezit.com/p-8872954.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'4模柄A2.dwg',url:'http://m.facezit.com/p-8872955.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'5凹模A3.dwg',url:'http://m.facezit.com/p-8872956.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'6導套A3.dwg',url:'http://m.facezit.com/p-8872957.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'7導柱A3.dwg',url:'http://m.facezit.com/p-8872958.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'8凸模A3.dwg',url:'http://m.facezit.com/p-8872959.html', target:'_blank' },{ id:'00001000010000100009', pId:'000010000100001', name:'9卸料板A3.dwg',url:'http://m.facezit.com/p-8872960.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'實習報告封皮.doc',url:'http://m.facezit.com/p-8872961.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'阿飛實習報告.doc',url:'http://m.facezit.com/p-8872962.html', target:'_blank' },{ id:'00001000010000300001', pId:'000010000100003', name:'前言.doc',url:'http://m.facezit.com/p-8872963.html', target:'_blank' },{ id:'00001000010000300002', pId:'000010000100003', name:'摘要.doc',url:'http://m.facezit.com/p-8872964.html', target:'_blank' },{ id:'00001000010000300003', pId:'000010000100003', name:'目錄.doc',url:'http://m.facezit.com/p-8872965.html', target:'_blank' },{ id:'00001000010000400001', pId:'000010000100004', name:'Die basic knowledge.doc',url:'http://m.facezit.com/p-8872966.html', target:'_blank' },{ id:'00001000010000400002', pId:'000010000100004', name:'模具基本知識.doc',url:'http://m.facezit.com/p-8872967.html', target:'_blank' },{ id:'00001000010000400003', pId:'000010000100004', name:'翻譯封皮1.doc',url:'http://m.facezit.com/p-8872968.html', target:'_blank' },{ id:'00001000010000400004', pId:'000010000100004', name:'翻譯封皮2.doc',url:'http://m.facezit.com/p-8872969.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'使用必讀.txt',url:'http://m.facezit.com/p-8872970.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 = '3633922'; 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; }); });