|
@@ -1,59 +1,104 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <!-- <div class="myBox">
|
|
|
- <div class="myLeftBox">
|
|
|
- <div><MrBasicData></MrBasicData></div>
|
|
|
- <div><MrOverPer></MrOverPer></div>
|
|
|
- </div>
|
|
|
- <div class="myMiddleBox"><MyCourseReport></MyCourseReport></div>
|
|
|
- <div class="myRightBox">
|
|
|
- <div>
|
|
|
- <CourseEvaScore></CourseEvaScore>
|
|
|
+ <div :class="{ isWorkCss: reportVisible }">
|
|
|
+ <div class="sr_body">
|
|
|
+ <div class="mrTitle">
|
|
|
+ <div>我的学习报告</div>
|
|
|
+ <div class="mrIcon">
|
|
|
+ <img src="../../../assets/icon/myReport/tIcon.png" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div> -->
|
|
|
- <div class="sr_body">
|
|
|
<div class="sr_box">
|
|
|
<div class="sr_first">
|
|
|
- <div class="first">
|
|
|
- <div class="sub_title"><span>基础信息</span></div>
|
|
|
+ <div class="first" style="height: 260px">
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>基础信息</div>
|
|
|
+ </div>
|
|
|
<MrBasicData class="r_box"></MrBasicData>
|
|
|
</div>
|
|
|
- <div class="second">
|
|
|
- <div class="sub_title"><span>我的综合表现</span></div>
|
|
|
+ <div class="second" style="height: 260px">
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>我的综合表现</div>
|
|
|
+ </div>
|
|
|
<MrOverPer class="r_box"></MrOverPer>
|
|
|
</div>
|
|
|
<div class="third">
|
|
|
- <div class="sub_title"><span>我的学习状态</span></div>
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>我的学习状态</div>
|
|
|
+ </div>
|
|
|
<MrLearnStatus class="r_box"></MrLearnStatus>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="sr_second" style="height:965px">
|
|
|
- <div class="first">
|
|
|
- <div class="sub_title"><span>我的课程报告</span></div>
|
|
|
+ <div class="sr_second" style="height: 830px">
|
|
|
+ <div class="first" style="margin: 0; justify-content: flex-start">
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>我的课程报告</div>
|
|
|
+ </div>
|
|
|
<MyCourseReport class="r_box"></MyCourseReport>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="sr_third">
|
|
|
<div class="first">
|
|
|
- <div class="sub_title"><span>课程评价得分</span></div>
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>课程评价得分</div>
|
|
|
+ </div>
|
|
|
<CourseEvaScore class="r_box"></CourseEvaScore>
|
|
|
</div>
|
|
|
<div class="second">
|
|
|
- <div class="sub_title"><span>课程类型分析</span></div>
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>课程类型分析</div>
|
|
|
+ </div>
|
|
|
<CourseTypeAna class="r_box"></CourseTypeAna>
|
|
|
</div>
|
|
|
- <div class="third">
|
|
|
- <div class="sub_title"><span>工具类型分析</span></div>
|
|
|
+ <div class="third" style="height: 270px">
|
|
|
+ <div class="sub_title">
|
|
|
+ <div class="yuan">
|
|
|
+ <img src="../../../assets/icon/myReport/yuan.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div>工具类型分析</div>
|
|
|
+ </div>
|
|
|
<ToolTypeAna class="r_box"></ToolTypeAna>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="height: 100%;overflow-x: hidden;">
|
|
|
- <div class="sub_title"><span>目标体系1</span></div>
|
|
|
- <MrEva class="r_box"></MrEva>
|
|
|
+ <div style="height: 100%; overflow-x: hidden">
|
|
|
+ <div>
|
|
|
+ <MrEva
|
|
|
+ class="r_box"
|
|
|
+ :ooid="oid"
|
|
|
+ :uuid="userid"
|
|
|
+ @getEvaCid="getCid"
|
|
|
+ ></MrEva>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="report_box" v-if="reportVisible">
|
|
|
+ <studentReport
|
|
|
+ :checkCourse="checkCourse"
|
|
|
+ :checkStudent="checkStudent"
|
|
|
+ :oid="oid"
|
|
|
+ ></studentReport>
|
|
|
+ </div>
|
|
|
+ <div class="cancelbox" v-if="reportVisible">
|
|
|
+ <el-button @click="cancelR" type="primary" size="small">返回</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -66,6 +111,7 @@ import CourseEvaScore from "./components/courseEvaScore.vue";
|
|
|
import CourseTypeAna from "./components/courseTypeAna.vue";
|
|
|
import ToolTypeAna from "./components/toolTypeAna.vue";
|
|
|
import MrEva from "./components/mrEva.vue";
|
|
|
+import studentReport from "../components/studentReport";
|
|
|
export default {
|
|
|
components: {
|
|
|
MrBasicData,
|
|
@@ -76,14 +122,30 @@ export default {
|
|
|
CourseTypeAna,
|
|
|
ToolTypeAna,
|
|
|
MrEva,
|
|
|
+ studentReport,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
userid: this.$route.query.userid,
|
|
|
org: this.$route.query.org,
|
|
|
oid: this.$route.query.oid,
|
|
|
+ reportVisible: false,
|
|
|
+ checkStudent: "",
|
|
|
+ checkCourse: "",
|
|
|
};
|
|
|
},
|
|
|
+ methods: {
|
|
|
+ getCid(cid) {
|
|
|
+ this.checkCourse = cid;
|
|
|
+ this.checkStudent = this.userid;
|
|
|
+ this.reportVisible = true;
|
|
|
+ },
|
|
|
+ cancelR() {
|
|
|
+ this.checkCourse = "";
|
|
|
+ this.checkStudent = "";
|
|
|
+ this.reportVisible = false;
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -111,7 +173,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.sr_first {
|
|
|
- width: calc(100% / 3.75);
|
|
|
+ width: calc(100% / 4);
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
@@ -120,7 +182,7 @@ export default {
|
|
|
height: 100%;
|
|
|
}
|
|
|
.sr_third {
|
|
|
- width: calc(100% / 3.75 * 0.75);
|
|
|
+ width: calc(100% / 3.75);
|
|
|
height: 100%;
|
|
|
}
|
|
|
.sr_first,
|
|
@@ -142,6 +204,7 @@ export default {
|
|
|
border-radius: 10px;
|
|
|
width: 98%;
|
|
|
overflow: hidden;
|
|
|
+ box-shadow: 0 0 10px 3px #cad1d9;
|
|
|
}
|
|
|
.sr_first .first {
|
|
|
height: calc(100% / 3);
|
|
@@ -165,29 +228,88 @@ export default {
|
|
|
/* height: calc(100% / 3.5 * 1.5); */
|
|
|
}
|
|
|
.sr_third .first {
|
|
|
- height: calc(100% / 2.25);
|
|
|
+ height: 260px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.sr_third .second {
|
|
|
- height: calc(100% / 2.25);
|
|
|
+ height: 260px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.sr_third .third {
|
|
|
- height: calc(100% / 2.25);
|
|
|
+ height: 260px;
|
|
|
}
|
|
|
.sub_title {
|
|
|
display: flex;
|
|
|
color: #3050c2;
|
|
|
font-weight: bold;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: center;
|
|
|
height: 40px;
|
|
|
width: 200px;
|
|
|
- margin: 0 15px;
|
|
|
+ margin: 0 auto;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
.r_box {
|
|
|
height: calc(100% - 40px);
|
|
|
width: 100%;
|
|
|
}
|
|
|
+.mrTitle {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ width: 100%;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: flex-start;
|
|
|
+ margin: 10px 0;
|
|
|
+}
|
|
|
+.mrTitle > div:nth-child(1) {
|
|
|
+ font-size: 22px;
|
|
|
+}
|
|
|
+.mrIcon {
|
|
|
+ width: 30px;
|
|
|
+ margin-left: 5px;
|
|
|
+}
|
|
|
+.yuan {
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+}
|
|
|
+.mrIcon > img,
|
|
|
+.yuan > img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.cancelbox {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 2;
|
|
|
+ left: 50%;
|
|
|
+ top: 20px;
|
|
|
+ width: 95%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ padding: 0 90px 0px 0px;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.report_box {
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ /* background: #fff; */
|
|
|
+ background: rgb(231, 242, 252);
|
|
|
+ overflow: auto;
|
|
|
+ z-index: 1;
|
|
|
+ width: 100%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ padding: 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+.isWorkCss {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
</style>
|