|
@@ -94,8 +94,12 @@
|
|
|
ref="markScore"></markScore>
|
|
|
|
|
|
<!-- 点评记录 -->
|
|
|
+<<<<<<< HEAD
|
|
|
+ <markScoreList :chooseClassId="chooseClassId" ref="markScoreList"></markScoreList>
|
|
|
+=======
|
|
|
<markScoreList @success='DelectSuccess' @add='addTab' :list='studentTab.data' ref="markScoreList">
|
|
|
</markScoreList>
|
|
|
+>>>>>>> 0d8c02ba5c71fa1c8a3b7acdb1044e14d1156fc2
|
|
|
|
|
|
<el-drawer title="排行榜" :visible.sync="showRankList" direction="rtl">
|
|
|
<view style="text-align: center;" class="">
|
|
@@ -112,7 +116,7 @@
|
|
|
<text class="txt-white f24">选择班级</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="ui-flex-column text-center ui-p bottom-btn-item" @click="$refs.markScoreList.open()">
|
|
|
+ <view class="ui-flex-column text-center ui-p bottom-btn-item" @click="getLog">
|
|
|
<image src="../../static/uni.png" style="width: 30px;height: 30px;" mode=""></image>
|
|
|
<view style="line-height: 1;">
|
|
|
<text class="txt-white f24">点评记录</text>
|
|
@@ -147,7 +151,7 @@
|
|
|
<text class="txt-white f24">切换老师</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="ui-flex-column text-center ui-p bottom-btn-item">
|
|
|
+ <view class="ui-flex-column text-center ui-p bottom-btn-item" @click="loginOut()">
|
|
|
<image src="../../static/uni.png" style="width: 30px;height: 30px;" mode=""></image>
|
|
|
<view style="line-height: 1;">
|
|
|
<text class="txt-white f24">退出登录</text>
|
|
@@ -191,24 +195,17 @@
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
-
|
|
|
- // this.id = this.$route.query.id
|
|
|
-
|
|
|
- this.id = this.$store.state.teacherInfo.selfclass.id
|
|
|
- this.getstudentTabLog()
|
|
|
+ this.id = this.$store.state.teacherInfo.selfclass.id
|
|
|
// this.getStudent()
|
|
|
this.getClassroomList();
|
|
|
-
|
|
|
- setTimeout(() => {
|
|
|
- this.doChooseClass({
|
|
|
- value: [{
|
|
|
- class_name: "二年级2班",
|
|
|
- id: 2
|
|
|
- }]
|
|
|
- })
|
|
|
- }, 400)
|
|
|
},
|
|
|
methods: {
|
|
|
+ getLog(){
|
|
|
+ this.$refs.markScoreList.open()
|
|
|
+ this.$refs.markScoreList.list=[]
|
|
|
+ this.$refs.markScoreList.current_page=1
|
|
|
+ this.$refs.markScoreList.addTab()
|
|
|
+ },
|
|
|
change(e) {
|
|
|
this.type = e == 0 ? 1 : 2
|
|
|
this.getTabs()
|
|
@@ -245,7 +242,6 @@
|
|
|
},
|
|
|
success: res => {
|
|
|
this.teachList.push(res.data)
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -303,7 +299,6 @@
|
|
|
getTabs() {
|
|
|
this.$api.sendRequest({
|
|
|
url: `/mobile/studentTab/getStudentTabs`,
|
|
|
-
|
|
|
method: "post",
|
|
|
data: {
|
|
|
teacher_id: this.$store.state.teacher_id,
|
|
@@ -385,7 +380,7 @@
|
|
|
.page {
|
|
|
background-image: url('https://zhxy.obs.cn-hz1.ctyun.cn:443/static/desk_bg/class_bj.jpg');
|
|
|
background-size: 100% 100%;
|
|
|
- height: 100vh;
|
|
|
+ height: auto;
|
|
|
// width: 750rpx;
|
|
|
}
|
|
|
|