'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831005]機械加工工藝和鉆φ22花鍵孔夾具設(shè)計[版本1]全套6張cad圖紙工序卡片說明書【三維額外購】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'撥叉[831005] 2-鉆Φ22花鍵孔夾具[版本1] (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'夾具體圖.dwg (82KB)', click:'getBookinfo(8357287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具裝配圖.dwg (205KB)', click:'getBookinfo(8357288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序卡片.doc (764KB)', click:'getBookinfo(8357289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工藝過程卡片.doc (43KB)', click:'getBookinfo(8357290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'支承塊.dwg (68KB)', click:'getBookinfo(8357291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'毛坯.dwg (55KB)', click:'getBookinfo(8357292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'活動V形塊.dwg (88KB)', click:'getBookinfo(8357293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'課程設(shè)計說明書1.doc (46KB)', click:'getBookinfo(8357294)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'課程設(shè)計說明書2.doc (637KB)', click:'getBookinfo(8357295)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'零件圖.dwg (63KB)', click:'getBookinfo(8357296)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831005]機械加工工藝和鉆φ22花鍵孔夾具設(shè)計[版本1]全套6張cad圖紙工序卡片說明書【三維額外購】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'夾具體圖.dwg',url:'http://m.facezit.com/p-8357287.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8357288.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序卡片.doc',url:'http://m.facezit.com/p-8357289.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工藝過程卡片.doc',url:'http://m.facezit.com/p-8357290.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'支承塊.dwg',url:'http://m.facezit.com/p-8357291.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'毛坯.dwg',url:'http://m.facezit.com/p-8357292.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'活動V形塊.dwg',url:'http://m.facezit.com/p-8357293.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'課程設(shè)計說明書1.doc',url:'http://m.facezit.com/p-8357294.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'課程設(shè)計說明書2.doc',url:'http://m.facezit.com/p-8357295.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8357296.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 = '6906823'; 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; }); });