|
@@ -12,7 +12,7 @@
|
|
|
<img class="teachimg" :src="teachImg" />
|
|
|
<p class="teachname">{{ teachname }}</p>
|
|
|
</div>
|
|
|
- <div class="total-studentnum"><svg-icon icon-class="students" class="students-icon" />{{ students.length }}</div>
|
|
|
+ <div class="total-studentnum" @click='isShowStudentList=true'><svg-icon icon-class="students" class="students-icon" />{{ students.length }}</div>
|
|
|
<div class="percentage-studentanswer" @click="popuphd()">
|
|
|
<q-circular-progress show-value font-size="8px" :value="StudentPercentage" size="45px" :thickness="0.22" color="teal" track-color="grey-3" class="q-ma-md"> {{ StudentPercentage }}% </q-circular-progress>
|
|
|
</div>
|
|
@@ -182,6 +182,24 @@
|
|
|
<div class="workclose" @click="workStatus = false"><img src="@/statics/iconsvg/interaction/Close.svg" class="q-icon" /></div>
|
|
|
</div>
|
|
|
<!--作品收集end-->
|
|
|
+ <!--學生名單彈窗-->
|
|
|
+ <div class='student-List' v-show='isShowStudentList == true'>
|
|
|
+ <h5>目前加入教室的學生名單</h5>
|
|
|
+ <div class="student-group">
|
|
|
+ <div v-for="item in students" :key="item.id" class='student-card'>
|
|
|
+ <div class="student-leftimg">
|
|
|
+ <div class="student-idnumber">{{item.sort}}</div>
|
|
|
+ <div class="student-portrait"><img :src="item.headImg" /></div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="student-rightname">{{item.studentName}}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="noData" v-show="students.length == 0">
|
|
|
+ <p>暂无数据</p>
|
|
|
+ </div>
|
|
|
+ <div class="close-btn" @click="isShowStudentList = false"> <svg-icon icon-class="Close" class="close-icon" /></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -393,7 +411,8 @@ export default {
|
|
|
workInsidedata: [],
|
|
|
|
|
|
//停止收集的icon和文字
|
|
|
- workinfo: { icon: 'stop', text: '停止收集' }
|
|
|
+ workinfo: { icon: 'stop', text: '停止收集' },
|
|
|
+ isShowStudentList:false
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -436,6 +455,9 @@ export default {
|
|
|
localStorage.removeItem('fileType')
|
|
|
localStorage.removeItem('slide')
|
|
|
},
|
|
|
+ studentList(){
|
|
|
+ this.$store.state.students.forEach(item=>{console.log(item.studentName)})
|
|
|
+ },
|
|
|
handleUploadSuc(response, file, i) {
|
|
|
//this.beginPdfshowLoading()
|
|
|
this.$store.state.uploadUrl = response.result.data.model.blobUrl
|