|
@@ -25,7 +25,7 @@
|
|
|
<span>15620</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <loginCount style="height: calc(100% - 140px);"></loginCount>
|
|
|
+ <loginCount style="height: calc(100% - 140px)"></loginCount>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
@@ -43,7 +43,7 @@
|
|
|
<span>15620</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <loginTime style="height: calc(100% - 70px);"></loginTime>
|
|
|
+ <loginTime style="height: calc(100% - 70px)"></loginTime>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -53,7 +53,7 @@
|
|
|
<div class="title">教师综合评价</div>
|
|
|
</div>
|
|
|
<div class="dataBox">
|
|
|
- <div class="info_box" style="width:95%">
|
|
|
+ <div class="info_box" style="width: 95%">
|
|
|
<div class="info2 blueBG">
|
|
|
<span>上传课程总数</span>
|
|
|
<span>15620</span>
|
|
@@ -71,7 +71,7 @@
|
|
|
<span>15620</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <teacherInfo style="height: calc(100% - 70px);"></teacherInfo>
|
|
|
+ <teacherInfo style="height: calc(100% - 70px)"></teacherInfo>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
@@ -82,43 +82,123 @@
|
|
|
<div class="depth_box">
|
|
|
<div class="depth">
|
|
|
<span>上传课程</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="36" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="36"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>指导项目</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>使用工具</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>课程评价</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>互动交流</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>参与课程</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="36" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="36"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>参与项目</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>使用工具</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="25" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="25"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>协同合作</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="depth">
|
|
|
<span>合作交流</span>
|
|
|
- <div><el-progress :width="80" type="circle" :percentage="76" :stroke-width="15" :format="format"></el-progress></div>
|
|
|
+ <div>
|
|
|
+ <el-progress
|
|
|
+ :width="80"
|
|
|
+ type="circle"
|
|
|
+ :percentage="76"
|
|
|
+ :stroke-width="15"
|
|
|
+ :format="format"
|
|
|
+ ></el-progress>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -132,23 +212,26 @@
|
|
|
<div class="dataBox">
|
|
|
<div class="course_box">
|
|
|
<div class="info_box">
|
|
|
- <div class="info3 blueBG">
|
|
|
- <span>课程总数</span>
|
|
|
- <span>1254</span>
|
|
|
- </div>
|
|
|
- <div class="info3 greenBG">
|
|
|
- <span>类别总数</span>
|
|
|
- <span>546</span>
|
|
|
- </div>
|
|
|
- <div class="info3 blueBG">
|
|
|
- <span>类别平均</span>
|
|
|
- <span>12</span>
|
|
|
- </div>
|
|
|
+ <div class="info3 blueBG">
|
|
|
+ <span>课程总数</span>
|
|
|
+ <span>1254</span>
|
|
|
+ </div>
|
|
|
+ <div class="info3 greenBG">
|
|
|
+ <span>类别总数</span>
|
|
|
+ <span>546</span>
|
|
|
+ </div>
|
|
|
+ <div class="info3 blueBG">
|
|
|
+ <span>类别平均</span>
|
|
|
+ <span>12</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="course_box_p">
|
|
|
<courseInfo></courseInfo>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <cateRank
|
|
|
+ style="height: calc(100% - 216px); overflow: auto"
|
|
|
+ ></cateRank>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
@@ -164,14 +247,20 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import loginCount from './loginCount'
|
|
|
-import loginTime from './loginTime'
|
|
|
-import teacherInfo from './teacherInfo'
|
|
|
-import courseInfo from './courseInfo'
|
|
|
-import studentInfo from './studentInfo'
|
|
|
+import loginCount from "./loginCount";
|
|
|
+import loginTime from "./loginTime";
|
|
|
+import teacherInfo from "./teacherInfo";
|
|
|
+import courseInfo from "./courseInfo";
|
|
|
+import studentInfo from "./studentInfo";
|
|
|
+import cateRank from "./cateRank";
|
|
|
export default {
|
|
|
components: {
|
|
|
- loginCount, loginTime, teacherInfo,courseInfo,studentInfo
|
|
|
+ loginCount,
|
|
|
+ loginTime,
|
|
|
+ teacherInfo,
|
|
|
+ courseInfo,
|
|
|
+ studentInfo,
|
|
|
+ cateRank,
|
|
|
},
|
|
|
props: {
|
|
|
oid: {
|
|
@@ -180,18 +269,20 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- isLoading: false
|
|
|
- }
|
|
|
+ isLoading: false,
|
|
|
+ };
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.getData()
|
|
|
+ this.getData();
|
|
|
},
|
|
|
methods: {
|
|
|
getData() {
|
|
|
this.isLoading = true;
|
|
|
- let params = [{
|
|
|
- oid: this.oid
|
|
|
- }]
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ oid: this.oid,
|
|
|
+ },
|
|
|
+ ];
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "selectDataBoardSchool", params)
|
|
|
.then((res) => {
|
|
@@ -204,9 +295,9 @@ export default {
|
|
|
},
|
|
|
format(percentage) {
|
|
|
return percentage;
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
-}
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
|
|
@@ -224,7 +315,7 @@ export default {
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
|
-.left>.top {
|
|
|
+.left > .top {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.8 - 20px);
|
|
|
background: #fff;
|
|
@@ -232,7 +323,7 @@ export default {
|
|
|
margin: 0 0 20px 0;
|
|
|
}
|
|
|
|
|
|
-.left>.bottom {
|
|
|
+.left > .bottom {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.2);
|
|
|
background: #fff;
|
|
@@ -245,7 +336,7 @@ export default {
|
|
|
margin: 0 20px;
|
|
|
}
|
|
|
|
|
|
-.center>.top {
|
|
|
+.center > .top {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.8 - 20px);
|
|
|
background: #fff;
|
|
@@ -253,7 +344,7 @@ export default {
|
|
|
margin: 0 0 20px 0;
|
|
|
}
|
|
|
|
|
|
-.center>.bottom {
|
|
|
+.center > .bottom {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.2);
|
|
|
background: #fff;
|
|
@@ -263,10 +354,9 @@ export default {
|
|
|
.right {
|
|
|
width: calc(100% / 4 * 1);
|
|
|
height: 100%;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-.right>.top {
|
|
|
+.right > .top {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.8 - 20px);
|
|
|
background: #fff;
|
|
@@ -274,7 +364,7 @@ export default {
|
|
|
margin: 0 0 20px 0;
|
|
|
}
|
|
|
|
|
|
-.right>.bottom {
|
|
|
+.right > .bottom {
|
|
|
width: 100%;
|
|
|
height: calc(100% / 5 * 2.2);
|
|
|
background: #fff;
|
|
@@ -289,7 +379,7 @@ export default {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-.titleBox>.title {
|
|
|
+.titleBox > .title {
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
|
|
@@ -298,7 +388,6 @@ export default {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.info_box {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
@@ -308,9 +397,9 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
-.info_box>.info2,
|
|
|
-.info_box>.info3,
|
|
|
-.info_box>.info {
|
|
|
+.info_box > .info2,
|
|
|
+.info_box > .info3,
|
|
|
+.info_box > .info {
|
|
|
width: calc(50% - 10px);
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
@@ -322,41 +411,44 @@ export default {
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
-.info_box>.info2 {
|
|
|
- width: calc(100%/4 - 10px);
|
|
|
+.info_box > .info2 {
|
|
|
+ width: calc(100% / 4 - 10px);
|
|
|
align-items: flex-end;
|
|
|
}
|
|
|
|
|
|
-.info_box>.info3 {
|
|
|
+.info_box > .info3 {
|
|
|
width: 100%;
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-.info_box>.info2>span:nth-child(1),
|
|
|
-.info_box>.info3>span:nth-child(1),
|
|
|
-.info_box>.info>span:nth-child(1) {
|
|
|
+.info_box > .info2 > span:nth-child(1),
|
|
|
+.info_box > .info3 > span:nth-child(1),
|
|
|
+.info_box > .info > span:nth-child(1) {
|
|
|
font-size: 12px;
|
|
|
margin: 0 0 5px 0;
|
|
|
}
|
|
|
|
|
|
-.info_box>.info2>span:nth-child(2),
|
|
|
-.info_box>.info3>span:nth-child(2),
|
|
|
-.info_box>.info>span:nth-child(2) {
|
|
|
+.info_box > .info2 > span:nth-child(2),
|
|
|
+.info_box > .info3 > span:nth-child(2),
|
|
|
+.info_box > .info > span:nth-child(2) {
|
|
|
font-size: 22px;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
|
|
|
.blueBG {
|
|
|
- background: linear-gradient(180deg,
|
|
|
- rgba(224, 234, 251, 0.2) 0%,
|
|
|
- rgba(54, 130, 252, 0.3) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ 180deg,
|
|
|
+ rgba(224, 234, 251, 0.2) 0%,
|
|
|
+ rgba(54, 130, 252, 0.3) 100%
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
.greenBG {
|
|
|
- background: linear-gradient(180deg,
|
|
|
- rgb(211, 246, 228, 0.2) 0%,
|
|
|
- rgb(23, 196, 105, 0.3) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ 180deg,
|
|
|
+ rgb(211, 246, 228, 0.2) 0%,
|
|
|
+ rgb(23, 196, 105, 0.3) 100%
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
.depth_box {
|
|
@@ -382,22 +474,23 @@ export default {
|
|
|
font-weight: 700;
|
|
|
margin: 0 0 10px;
|
|
|
}
|
|
|
-.depth > div:nth-child(1) {}
|
|
|
+.depth > div:nth-child(1) {
|
|
|
+}
|
|
|
|
|
|
-.course_box{
|
|
|
+.course_box {
|
|
|
display: flex;
|
|
|
height: 50%;
|
|
|
width: 90%;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
-.course_box .info_box{
|
|
|
+.course_box .info_box {
|
|
|
height: 100%;
|
|
|
width: 100px;
|
|
|
flex-direction: column;
|
|
|
margin: 0;
|
|
|
flex-wrap: nowrap;
|
|
|
}
|
|
|
-.course_box_p{
|
|
|
+.course_box_p {
|
|
|
width: calc(100% - 100px);
|
|
|
}
|
|
|
</style>
|