Commit 72e03b3e authored by chenfenglei's avatar chenfenglei

来源码类别

parent 9450d59e
......@@ -70,7 +70,6 @@
this.classListOption();
},
classListOption(){
console.log(this.dialogObj)
let json ={
page:this.nowPage,
limit:this.limit,
......@@ -78,7 +77,6 @@
end_at:this.dialogObj.timeValue[1],
}
getTeacherClassApi(json,this.dialogObj.teacher_id).then(res=>{
console.log(res.list)
this.classList=res.list
this.total=res.total;
})
......
......@@ -88,7 +88,7 @@
label="班主任名字"
>
<template slot-scope="scope">
<el-button type="text" @click="nameClick(scope.row,searchSecondFrom.dateValue)">
<el-button type="text" @click="nameClick(scope.row)">
{{scope.row.teacher_name}}
</el-button>
</template>
......@@ -203,7 +203,11 @@
},
nameClick(val,dataTime){
this.dialogObj.teacher_id=val.tid;
this.dialogObj.timeValue=dataTime
if(dataTime != undefined){
this.dialogObj.timeValue=dataTime
}else{
this.dialogObj.timeValue=[val.cur_date,val.cur_date]
}
this.dialogObj.show=true;
},
}
......
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