'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'帶位移電反饋的二級電液比例節(jié)流閥設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'帶位移電反饋的二級電液比例節(jié)流閥設(shè)計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'圖 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'裝配圖 (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'DBJ01-00裝配圖.dwg (234KB)', click:'getBookinfo(8701211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'零件圖(8張) (包含8個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'DBJ01-01主閥閥芯A2.dwg (49KB)', click:'getBookinfo(8701212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200002', pId:'000010000100002', name:'DBJ01-03主閥閥套A2.dwg (66KB)', click:'getBookinfo(8701213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200003', pId:'000010000100002', name:'DBJ01-04控制蓋板A1.dwg (89KB)', click:'getBookinfo(8701214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200004', pId:'000010000100002', name:'DBJ01-05先導(dǎo)閥頂蓋A3.dwg (50KB)', click:'getBookinfo(8701215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200005', pId:'000010000100002', name:'DBJ01-06先導(dǎo)閥閥套A2.dwg (115KB)', click:'getBookinfo(8701216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200006', pId:'000010000100002', name:'DBJ01-07先導(dǎo)閥閥芯A2.dwg (46KB)', click:'getBookinfo(8701217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200007', pId:'000010000100002', name:'DBJ01-09先導(dǎo)閥底蓋A3.dwg (37KB)', click:'getBookinfo(8701218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000200008', pId:'000010000100002', name:'DBJ01-10 通道塊A1.dwg (51KB)', click:'getBookinfo(8701219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'說明書 (包含1個文件)', },{ id:'000010000200001', pId:'0000100002', name:'帶位移電反饋的二級電液比例節(jié)流閥設(shè)計.doc (1157KB)', click:'getBookinfo(8701220)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'帶位移電反饋的二級電液比例節(jié)流閥設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'DBJ01-00裝配圖.dwg',url:'http://m.facezit.com/p-8701211.html', target:'_blank' },{ id:'00001000010000200001', pId:'000010000100002', name:'DBJ01-01主閥閥芯A2.dwg',url:'http://m.facezit.com/p-8701212.html', target:'_blank' },{ id:'00001000010000200002', pId:'000010000100002', name:'DBJ01-03主閥閥套A2.dwg',url:'http://m.facezit.com/p-8701213.html', target:'_blank' },{ id:'00001000010000200003', pId:'000010000100002', name:'DBJ01-04控制蓋板A1.dwg',url:'http://m.facezit.com/p-8701214.html', target:'_blank' },{ id:'00001000010000200004', pId:'000010000100002', name:'DBJ01-05先導(dǎo)閥頂蓋A3.dwg',url:'http://m.facezit.com/p-8701215.html', target:'_blank' },{ id:'00001000010000200005', pId:'000010000100002', name:'DBJ01-06先導(dǎo)閥閥套A2.dwg',url:'http://m.facezit.com/p-8701216.html', target:'_blank' },{ id:'00001000010000200006', pId:'000010000100002', name:'DBJ01-07先導(dǎo)閥閥芯A2.dwg',url:'http://m.facezit.com/p-8701217.html', target:'_blank' },{ id:'00001000010000200007', pId:'000010000100002', name:'DBJ01-09先導(dǎo)閥底蓋A3.dwg',url:'http://m.facezit.com/p-8701218.html', target:'_blank' },{ id:'00001000010000200008', pId:'000010000100002', name:'DBJ01-10 通道塊A1.dwg',url:'http://m.facezit.com/p-8701219.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'帶位移電反饋的二級電液比例節(jié)流閥設(shè)計.doc',url:'http://m.facezit.com/p-8701220.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 = '3424424'; 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; }); });