12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!--pages/teacher_detail/teacher_detail.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class='ul'>
- <view class='ul-head'>
- <view class='ul-head-info'>
- <image src='{{imgUrl?baseImgUrl+imgUrl:"../../assets/default_headicon1.png"}}' class='ul-head-info-img'></image>
- <view class='ul-head-info-name'>
- <view>{{name}}</view>
- <view class='ul-head-info-phone'>{{phone}}</view>
- </view>
- </view>
- <image src='../../assets/delete.png' class='ul-head-img' bindtap='teacherShowModel' wx:if='{{isReview==0}}'></image>
- </view>
- <view class='ul-class'>
- <text class='ul-class-sub'>{{isReview?'学科':'选择学科'}}</text>
- <text class='ul-class-item {{item.status=="active"?"li-select-acrive":""}}' wx:for='{{subList}}' wx:key='index' data-sidx='{{index}}' bindtap='{{isReview?"":"selectSubject"}}'>{{item.text}}</text>
- </view>
- <view class='ul-class'>
- <text class='ul-class-sub'>{{isReview?'模块':'选择模块'}}</text>
- <text class='ul-class-item-info {{item.status=="active"?"li-select-acrive":""}}' wx:for='{{idList}}' wx:key='index' data-xidx='{{index}}' bindtap='{{isReview?"":"selectId"}}'>{{item.text}}</text>
- </view>
- <view class='li-content li-order' wx:if='{{isReview==0}}'>
- <view class='li-content-title'>所在班级</view>
- <view class='li-content-items' wx:for='{{list}}' wx:key='index' wx:if='{{list.length>0}}'>
- <image src='../../assets/class_one.png' class='li-content-items-img'></image>
- <view class='li-content-items-class'>
- <view class='li-content-items-class-num'>{{item.className}}</view>
- <view>学生:{{item.studentSum}}人</view>
- </view>
- <view class='li-content-items-class'>教师:{{item.teacherSum}}人</view>
- <view class='li-content-items-right' bindtap='classsShowModel' data-id='{{item.classId}}'>
- <image src='../../assets/yi_chu.png' class='li-content-items-right-img' style='width:44rpx;height:44rpx;'></image>
- </view>
- </view>
- <view class='li-noData' wx:if='{{list.length==0}}'>
- <image src='../../assets/deng_lv_logo.png' class='li-noData-img'></image>
- <view>此教师没有所属班级</view>
- <view class='li-noData-btn' data-url="pages/select_class/select_class" data-paras='{{({teacherId})}}' bindtap="navigateTo">去添加</view>
- </view>
- </view>
- <view class='li-footer' wx:if='{{list.length>0&&isReview==0}}' data-url="pages/select_class/select_class" data-paras='{{({teacherId})}}' bindtap="navigateTo">
- <image src='../../assets/info.png' class='li-footer-image'></image>
- <text>新增班级</text>
- </view>
- <view class='li-class-grade li-margin' wx:if='{{isReview==1}}'>
- <view class='li-class-grade-green' data-xid="{{teacherId}}" data-type="{{1}}" bindtap="refuseShow">通过</view>
- <view class="li-class-grade-btn" data-xid="{{teacherId}}" data-type="{{2}}" bindtap="refuseShow">拒绝</view>
- </view>
- <!-- 删除老师弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{teacherModel}}'></view>
- <view class='model' wx:if='{{teacherModel}}'>
- <view class='rename'>
- <view class='rename-name' style='margin:92rpx 0;'>确定将此教师从校区中移除吗?教师账号将被注销</view>
- <view class='rename-footer'>
- <view bindtap='allShowModel'>取消</view>
- <view class='rename-footer-sure' bindtap='sureDeleteTeacher'>确定</view>
- </view>
- </view>
- </view>
- <!-- 删除班级弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{classModel}}'></view>
- <view class='model' wx:if='{{classModel}}'>
- <view class='rename'>
- <view class='rename-name' style='margin:92rpx 0;'>确定将教师从此班级中移除吗?</view>
- <view class='rename-footer'>
- <view bindtap='allShowModel'>取消</view>
- <view class='rename-footer-sure' bindtap='sureDetachTeacher'>确定</view>
- </view>
- </view>
- </view>
- <!-- 拒绝审核弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{refuseModel}}'></view>
- <view class='model' wx:if='{{refuseModel}}'>
- <view class='rename'>
- <view class='rename-name'>确定拒绝此教师进入校区吗?</view>
- <view class='rename-footer'>
- <view bindtap='allShowModel' bindtap='allShowModel'>取消</view>
- <view class='rename-footer-sure' bindtap='selectRefuse'>确定</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
|