'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【工裝夾具類】軸承座加工工藝及φ13孔夾具設計【cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[M]全套設計-軸承座機械加工工藝規(guī)程及φ13孔夾具設計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'工序卡片 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'4.dwg (51KB)', click:'getBookinfo(8489924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'6.13.dwg (72KB)', click:'getBookinfo(8489925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'工藝卡10.dwg (55KB)', click:'getBookinfo(8489926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'工藝卡100.dwg (46KB)', click:'getBookinfo(8489927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'工藝卡110.dwg (45KB)', click:'getBookinfo(8489928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工藝卡120.dwg (41KB)', click:'getBookinfo(8489929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'工藝卡130.dwg (41KB)', click:'getBookinfo(8489930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'工藝卡140.dwg (69KB)', click:'getBookinfo(8489931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'工藝卡30.dwg (46KB)', click:'getBookinfo(8489932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'工藝卡40.dwg (45KB)', click:'getBookinfo(8489933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'工藝卡50.dwg (45KB)', click:'getBookinfo(8489934)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'工藝卡60.dwg (48KB)', click:'getBookinfo(8489935)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'工藝卡80.dwg (48KB)', click:'getBookinfo(8489936)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'工藝卡片.doc (108KB)', click:'getBookinfo(8489937)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'底面.dwg (48KB)', click:'getBookinfo(8489938)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'機械加工工藝過程卡.doc (54KB)', click:'getBookinfo(8489939)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-夾具裝配圖.dwg (99KB)', click:'getBookinfo(8489940)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2-夾具體圖.dwg (82KB)', click:'getBookinfo(8489941)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A4-毛坯圖.dwg (92KB)', click:'getBookinfo(8489942)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A4-零件圖.dwg (90KB)', click:'getBookinfo(8489943)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工藝卡片.doc (108KB)', click:'getBookinfo(8489944)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'機械加工工藝過程卡.doc (54KB)', click:'getBookinfo(8489945)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'說明書.doc (201KB)', click:'getBookinfo(8489946)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【工裝夾具類】軸承座加工工藝及φ13孔夾具設計【cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'4.dwg',url:'http://m.facezit.com/p-8489924.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'6.13.dwg',url:'http://m.facezit.com/p-8489925.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'工藝卡10.dwg',url:'http://m.facezit.com/p-8489926.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'工藝卡100.dwg',url:'http://m.facezit.com/p-8489927.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'工藝卡110.dwg',url:'http://m.facezit.com/p-8489928.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工藝卡120.dwg',url:'http://m.facezit.com/p-8489929.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'工藝卡130.dwg',url:'http://m.facezit.com/p-8489930.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'工藝卡140.dwg',url:'http://m.facezit.com/p-8489931.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'工藝卡30.dwg',url:'http://m.facezit.com/p-8489932.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'工藝卡40.dwg',url:'http://m.facezit.com/p-8489933.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'工藝卡50.dwg',url:'http://m.facezit.com/p-8489934.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'工藝卡60.dwg',url:'http://m.facezit.com/p-8489935.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'工藝卡80.dwg',url:'http://m.facezit.com/p-8489936.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'工藝卡片.doc',url:'http://m.facezit.com/p-8489937.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'底面.dwg',url:'http://m.facezit.com/p-8489938.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'機械加工工藝過程卡.doc',url:'http://m.facezit.com/p-8489939.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-夾具裝配圖.dwg',url:'http://m.facezit.com/p-8489940.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2-夾具體圖.dwg',url:'http://m.facezit.com/p-8489941.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A4-毛坯圖.dwg',url:'http://m.facezit.com/p-8489942.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A4-零件圖.dwg',url:'http://m.facezit.com/p-8489943.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工藝卡片.doc',url:'http://m.facezit.com/p-8489944.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'機械加工工藝過程卡.doc',url:'http://m.facezit.com/p-8489945.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8489946.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 = '7256182'; 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; }); });