'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'撥叉[831008]工藝及鉆2φ8錐銷孔夾具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工藝卡+過程卡 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'參考 (包含9個文件)', },{ id:'000010000100001', pId:'0000100001', name:'001和002工序.dwg (87KB)', click:'getBookinfo(8533282)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'003工序.dwg (86KB)', click:'getBookinfo(8533283)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'004工序.dwg (87KB)', click:'getBookinfo(8533284)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'005工序.dwg (92KB)', click:'getBookinfo(8533285)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'006和007號工序.dwg (69KB)', click:'getBookinfo(8533286)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'008號工序.dwg (74KB)', click:'getBookinfo(8533287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'009號工序.dwg (59KB)', click:'getBookinfo(8533288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'010號工序.dwg (105KB)', click:'getBookinfo(8533289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工序卡片.doc (643KB)', click:'getBookinfo(8533290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'撥叉1.2.3.dwg (101KB)', click:'getBookinfo(8533291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'撥叉4.dwg (46KB)', click:'getBookinfo(8533292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'撥叉5.dwg (60KB)', click:'getBookinfo(8533293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'撥叉6.dwg (49KB)', click:'getBookinfo(8533294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'撥叉7.dwg (47KB)', click:'getBookinfo(8533295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'撥叉8.dwg (47KB)', click:'getBookinfo(8533296)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具圖.dwg (70KB)', click:'getBookinfo(8533297)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'夾具裝配圖1.dwg (109KB)', click:'getBookinfo(8533298)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'設計說明書.doc (283KB)', click:'getBookinfo(8533299)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'零件圖.dwg (82KB)', click:'getBookinfo(8533300)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'零件毛坯圖.dwg (67KB)', click:'getBookinfo(8533301)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'撥叉[831008]工藝及鉆2φ8錐銷孔夾具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'001和002工序.dwg',url:'http://m.facezit.com/p-8533282.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'003工序.dwg',url:'http://m.facezit.com/p-8533283.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'004工序.dwg',url:'http://m.facezit.com/p-8533284.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'005工序.dwg',url:'http://m.facezit.com/p-8533285.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'006和007號工序.dwg',url:'http://m.facezit.com/p-8533286.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'008號工序.dwg',url:'http://m.facezit.com/p-8533287.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'009號工序.dwg',url:'http://m.facezit.com/p-8533288.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'010號工序.dwg',url:'http://m.facezit.com/p-8533289.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工序卡片.doc',url:'http://m.facezit.com/p-8533290.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'撥叉1.2.3.dwg',url:'http://m.facezit.com/p-8533291.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'撥叉4.dwg',url:'http://m.facezit.com/p-8533292.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'撥叉5.dwg',url:'http://m.facezit.com/p-8533293.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'撥叉6.dwg',url:'http://m.facezit.com/p-8533294.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'撥叉7.dwg',url:'http://m.facezit.com/p-8533295.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'撥叉8.dwg',url:'http://m.facezit.com/p-8533296.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具圖.dwg',url:'http://m.facezit.com/p-8533297.html', target:'_blank' },{ id:'00003', pId:'1', name:'夾具裝配圖1.dwg',url:'http://m.facezit.com/p-8533298.html', target:'_blank' },{ id:'00004', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8533299.html', target:'_blank' },{ id:'00005', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8533300.html', target:'_blank' },{ id:'00006', pId:'1', name:'零件毛坯圖.dwg',url:'http://m.facezit.com/p-8533301.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 = '7261535'; 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; }); });