Commit e18087db authored by zhengke's avatar zhengke

修改

parent 157cf9ce
......@@ -4,14 +4,6 @@
border: 0 !important;
}
.myTable_Zk tbody tr:first-child td {
background: yellow !important;
}
.myTable_Zk tbody tr:first-child {
background: yellow !important;
z-index: 1 !important;
}
</style>
<template>
<div class="page-body">
......@@ -39,12 +31,22 @@
<q-tr slot="header" slot-scope="props" :props="props">
<template v-for="col in props.cols" :props="props">
<template v-if="col.label=='线上与学生互动数'">
<q-th :key="col.name" :props="props" style="max-width:75px;text-align:center;">
<q-th :key="col.name" :props="props" style="max-width:90px;text-align:center;">
线上与学生<br />互动数
</q-th>
</template>
<template v-else-if="col.label=='学生人数'">
<q-th :key="col.name" :props="props" style="max-width:85px;text-align:center;">
学生人数
</q-th>
</template>
<template v-else-if="col.label=='上课时数'">
<q-th :key="col.name" :props="props" style="max-width:85px;text-align:center;">
上课时数
</q-th>
</template>
<template v-else-if="col.label=='续约(含留学)'">
<q-th :key="col.name" :props="props" style="max-width:60px;text-align:center;">
<q-th :key="col.name" :props="props" style="max-width:70px;text-align:center;">
续约<br />(含留学)
</q-th>
</template>
......@@ -60,49 +62,49 @@
</template>
<template v-else-if="col.label=='老师迟到早退'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#FF66CC;color:#000;">
style="max-width:90px;text-align:center;background-color:#FF66CC;color:#000;">
老师<br />迟到早退
</q-th>
</template>
<template v-else-if="col.label=='N5课程时数'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
style="max-width:85px;text-align:center;background-color:#E2EFDA;color:#000;">
N5<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N4课程时数'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
style="max-width:85px;text-align:center;background-color:#E2EFDA;color:#000;">
N4<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N3课程时数'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#E2EFDA;color:#000;">
style="max-width:85px;text-align:center;background-color:#E2EFDA;color:#000;">
N3<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N2课程时数'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
style="max-width:85px;text-align:center;background-color:#B4C6E7;color:#000;">
N2<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='N1课程时数'">
<q-th :key="col.name" :props="props"
style="max-width:60px;text-align:center;background-color:#B4C6E7;color:#000;">
style="max-width:85px;text-align:center;background-color:#B4C6E7;color:#000;">
N1<br />课程时数
</q-th>
</template>
<template v-else-if="col.label=='学生小程序刷题次数'">
<q-th :key="col.name" :props="props"
style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
style="max-width:90px;text-align:center;background-color:#B4C6E7;color:#000;">
学生小程序<br />刷题次数
</q-th>
</template>
<template v-else-if="col.label=='学生小程序刷题时间'">
<q-th :key="col.name" :props="props"
style="max-width:75px;text-align:center;background-color:#B4C6E7;color:#000;">
style="max-width:90px;text-align:center;background-color:#B4C6E7;color:#000;">
学生小程序<br />刷题时间
</q-th>
</template>
......@@ -113,7 +115,7 @@
</template>
<template v-else-if="col.label=='所有老师平均分数'">
<q-th :key="col.name" :props="props"
style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
style="max-width:90px;text-align:center;background-color:#FFC000;color:#000;">
所有老师<br />平均分数
</q-th>
</template>
......@@ -125,7 +127,7 @@
</template>
<template v-else-if="col.label=='分数差距'">
<q-th :key="col.name" :props="props"
style="max-width:70px;text-align:center;background-color:#FFC000;color:#000;">
style="max-width:90px;text-align:center;background-color:#FFC000;color:#000;">
分数差距
</q-th>
</template>
......@@ -161,7 +163,7 @@
return {
columns: [{
name: 'DateStr',
label: '日期',
label: '名字',
field: 'DateStr',
align: 'left'
},
......@@ -169,13 +171,15 @@
name: 'StudentCount',
label: '学生人数',
field: 'StudentCount',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'AttendClassHourScore',
label: '上课时数',
field: 'AttendClassHourScore',
align: 'left',
sortable: true
},
{
name: 'OnLineInteractiveScore',
......@@ -183,120 +187,140 @@
field: 'OnLineInteractiveScore',
align: 'left',
style: 'max-width: 50px',
sortable: true
},
{
name: 'RenewScore',
label: '续约(含留学)',
field: 'RenewScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'UpgradeScore',
label: '学生升级',
field: 'UpgradeScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'TransScore',
label: '转介绍',
field: 'TransScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'TrialSpeakScore',
label: '试讲',
field: 'TrialSpeakScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'TruancyScore',
label: '学生旷课',
field: 'TruancyScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'WithdrawsScore',
label: '学生退课',
field: 'WithdrawsScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'ComplaintScore',
label: '学生投诉',
field: 'ComplaintScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'TeacherBeLateScore',
label: '老师迟到早退',
field: 'TeacherBeLateScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'N5ClassHoursScore',
label: 'N5课程时数',
field: 'N5ClassHoursScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'N4ClassHoursScore',
label: 'N4课程时数',
field: 'N4ClassHoursScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'N3ClassHoursScore',
label: 'N3课程时数',
field: 'N3ClassHoursScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'N2ClassHoursScore',
label: 'N2课程时数',
field: 'N2ClassHoursScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'N1ClassHoursScore',
label: 'N1课程时数',
field: 'N1ClassHoursScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'MiniAppPractiseScore',
label: '学生小程序刷题次数',
field: 'MiniAppPractiseScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'MiniAppTimeScore',
label: '学生小程序刷题时间',
field: 'MiniAppTimeScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'ActivityNum',
label: '活动次数',
field: 'ActivityNum',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'TotalScore',
label: '总分数',
field: 'TotalScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'AvgScore',
label: '所有老师平均分数',
field: 'AvgScore',
align: 'left'
align: 'left',
sortable: true
},
{
name: 'ScoreGap',
label: '分数差距',
field: 'ScoreGap',
align: 'left'
align: 'left',
sortable: true
}
],
dataList: [],
......@@ -329,7 +353,7 @@
this.loading = true;
var msg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad(
"/TeacherStatic/DownLoadTeacherDay",
"/TeacherStatic/DownLoadTeacherMonthStatic",
msg,
"教师每日数据统计.xls", res => {
this.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment