'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'巧妙翻轉(zhuǎn)機構(gòu)三維圖紙.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'003_預設(shè).prt (82KB)', },{ id:'00002', pId:'1', name:'02_MAKC0604A.prt (66KB)', },{ id:'00003', pId:'1', name:'04_預設(shè).prt (79KB)', },{ id:'00004', pId:'1', name:'05_預設(shè).prt (73KB)', },{ id:'00005', pId:'1', name:'06_Default.prt (71KB)', },{ id:'00006', pId:'1', name:'07_Default.prt (84KB)', },{ id:'00007', pId:'1', name:'08_預設(shè).prt (103KB)', },{ id:'00008', pId:'1', name:'09_預設(shè).prt (79KB)', },{ id:'00009', pId:'1', name:'1.png (82KB)', click:'getBookinfo(8172755)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'10_預設(shè).prt (119KB)', },{ id:'00011', pId:'1', name:'11_預設(shè).prt (90KB)', },{ id:'00012', pId:'1', name:'12_預設(shè).prt (71KB)', },{ id:'00013', pId:'1', name:'13_預設(shè).prt (95KB)', },{ id:'00014', pId:'1', name:'14_預設(shè).prt (157KB)', },{ id:'00015', pId:'1', name:'15_預設(shè).prt (101KB)', },{ id:'00016', pId:'1', name:'16_預設(shè).prt (83KB)', },{ id:'00017', pId:'1', name:'17_預設(shè).prt (94KB)', },{ id:'00018', pId:'1', name:'18_預設(shè).prt (75KB)', },{ id:'00019', pId:'1', name:'19_預設(shè).prt (167KB)', },{ id:'00020', pId:'1', name:'2.png (100KB)', click:'getBookinfo(8172756)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'20_預設(shè).prt (70KB)', },{ id:'00022', pId:'1', name:'21_預設(shè).prt (82KB)', },{ id:'00023', pId:'1', name:'22_Default.prt (74KB)', },{ id:'00024', pId:'1', name:'3.png (81KB)', click:'getBookinfo(8172757)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'47_預設(shè).prt (93KB)', },{ id:'00026', pId:'1', name:'48_預設(shè).prt (90KB)', },{ id:'00027', pId:'1', name:'巧妙翻轉(zhuǎn)機構(gòu).STEP (1820KB)', },{ id:'00028', pId:'1', name:'巧妙翻轉(zhuǎn)機構(gòu)_step.prt (97KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'巧妙翻轉(zhuǎn)機構(gòu)三維圖紙.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00009', pId:'1', name:'1.png',url:'http://facezit.com/p-8172755.html', target:'_blank' },{ id:'00020', pId:'1', name:'2.png',url:'http://facezit.com/p-8172756.html', target:'_blank' },{ id:'00024', pId:'1', name:'3.png',url:'http://facezit.com/p-8172757.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 = '3530345'; 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; }); });