|
@@ -16,7 +16,7 @@
|
|
<view class="ui-mr30">
|
|
<view class="ui-mr30">
|
|
<text class="f32" style="#9ccbff">请点击选择学生批量点评</text>
|
|
<text class="f32" style="#9ccbff">请点击选择学生批量点评</text>
|
|
</view>
|
|
</view>
|
|
- <view class="ui-flex" style="width: 250px;">
|
|
|
|
|
|
+ <view class="ui-flex" style="width: 320px;">
|
|
<el-button @click="setMulti(false)" plain text="取消选择" style="background-color: #0d4980;"
|
|
<el-button @click="setMulti(false)" plain text="取消选择" style="background-color: #0d4980;"
|
|
class="ui-mr10">取消选择</el-button>
|
|
class="ui-mr10">取消选择</el-button>
|
|
<el-badge :value="activeList.length">
|
|
<el-badge :value="activeList.length">
|
|
@@ -24,6 +24,11 @@
|
|
批量点评
|
|
批量点评
|
|
</el-button>
|
|
</el-button>
|
|
</el-badge>
|
|
</el-badge>
|
|
|
|
+ <el-badge :value="activeList.length" class="ui-ml30">
|
|
|
|
+ <el-button type="primary" @click="commentAll()">
|
|
|
|
+ 全班点评
|
|
|
|
+ </el-button>
|
|
|
|
+ </el-badge>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -289,10 +294,26 @@
|
|
return el.id == stuId;
|
|
return el.id == stuId;
|
|
}).title;
|
|
}).title;
|
|
}).join();
|
|
}).join();
|
|
|
|
+ if (title.length > 15) {
|
|
|
|
+ title=title.substring(0, 15) + '...';
|
|
|
|
+ }
|
|
|
|
|
|
// this.getTabs()
|
|
// this.getTabs()
|
|
this.$refs.markScore.open(title);
|
|
this.$refs.markScore.open(title);
|
|
},
|
|
},
|
|
|
|
+ commentAll() {
|
|
|
|
+ this.activeList=[]
|
|
|
|
+ let title = "全班"
|
|
|
|
+ this.list.map(item=>{
|
|
|
|
+ item.nodes.map(item2=>{
|
|
|
|
+ if(item2.id){
|
|
|
|
+ this.activeList.push(item2.id)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ // this.$refs.markScore.open(title);
|
|
|
|
+ },
|
|
setSeatMove(value) {
|
|
setSeatMove(value) {
|
|
if (value) {
|
|
if (value) {
|
|
this.setMulti(false);
|
|
this.setMulti(false);
|