1jQuery(document).ready(function($){ 2 $("#myform").validate({ 3 event:"blur", 4 errorElement: "span", 5 errorPlacement: function(error, element) { 6 element.parent("div").find('p').show(); 7 // element.parent("div").find('p[name="'+element.attr('name')+'_ev"]').html('<i></i><em></em>'); 8 error.appendTo( element.parent("div").find('p[name="'+element.attr('name')+'_ev"]')); 9 element.parent("div").find('p[name="'+element.attr('name')+'_ev"]').show(); 10 }, 11 success: function(label) { 12 label.addClass("success"); 13 //label.parent("p").hide(); 14 //alert(label.parent("div").html()); 15 }, 16 submitHandler:function(form){ 17 pub_ajax_submit(form); 18 } 19 }); 20 21}); 22 23 24jQuery(document).ready(function($){ 25 $('.myform').each(function(){ 26 var id = $(this).attr('id'); 27 28 $("#"+id).validate({ 29 event:"blur", 30 errorElement: "span", //<i></i><em></em> 31 errorPlacement: function(error, element) { 32 element.parents(".controls").find('p').show(); 33 // element.parents(".controls").find('p[name="'+element.attr('name')+'_ev"]').html('<i></i><em></em>'); 34 error.appendTo( element.parents(".controls").find('p[name="'+element.attr('name')+'_ev"]')); 35 element.parents(".controls").find('p[name="'+element.attr('name')+'_ev"]').show(); 36 37 38 }, 39 success: function(label) { 40 label.addClass("success"); 41 // label.parent("p").hide(); 42 //alert(label.parent("div").html()); 43 }, 44 submitHandler:function(form){ 45 46 pub_ajax_submit(form,id); 47 48 } 49 }); 50 51 52 }) 53 54 $('.myforms').each(function(){ 55 var id = $(this).attr('id'); 56 57 $("#"+id).validate({ 58 event:"blur", 59 errorElement: "span", //<i></i><em></em> 60 errorPlacement: function(error, element) { 61 element.parents(".controls").find('p').show(); 62 // element.parents(".controls").find('p[name="'+element.attr('name')+'_ev"]').html('<i></i><em></em>'); 63 error.appendTo( element.parents(".controls").find('p[class="'+element.attr('class')+'_ev"]')); 64 element.parents(".controls").find('p[class="'+element.attr('class')+'_ev"]').show(); 65 66 67 }, 68 success: function(label) { 69 label.addClass("success"); 70 // label.parent("p").hide(); 71 //alert(label.parent("div").html()); 72 }, 73 submitHandler:function(form){ 74 75 pub_ajax_submit(form,id); 76 77 } 78 }); 79 80 81 }) 82 83 84}); 85 86 87function pub_ajax_submit(form,id){ 88 89 if(!form) return false; 90 $(form).ajaxSubmit({ 91 type:'POST', 92 dataType:'json', 93 beforeSend : function() { 94 $('input[type="submit"]').attr('disabled', 'disabled'); 95 }, 96 success:function(r){ 97 $('input[type="submit"]').removeAttr('disabled'); 98 99 100 if(r.info){ 101 if(id == 'do_user_tjr'){ 102 if(r.state == 0){ 103 $('#'+id+'_i').attr('class','error'); 104 } 105 } 106 107 if(id=="do_login"||id=="do_self"){ 108 $('#'+id+"_tip").html(r.info); 109 if(r.state === 1) { 110 $('#'+id+"_tip").addClass('success') 111 } 112 }else{ 113 if($('#draft_'+id).val()!=1&&r.data!='top'&&$('#draft_'+id).val()!=2){ 114 var check_mdqq = $(form).find('input[id="check_mdqq"]').val(); 115 if(check_mdqq != 1){ 116 art.dialog.tips(r.info); 117 118 } 119 120 } 121 122 } 123 } 124 if(r.data=='top'){ 125 var arr = r.info; 126 for(var o in arr){ 127 art.dialog.tips(arr[o].val); 128 // alert("key:"+arr[o].key+" val:"+arr[o].val ); 129 location.href="#"+arr[o].key; 130 break; 131 } 132 } 133 if(r.state == 1){ 134 135 if(r.data!='self'){ 136 137 setTimeout('location.href="'+r.data+'"',600); 138 } 139 if($('#draft_'+id).val()!=1){ 140 $('#'+id+'_i').attr('class','ok'); 141 } 142 if($('#draft_'+id).val()==2){ 143 $('#'+id+'_state').val(1); 144 } 145 } 146 } 147 });
148} 149 150var sms_sended_time; 151// åéçä¿¡ 152function send_sms(type) 153{ 154 var reg_mobile = /(^1[3|4|5|6|7|8|9][0-9]{9}$)/; 155 if ( !$("#mobile").val() ) { 156 art.dialog.tips('请å å¡«åææºå·ï¼'); 157 return false; 158 } 159 if(!$("#verify").val() && $('#login_type').val() == 'login' ){ 160 art.dialog.tips('请填åå¾å½¢éªè¯ç ï¼'); 161 return false; 162 } 163 else if ( !reg_mobile.test( $("#mobile").val() )) { 164 art.dialog.tips('è¯·å¡«åæ£ç¡®çææºå·ï¼'); 165 return false; 166 } 167 168 if ( !sms_sended_time ) { 169 $.ajax({ 170 url : '/dba/account/send_sms_code_yzm?type='+type, 171 data : { 172 mobile: $("#mobile").val(), 173 yzm_code:$('#yzm_code').val(), 174 verify:$('#verify').val(), 175 login_type:$('#login_type').val(), 176 }, 177 type : 'post', 178 dataType : 'JSON', 179 beforeSend : function() { 180 181 }, 182 success : function(msg) { 183 art.dialog.tips(msg.info); 184 185 if ( msg.state== 1) { 186 sms_sended_time = 60; 187 hide_sms_btn(); 188 } 189 190 } 191 }); 192 } 193} 194 195function send_code(){ 196 var reg_mobile = /(^1[3|4|5|6|7|8|9][0-9]{9}$)/; 197 var number = $('#number').val(); 198 if(number == 1){ 199 var mobile = $("#mobile").val(); 200 }else{ 201 var mobile = $("input[name='mobile']:checked").val(); 202 } 203 if ( !mobile ) { 204 art.dialog.tips('è¯·éæ©ææºå·ï¼'); 205 return false; 206 } 207 else if ( !reg_mobile.test( mobile )) { 208 art.dialog.tips('ææºå·æ ¼å¼é误ï¼'); 209 return false; 210 } 211 212 if ( !sms_sended_time ) { 213 $.ajax({
214 url : '/dba/account/send_sms_code_yzm?type=1', 215 data : { 216 mobile: mobile, 217 }, 218 type : 'post', 219 dataType : 'JSON', 220 beforeSend : function() { 221 222 }, 223 success : function(msg) { 224 art.dialog.tips(msg.info); 225 if ( msg.state== 1) { 226 sms_sended_time = 60; 227 hide_sms_btn(); 228 } 229 230 } 231 }); 232 } 233} 234 235var check_timer; 236function hide_sms_btn(){ 237 if (sms_sended_time > 0) { 238 sms_sended_time -= 1; 239 $('#sms_btn').hide(); 240 $("#sms_another_second").show(); 241 $("#sms_another_second").html(sms_sended_time+'ç§åè·å'); 242 check_timer = setTimeout(hide_sms_btn , 1000); 243 }else{ 244 $("#sms_another_second").hide(); 245 $("#sms_btn").show(); 246 } 247} 248 249 250// åéé®ä»¶ 251function send_email() 252{ 253 var reg_email = /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i; 254 if ( !$("#email").val() ) { 255 art.dialog.tips('请å å¡«åé®ç®±ï¼'); 256 257 return false; 258 } 259 else if ( !reg_email.test( $("#email").val() )) { 260 art.dialog.tips("è¯·å¡«åæ£ç¡®çé®ç®±ï¼"); 261 return false; 262 } 263 264 if ( !sms_sended_time ) { 265 $.ajax({
266 url : '/dba/user/send_email_code_yzm', 267 data : { 268 email: $("#email").val(), 269 yzm_code:$('#yzm_code').val() 270 }, 271 type : 'post', 272 dataType : 'JSON', 273 beforeSend : function() { 274 275 }, 276 success : function(msg) { 277 art.dialog.tips(msg.info); 278 if ( msg.state== 1) { 279 sms_sended_time = 60; 280 hide_sms_btn(); 281 } 282 283 } 284 }); 285 } 286} 287 288function send_sms2(type,id) 289{ 290 var reg_mobile = /(^1[3|4|5|6|7|8|9][0-9]{9}$)/; 291 if ( !$("#mobile").val() ) { 292 $('#'+id).html('请å å¡«åææºå·ï¼'); 293 294 return false; 295 } 296 else if ( !reg_mobile.test( $("#mobile").val() )) { 297 $('#'+id).html('è¯·å¡«åæ£ç¡®çææºå·ï¼'); 298 return false; 299 } 300 301 if(!$("#verify").val() && $('#login_type').val() == 'login' ){ 302 $('#'+id).html('请填åå¾å½¢éªè¯ç ï¼'); 303 return false; 304 } 305 306 if ( !sms_sended_time ) { 307 $.ajax({
308 url : '/dba/account/send_sms_code_yzm?type='+type, 309 data : { 310 mobile: $("#mobile").val(), 311 yzm_code:$('#yzm_code').val(), 312 verify:$('#verify').val(), 313 login_type:$('#login_type').val(), 314 }, 315 type : 'post', 316 dataType : 'JSON', 317 beforeSend : function() { 318 319 }, 320 success : function(msg) { 321 $('#'+id).html(msg.info); 322 323 324 325 if ( msg.state== 1) { 326 sms_sended_time = 60; 327 hide_sms_btn(); 328 } 329 330 } 331 }); 332 } 333} 334function getNowFormatDate() { 335 var date = new Date(); 336 var seperator1 = "-"; 337 var seperator2 = ":"; 338 var month = date.getMonth() + 1; 339 var strDate = date.getDate(); 340 if (month >= 1 && month <= 9) { 341 month = "0" + month; 342 } 343 if (strDate >= 0 && strDate <= 9) { 344 strDate = "0" + strDate; 345 } 346 var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate 347 + " " + date.getHours() + seperator2 + date.getMinutes() 348 + seperator2 + date.getSeconds(); 349 return currentdate; 350} 351 352 353//åè稿 354function draftSave(type){ 355 $('#draft_do_user_info').val(1); 356 $('#draft_do_user_agent').val(1); 357 $('#draft_do_user_emergency').val(1); 358 $('#draft_do_user_work').val(1); 359 $('#draft_do_user_work_other').val(1); 360 $('#draft_do_user_edu').val(1); 361 $('#draft_do_user_tjr').val(1); 362 $('#draft_do_user_channel').val(1); 363 $('#draft_do_user_file').val(1); 364 $('#draft_do_user_state').val(1); 365 pub_ajax_submit($('#do_user_info'),"do_user_info"); 366 pub_ajax_submit($('#do_user_agent'),"do_user_agent"); 367 pub_ajax_submit($('#do_user_emergency'),"do_user_emergency"); 368 pub_ajax_submit($('#do_user_work'),"do_user_work"); 369 pub_ajax_submit($('#do_user_work_other'),"do_user_work_other"); 370 pub_ajax_submit($('#do_user_edu'),"do_user_edu"); 371 pub_ajax_submit($('#do_user_tjr'),"do_user_tjr"); 372 pub_ajax_submit($('#do_user_channel'),"do_user_channel"); 373 pub_ajax_submit($('#do_user_file'),"do_user_file"); 374 pub_ajax_submit($('#do_user_state'),"do_user_state"); 375 if(type===1){ 376 $.toptip('ä¿åæå', 'success'); 377 }else{ 378 $.toptip('å·²èªå¨ä¿åï¼'+getNowFormatDate(), 'success'); 379 } 380 381} 382 383 384//è·å¾ä¿¡æ¯ 385function getTmpInfo(orderid,saleid,check_mdqq){ 386 $.ajax({
387 url : '/dba_mobile/guide/getTmpInfo', 388 data : { 389 orderid:orderid, 390 check_mdqq:check_mdqq, 391 saleid:saleid 392 }, 393 type : 'post', 394 dataType : 'JSON', 395 beforeSend : function() { 396 }, 397 success : function(msg) { 398 399 $('#template').html(msg.data); 400 401 } 402 }); 403} 404 405 406//ç¼è¾ä¿¡æ¯ 407function getTmpInfoEdit(orderid,saleid,check_mdqq){ 408 $.ajax({ 409 url : '/dba_mobile/guide/getTmpInfoEdit', 410 data : { 411 orderid:orderid, 412 check_mdqq:check_mdqq, 413 saleid:saleid 414 }, 415 type : 'post', 416 dataType : 'JSON', 417 beforeSend : function() { 418 }, 419 success : function(msg) { 420 $('#templateEdit').html(msg.data); 421 422 } 423 }); 424} 425 426 427 428//å¢å ãç¼è¾æ´å¤ä¿¡æ¯ 429function moreEdit(type,id,orderid,saleid){ 430 $.ajax({ 431 url : '/dba_mobile/guide/moreEdit', 432 data : { 433 type:type,id:id,orderid:orderid,saleid:saleid 434 }, 435 type : 'post', 436 dataType : 'JSON', 437 beforeSend : function() { 438 439 }, 440 success : function(msg) { 441 442 443 $('#'+type).html(msg.data); 444 445 } 446 }); 447} 448 449//å 餿´å¤ä¿¡æ¯ 450function moreDel(type,id,orderid,saleid){ 451 $.confirm({ 452 title: 'ç¡®å®è¦å é¤åï¼', 453 onOK: function () { 454 $.ajax({
455 url : '/dba_mobile/guide/moreDel', 456 data : { 457 type:type,id:id 458 }, 459 type : 'post', 460 dataType : 'JSON', 461 beforeSend : function() { 462 463 }, 464 success : function(msg) { 465 $.toast("å 餿å"); 466 getTmpInfo(orderid,saleid); 467 468 } 469 }); 470 }, 471 onCancel: function () { 472 } 473 }); 474} 475 476 477//å é¤è¯¾ç¨ 478function courseDel(id){ 479 $.confirm({ 480 title: 'æ®å¿æç»ï¼', 481 // text: 'å å®¹ææ¡', 482 onOK: function () { 483 location.href='/dba/user/course_del/'+id; 484 485 }, 486 onCancel: function () { 487 } 488 }); 489} 490 491//éåº 492function logout(){ 493 $.confirm({ 494 title: '确认è¦éåºç»å½åï¼', 495 // text: 'å å®¹ææ¡', 496 onOK: function () { 497 location.href='/dba/user/logout'; 498 499 }, 500 onCancel: function () { 501 } 502 }); 503} 504 505 506//éåº 507function crmout(){ 508 $.confirm({ 509 title: '确认è¦éåºç»å½åï¼', 510 // text: 'å å®¹ææ¡', 511 onOK: function () { 512 location.href='/crm/user/logout'; 513 514 }, 515 onCancel: function () { 516 } 517 }); 518} 519//æ¶æ¯å è½½æ´å¤ 520var msgPage = 2; 521function msgMore(){ 522 $.ajax({
523 url : '/dba_mobile/user/msgmore', 524 data : { 525 page:msgPage 526 }, 527 type : 'post', 528 dataType : 'JSON', 529 beforeSend : function() { 530 531 }, 532 success : function(msg) { 533 msgPage++; 534 $('#msghtml').append(msg.data); 535 if(msg.state == 0){ 536 $('.weui_btn').hide(); 537 } 538 539 } 540 }); 541} 542 543 544function sleepSub(){ 545 if($('#do_user_info_state').val()==1&&$('#do_user_agent_state').val()==1&&$('#do_user_work_state').val()==1&&$('#do_user_edu_state').val()==1&&$('#do_user_tjr_state').val()==1&&$('#do_user_file_state').val()==1){ 546 $('#do_user_save').submit() ; 547 }else{ 548 if($('#do_user_info_state').val()==0){ 549 art.dialog.tips('请ä¿åç³è¯·äººä¿¡æ¯'); 550 location.href="#user"; 551 }else if($('#do_user_agent_state').val()==0){ 552 art.dialog.tips('请ä¿å代ç人信æ¯'); 553 location.href="#agent"; 554 }else if($('#do_user_work_state').val()==0){ 555 art.dialog.tips('请ä¿åå·¥ä½èæ¯'); 556 location.href="#work"; 557 }else if($('#do_user_edu_state').val()==0){ 558 art.dialog.tips('请ä¿åå¦åç¶åµ'); 559 location.href="#edu"; 560 }else if($('#do_user_tjr_state').val()==0){ 561 art.dialog.tips('请ä¿åæ¨è人'); 562 location.href="#tjr"; 563 }else if($('#do_user_file_state').val()==0){ 564 art.dialog.tips('请ä¿åéä»¶ä¸ä¼ '); 565 location.href="#file"; 566 } 567 } 568} 569 570 571 572 573//éªè¯å¿ å¡« 574function check_require(_class,required){ //alert(name); 575 if(required==1){ 576 var str =''; 577 $("."+_class).each(function(){ 578 if($(this).is(':checked')) { 579 str+=$(this).val(); 580 } 581 }) 582 if(str){ 583 $("."+_class).each(function(){ 584 $(this).removeAttr('required'); 585 }) 586 }else{ 587 $("."+_class).each(function(){ 588 $(this).attr('required','required'); 589 }) 590 591 } 592 } 593 594 595} 596 597 598//æé 599function confirms(title,url){ 600 $.confirm({ 601 title: title, 602 // text: 'å å®¹ææ¡', 603 onOK: function () { 604 location.href=url; 605 606 }, 607 onCancel: function () { 608 } 609 }); 610} 611 612//åéé请 613function sendUrl(id){ 614 $.confirm({ 615 title: 'ç¡®å®è¦åéé请åï¼', 616 // text: 'å å®¹ææ¡', 617 onOK: function () { 618 $.ajax({
619 url : '/crm/user/invitation_send/'+id, 620 data : { 621 622 }, 623 type : 'post', 624 dataType : 'JSON', 625 beforeSend : function() { 626 627 }, 628 success : function(msg) { 629 art.dialog.tips(msg.info); 630 if(msg.state == 1){ 631 window.location.reload(); 632 } 633 634 } 635 }); 636 637 }, 638 onCancel: function () { 639 } 640 }); 641 642 643} 644 645//PC端ç³è¯· 646function pcApply(orderid){ 647 $.ajax({ 648 url : '/dba/user/pcApply/'+orderid, 649 data : { 650 }, 651 type : 'post', 652 dataType : 'JSON', 653 success : function(msg) { 654 655 656 } 657 }); 658} 659 660//è¿å ¥ä¸ªäººä¸å¿ 661function doUser(){ 662 $.ajax({ 663 url : '/dba/user/pcApply/', 664 dataType : 'JSON', 665 data : { 666 }, 667 type : 'post', 668 success : function(msg) { 669 location.href=msg.data; 670 671 } 672 }); 673 674} 675 676 677 678//æ£æµéé¢ 679function check_money(my_money,course_money){ 680 if(my_money>
680course_money){ 681 alert('è¾å ¥éé¢ä¸å¯å¤§äºè¯¾ç¨éé¢'); 682 }else{ 683 if(my_money>0){ 684 var zhekou = my_money/course_money*10; 685 zhekou = parseFloat(zhekou.toFixed(2)); 686 if(my_money==course_money){ 687 $('#zhekou').html('å ¨ä»·'); 688 }else{ 689 $('#zhekou').html('ææ£:'+zhekou+'æ'); 690 } 691 }else{ 692 //alert('请è¾å ¥ç¼´è´¹éé¢'); 693 $('#zhekou').html('æ ææ£'); 694 } 695 696 697 } 698} 699 700function check_money_save33(t,msg,url){ 701 702 var money = $('#money').val(); 703 if(money>0){ 704 var discount_remark = $.trim($('#discount_remark').val()); 705 if(discount_remark==''){ 706 art.dialog.tips('ææ£å¤æ³¨ä¸è½ä¸ºç©º'); 707 }else{ 708 $.confirm({ 709 title: msg, 710 // text: 'å å®¹ææ¡', 711 onOK: function () { 712 $.ajax({ 713 type:'post', 714 url:url, 715 dataType:'json', 716 data:{discount_remark:discount_remark}, 717 success:function(r){ 718 art.dialog.tips(r.info); 719 if(r.state == 1){ 720 $('#mymoney').html(money+"å "+r.data); 721 } 722 } 723 }); 724 }, 725 onCancel: function () { 726 } 727 }); 728 } 729 730 731 }else{ 732 art.dialog.tips('请è¾å ¥ç¼´è´¹éé¢2'); 733 } 734 735} 736 737 738//æ¥è¡¨æç´¢ 739function selectReport(){ 740 var courseid = $('#courseid').val(); 741 var adminid = $('#adminid').val(); 742 location.href="/crm?courseid="+courseid+"&adminid="+adminid 743} 744 745//æ¥è¡¨è¯¦æ æç´¢ 746function selectCount(url){ 747 var courseid = $('#courseid').val(); 748 var adminid = $('#adminid').val(); 749 var yearid = $('#yearid').val(); 750 var jiduid = $('#jiduid').val(); 751 var monthid = $('#monthid').val(); 752 location.href=url+"?courseid="+courseid+"&adminid="+adminid+"&yearid="+yearid+"&jiduid="+jiduid+"&monthid="+monthid 753} 754 755 756//ä¸é®æäº¤ 757var check_done = 1; 758function checkSub(){ 759 760 // alert('success'); 761 762 $('#draft_do_user_info').val(2); 763 $('#draft_do_user_agent').val(2); 764 $('#draft_do_user_work').val(2); 765 $('#draft_do_user_edu').val(2); 766 $('#draft_do_user_tjr').val(2); 767 $('#draft_do_user_channel').val(2); 768 $('#draft_do_user_file').val(2); 769 var form_length = $(".myform").length; 770 for(var i=0;i<form_length;i++){ 771 772 id = $(".myform").eq(i).attr('id'); 773 774 $($('#'+id)).ajaxSubmit({ 775 dataType:'json', 776 async:false, 777 success: function(msg){ 778 779 if(msg.state==0){ 780 $('#'+id+'_i').attr('class','error'); 781 art.dialog.tips(msg.info); 782 location.href="#"+msg.data; 783 check_done = 0; 784 }else{ 785 $('#'+id+'_i').attr('class','ok'); 786 check_done = 1; 787 if(id=='do_user_save'){ 788 789 art.dialog.tips(msg.info); 790 setTimeout('location.href="'+msg.data+'"',600); 791 } 792 } 793 794 }, 795 796 797 }) 798 if(check_done==0){ 799 break; 800 } 801 } 802} 803//èªå¨ä¿å 804// function mobile_draftSave(type){ 805// $('#draft_do_user_info').val(1); 806// $('#draft_do_user_agent').val(1); 807// $('#draft_do_user_work').val(1); 808// $('#draft_do_user_work_other').val(1); 809// $('#draft_do_user_edu').val(1); 810// $('#draft_do_user_tjr').val(1); 811// $('#draft_do_user_channel').val(1); 812// $('#draft_do_user_file').val(1); 813// pub_ajax_submit($('#do_user_info'),"do_user_info"); 814// pub_ajax_submit($('#do_user_agent'),"do_user_agent"); 815// pub_ajax_submit($('#do_user_work'),"do_user_work"); 816// pub_ajax_submit($('#do_user_work_other'),"do_user_work_other"); 817// pub_ajax_submit($('#do_user_edu'),"do_user_edu"); 818// pub_ajax_submit($('#do_user_tjr'),"do_user_tjr"); 819// pub_ajax_submit($('#do_user_channel'),"do_user_channel"); 820// pub_ajax_submit($('#do_user_file'),"do_user_file"); 821// 822// 823// } 824 825 826//æäº¤çº¿ä¸ç¼´è´¹ 827function pay(id){ 828 var type = $("input[name='b']:checked").val(); 829 if(type){ 830 $.ajax({
831 url : '/dba/user/paytype/'+id+'/'+type, 832 type : 'post', 833 dataType : 'JSON', 834 beforeSend : function() { 835 }, 836 success : function(msg) { 837 838 } 839 }); 840 } 841 842}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.