|
@@ -14,9 +14,9 @@
|
|
|
<span>{{ teacherNum }}</span>
|
|
|
</div>
|
|
|
<div class="info blueBG">
|
|
|
- <span>本月登录教师用户环比</span>
|
|
|
+ <span>本月登录教师环比</span>
|
|
|
<!-- <span>{{ weekCount }}</span> -->
|
|
|
- <span v-if="teacherLoginCountMonthArray.length">{{ (teacherLoginCountMonthArray[teacherLoginCountMonthArray.length - 1].login) > 0 ? (((teacherLoginCountMonthArray[teacherLoginCountMonthArray.length - 1].login) / teacherNum) * 100).toFixed(2) + '%' : 0 }}</span>
|
|
|
+ <span v-if="teacherLoginCountMonthArray.length">{{ (teacherLoginCountMonthArray[teacherLoginCountMonthArray.length - 1].login) > 0 ? (((teacherLoginCountMonthArray[teacherLoginCountMonthArray.length - 1].login) / teacherNum) * 100).toFixed(0) + '%' : 0 }}</span>
|
|
|
<!-- <span v-if="teacherLoginCountMonthArray.length">{{
|
|
|
teacherLoginCountMonthArray[
|
|
|
teacherLoginCountMonthArray.length - 1
|
|
@@ -37,7 +37,7 @@
|
|
|
teacherLoginCountMonthArray[
|
|
|
teacherLoginCountMonthArray.length - 1
|
|
|
].login)
|
|
|
- ).toFixed(2) *
|
|
|
+ ).toFixed(0) *
|
|
|
100 +
|
|
|
"%"
|
|
|
}}</span> -->
|
|
@@ -460,7 +460,7 @@
|
|
|
<div class="titleBox" style="justify-content: space-between">
|
|
|
<div class="title">年级占比</div>
|
|
|
<el-select v-model="cType4" @change="typeChange" class="selectBox">
|
|
|
- <el-option label="全部" value=""></el-option>
|
|
|
+ <!-- <el-option label="全部" value=""></el-option> -->
|
|
|
<el-option label="年级" value="grade"></el-option>
|
|
|
<el-option label="主题" value="theme"></el-option>
|
|
|
<el-option label="学科" value="subject"></el-option>
|
|
@@ -541,7 +541,7 @@ export default {
|
|
|
courseType: 0,
|
|
|
bType: 0,
|
|
|
sType: 0,
|
|
|
- cType4: "",
|
|
|
+ cType4: "grade",
|
|
|
oType: false,
|
|
|
teacherNum: 0,
|
|
|
allLoginTeacher: 0,
|
|
@@ -723,7 +723,7 @@ export default {
|
|
|
mergedArray[i].text += Number(_user.text);
|
|
|
}
|
|
|
}
|
|
|
- mergedArray[i].text = (mergedArray[i].text / 60 / 60).toFixed(2); //换算成小时
|
|
|
+ mergedArray[i].text = (mergedArray[i].text / 60 / 60).toFixed(0); //换算成小时
|
|
|
}
|
|
|
this.workTime = mergedArray;
|
|
|
|
|
@@ -1316,7 +1316,7 @@ export default {
|
|
|
.info_box > .info2 > span:nth-child(1),
|
|
|
.info_box > .info3 > span:nth-child(1),
|
|
|
.info_box > .info > span:nth-child(1) {
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 12px;
|
|
|
/* margin: 0 0 0 20px; */
|
|
|
color: #565e6a;
|
|
|
width: 60px;
|