Commit 6c582b00 authored by zhengke's avatar zhengke

修改

parent 370b8363
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
</script> </script>
<style> <style>
@import url("//at.alicdn.com/t/font_2077629_ou0hmd4zmr8.css"); @import url("//at.alicdn.com/t/font_2077629_wob6liq2kxn.css");
.q-scrollarea__thumb { .q-scrollarea__thumb {
z-index: 999999 !important; z-index: 999999 !important;
} }
......
This diff is collapsed.
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
<div class="row"> <div class="row">
<q-btn color="accent" @click="setPublishExam" class="q-mr-md" label="发布考试"  /> <q-btn color="accent" @click="setPublishExam" class="q-mr-md" label="发布考试"  />
</div> </div>
<classstutreeForm v-if="isShowClassStu"  @close="closeClassStuForm"  @success="getClassStuList"> <classstutreeForm v-if="isShowClassStu" :sendStudent="sendStudent"  @close="closeClassStuForm"  @success="getClassStuList">
</classstutreeForm> </classstutreeForm>
</div> </div>
</template> </template>
...@@ -282,6 +282,7 @@ ...@@ -282,6 +282,7 @@
}, },
isShowClassStu: false, //是否显示学员弹窗 isShowClassStu: false, //是否显示学员弹窗
sendStudent:[], //传送已选学生
} }
}, },
created() { created() {
...@@ -295,6 +296,23 @@ ...@@ -295,6 +296,23 @@
}, },
mounted() { mounted() {
},
watch:{
"postMsg.StudentList":{
handler(val){
this.sendStudent = [];
val.forEach(x=>{
let obj={
ClassId:x.ClassId,
CourseId:x.CourseId,
GuestId:x.GuestId,
Name:x.GuestName,
OrderId:x.OrderId
}
this.sendStudent.push(obj);
})
}
}
}, },
methods: { methods: {
//删除发放对象 //删除发放对象
...@@ -305,7 +323,6 @@ ...@@ -305,7 +323,6 @@
queryExamPublish({ queryExamPublish({
Id: this.postMsg.Id Id: this.postMsg.Id
}).then(res => { }).then(res => {
console.log("res", res);
if (res.Code == 1) { if (res.Code == 1) {
var tempData = res.Data; var tempData = res.Data;
if (tempData) { if (tempData) {
...@@ -347,6 +364,7 @@ ...@@ -347,6 +364,7 @@
}, },
//获取选中的需要列表 //获取选中的需要列表
getClassStuList(array) { getClassStuList(array) {
this.postMsg.StudentList=[];
if (array && array.length > 0) { if (array && array.length > 0) {
array.forEach(item => { array.forEach(item => {
this.postMsg.StudentList.push({ this.postMsg.StudentList.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment