mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改1
This commit is contained in:
@@ -6,9 +6,11 @@ import {
|
|||||||
getReviewResult,
|
getReviewResult,
|
||||||
getTeacherInfo, secondExamine
|
getTeacherInfo, secondExamine
|
||||||
} from "@/api/modules/lecturer";
|
} from "@/api/modules/lecturer";
|
||||||
|
import processStatus from "@/components/processStatus.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "FinalSuccess",
|
name: "FinalSuccess",
|
||||||
|
components: {processStatus},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
teacherId:'',
|
teacherId:'',
|
||||||
@@ -25,7 +27,7 @@ export default {
|
|||||||
newTeacherId:'',
|
newTeacherId:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
created() {
|
||||||
//读取路由参数
|
//读取路由参数
|
||||||
this.teacherId=this.$route.query.teacherId
|
this.teacherId=this.$route.query.teacherId
|
||||||
//获取教师基本信息
|
//获取教师基本信息
|
||||||
@@ -95,9 +97,6 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
format(percentage) {
|
|
||||||
return percentage === 100 ? '满' : `${percentage}%`;
|
|
||||||
},
|
|
||||||
getJump(){
|
getJump(){
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path:'/need/final',
|
path:'/need/final',
|
||||||
@@ -114,43 +113,47 @@ export default {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<process-status :teacherId="teacherId"></process-status>
|
||||||
<div class="title">基本信息</div>
|
<div class="title">基本信息</div>
|
||||||
<el-container>
|
<el-container>
|
||||||
<div class="form-table">
|
<div class="form-table">
|
||||||
<el-form label-width="140px">
|
<el-form>
|
||||||
<div>
|
<div>
|
||||||
<el-col :span="10">
|
<el-col :span="11">
|
||||||
<el-form-item label="姓名:">
|
<el-form-item label="姓名:">
|
||||||
{{form.teacherName}}
|
{{form.teacherName}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10" :offset="4">
|
<el-col :span="11" :offset="2">
|
||||||
<el-form-item label="工号:">
|
<el-form-item label="工号:">
|
||||||
{{form.teacherNo}}
|
{{form.teacherNo}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-col :span="11">
|
||||||
<el-form-item label="组织:">
|
<el-form-item label="组织:">
|
||||||
{{form.orgName}}
|
{{form.orgName}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="11" :offset="2">
|
||||||
<el-form-item label="岗位:">
|
<el-form-item label="岗位:">
|
||||||
{{form.positionName}}
|
{{form.positionName}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10" :offset="4">
|
|
||||||
<el-form-item label="职级:">
|
|
||||||
{{form.bandCode}}
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-col :span="11">
|
||||||
<el-form-item label="认证课程名称:" prop="courseName">
|
<el-form-item label="认证课程名称:" prop="courseName">
|
||||||
{{form.courseName}}
|
{{form.courseName}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="11" :offset="2">
|
||||||
<el-form-item label="课程内容分类:" prop="courseContent">
|
<el-form-item label="课程内容分类:" prop="courseContent">
|
||||||
{{form.courseContent}}
|
{{form.courseContent}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</div>
|
||||||
<el-form-item label="课程简介:" prop="courseIntroduction">
|
<el-form-item label="课程简介:" prop="courseIntroduction">
|
||||||
{{form.courseIntroduction}}
|
{{form.courseIntroduction}}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -161,24 +164,22 @@ export default {
|
|||||||
</div>
|
</div>
|
||||||
</el-container>
|
</el-container>
|
||||||
<div class="title" style="margin-top: 20px">线上课程</div>
|
<div class="title" style="margin-top: 20px">线上课程</div>
|
||||||
<div class="progress">
|
<div class="progress" >
|
||||||
<div v-for="(item,index) in progressData" :key="item">
|
<div v-for="(item,index) in progressData" :key="index" @click="toCaseData(item.courseId)">
|
||||||
<div class="progress-item" @click="toCaseData(item.courseId)">
|
|
||||||
<div class="uc-course-img" style="width: 212px;height:119px">
|
<div class="uc-course-img" style="width: 212px;height:119px">
|
||||||
<img style="width: 100%;" v-if="item.courseImage!=''" :src="item.courseImage">
|
<img style="width: 100%;" v-if="item.courseImage!=''" :src="item.courseImage">
|
||||||
<img style="width: 100%;" v-else :src="fileBaseUrl+'/pc/images/bgimg/course.png'">
|
<img style="width: 100%;" v-else :src="fileBaseUrl+'/pc/images/bgimg/course.png'">
|
||||||
</div>
|
</div>
|
||||||
<div class="courseName">{{item.courseName}}</div>
|
<div class="courseName">{{ item.courseName }}</div>
|
||||||
<div class="smallTitle">当前进度</div>
|
<div class="smallTitle">当前进度</div>
|
||||||
<el-progress :percentage="item.progress" :format="format"></el-progress>
|
<el-progress :percentage="parseInt(item.progress)"></el-progress>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="title" style="margin-top: 20px">线下辅导</div>
|
<div class="title" style="margin-top: 20px">线下辅导</div>
|
||||||
<el-container>
|
<el-container>
|
||||||
<div class="form-table">
|
<div class="form-table">
|
||||||
<el-form label-width="140px">
|
<el-form>
|
||||||
<el-form-item label="辅导老师:">
|
<el-form-item label="辅导老师:">
|
||||||
<span v-for="(item,index) in form.tutor" :key="item" style="display: inline-block;margin-right: 20px">{{item}}</span>
|
<span v-for="(item,index) in form.tutor" :key="item" style="display: inline-block;margin-right: 20px">{{item}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -209,26 +210,22 @@ export default {
|
|||||||
.title{
|
.title{
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
width: 850px;
|
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
||||||
border-bottom: 1px solid rgba(215, 215, 215, 0.66);
|
|
||||||
padding: 2px 2px 20px 2px;
|
padding: 2px 2px 20px 2px;
|
||||||
}
|
}
|
||||||
.form-table{
|
.form-table{
|
||||||
width: 850px;
|
width: 100%;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
.progress{
|
.progress{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.progress-item{
|
margin-top: 20px;
|
||||||
margin-top: 10px;
|
|
||||||
margin-right: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.progress>div{
|
.progress>div{
|
||||||
max-width: 250px;
|
width: 300px;
|
||||||
margin-right: 20px;
|
margin-right: 30px;
|
||||||
}
|
}
|
||||||
.courseName{
|
.courseName{
|
||||||
font-weight: 650;
|
font-weight: 650;
|
||||||
|
|||||||
Reference in New Issue
Block a user