mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 07:16:44 +08:00
修改bug3.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import {addTeacher, getCertificationProcess, setOfflineTutoring} from "@/api/modules/lecturer";
|
||||
import {addTeacher, getCertificationProcess, getTeacherInfo, setOfflineTutoring} from "@/api/modules/lecturer";
|
||||
import processStatus from "@/components/processStatus.vue";
|
||||
|
||||
export default {
|
||||
@@ -10,7 +10,8 @@ export default {
|
||||
options: [],
|
||||
value: '',
|
||||
value2:'',
|
||||
teacherId:''
|
||||
teacherId:'',
|
||||
pid:''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -18,6 +19,9 @@ export default {
|
||||
this.teacherId=this.$route.query.teacherId
|
||||
//获取老师列表
|
||||
this.getTeacherList()
|
||||
getTeacherInfo({teacherId:this.teacherId}).then(res=> {
|
||||
this.pid = res.data[0].pid
|
||||
})
|
||||
},
|
||||
methods:{
|
||||
getTeacherList() {
|
||||
@@ -56,7 +60,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<process-status :teacherId="teacherId"></process-status>
|
||||
<process-status :teacherId="pid.toString()" :pid="teacherId.toString()"></process-status>
|
||||
<div class="title">二次线下辅导</div>
|
||||
<el-container>
|
||||
<div class="form-table">
|
||||
@@ -83,9 +87,9 @@ export default {
|
||||
<el-form-item required label="辅导时间:">
|
||||
<el-date-picker
|
||||
v-model="value2"
|
||||
type="date"
|
||||
type="datetime"
|
||||
placeholder="选择日期"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
format="yyyy-MM-dd HH:mm"
|
||||
value-format="yyyy-MM-dd HH:mm:ss">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user