正在显示
10 个修改的文件
包含
155 行增加
和
217 行删除
| @@ -426,9 +426,9 @@ | @@ -426,9 +426,9 @@ | ||
| 426 | </div> | 426 | </div> |
| 427 | <div class="classManagementRightTitle" id="classManagementRightTitle3"> | 427 | <div class="classManagementRightTitle" id="classManagementRightTitle3"> |
| 428 | <ul class="liveInfoLeft userClassList" id="userClassList3"> | 428 | <ul class="liveInfoLeft userClassList" id="userClassList3"> |
| 429 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">老师</li> | ||
| 430 | - <li class="liveInfoLeftLi">学生</li> | ||
| 431 | - <li class="liveInfoLeftLi">兼课</li> | 429 | + <li class="liveInfoLeftLi liveInfoLeftLiCheck" data="1">老师</li> |
| 430 | + <li class="liveInfoLeftLi" data="8">学生</li> | ||
| 431 | + <li class="liveInfoLeftLi" data="2">兼课</li> | ||
| 432 | </ul> | 432 | </ul> |
| 433 | <div class="liveInfoRight" id="liveInfoRight3"> | 433 | <div class="liveInfoRight" id="liveInfoRight3"> |
| 434 | <input class="liveInfoRightInput" id="liveInfoRightInput3" type="text"> | 434 | <input class="liveInfoRightInput" id="liveInfoRightInput3" type="text"> |
| @@ -515,90 +515,47 @@ | @@ -515,90 +515,47 @@ | ||
| 515 | </div> | 515 | </div> |
| 516 | </div> | 516 | </div> |
| 517 | <div class="classManagementRight" id="classManagementRight5"> | 517 | <div class="classManagementRight" id="classManagementRight5"> |
| 518 | - <div class="addUserBtn" id="addUserBtn"> | ||
| 519 | - <label class="addUserIcon"></label> | ||
| 520 | - <span class="addUserText">添加用户</span> | ||
| 521 | - </div> | ||
| 522 | - <div class="classManagementRightTitle" id="classManagementRightTitle"> | ||
| 523 | - <ul class="liveInfoLeft" id="liveInfoList"> | 518 | + <div class="classManagementRightTitle" id="classManagementRightTitle5"> |
| 519 | + <ul class="liveInfoLeft" id="liveInfoList5"> | ||
| 524 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> | 520 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> |
| 525 | <li class="liveInfoLeftLi">未开始</li> | 521 | <li class="liveInfoLeftLi">未开始</li> |
| 526 | <li class="liveInfoLeftLi">已结束</li> | 522 | <li class="liveInfoLeftLi">已结束</li> |
| 527 | </ul> | 523 | </ul> |
| 528 | - <ul class="liveInfoLeft userClassList" id="userClassList"> | ||
| 529 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">老师</li> | ||
| 530 | - <li class="liveInfoLeftLi">学生</li> | ||
| 531 | - <li class="liveInfoLeftLi">兼课</li> | ||
| 532 | - </ul> | ||
| 533 | - <ul class="liveInfoLeft userClassList" id="aboutClassList"> | ||
| 534 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">课程</li> | ||
| 535 | - <li class="liveInfoLeftLi">老师</li> | ||
| 536 | - </ul> | ||
| 537 | - <div class="liveInfoRight" id="liveInfoRight"> | ||
| 538 | - <input class="liveInfoRightInput" id="liveInfoRightInput" type="text"> | ||
| 539 | - <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn" src="images/nav_link_14.png" alt=""> | 524 | + <div class="liveInfoRight" id="liveInfoRight5"> |
| 525 | + <input class="liveInfoRightInput" id="liveInfoRightInput5" type="text"> | ||
| 526 | + <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn5" src="images/nav_link_14.png" alt=""> | ||
| 540 | </div> | 527 | </div> |
| 541 | - <div class="liveInfoCenter" id="liveInfoCenter"> | 528 | + <div class="liveInfoCenter" id="liveInfoCenter5"> |
| 542 | <span class="liveInfoCenterTime">时间</span> | 529 | <span class="liveInfoCenterTime">时间</span> |
| 543 | - <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveStart"></div> | 530 | + <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveStart5"></div> |
| 544 | <span class="liveInfoCenterTime">至</span> | 531 | <span class="liveInfoCenterTime">至</span> |
| 545 | - <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveEnd"></div> | 532 | + <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveEnd5"></div> |
| 546 | </div> | 533 | </div> |
| 547 | </div> | 534 | </div> |
| 548 | - <div class="classManagementRightContent" id="courseContent"> | ||
| 549 | - <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" id="t_box" class="t_box"> | ||
| 550 | - <tbody> | ||
| 551 | - <tr align="center" height="44" class="tr_center" bgcolor="#fff" bordercolor="#e6e6e6"> | ||
| 552 | - <th width="9%" class="tr_center"> | ||
| 553 | - 课堂主题 | ||
| 554 | - </th> | ||
| 555 | - <th width="8%" class="tr_center"> | ||
| 556 | - 课堂号 | ||
| 557 | - </th> | ||
| 558 | - <th width="8%" class="tr_center"> | ||
| 559 | - 老师 | ||
| 560 | - </th> | ||
| 561 | - <th width="6%" class="tr_center"> | ||
| 562 | - 课堂状态 | ||
| 563 | - </th> | ||
| 564 | - <th width="24%" class="tr_center"> | ||
| 565 | - 课堂时间 | ||
| 566 | - </th> | ||
| 567 | - <th width="6%" class="tr_center"> | ||
| 568 | - 在线人数 | ||
| 569 | - </th> | ||
| 570 | - <th width="22%" class="tr_center"> | ||
| 571 | - 操作 | ||
| 572 | - </th> | ||
| 573 | - </tr> | ||
| 574 | - </tbody> | ||
| 575 | - </table> | ||
| 576 | - | ||
| 577 | - </div> | ||
| 578 | - <div class="classHandlerPageBox" id="classHandlerPageBox"> | 535 | + <div class="classHandlerPageBox" id="classHandlerPageBox5"> |
| 579 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> | 536 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
| 580 | <tbody> | 537 | <tbody> |
| 581 | <tr> | 538 | <tr> |
| 582 | <td height="60" colspan="11" class="tr_bottom" style=""> | 539 | <td height="60" colspan="11" class="tr_bottom" style=""> |
| 583 | - <span class="classHandlerPageMsg" id="classHandlerPageMsg" style="line-height: 38px; padding-left: 20px; float: left">第1页/共2页,有16个记录</span> | 540 | + <span class="classHandlerPageMsg" id="classHandlerPageMsg5" style="line-height: 38px; padding-left: 20px; float: left">第1页/共2页,有16个记录</span> |
| 584 | <ul class="classHandlerPageInfoBox"> | 541 | <ul class="classHandlerPageInfoBox"> |
| 585 | <li class="classHandlerPageInfo"> | 542 | <li class="classHandlerPageInfo"> |
| 586 | - <span class="classHandlerHomePage" id="classHandlerHomePage">首页</span> | 543 | + <span class="classHandlerHomePage" id="classHandlerHomePage5">首页</span> |
| 587 | </li> | 544 | </li> |
| 588 | <li class="classHandlerPageInfo"> | 545 | <li class="classHandlerPageInfo"> |
| 589 | - <span class="classHandlerUpPage" id="classHandlerUpPage">上一页</span> | 546 | + <span class="classHandlerUpPage" id="classHandlerUpPage5">上一页</span> |
| 590 | </li> | 547 | </li> |
| 591 | <li class="classHandlerPageInfo"> | 548 | <li class="classHandlerPageInfo"> |
| 592 | - <span class="classHandlerDownPage" id="classHandlerDownPage">下一页</span> | 549 | + <span class="classHandlerDownPage" id="classHandlerDownPage5">下一页</span> |
| 593 | </li> | 550 | </li> |
| 594 | <li class="classHandlerPageInfo"> | 551 | <li class="classHandlerPageInfo"> |
| 595 | - <span class="classHandlerEndPage" id="classHandlerEndPage">尾页</span> | 552 | + <span class="classHandlerEndPage" id="classHandlerEndPage5">尾页</span> |
| 596 | </li> | 553 | </li> |
| 597 | <li class="classHandlerPageInfo"> | 554 | <li class="classHandlerPageInfo"> |
| 598 | - <input id="classHandlerPageInfoInput" class="classHandlerPageInfoInput" type="text"> | 555 | + <input id="classHandlerPageInfoInput5" class="classHandlerPageInfoInput" type="text"> |
| 599 | </li> | 556 | </li> |
| 600 | <li class="classHandlerPageInfo classHandlerPageInfoCheck"> | 557 | <li class="classHandlerPageInfo classHandlerPageInfoCheck"> |
| 601 | - <span id="classHandlerSpecificPage">GO</span> | 558 | + <span id="classHandlerSpecificPage5">GO</span> |
| 602 | </li> | 559 | </li> |
| 603 | </ul> | 560 | </ul> |
| 604 | </td> | 561 | </td> |
| @@ -608,90 +565,49 @@ | @@ -608,90 +565,49 @@ | ||
| 608 | </div> | 565 | </div> |
| 609 | </div> | 566 | </div> |
| 610 | <div class="classManagementRight" id="classManagementRight6"> | 567 | <div class="classManagementRight" id="classManagementRight6"> |
| 611 | - <div class="addUserBtn" id="addUserBtn"> | ||
| 612 | - <label class="addUserIcon"></label> | ||
| 613 | - <span class="addUserText">添加用户</span> | ||
| 614 | - </div> | ||
| 615 | - <div class="classManagementRightTitle" id="classManagementRightTitle"> | 568 | + <div class="classManagementRightTitle" id="classManagementRightTitle6"> |
| 616 | <ul class="liveInfoLeft" id="liveInfoList"> | 569 | <ul class="liveInfoLeft" id="liveInfoList"> |
| 617 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> | 570 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> |
| 618 | <li class="liveInfoLeftLi">未开始</li> | 571 | <li class="liveInfoLeftLi">未开始</li> |
| 619 | <li class="liveInfoLeftLi">已结束</li> | 572 | <li class="liveInfoLeftLi">已结束</li> |
| 620 | </ul> | 573 | </ul> |
| 621 | - <ul class="liveInfoLeft userClassList" id="userClassList"> | ||
| 622 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">老师</li> | ||
| 623 | - <li class="liveInfoLeftLi">学生</li> | ||
| 624 | - <li class="liveInfoLeftLi">兼课</li> | ||
| 625 | - </ul> | ||
| 626 | - <ul class="liveInfoLeft userClassList" id="aboutClassList"> | ||
| 627 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">课程</li> | ||
| 628 | - <li class="liveInfoLeftLi">老师</li> | ||
| 629 | - </ul> | ||
| 630 | - <div class="liveInfoRight" id="liveInfoRight"> | ||
| 631 | - <input class="liveInfoRightInput" id="liveInfoRightInput" type="text"> | ||
| 632 | - <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn" src="images/nav_link_14.png" alt=""> | 574 | + <div class="liveInfoRight" id="liveInfoRight6"> |
| 575 | + <input class="liveInfoRightInput" id="liveInfoRightInput6" type="text"> | ||
| 576 | + <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn6" src="images/nav_link_14.png" alt=""> | ||
| 633 | </div> | 577 | </div> |
| 634 | - <div class="liveInfoCenter" id="liveInfoCenter"> | 578 | + <div class="liveInfoCenter" id="liveInfoCenter6"> |
| 635 | <span class="liveInfoCenterTime">时间</span> | 579 | <span class="liveInfoCenterTime">时间</span> |
| 636 | - <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveStart"></div> | 580 | + <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveStart6"></div> |
| 637 | <span class="liveInfoCenterTime">至</span> | 581 | <span class="liveInfoCenterTime">至</span> |
| 638 | - <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveEnd"></div> | 582 | + <div class="liveInfoCenterLiveCase" id="liveInfoCenterLiveEnd6"></div> |
| 639 | </div> | 583 | </div> |
| 640 | </div> | 584 | </div> |
| 641 | - <div class="classManagementRightContent" id="courseContent"> | ||
| 642 | - <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" id="t_box" class="t_box"> | ||
| 643 | - <tbody> | ||
| 644 | - <tr align="center" height="44" class="tr_center" bgcolor="#fff" bordercolor="#e6e6e6"> | ||
| 645 | - <th width="9%" class="tr_center"> | ||
| 646 | - 课堂主题 | ||
| 647 | - </th> | ||
| 648 | - <th width="8%" class="tr_center"> | ||
| 649 | - 课堂号 | ||
| 650 | - </th> | ||
| 651 | - <th width="8%" class="tr_center"> | ||
| 652 | - 老师 | ||
| 653 | - </th> | ||
| 654 | - <th width="6%" class="tr_center"> | ||
| 655 | - 课堂状态 | ||
| 656 | - </th> | ||
| 657 | - <th width="24%" class="tr_center"> | ||
| 658 | - 课堂时间 | ||
| 659 | - </th> | ||
| 660 | - <th width="6%" class="tr_center"> | ||
| 661 | - 在线人数 | ||
| 662 | - </th> | ||
| 663 | - <th width="22%" class="tr_center"> | ||
| 664 | - 操作 | ||
| 665 | - </th> | ||
| 666 | - </tr> | ||
| 667 | - </tbody> | ||
| 668 | - </table> | ||
| 669 | - | 585 | + <div class="classManagementRightContent" id="courseContent6"> |
| 670 | </div> | 586 | </div> |
| 671 | - <div class="classHandlerPageBox" id="classHandlerPageBox"> | 587 | + <div class="classHandlerPageBox" id="classHandlerPageBox6"> |
| 672 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> | 588 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
| 673 | <tbody> | 589 | <tbody> |
| 674 | <tr> | 590 | <tr> |
| 675 | <td height="60" colspan="11" class="tr_bottom" style=""> | 591 | <td height="60" colspan="11" class="tr_bottom" style=""> |
| 676 | - <span class="classHandlerPageMsg" id="classHandlerPageMsg" style="line-height: 38px; padding-left: 20px; float: left">第1页/共2页,有16个记录</span> | 592 | + <span class="classHandlerPageMsg" id="classHandlerPageMsg6" style="line-height: 38px; padding-left: 20px; float: left">第1页/共2页,有16个记录</span> |
| 677 | <ul class="classHandlerPageInfoBox"> | 593 | <ul class="classHandlerPageInfoBox"> |
| 678 | <li class="classHandlerPageInfo"> | 594 | <li class="classHandlerPageInfo"> |
| 679 | - <span class="classHandlerHomePage" id="classHandlerHomePage">首页</span> | 595 | + <span class="classHandlerHomePage" id="classHandlerHomePage6">首页</span> |
| 680 | </li> | 596 | </li> |
| 681 | <li class="classHandlerPageInfo"> | 597 | <li class="classHandlerPageInfo"> |
| 682 | - <span class="classHandlerUpPage" id="classHandlerUpPage">上一页</span> | 598 | + <span class="classHandlerUpPage" id="classHandlerUpPage6">上一页</span> |
| 683 | </li> | 599 | </li> |
| 684 | <li class="classHandlerPageInfo"> | 600 | <li class="classHandlerPageInfo"> |
| 685 | - <span class="classHandlerDownPage" id="classHandlerDownPage">下一页</span> | 601 | + <span class="classHandlerDownPage" id="classHandlerDownPage6">下一页</span> |
| 686 | </li> | 602 | </li> |
| 687 | <li class="classHandlerPageInfo"> | 603 | <li class="classHandlerPageInfo"> |
| 688 | - <span class="classHandlerEndPage" id="classHandlerEndPage">尾页</span> | 604 | + <span class="classHandlerEndPage" id="classHandlerEndPage6">尾页</span> |
| 689 | </li> | 605 | </li> |
| 690 | <li class="classHandlerPageInfo"> | 606 | <li class="classHandlerPageInfo"> |
| 691 | - <input id="classHandlerPageInfoInput" class="classHandlerPageInfoInput" type="text"> | 607 | + <input id="classHandlerPageInfoInput6" class="classHandlerPageInfoInput" type="text"> |
| 692 | </li> | 608 | </li> |
| 693 | <li class="classHandlerPageInfo classHandlerPageInfoCheck"> | 609 | <li class="classHandlerPageInfo classHandlerPageInfoCheck"> |
| 694 | - <span id="classHandlerSpecificPage">GO</span> | 610 | + <span id="classHandlerSpecificPage6">GO</span> |
| 695 | </li> | 611 | </li> |
| 696 | </ul> | 612 | </ul> |
| 697 | </td> | 613 | </td> |
| @@ -701,25 +617,12 @@ | @@ -701,25 +617,12 @@ | ||
| 701 | </div> | 617 | </div> |
| 702 | </div> | 618 | </div> |
| 703 | <div class="classManagementRight" id="classManagementRight7"> | 619 | <div class="classManagementRight" id="classManagementRight7"> |
| 704 | - <div class="addUserBtn" id="addUserBtn"> | ||
| 705 | - <label class="addUserIcon"></label> | ||
| 706 | - <span class="addUserText">添加用户</span> | ||
| 707 | - </div> | ||
| 708 | <div class="classManagementRightTitle" id="classManagementRightTitle"> | 620 | <div class="classManagementRightTitle" id="classManagementRightTitle"> |
| 709 | <ul class="liveInfoLeft" id="liveInfoList"> | 621 | <ul class="liveInfoLeft" id="liveInfoList"> |
| 710 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> | 622 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> |
| 711 | <li class="liveInfoLeftLi">未开始</li> | 623 | <li class="liveInfoLeftLi">未开始</li> |
| 712 | <li class="liveInfoLeftLi">已结束</li> | 624 | <li class="liveInfoLeftLi">已结束</li> |
| 713 | </ul> | 625 | </ul> |
| 714 | - <ul class="liveInfoLeft userClassList" id="userClassList"> | ||
| 715 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">老师</li> | ||
| 716 | - <li class="liveInfoLeftLi">学生</li> | ||
| 717 | - <li class="liveInfoLeftLi">兼课</li> | ||
| 718 | - </ul> | ||
| 719 | - <ul class="liveInfoLeft userClassList" id="aboutClassList"> | ||
| 720 | - <li class="liveInfoLeftLi liveInfoLeftLiCheck">课程</li> | ||
| 721 | - <li class="liveInfoLeftLi">老师</li> | ||
| 722 | - </ul> | ||
| 723 | <div class="liveInfoRight" id="liveInfoRight"> | 626 | <div class="liveInfoRight" id="liveInfoRight"> |
| 724 | <input class="liveInfoRightInput" id="liveInfoRightInput" type="text"> | 627 | <input class="liveInfoRightInput" id="liveInfoRightInput" type="text"> |
| 725 | <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn" src="images/nav_link_14.png" alt=""> | 628 | <img class="liveInfoRightInputBtn" id="liveInfoRightInputBtn" src="images/nav_link_14.png" alt=""> |
| @@ -732,34 +635,6 @@ | @@ -732,34 +635,6 @@ | ||
| 732 | </div> | 635 | </div> |
| 733 | </div> | 636 | </div> |
| 734 | <div class="classManagementRightContent" id="courseContent"> | 637 | <div class="classManagementRightContent" id="courseContent"> |
| 735 | - <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" id="t_box" class="t_box"> | ||
| 736 | - <tbody> | ||
| 737 | - <tr align="center" height="44" class="tr_center" bgcolor="#fff" bordercolor="#e6e6e6"> | ||
| 738 | - <th width="9%" class="tr_center"> | ||
| 739 | - 课堂主题 | ||
| 740 | - </th> | ||
| 741 | - <th width="8%" class="tr_center"> | ||
| 742 | - 课堂号 | ||
| 743 | - </th> | ||
| 744 | - <th width="8%" class="tr_center"> | ||
| 745 | - 老师 | ||
| 746 | - </th> | ||
| 747 | - <th width="6%" class="tr_center"> | ||
| 748 | - 课堂状态 | ||
| 749 | - </th> | ||
| 750 | - <th width="24%" class="tr_center"> | ||
| 751 | - 课堂时间 | ||
| 752 | - </th> | ||
| 753 | - <th width="6%" class="tr_center"> | ||
| 754 | - 在线人数 | ||
| 755 | - </th> | ||
| 756 | - <th width="22%" class="tr_center"> | ||
| 757 | - 操作 | ||
| 758 | - </th> | ||
| 759 | - </tr> | ||
| 760 | - </tbody> | ||
| 761 | - </table> | ||
| 762 | - | ||
| 763 | </div> | 638 | </div> |
| 764 | <div class="classHandlerPageBox" id="classHandlerPageBox"> | 639 | <div class="classHandlerPageBox" id="classHandlerPageBox"> |
| 765 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> | 640 | <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
| @@ -794,10 +669,6 @@ | @@ -794,10 +669,6 @@ | ||
| 794 | </div> | 669 | </div> |
| 795 | </div> | 670 | </div> |
| 796 | <div class="classManagementRight" id="classManagementRight8"> | 671 | <div class="classManagementRight" id="classManagementRight8"> |
| 797 | - <div class="addUserBtn" id="addUserBtn"> | ||
| 798 | - <label class="addUserIcon"></label> | ||
| 799 | - <span class="addUserText">添加用户</span> | ||
| 800 | - </div> | ||
| 801 | <div class="classManagementRightTitle" id="classManagementRightTitle"> | 672 | <div class="classManagementRightTitle" id="classManagementRightTitle"> |
| 802 | <ul class="liveInfoLeft" id="liveInfoList"> | 673 | <ul class="liveInfoLeft" id="liveInfoList"> |
| 803 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> | 674 | <li class="liveInfoLeftLi liveInfoLeftLiCheck">正在直播</li> |
| @@ -957,7 +828,7 @@ | @@ -957,7 +828,7 @@ | ||
| 957 | 分配给: | 828 | 分配给: |
| 958 | </label> | 829 | </label> |
| 959 | <div class="step_page1_widget"> | 830 | <div class="step_page1_widget"> |
| 960 | - <select name="allotSpeaker" id="" class="classThemeInfo classThemeInfoSelect"> | 831 | + <select name="allotSpeaker" id="classTeacherInfo" class="classThemeInfo classThemeInfoSelect"> |
| 961 | <option value=""> | 832 | <option value=""> |
| 962 | 张媛媛 | 833 | 张媛媛 |
| 963 | </option> | 834 | </option> |
| @@ -1814,7 +1685,7 @@ | @@ -1814,7 +1685,7 @@ | ||
| 1814 | <div class=""> | 1685 | <div class=""> |
| 1815 | <select class="createUserRole" name="createUserRole" id="createUserRole"> | 1686 | <select class="createUserRole" name="createUserRole" id="createUserRole"> |
| 1816 | <option value="0">老师</option> | 1687 | <option value="0">老师</option> |
| 1817 | - <option value="1">兼课</option> | 1688 | + <option value="1">监课</option> |
| 1818 | </select> | 1689 | </select> |
| 1819 | </div> | 1690 | </div> |
| 1820 | <div class="removeHandlerBtn"> | 1691 | <div class="removeHandlerBtn"> |
| @@ -1860,11 +1731,11 @@ | @@ -1860,11 +1731,11 @@ | ||
| 1860 | 角色: | 1731 | 角色: |
| 1861 | </label> | 1732 | </label> |
| 1862 | <div class="step_page1_widget"> | 1733 | <div class="step_page1_widget"> |
| 1863 | - <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeacher" value="1" checked="checked"> | 1734 | + <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeacher" value="3" checked="checked"> |
| 1864 | <label for="createUserTeacher" class="publicInfo"> | 1735 | <label for="createUserTeacher" class="publicInfo"> |
| 1865 | 老师 | 1736 | 老师 |
| 1866 | </label> | 1737 | </label> |
| 1867 | - <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeaching" value="0"> | 1738 | + <input class="allowPublic" type="radio" name="createUserTeacher" id="createUserTeaching" value="2"> |
| 1868 | <label for="createUserTeaching" class="publicInfo"> | 1739 | <label for="createUserTeaching" class="publicInfo"> |
| 1869 | 兼课 | 1740 | 兼课 |
| 1870 | </label> | 1741 | </label> |
| @@ -16,8 +16,9 @@ MessageTypes.HOME_SKIP= "home_skip"; //首页跳转 | @@ -16,8 +16,9 @@ MessageTypes.HOME_SKIP= "home_skip"; //首页跳转 | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | //管理员列表 | 18 | //管理员列表 |
| 19 | - | ||
| 20 | MessageTypes.SWITCH_CLASS= "switch_class"; //创建课堂 | 19 | MessageTypes.SWITCH_CLASS= "switch_class"; //创建课堂 |
| 21 | 20 | ||
| 21 | +//创建课堂成功 | ||
| 22 | +MessageTypes.ADD_CLASS= "add_class"; //创建课堂 | ||
| 22 | export default MessageTypes; | 23 | export default MessageTypes; |
| 23 | 24 |
| @@ -42,7 +42,8 @@ class AdministratorApe extends Ape { | @@ -42,7 +42,8 @@ class AdministratorApe extends Ape { | ||
| 42 | if(ind > 1){ | 42 | if(ind > 1){ |
| 43 | $('.classManagementRight').eq(ind-1).show().siblings().hide(); | 43 | $('.classManagementRight').eq(ind-1).show().siblings().hide(); |
| 44 | }else{ | 44 | }else{ |
| 45 | - $('.classManagementRight').eq(ind).show().siblings().hide(); | 45 | + $('#recordUl .recordLi').eq(0).addClass('recordLiCheck').siblings().removeClass('recordLiCheck'); |
| 46 | + $('.classManagementRight').eq(0).show().siblings().hide(); | ||
| 46 | } | 47 | } |
| 47 | } | 48 | } |
| 48 | _dateUI(){ | 49 | _dateUI(){ |
| @@ -95,7 +96,7 @@ class AdministratorApe extends Ape { | @@ -95,7 +96,7 @@ class AdministratorApe extends Ape { | ||
| 95 | //设置弹框位置 方法 | 96 | //设置弹框位置 方法 |
| 96 | _setMarginTopHandler(_data){ | 97 | _setMarginTopHandler(_data){ |
| 97 | let clienth = document.documentElement.clientHeight || document.body.clientHeight | 98 | let clienth = document.documentElement.clientHeight || document.body.clientHeight |
| 98 | - _data.css('margin-top',(clienth - parseInt(_data.height()))/2) | 99 | + _data.css('margin-top',Math.abs((clienth - parseInt(_data.height()))/2)) |
| 99 | } | 100 | } |
| 100 | } | 101 | } |
| 101 | export default AdministratorApe; | 102 | export default AdministratorApe; |
| @@ -15,14 +15,14 @@ class CreateClassApe extends Ape { | @@ -15,14 +15,14 @@ class CreateClassApe extends Ape { | ||
| 15 | constructor() { | 15 | constructor() { |
| 16 | super(); | 16 | super(); |
| 17 | this.classDateList = {};//创建课堂信息 | 17 | this.classDateList = {};//创建课堂信息 |
| 18 | + this.teacherArr = []; | ||
| 18 | this.isLocalStorage(); | 19 | this.isLocalStorage(); |
| 20 | + this.allotSpeaker(); | ||
| 19 | this.addEvent(); | 21 | this.addEvent(); |
| 20 | this.init(); | 22 | this.init(); |
| 21 | } | 23 | } |
| 22 | 24 | ||
| 23 | init() { | 25 | init() { |
| 24 | - //判断列表在右侧时取消边距 | ||
| 25 | - this._judgeListPlace(); | ||
| 26 | $('#collectYes').hide(); | 26 | $('#collectYes').hide(); |
| 27 | //默认显示当前时间戳 | 27 | //默认显示当前时间戳 |
| 28 | this._showPresentTime(); | 28 | this._showPresentTime(); |
| @@ -40,6 +40,7 @@ class CreateClassApe extends Ape { | @@ -40,6 +40,7 @@ class CreateClassApe extends Ape { | ||
| 40 | 40 | ||
| 41 | //日历插件 | 41 | //日历插件 |
| 42 | this._dateUI(); | 42 | this._dateUI(); |
| 43 | + | ||
| 43 | } | 44 | } |
| 44 | 45 | ||
| 45 | addEvent() { | 46 | addEvent() { |
| @@ -61,11 +62,6 @@ class CreateClassApe extends Ape { | @@ -61,11 +62,6 @@ class CreateClassApe extends Ape { | ||
| 61 | $("#meeting_starthour").find("option[value = '"+hours+"']").attr("selected","selected"); | 62 | $("#meeting_starthour").find("option[value = '"+hours+"']").attr("selected","selected"); |
| 62 | $('#meeting_endhour').find("option[value = '"+ (hours + 2) +"']").attr("selected","selected"); | 63 | $('#meeting_endhour').find("option[value = '"+ (hours + 2) +"']").attr("selected","selected"); |
| 63 | } | 64 | } |
| 64 | - _judgeListPlace(){ | ||
| 65 | - let i=(i%4); | ||
| 66 | - $('#classifyListContent').find('.classifyList').eq(i==3).addClass('classifyListR'); | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | _createClassBtnHandler(){ | 65 | _createClassBtnHandler(){ |
| 70 | $('#createClassBox').show(); | 66 | $('#createClassBox').show(); |
| 71 | $('#scheduleForm1').show(); | 67 | $('#scheduleForm1').show(); |
| @@ -79,31 +75,40 @@ class CreateClassApe extends Ape { | @@ -79,31 +75,40 @@ class CreateClassApe extends Ape { | ||
| 79 | //获取第一步中老师列表 | 75 | //获取第一步中老师列表 |
| 80 | allotSpeaker(){ | 76 | allotSpeaker(){ |
| 81 | let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/users/getUser'; | 77 | let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/users/getUser'; |
| 82 | - loger.log(ClassDataProxy.siteId,'获取第一步中老师列表') | ||
| 83 | - let dateList = { | ||
| 84 | - siteId : ClassDataProxy.siteId | ||
| 85 | - // userType : 1 | ||
| 86 | - } | ||
| 87 | let that = this; | 78 | let that = this; |
| 79 | + let dataInfo = { | ||
| 80 | + siteId : ClassDataProxy.siteId, | ||
| 81 | + userType : 1 | ||
| 82 | + } | ||
| 88 | $.ajax({ | 83 | $.ajax({ |
| 89 | - type : "POST", | ||
| 90 | - url : _url, | ||
| 91 | - data : dateList, | 84 | + type: "POST", |
| 85 | + url: _url, | ||
| 92 | timeout:5000, | 86 | timeout:5000, |
| 93 | - headers: {'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | 87 | + data:dataInfo, |
| 88 | + headers: {siteId:ClassDataProxy.siteId, | ||
| 89 | + pageno:7, | ||
| 90 | + 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | ||
| 94 | success:function(_data){ | 91 | success:function(_data){ |
| 95 | //获取课堂数据 | 92 | //获取课堂数据 |
| 96 | - loger.log(_data,'获取第一步中老师列表') | ||
| 97 | - if(_data || _data.code == 0){ | ||
| 98 | - | ||
| 99 | - // that._enterClass(_data.returnData.data); | 93 | + if(_data && _data.code == 200){ |
| 94 | + that.teacherInfo(_data.returnData.data.users); | ||
| 100 | } | 95 | } |
| 101 | }, | 96 | }, |
| 102 | error:function(error){ | 97 | error:function(error){ |
| 103 | - console.log(error,'失败') | 98 | + //alert('直播数据获取失败') |
| 99 | + loger.log(error,'直播数据获取失败') | ||
| 104 | } | 100 | } |
| 105 | }) | 101 | }) |
| 106 | } | 102 | } |
| 103 | + teacherInfo(_data){ | ||
| 104 | + let classTeacherInfo = $('#classTeacherInfo'); | ||
| 105 | + classTeacherInfo.empty(); | ||
| 106 | + let option = ``; | ||
| 107 | + for(let i = 0;i<_data.length;i++){ | ||
| 108 | + option += `<option value="${_data[i].loginName}">${_data[i].loginName}</option>`; | ||
| 109 | + } | ||
| 110 | + classTeacherInfo.append(option); | ||
| 111 | + } | ||
| 107 | _closeClassHandler(){ | 112 | _closeClassHandler(){ |
| 108 | $('#createClassBox').hide(); | 113 | $('#createClassBox').hide(); |
| 109 | this._closeCreateClass(); | 114 | this._closeCreateClass(); |
| @@ -117,6 +122,9 @@ class CreateClassApe extends Ape { | @@ -117,6 +122,9 @@ class CreateClassApe extends Ape { | ||
| 117 | let h5Module = $("input[name='h5Module']:checked").val();//是否支持H5 | 122 | let h5Module = $("input[name='h5Module']:checked").val();//是否支持H5 |
| 118 | let partcKey = $('#partcKey').val(); //课堂密码 | 123 | let partcKey = $('#partcKey').val(); //课堂密码 |
| 119 | let meetingContent = $("meeting_content").val();//课堂描述 | 124 | let meetingContent = $("meeting_content").val();//课堂描述 |
| 125 | + | ||
| 126 | + let classTeacherInfo = $('#classTeacherInfo').val(); | ||
| 127 | + | ||
| 120 | if( meetingName.val().length < 1 || meetingName.val().length>32 ){ | 128 | if( meetingName.val().length < 1 || meetingName.val().length>32 ){ |
| 121 | meetingName.focus(); | 129 | meetingName.focus(); |
| 122 | return false; | 130 | return false; |
| @@ -133,7 +141,8 @@ class CreateClassApe extends Ape { | @@ -133,7 +141,8 @@ class CreateClassApe extends Ape { | ||
| 133 | "meetingType":meetingType, | 141 | "meetingType":meetingType, |
| 134 | "h5Module":h5Module, | 142 | "h5Module":h5Module, |
| 135 | "partcKey":'', | 143 | "partcKey":'', |
| 136 | - "meetingContent":meetingContent | 144 | + "meetingContent":meetingContent, |
| 145 | + "userName":classTeacherInfo | ||
| 137 | } | 146 | } |
| 138 | this.classDateList = dateList; | 147 | this.classDateList = dateList; |
| 139 | $('#scheduleForm1').hide(); | 148 | $('#scheduleForm1').hide(); |
| @@ -254,6 +263,7 @@ class CreateClassApe extends Ape { | @@ -254,6 +263,7 @@ class CreateClassApe extends Ape { | ||
| 254 | success:function(_data){ | 263 | success:function(_data){ |
| 255 | //获取课堂数据 | 264 | //获取课堂数据 |
| 256 | if(_data && _data.code == 0){ | 265 | if(_data && _data.code == 0){ |
| 266 | + loger.log('创建课堂成功',_data) | ||
| 257 | that._enterClass(_data.returnData.data); | 267 | that._enterClass(_data.returnData.data); |
| 258 | } | 268 | } |
| 259 | }, | 269 | }, |
| @@ -264,6 +274,7 @@ class CreateClassApe extends Ape { | @@ -264,6 +274,7 @@ class CreateClassApe extends Ape { | ||
| 264 | } | 274 | } |
| 265 | _enterClass(_data){ | 275 | _enterClass(_data){ |
| 266 | window.open(_data.meetingUrl); | 276 | window.open(_data.meetingUrl); |
| 277 | + that._emit(MessageTypes.ADD_CLASS); | ||
| 267 | } | 278 | } |
| 268 | //清空创建课堂数据 | 279 | //清空创建课堂数据 |
| 269 | _closeCreateClass(){ | 280 | _closeCreateClass(){ |
| @@ -72,7 +72,6 @@ class CreateUserApe extends Ape { | @@ -72,7 +72,6 @@ class CreateUserApe extends Ape { | ||
| 72 | $('#classHandlerEndPage3').on('click',this._endPageHandler.bind(this));//尾页 | 72 | $('#classHandlerEndPage3').on('click',this._endPageHandler.bind(this));//尾页 |
| 73 | $('#classHandlerSpecificPage3').on('click',this._assignPageHandler.bind(this));//指定页 | 73 | $('#classHandlerSpecificPage3').on('click',this._assignPageHandler.bind(this));//指定页 |
| 74 | 74 | ||
| 75 | - | ||
| 76 | } | 75 | } |
| 77 | 76 | ||
| 78 | addEvent() { | 77 | addEvent() { |
| @@ -84,6 +83,7 @@ class CreateUserApe extends Ape { | @@ -84,6 +83,7 @@ class CreateUserApe extends Ape { | ||
| 84 | } | 83 | } |
| 85 | _userClassListHandler(evt){ | 84 | _userClassListHandler(evt){ |
| 86 | this._switchover(evt); | 85 | this._switchover(evt); |
| 86 | + this.userAdminHandler(1); | ||
| 87 | } | 87 | } |
| 88 | //首页 | 88 | //首页 |
| 89 | _homePageHandler(){ | 89 | _homePageHandler(){ |
| @@ -122,20 +122,24 @@ class CreateUserApe extends Ape { | @@ -122,20 +122,24 @@ class CreateUserApe extends Ape { | ||
| 122 | 122 | ||
| 123 | let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/users/getUser'; | 123 | let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProt + '/users/getUser'; |
| 124 | let that = this; | 124 | let that = this; |
| 125 | + let data = $('#userClassList3').find('.liveInfoLeftLiCheck').attr('data'); | ||
| 126 | + let dataInfo = { | ||
| 127 | + siteId : ClassDataProxy.siteId, | ||
| 128 | + userType : data | ||
| 129 | + } | ||
| 125 | $.ajax({ | 130 | $.ajax({ |
| 126 | type: "POST", | 131 | type: "POST", |
| 127 | url: _url, | 132 | url: _url, |
| 128 | timeout:5000, | 133 | timeout:5000, |
| 129 | - data:{siteId:ClassDataProxy.siteId,userType:ClassDataProxy.USER_TYPE_1}, | 134 | + data:dataInfo, |
| 130 | headers: {siteId:ClassDataProxy.siteId, | 135 | headers: {siteId:ClassDataProxy.siteId, |
| 131 | pageno:7, | 136 | pageno:7, |
| 132 | 'page':ind, | 137 | 'page':ind, |
| 133 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | 138 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, |
| 134 | success:function(_data){ | 139 | success:function(_data){ |
| 135 | - loger.log(_data,'创建用户界面用户列表数据') | ||
| 136 | - loger.log(ClassDataProxy.USER_TYPE_1,'创建用户界面用户列表数据') | ||
| 137 | //获取课堂数据 | 140 | //获取课堂数据 |
| 138 | if(_data && _data.code == 200){ | 141 | if(_data && _data.code == 200){ |
| 142 | + //loger.log(_data,'创建用户界面用户列表数据') | ||
| 139 | that._gainUserClassData(_data.returnData.data); | 143 | that._gainUserClassData(_data.returnData.data); |
| 140 | } | 144 | } |
| 141 | }, | 145 | }, |
| @@ -155,6 +159,7 @@ class CreateUserApe extends Ape { | @@ -155,6 +159,7 @@ class CreateUserApe extends Ape { | ||
| 155 | this.pageNo = pageno; | 159 | this.pageNo = pageno; |
| 156 | $('#classHandlerPageMsg3').html('第'+page+'页/共'+pageno+'页,有'+count+'个记录'); | 160 | $('#classHandlerPageMsg3').html('第'+page+'页/共'+pageno+'页,有'+count+'个记录'); |
| 157 | courseContent.append(adminListTit); | 161 | courseContent.append(adminListTit); |
| 162 | + | ||
| 158 | if(_dataList){ | 163 | if(_dataList){ |
| 159 | if(count <= 7){ | 164 | if(count <= 7){ |
| 160 | $('#classHandlerPageBox3').hide(); | 165 | $('#classHandlerPageBox3').hide(); |
| @@ -242,6 +247,7 @@ class CreateUserApe extends Ape { | @@ -242,6 +247,7 @@ class CreateUserApe extends Ape { | ||
| 242 | loger.log(_data,'注册老师账号成功') | 247 | loger.log(_data,'注册老师账号成功') |
| 243 | ErrorApe.showWarnError('注册成功'); | 248 | ErrorApe.showWarnError('注册成功'); |
| 244 | $('#createUserBox').hide(); | 249 | $('#createUserBox').hide(); |
| 250 | + that.userAdminHandler(1); | ||
| 245 | }else{ | 251 | }else{ |
| 246 | ErrorApe.showWarnError(_data.returnData.data.msg); | 252 | ErrorApe.showWarnError(_data.returnData.data.msg); |
| 247 | } | 253 | } |
| @@ -285,8 +285,8 @@ class LoginOrRegister extends Ape { | @@ -285,8 +285,8 @@ class LoginOrRegister extends Ape { | ||
| 285 | ClassDataProxy.token =_data.returnData.data.token | 285 | ClassDataProxy.token =_data.returnData.data.token |
| 286 | ClassDataProxy.status = true; | 286 | ClassDataProxy.status = true; |
| 287 | ClassDataProxy.id = _data.returnData.data.id; | 287 | ClassDataProxy.id = _data.returnData.data.id; |
| 288 | - ClassDataProxy.siteId = _data.returnData.data.siteId; | ||
| 289 | - | 288 | + // ClassDataProxy.siteId = _data.returnData.data.siteId; |
| 289 | + ClassDataProxy.siteId = 'markettest' | ||
| 290 | ClassDataProxy.monicker = _data.returnData.data.userName; | 290 | ClassDataProxy.monicker = _data.returnData.data.userName; |
| 291 | ClassDataProxy.userEmail = _data.returnData.data.userEmail; | 291 | ClassDataProxy.userEmail = _data.returnData.data.userEmail; |
| 292 | ClassDataProxy.userMobile = _data.returnData.data.userMobile; | 292 | ClassDataProxy.userMobile = _data.returnData.data.userMobile; |
| @@ -43,13 +43,13 @@ const adminList = `<tr align="center" bgcolor="#FFFFFF" height="44" bordercolor= | @@ -43,13 +43,13 @@ const adminList = `<tr align="center" bgcolor="#FFFFFF" height="44" bordercolor= | ||
| 43 | <td width="6%" class="tr_main">{_stateInfo}</td> | 43 | <td width="6%" class="tr_main">{_stateInfo}</td> |
| 44 | <td width="18%" class="tr_main">{_time}</td> | 44 | <td width="18%" class="tr_main">{_time}</td> |
| 45 | <td width="6%" class="tr_main">{_onlineLen}</td> | 45 | <td width="6%" class="tr_main">{_onlineLen}</td> |
| 46 | - <td width="18%" class="tr_main tr_mainRight" align="center" > | 46 | + <td width="18%" class="tr_main tr_mainRight" align="center" data="{_esenglish}"> |
| 47 | <a id="{_DocInd}" class="classHandlePort" href="###">文档</a> | 47 | <a id="{_DocInd}" class="classHandlePort" href="###">文档</a> |
| 48 | <a id="{_mediaInd}" class="classHandlePort" href="###">多媒体</a> | 48 | <a id="{_mediaInd}" class="classHandlePort" href="###">多媒体</a> |
| 49 | <a id="{_musicInd}" class="classHandlePort" href="###">伴音</a> | 49 | <a id="{_musicInd}" class="classHandlePort" href="###">伴音</a> |
| 50 | <a id="{_updateInd}" class="classHandlePort" href="###">修改</a> | 50 | <a id="{_updateInd}" class="classHandlePort" href="###">修改</a> |
| 51 | - <a id="{_removeInd}" class="classHandlePort" href="###">删除</a> | ||
| 52 | - <a id="{_joinInd}" class="classHandlePort" data="{_esenglish}" href="###">加入课堂</a> | 51 | + <a id="{_removeInd}" class="classHandlePort deleteClass" href="###">删除</a> |
| 52 | + <a data="{_joinInd}" class="classHandlePort joinClass" href="">加入课堂</a> | ||
| 53 | </td> | 53 | </td> |
| 54 | </tr> | 54 | </tr> |
| 55 | `; | 55 | `; |
| @@ -72,6 +72,9 @@ class ManagementHomePageApe extends Ape { | @@ -72,6 +72,9 @@ class ManagementHomePageApe extends Ape { | ||
| 72 | $('#classHandlerDownPage0').on('click',this._downPageHandler.bind(this));//下页 | 72 | $('#classHandlerDownPage0').on('click',this._downPageHandler.bind(this));//下页 |
| 73 | $('#classHandlerEndPage0').on('click',this._endPageHandler.bind(this));//尾页 | 73 | $('#classHandlerEndPage0').on('click',this._endPageHandler.bind(this));//尾页 |
| 74 | $('#classHandlerSpecificPage0').on('click',this._assignPageHandler.bind(this));//指定页 | 74 | $('#classHandlerSpecificPage0').on('click',this._assignPageHandler.bind(this));//指定页 |
| 75 | + | ||
| 76 | + $('#courseContent0').on('click','.deleteClass',this._deleteClass.bind(this));//删除课堂 | ||
| 77 | + $('#courseContent0').on('click','.joinClass',this._joinClass.bind(this));//加入课堂 | ||
| 75 | } | 78 | } |
| 76 | 79 | ||
| 77 | addEvent() { | 80 | addEvent() { |
| @@ -95,7 +98,6 @@ class ManagementHomePageApe extends Ape { | @@ -95,7 +98,6 @@ class ManagementHomePageApe extends Ape { | ||
| 95 | } | 98 | } |
| 96 | //下页 | 99 | //下页 |
| 97 | _downPageHandler(){ | 100 | _downPageHandler(){ |
| 98 | - loger.log(this.presentInd,111111) | ||
| 99 | if(this.presentInd < this.pageNo){ | 101 | if(this.presentInd < this.pageNo){ |
| 100 | this.presentInd++; | 102 | this.presentInd++; |
| 101 | this._pageNumBtnHandler(this.presentInd); | 103 | this._pageNumBtnHandler(this.presentInd); |
| @@ -149,7 +151,8 @@ class ManagementHomePageApe extends Ape { | @@ -149,7 +151,8 @@ class ManagementHomePageApe extends Ape { | ||
| 149 | pageno:8, | 151 | pageno:8, |
| 150 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | 152 | 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, |
| 151 | success:function(_data){ | 153 | success:function(_data){ |
| 152 | - if(_data || _data.code == 200){ | 154 | + if(_data && _data.code == 200){ |
| 155 | + loger.log('渲染首页数据',_data) | ||
| 153 | that._gainClassData(_data.returnData.data); | 156 | that._gainClassData(_data.returnData.data); |
| 154 | } | 157 | } |
| 155 | }, | 158 | }, |
| @@ -173,6 +176,7 @@ class ManagementHomePageApe extends Ape { | @@ -173,6 +176,7 @@ class ManagementHomePageApe extends Ape { | ||
| 173 | if(count <= 8){ | 176 | if(count <= 8){ |
| 174 | $('#classHandlerPageBox0').hide(); | 177 | $('#classHandlerPageBox0').hide(); |
| 175 | } | 178 | } |
| 179 | + loger.log('课堂信息',_dataList[0].meetingNumber) | ||
| 176 | for(let i = 0;i<_dataList.length;i++){ | 180 | for(let i = 0;i<_dataList.length;i++){ |
| 177 | let _adminList = this._format(adminList,{ | 181 | let _adminList = this._format(adminList,{ |
| 178 | _meetingName : _dataList[i].meetingName, | 182 | _meetingName : _dataList[i].meetingName, |
| @@ -186,13 +190,49 @@ class ManagementHomePageApe extends Ape { | @@ -186,13 +190,49 @@ class ManagementHomePageApe extends Ape { | ||
| 186 | _musicInd : 'classMusic'+i, | 190 | _musicInd : 'classMusic'+i, |
| 187 | _updateInd : 'classUpdate'+i, | 191 | _updateInd : 'classUpdate'+i, |
| 188 | _removeInd : 'classRemove'+i, | 192 | _removeInd : 'classRemove'+i, |
| 189 | - _joinInd : 'classJoin'+i | 193 | + _joinInd : _dataList[i].meetingNumber |
| 190 | }) | 194 | }) |
| 191 | courseContent.append(_adminList); | 195 | courseContent.append(_adminList); |
| 192 | } | 196 | } |
| 193 | courseContent.append(adminListEnd); | 197 | courseContent.append(adminListEnd); |
| 194 | } | 198 | } |
| 195 | } | 199 | } |
| 200 | + //删除课堂 | ||
| 201 | + _deleteClass(evt){ | ||
| 202 | + let ele = $(evt.target).parent().attr('data'); | ||
| 203 | + loger.log('删除',ele) | ||
| 204 | + let _url = ClassDataProxy.locationProtocol + ClassDataProxy.locationProtDomain + '/3m/meeting/updateToCancel.do'; | ||
| 205 | + let that = this; | ||
| 206 | + $.ajax({ | ||
| 207 | + type: "PUT", | ||
| 208 | + url: _url, | ||
| 209 | + dataType: "text", | ||
| 210 | + data:"meeting.id=" + ele + "&temp=" + new Date().getTime(), | ||
| 211 | + headers: {siteId:ClassDataProxy.siteId, | ||
| 212 | + 'token':'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IlhXQnJlRU00T0swYTVqUUIyUTFicGtObHlxOUFWbXZkIiwibmFtZSI6ImFkbWluIiwiY29kZSI6MSwiaWF0IjoxNTAzNDUxODU0LCJleHAiOjIyODEwNTE4NTR9.3kTVzKd_jbP7l69nxOpNaFeSjVnnjZkagYMzRB8fjNo'}, | ||
| 213 | + success:function(_data){ | ||
| 214 | + if(_data && _data.code == 200){ | ||
| 215 | + loger.log('删除成功',_data) | ||
| 216 | + that.detailPage(); | ||
| 217 | + // that._gainClassData(_data.returnData.data); | ||
| 218 | + } | ||
| 219 | + }, | ||
| 220 | + error:function(error){ | ||
| 221 | + loger.log(error,'失败') | ||
| 222 | + } | ||
| 223 | + }) | ||
| 224 | + } | ||
| 225 | + playRecord(meetingNumber) { | ||
| 226 | + let location = "/3m/doPlayRecord.do?meetingNumber=" + meetingNumber; | ||
| 227 | + window.open(location, target = "_blank"); | ||
| 228 | + } | ||
| 229 | + _joinClass(evt){ | ||
| 230 | + let _data = $(evt.target).attr('data'); | ||
| 231 | + // window.open('/3m/attend.do?meetingNumber=' + _data, target = "_blank"); | ||
| 232 | + // $(evt.target).attr('src','/3m/attend.do?meetingNumber=' + _data); | ||
| 233 | + $(evt.target).attr('href','http://market.xuedianyun.com/3m/attend.do?meetingNumber=' + _data); | ||
| 234 | + $(evt.target).attr('target', '_blank'); | ||
| 235 | + } | ||
| 196 | _switchover(evt){ | 236 | _switchover(evt){ |
| 197 | $(evt.currentTarget).addClass('liveInfoLeftLiCheck').siblings().removeClass('liveInfoLeftLiCheck'); | 237 | $(evt.currentTarget).addClass('liveInfoLeftLiCheck').siblings().removeClass('liveInfoLeftLiCheck'); |
| 198 | } | 238 | } |
| @@ -46,7 +46,7 @@ let _subscribeApe; | @@ -46,7 +46,7 @@ let _subscribeApe; | ||
| 46 | 46 | ||
| 47 | class Main { | 47 | class Main { |
| 48 | constructor() { | 48 | constructor() { |
| 49 | - this.clientVersion="v1.7.2.20170906"; | 49 | + this.clientVersion="v1.7.3.20170906"; |
| 50 | loger.warn("clientVersion:"+this.clientVersion); | 50 | loger.warn("clientVersion:"+this.clientVersion); |
| 51 | 51 | ||
| 52 | let locationProtocol= location.protocol; | 52 | let locationProtocol= location.protocol; |
| @@ -55,18 +55,18 @@ class Main { | @@ -55,18 +55,18 @@ class Main { | ||
| 55 | }else { | 55 | }else { |
| 56 | ClassDataProxy.locationProtocol="http://"; | 56 | ClassDataProxy.locationProtocol="http://"; |
| 57 | } | 57 | } |
| 58 | - this.localStorage = window.localStorage; | ||
| 59 | - //判断当前用户登录身份状态 | ||
| 60 | - this._localStorageState(); | ||
| 61 | //获取国际化语言 | 58 | //获取国际化语言 |
| 62 | this._localConfig(); | 59 | this._localConfig(); |
| 63 | //获取地址栏参数 | 60 | //获取地址栏参数 |
| 64 | this.getURLParams(); | 61 | this.getURLParams(); |
| 65 | - | 62 | + this.localStorage = window.localStorage; |
| 63 | + //判断当前用户登录身份状态 | ||
| 64 | + this._localStorageState(); | ||
| 66 | //课堂初始化和启动流程 | 65 | //课堂初始化和启动流程 |
| 67 | this.init(); | 66 | this.init(); |
| 68 | //默认显示管理员首页 | 67 | //默认显示管理员首页 |
| 69 | this.switchClass(0); | 68 | this.switchClass(0); |
| 69 | + this.switchClass(3); | ||
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | //获取地址栏参数 | 72 | //获取地址栏参数 |
| @@ -96,6 +96,7 @@ class Main { | @@ -96,6 +96,7 @@ class Main { | ||
| 96 | portal = portal + ":" + port; | 96 | portal = portal + ":" + port; |
| 97 | } | 97 | } |
| 98 | ClassDataProxy.portal = portal || ""; | 98 | ClassDataProxy.portal = portal || ""; |
| 99 | + ClassDataProxy.siteId = ClassDataProxy.userName; | ||
| 99 | } | 100 | } |
| 100 | } | 101 | } |
| 101 | 102 | ||
| @@ -143,6 +144,7 @@ class Main { | @@ -143,6 +144,7 @@ class Main { | ||
| 143 | _managementHomePageApe = new ManagementHomePageApe(); | 144 | _managementHomePageApe = new ManagementHomePageApe(); |
| 144 | //创建课堂 | 145 | //创建课堂 |
| 145 | _createClassApe = new CreateClassApe(); | 146 | _createClassApe = new CreateClassApe(); |
| 147 | + _createClassApe.on(MessageTypes.ADD_CLASS,this.addClass.bind(this)); | ||
| 146 | //创建用户老师 | 148 | //创建用户老师 |
| 147 | _createUserApe = new CreateUserApe(); | 149 | _createUserApe = new CreateUserApe(); |
| 148 | //创建约课 | 150 | //创建约课 |
| @@ -177,7 +179,7 @@ class Main { | @@ -177,7 +179,7 @@ class Main { | ||
| 177 | _teacherDetailApe.detailPage(); | 179 | _teacherDetailApe.detailPage(); |
| 178 | }else if(_data.userType == ClassDataProxy.USER_TYPE_2){ | 180 | }else if(_data.userType == ClassDataProxy.USER_TYPE_2){ |
| 179 | this._showAdministratorInfo(); | 181 | this._showAdministratorInfo(); |
| 180 | - _administratorApe.detailPage(); | 182 | + _managementHomePageApe.detailPage(); |
| 181 | }else if(_data.userType == ClassDataProxy.USER_TYPE_8){ | 183 | }else if(_data.userType == ClassDataProxy.USER_TYPE_8){ |
| 182 | _homeApe.detailPage(); | 184 | _homeApe.detailPage(); |
| 183 | }else if(_data.userType == ClassDataProxy.USER_TYPE_32){ | 185 | }else if(_data.userType == ClassDataProxy.USER_TYPE_32){ |
| @@ -201,7 +203,7 @@ class Main { | @@ -201,7 +203,7 @@ class Main { | ||
| 201 | switch (ind){ | 203 | switch (ind){ |
| 202 | case 0: | 204 | case 0: |
| 203 | //首页 | 205 | //首页 |
| 204 | - _managementHomePageApe._createClassHomePage(); | 206 | + _managementHomePageApe.detailPage(); |
| 205 | break; | 207 | break; |
| 206 | case 1: | 208 | case 1: |
| 207 | //创建课堂 | 209 | //创建课堂 |
| @@ -212,11 +214,11 @@ class Main { | @@ -212,11 +214,11 @@ class Main { | ||
| 212 | break; | 214 | break; |
| 213 | case 3: | 215 | case 3: |
| 214 | //用户管理 | 216 | //用户管理 |
| 215 | - _createUserApe.userAdminHandler(); | 217 | + _createUserApe.userAdminHandler(1); |
| 216 | break; | 218 | break; |
| 217 | case 4: | 219 | case 4: |
| 218 | //约课管理 | 220 | //约课管理 |
| 219 | - _aboutClassApe.userAdminHandler(); | 221 | + _aboutClassApe.userAdminHandler(1); |
| 220 | break; | 222 | break; |
| 221 | case 5: | 223 | case 5: |
| 222 | //录制管理 | 224 | //录制管理 |
| @@ -232,12 +234,16 @@ class Main { | @@ -232,12 +234,16 @@ class Main { | ||
| 232 | break; | 234 | break; |
| 233 | } | 235 | } |
| 234 | } | 236 | } |
| 237 | + addClass(_data){ | ||
| 238 | + loger.log('创建课堂成功') | ||
| 239 | + _managementHomePageApe.detailPage(); | ||
| 240 | + } | ||
| 235 | //判断登录用户的状态 | 241 | //判断登录用户的状态 |
| 236 | _localStorageState(){ | 242 | _localStorageState(){ |
| 237 | let userType = window.localStorage.getItem('userType')||0; | 243 | let userType = window.localStorage.getItem('userType')||0; |
| 238 | let loginName = window.localStorage.getItem('loginName')|| ''; | 244 | let loginName = window.localStorage.getItem('loginName')|| ''; |
| 239 | let id = window.localStorage.getItem('id')|| ''; | 245 | let id = window.localStorage.getItem('id')|| ''; |
| 240 | - let siteId = window.localStorage.getItem('siteId')|| ''; | 246 | + let siteId = window.localStorage.getItem('siteId')|| 'markettest'; |
| 241 | 247 | ||
| 242 | let userMobile = window.localStorage.getItem('userMobile')|| ''; | 248 | let userMobile = window.localStorage.getItem('userMobile')|| ''; |
| 243 | let userEmail = window.localStorage.getItem('userEmail')|| ''; | 249 | let userEmail = window.localStorage.getItem('userEmail')|| ''; |
| @@ -291,6 +297,7 @@ class Main { | @@ -291,6 +297,7 @@ class Main { | ||
| 291 | $('#lanclassBox').hide(); | 297 | $('#lanclassBox').hide(); |
| 292 | $('#classifyListBox').hide(); | 298 | $('#classifyListBox').hide(); |
| 293 | $('#recordUl .recordLi').eq(0).addClass('recordLiCheck').siblings().removeClass('recordLiCheck'); | 299 | $('#recordUl .recordLi').eq(0).addClass('recordLiCheck').siblings().removeClass('recordLiCheck'); |
| 300 | + $('.classManagementRight').eq(0).show().siblings().hide(); | ||
| 294 | } | 301 | } |
| 295 | _teacherHome(){ | 302 | _teacherHome(){ |
| 296 | $('#slideshow').hide(); | 303 | $('#slideshow').hide(); |
| @@ -227,7 +227,7 @@ ClassDataProxy.password ="" | @@ -227,7 +227,7 @@ ClassDataProxy.password ="" | ||
| 227 | ClassDataProxy.token =""; | 227 | ClassDataProxy.token =""; |
| 228 | ClassDataProxy.status = false; | 228 | ClassDataProxy.status = false; |
| 229 | ClassDataProxy.id = ''; | 229 | ClassDataProxy.id = ''; |
| 230 | -ClassDataProxy.siteId = ''; | 230 | +ClassDataProxy.siteId = 'markettest'; |
| 231 | ClassDataProxy.userMobile = ''; | 231 | ClassDataProxy.userMobile = ''; |
| 232 | ClassDataProxy.userEmail = ''; | 232 | ClassDataProxy.userEmail = ''; |
| 233 | ClassDataProxy.monicker = ""; | 233 | ClassDataProxy.monicker = ""; |
| @@ -270,6 +270,7 @@ ClassDataProxy.locationProtocol="http://"; | @@ -270,6 +270,7 @@ ClassDataProxy.locationProtocol="http://"; | ||
| 270 | 270 | ||
| 271 | //ClassDataProxy.locationProt = "192.168.31.8:3000";//端口 | 271 | //ClassDataProxy.locationProt = "192.168.31.8:3000";//端口 |
| 272 | ClassDataProxy.locationProt = "123.56.73.119:3000";//端口 | 272 | ClassDataProxy.locationProt = "123.56.73.119:3000";//端口 |
| 273 | +ClassDataProxy.locationProtDomain = "market.xuedianyun.com/";//端口 | ||
| 273 | 274 | ||
| 274 | ClassDataProxy.SCENE_DOC=0; | 275 | ClassDataProxy.SCENE_DOC=0; |
| 275 | ClassDataProxy.SCENE_SCREEN_SHARE=1; | 276 | ClassDataProxy.SCENE_SCREEN_SHARE=1; |
-
请 注册 或 登录 后发表评论